Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- updateGatewayInformation :: Text -> UpdateGatewayInformation
- data UpdateGatewayInformation
- ugiGatewayName :: Lens' UpdateGatewayInformation (Maybe Text)
- ugiGatewayTimezone :: Lens' UpdateGatewayInformation (Maybe Text)
- ugiGatewayARN :: Lens' UpdateGatewayInformation Text
- updateGatewayInformationResponse :: Int -> UpdateGatewayInformationResponse
- data UpdateGatewayInformationResponse
- ugirsGatewayARN :: Lens' UpdateGatewayInformationResponse (Maybe Text)
- ugirsGatewayName :: Lens' UpdateGatewayInformationResponse (Maybe Text)
- ugirsResponseStatus :: Lens' UpdateGatewayInformationResponse Int
Creating a Request
updateGatewayInformation Source #
Creates a value of UpdateGatewayInformation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateGatewayInformation Source #
See: updateGatewayInformation
smart constructor.
Request Lenses
ugiGatewayName :: Lens' UpdateGatewayInformation (Maybe Text) Source #
Undocumented member.
ugiGatewayTimezone :: Lens' UpdateGatewayInformation (Maybe Text) Source #
Undocumented member.
ugiGatewayARN :: Lens' UpdateGatewayInformation Text Source #
Undocumented member.
Destructuring the Response
updateGatewayInformationResponse Source #
Creates a value of UpdateGatewayInformationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateGatewayInformationResponse Source #
A JSON object containing the ARN of the gateway that was updated.
See: updateGatewayInformationResponse
smart constructor.
Response Lenses
ugirsGatewayARN :: Lens' UpdateGatewayInformationResponse (Maybe Text) Source #
Undocumented member.
ugirsGatewayName :: Lens' UpdateGatewayInformationResponse (Maybe Text) Source #
Undocumented member.
ugirsResponseStatus :: Lens' UpdateGatewayInformationResponse Int Source #
The response status code.