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

Description

Cancels archiving of a virtual tape to the virtual tape shelf (VTS) after the archiving process is initiated. This operation is only supported in the tape gateway type.

Synopsis

Creating a Request

data CancelArchival Source #

CancelArchivalInput

See: newCancelArchival smart constructor.

Constructors

CancelArchival' 

Fields

Instances

Instances details
Eq CancelArchival Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelArchival

Read CancelArchival Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelArchival

Show CancelArchival Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelArchival

Generic CancelArchival Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelArchival

Associated Types

type Rep CancelArchival :: Type -> Type #

NFData CancelArchival Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelArchival

Methods

rnf :: CancelArchival -> () #

Hashable CancelArchival Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelArchival

ToJSON CancelArchival Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelArchival

AWSRequest CancelArchival Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelArchival

Associated Types

type AWSResponse CancelArchival #

ToHeaders CancelArchival Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelArchival

ToPath CancelArchival Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelArchival

ToQuery CancelArchival Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelArchival

type Rep CancelArchival Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelArchival

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

Defined in Amazonka.StorageGateway.CancelArchival

newCancelArchival Source #

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

$sel:tapeARN:CancelArchival', cancelArchival_tapeARN - The Amazon Resource Name (ARN) of the virtual tape you want to cancel archiving for.

Request Lenses

cancelArchival_tapeARN :: Lens' CancelArchival Text Source #

The Amazon Resource Name (ARN) of the virtual tape you want to cancel archiving for.

Destructuring the Response

data CancelArchivalResponse Source #

CancelArchivalOutput

See: newCancelArchivalResponse smart constructor.

Constructors

CancelArchivalResponse' 

Fields

  • tapeARN :: Maybe Text

    The Amazon Resource Name (ARN) of the virtual tape for which archiving was canceled.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq CancelArchivalResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelArchival

Read CancelArchivalResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelArchival

Show CancelArchivalResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelArchival

Generic CancelArchivalResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelArchival

Associated Types

type Rep CancelArchivalResponse :: Type -> Type #

NFData CancelArchivalResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelArchival

Methods

rnf :: CancelArchivalResponse -> () #

type Rep CancelArchivalResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelArchival

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

newCancelArchivalResponse Source #

Create a value of CancelArchivalResponse 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:CancelArchival', cancelArchivalResponse_tapeARN - The Amazon Resource Name (ARN) of the virtual tape for which archiving was canceled.

$sel:httpStatus:CancelArchivalResponse', cancelArchivalResponse_httpStatus - The response's http status code.

Response Lenses

cancelArchivalResponse_tapeARN :: Lens' CancelArchivalResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the virtual tape for which archiving was canceled.