ResilienceHub / Client / delete_app_assessment

delete_app_assessment#

ResilienceHub.Client.delete_app_assessment(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

response = client.delete_app_assessment(
    assessmentArn='string',
    clientToken='string'
)
Parameters:
  • assessmentArn (string) –

    [REQUIRED]

    Amazon Resource Name (ARN) of the assessment. The format for this ARN is: arn: partition:resiliencehub: region: account:app-assessment/ 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.

Return type:

dict

Returns:

Response Syntax

{
    'assessmentArn': 'string',
    'assessmentStatus': 'Pending'|'InProgress'|'Failed'|'Success'
}

Response Structure

  • (dict) –

    • assessmentArn (string) –

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

    • assessmentStatus (string) –

      The current status of the assessment for the resiliency policy.

Exceptions

  • ResilienceHub.Client.exceptions.InternalServerException

  • ResilienceHub.Client.exceptions.ResourceNotFoundException

  • ResilienceHub.Client.exceptions.ConflictException

  • ResilienceHub.Client.exceptions.ThrottlingException

  • ResilienceHub.Client.exceptions.ValidationException

  • ResilienceHub.Client.exceptions.AccessDeniedException