Struct aws_sdk_iot::input::UpdateCertificateInput [−][src]
#[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
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateCertificate, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateCertificate, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateCertificate
>
Creates a new builder-style object to manufacture UpdateCertificateInput
The ID of the certificate. (The last part of the certificate ARN contains the certificate ID.)
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.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for UpdateCertificateInput
impl Send for UpdateCertificateInput
impl Sync for UpdateCertificateInput
impl Unpin for UpdateCertificateInput
impl UnwindSafe for UpdateCertificateInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more