pub struct RemoveThingFromThingGroup { /* private fields */ }
Expand description
Fluent builder constructing a request to RemoveThingFromThingGroup
.
Remove the specified thing from the specified group.
You must specify either a thingGroupArn
or a thingGroupName
to identify the thing group and either a thingArn
or a thingName
to identify the thing to remove from the thing group.
Requires permission to access the RemoveThingFromThingGroup action.
Implementations§
source§impl RemoveThingFromThingGroup
impl RemoveThingFromThingGroup
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<RemoveThingFromThingGroup, AwsResponseRetryClassifier>, SdkError<RemoveThingFromThingGroupError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<RemoveThingFromThingGroup, AwsResponseRetryClassifier>, SdkError<RemoveThingFromThingGroupError>>
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<RemoveThingFromThingGroupOutput, SdkError<RemoveThingFromThingGroupError>>
pub async fn send(
self
) -> Result<RemoveThingFromThingGroupOutput, SdkError<RemoveThingFromThingGroupError>>
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 group name.
sourcepub fn set_thing_group_name(self, input: Option<String>) -> Self
pub fn set_thing_group_name(self, input: Option<String>) -> Self
The group name.
sourcepub fn thing_group_arn(self, input: impl Into<String>) -> Self
pub fn thing_group_arn(self, input: impl Into<String>) -> Self
The group ARN.
sourcepub fn set_thing_group_arn(self, input: Option<String>) -> Self
pub fn set_thing_group_arn(self, input: Option<String>) -> Self
The group ARN.
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 remove from the 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 remove from the 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 remove from the 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 remove from the group.
Trait Implementations§
source§impl Clone for RemoveThingFromThingGroup
impl Clone for RemoveThingFromThingGroup
source§fn clone(&self) -> RemoveThingFromThingGroup
fn clone(&self) -> RemoveThingFromThingGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more