libZSservicesZSamazonka-lightsailZSamazonka-lightsail
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.Lightsail.DeleteLoadBalancer

Description

Deletes a Lightsail load balancer and all its associated SSL/TLS certificates. Once the load balancer is deleted, you will need to create a new load balancer, create a new certificate, and verify domain ownership again.

The delete load balancer operation supports tag-based access control via resource tags applied to the resource identified by load balancer name. For more information, see the Amazon Lightsail Developer Guide.

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

Read DeleteLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancer

Show DeleteLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancer

Generic DeleteLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancer

Associated Types

type Rep DeleteLoadBalancer :: Type -> Type #

NFData DeleteLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancer

Methods

rnf :: DeleteLoadBalancer -> () #

Hashable DeleteLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancer

ToJSON DeleteLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancer

AWSRequest DeleteLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancer

Associated Types

type AWSResponse DeleteLoadBalancer #

ToHeaders DeleteLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancer

ToPath DeleteLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancer

ToQuery DeleteLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancer

type Rep DeleteLoadBalancer Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancer

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

Defined in Amazonka.Lightsail.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:loadBalancerName:DeleteLoadBalancer', deleteLoadBalancer_loadBalancerName - The name of the load balancer you want to delete.

Request Lenses

deleteLoadBalancer_loadBalancerName :: Lens' DeleteLoadBalancer Text Source #

The name of the load balancer you want to delete.

Destructuring the Response

data DeleteLoadBalancerResponse Source #

See: newDeleteLoadBalancerResponse smart constructor.

Constructors

DeleteLoadBalancerResponse' 

Fields

  • operations :: Maybe [Operation]

    An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DeleteLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancer

Read DeleteLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancer

Show DeleteLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancer

Generic DeleteLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancer

Associated Types

type Rep DeleteLoadBalancerResponse :: Type -> Type #

NFData DeleteLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancer

type Rep DeleteLoadBalancerResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancer

type Rep DeleteLoadBalancerResponse = D1 ('MetaData "DeleteLoadBalancerResponse" "Amazonka.Lightsail.DeleteLoadBalancer" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "DeleteLoadBalancerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Operation])) :*: 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:operations:DeleteLoadBalancerResponse', deleteLoadBalancerResponse_operations - An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

$sel:httpStatus:DeleteLoadBalancerResponse', deleteLoadBalancerResponse_httpStatus - The response's http status code.

Response Lenses

deleteLoadBalancerResponse_operations :: Lens' DeleteLoadBalancerResponse (Maybe [Operation]) Source #

An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.