Struct aws_sdk_iot::client::fluent_builders::UpdateThing [−][src]
pub struct UpdateThing<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdateThing
.
Updates the data for a thing.
Requires permission to access the UpdateThing action.
Implementations
impl<C, M, R> UpdateThing<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateThing<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(self) -> Result<UpdateThingOutput, SdkError<UpdateThingError>> where
R::Policy: SmithyRetryPolicy<UpdateThingInputOperationOutputAlias, UpdateThingOutput, UpdateThingError, UpdateThingInputOperationRetryAlias>,
pub async fn send(self) -> Result<UpdateThingOutput, SdkError<UpdateThingError>> where
R::Policy: SmithyRetryPolicy<UpdateThingInputOperationOutputAlias, UpdateThingOutput, UpdateThingError, UpdateThingInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The name of the thing to update.
You can't change a thing's name. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing.
The name of the thing to update.
You can't change a thing's name. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing.
The name of the thing type.
The name of the thing type.
A list of thing attributes, a JSON string containing name-value pairs. For example:
{\"attributes\":{\"name1\":\"value2\"}}
This data is used to add new attributes or update existing attributes.
A list of thing attributes, a JSON string containing name-value pairs. For example:
{\"attributes\":{\"name1\":\"value2\"}}
This data is used to add new attributes or update existing attributes.
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
UpdateThing
request is rejected with a
VersionConflictException
.
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
UpdateThing
request is rejected with a
VersionConflictException
.
Remove a thing type association. If true, the association is removed.
Remove a thing type association. If true, the association is removed.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for UpdateThing<C, M, R>
impl<C, M, R> Unpin for UpdateThing<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for UpdateThing<C, M, R>
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