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.



3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3963

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)


3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3963

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.



3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3963

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)


3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3963

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)


3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3963

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.



3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3963

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.



3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3963

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.



3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3963

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)


3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3963

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.



3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3963

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.



3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3963

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.



3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3963

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



3963
3964
3965
# File 'gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb', line 3963

def unknown
  @unknown
end