AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Note:

For PCL this operation is only available in asynchronous form. Please refer to DescribeTagsAsync.

Namespace: Amazon.ElasticFileSystem
Assembly: AWSSDK.ElasticFileSystem.dll
Version: 3.x.y.z

Syntax

C#
public virtual DescribeTagsResponse DescribeTags(
         DescribeTagsRequest request
)
Parameters
request
Type: Amazon.ElasticFileSystem.Model.DescribeTagsRequest

Container for the necessary parameters to execute the DescribeTags service method.

Return Value
The response from the DescribeTags service method, as returned by ElasticFileSystem.

Exceptions

ExceptionCondition
BadRequestException Returned if the request is malformed or contains an error such as an invalid parameter value or a missing required parameter.
FileSystemNotFoundException Returned if the specified FileSystemId does not exist in the requester's AWS account.
InternalServerErrorException Returned if an error occurred on the server side.

Examples

This operation describes all of a file system's tags.

To describe the tags for a file system


var response = client.DescribeTags(new DescribeTagsRequest 
{
    FileSystemId = "fs-01234567"
});

List tags = response.Tags;

            

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

See Also