Disables a gateway when the gateway is no longer functioning. For example, if your gateway VM is damaged, you can disable the gateway so you can recover virtual tapes.
Use this operation for a gateway-VTL that is not reachable or not functioning.
IMPORTANT:Once a gateway is disabled it cannot be enabled.

C# |
public DisableGatewayResponse DisableGateway( DisableGatewayRequest disableGatewayRequest )

- disableGatewayRequest (DisableGatewayRequest)
- Container for the necessary parameters to execute the DisableGateway service method on AmazonStorageGateway.

The response from the DisableGateway service method, as returned by AmazonStorageGateway.

Exception | Condition |
---|---|
InternalServerErrorException | |
InvalidGatewayRequestException |