aws_sdk_connect/client/update_routing_profile_agent_availability_timer.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`UpdateRoutingProfileAgentAvailabilityTimer`](crate::operation::update_routing_profile_agent_availability_timer::builders::UpdateRoutingProfileAgentAvailabilityTimerFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`instance_id(impl Into<String>)`](crate::operation::update_routing_profile_agent_availability_timer::builders::UpdateRoutingProfileAgentAvailabilityTimerFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::update_routing_profile_agent_availability_timer::builders::UpdateRoutingProfileAgentAvailabilityTimerFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p><br>
7 /// - [`routing_profile_id(impl Into<String>)`](crate::operation::update_routing_profile_agent_availability_timer::builders::UpdateRoutingProfileAgentAvailabilityTimerFluentBuilder::routing_profile_id) / [`set_routing_profile_id(Option<String>)`](crate::operation::update_routing_profile_agent_availability_timer::builders::UpdateRoutingProfileAgentAvailabilityTimerFluentBuilder::set_routing_profile_id):<br>required: **true**<br><p>The identifier of the routing profile.</p><br>
8 /// - [`agent_availability_timer(AgentAvailabilityTimer)`](crate::operation::update_routing_profile_agent_availability_timer::builders::UpdateRoutingProfileAgentAvailabilityTimerFluentBuilder::agent_availability_timer) / [`set_agent_availability_timer(Option<AgentAvailabilityTimer>)`](crate::operation::update_routing_profile_agent_availability_timer::builders::UpdateRoutingProfileAgentAvailabilityTimerFluentBuilder::set_agent_availability_timer):<br>required: **true**<br><p>Whether agents with this routing profile will have their routing order calculated based on <i>time since their last inbound contact</i> or <i>longest idle time</i>.</p><br>
9 /// - On success, responds with [`UpdateRoutingProfileAgentAvailabilityTimerOutput`](crate::operation::update_routing_profile_agent_availability_timer::UpdateRoutingProfileAgentAvailabilityTimerOutput)
10 /// - On failure, responds with [`SdkError<UpdateRoutingProfileAgentAvailabilityTimerError>`](crate::operation::update_routing_profile_agent_availability_timer::UpdateRoutingProfileAgentAvailabilityTimerError)
11 pub fn update_routing_profile_agent_availability_timer(
12 &self,
13 ) -> crate::operation::update_routing_profile_agent_availability_timer::builders::UpdateRoutingProfileAgentAvailabilityTimerFluentBuilder {
14 crate::operation::update_routing_profile_agent_availability_timer::builders::UpdateRoutingProfileAgentAvailabilityTimerFluentBuilder::new(
15 self.handle.clone(),
16 )
17 }
18}