IoT / Paginator / ListCertificatesByCA


class IoT.Paginator.ListCertificatesByCA#
paginator = client.get_paginator('list_certificates_by_ca')

Creates an iterator that will paginate through responses from IoT.Client.list_certificates_by_ca().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
  • caCertificateId (string) –


    The ID of the CA certificate. This operation will list all registered device certificate that were signed by this CA certificate.

  • ascendingOrder (boolean) – Specifies the order for results. If True, the results are returned in ascending order, based on the creation date.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:



Response Syntax

    'certificates': [
            'certificateArn': 'string',
            'certificateId': 'string',
            'certificateMode': 'DEFAULT'|'SNI_ONLY',
            'creationDate': datetime(2015, 1, 1)
    'NextToken': 'string'

Response Structure

  • (dict) –

    The output of the ListCertificatesByCA operation.

    • certificates (list) –

      The device certificates signed by the specified CA certificate.

      • (dict) –

        Information about a certificate.

        • certificateArn (string) –

          The ARN of the certificate.

        • certificateId (string) –

          The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)

        • status (string) –

          The status of the certificate.

          The status value REGISTER_INACTIVE is deprecated and should not be used.

        • certificateMode (string) –

          The mode of the certificate.

          DEFAULT: A certificate in DEFAULT mode is either generated by Amazon Web Services IoT Core or registered with an issuer certificate authority (CA) in DEFAULT mode. Devices with certificates in DEFAULT mode aren’t required to send the Server Name Indication (SNI) extension when connecting to Amazon Web Services IoT Core. However, to use features such as custom domains and VPC endpoints, we recommend that you use the SNI extension when connecting to Amazon Web Services IoT Core.

          SNI_ONLY: A certificate in SNI_ONLY mode is registered without an issuer CA. Devices with certificates in SNI_ONLY mode must send the SNI extension when connecting to Amazon Web Services IoT Core.

        • creationDate (datetime) –

          The date and time the certificate was created.

    • NextToken (string) –

      A token to resume pagination.