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. If any optional field is not provided, the existing corresponding value is left unmodified.
Synopsis
- data UpdateGateway = UpdateGateway' {
- name :: Maybe Text
- softwareVersion :: Maybe Text
- description :: Maybe Text
- gatewayArn :: Text
- newUpdateGateway :: Text -> UpdateGateway
- updateGateway_name :: Lens' UpdateGateway (Maybe Text)
- updateGateway_softwareVersion :: Lens' UpdateGateway (Maybe Text)
- updateGateway_description :: Lens' UpdateGateway (Maybe Text)
- updateGateway_gatewayArn :: Lens' UpdateGateway Text
- data UpdateGatewayResponse = UpdateGatewayResponse' {
- httpStatus :: Int
- newUpdateGatewayResponse :: Int -> UpdateGatewayResponse
- updateGatewayResponse_httpStatus :: Lens' UpdateGatewayResponse Int
Creating a Request
data UpdateGateway Source #
See: newUpdateGateway
smart constructor.
UpdateGateway' | |
|
Instances
Create a value of UpdateGateway
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:UpdateGateway'
, updateGateway_name
- The updated name of the gateway.
$sel:softwareVersion:UpdateGateway'
, updateGateway_softwareVersion
- The updated software version of the gateway. The gateway automatically
updates its software version during normal operation.
$sel:description:UpdateGateway'
, updateGateway_description
- The updated description of the gateway.
$sel:gatewayArn:UpdateGateway'
, updateGateway_gatewayArn
- The ARN of the gateway to update.
Request Lenses
updateGateway_name :: Lens' UpdateGateway (Maybe Text) Source #
The updated name of the gateway.
updateGateway_softwareVersion :: Lens' UpdateGateway (Maybe Text) Source #
The updated software version of the gateway. The gateway automatically updates its software version during normal operation.
updateGateway_description :: Lens' UpdateGateway (Maybe Text) Source #
The updated description of the gateway.
updateGateway_gatewayArn :: Lens' UpdateGateway Text Source #
The ARN of the gateway to update.
Destructuring the Response
data UpdateGatewayResponse Source #
See: newUpdateGatewayResponse
smart constructor.
UpdateGatewayResponse' | |
|
Instances
newUpdateGatewayResponse Source #
Create a value of UpdateGatewayResponse
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:UpdateGatewayResponse'
, updateGatewayResponse_httpStatus
- The response's http status code.
Response Lenses
updateGatewayResponse_httpStatus :: Lens' UpdateGatewayResponse Int Source #
The response's http status code.