| 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.IoT.ListCertificates
Description
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_ascendingOrder :: Lens' ListCertificates (Maybe Bool)
- listCertificates_marker :: Lens' ListCertificates (Maybe Text)
- 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.
Constructors
| 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:ascendingOrder:ListCertificates', listCertificates_ascendingOrder - Specifies the order for results. If True, the results are returned in
ascending order, based on the creation date.
$sel:marker:ListCertificates', listCertificates_marker - The marker for the next set of results.
$sel:pageSize:ListCertificates', listCertificates_pageSize - The result page size.
Request Lenses
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_marker :: Lens' ListCertificates (Maybe Text) Source #
The marker for the next set of results.
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.
Constructors
| ListCertificatesResponse' | |
Fields
| |
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.