pub struct CreateDynamicThingGroup { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateDynamicThingGroup
.
Creates a dynamic thing group.
Requires permission to access the CreateDynamicThingGroup action.
Implementations§
source§impl CreateDynamicThingGroup
impl CreateDynamicThingGroup
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateDynamicThingGroup, AwsResponseRetryClassifier>, SdkError<CreateDynamicThingGroupError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateDynamicThingGroup, AwsResponseRetryClassifier>, SdkError<CreateDynamicThingGroupError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateDynamicThingGroupOutput, SdkError<CreateDynamicThingGroupError>>
pub async fn send(
self
) -> Result<CreateDynamicThingGroupOutput, SdkError<CreateDynamicThingGroupError>>
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, which can be set when configuring the client.
sourcepub fn thing_group_name(self, input: impl Into<String>) -> Self
pub fn thing_group_name(self, input: impl Into<String>) -> Self
The dynamic thing group name to create.
sourcepub fn set_thing_group_name(self, input: Option<String>) -> Self
pub fn set_thing_group_name(self, input: Option<String>) -> Self
The dynamic thing group name to create.
sourcepub fn thing_group_properties(self, input: ThingGroupProperties) -> Self
pub fn thing_group_properties(self, input: ThingGroupProperties) -> Self
The dynamic thing group properties.
sourcepub fn set_thing_group_properties(
self,
input: Option<ThingGroupProperties>
) -> Self
pub fn set_thing_group_properties(
self,
input: Option<ThingGroupProperties>
) -> Self
The dynamic thing group properties.
sourcepub fn index_name(self, input: impl Into<String>) -> Self
pub fn index_name(self, input: impl Into<String>) -> Self
The dynamic thing group index name.
Currently one index is supported: AWS_Things
.
sourcepub fn set_index_name(self, input: Option<String>) -> Self
pub fn set_index_name(self, input: Option<String>) -> Self
The dynamic thing group index name.
Currently one index is supported: AWS_Things
.
sourcepub fn query_string(self, input: impl Into<String>) -> Self
pub fn query_string(self, input: impl Into<String>) -> Self
The dynamic thing group search query string.
See Query Syntax for information about query string syntax.
sourcepub fn set_query_string(self, input: Option<String>) -> Self
pub fn set_query_string(self, input: Option<String>) -> Self
The dynamic thing group search query string.
See Query Syntax for information about query string syntax.
sourcepub fn query_version(self, input: impl Into<String>) -> Self
pub fn query_version(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_query_version(self, input: Option<String>) -> Self
pub fn set_query_version(self, input: Option<String>) -> Self
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.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Metadata which can be used to manage the dynamic thing group.
Metadata which can be used to manage the dynamic thing group.
Trait Implementations§
source§impl Clone for CreateDynamicThingGroup
impl Clone for CreateDynamicThingGroup
source§fn clone(&self) -> CreateDynamicThingGroup
fn clone(&self) -> CreateDynamicThingGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more