Module Values.CreateFlowResponseSource

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 option;
    (*

    The name of the flow.

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

    The description of the flow.

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

    The Amazon Resource Name (ARN) of the service role with permissions to create 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 that you encrypted the flow with.

    *)
  5. id : FlowId.t option;
    (*

    The unique identifier of the flow.

    *)
  6. arn : FlowArn.t option;
    (*

    The Amazon Resource Name (ARN) of the flow.

    *)
  7. status : FlowStatus.t option;
    (*

    The status of the flow. When you submit this request, the status will be NotPrepared. If creation fails, the status becomes Failed.

    *)
  8. createdAt : DateTimestamp.t option;
    (*

    The time at which the flow was created.

    *)
  9. updatedAt : DateTimestamp.t option;
    (*

    The time at which the flow was last updated.

    *)
  10. version : DraftVersion.t option;
    (*

    The version of the flow. When you create a flow, the version created is the DRAFT version.

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

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

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ConflictException of ConflictException.t
  3. | `InternalServerException of InternalServerException.t
  4. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  5. | `ThrottlingException of ThrottlingException.t
  6. | `ValidationException of ValidationException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?name:??? -> ?description:??? -> ?executionRoleArn:??? -> ?customerEncryptionKeyArn:??? -> ?id:??? -> ?arn:??? -> ?status:??? -> ?createdAt:??? -> ?updatedAt:??? -> ?version:??? -> ?definition:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.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 * 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