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.

Container for the parameters to the DescribeTags operation. 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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.ElasticFileSystem.AmazonElasticFileSystemRequest
      Amazon.ElasticFileSystem.Model.DescribeTagsRequest

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

Syntax

C#
public class DescribeTagsRequest : AmazonElasticFileSystemRequest
         IAmazonWebServiceRequest

The DescribeTagsRequest type exposes the following members

Constructors

NameDescription
Public Method DescribeTagsRequest()

Empty constructor used to set properties independently even when a simple constructor is available

Public Method DescribeTagsRequest(string)

Instantiates DescribeTagsRequest with the parameterized properties

Properties

NameTypeDescription
Public Property FileSystemId System.String

Gets and sets the property FileSystemId.

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

Public Property Marker System.String

Gets and sets the property Marker.

(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.

Public Property MaxItems System.Int32

Gets and sets the property MaxItems.

(Optional) Maximum number of file system tags to return in the response. It must be an integer with a value greater than zero.

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 Standard:
Supported in: 1.3

.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