AWS SDK Version 2 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.

.NET Framework 3.5
 
Returns the descriptions of the current mount targets for a file system. The order of mount targets returned in the response is unspecified.

This operation requires permission for the elasticfilesystem:DescribeMountTargets action on the file system FileSystemId.

Namespace: Amazon.ElasticFileSystem
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public abstract DescribeMountTargetsResponse DescribeMountTargets(
         String fileSystemId
)

Parameters

fileSystemId
Type: System.String

String. The ID of the file system whose mount targets you want to list.

Return Value
Type: Amazon.ElasticFileSystem.Model.DescribeMountTargetsResponse
The response from the DescribeMountTargets 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.

Version Information

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