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 DescribeMountTargets operation. Returns the descriptions of all the current mount targets, or a specific mount target, for a file system. When requesting all of the current mount targets, the order of mount targets returned in the response is unspecified.

This operation requires permissions for the elasticfilesystem:DescribeMountTargets action, on either the file system ID that you specify in FileSystemId, or on the file system of the mount target that you specify in MountTargetId.

Inheritance Hierarchy


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


public class DescribeMountTargetsRequest : AmazonElasticFileSystemRequest

The DescribeMountTargetsRequest type exposes the following members


Public Method DescribeMountTargetsRequest()

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

Public Method DescribeMountTargetsRequest(string)

Instantiates DescribeMountTargetsRequest with the parameterized properties


Public Property FileSystemId System.String

Gets and sets the property FileSystemId.

(Optional) ID of the file system whose mount targets you want to list (String). It must be included in your request if MountTargetId is not included.

Public Property Marker System.String

Gets and sets the property Marker.

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

Public Property MaxItems System.Int32

Gets and sets the property MaxItems.

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

Public Property MountTargetId System.String

Gets and sets the property MountTargetId.

(Optional) ID of the mount target that you want to have described (String). It must be included in your request if FileSystemId is not included.


This operation describes all of a file system's mount targets.

To describe the mount targets for a file system

var response = client.DescribeMountTargets(new DescribeMountTargetsRequest 
    FileSystemId = "fs-01234567"

List mountTargets = response.MountTargets;


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