Struct aws_sdk_iot::input::DeleteThingInput [−][src]
#[non_exhaustive]pub struct DeleteThingInput {
pub thing_name: Option<String>,
pub expected_version: Option<i64>,
}
Expand description
The input for the DeleteThing 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.thing_name: Option<String>
The name of the thing to delete.
expected_version: Option<i64>
The expected version of the thing record in the registry. If the version of the
record in the registry does not match the expected version specified in the request, the
DeleteThing
request is rejected with a
VersionConflictException
.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteThing, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteThing, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DeleteThing
>
Creates a new builder-style object to manufacture DeleteThingInput
The name of the thing to delete.
The expected version of the thing record in the registry. If the version of the
record in the registry does not match the expected version specified in the request, the
DeleteThing
request is rejected with a
VersionConflictException
.
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 DeleteThingInput
impl Send for DeleteThingInput
impl Sync for DeleteThingInput
impl Unpin for DeleteThingInput
impl UnwindSafe for DeleteThingInput
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