View a markdown version of this page

查看注册记录 - Amazon Bedrock AgentCore
Amazon Web Services 文档中描述的 Amazon Web Services 服务或功能可能因区域而异。要查看适用于中国区域的差异,请参阅 中国的 Amazon Web Services 服务入门 (PDF)。

本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。

查看注册记录

迁移现已开放

Amazon 代理注册表已在新agent-registry命名空间下启动。2026 年 10 月 30 日将停止对公共预览版bedrock-agentcore命名空间的支持。有关迁移说明,请参阅注册表迁移综合指南。

概述

作为策展人,您可以根据组织的安全性、合规性和元数据质量标准审查处于 “待批准” 状态的记录。

查看待处理记录

作为策展人,您可以从注册表详细信息页面、 Amazon CLI 或 Amazon SDK 中找到等待审核的记录。

控制台

例
Amazon Agent Registry namespace
  1. 打开Amazon 代理注册表控制台。

  2. 在导航窗格中,选择注册表,然后选择要查看的注册表。

  3. 在 “注册记录” 部分中,待批准状态摘要计数器显示有多少记录正在等待审核。

  4. 按状态筛选记录表,以仅显示处于 “待审批” 状态的记录。

  5. 选择记录的名称以打开其详情页面并查看其内容。

Amazon Bedrock AgentCore namespace (to be deprecated)
  1. 在Bedrock-AgentCore 控制台中打开 “ Amazon 代理注册表” 页面。

  2. 在导航窗格中,选择注册表,然后选择要查看的注册表。

  3. 在 “注册记录” 部分中,待批准状态摘要计数器显示有多少记录正在等待审核。

  4. 按状态筛选记录表,以仅显示处于 “待审批” 状态的记录。

  5. 选择记录的名称以打开其详情页面并查看其内容。

Amazon CLI

例
Amazon Agent Registry namespace
aws agent-registry-control list-registry-records \ --registry-id "<registryId>" \ --filters '[{"name": "status", "values": ["PENDING_APPROVAL"]}]' \ --region us-east-1
Amazon Bedrock AgentCore namespace (to be deprecated)
aws bedrock-agentcore-control list-registry-records \ --registry-id "<registryId>" \ --status PENDING_APPROVAL \ --region us-east-1

Amazon SDK

例
Amazon Agent Registry namespace
import boto3 client = boto3.client('agent-registry-control') response = client.list_registry_records( registryId='<registryId>', filters=[{'name': 'status', 'values': ['PENDING_APPROVAL']}] ) for record in response['registryRecords']: print(f"{record['displayName']} ({record['name']}) - {record['recordType']}")
Amazon Bedrock AgentCore namespace (to be deprecated)
import boto3 client = boto3.client('bedrock-agentcore-control') response = client.list_registry_records( registryId='<registryId>', status='PENDING_APPROVAL' ) for record in response['registryRecords']: print(f"{record['name']} - {record['descriptorType']}")

批准记录

控制台

  1. 打开记录详情页面,查看处于 “待审批” 状态的记录。

  2. 选择更新状态下拉列表,然后选择批准。

  3. 在更新状态对话框中,输入状态更改的原因。

  4. 选择更新。

Amazon CLI

例
Amazon Agent Registry namespace
aws agent-registry-control update-registry-record-status \ --registry-id "<registryId>" \ --record-id "<recordId>" \ --status APPROVED \ --status-reason "Reviewed and approved" \ --region us-east-1
Amazon Bedrock AgentCore namespace (to be deprecated)
aws bedrock-agentcore-control update-registry-record-status \ --registry-id "<registryId>" \ --record-id "<recordId>" \ --status APPROVED \ --status-reason "Reviewed and approved" \ --region us-east-1

Amazon SDK

例
Amazon Agent Registry namespace
import boto3 client = boto3.client('agent-registry-control') response = client.update_registry_record_status( registryId='<registryId>', recordId='<recordId>', status='APPROVED', statusReason='Reviewed and approved' ) print(f"Status: {response['status']}") # APPROVED print(f"StatusReason: {response['statusReason']}")
Amazon Bedrock AgentCore namespace (to be deprecated)
import boto3 client = boto3.client('bedrock-agentcore-control') response = client.update_registry_record_status( registryId='<registryId>', recordId='<recordId>', status='APPROVED', statusReason='Reviewed and approved' ) print(f"Status: {response['status']}") # APPROVED print(f"StatusReason: {response['statusReason']}")

拒绝记录

控制台

  1. 打开记录详情页面,查看处于 “待审批” 状态的记录。

  2. 选择更新状态下拉列表,然后选择拒绝。

  3. 在 “更新状态” 对话框中,输入拒绝原因。

  4. 选择更新。

Amazon CLI

例
Amazon Agent Registry namespace
aws agent-registry-control update-registry-record-status \ --registry-id "<registryId>" \ --record-id "<recordId>" \ --status REJECTED \ --status-reason "Missing tool input schemas" \ --region us-east-1
Amazon Bedrock AgentCore namespace (to be deprecated)
aws bedrock-agentcore-control update-registry-record-status \ --registry-id "<registryId>" \ --record-id "<recordId>" \ --status REJECTED \ --status-reason "Missing tool input schemas" \ --region us-east-1

Amazon SDK

例
Amazon Agent Registry namespace
import boto3 client = boto3.client('agent-registry-control') response = client.update_registry_record_status( registryId='<registryId>', recordId='<recordId>', status='REJECTED', statusReason='Missing tool input schemas' ) print(f"Status: {response['status']}") # REJECTED print(f"StatusReason: {response['statusReason']}")
Amazon Bedrock AgentCore namespace (to be deprecated)
import boto3 client = boto3.client('bedrock-agentcore-control') response = client.update_registry_record_status( registryId='<registryId>', recordId='<recordId>', status='REJECTED', statusReason='Missing tool input schemas' ) print(f"Status: {response['status']}") # REJECTED print(f"StatusReason: {response['statusReason']}")
注意

出版商可以编辑并重新提交,或者策展人可以直接批准被拒绝的记录。