| 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.DirectoryService.DescribeCertificate
Description
Displays information about the certificate registered for secure LDAP or client certificate authentication.
Synopsis
- data DescribeCertificate = DescribeCertificate' {
- directoryId :: Text
- certificateId :: Text
- newDescribeCertificate :: Text -> Text -> DescribeCertificate
- describeCertificate_directoryId :: Lens' DescribeCertificate Text
- describeCertificate_certificateId :: Lens' DescribeCertificate Text
- data DescribeCertificateResponse = DescribeCertificateResponse' {}
- newDescribeCertificateResponse :: Int -> DescribeCertificateResponse
- describeCertificateResponse_certificate :: Lens' DescribeCertificateResponse (Maybe Certificate)
- describeCertificateResponse_httpStatus :: Lens' DescribeCertificateResponse Int
Creating a Request
data DescribeCertificate Source #
See: newDescribeCertificate smart constructor.
Constructors
| DescribeCertificate' | |
Fields
| |
Instances
newDescribeCertificate Source #
Arguments
| :: Text | |
| -> Text | |
| -> DescribeCertificate |
Create a value of DescribeCertificate 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:
DescribeCertificate, describeCertificate_directoryId - The identifier of the directory.
DescribeCertificate, describeCertificate_certificateId - The identifier of the certificate.
Request Lenses
describeCertificate_directoryId :: Lens' DescribeCertificate Text Source #
The identifier of the directory.
describeCertificate_certificateId :: Lens' DescribeCertificate Text Source #
The identifier of the certificate.
Destructuring the Response
data DescribeCertificateResponse Source #
See: newDescribeCertificateResponse smart constructor.
Constructors
| DescribeCertificateResponse' | |
Fields
| |
Instances
newDescribeCertificateResponse Source #
Create a value of DescribeCertificateResponse 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:certificate:DescribeCertificateResponse', describeCertificateResponse_certificate - Information about the certificate, including registered date time,
certificate state, the reason for the state, expiration date time, and
certificate common name.
$sel:httpStatus:DescribeCertificateResponse', describeCertificateResponse_httpStatus - The response's http status code.
Response Lenses
describeCertificateResponse_certificate :: Lens' DescribeCertificateResponse (Maybe Certificate) Source #
Information about the certificate, including registered date time, certificate state, the reason for the state, expiration date time, and certificate common name.
describeCertificateResponse_httpStatus :: Lens' DescribeCertificateResponse Int Source #
The response's http status code.