update_ca_certificate
¶
update_ca_certificate(
certificate_id: CertificateId,
*,
config_overrides: Optional[IoTClientConfig] = 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/io_t.py
17005 17006 17007 17008 17009 17010 17011 17012 17013 17014 17015 17016 17017 17018 17019 17020 17021 17022 17023 17024 17025 17026 17027 17028 17029 17030 17031 17032 17033 17034 17035 17036 17037 17038 17039 17040 17041 17042 17043 17044 17045 17046 17047 17048 17049 17050 17051 17052 17053 17054 17055 17056 17057 17058 17059 17060 17061 17062 17063 17064 17065 17066 17067 17068 17069 17070 17071 17072 17073 17074 17075 | |