| Copyright | (c) 2013-2018 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 |
Network.AWS.IAM.UpdateRoleDescription
Description
Use instead.
Modifies only the description of a role. This operation performs the same function as the Description parameter in the UpdateRole operation.
Synopsis
- 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 #
Arguments
| :: Text | |
| -> Text | |
| -> UpdateRoleDescription |
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.
Instances
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 #
Arguments
| :: Int | |
| -> UpdateRoleDescriptionResponse |
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.
Instances
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.