Struct aws_sdk_iot::client::fluent_builders::UpdateDimension
source · pub struct UpdateDimension { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateDimension
.
Updates the definition for a dimension. You cannot change the type of a dimension after it is created (you can delete it and recreate it).
Requires permission to access the UpdateDimension action.
Implementations§
source§impl UpdateDimension
impl UpdateDimension
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateDimension, AwsResponseRetryClassifier>, SdkError<UpdateDimensionError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateDimension, AwsResponseRetryClassifier>, SdkError<UpdateDimensionError>>
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<UpdateDimensionOutput, SdkError<UpdateDimensionError>>
pub async fn send(
self
) -> Result<UpdateDimensionOutput, SdkError<UpdateDimensionError>>
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 name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
A unique identifier for the dimension. Choose something that describes the type and value to make it easy to remember what it does.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
A unique identifier for the dimension. Choose something that describes the type and value to make it easy to remember what it does.
sourcepub fn string_values(self, input: impl Into<String>) -> Self
pub fn string_values(self, input: impl Into<String>) -> Self
Appends an item to stringValues
.
To override the contents of this collection use set_string_values
.
Specifies the value or list of values for the dimension. For TOPIC_FILTER
dimensions, this is a pattern used to match the MQTT topic (for example, "admin/#").
sourcepub fn set_string_values(self, input: Option<Vec<String>>) -> Self
pub fn set_string_values(self, input: Option<Vec<String>>) -> Self
Specifies the value or list of values for the dimension. For TOPIC_FILTER
dimensions, this is a pattern used to match the MQTT topic (for example, "admin/#").
Trait Implementations§
source§impl Clone for UpdateDimension
impl Clone for UpdateDimension
source§fn clone(&self) -> UpdateDimension
fn clone(&self) -> UpdateDimension
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more