Module Values.UpdateRelatedItemResponseSource

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. relatedItemId : RelatedItemId.t option;
    (*

    The unique identifier of the updated related item.

    *)
  2. relatedItemArn : RelatedItemArn.t option;
    (*

    The Amazon Resource Name (ARN) of the updated related item.

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

    Type of the updated related item.

    *)
  4. content : RelatedItemContent.t option;
    (*

    Represents the content of the updated related item.

    *)
  5. associationTime : AssociationTime.t option;
    (*

    Time at which the related item was associated with the case.

    *)
  6. tags : Tags.t option;
    (*

    A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.

    *)
  7. lastUpdatedUser : UserUnion.t option;
    (*

    Represents the last user that updated the related item.

    *)
  8. createdBy : UserUnion.t option;
    (*

    Represents the creator of the related item.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  5. | `ThrottlingException of ThrottlingException.t
  6. | `ValidationException of ValidationException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?relatedItemId:??? -> ?relatedItemArn:??? -> ?type_:??? -> ?content:??? -> ?associationTime:??? -> ?tags:??? -> ?lastUpdatedUser:??? -> ?createdBy:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.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 | `ServiceQuotaExceededException of ServiceQuotaExceededException.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 * [> `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 ]
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