#[non_exhaustive]pub struct UpdateContactFlowModuleContentInput { /* private fields */ }
Implementations§
source§impl UpdateContactFlowModuleContentInput
impl UpdateContactFlowModuleContentInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateContactFlowModuleContent, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateContactFlowModuleContent, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateContactFlowModuleContent
>
Examples found in repository?
src/client.rs (line 16575)
16561 16562 16563 16564 16565 16566 16567 16568 16569 16570 16571 16572 16573 16574 16575 16576 16577 16578 16579 16580 16581 16582 16583 16584 16585 16586 16587 16588 16589 16590 16591 16592 16593 16594 16595 16596 16597 16598 16599 16600 16601 16602 16603
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateContactFlowModuleContent,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateContactFlowModuleContentError>,
> {
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::UpdateContactFlowModuleContentOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateContactFlowModuleContentError>,
> {
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 UpdateContactFlowModuleContentInput
.
source§impl UpdateContactFlowModuleContentInput
impl UpdateContactFlowModuleContentInput
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
sourcepub fn contact_flow_module_id(&self) -> Option<&str>
pub fn contact_flow_module_id(&self) -> Option<&str>
The identifier of the flow module.
Trait Implementations§
source§impl Clone for UpdateContactFlowModuleContentInput
impl Clone for UpdateContactFlowModuleContentInput
source§fn clone(&self) -> UpdateContactFlowModuleContentInput
fn clone(&self) -> UpdateContactFlowModuleContentInput
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