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

Description

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

Synopsis

Creating a Request

data CancelRetrieval Source #

CancelRetrievalInput

See: newCancelRetrieval smart constructor.

Constructors

CancelRetrieval' 

Fields

Instances

Instances details
Eq CancelRetrieval Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelRetrieval

Read CancelRetrieval Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelRetrieval

Show CancelRetrieval Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelRetrieval

Generic CancelRetrieval Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelRetrieval

Associated Types

type Rep CancelRetrieval :: Type -> Type #

NFData CancelRetrieval Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelRetrieval

Methods

rnf :: CancelRetrieval -> () #

Hashable CancelRetrieval Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelRetrieval

ToJSON CancelRetrieval Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelRetrieval

AWSRequest CancelRetrieval Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelRetrieval

Associated Types

type AWSResponse CancelRetrieval #

ToHeaders CancelRetrieval Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelRetrieval

ToPath CancelRetrieval Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelRetrieval

ToQuery CancelRetrieval Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelRetrieval

type Rep CancelRetrieval Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelRetrieval

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

Defined in Amazonka.StorageGateway.CancelRetrieval

newCancelRetrieval Source #

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

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

Request Lenses

cancelRetrieval_tapeARN :: Lens' CancelRetrieval Text Source #

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

Destructuring the Response

data CancelRetrievalResponse Source #

CancelRetrievalOutput

See: newCancelRetrievalResponse smart constructor.

Constructors

CancelRetrievalResponse' 

Fields

  • tapeARN :: Maybe Text

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

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq CancelRetrievalResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelRetrieval

Read CancelRetrievalResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelRetrieval

Show CancelRetrievalResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelRetrieval

Generic CancelRetrievalResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelRetrieval

Associated Types

type Rep CancelRetrievalResponse :: Type -> Type #

NFData CancelRetrievalResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelRetrieval

Methods

rnf :: CancelRetrievalResponse -> () #

type Rep CancelRetrievalResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.CancelRetrieval

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

newCancelRetrievalResponse Source #

Create a value of CancelRetrievalResponse 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:CancelRetrieval', cancelRetrievalResponse_tapeARN - The Amazon Resource Name (ARN) of the virtual tape for which retrieval was canceled.

$sel:httpStatus:CancelRetrievalResponse', cancelRetrievalResponse_httpStatus - The response's http status code.

Response Lenses

cancelRetrievalResponse_tapeARN :: Lens' CancelRetrievalResponse (Maybe Text) Source #

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