Class: Aws::BedrockAgent::Types::FlowNodeConfiguration

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

Overview

Note:

FlowNodeConfiguration is a union - when making an API calls you must set exactly one of the members.

Note:

FlowNodeConfiguration is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of FlowNodeConfiguration corresponding to the set member.

Contains configurations for a node in your flow. For more information, see Node types in Amazon Bedrock works in the Amazon Bedrock User Guide.

Defined Under Namespace

Classes: Agent, Collector, Condition, Input, Iterator, KnowledgeBase, LambdaFunction, Lex, Output, Prompt, Retrieval, Storage, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#agentTypes::AgentFlowNodeConfiguration

Contains configurations for an agent node in your flow. Invokes an alias of an agent and returns the response.



3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3180

class FlowNodeConfiguration < Struct.new(
  :agent,
  :collector,
  :condition,
  :input,
  :iterator,
  :knowledge_base,
  :lambda_function,
  :lex,
  :output,
  :prompt,
  :retrieval,
  :storage,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Agent < FlowNodeConfiguration; end
  class Collector < FlowNodeConfiguration; end
  class Condition < FlowNodeConfiguration; end
  class Input < FlowNodeConfiguration; end
  class Iterator < FlowNodeConfiguration; end
  class KnowledgeBase < FlowNodeConfiguration; end
  class LambdaFunction < FlowNodeConfiguration; end
  class Lex < FlowNodeConfiguration; end
  class Output < FlowNodeConfiguration; end
  class Prompt < FlowNodeConfiguration; end
  class Retrieval < FlowNodeConfiguration; end
  class Storage < FlowNodeConfiguration; end
  class Unknown < FlowNodeConfiguration; end
end

#collectorTypes::CollectorFlowNodeConfiguration

Contains configurations for a collector node in your flow. Collects an iteration of inputs and consolidates them into an array of outputs.

Returns:

  • (Types::CollectorFlowNodeConfiguration)


3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3180

class FlowNodeConfiguration < Struct.new(
  :agent,
  :collector,
  :condition,
  :input,
  :iterator,
  :knowledge_base,
  :lambda_function,
  :lex,
  :output,
  :prompt,
  :retrieval,
  :storage,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Agent < FlowNodeConfiguration; end
  class Collector < FlowNodeConfiguration; end
  class Condition < FlowNodeConfiguration; end
  class Input < FlowNodeConfiguration; end
  class Iterator < FlowNodeConfiguration; end
  class KnowledgeBase < FlowNodeConfiguration; end
  class LambdaFunction < FlowNodeConfiguration; end
  class Lex < FlowNodeConfiguration; end
  class Output < FlowNodeConfiguration; end
  class Prompt < FlowNodeConfiguration; end
  class Retrieval < FlowNodeConfiguration; end
  class Storage < FlowNodeConfiguration; end
  class Unknown < FlowNodeConfiguration; end
end

#conditionTypes::ConditionFlowNodeConfiguration

Contains configurations for a Condition node in your flow. Defines conditions that lead to different branches of the flow.



3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3180

class FlowNodeConfiguration < Struct.new(
  :agent,
  :collector,
  :condition,
  :input,
  :iterator,
  :knowledge_base,
  :lambda_function,
  :lex,
  :output,
  :prompt,
  :retrieval,
  :storage,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Agent < FlowNodeConfiguration; end
  class Collector < FlowNodeConfiguration; end
  class Condition < FlowNodeConfiguration; end
  class Input < FlowNodeConfiguration; end
  class Iterator < FlowNodeConfiguration; end
  class KnowledgeBase < FlowNodeConfiguration; end
  class LambdaFunction < FlowNodeConfiguration; end
  class Lex < FlowNodeConfiguration; end
  class Output < FlowNodeConfiguration; end
  class Prompt < FlowNodeConfiguration; end
  class Retrieval < FlowNodeConfiguration; end
  class Storage < FlowNodeConfiguration; end
  class Unknown < FlowNodeConfiguration; end
end

#inputTypes::InputFlowNodeConfiguration

Contains configurations for an input flow node in your flow. The first node in the flow. inputs can't be specified for this node.

Returns:

  • (Types::InputFlowNodeConfiguration)


3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3180

class FlowNodeConfiguration < Struct.new(
  :agent,
  :collector,
  :condition,
  :input,
  :iterator,
  :knowledge_base,
  :lambda_function,
  :lex,
  :output,
  :prompt,
  :retrieval,
  :storage,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Agent < FlowNodeConfiguration; end
  class Collector < FlowNodeConfiguration; end
  class Condition < FlowNodeConfiguration; end
  class Input < FlowNodeConfiguration; end
  class Iterator < FlowNodeConfiguration; end
  class KnowledgeBase < FlowNodeConfiguration; end
  class LambdaFunction < FlowNodeConfiguration; end
  class Lex < FlowNodeConfiguration; end
  class Output < FlowNodeConfiguration; end
  class Prompt < FlowNodeConfiguration; end
  class Retrieval < FlowNodeConfiguration; end
  class Storage < FlowNodeConfiguration; end
  class Unknown < FlowNodeConfiguration; end
end

#iteratorTypes::IteratorFlowNodeConfiguration

Contains configurations for an iterator node in your flow. Takes an input that is an array and iteratively sends each item of the array as an output to the following node. The size of the array is also returned in the output.

The output flow node at the end of the flow iteration will return a response for each member of the array. To return only one response, you can include a collector node downstream from the iterator node.

Returns:

  • (Types::IteratorFlowNodeConfiguration)


3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3180

class FlowNodeConfiguration < Struct.new(
  :agent,
  :collector,
  :condition,
  :input,
  :iterator,
  :knowledge_base,
  :lambda_function,
  :lex,
  :output,
  :prompt,
  :retrieval,
  :storage,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Agent < FlowNodeConfiguration; end
  class Collector < FlowNodeConfiguration; end
  class Condition < FlowNodeConfiguration; end
  class Input < FlowNodeConfiguration; end
  class Iterator < FlowNodeConfiguration; end
  class KnowledgeBase < FlowNodeConfiguration; end
  class LambdaFunction < FlowNodeConfiguration; end
  class Lex < FlowNodeConfiguration; end
  class Output < FlowNodeConfiguration; end
  class Prompt < FlowNodeConfiguration; end
  class Retrieval < FlowNodeConfiguration; end
  class Storage < FlowNodeConfiguration; end
  class Unknown < FlowNodeConfiguration; end
end

#knowledge_baseTypes::KnowledgeBaseFlowNodeConfiguration

Contains configurations for a knowledge base node in your flow. Queries a knowledge base and returns the retrieved results or generated response.



3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3180

class FlowNodeConfiguration < Struct.new(
  :agent,
  :collector,
  :condition,
  :input,
  :iterator,
  :knowledge_base,
  :lambda_function,
  :lex,
  :output,
  :prompt,
  :retrieval,
  :storage,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Agent < FlowNodeConfiguration; end
  class Collector < FlowNodeConfiguration; end
  class Condition < FlowNodeConfiguration; end
  class Input < FlowNodeConfiguration; end
  class Iterator < FlowNodeConfiguration; end
  class KnowledgeBase < FlowNodeConfiguration; end
  class LambdaFunction < FlowNodeConfiguration; end
  class Lex < FlowNodeConfiguration; end
  class Output < FlowNodeConfiguration; end
  class Prompt < FlowNodeConfiguration; end
  class Retrieval < FlowNodeConfiguration; end
  class Storage < FlowNodeConfiguration; end
  class Unknown < FlowNodeConfiguration; end
end

#lambda_functionTypes::LambdaFunctionFlowNodeConfiguration

Contains configurations for a Lambda function node in your flow. Invokes an Lambda function.



3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3180

class FlowNodeConfiguration < Struct.new(
  :agent,
  :collector,
  :condition,
  :input,
  :iterator,
  :knowledge_base,
  :lambda_function,
  :lex,
  :output,
  :prompt,
  :retrieval,
  :storage,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Agent < FlowNodeConfiguration; end
  class Collector < FlowNodeConfiguration; end
  class Condition < FlowNodeConfiguration; end
  class Input < FlowNodeConfiguration; end
  class Iterator < FlowNodeConfiguration; end
  class KnowledgeBase < FlowNodeConfiguration; end
  class LambdaFunction < FlowNodeConfiguration; end
  class Lex < FlowNodeConfiguration; end
  class Output < FlowNodeConfiguration; end
  class Prompt < FlowNodeConfiguration; end
  class Retrieval < FlowNodeConfiguration; end
  class Storage < FlowNodeConfiguration; end
  class Unknown < FlowNodeConfiguration; end
end

#lexTypes::LexFlowNodeConfiguration

Contains configurations for a Lex node in your flow. Invokes an Amazon Lex bot to identify the intent of the input and return the intent as the output.



3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3180

class FlowNodeConfiguration < Struct.new(
  :agent,
  :collector,
  :condition,
  :input,
  :iterator,
  :knowledge_base,
  :lambda_function,
  :lex,
  :output,
  :prompt,
  :retrieval,
  :storage,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Agent < FlowNodeConfiguration; end
  class Collector < FlowNodeConfiguration; end
  class Condition < FlowNodeConfiguration; end
  class Input < FlowNodeConfiguration; end
  class Iterator < FlowNodeConfiguration; end
  class KnowledgeBase < FlowNodeConfiguration; end
  class LambdaFunction < FlowNodeConfiguration; end
  class Lex < FlowNodeConfiguration; end
  class Output < FlowNodeConfiguration; end
  class Prompt < FlowNodeConfiguration; end
  class Retrieval < FlowNodeConfiguration; end
  class Storage < FlowNodeConfiguration; end
  class Unknown < FlowNodeConfiguration; end
end

#outputTypes::OutputFlowNodeConfiguration

Contains configurations for an output flow node in your flow. The last node in the flow. outputs can't be specified for this node.

Returns:

  • (Types::OutputFlowNodeConfiguration)


3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3180

class FlowNodeConfiguration < Struct.new(
  :agent,
  :collector,
  :condition,
  :input,
  :iterator,
  :knowledge_base,
  :lambda_function,
  :lex,
  :output,
  :prompt,
  :retrieval,
  :storage,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Agent < FlowNodeConfiguration; end
  class Collector < FlowNodeConfiguration; end
  class Condition < FlowNodeConfiguration; end
  class Input < FlowNodeConfiguration; end
  class Iterator < FlowNodeConfiguration; end
  class KnowledgeBase < FlowNodeConfiguration; end
  class LambdaFunction < FlowNodeConfiguration; end
  class Lex < FlowNodeConfiguration; end
  class Output < FlowNodeConfiguration; end
  class Prompt < FlowNodeConfiguration; end
  class Retrieval < FlowNodeConfiguration; end
  class Storage < FlowNodeConfiguration; end
  class Unknown < FlowNodeConfiguration; end
end

#promptTypes::PromptFlowNodeConfiguration

Contains configurations for a prompt node in your flow. Runs a prompt and generates the model response as the output. You can use a prompt from Prompt management or you can configure one in this node.



3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3180

class FlowNodeConfiguration < Struct.new(
  :agent,
  :collector,
  :condition,
  :input,
  :iterator,
  :knowledge_base,
  :lambda_function,
  :lex,
  :output,
  :prompt,
  :retrieval,
  :storage,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Agent < FlowNodeConfiguration; end
  class Collector < FlowNodeConfiguration; end
  class Condition < FlowNodeConfiguration; end
  class Input < FlowNodeConfiguration; end
  class Iterator < FlowNodeConfiguration; end
  class KnowledgeBase < FlowNodeConfiguration; end
  class LambdaFunction < FlowNodeConfiguration; end
  class Lex < FlowNodeConfiguration; end
  class Output < FlowNodeConfiguration; end
  class Prompt < FlowNodeConfiguration; end
  class Retrieval < FlowNodeConfiguration; end
  class Storage < FlowNodeConfiguration; end
  class Unknown < FlowNodeConfiguration; end
end

#retrievalTypes::RetrievalFlowNodeConfiguration

Contains configurations for a Retrieval node in your flow. Retrieves data from an Amazon S3 location and returns it as the output.



3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3180

class FlowNodeConfiguration < Struct.new(
  :agent,
  :collector,
  :condition,
  :input,
  :iterator,
  :knowledge_base,
  :lambda_function,
  :lex,
  :output,
  :prompt,
  :retrieval,
  :storage,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Agent < FlowNodeConfiguration; end
  class Collector < FlowNodeConfiguration; end
  class Condition < FlowNodeConfiguration; end
  class Input < FlowNodeConfiguration; end
  class Iterator < FlowNodeConfiguration; end
  class KnowledgeBase < FlowNodeConfiguration; end
  class LambdaFunction < FlowNodeConfiguration; end
  class Lex < FlowNodeConfiguration; end
  class Output < FlowNodeConfiguration; end
  class Prompt < FlowNodeConfiguration; end
  class Retrieval < FlowNodeConfiguration; end
  class Storage < FlowNodeConfiguration; end
  class Unknown < FlowNodeConfiguration; end
end

#storageTypes::StorageFlowNodeConfiguration

Contains configurations for a Storage node in your flow. Stores an input in an Amazon S3 location.



3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3180

class FlowNodeConfiguration < Struct.new(
  :agent,
  :collector,
  :condition,
  :input,
  :iterator,
  :knowledge_base,
  :lambda_function,
  :lex,
  :output,
  :prompt,
  :retrieval,
  :storage,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Agent < FlowNodeConfiguration; end
  class Collector < FlowNodeConfiguration; end
  class Condition < FlowNodeConfiguration; end
  class Input < FlowNodeConfiguration; end
  class Iterator < FlowNodeConfiguration; end
  class KnowledgeBase < FlowNodeConfiguration; end
  class LambdaFunction < FlowNodeConfiguration; end
  class Lex < FlowNodeConfiguration; end
  class Output < FlowNodeConfiguration; end
  class Prompt < FlowNodeConfiguration; end
  class Retrieval < FlowNodeConfiguration; end
  class Storage < FlowNodeConfiguration; end
  class Unknown < FlowNodeConfiguration; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



3180
3181
3182
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3180

def unknown
  @unknown
end