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

Description

Deletes the specified Application Load Balancer, Network Load Balancer, or Gateway Load Balancer. Deleting a load balancer also deletes its listeners.

You can't delete a load balancer if deletion protection is enabled. If the load balancer does not exist or has already been deleted, the call succeeds.

Deleting a load balancer does not affect its registered targets. For example, your EC2 instances continue to run and are still registered to their target groups. If you no longer need these EC2 instances, you can stop or terminate them.

Synopsis

Creating a Request

data DeleteLoadBalancer Source #

See: newDeleteLoadBalancer smart constructor.

Constructors

DeleteLoadBalancer' 

Fields

Instances

Instances details
Eq DeleteLoadBalancer Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteLoadBalancer

Read DeleteLoadBalancer Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteLoadBalancer

Show DeleteLoadBalancer Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteLoadBalancer

Generic DeleteLoadBalancer Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteLoadBalancer

Associated Types

type Rep DeleteLoadBalancer :: Type -> Type #

NFData DeleteLoadBalancer Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteLoadBalancer

Methods

rnf :: DeleteLoadBalancer -> () #

Hashable DeleteLoadBalancer Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteLoadBalancer

AWSRequest DeleteLoadBalancer Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteLoadBalancer

Associated Types

type AWSResponse DeleteLoadBalancer #

ToHeaders DeleteLoadBalancer Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteLoadBalancer

ToPath DeleteLoadBalancer Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteLoadBalancer

ToQuery DeleteLoadBalancer Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteLoadBalancer

type Rep DeleteLoadBalancer Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteLoadBalancer

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

Defined in Amazonka.ELBV2.DeleteLoadBalancer

newDeleteLoadBalancer Source #

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

Request Lenses

deleteLoadBalancer_loadBalancerArn :: Lens' DeleteLoadBalancer Text Source #

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

Destructuring the Response

data DeleteLoadBalancerResponse Source #

See: newDeleteLoadBalancerResponse smart constructor.

Constructors

DeleteLoadBalancerResponse' 

Fields

Instances

Instances details
Eq DeleteLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteLoadBalancer

Read DeleteLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteLoadBalancer

Show DeleteLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteLoadBalancer

Generic DeleteLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteLoadBalancer

Associated Types

type Rep DeleteLoadBalancerResponse :: Type -> Type #

NFData DeleteLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteLoadBalancer

type Rep DeleteLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.ELBV2.DeleteLoadBalancer

type Rep DeleteLoadBalancerResponse = D1 ('MetaData "DeleteLoadBalancerResponse" "Amazonka.ELBV2.DeleteLoadBalancer" "libZSservicesZSamazonka-elbv2ZSamazonka-elbv2" 'False) (C1 ('MetaCons "DeleteLoadBalancerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteLoadBalancerResponse Source #

Create a value of DeleteLoadBalancerResponse 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:httpStatus:DeleteLoadBalancerResponse', deleteLoadBalancerResponse_httpStatus - The response's http status code.

Response Lenses