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 |
Updates the policy that grants an IAM entity permission to assume a role. This is typically referred to as the "role trust policy". For more information about roles, go to Using Roles to Delegate Permissions and Federate Identities .
Creating a Request
updateAssumeRolePolicy Source #
Creates a value of UpdateAssumeRolePolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uarpRoleName
- The name of the role to update with the new policy. The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-uarpPolicyDocument
- The policy that grants an entity permission to assume the role. The regex pattern for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (u0020) through end of the ASCII character range (u00FF). It also includes the special characters tab (u0009), line feed (u000A), and carriage return (u000D).
data UpdateAssumeRolePolicy Source #
See: updateAssumeRolePolicy
smart constructor.
Request Lenses
uarpRoleName :: Lens' UpdateAssumeRolePolicy Text Source #
The name of the role to update with the new policy. The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@-
uarpPolicyDocument :: Lens' UpdateAssumeRolePolicy Text Source #
The policy that grants an entity permission to assume the role. The regex pattern for this parameter is a string of characters consisting of any printable ASCII character ranging from the space character (u0020) through end of the ASCII character range (u00FF). It also includes the special characters tab (u0009), line feed (u000A), and carriage return (u000D).
Destructuring the Response
updateAssumeRolePolicyResponse :: UpdateAssumeRolePolicyResponse Source #
Creates a value of UpdateAssumeRolePolicyResponse
with the minimum fields required to make a request.
data UpdateAssumeRolePolicyResponse Source #
See: updateAssumeRolePolicyResponse
smart constructor.