Safe Haskell | None |
---|---|
Language | Haskell2010 |
Returns a description of specified virtual tapes in the virtual tape shelf (VTS).
If a specific TapeARN
is not specified, AWS Storage Gateway returns a
description of all virtual tapes found in the VTS associated with your
account.
http://docs.aws.amazon.com/storagegateway/latest/APIReference/API_DescribeTapeArchives.html
- data DescribeTapeArchives
- describeTapeArchives :: DescribeTapeArchives
- dtaLimit :: Lens' DescribeTapeArchives (Maybe Natural)
- dtaMarker :: Lens' DescribeTapeArchives (Maybe Text)
- dtaTapeARNs :: Lens' DescribeTapeArchives [Text]
- data DescribeTapeArchivesResponse
- describeTapeArchivesResponse :: DescribeTapeArchivesResponse
- dtarMarker :: Lens' DescribeTapeArchivesResponse (Maybe Text)
- dtarTapeArchives :: Lens' DescribeTapeArchivesResponse [TapeArchive]
Request
data DescribeTapeArchives Source
Eq DescribeTapeArchives | |
Ord DescribeTapeArchives | |
Read DescribeTapeArchives | |
Show DescribeTapeArchives | |
AWSRequest DescribeTapeArchives | |
AWSPager DescribeTapeArchives | |
ToQuery DescribeTapeArchives | |
ToPath DescribeTapeArchives | |
ToHeaders DescribeTapeArchives | |
ToJSON DescribeTapeArchives | |
type Sv DescribeTapeArchives = StorageGateway | |
type Rs DescribeTapeArchives = DescribeTapeArchivesResponse |
Request constructor
describeTapeArchives :: DescribeTapeArchives Source
DescribeTapeArchives
constructor.
The fields accessible through corresponding lenses are:
dtaLimit
::
Maybe
Natural
dtaMarker
::
Maybe
Text
dtaTapeARNs
::
[Text
]
Request lenses
dtaLimit :: Lens' DescribeTapeArchives (Maybe Natural) Source
Specifies that the number of virtual tapes descried be limited to the specified number.
dtaMarker :: Lens' DescribeTapeArchives (Maybe Text) Source
An opaque string that indicates the position at which to begin describing virtual tapes.
dtaTapeARNs :: Lens' DescribeTapeArchives [Text] Source
Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe.
Response
Response constructor
describeTapeArchivesResponse :: DescribeTapeArchivesResponse Source
DescribeTapeArchivesResponse
constructor.
The fields accessible through corresponding lenses are:
dtarMarker
::
Maybe
Text
dtarTapeArchives
::
[TapeArchive
]
Response lenses
dtarMarker :: 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.
dtarTapeArchives :: Lens' DescribeTapeArchivesResponse [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.