libZSservicesZSamazonka-elbv2ZSamazonka-elbv2
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.ELBV2.SetSecurityGroups

Description

Associates the specified security groups with the specified Application Load Balancer. The specified security groups override the previously associated security groups.

You can't specify a security group for a Network Load Balancer or Gateway Load Balancer.

Synopsis

Creating a Request

data SetSecurityGroups Source #

See: newSetSecurityGroups smart constructor.

Constructors

SetSecurityGroups' 

Fields

Instances

Instances details
Eq SetSecurityGroups Source # 
Instance details

Defined in Amazonka.ELBV2.SetSecurityGroups

Read SetSecurityGroups Source # 
Instance details

Defined in Amazonka.ELBV2.SetSecurityGroups

Show SetSecurityGroups Source # 
Instance details

Defined in Amazonka.ELBV2.SetSecurityGroups

Generic SetSecurityGroups Source # 
Instance details

Defined in Amazonka.ELBV2.SetSecurityGroups

Associated Types

type Rep SetSecurityGroups :: Type -> Type #

NFData SetSecurityGroups Source # 
Instance details

Defined in Amazonka.ELBV2.SetSecurityGroups

Methods

rnf :: SetSecurityGroups -> () #

Hashable SetSecurityGroups Source # 
Instance details

Defined in Amazonka.ELBV2.SetSecurityGroups

AWSRequest SetSecurityGroups Source # 
Instance details

Defined in Amazonka.ELBV2.SetSecurityGroups

Associated Types

type AWSResponse SetSecurityGroups #

ToHeaders SetSecurityGroups Source # 
Instance details

Defined in Amazonka.ELBV2.SetSecurityGroups

ToPath SetSecurityGroups Source # 
Instance details

Defined in Amazonka.ELBV2.SetSecurityGroups

ToQuery SetSecurityGroups Source # 
Instance details

Defined in Amazonka.ELBV2.SetSecurityGroups

type Rep SetSecurityGroups Source # 
Instance details

Defined in Amazonka.ELBV2.SetSecurityGroups

type Rep SetSecurityGroups = D1 ('MetaData "SetSecurityGroups" "Amazonka.ELBV2.SetSecurityGroups" "libZSservicesZSamazonka-elbv2ZSamazonka-elbv2" 'False) (C1 ('MetaCons "SetSecurityGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "loadBalancerArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "securityGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))
type AWSResponse SetSecurityGroups Source # 
Instance details

Defined in Amazonka.ELBV2.SetSecurityGroups

newSetSecurityGroups Source #

Create a value of SetSecurityGroups 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:loadBalancerArn:SetSecurityGroups', setSecurityGroups_loadBalancerArn - The Amazon Resource Name (ARN) of the load balancer.

$sel:securityGroups:SetSecurityGroups', setSecurityGroups_securityGroups - The IDs of the security groups.

Request Lenses

setSecurityGroups_loadBalancerArn :: Lens' SetSecurityGroups Text Source #

The Amazon Resource Name (ARN) of the load balancer.

Destructuring the Response

data SetSecurityGroupsResponse Source #

See: newSetSecurityGroupsResponse smart constructor.

Constructors

SetSecurityGroupsResponse' 

Fields

Instances

Instances details
Eq SetSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.ELBV2.SetSecurityGroups

Read SetSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.ELBV2.SetSecurityGroups

Show SetSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.ELBV2.SetSecurityGroups

Generic SetSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.ELBV2.SetSecurityGroups

Associated Types

type Rep SetSecurityGroupsResponse :: Type -> Type #

NFData SetSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.ELBV2.SetSecurityGroups

type Rep SetSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.ELBV2.SetSecurityGroups

type Rep SetSecurityGroupsResponse = D1 ('MetaData "SetSecurityGroupsResponse" "Amazonka.ELBV2.SetSecurityGroups" "libZSservicesZSamazonka-elbv2ZSamazonka-elbv2" 'False) (C1 ('MetaCons "SetSecurityGroupsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "securityGroupIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newSetSecurityGroupsResponse Source #

Create a value of SetSecurityGroupsResponse 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:securityGroupIds:SetSecurityGroupsResponse', setSecurityGroupsResponse_securityGroupIds - The IDs of the security groups associated with the load balancer.

$sel:httpStatus:SetSecurityGroupsResponse', setSecurityGroupsResponse_httpStatus - The response's http status code.

Response Lenses

setSecurityGroupsResponse_securityGroupIds :: Lens' SetSecurityGroupsResponse (Maybe [Text]) Source #

The IDs of the security groups associated with the load balancer.