amazonka-storagegateway-1.0.1: Amazon Storage Gateway SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.StorageGateway.StartGateway

Contents

Description

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.

Synopsis

Creating a Request

startGateway Source

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:

Request Lenses

sgGatewayARN :: Lens' StartGateway Text Source

Undocumented member.

Destructuring the Response

startGatewayResponse Source

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:

Response Lenses

srsStatus :: Lens' StartGatewayResponse Int Source

The response status code.