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

Description

Deletes an SSL/TLS certificate associated with a Lightsail load balancer.

The DeleteLoadBalancerTlsCertificate 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 DeleteLoadBalancerTlsCertificate Source #

See: newDeleteLoadBalancerTlsCertificate smart constructor.

Constructors

DeleteLoadBalancerTlsCertificate' 

Fields

  • force :: Maybe Bool

    When true, forces the deletion of an SSL/TLS certificate.

    There can be two certificates associated with a Lightsail load balancer: the primary and the backup. The force parameter is required when the primary SSL/TLS certificate is in use by an instance attached to the load balancer.

  • loadBalancerName :: Text

    The load balancer name.

  • certificateName :: Text

    The SSL/TLS certificate name.

Instances

Instances details
Eq DeleteLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancerTlsCertificate

Read DeleteLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancerTlsCertificate

Show DeleteLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancerTlsCertificate

Generic DeleteLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancerTlsCertificate

Associated Types

type Rep DeleteLoadBalancerTlsCertificate :: Type -> Type #

NFData DeleteLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancerTlsCertificate

Hashable DeleteLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancerTlsCertificate

ToJSON DeleteLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancerTlsCertificate

AWSRequest DeleteLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancerTlsCertificate

ToHeaders DeleteLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancerTlsCertificate

ToPath DeleteLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancerTlsCertificate

ToQuery DeleteLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancerTlsCertificate

type Rep DeleteLoadBalancerTlsCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancerTlsCertificate

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

Defined in Amazonka.Lightsail.DeleteLoadBalancerTlsCertificate

newDeleteLoadBalancerTlsCertificate Source #

Create a value of DeleteLoadBalancerTlsCertificate 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:force:DeleteLoadBalancerTlsCertificate', deleteLoadBalancerTlsCertificate_force - When true, forces the deletion of an SSL/TLS certificate.

There can be two certificates associated with a Lightsail load balancer: the primary and the backup. The force parameter is required when the primary SSL/TLS certificate is in use by an instance attached to the load balancer.

$sel:loadBalancerName:DeleteLoadBalancerTlsCertificate', deleteLoadBalancerTlsCertificate_loadBalancerName - The load balancer name.

$sel:certificateName:DeleteLoadBalancerTlsCertificate', deleteLoadBalancerTlsCertificate_certificateName - The SSL/TLS certificate name.

Request Lenses

deleteLoadBalancerTlsCertificate_force :: Lens' DeleteLoadBalancerTlsCertificate (Maybe Bool) Source #

When true, forces the deletion of an SSL/TLS certificate.

There can be two certificates associated with a Lightsail load balancer: the primary and the backup. The force parameter is required when the primary SSL/TLS certificate is in use by an instance attached to the load balancer.

Destructuring the Response

data DeleteLoadBalancerTlsCertificateResponse Source #

Constructors

DeleteLoadBalancerTlsCertificateResponse' 

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

Defined in Amazonka.Lightsail.DeleteLoadBalancerTlsCertificate

Read DeleteLoadBalancerTlsCertificateResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancerTlsCertificate

Show DeleteLoadBalancerTlsCertificateResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancerTlsCertificate

Generic DeleteLoadBalancerTlsCertificateResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancerTlsCertificate

NFData DeleteLoadBalancerTlsCertificateResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancerTlsCertificate

type Rep DeleteLoadBalancerTlsCertificateResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteLoadBalancerTlsCertificate

type Rep DeleteLoadBalancerTlsCertificateResponse = D1 ('MetaData "DeleteLoadBalancerTlsCertificateResponse" "Amazonka.Lightsail.DeleteLoadBalancerTlsCertificate" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "DeleteLoadBalancerTlsCertificateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Operation])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteLoadBalancerTlsCertificateResponse Source #

Create a value of DeleteLoadBalancerTlsCertificateResponse 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:DeleteLoadBalancerTlsCertificateResponse', deleteLoadBalancerTlsCertificateResponse_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:DeleteLoadBalancerTlsCertificateResponse', deleteLoadBalancerTlsCertificateResponse_httpStatus - The response's http status code.

Response Lenses

deleteLoadBalancerTlsCertificateResponse_operations :: Lens' DeleteLoadBalancerTlsCertificateResponse (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.