Module Values.SearchAllRelatedItemsResponseSource

Searches for related items across all cases within a domain. This is a global search operation that returns related items from multiple cases, unlike the case-specific SearchRelatedItems API. Use cases Following are common uses cases for this API: Find cases with similar issues across the domain. For example, search for all cases containing comments about "product defect" to identify patterns and existing solutions. Locate all cases associated with specific contacts or orders. For example, find all cases linked to a contactArn to understand the complete customer journey. Monitor SLA compliance across cases. For example, search for all cases with "Active" SLA status to prioritize remediation efforts. Important things to know This API returns case identifiers, not complete case objects. To retrieve full case details, you must make additional calls to the GetCase API for each returned case ID. This API searches across related items content, not case fields. Use the SearchCases API to search within case field values. Endpoints: See Amazon Connect endpoints and quotas.

Sourcetype nonrec t = {
  1. nextToken : NextToken.t option;
    (*

    The token for the next set of results. This is null if there are no more results to return.

    *)
  2. relatedItems : SearchAllRelatedItemsResponseRelatedItemsList.t option;
    (*

    A list of items related to a case.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ThrottlingException of ThrottlingException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?nextToken:??? -> ?relatedItems:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `Map of ([> `String of String_.t ] * [> `String of String_.t ]) list | `String of RelatedItemId.t | `Structure of (string * [> `String of UserArn.t | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of FieldId.t | `Structure of (string * [> `Boolean of Boolean.t | `Double of Double.t | `String of FieldValueUnionStringValueString.t | `Structure of 'a list ]) list ]) list ] list | `String of ContactArn.t | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Boolean of Boolean.t | `Double of Double.t | `String of FieldValueUnionStringValueString.t | `Structure of 'b list ]) list ] list | `String of SlaName.t | `Timestamp of SlaTargetTime.t ]) list | `Timestamp of ConnectedToSystemTime.t ]) list ]) list | `Timestamp of AssociationTime.t ]) list ] list | `String of NextToken.t ]) 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