import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient"; import type { DescribeEventSubscriptionsMessage, DescribeEventSubscriptionsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeEventSubscriptionsCommand}. */ export interface DescribeEventSubscriptionsCommandInput extends DescribeEventSubscriptionsMessage { } /** * @public * * The output of {@link DescribeEventSubscriptionsCommand}. */ export interface DescribeEventSubscriptionsCommandOutput extends DescribeEventSubscriptionsResponse, __MetadataBearer { } declare const DescribeEventSubscriptionsCommand_base: { new (input: DescribeEventSubscriptionsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeEventSubscriptionsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

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

*

If you specify SubscriptionName, this action lists the description for that * subscription.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DatabaseMigrationServiceClient, DescribeEventSubscriptionsCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import * // const { DatabaseMigrationServiceClient, DescribeEventSubscriptionsCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import * // import type { DatabaseMigrationServiceClientConfig } from "@aws-sdk/client-database-migration-service"; * const config = {}; // type is DatabaseMigrationServiceClientConfig * const client = new DatabaseMigrationServiceClient(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); * // { // DescribeEventSubscriptionsResponse * // 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, * // }, * // ], * // }; * * ``` * * @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 DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape. * * @throws {@link ResourceNotFoundFault} (client fault) *

The resource could not be found.

* * @throws {@link DatabaseMigrationServiceServiceException} *

Base exception class for all service exceptions from DatabaseMigrationService service.

* * * @public */ export declare class DescribeEventSubscriptionsCommand extends DescribeEventSubscriptionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeEventSubscriptionsMessage; output: DescribeEventSubscriptionsResponse; }; sdk: { input: DescribeEventSubscriptionsCommandInput; output: DescribeEventSubscriptionsCommandOutput; }; }; }