IoT / Client / list_certificate_providers

list_certificate_providers#

IoT.Client.list_certificate_providers(**kwargs)#

Lists all your certificate providers in your Amazon Web Services account.

Requires permission to access the ListCertificateProviders action.

See also: AWS API Documentation

Request Syntax

response = client.list_certificate_providers(
    nextToken='string',
    ascendingOrder=True|False
)
Parameters:
  • nextToken (string) – The token for the next set of results, or null if there are no more results.

  • ascendingOrder (boolean) – Returns the list of certificate providers in ascending alphabetical order.

Return type:

dict

Returns:

Response Syntax

{
    'certificateProviders': [
        {
            'certificateProviderName': 'string',
            'certificateProviderArn': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    • certificateProviders (list) –

      The list of certificate providers in your Amazon Web Services account.

      • (dict) –

        The certificate provider summary.

        • certificateProviderName (string) –

          The name of the certificate provider.

        • certificateProviderArn (string) –

          The ARN of the certificate provider.

    • nextToken (string) –

      The token for the next set of results, or null if there are no more results.

Exceptions

  • IoT.Client.exceptions.InvalidRequestException

  • IoT.Client.exceptions.ThrottlingException

  • IoT.Client.exceptions.UnauthorizedException

  • IoT.Client.exceptions.ServiceUnavailableException

  • IoT.Client.exceptions.InternalFailureException