Class: Aws::BedrockAgent::Types::FlowNodeInput

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-bedrockagent/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[:expression]

Instance Attribute Summary collapse

Instance Attribute Details

#categoryString

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.



4301
4302
4303
4304
4305
4306
4307
4308
# File 'lib/aws-sdk-bedrockagent/types.rb', line 4301

class FlowNodeInput < Struct.new(
  :name,
  :type,
  :expression,
  :category)
  SENSITIVE = [:expression]
  include Aws::Structure
end

#expressionString

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].

[1]: docs.aws.amazon.com/bedrock/latest/userguide/flows-expressions.html



4301
4302
4303
4304
4305
4306
4307
4308
# File 'lib/aws-sdk-bedrockagent/types.rb', line 4301

class FlowNodeInput < Struct.new(
  :name,
  :type,
  :expression,
  :category)
  SENSITIVE = [:expression]
  include Aws::Structure
end

#nameString

Specifies a name for the input that you can reference.



4301
4302
4303
4304
4305
4306
4307
4308
# File 'lib/aws-sdk-bedrockagent/types.rb', line 4301

class FlowNodeInput < Struct.new(
  :name,
  :type,
  :expression,
  :category)
  SENSITIVE = [:expression]
  include Aws::Structure
end

#typeString

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



4301
4302
4303
4304
4305
4306
4307
4308
# File 'lib/aws-sdk-bedrockagent/types.rb', line 4301

class FlowNodeInput < Struct.new(
  :name,
  :type,
  :expression,
  :category)
  SENSITIVE = [:expression]
  include Aws::Structure
end