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.
- 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
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 #
See: updateRoleDescription
smart constructor.
Instances
Request Lenses
urdRoleName :: Lens' UpdateRoleDescription Text #
The name of the role that you want to modify.
urdDescription :: Lens' UpdateRoleDescription Text #
The new description that you want to apply to the specified role.
Destructuring the Response
updateRoleDescriptionResponse #
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 #
See: updateRoleDescriptionResponse
smart constructor.
Response Lenses
urdrsRole :: Lens' UpdateRoleDescriptionResponse (Maybe Role) #
A structure that contains details about the modified role.
urdrsResponseStatus :: Lens' UpdateRoleDescriptionResponse Int #
- - | The response status code.