Module Values.UpdateAIPromptRequestSource

Updates an AI Prompt.

Sourcetype nonrec t = {
  1. clientToken : ClientToken.t option;
    (*

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs..

    *)
  2. assistantId : UuidOrArn.t;
    (*

    The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

    *)
  3. aiPromptId : UuidOrArnOrEitherWithQualifier.t;
    (*

    The identifier of the Amazon Q in Connect AI Prompt.

    *)
  4. visibilityStatus : VisibilityStatus.t;
    (*

    The visibility status of the Amazon Q in Connect AI prompt.

    *)
  5. templateConfiguration : AIPromptTemplateConfiguration.t option;
    (*

    The configuration of the prompt template for this AI Prompt.

    *)
  6. description : Description.t option;
    (*

    The description of the Amazon Q in Connect AI Prompt.

    *)
  7. modelId : AIPromptModelIdentifier.t option;
    (*

    The identifier of the model used for this AI Prompt. For information about which models are supported in each Amazon Web Services Region, see Supported models for system/custom prompts.

    *)
  8. inferenceConfiguration : AIPromptInferenceConfiguration.t option;
    (*

    The updated inference configuration for the AI Prompt.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> ?templateConfiguration:??? -> ?description:??? -> ?modelId:??? -> ?inferenceConfiguration:??? -> assistantId:UuidOrArn.t -> aiPromptId:UuidOrArnOrEitherWithQualifier.t -> visibilityStatus:VisibilityStatus.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of ClientToken.t | `Structure of (string * [> `Float of Probability.t | `Integer of TopK.t | `Structure of (string * [> `String of TextAIPrompt.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