ResilienceHub / Client / delete_app

delete_app#

ResilienceHub.Client.delete_app(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

response = client.delete_app(
    appArn='string',
    clientToken='string',
    forceDelete=True|False
)
Parameters:
  • appArn (string) –

    [REQUIRED]

    Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn: partition:resiliencehub: region: account:app/ app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

  • clientToken (string) –

    Used for an idempotency token. A client token is a unique, case-sensitive string of up to 64 ASCII characters. You should not reuse the same client token for other API requests.

    This field is autopopulated if not provided.

  • forceDelete (boolean) – A boolean option to force the deletion of an Resilience Hub application.

Return type:

dict

Returns:

Response Syntax

{
    'appArn': 'string'
}

Response Structure

  • (dict) –

    • appArn (string) –

      Amazon Resource Name (ARN) of the Resilience Hub application. The format for this ARN is: arn: partition:resiliencehub: region: account:app/ app-id. For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference guide.

Exceptions

  • ResilienceHub.Client.exceptions.InternalServerException

  • ResilienceHub.Client.exceptions.ResourceNotFoundException

  • ResilienceHub.Client.exceptions.ConflictException

  • ResilienceHub.Client.exceptions.ThrottlingException

  • ResilienceHub.Client.exceptions.ValidationException