Struct aws_sdk_iot::input::DeleteDynamicThingGroupInput
source · #[non_exhaustive]pub struct DeleteDynamicThingGroupInput { /* private fields */ }
Implementations§
source§impl DeleteDynamicThingGroupInput
impl DeleteDynamicThingGroupInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteDynamicThingGroup, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeleteDynamicThingGroup, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<DeleteDynamicThingGroup
>
Examples found in repository?
src/client.rs (line 9537)
9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::DeleteDynamicThingGroup,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::DeleteDynamicThingGroupError>,
> {
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::DeleteDynamicThingGroupOutput,
aws_smithy_http::result::SdkError<crate::error::DeleteDynamicThingGroupError>,
> {
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 DeleteDynamicThingGroupInput
.
source§impl DeleteDynamicThingGroupInput
impl DeleteDynamicThingGroupInput
sourcepub fn thing_group_name(&self) -> Option<&str>
pub fn thing_group_name(&self) -> Option<&str>
The name of the dynamic thing group to delete.
sourcepub fn expected_version(&self) -> Option<i64>
pub fn expected_version(&self) -> Option<i64>
The expected version of the dynamic thing group to delete.
Trait Implementations§
source§impl Clone for DeleteDynamicThingGroupInput
impl Clone for DeleteDynamicThingGroupInput
source§fn clone(&self) -> DeleteDynamicThingGroupInput
fn clone(&self) -> DeleteDynamicThingGroupInput
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