import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteTopicInput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteTopicCommand}. */ export interface DeleteTopicCommandInput extends DeleteTopicInput { } /** * @public * * The output of {@link DeleteTopicCommand}. */ export interface DeleteTopicCommandOutput extends __MetadataBearer { } declare const DeleteTopicCommand_base: { new (input: DeleteTopicCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteTopicCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes a topic and all its subscriptions. Deleting a topic might prevent some * messages previously sent to the topic from being delivered to subscribers. This action * is idempotent, so deleting a topic that does not exist does not result in an * error.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SNSClient, DeleteTopicCommand } from "@aws-sdk/client-sns"; // ES Modules import * // const { SNSClient, DeleteTopicCommand } = 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 = { // DeleteTopicInput * TopicArn: "STRING_VALUE", // required * }; * const command = new DeleteTopicCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteTopicCommandInput - {@link DeleteTopicCommandInput} * @returns {@link DeleteTopicCommandOutput} * @see {@link DeleteTopicCommandInput} for command's `input` shape. * @see {@link DeleteTopicCommandOutput} 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 ConcurrentAccessException} (client fault) *

Can't perform multiple operations on a tag simultaneously. Perform the operations * sequentially.

* * @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 InvalidStateException} (client fault) *

Indicates that the specified state is not a valid state for an event source.

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

Indicates that the requested resource does not exist.

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

A tag has been added to a resource with the same ARN as a deleted resource. Wait a * short while and then retry the operation.

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

The request doesn't comply with the IAM tag policy. Correct your request and then * retry it.

* * @throws {@link SNSServiceException} *

Base exception class for all service exceptions from SNS service.

* * * @public */ export declare class DeleteTopicCommand extends DeleteTopicCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteTopicInput; output: {}; }; sdk: { input: DeleteTopicCommandInput; output: DeleteTopicCommandOutput; }; }; }