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

Description

Deletes a gateway. To specify which gateway to delete, use the Amazon Resource Name (ARN) of the gateway in your request. The operation deletes the gateway; however, it does not delete the gateway virtual machine (VM) from your host computer.

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 Storage Gateway detail page.

Synopsis

Creating a Request

data DeleteGateway Source #

A JSON object containing the ID of the gateway to delete.

See: newDeleteGateway smart constructor.

Constructors

DeleteGateway' 

Fields

Instances

Instances details
Eq DeleteGateway Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteGateway

Read DeleteGateway Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteGateway

Show DeleteGateway Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteGateway

Generic DeleteGateway Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteGateway

Associated Types

type Rep DeleteGateway :: Type -> Type #

NFData DeleteGateway Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteGateway

Methods

rnf :: DeleteGateway -> () #

Hashable DeleteGateway Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteGateway

ToJSON DeleteGateway Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteGateway

AWSRequest DeleteGateway Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteGateway

Associated Types

type AWSResponse DeleteGateway #

ToHeaders DeleteGateway Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteGateway

ToPath DeleteGateway Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteGateway

ToQuery DeleteGateway Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteGateway

type Rep DeleteGateway Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteGateway

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

Defined in Amazonka.StorageGateway.DeleteGateway

newDeleteGateway Source #

Create a value of DeleteGateway 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:DeleteGateway', deleteGateway_gatewayARN - Undocumented member.

Request Lenses

Destructuring the Response

data DeleteGatewayResponse Source #

A JSON object containing the ID of the deleted gateway.

See: newDeleteGatewayResponse smart constructor.

Constructors

DeleteGatewayResponse' 

Fields

Instances

Instances details
Eq DeleteGatewayResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteGateway

Read DeleteGatewayResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteGateway

Show DeleteGatewayResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteGateway

Generic DeleteGatewayResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteGateway

Associated Types

type Rep DeleteGatewayResponse :: Type -> Type #

NFData DeleteGatewayResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteGateway

Methods

rnf :: DeleteGatewayResponse -> () #

type Rep DeleteGatewayResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteGateway

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

newDeleteGatewayResponse Source #

Create a value of DeleteGatewayResponse 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:DeleteGateway', deleteGatewayResponse_gatewayARN - Undocumented member.

$sel:httpStatus:DeleteGatewayResponse', deleteGatewayResponse_httpStatus - The response's http status code.

Response Lenses