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'
)
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.
[REQUIRED]
The 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 AWS General Reference guide.
dict
Response Syntax
{
'policyArn': 'string'
}
Response Structure
(dict) --
policyArn (string) --
The 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 AWS General Reference guide.
Exceptions
ResilienceHub.Client.exceptions.InternalServerExceptionResilienceHub.Client.exceptions.ResourceNotFoundExceptionResilienceHub.Client.exceptions.ConflictExceptionResilienceHub.Client.exceptions.ThrottlingExceptionResilienceHub.Client.exceptions.ValidationExceptionResilienceHub.Client.exceptions.AccessDeniedException