amazonka-efs-1.5.0: Amazon Elastic File System SDK.

Copyright(c) 2013-2017 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EFS.DescribeMountTargets

Contents

Description

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 .

This operation returns paginated results.

Synopsis

Creating a Request

describeMountTargets :: DescribeMountTargets Source #

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:

  • dmtFileSystemId - (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.
  • dmtMarker - (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.
  • dmtMaxItems - (Optional) Maximum number of mount targets to return in the response. It must be an integer with a value greater than zero.
  • dmtMountTargetId - (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.

data DescribeMountTargets Source #

See: describeMountTargets smart constructor.

Instances

Eq DescribeMountTargets Source # 
Data DescribeMountTargets Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeMountTargets -> c DescribeMountTargets #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeMountTargets #

toConstr :: DescribeMountTargets -> Constr #

dataTypeOf :: DescribeMountTargets -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeMountTargets) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeMountTargets) #

gmapT :: (forall b. Data b => b -> b) -> DescribeMountTargets -> DescribeMountTargets #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeMountTargets -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeMountTargets -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeMountTargets -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeMountTargets -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeMountTargets -> m DescribeMountTargets #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeMountTargets -> m DescribeMountTargets #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeMountTargets -> m DescribeMountTargets #

Read DescribeMountTargets Source # 
Show DescribeMountTargets Source # 
Generic DescribeMountTargets Source # 
Hashable DescribeMountTargets Source # 
NFData DescribeMountTargets Source # 

Methods

rnf :: DescribeMountTargets -> () #

AWSPager DescribeMountTargets Source # 
AWSRequest DescribeMountTargets Source # 
ToQuery DescribeMountTargets Source # 
ToPath DescribeMountTargets Source # 
ToHeaders DescribeMountTargets Source # 
type Rep DescribeMountTargets Source # 
type Rep DescribeMountTargets = D1 (MetaData "DescribeMountTargets" "Network.AWS.EFS.DescribeMountTargets" "amazonka-efs-1.5.0-AGdA5NiO2mlIVVmSCQcc4J" False) (C1 (MetaCons "DescribeMountTargets'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dmtFileSystemId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dmtMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_dmtMaxItems") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_dmtMountTargetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Rs DescribeMountTargets Source # 

Request Lenses

dmtFileSystemId :: Lens' DescribeMountTargets (Maybe Text) Source #

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

dmtMarker :: Lens' DescribeMountTargets (Maybe Text) Source #

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

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.

dmtMountTargetId :: Lens' DescribeMountTargets (Maybe Text) Source #

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

Destructuring the Response

describeMountTargetsResponse Source #

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:

  • dmtrsMountTargets - Returns the file system's mount targets as an array of MountTargetDescription objects.
  • dmtrsMarker - If the request included the Marker , the response returns that value in this field.
  • dmtrsNextMarker - 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.
  • dmtrsResponseStatus - -- | The response status code.

data DescribeMountTargetsResponse Source #

See: describeMountTargetsResponse smart constructor.

Instances

Eq DescribeMountTargetsResponse Source # 
Data DescribeMountTargetsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeMountTargetsResponse -> c DescribeMountTargetsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeMountTargetsResponse #

toConstr :: DescribeMountTargetsResponse -> Constr #

dataTypeOf :: DescribeMountTargetsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeMountTargetsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeMountTargetsResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeMountTargetsResponse -> DescribeMountTargetsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeMountTargetsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeMountTargetsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeMountTargetsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeMountTargetsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeMountTargetsResponse -> m DescribeMountTargetsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeMountTargetsResponse -> m DescribeMountTargetsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeMountTargetsResponse -> m DescribeMountTargetsResponse #

Read DescribeMountTargetsResponse Source # 
Show DescribeMountTargetsResponse Source # 
Generic DescribeMountTargetsResponse Source # 
NFData DescribeMountTargetsResponse Source # 
type Rep DescribeMountTargetsResponse Source # 
type Rep DescribeMountTargetsResponse = D1 (MetaData "DescribeMountTargetsResponse" "Network.AWS.EFS.DescribeMountTargets" "amazonka-efs-1.5.0-AGdA5NiO2mlIVVmSCQcc4J" False) (C1 (MetaCons "DescribeMountTargetsResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dmtrsMountTargets") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [MountTargetDescription]))) (S1 (MetaSel (Just Symbol "_dmtrsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_dmtrsNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dmtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

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.