AuroraDSQL / Client / delete_cluster_policy
delete_cluster_policy¶
- AuroraDSQL.Client.delete_cluster_policy(**kwargs)¶
Deletes the resource-based policy attached to a cluster. This removes all access permissions defined by the policy, reverting to default access controls.
See also: AWS API Documentation
Request Syntax
response = client.delete_cluster_policy( identifier='string', expectedPolicyVersion='string', clientToken='string' )
- Parameters:
identifier (string) –
[REQUIRED]
The ID of the cluster.
expectedPolicyVersion (string) – The expected version of the policy to delete. This parameter ensures that you’re deleting the correct version of the policy and helps prevent accidental deletions.
clientToken (string) –
Idempotency token so a request is only processed once.
This field is autopopulated if not provided.
- Return type:
dict
- Returns:
Response Syntax
{ 'policyVersion': 'string' }
Response Structure
(dict) –
policyVersion (string) –
The version of the policy that was deleted.
Exceptions