View a markdown version of this page

查看注册表记录 - Amazon Bedrock AgentCore

查看注册表记录

即将进行的命名空间迁移

AWS Agent Registry 目前在 bedrock-agentcore 命名空间下处于公开预览状态。从 2026 年 8 月 6 日起,该服务将移至代理注册表命名空间。如果您使用 AWS 代理注册表,则必须更新您的终端节点、IAM 策略、SDK 客户端、CLI 脚本和注册表数据。有关从公共预览版迁移的更多信息,请参阅注册表迁移综合指南

概述

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

查看待处理的记录

通过控制台、CLI 或 AP AWS I 按待批准状态进行筛选。 ListRegistryRecords

批准记录

控制台

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

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

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

  4. 选择更新

AWS CLI

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

AWS SDK

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. 选择更新

AWS CLI

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

AWS SDK

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']}")
注意

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