Struct aws_sdk_iot::input::DeleteThingInput
source · #[non_exhaustive]pub struct DeleteThingInput { /* private fields */ }
Expand description
The input for the DeleteThing operation.
Implementations§
source§impl DeleteThingInput
impl DeleteThingInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteThing, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteThing, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteThing
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DeleteThingInput
.
source§impl DeleteThingInput
impl DeleteThingInput
sourcepub fn thing_name(&self) -> Option<&str>
pub fn thing_name(&self) -> Option<&str>
The name of the thing to delete.
sourcepub fn expected_version(&self) -> Option<i64>
pub fn expected_version(&self) -> 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
.
Trait Implementations§
source§impl Clone for DeleteThingInput
impl Clone for DeleteThingInput
source§fn clone(&self) -> DeleteThingInput
fn clone(&self) -> DeleteThingInput
Returns a copy 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 DeleteThingInput
impl Debug for DeleteThingInput
source§impl PartialEq<DeleteThingInput> for DeleteThingInput
impl PartialEq<DeleteThingInput> for DeleteThingInput
source§fn eq(&self, other: &DeleteThingInput) -> bool
fn eq(&self, other: &DeleteThingInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.