Skip to main content

registry_records

Creates, updates, deletes, gets or lists a registry_records resource.

Overview

Nameregistry_records
TypeResource
Idaws.bedrock_agentcore_control.registry_records

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringThe name of the registry record. (pattern: <code>[a-zA-Z0-9][a-zA-Z0-9_-./]*</code>)
created_atstring (date-time)The timestamp when the registry record was created.
descriptionstringThe description of the registry record.
descriptor_typestringThe descriptor type of the registry record. Possible values are MCP, A2A, CUSTOM, and AGENT_SKILLS. (MCP, A2A, CUSTOM, AGENT_SKILLS)
descriptorsobjectContains descriptor-type-specific configurations for a registry record. Only the descriptor matching the record's descriptorType should be populated.
record_arnstringThe Amazon Resource Name (ARN) of the registry record. (pattern: <code>arn:aws(-[^:]+)?:bedrock-agentcore:[a-z0-9-]+:[0-9]{12}:registry/[a-zA-Z0-9]{12,16}/record/[a-zA-Z0-9]{12}</code>)
record_idstringThe unique identifier of the registry record. (pattern: <code>[a-zA-Z0-9]{12}</code>)
record_versionstringThe version of the registry record. (pattern: <code>[a-zA-Z0-9.-]+</code>)
registry_arnstringThe Amazon Resource Name (ARN) of the registry that contains the record. (pattern: <code>arn:aws(-[^:]+)?:bedrock-agentcore:[a-z0-9-]+:[0-9]{12}:registry/[a-zA-Z0-9]{12,16}</code>)
statusstringThe current status of the registry record. Possible values include CREATING, DRAFT, APPROVED, PENDING_APPROVAL, REJECTED, DEPRECATED, UPDATING, CREATE_FAILED, and UPDATE_FAILED. A record transitions from CREATING to DRAFT, then to PENDING_APPROVAL (via SubmitRegistryRecordForApproval), and finally to APPROVED upon approval. (DRAFT, PENDING_APPROVAL, APPROVED, REJECTED, DEPRECATED, CREATING, UPDATING, CREATE_FAILED, UPDATE_FAILED)
status_reasonstringThe reason for the current status, typically set when the status is a failure state.
synchronization_configurationobjectConfiguration for synchronizing registry record metadata from an external source.
synchronization_typestringThe type of synchronization used for this record. (URL)
updated_atstring (date-time)The timestamp when the registry record was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_registry_recordselectregistry_id, record_id, regionRetrieves information about a specific registry record.
list_registry_recordsselectregistry_id, regionmaxResults, nextToken, name, status, descriptorTypeLists registry records within a registry. You can optionally filter results using the name, status, and descriptorType parameters. When multiple filters are specified, they are combined using AND logic.
create_registry_recordinsertregistry_id, region, name, descriptorTypeCreates 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.
update_registry_record_statusupdateregistry_id, record_id, region, status, statusReasonUpdates the status of a registry record. Use this operation to approve, reject, or deprecate a registry record.
update_registry_recordupdateregistry_id, record_id, regionUpdates an existing registry record. This operation uses PATCH semantics, so you only need to specify the fields you want to change. The update is processed asynchronously and returns HTTP 202 Accepted.
delete_registry_recorddeleteregistry_id, record_id, regionDeletes a registry record. The record's status transitions to DELETING and the record is removed asynchronously.
submit_registry_record_for_approvalexecregistry_id, record_id, regionSubmits a registry record for approval. This transitions the record from DRAFT status to PENDING_APPROVAL status. If the registry has auto-approval enabled, the record is automatically approved.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
record_idstringThe identifier of the registry record to submit for approval. You can specify either the Amazon Resource Name (ARN) or the ID of the record.
regionstringAWS region (default: us-east-1)
registry_idstringThe identifier of the registry containing the record. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.
descriptorTypestringFilter registry records by their descriptor type. Possible values are MCP, A2A, CUSTOM, and AGENT_SKILLS.
maxResultsintegerThe maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the nextToken field when making another request to return the next batch of results.
namestringFilter registry records by name.
nextTokenstringIf the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.
statusstringFilter registry records by their current status. Possible values include CREATING, DRAFT, APPROVED, PENDING_APPROVAL, REJECTED, DEPRECATED, UPDATING, CREATE_FAILED, and UPDATE_FAILED.

SELECT examples

Retrieves information about a specific registry record.

SELECT
name,
created_at,
description,
descriptor_type,
descriptors,
record_arn,
record_id,
record_version,
registry_arn,
status,
status_reason,
synchronization_configuration,
synchronization_type,
updated_at
FROM aws.bedrock_agentcore_control.registry_records
WHERE registry_id = '{{ registry_id }}' -- required
AND record_id = '{{ record_id }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

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.

INSERT INTO aws.bedrock_agentcore_control.registry_records (
name,
description,
descriptorType,
descriptors,
recordVersion,
synchronizationType,
synchronizationConfiguration,
clientToken,
registry_id,
region
)
SELECT
'{{ name }}' /* required */,
'{{ description }}',
'{{ descriptorType }}' /* required */,
'{{ descriptors }}',
'{{ recordVersion }}',
'{{ synchronizationType }}',
'{{ synchronizationConfiguration }}',
'{{ clientToken }}',
'{{ registry_id }}',
'{{ region }}'
RETURNING
record_arn,
status
;

UPDATE examples

Updates the status of a registry record. Use this operation to approve, reject, or deprecate a registry record.

UPDATE aws.bedrock_agentcore_control.registry_records
SET
status = '{{ status }}',
statusReason = '{{ statusReason }}'
WHERE
registry_id = '{{ registry_id }}' --required
AND record_id = '{{ record_id }}' --required
AND region = '{{ region }}' --required
AND status = '{{ status }}' --required
AND statusReason = '{{ statusReason }}' --required
RETURNING
record_arn,
record_id,
registry_arn,
status,
status_reason,
updated_at;

DELETE examples

Deletes a registry record. The record's status transitions to DELETING and the record is removed asynchronously.

DELETE FROM aws.bedrock_agentcore_control.registry_records
WHERE registry_id = '{{ registry_id }}' --required
AND record_id = '{{ record_id }}' --required
AND region = '{{ region }}' --required
;

Lifecycle Methods

Submits a registry record for approval. This transitions the record from DRAFT status to PENDING_APPROVAL status. If the registry has auto-approval enabled, the record is automatically approved.

EXEC aws.bedrock_agentcore_control.registry_records.submit_registry_record_for_approval
@registry_id='{{ registry_id }}' --required,
@record_id='{{ record_id }}' --required,
@region='{{ region }}' --required
;