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

Description

Returns a description of specified virtual tapes in the virtual tape shelf (VTS). This operation is only supported in the tape gateway type.

If a specific TapeARN is not specified, Storage Gateway returns a description of all virtual tapes found in the VTS associated with your account.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeTapeArchives Source #

DescribeTapeArchivesInput

See: newDescribeTapeArchives smart constructor.

Constructors

DescribeTapeArchives' 

Fields

  • limit :: Maybe Natural

    Specifies that the number of virtual tapes described be limited to the specified number.

  • marker :: Maybe Text

    An opaque string that indicates the position at which to begin describing virtual tapes.

  • tapeARNs :: Maybe [Text]

    Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe.

Instances

Instances details
ToJSON DescribeTapeArchives Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeTapeArchives

ToHeaders DescribeTapeArchives Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeTapeArchives

ToPath DescribeTapeArchives Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeTapeArchives

ToQuery DescribeTapeArchives Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeTapeArchives

AWSPager DescribeTapeArchives Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeTapeArchives

AWSRequest DescribeTapeArchives Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeTapeArchives

Associated Types

type AWSResponse DescribeTapeArchives #

Generic DescribeTapeArchives Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeTapeArchives

Associated Types

type Rep DescribeTapeArchives :: Type -> Type #

Read DescribeTapeArchives Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeTapeArchives

Show DescribeTapeArchives Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeTapeArchives

NFData DescribeTapeArchives Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeTapeArchives

Methods

rnf :: DescribeTapeArchives -> () #

Eq DescribeTapeArchives Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeTapeArchives

Hashable DescribeTapeArchives Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeTapeArchives

type AWSResponse DescribeTapeArchives Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeTapeArchives

type Rep DescribeTapeArchives Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeTapeArchives

type Rep DescribeTapeArchives = D1 ('MetaData "DescribeTapeArchives" "Amazonka.StorageGateway.DescribeTapeArchives" "amazonka-storagegateway-2.0-A8x7b0LCNm33wkCZlwgcSL" 'False) (C1 ('MetaCons "DescribeTapeArchives'" 'PrefixI 'True) (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tapeARNs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))

newDescribeTapeArchives :: DescribeTapeArchives Source #

Create a value of DescribeTapeArchives 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:limit:DescribeTapeArchives', describeTapeArchives_limit - Specifies that the number of virtual tapes described be limited to the specified number.

DescribeTapeArchives, describeTapeArchives_marker - An opaque string that indicates the position at which to begin describing virtual tapes.

$sel:tapeARNs:DescribeTapeArchives', describeTapeArchives_tapeARNs - Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe.

Request Lenses

describeTapeArchives_limit :: Lens' DescribeTapeArchives (Maybe Natural) Source #

Specifies that the number of virtual tapes described be limited to the specified number.

describeTapeArchives_marker :: Lens' DescribeTapeArchives (Maybe Text) Source #

An opaque string that indicates the position at which to begin describing virtual tapes.

describeTapeArchives_tapeARNs :: Lens' DescribeTapeArchives (Maybe [Text]) Source #

Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe.

Destructuring the Response

data DescribeTapeArchivesResponse Source #

DescribeTapeArchivesOutput

See: newDescribeTapeArchivesResponse smart constructor.

Constructors

DescribeTapeArchivesResponse' 

Fields

  • marker :: Maybe Text

    An opaque string that indicates the position at which the virtual tapes that were fetched for description ended. Use this marker in your next request to fetch the next set of virtual tapes in the virtual tape shelf (VTS). If there are no more virtual tapes to describe, this field does not appear in the response.

  • tapeArchives :: Maybe [TapeArchive]

    An array of virtual tape objects in the virtual tape shelf (VTS). The description includes of the Amazon Resource Name (ARN) of the virtual tapes. The information returned includes the Amazon Resource Names (ARNs) of the tapes, size of the tapes, status of the tapes, progress of the description, and tape barcode.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DescribeTapeArchivesResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeTapeArchives

Associated Types

type Rep DescribeTapeArchivesResponse :: Type -> Type #

Read DescribeTapeArchivesResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeTapeArchives

Show DescribeTapeArchivesResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeTapeArchives

NFData DescribeTapeArchivesResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeTapeArchives

Eq DescribeTapeArchivesResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeTapeArchives

type Rep DescribeTapeArchivesResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DescribeTapeArchives

type Rep DescribeTapeArchivesResponse = D1 ('MetaData "DescribeTapeArchivesResponse" "Amazonka.StorageGateway.DescribeTapeArchives" "amazonka-storagegateway-2.0-A8x7b0LCNm33wkCZlwgcSL" 'False) (C1 ('MetaCons "DescribeTapeArchivesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tapeArchives") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TapeArchive])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeTapeArchivesResponse Source #

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

DescribeTapeArchives, describeTapeArchivesResponse_marker - An opaque string that indicates the position at which the virtual tapes that were fetched for description ended. Use this marker in your next request to fetch the next set of virtual tapes in the virtual tape shelf (VTS). If there are no more virtual tapes to describe, this field does not appear in the response.

$sel:tapeArchives:DescribeTapeArchivesResponse', describeTapeArchivesResponse_tapeArchives - An array of virtual tape objects in the virtual tape shelf (VTS). The description includes of the Amazon Resource Name (ARN) of the virtual tapes. The information returned includes the Amazon Resource Names (ARNs) of the tapes, size of the tapes, status of the tapes, progress of the description, and tape barcode.

$sel:httpStatus:DescribeTapeArchivesResponse', describeTapeArchivesResponse_httpStatus - The response's http status code.

Response Lenses

describeTapeArchivesResponse_marker :: Lens' DescribeTapeArchivesResponse (Maybe Text) Source #

An opaque string that indicates the position at which the virtual tapes that were fetched for description ended. Use this marker in your next request to fetch the next set of virtual tapes in the virtual tape shelf (VTS). If there are no more virtual tapes to describe, this field does not appear in the response.

describeTapeArchivesResponse_tapeArchives :: Lens' DescribeTapeArchivesResponse (Maybe [TapeArchive]) Source #

An array of virtual tape objects in the virtual tape shelf (VTS). The description includes of the Amazon Resource Name (ARN) of the virtual tapes. The information returned includes the Amazon Resource Names (ARNs) of the tapes, size of the tapes, status of the tapes, progress of the description, and tape barcode.