View a markdown version of this page

檢閱登錄檔記錄 - Amazon Bedrock AgentCore

檢閱登錄檔記錄

即將進行的命名空間遷移

AWS 客服人員登錄檔目前在 bedrock-agentcore 命名空間下為公開預覽。從 2026 年 8 月 6 日開始,服務會移至代理程式登錄命名空間。如果您使用 AWS 代理程式登錄檔,則必須更新端點、IAM 政策、SDK 用戶端、CLI 指令碼和登錄檔資料。如需從公有預覽遷移的詳細資訊,請參閱 綜合登錄遷移指南

概觀

身為策展者,您可以根據組織的安全性、合規性和中繼資料品質標準,檢閱處於待核准狀態的記錄。

檢視擱置中的記錄

透過主控台、 AWS CLI 或 ListRegistryRecords API 依 PENDING_APPROVAL 狀態篩選。

核准記錄

主控台

  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 開發套件

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 開發套件

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

發佈者可以編輯並重新提交,或者策展者可以直接核准遭拒的記錄。