| Copyright | (c) 2013-2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.EFS.DescribeMountTargets
Description
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.
See: AWS API Reference for DescribeMountTargets.
- describeMountTargets :: Text -> DescribeMountTargets
- data DescribeMountTargets
- dmtMaxItems :: Lens' DescribeMountTargets (Maybe Natural)
- dmtMarker :: Lens' DescribeMountTargets (Maybe Text)
- dmtFileSystemId :: Lens' DescribeMountTargets Text
- describeMountTargetsResponse :: Int -> DescribeMountTargetsResponse
- data DescribeMountTargetsResponse
- dmtrsMountTargets :: Lens' DescribeMountTargetsResponse [MountTargetDescription]
- dmtrsMarker :: Lens' DescribeMountTargetsResponse (Maybe Text)
- dmtrsNextMarker :: Lens' DescribeMountTargetsResponse (Maybe Text)
- dmtrsStatus :: Lens' DescribeMountTargetsResponse Int
Creating a Request
Arguments
| :: Text | |
| -> DescribeMountTargets |
Creates a value of DescribeMountTargets with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeMountTargets Source
See: describeMountTargets smart constructor.
Instances
Request Lenses
dmtMaxItems :: Lens' DescribeMountTargets (Maybe Natural) Source
Optional. Maximum number of mount targets to return in the response. It must be an integer with a value greater than zero.
dmtMarker :: Lens' DescribeMountTargets (Maybe Text) Source
Optional. String. Opaque pagination token returned from a previous
DescribeMountTargets operation. If present, it specifies to continue
the list from where the previous returning call left off.
dmtFileSystemId :: Lens' DescribeMountTargets Text Source
String. The ID of the file system whose mount targets you want to list.
Destructuring the Response
describeMountTargetsResponse Source
Arguments
| :: Int | |
| -> DescribeMountTargetsResponse |
Creates a value of DescribeMountTargetsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeMountTargetsResponse Source
See: describeMountTargetsResponse smart constructor.
Response Lenses
dmtrsMountTargets :: Lens' DescribeMountTargetsResponse [MountTargetDescription] Source
Returns the file system's mount targets as an array of
MountTargetDescription objects.
dmtrsMarker :: Lens' DescribeMountTargetsResponse (Maybe Text) Source
If the request included the Marker, the response returns that value in
this field.
dmtrsNextMarker :: Lens' DescribeMountTargetsResponse (Maybe Text) Source
If a value is present, there are more mount targets to return. In a
subsequent request, you can provide Marker in your request with this
value to retrieve the next set of mount targets.
dmtrsStatus :: Lens' DescribeMountTargetsResponse Int Source
The response status code.