AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the InvokeFlow operation. Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream. If there's an error, the error is returned. For more information, see Test a flow in Amazon Bedrock in the Amazon Bedrock User Guide.

The CLI doesn't support streaming operations in Amazon Bedrock, including InvokeFlow.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.BedrockAgentRuntime.AmazonBedrockAgentRuntimeRequest
      Amazon.BedrockAgentRuntime.Model.InvokeFlowRequest

Namespace: Amazon.BedrockAgentRuntime.Model
Assembly: AWSSDK.BedrockAgentRuntime.dll
Version: 3.x.y.z

Syntax

C#
public class InvokeFlowRequest : AmazonBedrockAgentRuntimeRequest
         IAmazonWebServiceRequest

The InvokeFlowRequest type exposes the following members

Constructors

NameDescription
Public Method InvokeFlowRequest()

Properties

NameTypeDescription
Public Property EnableTrace System.Boolean

Gets and sets the property EnableTrace.

Specifies whether to return the trace for the flow or not. Traces track inputs and outputs for nodes in the flow. For more information, see Track each step in your prompt flow by viewing its trace in Amazon Bedrock.

Public Property ExecutionId System.String

Gets and sets the property ExecutionId.

The unique identifier for the current flow execution. If you don't provide a value, Amazon Bedrock creates the identifier for you.

Public Property FlowAliasIdentifier System.String

Gets and sets the property FlowAliasIdentifier.

The unique identifier of the flow alias.

Public Property FlowIdentifier System.String

Gets and sets the property FlowIdentifier.

The unique identifier of the flow.

Public Property Inputs System.Collections.Generic.List<Amazon.BedrockAgentRuntime.Model.FlowInput>

Gets and sets the property Inputs.

A list of objects, each containing information about an input into the flow.

Public Property ModelPerformanceConfiguration Amazon.BedrockAgentRuntime.Model.ModelPerformanceConfiguration

Gets and sets the property ModelPerformanceConfiguration.

Model performance settings for the request.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5