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
)
[REQUIRED]
The CA certificate identifier.
The updated status of the CA certificate.
Note: The status value REGISTER_INACTIVE is deprecated and should not be used.
Information about the registration configuration.
The template body.
The ARN of the role.
The name of the provisioning template.
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