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

Description

Deletes an SSL/TLS certificate for your Amazon Lightsail content delivery network (CDN) distribution.

Certificates that are currently attached to a distribution cannot be deleted. Use the DetachCertificateFromDistribution action to detach a certificate from a distribution.

Synopsis

Creating a Request

data DeleteCertificate Source #

See: newDeleteCertificate smart constructor.

Constructors

DeleteCertificate' 

Fields

  • certificateName :: Text

    The name of the certificate to delete.

    Use the GetCertificates action to get a list of certificate names that you can specify.

Instances

Instances details
Eq DeleteCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteCertificate

Read DeleteCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteCertificate

Show DeleteCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteCertificate

Generic DeleteCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteCertificate

Associated Types

type Rep DeleteCertificate :: Type -> Type #

NFData DeleteCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteCertificate

Methods

rnf :: DeleteCertificate -> () #

Hashable DeleteCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteCertificate

ToJSON DeleteCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteCertificate

AWSRequest DeleteCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteCertificate

Associated Types

type AWSResponse DeleteCertificate #

ToHeaders DeleteCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteCertificate

ToPath DeleteCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteCertificate

ToQuery DeleteCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteCertificate

type Rep DeleteCertificate Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteCertificate

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

Defined in Amazonka.Lightsail.DeleteCertificate

newDeleteCertificate Source #

Create a value of DeleteCertificate 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:certificateName:DeleteCertificate', deleteCertificate_certificateName - The name of the certificate to delete.

Use the GetCertificates action to get a list of certificate names that you can specify.

Request Lenses

deleteCertificate_certificateName :: Lens' DeleteCertificate Text Source #

The name of the certificate to delete.

Use the GetCertificates action to get a list of certificate names that you can specify.

Destructuring the Response

data DeleteCertificateResponse Source #

See: newDeleteCertificateResponse smart constructor.

Constructors

DeleteCertificateResponse' 

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

Defined in Amazonka.Lightsail.DeleteCertificate

Read DeleteCertificateResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteCertificate

Show DeleteCertificateResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteCertificate

Generic DeleteCertificateResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteCertificate

Associated Types

type Rep DeleteCertificateResponse :: Type -> Type #

NFData DeleteCertificateResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteCertificate

type Rep DeleteCertificateResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteCertificate

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

newDeleteCertificateResponse Source #

Create a value of DeleteCertificateResponse 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:DeleteCertificateResponse', deleteCertificateResponse_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:DeleteCertificateResponse', deleteCertificateResponse_httpStatus - The response's http status code.

Response Lenses

deleteCertificateResponse_operations :: Lens' DeleteCertificateResponse (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.