IoT / Client / describe_certificate_provider

describe_certificate_provider#

IoT.Client.describe_certificate_provider(**kwargs)#

Describes a certificate provider.

Requires permission to access the DescribeCertificateProvider action.

See also: AWS API Documentation

Request Syntax

response = client.describe_certificate_provider(
    certificateProviderName='string'
)
Parameters:

certificateProviderName (string) –

[REQUIRED]

The name of the certificate provider.

Return type:

dict

Returns:

Response Syntax

{
    'certificateProviderName': 'string',
    'certificateProviderArn': 'string',
    'lambdaFunctionArn': 'string',
    'accountDefaultForOperations': [
        'CreateCertificateFromCsr',
    ],
    'creationDate': datetime(2015, 1, 1),
    'lastModifiedDate': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • certificateProviderName (string) –

      The name of the certificate provider.

    • certificateProviderArn (string) –

      The ARN of the certificate provider.

    • lambdaFunctionArn (string) –

      The Lambda function ARN that’s associated with the certificate provider.

    • accountDefaultForOperations (list) –

      A list of the operations that the certificate provider will use to generate certificates. Valid value: CreateCertificateFromCsr.

      • (string) –

    • creationDate (datetime) –

      The date-time string that indicates when the certificate provider was created.

    • lastModifiedDate (datetime) –

      The date-time string that indicates when the certificate provider was last updated.

Exceptions

  • IoT.Client.exceptions.ResourceNotFoundException

  • IoT.Client.exceptions.InvalidRequestException

  • IoT.Client.exceptions.ThrottlingException

  • IoT.Client.exceptions.UnauthorizedException

  • IoT.Client.exceptions.ServiceUnavailableException

  • IoT.Client.exceptions.InternalFailureException