Context / Client / delete_curation_policy
delete_curation_policy¶
- Context.Client.delete_curation_policy(**kwargs)¶
Deletes a curation policy. While the policy is associated with any agent context, the request fails with
ConflictException. Disassociate it with DisassociateCurationPolicy first. You can’t delete a default policy that AWS Context created in your account: the request fails withConflictException. Disassociate it instead. After the delete, GetCurationPolicy returns the policy with statusDELETED, and ListCurationPolicies doesn’t return it. Deleting a policy that is already deleted succeeds.See also: AWS API Documentation
Request Syntax
response = client.delete_curation_policy( curationPolicyId='string' )
- Parameters:
curationPolicyId (string) –
[REQUIRED]
The ID of the curation policy to delete.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions