Copyright | (c) 2013-2021 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 |
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:DescribeMountTargetSecurityGroups
action on the mount target's file system.ec2:DescribeNetworkInterfaceAttribute
action on the mount target's network interface.
Synopsis
- data DescribeMountTargetSecurityGroups = DescribeMountTargetSecurityGroups' {}
- newDescribeMountTargetSecurityGroups :: Text -> DescribeMountTargetSecurityGroups
- describeMountTargetSecurityGroups_mountTargetId :: Lens' DescribeMountTargetSecurityGroups Text
- data DescribeMountTargetSecurityGroupsResponse = DescribeMountTargetSecurityGroupsResponse' {
- httpStatus :: Int
- securityGroups :: [Text]
- newDescribeMountTargetSecurityGroupsResponse :: Int -> DescribeMountTargetSecurityGroupsResponse
- describeMountTargetSecurityGroupsResponse_httpStatus :: Lens' DescribeMountTargetSecurityGroupsResponse Int
- describeMountTargetSecurityGroupsResponse_securityGroups :: Lens' DescribeMountTargetSecurityGroupsResponse [Text]
Creating a Request
data DescribeMountTargetSecurityGroups Source #
See: newDescribeMountTargetSecurityGroups
smart constructor.
DescribeMountTargetSecurityGroups' | |
|
Instances
newDescribeMountTargetSecurityGroups Source #
Create a value of DescribeMountTargetSecurityGroups
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:mountTargetId:DescribeMountTargetSecurityGroups'
, describeMountTargetSecurityGroups_mountTargetId
- The ID of the mount target whose security groups you want to retrieve.
Request Lenses
describeMountTargetSecurityGroups_mountTargetId :: Lens' DescribeMountTargetSecurityGroups Text Source #
The ID of the mount target whose security groups you want to retrieve.
Destructuring the Response
data DescribeMountTargetSecurityGroupsResponse Source #
See: newDescribeMountTargetSecurityGroupsResponse
smart constructor.
DescribeMountTargetSecurityGroupsResponse' | |
|
Instances
newDescribeMountTargetSecurityGroupsResponse Source #
Create a value of DescribeMountTargetSecurityGroupsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DescribeMountTargetSecurityGroupsResponse'
, describeMountTargetSecurityGroupsResponse_httpStatus
- The response's http status code.
$sel:securityGroups:DescribeMountTargetSecurityGroupsResponse'
, describeMountTargetSecurityGroupsResponse_securityGroups
- An array of security groups.
Response Lenses
describeMountTargetSecurityGroupsResponse_httpStatus :: Lens' DescribeMountTargetSecurityGroupsResponse Int Source #
The response's http status code.
describeMountTargetSecurityGroupsResponse_securityGroups :: Lens' DescribeMountTargetSecurityGroupsResponse [Text] Source #
An array of security groups.