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 |
For the specified directory, lists all the certificates registered for a secure LDAP or client certificate authentication.
Synopsis
- data ListCertificates = ListCertificates' {}
- newListCertificates :: Text -> ListCertificates
- listCertificates_nextToken :: Lens' ListCertificates (Maybe Text)
- listCertificates_limit :: Lens' ListCertificates (Maybe Natural)
- listCertificates_directoryId :: Lens' ListCertificates Text
- data ListCertificatesResponse = ListCertificatesResponse' {}
- newListCertificatesResponse :: Int -> ListCertificatesResponse
- listCertificatesResponse_nextToken :: Lens' ListCertificatesResponse (Maybe Text)
- listCertificatesResponse_certificatesInfo :: Lens' ListCertificatesResponse (Maybe [CertificateInfo])
- 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:nextToken: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.
$sel:limit:ListCertificates'
, listCertificates_limit
- The number of items that should show up on one page
$sel:directoryId:ListCertificates'
, listCertificates_directoryId
- The identifier of the directory.
Request Lenses
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_limit :: Lens' ListCertificates (Maybe Natural) Source #
The number of items that should show up on one page
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:nextToken:ListCertificates'
, listCertificatesResponse_nextToken
- Indicates whether another page of certificates is available when the
number of available certificates exceeds the page limit.
$sel:certificatesInfo:ListCertificatesResponse'
, listCertificatesResponse_certificatesInfo
- A list of certificates with basic details including certificate ID,
certificate common name, certificate state.
$sel:httpStatus:ListCertificatesResponse'
, listCertificatesResponse_httpStatus
- The response's http status code.
Response Lenses
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_certificatesInfo :: Lens' ListCertificatesResponse (Maybe [CertificateInfo]) Source #
A list of certificates with basic details including certificate ID, certificate common name, certificate state.
listCertificatesResponse_httpStatus :: Lens' ListCertificatesResponse Int Source #
The response's http status code.