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 |
Modifies the set of security groups in effect for a mount target.
When you create a mount target, Amazon EFS also creates a new network
interface (see CreateMountTarget). This operation replaces the
security groups in effect for the network interface associated with a
mount target, with the SecurityGroups
provided in the request. 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".
The operation requires permissions for the following actions:
- 'elasticfilesystem:ModifyMountTargetSecurityGroups' action on the mount target's file system.
- 'ec2:ModifyNetworkInterfaceAttribute' action on the mount target's network interface.
- modifyMountTargetSecurityGroups :: Text -> ModifyMountTargetSecurityGroups
- data ModifyMountTargetSecurityGroups
- mmtsgSecurityGroups :: Lens' ModifyMountTargetSecurityGroups [Text]
- mmtsgMountTargetId :: Lens' ModifyMountTargetSecurityGroups Text
- modifyMountTargetSecurityGroupsResponse :: ModifyMountTargetSecurityGroupsResponse
- data ModifyMountTargetSecurityGroupsResponse
Creating a Request
modifyMountTargetSecurityGroups Source #
Creates a value of ModifyMountTargetSecurityGroups
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ModifyMountTargetSecurityGroups Source #
See: modifyMountTargetSecurityGroups
smart constructor.
Request Lenses
mmtsgSecurityGroups :: Lens' ModifyMountTargetSecurityGroups [Text] Source #
An array of up to five VPC security group IDs.
mmtsgMountTargetId :: Lens' ModifyMountTargetSecurityGroups Text Source #
The ID of the mount target whose security groups you want to modify.
Destructuring the Response
modifyMountTargetSecurityGroupsResponse :: ModifyMountTargetSecurityGroupsResponse Source #
Creates a value of ModifyMountTargetSecurityGroupsResponse
with the minimum fields required to make a request.
data ModifyMountTargetSecurityGroupsResponse Source #
See: modifyMountTargetSecurityGroupsResponse
smart constructor.