Class: Aws::BedrockAgentRuntime::Types::InvocationResultMember
- Inherits:
-
Struct
- Object
- Struct
- Aws::BedrockAgentRuntime::Types::InvocationResultMember
- Defined in:
- gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb
Overview
Note:
InvocationResultMember is a union - when making an API calls you must set exactly one of the members.
A result from the invocation of an action. For more information, see Return control to the agent developer and Control session context.
This data type is used in the following API operations:
^
Direct Known Subclasses
Defined Under Namespace
Classes: ApiResult, FunctionResult, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#api_result ⇒ Types::ApiResult
The result from the API response from the action group invocation.
-
#function_result ⇒ Types::FunctionResult
The result from the function from the action group invocation.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#api_result ⇒ Types::ApiResult
The result from the API response from the action group invocation.
959 960 961 962 963 964 965 966 967 968 969 970 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 959 class InvocationResultMember < Struct.new( :api_result, :function_result, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class ApiResult < InvocationResultMember; end class FunctionResult < InvocationResultMember; end class Unknown < InvocationResultMember; end end |
#function_result ⇒ Types::FunctionResult
The result from the function from the action group invocation.
959 960 961 962 963 964 965 966 967 968 969 970 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 959 class InvocationResultMember < Struct.new( :api_result, :function_result, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class ApiResult < InvocationResultMember; end class FunctionResult < InvocationResultMember; end class Unknown < InvocationResultMember; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
959 960 961 |
# File 'gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb', line 959 def unknown @unknown end |