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

Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.SetDefaultPolicyVersion

Contents

Description

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

Synopsis

Request

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.

Response

Response constructor