aws_sdk_connect/client/update_routing_profile_agent_availability_timer.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateRoutingProfileAgentAvailabilityTimer`](crate::operation::update_routing_profile_agent_availability_timer::builders::UpdateRoutingProfileAgentAvailabilityTimerFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`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>
/// - [`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>
/// - [`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>
/// - On success, responds with [`UpdateRoutingProfileAgentAvailabilityTimerOutput`](crate::operation::update_routing_profile_agent_availability_timer::UpdateRoutingProfileAgentAvailabilityTimerOutput)
/// - On failure, responds with [`SdkError<UpdateRoutingProfileAgentAvailabilityTimerError>`](crate::operation::update_routing_profile_agent_availability_timer::UpdateRoutingProfileAgentAvailabilityTimerError)
pub fn update_routing_profile_agent_availability_timer(
&self,
) -> crate::operation::update_routing_profile_agent_availability_timer::builders::UpdateRoutingProfileAgentAvailabilityTimerFluentBuilder {
crate::operation::update_routing_profile_agent_availability_timer::builders::UpdateRoutingProfileAgentAvailabilityTimerFluentBuilder::new(
self.handle.clone(),
)
}
}