| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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
- data DeleteLoadBalancerTlsCertificate = DeleteLoadBalancerTlsCertificate' {}
- newDeleteLoadBalancerTlsCertificate :: Text -> Text -> DeleteLoadBalancerTlsCertificate
- deleteLoadBalancerTlsCertificate_force :: Lens' DeleteLoadBalancerTlsCertificate (Maybe Bool)
- deleteLoadBalancerTlsCertificate_loadBalancerName :: Lens' DeleteLoadBalancerTlsCertificate Text
- deleteLoadBalancerTlsCertificate_certificateName :: Lens' DeleteLoadBalancerTlsCertificate Text
- data DeleteLoadBalancerTlsCertificateResponse = DeleteLoadBalancerTlsCertificateResponse' {
- operations :: Maybe [Operation]
- httpStatus :: Int
- newDeleteLoadBalancerTlsCertificateResponse :: Int -> DeleteLoadBalancerTlsCertificateResponse
- deleteLoadBalancerTlsCertificateResponse_operations :: Lens' DeleteLoadBalancerTlsCertificateResponse (Maybe [Operation])
- deleteLoadBalancerTlsCertificateResponse_httpStatus :: Lens' DeleteLoadBalancerTlsCertificateResponse Int
Creating a Request
data DeleteLoadBalancerTlsCertificate Source #
See: newDeleteLoadBalancerTlsCertificate smart constructor.
Constructors
| DeleteLoadBalancerTlsCertificate' | |
Fields
| |
Instances
newDeleteLoadBalancerTlsCertificate Source #
Arguments
| :: Text | |
| -> Text | |
| -> DeleteLoadBalancerTlsCertificate |
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.
DeleteLoadBalancerTlsCertificate, deleteLoadBalancerTlsCertificate_loadBalancerName - The load balancer name.
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.
deleteLoadBalancerTlsCertificate_loadBalancerName :: Lens' DeleteLoadBalancerTlsCertificate Text Source #
The load balancer name.
deleteLoadBalancerTlsCertificate_certificateName :: Lens' DeleteLoadBalancerTlsCertificate Text Source #
The SSL/TLS certificate name.
Destructuring the Response
data DeleteLoadBalancerTlsCertificateResponse Source #
See: newDeleteLoadBalancerTlsCertificateResponse smart constructor.
Constructors
| DeleteLoadBalancerTlsCertificateResponse' | |
Fields
| |
Instances
newDeleteLoadBalancerTlsCertificateResponse Source #
Arguments
| :: Int | |
| -> DeleteLoadBalancerTlsCertificateResponse |
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.
deleteLoadBalancerTlsCertificateResponse_httpStatus :: Lens' DeleteLoadBalancerTlsCertificateResponse Int Source #
The response's http status code.