Skip to content

BedrockAgentCoreClient.search_registry_records

rboto-bedrock-agentcore==0.4.0 · Service index · Types

Model summary (excerpt): Searches for registry records using semantic, lexical, or hybrid queries. Returns metadata for matching records ordered by relevance within the specified registry.

Install and imports

python -m pip install "rboto[bedrock-agentcore]==0.4.0"
from rboto import BedrockAgentCoreClient
from collections.abc import Sequence
from rboto_bedrock_agentcore.types import (
    JSONValue,
    SearchRegistryRecordsOutput,
)

Signature

async def search_registry_records(
    *,
    search_query: str,
    registry_ids: Sequence[str],
    max_results: int | None = None,
    filters: JSONValue | None = None,
) -> SearchRegistryRecordsOutput: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
search_query Yes The search query to find matching registry records.
registry_ids Yes The list of registry identifiers to search within. Currently, you can specify exactly one registry identifier. You can provide either the full Amazon Web Services Resource Name (ARN) or the 12-character alphanumeric registry ID.
max_results No The maximum number of records to return in a single call. Valid values are 1 through 20. The default value is 10.
filters No A metadata filter expression to narrow search results. Uses structured JSON operators including field-level operators ( $eq , $ne , $in ) and logical operators ( $and , $or ) on filterable fields ( name , descriptorType , version ). For example, to filter by descriptor type: {"descriptorType": {"$eq": "MCP"}} . To combine filters: {"$and": [{"descriptorType": {"$eq": "MCP"}}, {"name": {"$eq":...

Output

SearchRegistryRecordsOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

Field Type Presence References
registry_records list[RegistryRecordSummaryOutput] Always present RegistryRecordSummaryOutput

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

JSONValue, SearchRegistryRecordsOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_bedrock_agentcore.exceptions:

AccessDeniedError, InternalServerError, ResourceNotFoundError, ThrottlingError, UnauthorizedError, ValidationError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model