import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeEventSubscriptionsMessage, EventSubscriptionsMessage } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeEventSubscriptionsCommand}. */ export interface DescribeEventSubscriptionsCommandInput extends DescribeEventSubscriptionsMessage { } /** * @public * * The output of {@link DescribeEventSubscriptionsCommand}. */ export interface DescribeEventSubscriptionsCommandOutput extends EventSubscriptionsMessage, __MetadataBearer { } declare const DescribeEventSubscriptionsCommand_base: { new (input: DescribeEventSubscriptionsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [DescribeEventSubscriptionsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Lists all the subscription descriptions for a customer account. The description for a subscription includes SubscriptionName, SNSTopicARN, CustomerID, SourceType, SourceID, CreationTime, and Status.

*

If you specify a SubscriptionName, lists the description for that subscription.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DocDBClient, DescribeEventSubscriptionsCommand } from "@aws-sdk/client-docdb"; // ES Modules import * // const { DocDBClient, DescribeEventSubscriptionsCommand } = 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 = { // DescribeEventSubscriptionsMessage * SubscriptionName: "STRING_VALUE", * Filters: [ // FilterList * { // Filter * Name: "STRING_VALUE", // required * Values: [ // FilterValueList // required * "STRING_VALUE", * ], * }, * ], * MaxRecords: Number("int"), * Marker: "STRING_VALUE", * }; * const command = new DescribeEventSubscriptionsCommand(input); * const response = await client.send(command); * // { // EventSubscriptionsMessage * // Marker: "STRING_VALUE", * // EventSubscriptionsList: [ // EventSubscriptionsList * // { // 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 DescribeEventSubscriptionsCommandInput - {@link DescribeEventSubscriptionsCommandInput} * @returns {@link DescribeEventSubscriptionsCommandOutput} * @see {@link DescribeEventSubscriptionsCommandInput} for command's `input` shape. * @see {@link DescribeEventSubscriptionsCommandOutput} for command's `response` shape. * @see {@link DocDBClientResolvedConfig | config} for DocDBClient's `config` shape. * * @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 DescribeEventSubscriptionsCommand extends DescribeEventSubscriptionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeEventSubscriptionsMessage; output: EventSubscriptionsMessage; }; sdk: { input: DescribeEventSubscriptionsCommandInput; output: DescribeEventSubscriptionsCommandOutput; }; }; }