Class: Aws::BedrockAgent::Types::FunctionSchema
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgent::Types::FunctionSchema
- Includes:
- Structure, Structure::Union
- Defined in:
- lib/aws-sdk-bedrockagent/types.rb
Overview
FunctionSchema is a union - when making an API calls you must set exactly one of the members.
FunctionSchema is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of FunctionSchema corresponding to the set member.
Defines functions that each define parameters that the agent needs to invoke from the user. Each function represents an action in an action group.
This data type is used in the following API operations:
- CreateAgentActionGroup request][1
- CreateAgentActionGroup response][2
- UpdateAgentActionGroup request][3
- UpdateAgentActionGroup response][4
- GetAgentActionGroup response][5
[1]: docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateAgentActionGroup.html#API_agent_CreateAgentActionGroup_RequestSyntax [2]: docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreateAgentActionGroup.html#API_agent_CreateAgentActionGroup_ResponseSyntax [3]: docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_UpdateAgentActionGroup.html#API_agent_UpdateAgentActionGroup_RequestSyntax [4]: docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_UpdateAgentActionGroup.html#API_agent_UpdateAgentActionGroup_ResponseSyntax [5]: docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_GetAgentActionGroup.html#API_agent_GetAgentActionGroup_ResponseSyntax
Defined Under Namespace
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#functions ⇒ Array<Types::Function>
A list of functions that each define an action in the action group.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#functions ⇒ Array<Types::Function>
A list of functions that each define an action in the action group.
1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1825 class FunctionSchema < Struct.new( :functions, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Functions < FunctionSchema; end class Unknown < FunctionSchema; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
1825 1826 1827 |
# File 'lib/aws-sdk-bedrockagent/types.rb', line 1825 def unknown @unknown end |