IoT / Client / update_certificate_provider

update_certificate_provider#

IoT.Client.update_certificate_provider(**kwargs)#

Updates a certificate provider.

Requires permission to access the UpdateCertificateProvider action.

See also: AWS API Documentation

Request Syntax

response = client.update_certificate_provider(
    certificateProviderName='string',
    lambdaFunctionArn='string',
    accountDefaultForOperations=[
        'CreateCertificateFromCsr',
    ]
)
Parameters:
  • certificateProviderName (string) –

    [REQUIRED]

    The name 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) –

Return type:

dict

Returns:

Response Syntax

{
    'certificateProviderName': 'string',
    'certificateProviderArn': 'string'
}

Response Structure

  • (dict) –

    • certificateProviderName (string) –

      The name of the certificate provider.

    • certificateProviderArn (string) –

      The ARN of the certificate provider.

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