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 |
This operation 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.
When you make a request, you will get a 200 OK success response immediately. However, it might take some time for the gateway to be ready. You should call DescribeGatewayInformation and check the status before making any additional API calls. For more information, see ActivateGateway.
To specify which gateway to start, use the Amazon Resource Name (ARN) of the gateway in your request.
See: AWS API Reference for StartGateway.
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:
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:
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.