Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data DetachCertificateFromDistribution = DetachCertificateFromDistribution' {}
- newDetachCertificateFromDistribution :: Text -> DetachCertificateFromDistribution
- detachCertificateFromDistribution_distributionName :: Lens' DetachCertificateFromDistribution Text
- data DetachCertificateFromDistributionResponse = DetachCertificateFromDistributionResponse' {
- operation :: Maybe Operation
- httpStatus :: Int
- newDetachCertificateFromDistributionResponse :: Int -> DetachCertificateFromDistributionResponse
- detachCertificateFromDistributionResponse_operation :: Lens' DetachCertificateFromDistributionResponse (Maybe Operation)
- detachCertificateFromDistributionResponse_httpStatus :: Lens' DetachCertificateFromDistributionResponse Int
Creating a Request
data DetachCertificateFromDistribution Source #
See: newDetachCertificateFromDistribution
smart constructor.
DetachCertificateFromDistribution' | |
|
Instances
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 #
See: newDetachCertificateFromDistributionResponse
smart constructor.
DetachCertificateFromDistributionResponse' | |
|
Instances
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.
detachCertificateFromDistributionResponse_httpStatus :: Lens' DetachCertificateFromDistributionResponse Int Source #
The response's http status code.