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 the tags associated with a file system. The order of tags returned in the response of one DescribeTags
call and the order of tags returned across the responses of a multi-call iteration (when using pagination) is unspecified.
This operation requires permissions for the elasticfilesystem:DescribeTags
action.
- describeTags :: Text -> DescribeTags
- data DescribeTags
- dtMarker :: Lens' DescribeTags (Maybe Text)
- dtMaxItems :: Lens' DescribeTags (Maybe Natural)
- dtFileSystemId :: Lens' DescribeTags Text
- describeTagsResponse :: Int -> DescribeTagsResponse
- data DescribeTagsResponse
- dtrsMarker :: Lens' DescribeTagsResponse (Maybe Text)
- dtrsNextMarker :: Lens' DescribeTagsResponse (Maybe Text)
- dtrsResponseStatus :: Lens' DescribeTagsResponse Int
- dtrsTags :: Lens' DescribeTagsResponse [Tag]
Creating a Request
Creates a value of DescribeTags
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dtMarker
- (Optional) Opaque pagination token returned from a previousDescribeTags
operation (String). If present, it specifies to continue the list from where the previous call left off.dtMaxItems
- (Optional) Maximum number of file system tags to return in the response. It must be an integer with a value greater than zero.dtFileSystemId
- ID of the file system whose tag set you want to retrieve.
data DescribeTags Source #
See: describeTags
smart constructor.
Request Lenses
dtMarker :: Lens' DescribeTags (Maybe Text) Source #
(Optional) Opaque pagination token returned from a previous DescribeTags
operation (String). If present, it specifies to continue the list from where the previous call left off.
dtMaxItems :: Lens' DescribeTags (Maybe Natural) Source #
(Optional) Maximum number of file system tags to return in the response. It must be an integer with a value greater than zero.
dtFileSystemId :: Lens' DescribeTags Text Source #
ID of the file system whose tag set you want to retrieve.
Destructuring the Response
Creates a value of DescribeTagsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dtrsMarker
- If the request included aMarker
, the response returns that value in this field.dtrsNextMarker
- If a value is present, there are more tags to return. In a subsequent request, you can provide the value ofNextMarker
as the value of theMarker
parameter in your next request to retrieve the next set of tags.dtrsResponseStatus
- -- | The response status code.dtrsTags
- Returns tags associated with the file system as an array ofTag
objects.
data DescribeTagsResponse Source #
See: describeTagsResponse
smart constructor.
Response Lenses
dtrsMarker :: Lens' DescribeTagsResponse (Maybe Text) Source #
If the request included a Marker
, the response returns that value in this field.
dtrsNextMarker :: Lens' DescribeTagsResponse (Maybe Text) Source #
If a value is present, there are more tags to return. In a subsequent request, you can provide the value of NextMarker
as the value of the Marker
parameter in your next request to retrieve the next set of tags.
dtrsResponseStatus :: Lens' DescribeTagsResponse Int Source #
- - | The response status code.