Package-level declarations
Types
The A2A (Agent-to-Agent) descriptor configuration for a registry record.
The exception that occurs when you do not have sufficient permissions to perform an action. Verify that your IAM policy includes the necessary permissions for the operation you are trying to perform.
Contains summary information about an actor in an AgentCore Memory resource.
The agent card definition for A2A descriptors, including the schema version and inline content that describes the agent's capabilities.
The agent skills descriptor configuration for a registry record.
The configuration for a stream that enables programmatic control of a browser session in Amazon Bedrock AgentCore. This stream provides a bidirectional communication channel for sending commands to the browser and receiving responses, allowing agents to automate web interactions such as navigation, form filling, and element clicking.
Contains information about an update to an automation stream.
Configuration for HTTP Basic Authentication using credentials stored in Amazon Web Services Secrets Manager. The secret must contain a JSON object with username and password string fields. Username allows alphanumeric characters and @._+=- symbols (pattern: ^[a-zA-Z0-9@._+=\-]+$). Password allows alphanumeric characters and @._+=-!#$%&* symbols (pattern: ^[a-zA-Z0-9@._+=\-!#$%&*]+$). Both fields have a maximum length of 256 characters.
Base class for all service related exceptions thrown by the BedrockAgentCore client
Contains filter criteria for branches when listing events.
The browser action to perform. Exactly one member must be set per request.
The result of a browser action execution. Exactly one member is set, matching the action that was performed.
The status of a browser action execution.
Browser enterprise policy configuration.
The type of browser enterprise policy. Available values are MANAGED and RECOMMENDED.
Browser extension configuration.
The configuration for a browser profile in Amazon Bedrock AgentCore. A browser profile contains persistent browser data such as cookies and local storage that can be saved from one browser session and reused in subsequent sessions. Browser profiles enable continuity for tasks that require authentication, maintain user preferences, or depend on previously stored browser state.
The collection of streams associated with a browser session in Amazon Bedrock AgentCore. These streams provide different ways to interact with and observe the browser session, including programmatic control and visual representation of the browser content.
A condensed representation of a browser session in Amazon Bedrock AgentCore. This structure contains key information about a browser session, including identifiers, status, and timestamps, without the full details of the session configuration and streams.
A certificate to install in the browser or code interpreter session.
The location from which to retrieve a certificate.
The output produced by executing code in a code interpreter session in Amazon Bedrock AgentCore. This structure contains the results of code execution, including textual output, structured data, and error information. Agents use these results to generate responses that incorporate computation, data analysis, and visualization.
A condensed representation of a code interpreter session in Amazon Bedrock AgentCore. This structure contains key information about a code interpreter session, including identifiers, status, and timestamps, without the full details of the session configuration.
Contains output from a code interpreter stream.
The exception that occurs when the request conflicts with the current state of the resource. This can happen when trying to modify a resource that is currently being modified by another request, or when trying to create a resource that already exists.
A block of content in a response.
An event that contains incremental output from a command execution. This event streams standard output and standard error content as it becomes available during command execution.
An event that signals the start of content streaming from a command execution. This event is sent when the command begins producing output.
An event that signals the completion of a command execution. This event contains the final status and exit code of the executed command.
Contains conversational content for an event payload.
A custom descriptor configuration for a registry record.
Contains the descriptor configuration for a registry record. Only the field that matches the record's descriptorType is populated.
The type of descriptor associated with a registry record.
An exception thrown when attempting to create a resource with an identifier that already exists.
A content block for ground truth data in evaluation reference inputs. Supports text content for expected responses and assertions.
The expected tool call trajectory for trajectory-based evaluation.
The input data structure containing agent session spans in OpenTelemetry format. Supports traces from frameworks like Strands (AgentCore Runtime) and LangGraph with OpenInference instrumentation for comprehensive evaluation.
A reference input containing ground truth data for evaluation, scoped to a specific context level (session or trace) through its span context.
The comprehensive result of an evaluation containing the score, explanation, evaluator metadata, and execution details. Provides both quantitative ratings and qualitative insights about agent performance.
The specification of which trace or span IDs to evaluate within the provided input data. Allows precise targeting of evaluation at different levels: tool calls, traces, or sessions.
The condition to use for filtering sessions by events.
Filter expression for retrieving events based on metadata associated with an event.
Configuration for a customer-managed external proxy server. Includes server location, optional domain-based routing patterns, and authentication credentials.
Represents the metadata of a memory extraction job such as the message identifiers that compose this job.
Filters for querying memory extraction jobs based on various criteria.
The list of messages that compose this extraction job.
Metadata information associated with this extraction job.
Contains filter criteria for listing events.
A block of input content.
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.
The input fails to satisfy the constraints specified by AgentCore. Check your input values and try again.
Request for InvokeAgentRuntimeCommand operation.
The request body structure for the InvokeAgentRuntimeCommand operation, containing the command to execute and optional configuration parameters.
Response for InvokeAgentRuntimeCommand operation.
The streaming output union for the InvokeAgentRuntimeCommand operation. This union delivers typed events: contentStart (first), contentDelta (middle), and contentStop (last).
Request for the InvokeBrowser operation.
Response for the InvokeBrowser operation.
Arguments for a key press action.
The result of a key press action.
Arguments for a key shortcut action.
The result of a key shortcut action.
Arguments for a key type action.
The result of a key type action.
Left expression of the event metadata filter.
The configuration for a stream that provides a visual representation of a browser session in Amazon Bedrock AgentCore. This stream enables agents to observe the current state of the browser, including rendered web pages, visual elements, and the results of interactions.
The MCP (Model Context Protocol) descriptor configuration for a registry record. Contains the server definition and tools definition.
Contains the content of a memory record.
Filters to apply to metadata associated with a memory. Specify the metadata key and value in the left and right fields and use the operator field to define the relationship to match.
Contains information about a memory record in an AgentCore Memory resource.
Input structure to create a new memory record.
Input structure to delete an existing memory record.
Output information returned after processing a memory record operation.
Contains summary information about a memory record.
Input structure to update an existing memory record.
Metadata information associated with this message.
Value associated with the eventMetadata key.
The mouse button to use for a browser mouse action.
Arguments for a mouse click action.
The result of a mouse click action.
Arguments for a mouse drag action.
The result of a mouse drag action.
Arguments for a mouse move action.
The result of a mouse move action.
Arguments for a mouse scroll action.
The result of a mouse scroll action.
Contains the payload content for an event.
Configuration for domains that should bypass all proxies and connect directly to the internet. These bypass rules take precedence over all proxy routing rules.
Configuration for routing browser traffic through customer-managed proxy servers. Supports 1-5 proxy servers for domain-based routing and proxy bypass rules.
Union type representing different proxy authentication methods. Currently supports HTTP Basic Authentication (username and password).
The status of a registry record in its lifecycle.
Summary information about a registry record.
Contains information about resource content.
The location of the browser extension.
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.
A structure representing a response chunk that contains exactly one of the possible event types: contentStart, contentDelta, or contentStop.
The exception that occurs when there is a retryable conflict performing an operation. This is a temporary condition that may resolve itself with retries. We recommend implementing exponential backoff retry logic in your application.
Right expression of the eventMetadatafilter.
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.
The Amazon S3 location configuration of a resource.
Arguments for a screenshot action.
The image format for a browser screenshot.
The result of a screenshot action.
Contains search criteria for retrieving memory records.
The Amazon Web Services Secrets Manager location configuration.
The MCP server definition with a schema version and inline content. The schemaVersion identifies the version of the MCP server configuration schema.
The service encountered an internal error. Try your request again later.
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.
Contains filter criteria for listing sessions.
Contains summary information about a session in an AgentCore Memory resource.
The structured skill definition with a schema version and inline content.
The skill markdown definition for agent skills descriptors.
The contextual information that uniquely identifies a span within the distributed tracing system. Contains session, trace, and span identifiers used to correlate evaluation results with specific agent execution points.
Contains information about an update to a stream.
The request was denied due to request throttling. Reduce the frequency of requests and try again.
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.
The token consumption statistics for language model operations during evaluation. Provides detailed breakdown of input, output, and total tokens used for cost tracking and performance monitoring.
The collection of arguments that specify the operation to perform and its parameters when invoking a tool in Amazon Bedrock AgentCore. Different tools require different arguments, and this structure provides a flexible way to pass the appropriate arguments to each tool type.
Contains structured content from a tool result.
The MCP tools definition with a protocol version and inline content. The protocolVersion identifies the MCP protocol version that the tools conform to. This differs from schemaVersion in the server definition, which identifies the server configuration schema format.
This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access
The OAuth2.0 token or user ID that was used to generate the workload access token used for initiating the user authorization flow to retrieve OAuth2.0 tokens.
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.
Stores information about a field passed inside a request that resulted in an exception.
The configuration that defines the dimensions of a browser viewport in a browser session. The viewport determines the visible area of web content and affects how web pages are rendered and displayed. Proper viewport configuration ensures that web content is displayed correctly for the agent's browsing tasks.