Module Values.UpdateRelatedItemRequestSource

Updates the content of a related item associated with a case. The following related item types are supported: Comment - Update the text content of an existing comment Custom - Update the fields of a custom related item. You can add, modify, and remove fields from a custom related item. There's a quota for the number of fields allowed in a Custom type related item. See Amazon Connect Cases quotas. Important things to know When updating a Custom related item, all existing and new fields, and their associated values should be included in the request. Fields not included as part of this request will be removed. If you provide a value for performedBy.userArn you must also have DescribeUser permission on the ARN of the user that you provide. System case fields cannot be used in a custom related item. 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. relatedItemId : RelatedItemId.t;
    (*

    Unique identifier of a related item.

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

    The content of a related item to be updated.

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

    Represents the user who performed the update of the related item.

    *)
}
Sourceval context_ : string
Sourceval make : ?performedBy:??? -> domainId:DomainId.t -> caseId:CaseId.t -> relatedItemId:RelatedItemId.t -> content:RelatedItemUpdateContent.t -> unit -> t
Sourceval to_value : t -> [> `Structure 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 CommentBody.t ]) 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