Copyright | (c) 2013-2016 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 |
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.
- describeMountTargetSecurityGroups :: Text -> DescribeMountTargetSecurityGroups
- data DescribeMountTargetSecurityGroups
- dmtsgMountTargetId :: Lens' DescribeMountTargetSecurityGroups Text
- describeMountTargetSecurityGroupsResponse :: Int -> DescribeMountTargetSecurityGroupsResponse
- data DescribeMountTargetSecurityGroupsResponse
- dmtsgrsResponseStatus :: Lens' DescribeMountTargetSecurityGroupsResponse Int
- dmtsgrsSecurityGroups :: Lens' DescribeMountTargetSecurityGroupsResponse [Text]
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.
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 #
See: describeMountTargetSecurityGroupsResponse
smart constructor.
Response Lenses
dmtsgrsResponseStatus :: Lens' DescribeMountTargetSecurityGroupsResponse Int Source #
The response status code.
dmtsgrsSecurityGroups :: Lens' DescribeMountTargetSecurityGroupsResponse [Text] Source #
An array of security groups.