Copyright | (c) 2013-2021 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 |
Updates the description for an existing group. You cannot update the name of a resource group.
Minimum permissions
To run this command, you must have the following permissions:
resource-groups:UpdateGroup
Synopsis
- data UpdateGroup = UpdateGroup' {}
- newUpdateGroup :: UpdateGroup
- updateGroup_group :: Lens' UpdateGroup (Maybe Text)
- updateGroup_groupName :: Lens' UpdateGroup (Maybe Text)
- updateGroup_description :: Lens' UpdateGroup (Maybe Text)
- data UpdateGroupResponse = UpdateGroupResponse' {
- group' :: Maybe Group
- httpStatus :: Int
- newUpdateGroupResponse :: Int -> UpdateGroupResponse
- updateGroupResponse_group :: Lens' UpdateGroupResponse (Maybe Group)
- updateGroupResponse_httpStatus :: Lens' UpdateGroupResponse Int
Creating a Request
data UpdateGroup Source #
See: newUpdateGroup
smart constructor.
UpdateGroup' | |
|
Instances
newUpdateGroup :: UpdateGroup Source #
Create a value of UpdateGroup
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:group':UpdateGroup'
, updateGroup_group
- The name or the ARN of the resource group to modify.
$sel:groupName:UpdateGroup'
, updateGroup_groupName
- Don't use this parameter. Use Group
instead.
$sel:description:UpdateGroup'
, updateGroup_description
- The new description that you want to update the resource group with.
Descriptions can contain letters, numbers, hyphens, underscores,
periods, and spaces.
Request Lenses
updateGroup_group :: Lens' UpdateGroup (Maybe Text) Source #
The name or the ARN of the resource group to modify.
updateGroup_groupName :: Lens' UpdateGroup (Maybe Text) Source #
Don't use this parameter. Use Group
instead.
updateGroup_description :: Lens' UpdateGroup (Maybe Text) Source #
The new description that you want to update the resource group with. Descriptions can contain letters, numbers, hyphens, underscores, periods, and spaces.
Destructuring the Response
data UpdateGroupResponse Source #
See: newUpdateGroupResponse
smart constructor.
UpdateGroupResponse' | |
|
Instances
newUpdateGroupResponse Source #
Create a value of UpdateGroupResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:group':UpdateGroup'
, updateGroupResponse_group
- The update description of the resource group.
$sel:httpStatus:UpdateGroupResponse'
, updateGroupResponse_httpStatus
- The response's http status code.
Response Lenses
updateGroupResponse_group :: Lens' UpdateGroupResponse (Maybe Group) Source #
The update description of the resource group.
updateGroupResponse_httpStatus :: Lens' UpdateGroupResponse Int Source #
The response's http status code.