InvocationResultMember
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:
Inheritors
Types
Functions
Casts this InvocationResultMember as a ApiResult and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.ApiResult value. Throws an exception if the InvocationResultMember is not a ApiResult.
Casts this InvocationResultMember as a ApiResult and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.ApiResult value. Returns null if the InvocationResultMember is not a ApiResult.
Casts this InvocationResultMember as a FunctionResult and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.FunctionResult value. Throws an exception if the InvocationResultMember is not a FunctionResult.
Casts this InvocationResultMember as a FunctionResult and retrieves its aws.sdk.kotlin.services.bedrockagentruntime.model.FunctionResult value. Returns null if the InvocationResultMember is not a FunctionResult.