Module Values_2.UpdateContactRequestSource

This API is in preview release for Amazon Connect and is subject to change. Adds or updates user-defined contact information associated with the specified contact. At least one field to be updated must be present in the request. You can add or update user-defined contact information for both ongoing and completed contacts.

Sourcetype nonrec t = {
  1. instanceId : Values_0.InstanceId.t;
    (*

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

    *)
  2. contactId : Values_0.ContactId.t;
    (*

    The identifier of the contact. This is the identifier of the contact associated with the first interaction with your contact center.

    *)
  3. name : Values_0.Name.t option;
    (*

    The name of the contact.

    *)
  4. description : Values_0.Description.t option;
    (*

    The description of the contact.

    *)
  5. references : Values_0.ContactReferences.t option;
    (*

    Well-formed data on contact, shown to agents on Contact Control Panel (CCP).

    *)
  6. segmentAttributes : Values_0.SegmentAttributes.t option;
    (*

    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. Attribute keys can include only alphanumeric, -, and _. This field can be used to show channel subtype, such as connect:Guide. Contact Expiry, and user-defined attributes (String - String) that are defined in predefined attributes, can be updated by using the UpdateContact API.

    *)
  7. queueInfo : QueueInfoInput.t option;
    (*

    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 Amazon Connect Contact Lens integration in the Amazon Connect Administrator Guide.

    *)
  8. userInfo : Values_0.UserInfo.t option;
    (*

    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 Amazon Connect Contact Lens integration in the Amazon Connect Administrator Guide.

    *)
  9. customerEndpoint : Values_0.Endpoint.t option;
    (*

    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 Amazon Connect Contact Lens integration in the Amazon Connect Administrator Guide.

    *)
  10. systemEndpoint : Values_0.Endpoint.t option;
    (*

    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 Amazon Connect Contact Lens integration in the Amazon Connect Administrator Guide.

    *)
}
Sourceval context_ : string
Sourceval make : ?name:??? -> ?description:??? -> ?references:??? -> ?segmentAttributes:??? -> ?queueInfo:??? -> ?userInfo:??? -> ?customerEndpoint:??? -> ?systemEndpoint:??? -> instanceId:Values_0.InstanceId.t -> contactId:Values_0.ContactId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of string ] * Awso.Botodata.value) list | `String of Values_0.InstanceId.t | `Structure of (string * [> `Enum of string | `String of Values_0.QueueId.t ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t