Module Values.PutFeedbackResponseSource

Provides feedback against the specified assistant for the specified target. This API only supports generative targets.

Sourcetype nonrec t = {
  1. assistantId : Uuid.t option;
    (*

    The identifier of the Amazon Q in Connect assistant.

    *)
  2. assistantArn : UuidOrArn.t option;
    (*

    The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.

    *)
  3. targetId : Uuid.t option;
    (*

    The identifier of the feedback target.

    *)
  4. targetType : TargetType.t option;
    (*

    The type of the feedback target.

    *)
  5. contentFeedback : ContentFeedbackData.t option;
    (*

    Information about the feedback provided.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ResourceNotFoundException of ResourceNotFoundException.t
  3. | `ValidationException of ValidationException.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval make : ?assistantId:??? -> ?assistantArn:??? -> ?targetId:??? -> ?targetType:??? -> ?contentFeedback:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `ResourceNotFoundException of ResourceNotFoundException.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 | `String of Uuid.t | `Structure of (string * [> `Structure of (string * [> `Enum of string ]) 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