Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
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 Inline Policies in the IAM User Guide.
Creating a Request
setDefaultPolicyVersion Source #
Creates a value of SetDefaultPolicyVersion
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SetDefaultPolicyVersion Source #
See: setDefaultPolicyVersion
smart constructor.
Request Lenses
sdpvPolicyARN :: Lens' SetDefaultPolicyVersion Text Source #
Undocumented member.
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 for Managed Policies in the IAM User Guide.
Destructuring the Response
setDefaultPolicyVersionResponse :: SetDefaultPolicyVersionResponse Source #
Creates a value of SetDefaultPolicyVersionResponse
with the minimum fields required to make a request.
data SetDefaultPolicyVersionResponse Source #
See: setDefaultPolicyVersionResponse
smart constructor.