| 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 |
Amazonka.DirectoryService.DeregisterCertificate
Description
Deletes from the system the certificate that was registered for secure LDAP or client certificate authentication.
Synopsis
- data DeregisterCertificate = DeregisterCertificate' {
- directoryId :: Text
- certificateId :: Text
- newDeregisterCertificate :: Text -> Text -> DeregisterCertificate
- deregisterCertificate_directoryId :: Lens' DeregisterCertificate Text
- deregisterCertificate_certificateId :: Lens' DeregisterCertificate Text
- data DeregisterCertificateResponse = DeregisterCertificateResponse' {
- httpStatus :: Int
- newDeregisterCertificateResponse :: Int -> DeregisterCertificateResponse
- deregisterCertificateResponse_httpStatus :: Lens' DeregisterCertificateResponse Int
Creating a Request
data DeregisterCertificate Source #
See: newDeregisterCertificate smart constructor.
Constructors
| DeregisterCertificate' | |
Fields
| |
Instances
newDeregisterCertificate Source #
Arguments
| :: Text | |
| -> Text | |
| -> DeregisterCertificate |
Create a value of DeregisterCertificate 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:directoryId:DeregisterCertificate', deregisterCertificate_directoryId - The identifier of the directory.
$sel:certificateId:DeregisterCertificate', deregisterCertificate_certificateId - The identifier of the certificate.
Request Lenses
deregisterCertificate_directoryId :: Lens' DeregisterCertificate Text Source #
The identifier of the directory.
deregisterCertificate_certificateId :: Lens' DeregisterCertificate Text Source #
The identifier of the certificate.
Destructuring the Response
data DeregisterCertificateResponse Source #
See: newDeregisterCertificateResponse smart constructor.
Constructors
| DeregisterCertificateResponse' | |
Fields
| |
Instances
newDeregisterCertificateResponse Source #
Create a value of DeregisterCertificateResponse 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:DeregisterCertificateResponse', deregisterCertificateResponse_httpStatus - The response's http status code.
Response Lenses
deregisterCertificateResponse_httpStatus :: Lens' DeregisterCertificateResponse Int Source #
The response's http status code.