InvokeAgentRuntimeCommandRequestBody¶
Structure Class¶
InvokeAgentRuntimeCommandRequestBody
dataclass
¶
The request body structure for the InvokeAgentRuntimeCommand
operation, containing the command to execute and optional configuration
parameters.
Attributes¶
command
instance-attribute
¶
command: str
The shell command to execute on the agent runtime. This command is executed in the runtime environment and its output is streamed back to the caller.
timeout
class-attribute
instance-attribute
¶
timeout: int | None = None
The maximum duration in seconds to wait for the command to complete. If the command execution exceeds this timeout, it will be terminated. Default is 300 seconds. Minimum is 1 second. Maximum is 3600 seconds.