ResilienceHub / Client / delete_resiliency_policy

delete_resiliency_policy#

ResilienceHub.Client.delete_resiliency_policy(**kwargs)#

Deletes a resiliency policy. This is a destructive action that can’t be undone.

See also: AWS API Documentation

Request Syntax

response = client.delete_resiliency_policy(
    clientToken='string',
    policyArn='string'
)
Parameters:
  • 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.

  • policyArn (string) –

    [REQUIRED]

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

Return type:

dict

Returns:

Response Syntax

{
    'policyArn': 'string'
}

Response Structure

  • (dict) –

    • policyArn (string) –

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

Exceptions