import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { AddSourceIdentifierToSubscriptionMessage, AddSourceIdentifierToSubscriptionResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link AddSourceIdentifierToSubscriptionCommand}. */ export interface AddSourceIdentifierToSubscriptionCommandInput extends AddSourceIdentifierToSubscriptionMessage { } /** * @public * * The output of {@link AddSourceIdentifierToSubscriptionCommand}. */ export interface AddSourceIdentifierToSubscriptionCommandOutput extends AddSourceIdentifierToSubscriptionResult, __MetadataBearer { } declare const AddSourceIdentifierToSubscriptionCommand_base: { new (input: AddSourceIdentifierToSubscriptionCommandInput): import("@smithy/core/client").CommandImpl; new (input: AddSourceIdentifierToSubscriptionCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Adds a source identifier to an existing event notification * subscription.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DocDBClient, AddSourceIdentifierToSubscriptionCommand } from "@aws-sdk/client-docdb"; // ES Modules import * // const { DocDBClient, AddSourceIdentifierToSubscriptionCommand } = 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 = { // AddSourceIdentifierToSubscriptionMessage * SubscriptionName: "STRING_VALUE", // required * SourceIdentifier: "STRING_VALUE", // required * }; * const command = new AddSourceIdentifierToSubscriptionCommand(input); * const response = await client.send(command); * // { // AddSourceIdentifierToSubscriptionResult * // 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 AddSourceIdentifierToSubscriptionCommandInput - {@link AddSourceIdentifierToSubscriptionCommandInput} * @returns {@link AddSourceIdentifierToSubscriptionCommandOutput} * @see {@link AddSourceIdentifierToSubscriptionCommandInput} for command's `input` shape. * @see {@link AddSourceIdentifierToSubscriptionCommandOutput} 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 AddSourceIdentifierToSubscriptionCommand extends AddSourceIdentifierToSubscriptionCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: AddSourceIdentifierToSubscriptionMessage; output: AddSourceIdentifierToSubscriptionResult; }; sdk: { input: AddSourceIdentifierToSubscriptionCommandInput; output: AddSourceIdentifierToSubscriptionCommandOutput; }; }; }