Module Values_2.SubmitContactEvaluationRequestSource

Submits a contact evaluation in the specified Amazon Connect instance. Answers included in the request are merged with existing answers for the given evaluation. If no answers or notes are passed, the evaluation is submitted with the existing answers and notes. You can delete an answer or note by passing an empty object ({}) to the question identifier. If a contact evaluation is already in submitted state, this operation will trigger a resubmission.

Sourcetype nonrec t = {
  1. instanceId : Values_0.InstanceId.t;
    (*

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

    *)
  2. evaluationId : Values_0.ResourceId.t;
    (*

    A unique identifier for the contact evaluation.

    *)
  3. answers : Values_1.EvaluationAnswersInputMap.t option;
    (*

    A map of question identifiers to answer value.

    *)
  4. notes : Values_1.EvaluationNotesMap.t option;
    (*

    A map of question identifiers to note value.

    *)
  5. submittedBy : Values_1.EvaluatorUserUnion.t option;
    (*

    The ID of the user who submitted the contact evaluation.

    *)
}
Sourceval context_ : string
Sourceval make : ?answers:??? -> ?notes:??? -> ?submittedBy:??? -> instanceId:Values_0.InstanceId.t -> evaluationId:Values_0.ResourceId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of Values_0.ResourceId.t ] * [> `Structure of (string * [> `String of string | `Structure of (string * [> `Boolean of Values_0.Boolean.t | `Double of float | `List of [> `String of string ] list | `String of string ]) list ]) list ]) list | `String of Values_0.InstanceId.t | `Structure of (string * [> `String of Values_0.ARN.t ]) 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