Amazon Elastic File System
User Guide


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 multiple-call iteration (when using pagination) is unspecified.

This operation requires permissions for the elasticfilesystem:DescribeTags action.

Request Syntax

GET /2015-02-01/tags/FileSystemId/?Marker=Marker&MaxItems=MaxItems HTTP/1.1

URI Request Parameters

The request requires the following URI parameters.


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


(Optional) An 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.


(Optional) The maximum number of file system tags to return in the response. Currently, this number is automatically set to 10, and other values are ignored. The response is paginated at 10 per page if you have more than 10 tags.

Valid Range: Minimum value of 1.

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 200 Content-type: application/json { "Marker": "string", "NextMarker": "string", "Tags": [ { "Key": "string", "Value": "string" } ] }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.


If the request included a Marker, the response returns that value in this field.

Type: String


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.

Type: String


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

Type: Array of Tag objects



Returned if the request is malformed or contains an error such as an invalid parameter value or a missing required parameter.

HTTP Status Code: 400


Returned if the specified FileSystemId value doesn't exist in the requester's AWS account.

HTTP Status Code: 404


Returned if an error occurred on the server side.

HTTP Status Code: 500


Retrieve Tags Associated with a File System

The following request retrieves tags (key-value pairs) associated with the specified file system.

Sample Request

GET /2015-02-01/tags/fs-e2a6438b/ HTTP/1.1 Host: x-amz-date: 20140620T215404Z Authorization: <...>

Sample Response

HTTP/1.1 200 OK x-amzn-RequestId: f264e454-7859-4f15-8169-1c0d5b0b04f5 Content-Type: application/json Content-Length: 288 { "Tags":[ { "Key":"Name", "Value":"my first file system" }, { "Key":"Fleet", "Value":"Development" }, { "Key":"Developer", "Value":"Alice" } ] }

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: