View a markdown version of this page

InvokeAgentRuntimeCommandRequestBody - Amazon Bedrock AgentCore Data Plane
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 Amazon SDKs, see the following: