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 certificates registered in your Amazon Web Services account.
The results are paginated with a default page size of 25. You can use the returned marker to retrieve additional results.
Requires permission to access the ListCertificates action.
This operation returns paginated results.
Synopsis
- data ListCertificates = ListCertificates' {}
- newListCertificates :: ListCertificates
- listCertificates_marker :: Lens' ListCertificates (Maybe Text)
- listCertificates_ascendingOrder :: Lens' ListCertificates (Maybe Bool)
- listCertificates_pageSize :: Lens' ListCertificates (Maybe Natural)
- data ListCertificatesResponse = ListCertificatesResponse' {
- certificates :: Maybe [Certificate]
- nextMarker :: Maybe Text
- httpStatus :: Int
- newListCertificatesResponse :: Int -> ListCertificatesResponse
- listCertificatesResponse_certificates :: Lens' ListCertificatesResponse (Maybe [Certificate])
- listCertificatesResponse_nextMarker :: Lens' ListCertificatesResponse (Maybe Text)
- listCertificatesResponse_httpStatus :: Lens' ListCertificatesResponse Int
Creating a Request
data ListCertificates Source #
The input for the ListCertificates operation.
See: newListCertificates
smart constructor.
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:marker:ListCertificates'
, listCertificates_marker
- The marker for the next set of results.
$sel:ascendingOrder:ListCertificates'
, listCertificates_ascendingOrder
- Specifies the order for results. If True, the results are returned in
ascending order, based on the creation date.
$sel:pageSize:ListCertificates'
, listCertificates_pageSize
- The result page size.
Request Lenses
listCertificates_marker :: Lens' ListCertificates (Maybe Text) Source #
The marker for the next set of results.
listCertificates_ascendingOrder :: Lens' ListCertificates (Maybe Bool) Source #
Specifies the order for results. If True, the results are returned in ascending order, based on the creation date.
listCertificates_pageSize :: Lens' ListCertificates (Maybe Natural) Source #
The result page size.
Destructuring the Response
data ListCertificatesResponse Source #
The output of the ListCertificates operation.
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:certificates:ListCertificatesResponse'
, listCertificatesResponse_certificates
- The descriptions of the certificates.
$sel:nextMarker:ListCertificatesResponse'
, listCertificatesResponse_nextMarker
- The marker for the next set of results, or null if there are no
additional results.
$sel:httpStatus:ListCertificatesResponse'
, listCertificatesResponse_httpStatus
- The response's http status code.
Response Lenses
listCertificatesResponse_certificates :: Lens' ListCertificatesResponse (Maybe [Certificate]) Source #
The descriptions of the certificates.
listCertificatesResponse_nextMarker :: Lens' ListCertificatesResponse (Maybe Text) Source #
The marker for the next set of results, or null if there are no additional results.
listCertificatesResponse_httpStatus :: Lens' ListCertificatesResponse Int Source #
The response's http status code.