pub struct UpdateCertificateRequest {
pub certificate_id: String,
pub new_status: String,
}Expand description
The input for the UpdateCertificate operation.
Fields§
§certificate_id: StringThe ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
new_status: StringThe new status.
Note: Setting the status to PENDING_TRANSFER or PENDING_ACTIVATION will result in an exception being thrown. PENDING_TRANSFER and PENDING_ACTIVATION are statuses used internally by AWS IoT. They are not intended for developer use.
Note: The status value REGISTER_INACTIVE is deprecated and should not be used.
Trait Implementations§
Source§impl Clone for UpdateCertificateRequest
impl Clone for UpdateCertificateRequest
Source§fn clone(&self) -> UpdateCertificateRequest
fn clone(&self) -> UpdateCertificateRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpdateCertificateRequest
impl Debug for UpdateCertificateRequest
Source§impl Default for UpdateCertificateRequest
impl Default for UpdateCertificateRequest
Source§fn default() -> UpdateCertificateRequest
fn default() -> UpdateCertificateRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for UpdateCertificateRequest
impl PartialEq for UpdateCertificateRequest
Source§impl Serialize for UpdateCertificateRequest
impl Serialize for UpdateCertificateRequest
impl StructuralPartialEq for UpdateCertificateRequest
Auto Trait Implementations§
impl Freeze for UpdateCertificateRequest
impl RefUnwindSafe for UpdateCertificateRequest
impl Send for UpdateCertificateRequest
impl Sync for UpdateCertificateRequest
impl Unpin for UpdateCertificateRequest
impl UnwindSafe for UpdateCertificateRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more