Struct aws_sdk_iot::input::CreateDynamicThingGroupInput
source · #[non_exhaustive]pub struct CreateDynamicThingGroupInput { /* private fields */ }
Implementations§
source§impl CreateDynamicThingGroupInput
impl CreateDynamicThingGroupInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateDynamicThingGroup, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateDynamicThingGroup, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateDynamicThingGroup
>
Examples found in repository?
src/client.rs (line 5842)
5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::CreateDynamicThingGroup,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::CreateDynamicThingGroupError>,
> {
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::CreateDynamicThingGroupOutput,
aws_smithy_http::result::SdkError<crate::error::CreateDynamicThingGroupError>,
> {
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 CreateDynamicThingGroupInput
.
source§impl CreateDynamicThingGroupInput
impl CreateDynamicThingGroupInput
sourcepub fn thing_group_name(&self) -> Option<&str>
pub fn thing_group_name(&self) -> Option<&str>
The dynamic thing group name to create.
sourcepub fn thing_group_properties(&self) -> Option<&ThingGroupProperties>
pub fn thing_group_properties(&self) -> Option<&ThingGroupProperties>
The dynamic thing group properties.
sourcepub fn index_name(&self) -> Option<&str>
pub fn index_name(&self) -> Option<&str>
The dynamic thing group index name.
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.
See Query Syntax for information about query string syntax.
sourcepub fn query_version(&self) -> Option<&str>
pub fn query_version(&self) -> Option<&str>
The dynamic thing group query version.
Currently one query version is supported: "2017-09-30". If not specified, the query version defaults to this value.
Metadata which can be used to manage the dynamic thing group.
Trait Implementations§
source§impl Clone for CreateDynamicThingGroupInput
impl Clone for CreateDynamicThingGroupInput
source§fn clone(&self) -> CreateDynamicThingGroupInput
fn clone(&self) -> CreateDynamicThingGroupInput
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