Module Values_2.SearchCriteriaSource

A structure of search criteria to be used to return contacts.

Sourcetype nonrec t = {
  1. name : NameCriteria.t option;
    (*

    Name of the contact.

    *)
  2. agentIds : Values_0.AgentResourceIdList.t option;
    (*

    The identifiers of agents who handled the contacts.

    *)
  3. agentHierarchyGroups : Values_0.AgentHierarchyGroups.t option;
    (*

    The agent hierarchy groups of the agent at the time of handling the contact.

    *)
  4. channels : Values_0.ChannelList.t option;
    (*

    The list of channels associated with contacts.

    *)
  5. contactAnalysis : Values_0.ContactAnalysis.t option;
    (*

    Search criteria based on analysis outputs from Amazon Connect Contact Lens.

    *)
  6. initiationMethods : Values_1.InitiationMethodList.t option;
    (*

    The list of initiation methods associated with contacts.

    *)
  7. queueIds : QueueIdList.t option;
    (*

    The list of queue IDs associated with contacts.

    *)
  8. routingCriteria : SearchableRoutingCriteria.t option;
    (*

    Routing criteria for the contact.

    *)
  9. additionalTimeRange : SearchContactsAdditionalTimeRange.t option;
    (*

    Additional TimeRange used to filter contacts.

    *)
  10. searchableContactAttributes : SearchableContactAttributes.t option;
    (*

    The search criteria based on user-defined contact attributes that have been configured for contact search. For more information, see Search by custom contact attributes in the Amazon Connect Administrator Guide. To use SearchableContactAttributes in a search request, the GetContactAttributes action is required to perform an API request. For more information, see https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonconnect.html#amazonconnect-actions-as-permissionsActions defined by Amazon Connect.

    *)
  11. searchableSegmentAttributes : SearchableSegmentAttributes.t option;
    (*

    The search criteria based on searchable segment attributes of a contact.

    *)
  12. activeRegions : Values_0.ActiveRegionList.t option;
    (*

    The list of active regions for contacts in ACGR instances.

    *)
  13. contactTags : Values_0.ControlPlaneTagFilter.t option;
}
Sourceval make : ?name:??? -> ?agentIds:??? -> ?agentHierarchyGroups:??? -> ?channels:??? -> ?contactAnalysis:??? -> ?initiationMethods:??? -> ?queueIds:??? -> ?routingCriteria:??? -> ?additionalTimeRange:??? -> ?searchableContactAttributes:??? -> ?searchableSegmentAttributes:??? -> ?activeRegions:??? -> ?contactTags:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Enum of string | `String of string ] list | `Structure of (string * [> `Enum of string | `List of [> `List of [> `Structure of (string * [> `String of string ]) list ] list | `String of string | `Structure of (string * [> `List of [> `String of SearchableContactAttributeValue.t ] list | `String of SearchableContactAttributeKey.t | `Structure of (string * [> `Enum of string | `List of [> `String of string ] list | `Timestamp of Values_0.Timestamp.t ]) list ]) list ] list | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `List of [> `String of string ] list ]) list ] list | `String of string ]) list ]) 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