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

Description

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

After the certificate is detached, your distribution stops accepting traffic for all of the domains that are associated with the certificate.

Synopsis

Creating a Request

data DetachCertificateFromDistribution Source #

See: newDetachCertificateFromDistribution smart constructor.

Constructors

DetachCertificateFromDistribution' 

Fields

  • distributionName :: Text

    The name of the distribution from which to detach the certificate.

    Use the GetDistributions action to get a list of distribution names that you can specify.

Instances

Instances details
Eq DetachCertificateFromDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.DetachCertificateFromDistribution

Read DetachCertificateFromDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.DetachCertificateFromDistribution

Show DetachCertificateFromDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.DetachCertificateFromDistribution

Generic DetachCertificateFromDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.DetachCertificateFromDistribution

Associated Types

type Rep DetachCertificateFromDistribution :: Type -> Type #

NFData DetachCertificateFromDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.DetachCertificateFromDistribution

Hashable DetachCertificateFromDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.DetachCertificateFromDistribution

ToJSON DetachCertificateFromDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.DetachCertificateFromDistribution

AWSRequest DetachCertificateFromDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.DetachCertificateFromDistribution

ToHeaders DetachCertificateFromDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.DetachCertificateFromDistribution

ToPath DetachCertificateFromDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.DetachCertificateFromDistribution

ToQuery DetachCertificateFromDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.DetachCertificateFromDistribution

type Rep DetachCertificateFromDistribution Source # 
Instance details

Defined in Amazonka.Lightsail.DetachCertificateFromDistribution

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

Defined in Amazonka.Lightsail.DetachCertificateFromDistribution

newDetachCertificateFromDistribution Source #

Create a value of DetachCertificateFromDistribution 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:distributionName:DetachCertificateFromDistribution', detachCertificateFromDistribution_distributionName - The name of the distribution from which to detach the certificate.

Use the GetDistributions action to get a list of distribution names that you can specify.

Request Lenses

detachCertificateFromDistribution_distributionName :: Lens' DetachCertificateFromDistribution Text Source #

The name of the distribution from which to detach the certificate.

Use the GetDistributions action to get a list of distribution names that you can specify.

Destructuring the Response

data DetachCertificateFromDistributionResponse Source #

Constructors

DetachCertificateFromDistributionResponse' 

Fields

  • operation :: Maybe Operation

    An object that describes 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 DetachCertificateFromDistributionResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DetachCertificateFromDistribution

Read DetachCertificateFromDistributionResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DetachCertificateFromDistribution

Show DetachCertificateFromDistributionResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DetachCertificateFromDistribution

Generic DetachCertificateFromDistributionResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DetachCertificateFromDistribution

NFData DetachCertificateFromDistributionResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DetachCertificateFromDistribution

type Rep DetachCertificateFromDistributionResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DetachCertificateFromDistribution

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

newDetachCertificateFromDistributionResponse Source #

Create a value of DetachCertificateFromDistributionResponse 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:operation:DetachCertificateFromDistributionResponse', detachCertificateFromDistributionResponse_operation - An object that describes 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:DetachCertificateFromDistributionResponse', detachCertificateFromDistributionResponse_httpStatus - The response's http status code.

Response Lenses

detachCertificateFromDistributionResponse_operation :: Lens' DetachCertificateFromDistributionResponse (Maybe Operation) Source #

An object that describes the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.