| 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.ListCertificatesByCA
Description
List the device certificates signed by the specified CA certificate.
Requires permission to access the ListCertificatesByCA action.
This operation returns paginated results.
Synopsis
- data ListCertificatesByCA = ListCertificatesByCA' {}
- newListCertificatesByCA :: Text -> ListCertificatesByCA
- listCertificatesByCA_ascendingOrder :: Lens' ListCertificatesByCA (Maybe Bool)
- listCertificatesByCA_marker :: Lens' ListCertificatesByCA (Maybe Text)
- listCertificatesByCA_pageSize :: Lens' ListCertificatesByCA (Maybe Natural)
- listCertificatesByCA_caCertificateId :: Lens' ListCertificatesByCA Text
- data ListCertificatesByCAResponse = ListCertificatesByCAResponse' {
- certificates :: Maybe [Certificate]
- nextMarker :: Maybe Text
- httpStatus :: Int
- newListCertificatesByCAResponse :: Int -> ListCertificatesByCAResponse
- listCertificatesByCAResponse_certificates :: Lens' ListCertificatesByCAResponse (Maybe [Certificate])
- listCertificatesByCAResponse_nextMarker :: Lens' ListCertificatesByCAResponse (Maybe Text)
- listCertificatesByCAResponse_httpStatus :: Lens' ListCertificatesByCAResponse Int
Creating a Request
data ListCertificatesByCA Source #
The input to the ListCertificatesByCA operation.
See: newListCertificatesByCA smart constructor.
Constructors
| ListCertificatesByCA' | |
Fields
| |
Instances
newListCertificatesByCA Source #
Arguments
| :: Text | |
| -> ListCertificatesByCA |
Create a value of ListCertificatesByCA 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:ListCertificatesByCA', listCertificatesByCA_ascendingOrder - Specifies the order for results. If True, the results are returned in
ascending order, based on the creation date.
$sel:marker:ListCertificatesByCA', listCertificatesByCA_marker - The marker for the next set of results.
$sel:pageSize:ListCertificatesByCA', listCertificatesByCA_pageSize - The result page size.
ListCertificatesByCA, listCertificatesByCA_caCertificateId - The ID of the CA certificate. This operation will list all registered
device certificate that were signed by this CA certificate.
Request Lenses
listCertificatesByCA_ascendingOrder :: Lens' ListCertificatesByCA (Maybe Bool) Source #
Specifies the order for results. If True, the results are returned in ascending order, based on the creation date.
listCertificatesByCA_marker :: Lens' ListCertificatesByCA (Maybe Text) Source #
The marker for the next set of results.
listCertificatesByCA_pageSize :: Lens' ListCertificatesByCA (Maybe Natural) Source #
The result page size.
listCertificatesByCA_caCertificateId :: Lens' ListCertificatesByCA Text Source #
The ID of the CA certificate. This operation will list all registered device certificate that were signed by this CA certificate.
Destructuring the Response
data ListCertificatesByCAResponse Source #
The output of the ListCertificatesByCA operation.
See: newListCertificatesByCAResponse smart constructor.
Constructors
| ListCertificatesByCAResponse' | |
Fields
| |
Instances
newListCertificatesByCAResponse Source #
Create a value of ListCertificatesByCAResponse 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:ListCertificatesByCAResponse', listCertificatesByCAResponse_certificates - The device certificates signed by the specified CA certificate.
$sel:nextMarker:ListCertificatesByCAResponse', listCertificatesByCAResponse_nextMarker - The marker for the next set of results, or null if there are no
additional results.
$sel:httpStatus:ListCertificatesByCAResponse', listCertificatesByCAResponse_httpStatus - The response's http status code.
Response Lenses
listCertificatesByCAResponse_certificates :: Lens' ListCertificatesByCAResponse (Maybe [Certificate]) Source #
The device certificates signed by the specified CA certificate.
listCertificatesByCAResponse_nextMarker :: Lens' ListCertificatesByCAResponse (Maybe Text) Source #
The marker for the next set of results, or null if there are no additional results.
listCertificatesByCAResponse_httpStatus :: Lens' ListCertificatesByCAResponse Int Source #
The response's http status code.