Skip to content

BedrockAgentCoreControlClient.create_registry_record

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

Model summary (excerpt): Creates a new registry record within the specified registry. A registry record represents an individual AI resource's metadata in the registry. This could be an MCP server (and associated tools), A2A agent, agent skill, or a custom resource with a custom schema. The record is processed asynchronously and returns HTTP 202 Accepted.

Install and imports

python -m pip install "rboto[bedrock-agentcore-control]==0.4.0"
from rboto import BedrockAgentCoreControlClient
from rboto_bedrock_agentcore_control.types import (
    CreateRegistryRecordOutput,
    DescriptorType,
    Descriptors,
    SynchronizationConfiguration,
    SynchronizationType,
)

Signature

async def create_registry_record(
    *,
    registry_id: str,
    name: str,
    descriptor_type: DescriptorType,
    description: str | None = None,
    descriptors: Descriptors | None = None,
    record_version: str | None = None,
    synchronization_type: SynchronizationType | None = None,
    synchronization_configuration: SynchronizationConfiguration | None = None,
    client_token: str | None = None,
) -> CreateRegistryRecordOutput: ...

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)
registry_id Yes The identifier of the registry where the record will be created. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.
name Yes The name of the registry record.
descriptor_type Yes The descriptor type of the registry record. MCP - Model Context Protocol descriptor for MCP-compatible servers and tools. A2A - Agent-to-Agent protocol descriptor. CUSTOM - Custom descriptor type for resources such as APIs, Lambda functions, or servers not conforming to a standard protocol. AGENT_SKILLS - Agent skills descriptor for defining agent skill definitions.
description No A description of the registry record.
descriptors No The descriptor-type-specific configuration containing the resource schema and metadata. The structure of this field depends on the descriptorType you specify.
record_version No The version of the registry record. Use this to track different versions of the record's content.
synchronization_type No The type of synchronization to use for keeping the record metadata up to date from an external source. Possible values include FROM_URL and NONE .
synchronization_configuration No The configuration for synchronizing registry record metadata from an external source, such as a URL-based MCP server.
client_token No A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see Ensuring idempotency .

Output

CreateRegistryRecordOutput.

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
record_arn str Always present —
status RegistryRecordStatusOutput Always present RegistryRecordStatusOutput

| 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.

CreateRegistryRecordOutput, DescriptorType, Descriptors, SynchronizationConfiguration, SynchronizationType

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_control.exceptions:

AccessDeniedError, ConflictError, InternalServerError, ResourceNotFoundError, ServiceQuotaExceededError, ThrottlingError, ValidationError.

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

Service guide · Pinned model