| 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.Greengrass.UpdateGroup
Description
Updates a group.
Synopsis
- data UpdateGroup = UpdateGroup' {}
- newUpdateGroup :: Text -> UpdateGroup
- updateGroup_name :: Lens' UpdateGroup (Maybe Text)
- updateGroup_groupId :: Lens' UpdateGroup Text
- data UpdateGroupResponse = UpdateGroupResponse' {
- httpStatus :: Int
- newUpdateGroupResponse :: Int -> UpdateGroupResponse
- updateGroupResponse_httpStatus :: Lens' UpdateGroupResponse Int
Creating a Request
data UpdateGroup Source #
See: newUpdateGroup smart constructor.
Constructors
| UpdateGroup' | |
Instances
Arguments
| :: Text | |
| -> UpdateGroup |
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_name - The name of the definition.
$sel:groupId:UpdateGroup', updateGroup_groupId - The ID of the Greengrass group.
Request Lenses
updateGroup_name :: Lens' UpdateGroup (Maybe Text) Source #
The name of the definition.
updateGroup_groupId :: Lens' UpdateGroup Text Source #
The ID of the Greengrass group.
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:
$sel:httpStatus:UpdateGroupResponse', updateGroupResponse_httpStatus - The response's http status code.
Response Lenses
updateGroupResponse_httpStatus :: Lens' UpdateGroupResponse Int Source #
The response's http status code.