| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@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 lifecycle state of the mount target is not deleted .
This operation requires permissions for the following actions:
elasticfilesystem:DescribeMountTargetSecurityGroupsaction on the mount target's file system.ec2:DescribeNetworkInterfaceAttributeaction on the mount target's network interface.
Synopsis
- 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 #
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:
dmtsgMountTargetId- ID of the mount target whose security groups you want to retrieve.
data DescribeMountTargetSecurityGroups Source #
See: describeMountTargetSecurityGroups smart constructor.
Instances
Request Lenses
dmtsgMountTargetId :: Lens' DescribeMountTargetSecurityGroups Text Source #
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:
dmtsgrsResponseStatus- -- | The response status code.dmtsgrsSecurityGroups- Array of security groups.
data DescribeMountTargetSecurityGroupsResponse Source #
See: describeMountTargetSecurityGroupsResponse smart constructor.
Instances
Response Lenses
dmtsgrsResponseStatus :: Lens' DescribeMountTargetSecurityGroupsResponse Int Source #
- - | The response status code.
dmtsgrsSecurityGroups :: Lens' DescribeMountTargetSecurityGroupsResponse [Text] Source #
Array of security groups.