InvokeAgentRuntimeCommandRequestBody - Amazon Bedrock AgentCore Data Plane

InvokeAgentRuntimeCommandRequestBody

The request body structure for the InvokeAgentRuntimeCommand operation, containing the command to execute and optional configuration parameters.

Contents

command

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.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 65536.

Required: Yes

timeout

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.

Type: Integer

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: