import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { ListSubscriptionsInput, ListSubscriptionsResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link ListSubscriptionsCommand}. */ export interface ListSubscriptionsCommandInput extends ListSubscriptionsInput { } /** * @public * * The output of {@link ListSubscriptionsCommand}. */ export interface ListSubscriptionsCommandOutput extends ListSubscriptionsResponse, __MetadataBearer { } declare const ListSubscriptionsCommand_base: { new (input: ListSubscriptionsCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [ListSubscriptionsCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns a list of the requester's subscriptions. Each call returns a limited list of * subscriptions, up to 100. If there are more subscriptions, a NextToken is * also returned. Use the NextToken parameter in a new * ListSubscriptions call to get further results.

*

This action is throttled at 30 transactions per second (TPS).

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SNSClient, ListSubscriptionsCommand } from "@aws-sdk/client-sns"; // ES Modules import * // const { SNSClient, ListSubscriptionsCommand } = require("@aws-sdk/client-sns"); // CommonJS import * // import type { SNSClientConfig } from "@aws-sdk/client-sns"; * const config = {}; // type is SNSClientConfig * const client = new SNSClient(config); * const input = { // ListSubscriptionsInput * NextToken: "STRING_VALUE", * }; * const command = new ListSubscriptionsCommand(input); * const response = await client.send(command); * // { // ListSubscriptionsResponse * // Subscriptions: [ // SubscriptionsList * // { // Subscription * // SubscriptionArn: "STRING_VALUE", * // Owner: "STRING_VALUE", * // Protocol: "STRING_VALUE", * // Endpoint: "STRING_VALUE", * // TopicArn: "STRING_VALUE", * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param ListSubscriptionsCommandInput - {@link ListSubscriptionsCommandInput} * @returns {@link ListSubscriptionsCommandOutput} * @see {@link ListSubscriptionsCommandInput} for command's `input` shape. * @see {@link ListSubscriptionsCommandOutput} for command's `response` shape. * @see {@link SNSClientResolvedConfig | config} for SNSClient's `config` shape. * * @throws {@link AuthorizationErrorException} (client fault) *

Indicates that the user has been denied access to the requested resource.

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

Indicates an internal service error.

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

Indicates that a request parameter does not comply with the associated * constraints.

* * @throws {@link SNSServiceException} *

Base exception class for all service exceptions from SNS service.

* * * @public */ export declare class ListSubscriptionsCommand extends ListSubscriptionsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: ListSubscriptionsInput; output: ListSubscriptionsResponse; }; sdk: { input: ListSubscriptionsCommandInput; output: ListSubscriptionsCommandOutput; }; }; }