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 |
Returns a list of the current certificates that have been imported into
Transfer Family. If you want to limit the results to a certain number,
supply a value for the MaxResults
parameter. If you ran the command
previously and received a value for the NextToken
parameter, you can
supply that value to continue listing certificates from where you left
off.
This operation returns paginated results.
Synopsis
- data ListCertificates = ListCertificates' {}
- newListCertificates :: ListCertificates
- listCertificates_maxResults :: Lens' ListCertificates (Maybe Natural)
- listCertificates_nextToken :: Lens' ListCertificates (Maybe Text)
- data ListCertificatesResponse = ListCertificatesResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- certificates :: [ListedCertificate]
- newListCertificatesResponse :: Int -> ListCertificatesResponse
- listCertificatesResponse_nextToken :: Lens' ListCertificatesResponse (Maybe Text)
- listCertificatesResponse_httpStatus :: Lens' ListCertificatesResponse Int
- listCertificatesResponse_certificates :: Lens' ListCertificatesResponse [ListedCertificate]
Creating a Request
data ListCertificates Source #
See: newListCertificates
smart constructor.
ListCertificates' | |
|
Instances
newListCertificates :: ListCertificates Source #
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:maxResults:ListCertificates'
, listCertificates_maxResults
- The maximum number of certificates to return.
ListCertificates
, listCertificates_nextToken
- When you can get additional results from the ListCertificates
call, a
NextToken
parameter is returned in the output. You can then pass in a
subsequent command to the NextToken
parameter to continue listing
additional certificates.
Request Lenses
listCertificates_maxResults :: Lens' ListCertificates (Maybe Natural) Source #
The maximum number of certificates to return.
listCertificates_nextToken :: Lens' ListCertificates (Maybe Text) Source #
When you can get additional results from the ListCertificates
call, a
NextToken
parameter is returned in the output. You can then pass in a
subsequent command to the NextToken
parameter to continue listing
additional certificates.
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:
ListCertificates
, listCertificatesResponse_nextToken
- Returns the next token, which you can use to list the next certificate.
$sel:httpStatus:ListCertificatesResponse'
, listCertificatesResponse_httpStatus
- The response's http status code.
$sel:certificates:ListCertificatesResponse'
, listCertificatesResponse_certificates
- Returns an array of the certificates that are specified in the
ListCertificates
call.
Response Lenses
listCertificatesResponse_nextToken :: Lens' ListCertificatesResponse (Maybe Text) Source #
Returns the next token, which you can use to list the next certificate.
listCertificatesResponse_httpStatus :: Lens' ListCertificatesResponse Int Source #
The response's http status code.
listCertificatesResponse_certificates :: Lens' ListCertificatesResponse [ListedCertificate] Source #
Returns an array of the certificates that are specified in the
ListCertificates
call.