Struct aws_sdk_iot::input::RemoveThingFromThingGroupInput
source · #[non_exhaustive]pub struct RemoveThingFromThingGroupInput { /* private fields */ }
Implementations§
source§impl RemoveThingFromThingGroupInput
impl RemoveThingFromThingGroupInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RemoveThingFromThingGroup, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RemoveThingFromThingGroup, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<RemoveThingFromThingGroup
>
Examples found in repository?
src/client.rs (line 22993)
22979 22980 22981 22982 22983 22984 22985 22986 22987 22988 22989 22990 22991 22992 22993 22994 22995 22996 22997 22998 22999 23000 23001 23002 23003 23004 23005 23006 23007 23008 23009 23010 23011 23012 23013 23014 23015 23016 23017 23018 23019 23020 23021
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::RemoveThingFromThingGroup,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::RemoveThingFromThingGroupError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::RemoveThingFromThingGroupOutput,
aws_smithy_http::result::SdkError<crate::error::RemoveThingFromThingGroupError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RemoveThingFromThingGroupInput
.
source§impl RemoveThingFromThingGroupInput
impl RemoveThingFromThingGroupInput
sourcepub fn thing_group_name(&self) -> Option<&str>
pub fn thing_group_name(&self) -> Option<&str>
The group name.
sourcepub fn thing_group_arn(&self) -> Option<&str>
pub fn thing_group_arn(&self) -> Option<&str>
The group ARN.
sourcepub fn thing_name(&self) -> Option<&str>
pub fn thing_name(&self) -> Option<&str>
The name of the thing to remove from the group.
Trait Implementations§
source§impl Clone for RemoveThingFromThingGroupInput
impl Clone for RemoveThingFromThingGroupInput
source§fn clone(&self) -> RemoveThingFromThingGroupInput
fn clone(&self) -> RemoveThingFromThingGroupInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more