Struct aws_sdk_iot::client::fluent_builders::AddThingToThingGroup
source · pub struct AddThingToThingGroup { /* private fields */ }
Expand description
Fluent builder constructing a request to AddThingToThingGroup
.
Adds a thing to a thing group.
Requires permission to access the AddThingToThingGroup action.
Implementations§
source§impl AddThingToThingGroup
impl AddThingToThingGroup
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<AddThingToThingGroup, AwsResponseRetryClassifier>, SdkError<AddThingToThingGroupError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<AddThingToThingGroup, AwsResponseRetryClassifier>, SdkError<AddThingToThingGroupError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<AddThingToThingGroupOutput, SdkError<AddThingToThingGroupError>>
pub async fn send(
self
) -> Result<AddThingToThingGroupOutput, SdkError<AddThingToThingGroupError>>
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.
sourcepub fn thing_group_name(self, input: impl Into<String>) -> Self
pub fn thing_group_name(self, input: impl Into<String>) -> Self
The name of the group to which you are adding a thing.
sourcepub fn set_thing_group_name(self, input: Option<String>) -> Self
pub fn set_thing_group_name(self, input: Option<String>) -> Self
The name of the group to which you are adding a thing.
sourcepub fn thing_group_arn(self, input: impl Into<String>) -> Self
pub fn thing_group_arn(self, input: impl Into<String>) -> Self
The ARN of the group to which you are adding a thing.
sourcepub fn set_thing_group_arn(self, input: Option<String>) -> Self
pub fn set_thing_group_arn(self, input: Option<String>) -> Self
The ARN of the group to which you are adding a thing.
sourcepub fn thing_name(self, input: impl Into<String>) -> Self
pub fn thing_name(self, input: impl Into<String>) -> Self
The name of the thing to add to a group.
sourcepub fn set_thing_name(self, input: Option<String>) -> Self
pub fn set_thing_name(self, input: Option<String>) -> Self
The name of the thing to add to a group.
sourcepub fn thing_arn(self, input: impl Into<String>) -> Self
pub fn thing_arn(self, input: impl Into<String>) -> Self
The ARN of the thing to add to a group.
sourcepub fn set_thing_arn(self, input: Option<String>) -> Self
pub fn set_thing_arn(self, input: Option<String>) -> Self
The ARN of the thing to add to a group.
sourcepub fn override_dynamic_groups(self, input: bool) -> Self
pub fn override_dynamic_groups(self, input: bool) -> Self
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.
sourcepub fn set_override_dynamic_groups(self, input: Option<bool>) -> Self
pub fn set_override_dynamic_groups(self, input: Option<bool>) -> Self
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§
source§impl Clone for AddThingToThingGroup
impl Clone for AddThingToThingGroup
source§fn clone(&self) -> AddThingToThingGroup
fn clone(&self) -> AddThingToThingGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more