import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { EventBridgeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EventBridgeClient"; import type { DeletePartnerEventSourceRequest } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeletePartnerEventSourceCommand}. */ export interface DeletePartnerEventSourceCommandInput extends DeletePartnerEventSourceRequest { } /** * @public * * The output of {@link DeletePartnerEventSourceCommand}. */ export interface DeletePartnerEventSourceCommandOutput extends __MetadataBearer { } declare const DeletePartnerEventSourceCommand_base: { new (input: DeletePartnerEventSourceCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: DeletePartnerEventSourceCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

This operation is used by SaaS partners to delete a partner event source. This operation * is not used by Amazon Web Services customers.

*

When you delete an event source, the status of the corresponding partner event bus in the * Amazon Web Services customer account becomes DELETED.

*

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EventBridgeClient, DeletePartnerEventSourceCommand } from "@aws-sdk/client-eventbridge"; // ES Modules import * // const { EventBridgeClient, DeletePartnerEventSourceCommand } = require("@aws-sdk/client-eventbridge"); // CommonJS import * // import type { EventBridgeClientConfig } from "@aws-sdk/client-eventbridge"; * const config = {}; // type is EventBridgeClientConfig * const client = new EventBridgeClient(config); * const input = { // DeletePartnerEventSourceRequest * Name: "STRING_VALUE", // required * Account: "STRING_VALUE", // required * }; * const command = new DeletePartnerEventSourceCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeletePartnerEventSourceCommandInput - {@link DeletePartnerEventSourceCommandInput} * @returns {@link DeletePartnerEventSourceCommandOutput} * @see {@link DeletePartnerEventSourceCommandInput} for command's `input` shape. * @see {@link DeletePartnerEventSourceCommandOutput} for command's `response` shape. * @see {@link EventBridgeClientResolvedConfig | config} for EventBridgeClient's `config` shape. * * @throws {@link ConcurrentModificationException} (client fault) *

There is concurrent modification on a rule, target, archive, or replay.

* * @throws {@link InternalException} (server fault) *

This exception occurs due to unexpected causes.

* * @throws {@link OperationDisabledException} (client fault) *

The operation you are attempting is not available in this region.

* * @throws {@link EventBridgeServiceException} *

Base exception class for all service exceptions from EventBridge service.

* * * @public */ export declare class DeletePartnerEventSourceCommand extends DeletePartnerEventSourceCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeletePartnerEventSourceRequest; output: {}; }; sdk: { input: DeletePartnerEventSourceCommandInput; output: DeletePartnerEventSourceCommandOutput; }; }; }