Struct aws_sdk_iot::client::fluent_builders::UpdateThingGroupsForThing [−][src]
pub struct UpdateThingGroupsForThing<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdateThingGroupsForThing
.
Updates the groups to which the thing belongs.
Requires permission to access the UpdateThingGroupsForThing action.
Implementations
impl<C, M, R> UpdateThingGroupsForThing<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateThingGroupsForThing<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateThingGroupsForThingOutput, SdkError<UpdateThingGroupsForThingError>> where
R::Policy: SmithyRetryPolicy<UpdateThingGroupsForThingInputOperationOutputAlias, UpdateThingGroupsForThingOutput, UpdateThingGroupsForThingError, UpdateThingGroupsForThingInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateThingGroupsForThingOutput, SdkError<UpdateThingGroupsForThingError>> where
R::Policy: SmithyRetryPolicy<UpdateThingGroupsForThingInputOperationOutputAlias, UpdateThingGroupsForThingOutput, UpdateThingGroupsForThingError, UpdateThingGroupsForThingInputOperationRetryAlias>,
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 thing whose group memberships will be updated.
The thing whose group memberships will be updated.
Appends an item to thingGroupsToAdd
.
To override the contents of this collection use set_thing_groups_to_add
.
The groups to which the thing will be added.
The groups to which the thing will be added.
Appends an item to thingGroupsToRemove
.
To override the contents of this collection use set_thing_groups_to_remove
.
The groups from which the thing will be removed.
The groups from which the thing will be removed.
Override dynamic thing groups with static thing groups when 10-group limit is reached. If a thing belongs to 10 thing groups, and one or more of those groups are dynamic thing groups, adding a thing to a static group removes the thing from the last dynamic group.
Override dynamic thing groups with static thing groups when 10-group limit is reached. If a thing belongs to 10 thing groups, and one or more of those groups are dynamic thing groups, adding a thing to a static group removes the thing from the last dynamic group.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateThingGroupsForThing<C, M, R>
impl<C, M, R> Send for UpdateThingGroupsForThing<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateThingGroupsForThing<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateThingGroupsForThing<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateThingGroupsForThing<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