aws_sdk_connect/client/update_contact.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateContact`](crate::operation::update_contact::builders::UpdateContactFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`instance_id(impl Into<String>)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::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::builders::UpdateContactFluentBuilder::contact_id) / [`set_contact_id(Option<String>)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::set_contact_id):<br>required: **true**<br><p>The identifier of the contact. This is the identifier of the contact associated with the first interaction with your contact center.</p><br>
/// - [`name(impl Into<String>)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::set_name):<br>required: **false**<br><p>The name of the contact.</p><br>
/// - [`description(impl Into<String>)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::set_description):<br>required: **false**<br><p>The description of the contact.</p><br>
/// - [`references(impl Into<String>, Reference)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::references) / [`set_references(Option<HashMap::<String, Reference>>)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::set_references):<br>required: **false**<br><p>Well-formed data on contact, shown to agents on Contact Control Panel (CCP).</p><br>
/// - [`segment_attributes(impl Into<String>, SegmentAttributeValue)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::segment_attributes) / [`set_segment_attributes(Option<HashMap::<String, SegmentAttributeValue>>)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::set_segment_attributes):<br>required: **false**<br><p>A set of system defined key-value pairs stored on individual contact segments (unique contact ID) using an attribute map. The attributes are standard Amazon Connect attributes. They can be accessed in flows.</p> <p>Attribute keys can include only alphanumeric, -, and _.</p> <p>This field can be used to show channel subtype, such as <code>connect:Guide</code>.</p> <p>Currently Contact Expiry is the only segment attribute which can be updated by using the UpdateContact API.</p><br>
/// - [`queue_info(QueueInfoInput)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::queue_info) / [`set_queue_info(Option<QueueInfoInput>)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::set_queue_info):<br>required: **false**<br><p>Information about the queue associated with a contact. This parameter can only be updated for external audio contacts. It is used when you integrate third-party systems with Contact Lens for analytics. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/contact-lens-integration.html">Amazon Connect Contact Lens integration</a> in the <i> Amazon Connect Administrator Guide</i>.</p><br>
/// - [`user_info(UserInfo)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::user_info) / [`set_user_info(Option<UserInfo>)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::set_user_info):<br>required: **false**<br><p>Information about the agent associated with a contact. This parameter can only be updated for external audio contacts. It is used when you integrate third-party systems with Contact Lens for analytics. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/contact-lens-integration.html">Amazon Connect Contact Lens integration</a> in the <i> Amazon Connect Administrator Guide</i>.</p><br>
/// - [`customer_endpoint(Endpoint)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::customer_endpoint) / [`set_customer_endpoint(Option<Endpoint>)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::set_customer_endpoint):<br>required: **false**<br><p>The endpoint of the customer for which the contact was initiated. For external audio contacts, this is usually the end customer's phone number. This value can only be updated for external audio contacts. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/contact-lens-integration.html">Amazon Connect Contact Lens integration</a> in the <i>Amazon Connect Administrator Guide</i>.</p><br>
/// - [`system_endpoint(Endpoint)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::system_endpoint) / [`set_system_endpoint(Option<Endpoint>)`](crate::operation::update_contact::builders::UpdateContactFluentBuilder::set_system_endpoint):<br>required: **false**<br><p>External system endpoint for the contact was initiated. For external audio contacts, this is the phone number of the external system such as the contact center. This value can only be updated for external audio contacts. For more information, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/contact-lens-integration.html">Amazon Connect Contact Lens integration</a> in the <i>Amazon Connect Administrator Guide</i>.</p><br>
/// - On success, responds with [`UpdateContactOutput`](crate::operation::update_contact::UpdateContactOutput)
/// - On failure, responds with [`SdkError<UpdateContactError>`](crate::operation::update_contact::UpdateContactError)
pub fn update_contact(&self) -> crate::operation::update_contact::builders::UpdateContactFluentBuilder {
crate::operation::update_contact::builders::UpdateContactFluentBuilder::new(self.handle.clone())
}
}