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

Description

Adds the specified Availability Zones to the set of Availability Zones for the specified load balancer in EC2-Classic or a default VPC.

For load balancers in a non-default VPC, use AttachLoadBalancerToSubnets.

The load balancer evenly distributes requests across all its registered Availability Zones that contain instances. For more information, see Add or Remove Availability Zones in the Classic Load Balancers Guide.

Synopsis

Creating a Request

data EnableAvailabilityZonesForLoadBalancer Source #

Contains the parameters for EnableAvailabilityZonesForLoadBalancer.

See: newEnableAvailabilityZonesForLoadBalancer smart constructor.

Constructors

EnableAvailabilityZonesForLoadBalancer' 

Fields

Instances

Instances details
Eq EnableAvailabilityZonesForLoadBalancer Source # 
Instance details

Defined in Amazonka.ELB.EnableAvailabilityZonesForLoadBalancer

Read EnableAvailabilityZonesForLoadBalancer Source # 
Instance details

Defined in Amazonka.ELB.EnableAvailabilityZonesForLoadBalancer

Show EnableAvailabilityZonesForLoadBalancer Source # 
Instance details

Defined in Amazonka.ELB.EnableAvailabilityZonesForLoadBalancer

Generic EnableAvailabilityZonesForLoadBalancer Source # 
Instance details

Defined in Amazonka.ELB.EnableAvailabilityZonesForLoadBalancer

NFData EnableAvailabilityZonesForLoadBalancer Source # 
Instance details

Defined in Amazonka.ELB.EnableAvailabilityZonesForLoadBalancer

Hashable EnableAvailabilityZonesForLoadBalancer Source # 
Instance details

Defined in Amazonka.ELB.EnableAvailabilityZonesForLoadBalancer

AWSRequest EnableAvailabilityZonesForLoadBalancer Source # 
Instance details

Defined in Amazonka.ELB.EnableAvailabilityZonesForLoadBalancer

ToHeaders EnableAvailabilityZonesForLoadBalancer Source # 
Instance details

Defined in Amazonka.ELB.EnableAvailabilityZonesForLoadBalancer

ToPath EnableAvailabilityZonesForLoadBalancer Source # 
Instance details

Defined in Amazonka.ELB.EnableAvailabilityZonesForLoadBalancer

ToQuery EnableAvailabilityZonesForLoadBalancer Source # 
Instance details

Defined in Amazonka.ELB.EnableAvailabilityZonesForLoadBalancer

type Rep EnableAvailabilityZonesForLoadBalancer Source # 
Instance details

Defined in Amazonka.ELB.EnableAvailabilityZonesForLoadBalancer

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

Defined in Amazonka.ELB.EnableAvailabilityZonesForLoadBalancer

newEnableAvailabilityZonesForLoadBalancer Source #

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

$sel:availabilityZones:EnableAvailabilityZonesForLoadBalancer', enableAvailabilityZonesForLoadBalancer_availabilityZones - The Availability Zones. These must be in the same region as the load balancer.

Request Lenses

enableAvailabilityZonesForLoadBalancer_availabilityZones :: Lens' EnableAvailabilityZonesForLoadBalancer [Text] Source #

The Availability Zones. These must be in the same region as the load balancer.

Destructuring the Response

data EnableAvailabilityZonesForLoadBalancerResponse Source #

Contains the output of EnableAvailabilityZonesForLoadBalancer.

See: newEnableAvailabilityZonesForLoadBalancerResponse smart constructor.

Constructors

EnableAvailabilityZonesForLoadBalancerResponse' 

Fields

Instances

Instances details
Eq EnableAvailabilityZonesForLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.ELB.EnableAvailabilityZonesForLoadBalancer

Read EnableAvailabilityZonesForLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.ELB.EnableAvailabilityZonesForLoadBalancer

Show EnableAvailabilityZonesForLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.ELB.EnableAvailabilityZonesForLoadBalancer

Generic EnableAvailabilityZonesForLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.ELB.EnableAvailabilityZonesForLoadBalancer

NFData EnableAvailabilityZonesForLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.ELB.EnableAvailabilityZonesForLoadBalancer

type Rep EnableAvailabilityZonesForLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.ELB.EnableAvailabilityZonesForLoadBalancer

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

newEnableAvailabilityZonesForLoadBalancerResponse Source #

Create a value of EnableAvailabilityZonesForLoadBalancerResponse 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:availabilityZones:EnableAvailabilityZonesForLoadBalancer', enableAvailabilityZonesForLoadBalancerResponse_availabilityZones - The updated list of Availability Zones for the load balancer.

$sel:httpStatus:EnableAvailabilityZonesForLoadBalancerResponse', enableAvailabilityZonesForLoadBalancerResponse_httpStatus - The response's http status code.

Response Lenses