amazonka-efs-1.0.1: Amazon Elastic File System SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EFS.DescribeTags

Contents

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 permission for the 'elasticfilesystem:DescribeTags' action.

See: AWS API Reference for DescribeTags.

Synopsis

Creating a Request

describeTags Source

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:

Request Lenses

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.

dtMarker :: Lens' DescribeTags (Maybe Text) Source

Optional. String. Opaque pagination token returned from a previous DescribeTags operation. If present, it specifies to continue the list from where the previous call left off.

dtFileSystemId :: Lens' DescribeTags Text Source

The ID of the file system whose tag set you want to retrieve.

Destructuring the Response

describeTagsResponse Source

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:

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.

dtrsStatus :: Lens' DescribeTagsResponse Int Source

The response status code.

dtrsTags :: Lens' DescribeTagsResponse [Tag] Source

Returns tags associated with the file system as an array of Tag objects.