| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ResourceGroups.UpdateGroup
Description
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_description :: Lens' UpdateGroup (Maybe Text)
- updateGroup_group :: Lens' UpdateGroup (Maybe Text)
- updateGroup_groupName :: 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.
Constructors
| UpdateGroup' | |
Fields
| |
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:
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.
UpdateGroup, updateGroup_group - The name or the ARN of the resource group to modify.
UpdateGroup, updateGroup_groupName - Don't use this parameter. Use Group instead.
Request Lenses
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.
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.
Destructuring the Response
data UpdateGroupResponse Source #
See: newUpdateGroupResponse smart constructor.
Constructors
| UpdateGroupResponse' | |
Fields
| |
Instances
newUpdateGroupResponse Source #
Arguments
| :: Int | |
| -> UpdateGroupResponse |
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:
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.