Safe Haskell | None |
---|---|
Language | Haskell2010 |
Sets the specified version of the specified policy as the policy's default (operative) version.
This action affects all users, groups, and roles that the policy is attached
to. To list the users, groups, and roles that the policy is attached to, use
the ListEntitiesForPolicy
API.
For information about managed policies, refer to Managed Policies and InlinePolicies in the Using IAM guide.
http://docs.aws.amazon.com/IAM/latest/APIReference/API_SetDefaultPolicyVersion.html
Request
data SetDefaultPolicyVersion Source
Request constructor
setDefaultPolicyVersion Source
SetDefaultPolicyVersion
constructor.
The fields accessible through corresponding lenses are:
Request lenses
sdpvVersionId :: Lens' SetDefaultPolicyVersion Text Source
The version of the policy to set as the default (operative) version.
For more information about managed policy versions, see Versioning forManaged Policies in the Using IAM guide.