View source: R/bedrockagentcore_operations.R
| bedrockagentcore_invoke_agent_runtime_command | R Documentation |
Executes a command in a runtime session container and streams the output back to the caller. This operation allows you to run shell commands within the agent runtime environment and receive real-time streaming responses including standard output and standard error.
See https://www.paws-r-sdk.com/docs/bedrockagentcore_invoke_agent_runtime_command/ for full documentation.
bedrockagentcore_invoke_agent_runtime_command(
contentType = NULL,
accept = NULL,
runtimeSessionId = NULL,
traceId = NULL,
traceParent = NULL,
traceState = NULL,
baggage = NULL,
agentRuntimeArn,
qualifier = NULL,
accountId = NULL,
body
)
contentType |
The MIME type of the input data in the request payload. This tells the agent runtime how to interpret the payload data. Common values include application/json for JSON data. |
accept |
The desired MIME type for the response from the agent runtime command. This tells the agent runtime what format to use for the response data. Common values include application/json for JSON data. |
runtimeSessionId |
The unique identifier of the runtime session in which to execute the command. This session ID is used to maintain state and context across multiple command invocations. |
traceId |
The trace identifier for request tracking. |
traceParent |
The parent trace information for distributed tracing. |
traceState |
The trace state information for distributed tracing. |
baggage |
Additional context information for distributed tracing. |
agentRuntimeArn |
[required] The Amazon Resource Name (ARN) of the agent runtime on which to execute the command. This identifies the specific agent runtime environment where the command will run. |
qualifier |
The qualifier to use for the agent runtime. This is an endpoint name that points to a specific version. If not specified, Amazon Bedrock AgentCore uses the default endpoint of the agent runtime. |
accountId |
The identifier of the Amazon Web Services account for the agent runtime resource. This parameter is required when you specify an agent ID instead of the full ARN for |
body |
[required] The request body containing the command to execute and optional configuration parameters such as timeout settings. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.