amazonka-iam-0.3.3: Amazon Identity and Access Management SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.DeletePolicyVersion

Contents

Description

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

Synopsis

Request

Request constructor

deletePolicyVersion Source

DeletePolicyVersion constructor.

The fields accessible through corresponding lenses are:

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.

Response

Response constructor