#[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
impl StructuralPartialEq for UpdateCertificateInput
Auto Trait Implementations§
impl Freeze for UpdateCertificateInput
impl RefUnwindSafe for UpdateCertificateInput
impl Send for UpdateCertificateInput
impl Sync for UpdateCertificateInput
impl Unpin for UpdateCertificateInput
impl UnwindSafe for UpdateCertificateInput
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more