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 details of a gateway group. If any optional field is not provided, the existing corresponding value is left unmodified.
Synopsis
- data UpdateGatewayGroup = UpdateGatewayGroup' {
- name :: Maybe Text
- description :: Maybe Text
- gatewayGroupArn :: Text
- newUpdateGatewayGroup :: Text -> UpdateGatewayGroup
- updateGatewayGroup_name :: Lens' UpdateGatewayGroup (Maybe Text)
- updateGatewayGroup_description :: Lens' UpdateGatewayGroup (Maybe Text)
- updateGatewayGroup_gatewayGroupArn :: Lens' UpdateGatewayGroup Text
- data UpdateGatewayGroupResponse = UpdateGatewayGroupResponse' {
- httpStatus :: Int
- newUpdateGatewayGroupResponse :: Int -> UpdateGatewayGroupResponse
- updateGatewayGroupResponse_httpStatus :: Lens' UpdateGatewayGroupResponse Int
Creating a Request
data UpdateGatewayGroup Source #
See: newUpdateGatewayGroup
smart constructor.
UpdateGatewayGroup' | |
|
Instances
newUpdateGatewayGroup Source #
Create a value of UpdateGatewayGroup
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:UpdateGatewayGroup'
, updateGatewayGroup_name
- The updated name of the gateway group.
$sel:description:UpdateGatewayGroup'
, updateGatewayGroup_description
- The updated description of the gateway group.
$sel:gatewayGroupArn:UpdateGatewayGroup'
, updateGatewayGroup_gatewayGroupArn
- The ARN of the gateway group to update.
Request Lenses
updateGatewayGroup_name :: Lens' UpdateGatewayGroup (Maybe Text) Source #
The updated name of the gateway group.
updateGatewayGroup_description :: Lens' UpdateGatewayGroup (Maybe Text) Source #
The updated description of the gateway group.
updateGatewayGroup_gatewayGroupArn :: Lens' UpdateGatewayGroup Text Source #
The ARN of the gateway group to update.
Destructuring the Response
data UpdateGatewayGroupResponse Source #
See: newUpdateGatewayGroupResponse
smart constructor.
UpdateGatewayGroupResponse' | |
|
Instances
newUpdateGatewayGroupResponse Source #
Create a value of UpdateGatewayGroupResponse
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:UpdateGatewayGroupResponse'
, updateGatewayGroupResponse_httpStatus
- The response's http status code.
Response Lenses
updateGatewayGroupResponse_httpStatus :: Lens' UpdateGatewayGroupResponse Int Source #
The response's http status code.