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 |
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.
DescribeCertificate' | |
|
Instances
newDescribeCertificate Source #
:: 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:
$sel:directoryId:DescribeCertificate'
, describeCertificate_directoryId
- The identifier of the directory.
$sel:certificateId: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.
DescribeCertificateResponse' | |
|
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.