InlineAgentResponseStream¶
Union Type¶
InlineAgentResponseStream
module-attribute
¶
InlineAgentResponseStream = Union[InlineAgentResponseStreamChunk | InlineAgentResponseStreamTrace | InlineAgentResponseStreamReturnControl | InlineAgentResponseStreamInternalServerException | InlineAgentResponseStreamValidationException | InlineAgentResponseStreamResourceNotFoundException | InlineAgentResponseStreamServiceQuotaExceededException | InlineAgentResponseStreamThrottlingException | InlineAgentResponseStreamAccessDeniedException | InlineAgentResponseStreamConflictException | InlineAgentResponseStreamDependencyFailedException | InlineAgentResponseStreamBadGatewayException | InlineAgentResponseStreamFiles | InlineAgentResponseStreamUnknown]
The response from invoking the agent and associated citations and trace information.
Union Member Types¶
InlineAgentResponseStreamChunk
dataclass
¶
InlineAgentResponseStreamTrace
dataclass
¶
Bases: _SerdeShape
Contains information about the agent and session, alongside the agent's reasoning process and results from calling actions and querying knowledge bases and metadata about the trace. You can use the trace to understand how the agent arrived at the response it provided the customer. For more information, see Trace events.
Attributes¶
InlineAgentResponseStreamReturnControl
dataclass
¶
Bases: _SerdeShape
Contains the parameters and information that the agent elicited from the customer to carry out an action. This information is returned to the system and can be used in your own setup for fulfilling the action.
Attributes¶
InlineAgentResponseStreamInternalServerException
dataclass
¶
InlineAgentResponseStreamValidationException
dataclass
¶
Bases: _SerdeShape
Input validation failed. Check your request parameters and retry the request.
Attributes¶
InlineAgentResponseStreamResourceNotFoundException
dataclass
¶
Bases: _SerdeShape
The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.
Attributes¶
InlineAgentResponseStreamServiceQuotaExceededException
dataclass
¶
Bases: _SerdeShape
The number of requests exceeds the service quota. Resubmit your request later.
Attributes¶
InlineAgentResponseStreamThrottlingException
dataclass
¶
Bases: _SerdeShape
The number of requests exceeds the limit. Resubmit your request later.
Attributes¶
InlineAgentResponseStreamAccessDeniedException
dataclass
¶
Bases: _SerdeShape
The request is denied because of missing access permissions. Check your permissions and retry your request.
Attributes¶
InlineAgentResponseStreamConflictException
dataclass
¶
Bases: _SerdeShape
There was a conflict performing an operation. Resolve the conflict and retry your request.
Attributes¶
InlineAgentResponseStreamDependencyFailedException
dataclass
¶
Bases: _SerdeShape
There was an issue with a dependency. Check the resource configurations and retry the request.
Attributes¶
InlineAgentResponseStreamBadGatewayException
dataclass
¶
Bases: _SerdeShape
There was an issue with a dependency due to a server issue. Retry your request.