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

Defined in Amazonka.StorageGateway.DeleteTapeArchive

Read DeleteTapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

Show DeleteTapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

Generic DeleteTapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

Associated Types

type Rep DeleteTapeArchive :: Type -> Type #

NFData DeleteTapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

Methods

rnf :: DeleteTapeArchive -> () #

Hashable DeleteTapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

ToJSON DeleteTapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

AWSRequest DeleteTapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

Associated Types

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

type Rep DeleteTapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

type Rep DeleteTapeArchive = D1 ('MetaData "DeleteTapeArchive" "Amazonka.StorageGateway.DeleteTapeArchive" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" '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)))
type AWSResponse DeleteTapeArchive Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

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.

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

Defined in Amazonka.StorageGateway.DeleteTapeArchive

Read DeleteTapeArchiveResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

Show DeleteTapeArchiveResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

Generic DeleteTapeArchiveResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteTapeArchive

Associated Types

type Rep DeleteTapeArchiveResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" '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:

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