| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.EFS.DescribeTags
Description
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.
This operation returns paginated results.
Synopsis
- 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
Arguments
| :: Text | |
| -> DescribeTags |
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 previousDescribeTagsoperation (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.
Instances
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
Arguments
| :: Int | |
| -> DescribeTagsResponse |
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 ofNextMarkeras the value of theMarkerparameter 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 ofTagobjects.
data DescribeTagsResponse Source #
See: describeTagsResponse smart constructor.
Instances
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.