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.
After you delete a gateway, you cannot reactivate it. Completed snapshots of the gateway volumes are not deleted upon deleting the gateway, however, pending snapshots will not complete. After you delete a gateway, your next step is to remove it from your environment.
You no longer pay software charges after the gateway is deleted; however, your existing Amazon EBS snapshots persist and you will continue to be billed for these snapshots. You can choose to remove all remaining Amazon EBS snapshots by canceling your Amazon EC2 subscription. If you prefer not to cancel your Amazon EC2 subscription, you can delete your snapshots using the Amazon EC2 console. For more information, see the AWS Storage Gateway Detail Page.
Namespace: Amazon.StorageGateway
Assembly: AWSSDK.dll
Version: (assembly version)
public virtual DeleteGatewayResponse DeleteGateway( DeleteGatewayRequest request )
Container for the necessary parameters to execute the DeleteGateway 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