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 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.
This operation returns paginated results.
- describeTapes :: Text -> DescribeTapes
- data DescribeTapes
- dtMarker :: Lens' DescribeTapes (Maybe Text)
- dtLimit :: Lens' DescribeTapes (Maybe Natural)
- dtTapeARNs :: Lens' DescribeTapes [Text]
- dtGatewayARN :: Lens' DescribeTapes Text
- describeTapesResponse :: Int -> DescribeTapesResponse
- data DescribeTapesResponse
- dtsrsMarker :: Lens' DescribeTapesResponse (Maybe Text)
- dtsrsTapes :: Lens' DescribeTapesResponse [Tape]
- dtsrsResponseStatus :: Lens' DescribeTapesResponse Int
Creating a Request
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:
data DescribeTapes Source #
DescribeTapesInput
See: describeTapes
smart constructor.
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:
data DescribeTapesResponse Source #
DescribeTapesOutput
See: describeTapesResponse
smart constructor.
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.
dtsrsResponseStatus :: Lens' DescribeTapesResponse Int Source #
The response status code.