AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
The operation shuts down the gateway service component running in the storage gateway's virtual machine (VM) and not the VM.
After the gateway is shutdown, you cannot call any other API except StartGateway, DescribeGatewayInformation, and ListGateways. For more information, see ActivateGateway. Your applications cannot read from or write to the gateway's storage volumes, and there are no snapshots taken.
200 OK
success
response immediately. However, it might take some time for the gateway to shut down.
You can call the DescribeGatewayInformation API to check the status. For more
information, see ActivateGateway.If do not intend to use the gateway again, you must delete the gateway (using DeleteGateway) to no longer pay software charges associated with the gateway.
Namespace: Amazon.StorageGateway
Assembly: AWSSDK.dll
Version: (assembly version)
public abstract ShutdownGatewayResponse ShutdownGateway( ShutdownGatewayRequest request )
Container for the necessary parameters to execute the ShutdownGateway service method.
Exception | Condition |
---|---|
InternalServerErrorException | An internal server error has occurred during the request. See the error and message fields for more information. |
InvalidGatewayRequestException | An exception occurred because an invalid gateway request was issued to the service. See the error and message fields for more information. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5