#[non_exhaustive]pub struct UpdateCertificateInput {
pub certificate_id: Option<String>,
pub new_status: Option<CertificateStatus>,
}
Expand description
The input for the UpdateCertificate operation.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.certificate_id: Option<String>
The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
new_status: Option<CertificateStatus>
The 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 IoT. They are not intended for developer use.
Note: The status value REGISTER_INACTIVE is deprecated and should not be used.
Implementations§
source§impl UpdateCertificateInput
impl UpdateCertificateInput
sourcepub fn certificate_id(&self) -> Option<&str>
pub fn certificate_id(&self) -> Option<&str>
The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
sourcepub fn new_status(&self) -> Option<&CertificateStatus>
pub fn new_status(&self) -> Option<&CertificateStatus>
The 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 IoT. They are not intended for developer use.
Note: The status value REGISTER_INACTIVE is deprecated and should not be used.
source§impl UpdateCertificateInput
impl UpdateCertificateInput
sourcepub fn builder() -> UpdateCertificateInputBuilder
pub fn builder() -> UpdateCertificateInputBuilder
Creates a new builder-style object to manufacture UpdateCertificateInput
.
Trait Implementations§
source§impl Clone for UpdateCertificateInput
impl Clone for UpdateCertificateInput
source§fn clone(&self) -> UpdateCertificateInput
fn clone(&self) -> UpdateCertificateInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpdateCertificateInput
impl Debug for UpdateCertificateInput
source§impl PartialEq for UpdateCertificateInput
impl PartialEq for UpdateCertificateInput
source§fn eq(&self, other: &UpdateCertificateInput) -> bool
fn eq(&self, other: &UpdateCertificateInput) -> bool
self
and other
values to be equal, and is used
by ==
.