libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.StorageGateway.DisableGateway

Description

Disables a tape 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 tape gateway that is not reachable or not functioning. This operation is only supported in the tape gateway type.

After a gateway is disabled, it cannot be enabled.

Synopsis

Creating a Request

data DisableGateway Source #

DisableGatewayInput

See: newDisableGateway smart constructor.

Constructors

DisableGateway' 

Fields

Instances

Instances details
Eq DisableGateway Source # 
Instance details

Defined in Amazonka.StorageGateway.DisableGateway

Read DisableGateway Source # 
Instance details

Defined in Amazonka.StorageGateway.DisableGateway

Show DisableGateway Source # 
Instance details

Defined in Amazonka.StorageGateway.DisableGateway

Generic DisableGateway Source # 
Instance details

Defined in Amazonka.StorageGateway.DisableGateway

Associated Types

type Rep DisableGateway :: Type -> Type #

NFData DisableGateway Source # 
Instance details

Defined in Amazonka.StorageGateway.DisableGateway

Methods

rnf :: DisableGateway -> () #

Hashable DisableGateway Source # 
Instance details

Defined in Amazonka.StorageGateway.DisableGateway

ToJSON DisableGateway Source # 
Instance details

Defined in Amazonka.StorageGateway.DisableGateway

AWSRequest DisableGateway Source # 
Instance details

Defined in Amazonka.StorageGateway.DisableGateway

Associated Types

type AWSResponse DisableGateway #

ToHeaders DisableGateway Source # 
Instance details

Defined in Amazonka.StorageGateway.DisableGateway

ToPath DisableGateway Source # 
Instance details

Defined in Amazonka.StorageGateway.DisableGateway

ToQuery DisableGateway Source # 
Instance details

Defined in Amazonka.StorageGateway.DisableGateway

type Rep DisableGateway Source # 
Instance details

Defined in Amazonka.StorageGateway.DisableGateway

type Rep DisableGateway = D1 ('MetaData "DisableGateway" "Amazonka.StorageGateway.DisableGateway" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "DisableGateway'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gatewayARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DisableGateway Source # 
Instance details

Defined in Amazonka.StorageGateway.DisableGateway

newDisableGateway Source #

Create a value of DisableGateway with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:gatewayARN:DisableGateway', disableGateway_gatewayARN - Undocumented member.

Request Lenses

Destructuring the Response

data DisableGatewayResponse Source #

DisableGatewayOutput

See: newDisableGatewayResponse smart constructor.

Constructors

DisableGatewayResponse' 

Fields

Instances

Instances details
Eq DisableGatewayResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DisableGateway

Read DisableGatewayResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DisableGateway

Show DisableGatewayResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DisableGateway

Generic DisableGatewayResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DisableGateway

Associated Types

type Rep DisableGatewayResponse :: Type -> Type #

NFData DisableGatewayResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DisableGateway

Methods

rnf :: DisableGatewayResponse -> () #

type Rep DisableGatewayResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DisableGateway

type Rep DisableGatewayResponse = D1 ('MetaData "DisableGatewayResponse" "Amazonka.StorageGateway.DisableGateway" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "DisableGatewayResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gatewayARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDisableGatewayResponse Source #

Create a value of DisableGatewayResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:gatewayARN:DisableGateway', disableGatewayResponse_gatewayARN - The unique Amazon Resource Name (ARN) of the disabled gateway.

$sel:httpStatus:DisableGatewayResponse', disableGatewayResponse_httpStatus - The response's http status code.

Response Lenses

disableGatewayResponse_gatewayARN :: Lens' DisableGatewayResponse (Maybe Text) Source #

The unique Amazon Resource Name (ARN) of the disabled gateway.