Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
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.
This operation returns paginated results.
- describeTapeArchives :: DescribeTapeArchives
- data DescribeTapeArchives
- dtaMarker :: Lens' DescribeTapeArchives (Maybe Text)
- dtaLimit :: Lens' DescribeTapeArchives (Maybe Natural)
- dtaTapeARNs :: Lens' DescribeTapeArchives [Text]
- describeTapeArchivesResponse :: Int -> DescribeTapeArchivesResponse
- data DescribeTapeArchivesResponse
- dtarsTapeArchives :: Lens' DescribeTapeArchivesResponse [TapeArchive]
- dtarsMarker :: Lens' DescribeTapeArchivesResponse (Maybe Text)
- dtarsResponseStatus :: Lens' DescribeTapeArchivesResponse Int
Creating a Request
describeTapeArchives :: DescribeTapeArchives Source #
Creates a value of DescribeTapeArchives
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeTapeArchives Source #
DescribeTapeArchivesInput
See: describeTapeArchives
smart constructor.
Request Lenses
dtaMarker :: Lens' DescribeTapeArchives (Maybe Text) Source #
An opaque string that indicates the position at which to begin describing virtual tapes.
dtaLimit :: Lens' DescribeTapeArchives (Maybe Natural) Source #
Specifies that the number of virtual tapes descried be limited to the specified number.
dtaTapeARNs :: Lens' DescribeTapeArchives [Text] Source #
Specifies one or more unique Amazon Resource Names (ARNs) that represent the virtual tapes you want to describe.
Destructuring the Response
describeTapeArchivesResponse Source #
Creates a value of DescribeTapeArchivesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeTapeArchivesResponse Source #
DescribeTapeArchivesOutput
See: describeTapeArchivesResponse
smart constructor.
Response Lenses
dtarsTapeArchives :: 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.
dtarsMarker :: 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.
dtarsResponseStatus :: Lens' DescribeTapeArchivesResponse Int Source #
The response status code.