Safe Haskell | None |
---|---|
Language | Haskell2010 |
Deletes the specified version of the specified managed policy.
You cannot delete the default version of a policy using this API. 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
.
For information about versions for managed policies, refer to Versioning forManaged Policies in the Using IAM guide.
http://docs.aws.amazon.com/IAM/latest/APIReference/API_DeletePolicyVersion.html
Request
data DeletePolicyVersion Source
Request constructor
DeletePolicyVersion
constructor.
The fields accessible through corresponding lenses are:
dpvPolicyArn
::
Text
dpvVersionId
::
Text
Request lenses
dpvVersionId :: Lens' DeletePolicyVersion Text Source
The policy version to delete.
For more information about managed policy versions, see Versioning forManaged Policies in the Using IAM guide.