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 |
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_nextToken :: Lens' ListCertificateAuthorities (Maybe Text)
- listCertificateAuthorities_resourceOwner :: Lens' ListCertificateAuthorities (Maybe ResourceOwner)
- listCertificateAuthorities_maxResults :: Lens' ListCertificateAuthorities (Maybe Natural)
- 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.
ListCertificateAuthorities' | |
|
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:nextToken: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.
$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.
Request Lenses
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.
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.
Destructuring the Response
data ListCertificateAuthoritiesResponse Source #
See: newListCertificateAuthoritiesResponse
smart constructor.
ListCertificateAuthoritiesResponse' | |
|
Instances
newListCertificateAuthoritiesResponse Source #
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.
$sel:nextToken: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.