Module Values.CreateRelatedItemRequestSource

Creates a related item (comments, tasks, and contacts) and associates it with a case. There's a quota for the number of fields allowed in a Custom type related item. See Amazon Connect Cases quotas. Use cases Following are examples of related items that you may want to associate with a case: Related contacts, such as calls, chats, emails tasks Comments, for agent notes SLAs, to capture target resolution goals Cases, to capture related Amazon Connect Cases Files, such as policy documentation or customer-provided attachments Custom related items, which provide flexibility for you to define related items that such as bookings, orders, products, notices, and more Important things to know If you are associating a contact to a case by passing in Contact for a type, you must have DescribeContact permission on the ARN of the contact that you provide in content.contact.contactArn. A Related Item is a resource that is associated with a case. It may or may not have an external identifier linking it to an external resource (for example, a contactArn). All Related Items have their own internal identifier, the relatedItemArn. Examples of related items include comments and contacts. If you provide a value for performedBy.userArn you must also have DescribeUser permission on the ARN of the user that you provide. The type field is reserved for internal use only. Endpoints: See Amazon Connect endpoints and quotas.

Sourcetype nonrec t = {
  1. domainId : DomainId.t;
    (*

    The unique identifier of the Cases domain.

    *)
  2. caseId : CaseId.t;
    (*

    A unique identifier of the case.

    *)
  3. type_ : RelatedItemType.t;
    (*

    The type of a related item.

    *)
  4. content : RelatedItemInputContent.t;
    (*

    The content of a related item to be created.

    *)
  5. performedBy : UserUnion.t option;
    (*

    Represents the creator of the related item.

    *)
}
Sourceval context_ : string
Sourceval make : ?performedBy:??? -> domainId:DomainId.t -> caseId:CaseId.t -> type_:RelatedItemType.t -> content:RelatedItemInputContent.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of DomainId.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 | `Long of TargetSlaMinutes.t | `String of SlaName.t ]) list ]) 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