amazonka-elbv2-2.0: Amazon Elastic Load Balancing SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
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

AWSRequest SetSecurityGroups Source # 
Instance details

Defined in Amazonka.ELBV2.SetSecurityGroups

Associated Types

type AWSResponse SetSecurityGroups #

Generic SetSecurityGroups Source # 
Instance details

Defined in Amazonka.ELBV2.SetSecurityGroups

Associated Types

type Rep SetSecurityGroups :: Type -> Type #

Read SetSecurityGroups Source # 
Instance details

Defined in Amazonka.ELBV2.SetSecurityGroups

Show SetSecurityGroups Source # 
Instance details

Defined in Amazonka.ELBV2.SetSecurityGroups

NFData SetSecurityGroups Source # 
Instance details

Defined in Amazonka.ELBV2.SetSecurityGroups

Methods

rnf :: SetSecurityGroups -> () #

Eq SetSecurityGroups Source # 
Instance details

Defined in Amazonka.ELBV2.SetSecurityGroups

Hashable SetSecurityGroups Source # 
Instance details

Defined in Amazonka.ELBV2.SetSecurityGroups

type AWSResponse 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" "amazonka-elbv2-2.0-361J9F5fkBoAtGaOoJg8Ev" 'False) (C1 ('MetaCons "SetSecurityGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "loadBalancerArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "securityGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

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:

SetSecurityGroups, setSecurityGroups_loadBalancerArn - The Amazon Resource Name (ARN) of the load balancer.

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
Generic SetSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.ELBV2.SetSecurityGroups

Associated Types

type Rep SetSecurityGroupsResponse :: Type -> Type #

Read SetSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.ELBV2.SetSecurityGroups

Show SetSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.ELBV2.SetSecurityGroups

NFData SetSecurityGroupsResponse Source # 
Instance details

Defined in Amazonka.ELBV2.SetSecurityGroups

Eq 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" "amazonka-elbv2-2.0-361J9F5fkBoAtGaOoJg8Ev" '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.