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.
http://docs.aws.amazon.com/storagegateway/latest/APIReference/API_StartGateway.html
- data StartGateway
- startGateway :: Text -> StartGateway
- sgGatewayARN :: Lens' StartGateway Text
- data StartGatewayResponse
- startGatewayResponse :: StartGatewayResponse
- sgrGatewayARN :: Lens' StartGatewayResponse (Maybe Text)
Request
data StartGateway Source
Eq StartGateway | |
Ord StartGateway | |
Read StartGateway | |
Show StartGateway | |
IsString StartGateway | |
Monoid StartGateway | |
AWSRequest StartGateway | |
ToQuery StartGateway | |
ToPath StartGateway | |
ToHeaders StartGateway | |
ToJSON StartGateway | |
type Sv StartGateway = StorageGateway | |
type Rs StartGateway = StartGatewayResponse |
Request constructor
:: Text | |
-> StartGateway |
StartGateway
constructor.
The fields accessible through corresponding lenses are:
sgGatewayARN
::
Text
Request lenses
sgGatewayARN :: Lens' StartGateway Text Source
Response
Response constructor
startGatewayResponse :: StartGatewayResponse Source
StartGatewayResponse
constructor.
The fields accessible through corresponding lenses are:
sgrGatewayARN
::
Maybe
Text
Response lenses
sgrGatewayARN :: Lens' StartGatewayResponse (Maybe Text) Source