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 |
Starts a gateway that you previously shut down (see ShutdownGateway
). After the gateway starts, you can then make other API calls, your applications can read from or write to the gateway's storage volumes and you will be able to take snapshot backups.
To specify which gateway to start, use the Amazon Resource Name (ARN) of the gateway in your request.
Creating a Request
Creates a value of StartGateway
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sgGatewayARN
- Undocumented member.
data StartGateway Source #
A JSON object containing the of the gateway to start.
See: startGateway
smart constructor.
Request Lenses
sgGatewayARN :: Lens' StartGateway Text Source #
Undocumented member.
Destructuring the Response
Creates a value of StartGatewayResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sgrsGatewayARN
- Undocumented member.sgrsResponseStatus
- -- | The response status code.
data StartGatewayResponse Source #
A JSON object containing the of the gateway that was restarted.
See: startGatewayResponse
smart constructor.
Response Lenses
sgrsGatewayARN :: Lens' StartGatewayResponse (Maybe Text) Source #
Undocumented member.
sgrsResponseStatus :: Lens' StartGatewayResponse Int Source #
- - | The response status code.