IoT / Client / delete_policy_version
delete_policy_version#
- IoT.Client.delete_policy_version(**kwargs)#
Deletes the specified version of the specified policy. You cannot delete the default version of a policy using this action. To delete the default version of a policy, use DeletePolicy. To find out which version of a policy is marked as the default version, use ListPolicyVersions.
Requires permission to access the DeletePolicyVersion action.
See also: AWS API Documentation
Request Syntax
response = client.delete_policy_version( policyName='string', policyVersionId='string' )
- Parameters:
policyName (string) –
[REQUIRED]
The name of the policy.
policyVersionId (string) –
[REQUIRED]
The policy version ID.
- Returns:
None
Exceptions