| Copyright | (c) 2013-2015 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 | 
Network.AWS.StorageGateway.UpdateGatewayInformation
Description
This operation 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.
See: AWS API Reference for UpdateGatewayInformation.
- 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)
- ugirsStatus :: Lens' UpdateGatewayInformationResponse Int
Creating a Request
updateGatewayInformation Source
Arguments
| :: Text | |
| -> UpdateGatewayInformation | 
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.
Instances
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
Arguments
| :: Int | |
| -> UpdateGatewayInformationResponse | 
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 of the gateway that was updated.
See: updateGatewayInformationResponse smart constructor.
Response Lenses
ugirsGatewayARN :: Lens' UpdateGatewayInformationResponse (Maybe Text) Source
Undocumented member.
ugirsStatus :: Lens' UpdateGatewayInformationResponse Int Source
The response status code.