Struct aws_sdk_iot::input::UpdateThingGroupsForThingInput
source · [−]#[non_exhaustive]pub struct UpdateThingGroupsForThingInput {
pub thing_name: Option<String>,
pub thing_groups_to_add: Option<Vec<String>>,
pub thing_groups_to_remove: Option<Vec<String>>,
pub override_dynamic_groups: bool,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.thing_name: Option<String>
The thing whose group memberships will be updated.
thing_groups_to_add: Option<Vec<String>>
The groups to which the thing will be added.
thing_groups_to_remove: Option<Vec<String>>
The groups from which the thing will be removed.
override_dynamic_groups: bool
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.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateThingGroupsForThing, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateThingGroupsForThing, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateThingGroupsForThing
>
Creates a new builder-style object to manufacture UpdateThingGroupsForThingInput
The thing whose group memberships will be updated.
The groups to which the thing will be added.
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.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for UpdateThingGroupsForThingInput
impl Sync for UpdateThingGroupsForThingInput
impl Unpin for UpdateThingGroupsForThingInput
impl UnwindSafe for UpdateThingGroupsForThingInput
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