Struct aws_sdk_iot::input::UpdateDynamicThingGroupInput
source · #[non_exhaustive]pub struct UpdateDynamicThingGroupInput { /* private fields */ }
Implementations§
source§impl UpdateDynamicThingGroupInput
impl UpdateDynamicThingGroupInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateDynamicThingGroup, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateDynamicThingGroup, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateDynamicThingGroup
>
Examples found in repository?
src/client.rs (line 25882)
25868 25869 25870 25871 25872 25873 25874 25875 25876 25877 25878 25879 25880 25881 25882 25883 25884 25885 25886 25887 25888 25889 25890 25891 25892 25893 25894 25895 25896 25897 25898 25899 25900 25901 25902 25903 25904 25905 25906 25907 25908 25909 25910
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateDynamicThingGroup,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateDynamicThingGroupError>,
> {
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::UpdateDynamicThingGroupOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateDynamicThingGroupError>,
> {
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 UpdateDynamicThingGroupInput
.
source§impl UpdateDynamicThingGroupInput
impl UpdateDynamicThingGroupInput
sourcepub fn thing_group_name(&self) -> Option<&str>
pub fn thing_group_name(&self) -> Option<&str>
The name of the dynamic thing group to update.
sourcepub fn thing_group_properties(&self) -> Option<&ThingGroupProperties>
pub fn thing_group_properties(&self) -> Option<&ThingGroupProperties>
The dynamic thing group properties to update.
sourcepub fn expected_version(&self) -> Option<i64>
pub fn expected_version(&self) -> Option<i64>
The expected version of the dynamic thing group to update.
sourcepub fn index_name(&self) -> Option<&str>
pub fn index_name(&self) -> Option<&str>
The dynamic thing group index to update.
Currently one index is supported: AWS_Things
.
sourcepub fn query_string(&self) -> Option<&str>
pub fn query_string(&self) -> Option<&str>
The dynamic thing group search query string to update.
sourcepub fn query_version(&self) -> Option<&str>
pub fn query_version(&self) -> Option<&str>
The dynamic thing group query version to update.
Currently one query version is supported: "2017-09-30". If not specified, the query version defaults to this value.
Trait Implementations§
source§impl Clone for UpdateDynamicThingGroupInput
impl Clone for UpdateDynamicThingGroupInput
source§fn clone(&self) -> UpdateDynamicThingGroupInput
fn clone(&self) -> UpdateDynamicThingGroupInput
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