Module Values.CreateFlowRequestSource

Creates a prompt flow that you can use to send an input through various steps to yield an output. Configure nodes, each of which corresponds to a step of the flow, and create connections between the nodes to create paths to different outputs. For more information, see How it works and Create a flow in Amazon Bedrock in the Amazon Bedrock User Guide.

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

    A name for the flow.

    *)
  2. description : FlowDescription.t option;
    (*

    A description for the flow.

    *)
  3. executionRoleArn : FlowExecutionRoleArn.t;
    (*

    The Amazon Resource Name (ARN) of the service role with permissions to create and manage a flow. For more information, see Create a service role for flows in Amazon Bedrock in the Amazon Bedrock User Guide.

    *)
  4. customerEncryptionKeyArn : KmsKeyArn.t option;
    (*

    The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.

    *)
  5. definition : FlowDefinition.t option;
    (*

    A definition of the nodes and connections between nodes in the flow.

    *)
  6. clientToken : ClientToken.t option;
    (*

    A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.

    *)
  7. tags : TagsMap.t option;
    (*

    Any tags that you want to attach to the flow. For more information, see Tagging resources in Amazon Bedrock.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?customerEncryptionKeyArn:??? -> ?definition:??? -> ?clientToken:??? -> ?tags:??? -> name:FlowName.t -> executionRoleArn:FlowExecutionRoleArn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * Awso.Botodata.value) 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