#[non_exhaustive]pub struct UpdateContactFlowModuleMetadataInput { /* private fields */ }
Implementations§
source§impl UpdateContactFlowModuleMetadataInput
impl UpdateContactFlowModuleMetadataInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateContactFlowModuleMetadata, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateContactFlowModuleMetadata, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateContactFlowModuleMetadata
>
Examples found in repository?
src/client.rs (line 16671)
16657 16658 16659 16660 16661 16662 16663 16664 16665 16666 16667 16668 16669 16670 16671 16672 16673 16674 16675 16676 16677 16678 16679 16680 16681 16682 16683 16684 16685 16686 16687 16688 16689 16690 16691 16692 16693 16694 16695 16696 16697 16698 16699
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateContactFlowModuleMetadata,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateContactFlowModuleMetadataError>,
> {
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::UpdateContactFlowModuleMetadataOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateContactFlowModuleMetadataError>,
> {
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 UpdateContactFlowModuleMetadataInput
.
source§impl UpdateContactFlowModuleMetadataInput
impl UpdateContactFlowModuleMetadataInput
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.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the flow module.
sourcepub fn state(&self) -> Option<&ContactFlowModuleState>
pub fn state(&self) -> Option<&ContactFlowModuleState>
The state of flow module.
Trait Implementations§
source§impl Clone for UpdateContactFlowModuleMetadataInput
impl Clone for UpdateContactFlowModuleMetadataInput
source§fn clone(&self) -> UpdateContactFlowModuleMetadataInput
fn clone(&self) -> UpdateContactFlowModuleMetadataInput
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