amazonka-storagegateway-1.3.1: Amazon Storage Gateway SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
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.

See: AWS API Reference for DescribeTapes.

This operation returns paginated results.

Synopsis

Creating a Request

describeTapes Source

Creates a value of DescribeTapes with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

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.

dtLimit :: Lens' DescribeTapes (Maybe Natural) Source

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

Amazon Web Services may impose its own limit, if this field is not set.

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.

dtGatewayARN :: Lens' DescribeTapes Text Source

Undocumented member.

Destructuring the Response

describeTapesResponse Source

Creates a value of DescribeTapesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

dtsrsMarker :: 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.

dtsrsTapes :: Lens' DescribeTapesResponse [Tape] Source

An array of virtual tape descriptions.