1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateContactRoutingData`](crate::operation::update_contact_routing_data::builders::UpdateContactRoutingDataFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`instance_id(impl Into<String>)`](crate::operation::update_contact_routing_data::builders::UpdateContactRoutingDataFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::update_contact_routing_data::builders::UpdateContactRoutingDataFluentBuilder::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>
    ///   - [`contact_id(impl Into<String>)`](crate::operation::update_contact_routing_data::builders::UpdateContactRoutingDataFluentBuilder::contact_id) / [`set_contact_id(Option<String>)`](crate::operation::update_contact_routing_data::builders::UpdateContactRoutingDataFluentBuilder::set_contact_id):<br>required: **true**<br><p>The identifier of the contact in this instance of Amazon Connect.</p><br>
    ///   - [`queue_time_adjustment_seconds(i32)`](crate::operation::update_contact_routing_data::builders::UpdateContactRoutingDataFluentBuilder::queue_time_adjustment_seconds) / [`set_queue_time_adjustment_seconds(Option<i32>)`](crate::operation::update_contact_routing_data::builders::UpdateContactRoutingDataFluentBuilder::set_queue_time_adjustment_seconds):<br>required: **false**<br><p>The number of seconds to add or subtract from the contact's routing age. Contacts are routed to agents on a first-come, first-serve basis. This means that changing their amount of time in queue compared to others also changes their position in queue.</p><br>
    ///   - [`queue_priority(i64)`](crate::operation::update_contact_routing_data::builders::UpdateContactRoutingDataFluentBuilder::queue_priority) / [`set_queue_priority(Option<i64>)`](crate::operation::update_contact_routing_data::builders::UpdateContactRoutingDataFluentBuilder::set_queue_priority):<br>required: **false**<br><p>Priority of the contact in the queue. The default priority for new contacts is 5. You can raise the priority of a contact compared to other contacts in the queue by assigning them a higher priority, such as 1 or 2.</p><br>
    /// - On success, responds with [`UpdateContactRoutingDataOutput`](crate::operation::update_contact_routing_data::UpdateContactRoutingDataOutput)
    /// - On failure, responds with [`SdkError<UpdateContactRoutingDataError>`](crate::operation::update_contact_routing_data::UpdateContactRoutingDataError)
    pub fn update_contact_routing_data(&self) -> crate::operation::update_contact_routing_data::builders::UpdateContactRoutingDataFluentBuilder {
        crate::operation::update_contact_routing_data::builders::UpdateContactRoutingDataFluentBuilder::new(self.handle.clone())
    }
}