amazonka-storagegateway-0.0.7: Amazon Storage Gateway SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.StorageGateway.DescribeTapes

Contents

Description

Returns a description of the specified Amazon Resource Name (ARN) of virtual tapes. If a TapeARN is not specified, returns a description of all virtual tapes associated with the specified gateway.

http://docs.aws.amazon.com/storagegateway/latest/APIReference/API_DescribeTapes.html

Synopsis

Request

Request constructor

describeTapes Source

DescribeTapes constructor.

The fields accessible through corresponding lenses are:

Request lenses

dtLimit :: Lens' DescribeTapes (Maybe Natural) Source

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

dtMarker :: Lens' DescribeTapes (Maybe Text) Source

A marker value, obtained in a previous call to DescribeTapes. This marker indicates which page of results to retrieve.

If not specified, the first page of results is retrieved.

dtTapeARNs :: Lens' DescribeTapes [Text] Source

Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe. If this parameter is not specified, AWS Storage Gateway returns a description of all virtual tapes associated with the specified gateway.

Response

Response constructor

describeTapesResponse :: DescribeTapesResponse Source

DescribeTapesResponse constructor.

The fields accessible through corresponding lenses are:

Response lenses

dtrMarker :: Lens' DescribeTapesResponse (Maybe Text) Source

An opaque string which can be used as part of a subsequent DescribeTapes call to retrieve the next page of results.

If a response does not contain a marker, then there are no more results to be retrieved.

dtrTapes :: Lens' DescribeTapesResponse [Tape] Source

An array of virtual tape descriptions.