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 |
For the specified directory, lists all the certificates registered for a secure LDAP or client certificate authentication.
This operation returns paginated results.
Synopsis
- data ListCertificates = ListCertificates' {}
- newListCertificates :: Text -> ListCertificates
- listCertificates_limit :: Lens' ListCertificates (Maybe Natural)
- listCertificates_nextToken :: Lens' ListCertificates (Maybe Text)
- listCertificates_directoryId :: Lens' ListCertificates Text
- data ListCertificatesResponse = ListCertificatesResponse' {}
- newListCertificatesResponse :: Int -> ListCertificatesResponse
- listCertificatesResponse_certificatesInfo :: Lens' ListCertificatesResponse (Maybe [CertificateInfo])
- listCertificatesResponse_nextToken :: Lens' ListCertificatesResponse (Maybe Text)
- listCertificatesResponse_httpStatus :: Lens' ListCertificatesResponse Int
Creating a Request
data ListCertificates Source #
See: newListCertificates
smart constructor.
ListCertificates' | |
|
Instances
Create a value of ListCertificates
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:limit:ListCertificates'
, listCertificates_limit
- The number of items that should show up on one page
ListCertificates
, listCertificates_nextToken
- A token for requesting another page of certificates if the NextToken
response element indicates that more certificates are available. Use the
value of the returned NextToken
element in your request until the
token comes back as null
. Pass null
if this is the first call.
ListCertificates
, listCertificates_directoryId
- The identifier of the directory.
Request Lenses
listCertificates_limit :: Lens' ListCertificates (Maybe Natural) Source #
The number of items that should show up on one page
listCertificates_nextToken :: Lens' ListCertificates (Maybe Text) Source #
A token for requesting another page of certificates if the NextToken
response element indicates that more certificates are available. Use the
value of the returned NextToken
element in your request until the
token comes back as null
. Pass null
if this is the first call.
listCertificates_directoryId :: Lens' ListCertificates Text Source #
The identifier of the directory.
Destructuring the Response
data ListCertificatesResponse Source #
See: newListCertificatesResponse
smart constructor.
ListCertificatesResponse' | |
|
Instances
newListCertificatesResponse Source #
Create a value of ListCertificatesResponse
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:certificatesInfo:ListCertificatesResponse'
, listCertificatesResponse_certificatesInfo
- A list of certificates with basic details including certificate ID,
certificate common name, certificate state.
ListCertificates
, listCertificatesResponse_nextToken
- Indicates whether another page of certificates is available when the
number of available certificates exceeds the page limit.
$sel:httpStatus:ListCertificatesResponse'
, listCertificatesResponse_httpStatus
- The response's http status code.
Response Lenses
listCertificatesResponse_certificatesInfo :: Lens' ListCertificatesResponse (Maybe [CertificateInfo]) Source #
A list of certificates with basic details including certificate ID, certificate common name, certificate state.
listCertificatesResponse_nextToken :: Lens' ListCertificatesResponse (Maybe Text) Source #
Indicates whether another page of certificates is available when the number of available certificates exceeds the page limit.
listCertificatesResponse_httpStatus :: Lens' ListCertificatesResponse Int Source #
The response's http status code.