Struct aws_sdk_iot::input::UpdateEventConfigurationsInput
source · #[non_exhaustive]pub struct UpdateEventConfigurationsInput { /* private fields */ }
Implementations§
source§impl UpdateEventConfigurationsInput
impl UpdateEventConfigurationsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateEventConfigurations, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateEventConfigurations, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateEventConfigurations
>
Examples found in repository?
src/client.rs (line 26023)
26009 26010 26011 26012 26013 26014 26015 26016 26017 26018 26019 26020 26021 26022 26023 26024 26025 26026 26027 26028 26029 26030 26031 26032 26033 26034 26035 26036 26037 26038 26039 26040 26041 26042 26043 26044 26045 26046 26047 26048 26049 26050 26051
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateEventConfigurations,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateEventConfigurationsError>,
> {
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::UpdateEventConfigurationsOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateEventConfigurationsError>,
> {
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 UpdateEventConfigurationsInput
.
source§impl UpdateEventConfigurationsInput
impl UpdateEventConfigurationsInput
sourcepub fn event_configurations(&self) -> Option<&HashMap<EventType, Configuration>>
pub fn event_configurations(&self) -> Option<&HashMap<EventType, Configuration>>
The new event configuration values.
Trait Implementations§
source§impl Clone for UpdateEventConfigurationsInput
impl Clone for UpdateEventConfigurationsInput
source§fn clone(&self) -> UpdateEventConfigurationsInput
fn clone(&self) -> UpdateEventConfigurationsInput
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