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 gateway's metadata, which includes the gateway's name and time zone. To specify which gateway to update, use the Amazon Resource Name (ARN) of the gateway in your request.
For gateways activated after September 2, 2015, the gateway's ARN contains the gateway ID rather than the gateway name. However, changing the name of the gateway has no effect on the gateway's ARN.
Synopsis
- data UpdateGatewayInformation = UpdateGatewayInformation' {}
- newUpdateGatewayInformation :: Text -> UpdateGatewayInformation
- updateGatewayInformation_gatewayCapacity :: Lens' UpdateGatewayInformation (Maybe GatewayCapacity)
- updateGatewayInformation_gatewayName :: Lens' UpdateGatewayInformation (Maybe Text)
- updateGatewayInformation_gatewayTimezone :: Lens' UpdateGatewayInformation (Maybe Text)
- updateGatewayInformation_cloudWatchLogGroupARN :: Lens' UpdateGatewayInformation (Maybe Text)
- updateGatewayInformation_gatewayARN :: Lens' UpdateGatewayInformation Text
- data UpdateGatewayInformationResponse = UpdateGatewayInformationResponse' {
- gatewayARN :: Maybe Text
- gatewayName :: Maybe Text
- httpStatus :: Int
- newUpdateGatewayInformationResponse :: Int -> UpdateGatewayInformationResponse
- updateGatewayInformationResponse_gatewayARN :: Lens' UpdateGatewayInformationResponse (Maybe Text)
- updateGatewayInformationResponse_gatewayName :: Lens' UpdateGatewayInformationResponse (Maybe Text)
- updateGatewayInformationResponse_httpStatus :: Lens' UpdateGatewayInformationResponse Int
Creating a Request
data UpdateGatewayInformation Source #
See: newUpdateGatewayInformation
smart constructor.
UpdateGatewayInformation' | |
|
Instances
newUpdateGatewayInformation Source #
Create a value of UpdateGatewayInformation
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:gatewayCapacity:UpdateGatewayInformation'
, updateGatewayInformation_gatewayCapacity
- Specifies the size of the gateway's metadata cache.
$sel:gatewayName:UpdateGatewayInformation'
, updateGatewayInformation_gatewayName
- Undocumented member.
$sel:gatewayTimezone:UpdateGatewayInformation'
, updateGatewayInformation_gatewayTimezone
- A value that indicates the time zone of the gateway.
$sel:cloudWatchLogGroupARN:UpdateGatewayInformation'
, updateGatewayInformation_cloudWatchLogGroupARN
- The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that
you want to use to monitor and log events in the gateway.
For more information, see What is Amazon CloudWatch Logs?
$sel:gatewayARN:UpdateGatewayInformation'
, updateGatewayInformation_gatewayARN
- Undocumented member.
Request Lenses
updateGatewayInformation_gatewayCapacity :: Lens' UpdateGatewayInformation (Maybe GatewayCapacity) Source #
Specifies the size of the gateway's metadata cache.
updateGatewayInformation_gatewayName :: Lens' UpdateGatewayInformation (Maybe Text) Source #
Undocumented member.
updateGatewayInformation_gatewayTimezone :: Lens' UpdateGatewayInformation (Maybe Text) Source #
A value that indicates the time zone of the gateway.
updateGatewayInformation_cloudWatchLogGroupARN :: Lens' UpdateGatewayInformation (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that you want to use to monitor and log events in the gateway.
For more information, see What is Amazon CloudWatch Logs?
updateGatewayInformation_gatewayARN :: Lens' UpdateGatewayInformation Text Source #
Undocumented member.
Destructuring the Response
data UpdateGatewayInformationResponse Source #
A JSON object containing the Amazon Resource Name (ARN) of the gateway that was updated.
See: newUpdateGatewayInformationResponse
smart constructor.
UpdateGatewayInformationResponse' | |
|
Instances
newUpdateGatewayInformationResponse Source #
Create a value of UpdateGatewayInformationResponse
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:gatewayARN:UpdateGatewayInformation'
, updateGatewayInformationResponse_gatewayARN
- Undocumented member.
$sel:gatewayName:UpdateGatewayInformation'
, updateGatewayInformationResponse_gatewayName
- The name you configured for your gateway.
$sel:httpStatus:UpdateGatewayInformationResponse'
, updateGatewayInformationResponse_httpStatus
- The response's http status code.
Response Lenses
updateGatewayInformationResponse_gatewayARN :: Lens' UpdateGatewayInformationResponse (Maybe Text) Source #
Undocumented member.
updateGatewayInformationResponse_gatewayName :: Lens' UpdateGatewayInformationResponse (Maybe Text) Source #
The name you configured for your gateway.
updateGatewayInformationResponse_httpStatus :: Lens' UpdateGatewayInformationResponse Int Source #
The response's http status code.