Copyright | (c) 2013-2018 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 |
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.
- 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:
ugiGatewayName
- Undocumented member.ugiGatewayTimezone
- Undocumented member.ugiGatewayARN
- Undocumented member.
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:
ugirsGatewayARN
- Undocumented member.ugirsGatewayName
- Undocumented member.ugirsResponseStatus
- -- | The response status code.
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.