| 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.IoT.DeleteCACertificate
Description
Deletes a registered CA certificate.
Requires permission to access the DeleteCACertificate action.
Synopsis
- data DeleteCACertificate = DeleteCACertificate' {}
- newDeleteCACertificate :: Text -> DeleteCACertificate
- deleteCACertificate_certificateId :: Lens' DeleteCACertificate Text
- data DeleteCACertificateResponse = DeleteCACertificateResponse' {
- httpStatus :: Int
- newDeleteCACertificateResponse :: Int -> DeleteCACertificateResponse
- deleteCACertificateResponse_httpStatus :: Lens' DeleteCACertificateResponse Int
Creating a Request
data DeleteCACertificate Source #
Input for the DeleteCACertificate operation.
See: newDeleteCACertificate smart constructor.
Constructors
| DeleteCACertificate' | |
Fields
| |
Instances
newDeleteCACertificate Source #
Arguments
| :: Text | |
| -> DeleteCACertificate |
Create a value of DeleteCACertificate 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:
DeleteCACertificate, deleteCACertificate_certificateId - The ID of the certificate to delete. (The last part of the certificate
ARN contains the certificate ID.)
Request Lenses
deleteCACertificate_certificateId :: Lens' DeleteCACertificate Text Source #
The ID of the certificate to delete. (The last part of the certificate ARN contains the certificate ID.)
Destructuring the Response
data DeleteCACertificateResponse Source #
The output for the DeleteCACertificate operation.
See: newDeleteCACertificateResponse smart constructor.
Constructors
| DeleteCACertificateResponse' | |
Fields
| |
Instances
newDeleteCACertificateResponse Source #
Create a value of DeleteCACertificateResponse 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:httpStatus:DeleteCACertificateResponse', deleteCACertificateResponse_httpStatus - The response's http status code.
Response Lenses
deleteCACertificateResponse_httpStatus :: Lens' DeleteCACertificateResponse Int Source #
The response's http status code.