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

Description

Deletes the specified virtual tape from the virtual tape shelf (VTS). This operation is only supported in the tape gateway type.

Synopsis

Creating a Request

data DeleteTapeArchive Source #

DeleteTapeArchiveInput

See: newDeleteTapeArchive smart constructor.

Constructors

DeleteTapeArchive' 

Fields

  • bypassGovernanceRetention :: Maybe Bool

    Set to TRUE to delete an archived tape that belongs to a custom pool with tape retention lock. Only archived tapes with tape retention lock set to governance can be deleted. Archived tapes with tape retention lock set to compliance can't be deleted.

  • tapeARN :: Text

    The Amazon Resource Name (ARN) of the virtual tape to delete from the virtual tape shelf (VTS).

Instances

Instances details
ToJSON DeleteTapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

ToHeaders DeleteTapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

ToPath DeleteTapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

ToQuery DeleteTapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

AWSRequest DeleteTapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

Associated Types

type AWSResponse DeleteTapeArchive #

Generic DeleteTapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

Associated Types

type Rep DeleteTapeArchive :: Type -> Type #

Read DeleteTapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

Show DeleteTapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

NFData DeleteTapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

Methods

rnf :: DeleteTapeArchive -> () #

Eq DeleteTapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

Hashable DeleteTapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

type AWSResponse DeleteTapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

type Rep DeleteTapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

type Rep DeleteTapeArchive = D1 ('MetaData "DeleteTapeArchive" "Amazonka.StorageGateway.DeleteTapeArchive" "amazonka-storagegateway-2.0-A8x7b0LCNm33wkCZlwgcSL" 'False) (C1 ('MetaCons "DeleteTapeArchive'" 'PrefixI 'True) (S1 ('MetaSel ('Just "bypassGovernanceRetention") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "tapeARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteTapeArchive Source #

Create a value of DeleteTapeArchive 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:bypassGovernanceRetention:DeleteTapeArchive', deleteTapeArchive_bypassGovernanceRetention - Set to TRUE to delete an archived tape that belongs to a custom pool with tape retention lock. Only archived tapes with tape retention lock set to governance can be deleted. Archived tapes with tape retention lock set to compliance can't be deleted.

DeleteTapeArchive, deleteTapeArchive_tapeARN - The Amazon Resource Name (ARN) of the virtual tape to delete from the virtual tape shelf (VTS).

Request Lenses

deleteTapeArchive_bypassGovernanceRetention :: Lens' DeleteTapeArchive (Maybe Bool) Source #

Set to TRUE to delete an archived tape that belongs to a custom pool with tape retention lock. Only archived tapes with tape retention lock set to governance can be deleted. Archived tapes with tape retention lock set to compliance can't be deleted.

deleteTapeArchive_tapeARN :: Lens' DeleteTapeArchive Text Source #

The Amazon Resource Name (ARN) of the virtual tape to delete from the virtual tape shelf (VTS).

Destructuring the Response

data DeleteTapeArchiveResponse Source #

DeleteTapeArchiveOutput

See: newDeleteTapeArchiveResponse smart constructor.

Constructors

DeleteTapeArchiveResponse' 

Fields

  • tapeARN :: Maybe Text

    The Amazon Resource Name (ARN) of the virtual tape that was deleted from the virtual tape shelf (VTS).

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DeleteTapeArchiveResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

Associated Types

type Rep DeleteTapeArchiveResponse :: Type -> Type #

Read DeleteTapeArchiveResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

Show DeleteTapeArchiveResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

NFData DeleteTapeArchiveResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

Eq DeleteTapeArchiveResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

type Rep DeleteTapeArchiveResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

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

newDeleteTapeArchiveResponse Source #

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

DeleteTapeArchive, deleteTapeArchiveResponse_tapeARN - The Amazon Resource Name (ARN) of the virtual tape that was deleted from the virtual tape shelf (VTS).

$sel:httpStatus:DeleteTapeArchiveResponse', deleteTapeArchiveResponse_httpStatus - The response's http status code.

Response Lenses

deleteTapeArchiveResponse_tapeARN :: Lens' DeleteTapeArchiveResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the virtual tape that was deleted from the virtual tape shelf (VTS).