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

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

Network.AWS.EFS.DescribeMountTargetSecurityGroups

Contents

Description

Returns the security groups currently in effect for a mount target. This operation requires that the network interface of the mount target has been created and the life cycle state of the mount target is not "deleted".

This operation requires permissions for the following actions:

  • 'elasticfilesystem:DescribeMountTargetSecurityGroups' action on the mount target's file system.
  • 'ec2:DescribeNetworkInterfaceAttribute' action on the mount target's network interface.

Synopsis

Creating a Request

describeMountTargetSecurityGroups Source #

Creates a value of DescribeMountTargetSecurityGroups with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeMountTargetSecurityGroups Source #

See: describeMountTargetSecurityGroups smart constructor.

Instances

Eq DescribeMountTargetSecurityGroups Source # 
Data DescribeMountTargetSecurityGroups Source # 

Methods

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

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

toConstr :: DescribeMountTargetSecurityGroups -> Constr #

dataTypeOf :: DescribeMountTargetSecurityGroups -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeMountTargetSecurityGroups Source # 
Show DescribeMountTargetSecurityGroups Source # 
Generic DescribeMountTargetSecurityGroups Source # 
Hashable DescribeMountTargetSecurityGroups Source # 
NFData DescribeMountTargetSecurityGroups Source # 
AWSRequest DescribeMountTargetSecurityGroups Source # 
ToQuery DescribeMountTargetSecurityGroups Source # 
ToPath DescribeMountTargetSecurityGroups Source # 
ToHeaders DescribeMountTargetSecurityGroups Source # 
type Rep DescribeMountTargetSecurityGroups Source # 
type Rep DescribeMountTargetSecurityGroups = D1 (MetaData "DescribeMountTargetSecurityGroups" "Network.AWS.EFS.DescribeMountTargetSecurityGroups" "amazonka-efs-1.4.3-2ZEVvdjfwBi8krXbjs28Vh" True) (C1 (MetaCons "DescribeMountTargetSecurityGroups'" PrefixI True) (S1 (MetaSel (Just Symbol "_dmtsgMountTargetId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DescribeMountTargetSecurityGroups Source # 

Request Lenses

dmtsgMountTargetId :: Lens' DescribeMountTargetSecurityGroups Text Source #

The ID of the mount target whose security groups you want to retrieve.

Destructuring the Response

describeMountTargetSecurityGroupsResponse Source #

Creates a value of DescribeMountTargetSecurityGroupsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeMountTargetSecurityGroupsResponse Source #

Instances

Eq DescribeMountTargetSecurityGroupsResponse Source # 
Data DescribeMountTargetSecurityGroupsResponse Source # 

Methods

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

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

toConstr :: DescribeMountTargetSecurityGroupsResponse -> Constr #

dataTypeOf :: DescribeMountTargetSecurityGroupsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeMountTargetSecurityGroupsResponse Source # 
Show DescribeMountTargetSecurityGroupsResponse Source # 
Generic DescribeMountTargetSecurityGroupsResponse Source # 
NFData DescribeMountTargetSecurityGroupsResponse Source # 
type Rep DescribeMountTargetSecurityGroupsResponse Source # 
type Rep DescribeMountTargetSecurityGroupsResponse = D1 (MetaData "DescribeMountTargetSecurityGroupsResponse" "Network.AWS.EFS.DescribeMountTargetSecurityGroups" "amazonka-efs-1.4.3-2ZEVvdjfwBi8krXbjs28Vh" False) (C1 (MetaCons "DescribeMountTargetSecurityGroupsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dmtsgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_dmtsgrsSecurityGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [Text]))))

Response Lenses