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.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
Eq DeleteTapePool Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

Read DeleteTapePool Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

Show DeleteTapePool Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

Generic DeleteTapePool Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

Associated Types

type Rep DeleteTapePool :: Type -> Type #

NFData DeleteTapePool Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

Methods

rnf :: DeleteTapePool -> () #

Hashable DeleteTapePool Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

ToJSON DeleteTapePool Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

AWSRequest DeleteTapePool Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

Associated Types

type AWSResponse 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

type Rep DeleteTapePool Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

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

Defined in Amazonka.StorageGateway.DeleteTapePool

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:

$sel:poolARN: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
Eq DeleteTapePoolResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

Read DeleteTapePoolResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

Show DeleteTapePoolResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

Generic DeleteTapePoolResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

Associated Types

type Rep DeleteTapePoolResponse :: Type -> Type #

NFData DeleteTapePoolResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

Methods

rnf :: DeleteTapePoolResponse -> () #

type Rep DeleteTapePoolResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapePool

type Rep DeleteTapePoolResponse = D1 ('MetaData "DeleteTapePoolResponse" "Amazonka.StorageGateway.DeleteTapePool" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" '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:

$sel:poolARN: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.