Struct aws_sdk_iot::client::fluent_builders::AddThingToThingGroup [−][src]
pub struct AddThingToThingGroup<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to AddThingToThingGroup
.
Adds a thing to a thing group.
Requires permission to access the AddThingToThingGroup action.
Implementations
impl<C, M, R> AddThingToThingGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> AddThingToThingGroup<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<AddThingToThingGroupOutput, SdkError<AddThingToThingGroupError>> where
R::Policy: SmithyRetryPolicy<AddThingToThingGroupInputOperationOutputAlias, AddThingToThingGroupOutput, AddThingToThingGroupError, AddThingToThingGroupInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<AddThingToThingGroupOutput, SdkError<AddThingToThingGroupError>> where
R::Policy: SmithyRetryPolicy<AddThingToThingGroupInputOperationOutputAlias, AddThingToThingGroupOutput, AddThingToThingGroupError, AddThingToThingGroupInputOperationRetryAlias>,
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 group to which you are adding a thing.
The name of the group to which you are adding a thing.
The ARN of the group to which you are adding a thing.
The ARN of the group to which you are adding a thing.
The name of the thing to add to a group.
The name of the thing to add to a group.
The ARN of the thing to add to a 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.
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 AddThingToThingGroup<C, M, R>
impl<C, M, R> Send for AddThingToThingGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for AddThingToThingGroup<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for AddThingToThingGroup<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for AddThingToThingGroup<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