libZSservicesZSamazonka-efsZSamazonka-efs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.EFS.ModifyMountTargetSecurityGroups

Description

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

Creating a Request

data ModifyMountTargetSecurityGroups Source #

See: newModifyMountTargetSecurityGroups smart constructor.

Constructors

ModifyMountTargetSecurityGroups' 

Fields

Instances

Instances details
Eq ModifyMountTargetSecurityGroups Source # 
Instance details

Defined in Amazonka.EFS.ModifyMountTargetSecurityGroups

Read ModifyMountTargetSecurityGroups Source # 
Instance details

Defined in Amazonka.EFS.ModifyMountTargetSecurityGroups

Show ModifyMountTargetSecurityGroups Source # 
Instance details

Defined in Amazonka.EFS.ModifyMountTargetSecurityGroups

Generic ModifyMountTargetSecurityGroups Source # 
Instance details

Defined in Amazonka.EFS.ModifyMountTargetSecurityGroups

Associated Types

type Rep ModifyMountTargetSecurityGroups :: Type -> Type #

NFData ModifyMountTargetSecurityGroups Source # 
Instance details

Defined in Amazonka.EFS.ModifyMountTargetSecurityGroups

Hashable ModifyMountTargetSecurityGroups Source # 
Instance details

Defined in Amazonka.EFS.ModifyMountTargetSecurityGroups

ToJSON ModifyMountTargetSecurityGroups Source # 
Instance details

Defined in Amazonka.EFS.ModifyMountTargetSecurityGroups

AWSRequest ModifyMountTargetSecurityGroups Source # 
Instance details

Defined in Amazonka.EFS.ModifyMountTargetSecurityGroups

ToHeaders ModifyMountTargetSecurityGroups Source # 
Instance details

Defined in Amazonka.EFS.ModifyMountTargetSecurityGroups

ToPath ModifyMountTargetSecurityGroups Source # 
Instance details

Defined in Amazonka.EFS.ModifyMountTargetSecurityGroups

ToQuery ModifyMountTargetSecurityGroups Source # 
Instance details

Defined in Amazonka.EFS.ModifyMountTargetSecurityGroups

type Rep ModifyMountTargetSecurityGroups Source # 
Instance details

Defined in Amazonka.EFS.ModifyMountTargetSecurityGroups

type Rep ModifyMountTargetSecurityGroups = D1 ('MetaData "ModifyMountTargetSecurityGroups" "Amazonka.EFS.ModifyMountTargetSecurityGroups" "libZSservicesZSamazonka-efsZSamazonka-efs" 'False) (C1 ('MetaCons "ModifyMountTargetSecurityGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "securityGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "mountTargetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse ModifyMountTargetSecurityGroups Source # 
Instance details

Defined in Amazonka.EFS.ModifyMountTargetSecurityGroups

newModifyMountTargetSecurityGroups Source #

Create a value of ModifyMountTargetSecurityGroups 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:securityGroups:ModifyMountTargetSecurityGroups', modifyMountTargetSecurityGroups_securityGroups - An array of up to five VPC security group IDs.

$sel:mountTargetId:ModifyMountTargetSecurityGroups', modifyMountTargetSecurityGroups_mountTargetId - The ID of the mount target whose security groups you want to modify.

Request Lenses

modifyMountTargetSecurityGroups_mountTargetId :: Lens' ModifyMountTargetSecurityGroups Text Source #

The ID of the mount target whose security groups you want to modify.

Destructuring the Response

data ModifyMountTargetSecurityGroupsResponse Source #

Instances

Instances details
Eq ModifyMountTargetSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.EFS.ModifyMountTargetSecurityGroups

Read ModifyMountTargetSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.EFS.ModifyMountTargetSecurityGroups

Show ModifyMountTargetSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.EFS.ModifyMountTargetSecurityGroups

Generic ModifyMountTargetSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.EFS.ModifyMountTargetSecurityGroups

NFData ModifyMountTargetSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.EFS.ModifyMountTargetSecurityGroups

type Rep ModifyMountTargetSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.EFS.ModifyMountTargetSecurityGroups

type Rep ModifyMountTargetSecurityGroupsResponse = D1 ('MetaData "ModifyMountTargetSecurityGroupsResponse" "Amazonka.EFS.ModifyMountTargetSecurityGroups" "libZSservicesZSamazonka-efsZSamazonka-efs" 'False) (C1 ('MetaCons "ModifyMountTargetSecurityGroupsResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newModifyMountTargetSecurityGroupsResponse :: ModifyMountTargetSecurityGroupsResponse Source #

Create a value of ModifyMountTargetSecurityGroupsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.