Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Modifies the description of a role.
- updateRoleDescription :: Text -> Text -> UpdateRoleDescription
- data UpdateRoleDescription
- urdRoleName :: Lens' UpdateRoleDescription Text
- urdDescription :: Lens' UpdateRoleDescription Text
- updateRoleDescriptionResponse :: Int -> UpdateRoleDescriptionResponse
- data UpdateRoleDescriptionResponse
- urdrsRole :: Lens' UpdateRoleDescriptionResponse (Maybe Role)
- urdrsResponseStatus :: Lens' UpdateRoleDescriptionResponse Int
Creating a Request
updateRoleDescription Source #
Creates a value of UpdateRoleDescription
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
urdRoleName
- The name of the role that you want to modify.urdDescription
- The new description that you want to apply to the specified role.
data UpdateRoleDescription Source #
See: updateRoleDescription
smart constructor.
Request Lenses
urdRoleName :: Lens' UpdateRoleDescription Text Source #
The name of the role that you want to modify.
urdDescription :: Lens' UpdateRoleDescription Text Source #
The new description that you want to apply to the specified role.
Destructuring the Response
updateRoleDescriptionResponse Source #
Creates a value of UpdateRoleDescriptionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
urdrsRole
- A structure that contains details about the modified role.urdrsResponseStatus
- -- | The response status code.
data UpdateRoleDescriptionResponse Source #
See: updateRoleDescriptionResponse
smart constructor.
Response Lenses
urdrsRole :: Lens' UpdateRoleDescriptionResponse (Maybe Role) Source #
A structure that contains details about the modified role.
urdrsResponseStatus :: Lens' UpdateRoleDescriptionResponse Int Source #
- - | The response status code.