#[non_exhaustive]pub struct UpdateRoutingProfileQueuesInput { /* private fields */ }
Implementations§
source§impl UpdateRoutingProfileQueuesInput
impl UpdateRoutingProfileQueuesInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateRoutingProfileQueues, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateRoutingProfileQueues, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateRoutingProfileQueues
>
Examples found in repository?
src/client.rs (line 18440)
18426 18427 18428 18429 18430 18431 18432 18433 18434 18435 18436 18437 18438 18439 18440 18441 18442 18443 18444 18445 18446 18447 18448 18449 18450 18451 18452 18453 18454 18455 18456 18457 18458 18459 18460 18461 18462 18463 18464 18465 18466 18467 18468
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateRoutingProfileQueues,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateRoutingProfileQueuesError>,
> {
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::UpdateRoutingProfileQueuesOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateRoutingProfileQueuesError>,
> {
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 UpdateRoutingProfileQueuesInput
.
source§impl UpdateRoutingProfileQueuesInput
impl UpdateRoutingProfileQueuesInput
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 routing_profile_id(&self) -> Option<&str>
pub fn routing_profile_id(&self) -> Option<&str>
The identifier of the routing profile.
sourcepub fn queue_configs(&self) -> Option<&[RoutingProfileQueueConfig]>
pub fn queue_configs(&self) -> Option<&[RoutingProfileQueueConfig]>
The queues to be updated for this routing profile. Queues must first be associated to the routing profile. You can do this using AssociateRoutingProfileQueues.
Trait Implementations§
source§impl Clone for UpdateRoutingProfileQueuesInput
impl Clone for UpdateRoutingProfileQueuesInput
source§fn clone(&self) -> UpdateRoutingProfileQueuesInput
fn clone(&self) -> UpdateRoutingProfileQueuesInput
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