amazonka-storagegateway-2.0: Amazon Storage Gateway SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.StorageGateway.DeleteTapePool

Description

Delete a custom tape pool. A custom tape pool can only be deleted if there are no tapes in the pool and if there are no automatic tape creation policies that reference the custom tape pool.

Synopsis

Creating a Request

data DeleteTapePool Source #

See: newDeleteTapePool smart constructor.

Constructors

DeleteTapePool' 

Fields

  • poolARN :: Text

    The Amazon Resource Name (ARN) of the custom tape pool to delete.

Instances

Instances details
ToJSON DeleteTapePool Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

ToHeaders DeleteTapePool Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

ToPath DeleteTapePool Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

ToQuery DeleteTapePool Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

AWSRequest DeleteTapePool Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

Associated Types

type AWSResponse DeleteTapePool #

Generic DeleteTapePool Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

Associated Types

type Rep DeleteTapePool :: Type -> Type #

Read DeleteTapePool Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

Show DeleteTapePool Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

NFData DeleteTapePool Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

Methods

rnf :: DeleteTapePool -> () #

Eq DeleteTapePool Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

Hashable DeleteTapePool Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

type AWSResponse DeleteTapePool Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

type Rep DeleteTapePool Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

type Rep DeleteTapePool = D1 ('MetaData "DeleteTapePool" "Amazonka.StorageGateway.DeleteTapePool" "amazonka-storagegateway-2.0-A8x7b0LCNm33wkCZlwgcSL" 'False) (C1 ('MetaCons "DeleteTapePool'" 'PrefixI 'True) (S1 ('MetaSel ('Just "poolARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteTapePool Source #

Create a value of DeleteTapePool 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:

DeleteTapePool, deleteTapePool_poolARN - The Amazon Resource Name (ARN) of the custom tape pool to delete.

Request Lenses

deleteTapePool_poolARN :: Lens' DeleteTapePool Text Source #

The Amazon Resource Name (ARN) of the custom tape pool to delete.

Destructuring the Response

data DeleteTapePoolResponse Source #

See: newDeleteTapePoolResponse smart constructor.

Constructors

DeleteTapePoolResponse' 

Fields

Instances

Instances details
Generic DeleteTapePoolResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

Associated Types

type Rep DeleteTapePoolResponse :: Type -> Type #

Read DeleteTapePoolResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

Show DeleteTapePoolResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

NFData DeleteTapePoolResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

Methods

rnf :: DeleteTapePoolResponse -> () #

Eq DeleteTapePoolResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

type Rep DeleteTapePoolResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

type Rep DeleteTapePoolResponse = D1 ('MetaData "DeleteTapePoolResponse" "Amazonka.StorageGateway.DeleteTapePool" "amazonka-storagegateway-2.0-A8x7b0LCNm33wkCZlwgcSL" 'False) (C1 ('MetaCons "DeleteTapePoolResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "poolARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteTapePoolResponse Source #

Create a value of DeleteTapePoolResponse 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:

DeleteTapePool, deleteTapePoolResponse_poolARN - The Amazon Resource Name (ARN) of the custom tape pool being deleted.

$sel:httpStatus:DeleteTapePoolResponse', deleteTapePoolResponse_httpStatus - The response's http status code.

Response Lenses

deleteTapePoolResponse_poolARN :: Lens' DeleteTapePoolResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the custom tape pool being deleted.