update_ca_certificate
async
¶
update_ca_certificate(
certificate_id: CertificateId,
*,
config_overrides: Optional[AsyncIoTClientConfig] = None,
new_status: Optional[CACertificateStatus] = None,
new_auto_registration_status: Optional[AutoRegistrationStatus] = None,
registration_config: Optional[RegistrationConfig] = None,
remove_auto_registration: Optional[RemoveAutoRegistration] = None,
) -> None
Updates a registered CA certificate.
Requires permission to access the UpdateCACertificate action.
Parameters:
-
certificate_id(CertificateId) –The CA certificate identifier.
-
new_status(Optional[CACertificateStatus], default:None) –The updated status of the CA certificate.
Note: The status value REGISTER_INACTIVE is deprecated and should not be used.
-
new_auto_registration_status(Optional[AutoRegistrationStatus], default:None) –The new value for the auto registration status. Valid values are: "ENABLE" or "DISABLE".
-
registration_config(Optional[RegistrationConfig], default:None) –Information about the registration configuration.
-
remove_auto_registration(Optional[RemoveAutoRegistration], default:None) –If true, removes auto registration.
Raises:
-
InternalFailureException–An unexpected error has occurred.
-
InvalidRequestException–The request is not valid.
-
ResourceNotFoundException–The specified resource does not exist.
-
ServiceUnavailableException–The service is temporarily unavailable.
-
ThrottlingException–The rate exceeds the limit.
-
UnauthorizedException–You are not authorized to perform this operation.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot/_services/async_io_t.py
17261 17262 17263 17264 17265 17266 17267 17268 17269 17270 17271 17272 17273 17274 17275 17276 17277 17278 17279 17280 17281 17282 17283 17284 17285 17286 17287 17288 17289 17290 17291 17292 17293 17294 17295 17296 17297 17298 17299 17300 17301 17302 17303 17304 17305 17306 17307 17308 17309 17310 17311 17312 17313 17314 17315 17316 17317 17318 17319 17320 17321 17322 17323 17324 17325 17326 17327 17328 17329 17330 17331 17332 | |