import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { RemoveSourceIdentifierFromSubscriptionMessage, RemoveSourceIdentifierFromSubscriptionResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link RemoveSourceIdentifierFromSubscriptionCommand}. */ export interface RemoveSourceIdentifierFromSubscriptionCommandInput extends RemoveSourceIdentifierFromSubscriptionMessage { } /** * @public * * The output of {@link RemoveSourceIdentifierFromSubscriptionCommand}. */ export interface RemoveSourceIdentifierFromSubscriptionCommandOutput extends RemoveSourceIdentifierFromSubscriptionResult, __MetadataBearer { } declare const RemoveSourceIdentifierFromSubscriptionCommand_base: { new (input: RemoveSourceIdentifierFromSubscriptionCommandInput): import("@smithy/core/client").CommandImpl; new (input: RemoveSourceIdentifierFromSubscriptionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Removes a source identifier from an existing Amazon DocumentDB event notification * subscription.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DocDBClient, RemoveSourceIdentifierFromSubscriptionCommand } from "@aws-sdk/client-docdb"; // ES Modules import * // const { DocDBClient, RemoveSourceIdentifierFromSubscriptionCommand } = require("@aws-sdk/client-docdb"); // CommonJS import * // import type { DocDBClientConfig } from "@aws-sdk/client-docdb"; * const config = {}; // type is DocDBClientConfig * const client = new DocDBClient(config); * const input = { // RemoveSourceIdentifierFromSubscriptionMessage * SubscriptionName: "STRING_VALUE", // required * SourceIdentifier: "STRING_VALUE", // required * }; * const command = new RemoveSourceIdentifierFromSubscriptionCommand(input); * const response = await client.send(command); * // { // RemoveSourceIdentifierFromSubscriptionResult * // EventSubscription: { // EventSubscription * // CustomerAwsId: "STRING_VALUE", * // CustSubscriptionId: "STRING_VALUE", * // SnsTopicArn: "STRING_VALUE", * // Status: "STRING_VALUE", * // SubscriptionCreationTime: "STRING_VALUE", * // SourceType: "STRING_VALUE", * // SourceIdsList: [ // SourceIdsList * // "STRING_VALUE", * // ], * // EventCategoriesList: [ // EventCategoriesList * // "STRING_VALUE", * // ], * // Enabled: true || false, * // EventSubscriptionArn: "STRING_VALUE", * // }, * // }; * * ``` * * @param RemoveSourceIdentifierFromSubscriptionCommandInput - {@link RemoveSourceIdentifierFromSubscriptionCommandInput} * @returns {@link RemoveSourceIdentifierFromSubscriptionCommandOutput} * @see {@link RemoveSourceIdentifierFromSubscriptionCommandInput} for command's `input` shape. * @see {@link RemoveSourceIdentifierFromSubscriptionCommandOutput} for command's `response` shape. * @see {@link DocDBClientResolvedConfig | config} for DocDBClient's `config` shape. * * @throws {@link SourceNotFoundFault} (client fault) *

The requested source could not be found.

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

The subscription name does not exist.

* * @throws {@link DocDBServiceException} *

Base exception class for all service exceptions from DocDB service.

* * * @public */ export declare class RemoveSourceIdentifierFromSubscriptionCommand extends RemoveSourceIdentifierFromSubscriptionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: RemoveSourceIdentifierFromSubscriptionMessage; output: RemoveSourceIdentifierFromSubscriptionResult; }; sdk: { input: RemoveSourceIdentifierFromSubscriptionCommandInput; output: RemoveSourceIdentifierFromSubscriptionCommandOutput; }; }; }