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 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.
Instances
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:name: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.
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:httpStatus:UpdateGroupResponse'
, updateGroupResponse_httpStatus
- The response's http status code.
Response Lenses
updateGroupResponse_httpStatus :: Lens' UpdateGroupResponse Int Source #
The response's http status code.