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 |
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. For more information, 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 lifecycle 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.
Synopsis
- 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:
mmtsgSecurityGroups
- Array of up to five VPC security group IDs.mmtsgMountTargetId
- ID of the mount target whose security groups you want to modify.
data ModifyMountTargetSecurityGroups Source #
See: modifyMountTargetSecurityGroups
smart constructor.
Instances
Request Lenses
mmtsgSecurityGroups :: Lens' ModifyMountTargetSecurityGroups [Text] Source #
Array of up to five VPC security group IDs.
mmtsgMountTargetId :: Lens' ModifyMountTargetSecurityGroups Text Source #
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.