| 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.CertificateManagerPCA.ListCertificateAuthorities
Description
Lists the private certificate authorities that you created by using the CreateCertificateAuthority action.
This operation returns paginated results.
Synopsis
- data ListCertificateAuthorities = ListCertificateAuthorities' {}
- newListCertificateAuthorities :: ListCertificateAuthorities
- listCertificateAuthorities_maxResults :: Lens' ListCertificateAuthorities (Maybe Natural)
- listCertificateAuthorities_nextToken :: Lens' ListCertificateAuthorities (Maybe Text)
- listCertificateAuthorities_resourceOwner :: Lens' ListCertificateAuthorities (Maybe ResourceOwner)
- data ListCertificateAuthoritiesResponse = ListCertificateAuthoritiesResponse' {}
- newListCertificateAuthoritiesResponse :: Int -> ListCertificateAuthoritiesResponse
- listCertificateAuthoritiesResponse_certificateAuthorities :: Lens' ListCertificateAuthoritiesResponse (Maybe [CertificateAuthority])
- listCertificateAuthoritiesResponse_nextToken :: Lens' ListCertificateAuthoritiesResponse (Maybe Text)
- listCertificateAuthoritiesResponse_httpStatus :: Lens' ListCertificateAuthoritiesResponse Int
Creating a Request
data ListCertificateAuthorities Source #
See: newListCertificateAuthorities smart constructor.
Constructors
| ListCertificateAuthorities' | |
Fields
| |
Instances
newListCertificateAuthorities :: ListCertificateAuthorities Source #
Create a value of ListCertificateAuthorities 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:maxResults:ListCertificateAuthorities', listCertificateAuthorities_maxResults - Use this parameter when paginating results to specify the maximum number
of items to return in the response on each page. If additional items
exist beyond the number you specify, the NextToken element is sent in
the response. Use this NextToken value in a subsequent request to
retrieve additional items.
ListCertificateAuthorities, listCertificateAuthorities_nextToken - Use this parameter when paginating results in a subsequent request after
you receive a response with truncated results. Set it to the value of
the NextToken parameter from the response you just received.
$sel:resourceOwner:ListCertificateAuthorities', listCertificateAuthorities_resourceOwner - Use this parameter to filter the returned set of certificate authorities
based on their owner. The default is SELF.
Request Lenses
listCertificateAuthorities_maxResults :: Lens' ListCertificateAuthorities (Maybe Natural) Source #
Use this parameter when paginating results to specify the maximum number
of items to return in the response on each page. If additional items
exist beyond the number you specify, the NextToken element is sent in
the response. Use this NextToken value in a subsequent request to
retrieve additional items.
listCertificateAuthorities_nextToken :: Lens' ListCertificateAuthorities (Maybe Text) Source #
Use this parameter when paginating results in a subsequent request after
you receive a response with truncated results. Set it to the value of
the NextToken parameter from the response you just received.
listCertificateAuthorities_resourceOwner :: Lens' ListCertificateAuthorities (Maybe ResourceOwner) Source #
Use this parameter to filter the returned set of certificate authorities based on their owner. The default is SELF.
Destructuring the Response
data ListCertificateAuthoritiesResponse Source #
See: newListCertificateAuthoritiesResponse smart constructor.
Constructors
| ListCertificateAuthoritiesResponse' | |
Fields
| |
Instances
newListCertificateAuthoritiesResponse Source #
Arguments
| :: Int | |
| -> ListCertificateAuthoritiesResponse |
Create a value of ListCertificateAuthoritiesResponse 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:certificateAuthorities:ListCertificateAuthoritiesResponse', listCertificateAuthoritiesResponse_certificateAuthorities - Summary information about each certificate authority you have created.
ListCertificateAuthorities, listCertificateAuthoritiesResponse_nextToken - When the list is truncated, this value is present and should be used for
the NextToken parameter in a subsequent pagination request.
$sel:httpStatus:ListCertificateAuthoritiesResponse', listCertificateAuthoritiesResponse_httpStatus - The response's http status code.
Response Lenses
listCertificateAuthoritiesResponse_certificateAuthorities :: Lens' ListCertificateAuthoritiesResponse (Maybe [CertificateAuthority]) Source #
Summary information about each certificate authority you have created.
listCertificateAuthoritiesResponse_nextToken :: Lens' ListCertificateAuthoritiesResponse (Maybe Text) Source #
When the list is truncated, this value is present and should be used for
the NextToken parameter in a subsequent pagination request.
listCertificateAuthoritiesResponse_httpStatus :: Lens' ListCertificateAuthoritiesResponse Int Source #
The response's http status code.