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.DescribeMountTargetSecurityGroups
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.
See: AWS API Reference for DescribeMountTargetSecurityGroups.
- describeMountTargetSecurityGroups :: Text -> DescribeMountTargetSecurityGroups
- data DescribeMountTargetSecurityGroups
- dmtsgMountTargetId :: Lens' DescribeMountTargetSecurityGroups Text
- describeMountTargetSecurityGroupsResponse :: Int -> DescribeMountTargetSecurityGroupsResponse
- data DescribeMountTargetSecurityGroupsResponse
- dmtsgrsStatus :: Lens' DescribeMountTargetSecurityGroupsResponse Int
- dmtsgrsSecurityGroups :: Lens' DescribeMountTargetSecurityGroupsResponse [Text]
Creating a Request
describeMountTargetSecurityGroups Source
Arguments
:: Text | |
-> DescribeMountTargetSecurityGroups |
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
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
Arguments
:: Int | |
-> DescribeMountTargetSecurityGroupsResponse |
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
See: describeMountTargetSecurityGroupsResponse
smart constructor.
Instances
Response Lenses
dmtsgrsStatus :: Lens' DescribeMountTargetSecurityGroupsResponse Int Source
The response status code.
dmtsgrsSecurityGroups :: Lens' DescribeMountTargetSecurityGroupsResponse [Text] Source
An array of security groups.