import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteEndpointInput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteEndpointCommand}. */ export interface DeleteEndpointCommandInput extends DeleteEndpointInput { } /** * @public * * The output of {@link DeleteEndpointCommand}. */ export interface DeleteEndpointCommandOutput extends __MetadataBearer { } declare const DeleteEndpointCommand_base: { new (input: DeleteEndpointCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteEndpointCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes the endpoint for a device and mobile app from Amazon SNS. This action is * idempotent. For more information, see Using Amazon SNS Mobile Push * Notifications.

*

When you delete an endpoint that is also subscribed to a topic, then you must also * unsubscribe the endpoint from the topic.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { SNSClient, DeleteEndpointCommand } from "@aws-sdk/client-sns"; // ES Modules import * // const { SNSClient, DeleteEndpointCommand } = 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 = { // DeleteEndpointInput * EndpointArn: "STRING_VALUE", // required * }; * const command = new DeleteEndpointCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteEndpointCommandInput - {@link DeleteEndpointCommandInput} * @returns {@link DeleteEndpointCommandOutput} * @see {@link DeleteEndpointCommandInput} for command's `input` shape. * @see {@link DeleteEndpointCommandOutput} 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 DeleteEndpointCommand extends DeleteEndpointCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteEndpointInput; output: {}; }; sdk: { input: DeleteEndpointCommandInput; output: DeleteEndpointCommandOutput; }; }; }