Skip to main content

registries

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

Overview

Nameregistries
TypeResource
Idaws.agent_registry_control.registries

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringRegistry name with validation pattern (pattern: <code>[a-zA-Z0-9][a-zA-Z0-9_-./]*</code>)
approval_configurationobjectConfiguration for the registry's record approval workflow. Controls whether records submitted for approval require manual review before they become approved and discoverable, or are auto-approved. When no auto-approval rules are configured, submitted records require manual review.
created_atstring (date-time)The timestamp when the registry was created
descriptionstringDescription of the Resource
discovery_configurationobjectDiscovery configuration for the registry. Controls how consumers are authorized to search the registry and invoke its MCP endpoint.
registry_arnstringThe ARN of the registry (pattern: <code>arn:aws(-[^:]+)?:agent-registry:[a-z0-9-]+:[0-9]{12}:registry/[a-zA-Z0-9]{12,16}</code>)
registry_idstringThe unique identifier of the registry (pattern: <code>[a-zA-Z0-9]{12,16}</code>)
statusstringCurrent status of the registry (CREATING, READY, UPDATING, CREATE_FAILED, UPDATE_FAILED, DELETING, DELETE_FAILED)
status_reasonstringThe reason for the current status. Typically populated when the status indicates a failure state.
updated_atstring (date-time)The timestamp when the registry was last updated

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_registryselectregistry_id, regionGets a registry by identifier (ARN or ID)
list_registriesselectregionLists the registries in the caller's account and Region, with optional filtering by status and discovery authorizer type
create_registryinsertregion, nameCreates a new registry, a catalog that organizes registry records and defines their discovery authorization and record approval behavior. Creation is asynchronous: the registry begins in the CREATING status and becomes usable once it reaches READY.
update_registryupdateregistry_id, regionUpdates an existing registry. This operation uses PATCH semantics: specify only the fields you want to change, and omit the rest to leave them unchanged. Updates are applied asynchronously and the registry transitions to the UPDATING status while they are processed.
delete_registrydeleteregistry_id, regionDeletes a registry. Deletion is asynchronous: the registry transitions to the DELETING status and is removed along with its registry records.

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
regionstringAWS region (default: us-east-1)
registry_idstringThe identifier of the registry to delete (ARN or ID)

SELECT examples

Gets a registry by identifier (ARN or ID)

SELECT
name,
approval_configuration,
created_at,
description,
discovery_configuration,
registry_arn,
registry_id,
status,
status_reason,
updated_at
FROM aws.agent_registry_control.registries
WHERE registry_id = '{{ registry_id }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates a new registry, a catalog that organizes registry records and defines their discovery authorization and record approval behavior. Creation is asynchronous: the registry begins in the CREATING status and becomes usable once it reaches READY.

INSERT INTO aws.agent_registry_control.registries (
name,
description,
discoveryConfiguration,
clientToken,
tags,
approvalConfiguration,
region
)
SELECT
'{{ name }}' /* required */,
'{{ description }}',
'{{ discoveryConfiguration }}',
'{{ clientToken }}',
'{{ tags }}',
'{{ approvalConfiguration }}',
'{{ region }}'
RETURNING
registry_arn
;

UPDATE examples

Updates an existing registry. This operation uses PATCH semantics: specify only the fields you want to change, and omit the rest to leave them unchanged. Updates are applied asynchronously and the registry transitions to the UPDATING status while they are processed.

UPDATE aws.agent_registry_control.registries
SET
name = '{{ name }}',
description = '{{ description }}',
discoveryConfiguration = '{{ discoveryConfiguration }}',
approvalConfiguration = '{{ approvalConfiguration }}'
WHERE
registry_id = '{{ registry_id }}' --required
AND region = '{{ region }}' --required
RETURNING
name,
approval_configuration,
created_at,
description,
discovery_configuration,
registry_arn,
registry_id,
status,
status_reason,
updated_at;

DELETE examples

Deletes a registry. Deletion is asynchronous: the registry transitions to the DELETING status and is removed along with its registry records.

DELETE FROM aws.agent_registry_control.registries
WHERE registry_id = '{{ registry_id }}' --required
AND region = '{{ region }}' --required
;