libZSservicesZSamazonka-elbZSamazonka-elb
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.ELB.ApplySecurityGroupsToLoadBalancer

Description

Associates one or more security groups with your load balancer in a virtual private cloud (VPC). The specified security groups override the previously associated security groups.

For more information, see Security Groups for Load Balancers in a VPC in the Classic Load Balancers Guide.

Synopsis

Creating a Request

data ApplySecurityGroupsToLoadBalancer Source #

Contains the parameters for ApplySecurityGroupsToLoadBalancer.

See: newApplySecurityGroupsToLoadBalancer smart constructor.

Constructors

ApplySecurityGroupsToLoadBalancer' 

Fields

  • loadBalancerName :: Text

    The name of the load balancer.

  • securityGroups :: [Text]

    The IDs of the security groups to associate with the load balancer. Note that you cannot specify the name of the security group.

Instances

Instances details
Eq ApplySecurityGroupsToLoadBalancer Source # 
Instance details

Defined in Amazonka.ELB.ApplySecurityGroupsToLoadBalancer

Read ApplySecurityGroupsToLoadBalancer Source # 
Instance details

Defined in Amazonka.ELB.ApplySecurityGroupsToLoadBalancer

Show ApplySecurityGroupsToLoadBalancer Source # 
Instance details

Defined in Amazonka.ELB.ApplySecurityGroupsToLoadBalancer

Generic ApplySecurityGroupsToLoadBalancer Source # 
Instance details

Defined in Amazonka.ELB.ApplySecurityGroupsToLoadBalancer

Associated Types

type Rep ApplySecurityGroupsToLoadBalancer :: Type -> Type #

NFData ApplySecurityGroupsToLoadBalancer Source # 
Instance details

Defined in Amazonka.ELB.ApplySecurityGroupsToLoadBalancer

Hashable ApplySecurityGroupsToLoadBalancer Source # 
Instance details

Defined in Amazonka.ELB.ApplySecurityGroupsToLoadBalancer

AWSRequest ApplySecurityGroupsToLoadBalancer Source # 
Instance details

Defined in Amazonka.ELB.ApplySecurityGroupsToLoadBalancer

ToHeaders ApplySecurityGroupsToLoadBalancer Source # 
Instance details

Defined in Amazonka.ELB.ApplySecurityGroupsToLoadBalancer

ToPath ApplySecurityGroupsToLoadBalancer Source # 
Instance details

Defined in Amazonka.ELB.ApplySecurityGroupsToLoadBalancer

ToQuery ApplySecurityGroupsToLoadBalancer Source # 
Instance details

Defined in Amazonka.ELB.ApplySecurityGroupsToLoadBalancer

type Rep ApplySecurityGroupsToLoadBalancer Source # 
Instance details

Defined in Amazonka.ELB.ApplySecurityGroupsToLoadBalancer

type Rep ApplySecurityGroupsToLoadBalancer = D1 ('MetaData "ApplySecurityGroupsToLoadBalancer" "Amazonka.ELB.ApplySecurityGroupsToLoadBalancer" "libZSservicesZSamazonka-elbZSamazonka-elb" 'False) (C1 ('MetaCons "ApplySecurityGroupsToLoadBalancer'" 'PrefixI 'True) (S1 ('MetaSel ('Just "loadBalancerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "securityGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))
type AWSResponse ApplySecurityGroupsToLoadBalancer Source # 
Instance details

Defined in Amazonka.ELB.ApplySecurityGroupsToLoadBalancer

newApplySecurityGroupsToLoadBalancer Source #

Create a value of ApplySecurityGroupsToLoadBalancer 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:loadBalancerName:ApplySecurityGroupsToLoadBalancer', applySecurityGroupsToLoadBalancer_loadBalancerName - The name of the load balancer.

$sel:securityGroups:ApplySecurityGroupsToLoadBalancer', applySecurityGroupsToLoadBalancer_securityGroups - The IDs of the security groups to associate with the load balancer. Note that you cannot specify the name of the security group.

Request Lenses

applySecurityGroupsToLoadBalancer_securityGroups :: Lens' ApplySecurityGroupsToLoadBalancer [Text] Source #

The IDs of the security groups to associate with the load balancer. Note that you cannot specify the name of the security group.

Destructuring the Response

data ApplySecurityGroupsToLoadBalancerResponse Source #

Contains the output of ApplySecurityGroupsToLoadBalancer.

See: newApplySecurityGroupsToLoadBalancerResponse smart constructor.

Constructors

ApplySecurityGroupsToLoadBalancerResponse' 

Fields

Instances

Instances details
Eq ApplySecurityGroupsToLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.ELB.ApplySecurityGroupsToLoadBalancer

Read ApplySecurityGroupsToLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.ELB.ApplySecurityGroupsToLoadBalancer

Show ApplySecurityGroupsToLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.ELB.ApplySecurityGroupsToLoadBalancer

Generic ApplySecurityGroupsToLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.ELB.ApplySecurityGroupsToLoadBalancer

NFData ApplySecurityGroupsToLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.ELB.ApplySecurityGroupsToLoadBalancer

type Rep ApplySecurityGroupsToLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.ELB.ApplySecurityGroupsToLoadBalancer

type Rep ApplySecurityGroupsToLoadBalancerResponse = D1 ('MetaData "ApplySecurityGroupsToLoadBalancerResponse" "Amazonka.ELB.ApplySecurityGroupsToLoadBalancer" "libZSservicesZSamazonka-elbZSamazonka-elb" 'False) (C1 ('MetaCons "ApplySecurityGroupsToLoadBalancerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "securityGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newApplySecurityGroupsToLoadBalancerResponse Source #

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

$sel:httpStatus:ApplySecurityGroupsToLoadBalancerResponse', applySecurityGroupsToLoadBalancerResponse_httpStatus - The response's http status code.

Response Lenses