Struct aws_sdk_iot::input::DeleteThingGroupInput
source · #[non_exhaustive]pub struct DeleteThingGroupInput { /* private fields */ }
Implementations§
source§impl DeleteThingGroupInput
impl DeleteThingGroupInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteThingGroup, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteThingGroup, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteThingGroup
>
Examples found in repository?
src/client.rs (line 10983)
10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteThingGroup,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteThingGroupError>,
> {
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::DeleteThingGroupOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteThingGroupError>,
> {
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 DeleteThingGroupInput
.
source§impl DeleteThingGroupInput
impl DeleteThingGroupInput
sourcepub fn thing_group_name(&self) -> Option<&str>
pub fn thing_group_name(&self) -> Option<&str>
The name of the thing group to delete.
sourcepub fn expected_version(&self) -> Option<i64>
pub fn expected_version(&self) -> Option<i64>
The expected version of the thing group to delete.
Trait Implementations§
source§impl Clone for DeleteThingGroupInput
impl Clone for DeleteThingGroupInput
source§fn clone(&self) -> DeleteThingGroupInput
fn clone(&self) -> DeleteThingGroupInput
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