IoT / Client / update_ca_certificate

update_ca_certificate#

IoT.Client.update_ca_certificate(**kwargs)#

Updates a registered CA certificate.

Requires permission to access the UpdateCACertificate action.

See also: AWS API Documentation

Request Syntax

response = client.update_ca_certificate(
    certificateId='string',
    newStatus='ACTIVE'|'INACTIVE',
    newAutoRegistrationStatus='ENABLE'|'DISABLE',
    registrationConfig={
        'templateBody': 'string',
        'roleArn': 'string',
        'templateName': 'string'
    },
    removeAutoRegistration=True|False
)
Parameters:
  • certificateId (string) –

    [REQUIRED]

    The CA certificate identifier.

  • newStatus (string) –

    The updated status of the CA certificate.

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

  • newAutoRegistrationStatus (string) – The new value for the auto registration status. Valid values are: “ENABLE” or “DISABLE”.

  • registrationConfig (dict) –

    Information about the registration configuration.

    • templateBody (string) –

      The template body.

    • roleArn (string) –

      The ARN of the role.

    • templateName (string) –

      The name of the provisioning template.

  • removeAutoRegistration (boolean) – If true, removes auto registration.

Returns:

None

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