import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeleteAppRequest, DeleteAppResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DeleteAppCommand}. */ export interface DeleteAppCommandInput extends DeleteAppRequest { } /** * @public * * The output of {@link DeleteAppCommand}. */ export interface DeleteAppCommandOutput extends DeleteAppResponse, __MetadataBearer { } declare const DeleteAppCommand_base: { new (input: DeleteAppCommandInput): import("@smithy/core/client").CommandImpl; new (input: DeleteAppCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Deletes an Resilience Hub application. This is a destructive action that can't be * undone.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ResiliencehubClient, DeleteAppCommand } from "@aws-sdk/client-resiliencehub"; // ES Modules import * // const { ResiliencehubClient, DeleteAppCommand } = require("@aws-sdk/client-resiliencehub"); // CommonJS import * // import type { ResiliencehubClientConfig } from "@aws-sdk/client-resiliencehub"; * const config = {}; // type is ResiliencehubClientConfig * const client = new ResiliencehubClient(config); * const input = { // DeleteAppRequest * appArn: "STRING_VALUE", // required * forceDelete: true || false, * clientToken: "STRING_VALUE", * }; * const command = new DeleteAppCommand(input); * const response = await client.send(command); * // { // DeleteAppResponse * // appArn: "STRING_VALUE", // required * // }; * * ``` * * @param DeleteAppCommandInput - {@link DeleteAppCommandInput} * @returns {@link DeleteAppCommandOutput} * @see {@link DeleteAppCommandInput} for command's `input` shape. * @see {@link DeleteAppCommandOutput} for command's `response` shape. * @see {@link ResiliencehubClientResolvedConfig | config} for ResiliencehubClient's `config` shape. * * @throws {@link ConflictException} (client fault) *

This exception occurs when a conflict with a previous successful write is detected. This generally occurs * when the previous write did not have time to propagate to the host serving the current * request. A retry (with appropriate backoff logic) is the recommended response to this * exception.

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

This exception occurs when there is an internal failure in the Resilience Hub * service.

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

This exception occurs when the specified resource could not be found.

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

This exception occurs when you have exceeded the limit on the number of requests per second.

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

This exception occurs when a request is not valid.

* * @throws {@link ResiliencehubServiceException} *

Base exception class for all service exceptions from Resiliencehub service.

* * * @public */ export declare class DeleteAppCommand extends DeleteAppCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteAppRequest; output: DeleteAppResponse; }; sdk: { input: DeleteAppCommandInput; output: DeleteAppCommandOutput; }; }; }