InvokeAgentRuntimeCommandStreamOutput¶
Union Type¶
InvokeAgentRuntimeCommandStreamOutput
module-attribute
¶
InvokeAgentRuntimeCommandStreamOutput = Union[InvokeAgentRuntimeCommandStreamOutputChunk | InvokeAgentRuntimeCommandStreamOutputAccessDeniedException | InvokeAgentRuntimeCommandStreamOutputInternalServerException | InvokeAgentRuntimeCommandStreamOutputResourceNotFoundException | InvokeAgentRuntimeCommandStreamOutputServiceQuotaExceededException | InvokeAgentRuntimeCommandStreamOutputThrottlingException | InvokeAgentRuntimeCommandStreamOutputValidationException | InvokeAgentRuntimeCommandStreamOutputRuntimeClientError | InvokeAgentRuntimeCommandStreamOutputUnknown]
The streaming output union for the InvokeAgentRuntimeCommand
operation. This union delivers typed events: contentStart (first),
contentDelta (middle), and contentStop (last).
Union Member Types¶
InvokeAgentRuntimeCommandStreamOutputChunk
dataclass
¶
A response chunk containing command execution events such as content start, content delta, or content stop events.
Attributes¶
InvokeAgentRuntimeCommandStreamOutputAccessDeniedException
dataclass
¶
Exception events for error streaming.
Attributes¶
InvokeAgentRuntimeCommandStreamOutputInternalServerException
dataclass
¶
The exception that occurs when the service encounters an unexpected internal error. This is a temporary condition that will resolve itself with retries. We recommend implementing exponential backoff retry logic in your application.
Attributes¶
InvokeAgentRuntimeCommandStreamOutputResourceNotFoundException
dataclass
¶
The exception that occurs when the specified resource does not exist. This can happen when using an invalid identifier or when trying to access a resource that has been deleted.
Attributes¶
InvokeAgentRuntimeCommandStreamOutputServiceQuotaExceededException
dataclass
¶
The exception that occurs when the request would cause a service quota to be exceeded. Review your service quotas and either reduce your request rate or request a quota increase.
Attributes¶
InvokeAgentRuntimeCommandStreamOutputThrottlingException
dataclass
¶
The exception that occurs when the request was denied due to request throttling. This happens when you exceed the allowed request rate for an operation. Reduce the frequency of requests or implement exponential backoff retry logic in your application.
Attributes¶
InvokeAgentRuntimeCommandStreamOutputValidationException
dataclass
¶
The exception that occurs when the input fails to satisfy the constraints specified by the service. Check the error message for details about which input parameter is invalid and correct your request.
Attributes¶
InvokeAgentRuntimeCommandStreamOutputRuntimeClientError
dataclass
¶
The exception that occurs when there is an error in the runtime client. This can happen due to network issues, invalid configuration, or other client-side problems. Check the error message for specific details about the error.