Module Values.FlowNodeInputSource

Contains configurations for an input in an Amazon Bedrock Flows node.

Sourcetype nonrec t = {
  1. name : FlowNodeInputName.t;
    (*

    Specifies a name for the input that you can reference.

    *)
  2. type_ : FlowNodeIODataType.t;
    (*

    Specifies the data type of the input. If the input doesn't match this type at runtime, a validation error will be thrown.

    *)
  3. expression : FlowNodeInputExpression.t;
    (*

    An expression that formats the input for the node. For an explanation of how to create expressions, see Expressions in Prompt flows in Amazon Bedrock.

    *)
  4. category : FlowNodeInputCategory.t option;
    (*

    Specifies how input data flows between iterations in a DoWhile loop. LoopCondition - Controls whether the loop continues by evaluating condition expressions against the input data. Use this category to define the condition that determines if the loop should continue. ReturnValueToLoopStart - Defines data to pass back to the start of the loop's next iteration. Use this category for variables that you want to update for each loop iteration. ExitLoop - Defines the value that's available once the loop ends. Use this category to expose loop results to nodes outside the loop.

    *)
}
Sourceval context_ : string
Sourceval make : ?category:??? -> name:FlowNodeInputName.t -> type_:FlowNodeIODataType.t -> expression:FlowNodeInputExpression.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of FlowNodeInputName.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