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.DisableGateway

Contents

Description

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.

Once a gateway is disabled it cannot be enabled.

See: AWS API Reference for DisableGateway.

Synopsis

Creating a Request

disableGateway Source

Creates a value of DisableGateway with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

dGatewayARN :: Lens' DisableGateway Text Source

Undocumented member.

Destructuring the Response

disableGatewayResponse Source

Creates a value of DisableGatewayResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

disrsGatewayARN :: Lens' DisableGatewayResponse (Maybe Text) Source

The unique Amazon Resource Name of the disabled gateway.

disrsStatus :: Lens' DisableGatewayResponse Int Source

The response status code.