#[non_exhaustive]pub struct UpdateContactFlowMetadataInput { /* private fields */ }
Implementations§
source§impl UpdateContactFlowMetadataInput
impl UpdateContactFlowMetadataInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateContactFlowMetadata, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateContactFlowMetadata, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateContactFlowMetadata
>
Examples found in repository?
src/client.rs (line 16456)
16442 16443 16444 16445 16446 16447 16448 16449 16450 16451 16452 16453 16454 16455 16456 16457 16458 16459 16460 16461 16462 16463 16464 16465 16466 16467 16468 16469 16470 16471 16472 16473 16474 16475 16476 16477 16478 16479 16480 16481 16482 16483 16484
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateContactFlowMetadata,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateContactFlowMetadataError>,
> {
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::UpdateContactFlowMetadataOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateContactFlowMetadataError>,
> {
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 UpdateContactFlowMetadataInput
.
source§impl UpdateContactFlowMetadataInput
impl UpdateContactFlowMetadataInput
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_id(&self) -> Option<&str>
pub fn contact_flow_id(&self) -> Option<&str>
The identifier of the flow.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the flow.
sourcepub fn contact_flow_state(&self) -> Option<&ContactFlowState>
pub fn contact_flow_state(&self) -> Option<&ContactFlowState>
The state of flow.
Trait Implementations§
source§impl Clone for UpdateContactFlowMetadataInput
impl Clone for UpdateContactFlowMetadataInput
source§fn clone(&self) -> UpdateContactFlowMetadataInput
fn clone(&self) -> UpdateContactFlowMetadataInput
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