Skip to main content

ingested_document_acls

Creates, updates, deletes, gets or lists an ingested_document_acls resource.

Overview

Nameingested_document_acls
TypeResource
Idaws.bedrock_agent_runtime.ingested_document_acls

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
allow_listobjectThe list of principals allowed access to the document.
deny_listobjectThe list of principals denied access to the document.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_ingested_document_aclselectdata_source_id, knowledge_base_id, regionRetrieves the ingested access control list (ACL) for a specific document in a knowledge base. Use this operation to inspect the allow and deny lists that were ingested for a document to troubleshoot access control issues. To use this operation, you must have the bedrock:GetIngestedDocumentAcl permission.

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
data_source_idstringThe unique identifier of the data source that contains the document.
knowledge_base_idstringThe unique identifier of the knowledge base that contains the document.
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves the ingested access control list (ACL) for a specific document in a knowledge base. Use this operation to inspect the allow and deny lists that were ingested for a document to troubleshoot access control issues. To use this operation, you must have the bedrock:GetIngestedDocumentAcl permission.

SELECT
allow_list,
deny_list
FROM aws.bedrock_agent_runtime.ingested_document_acls
WHERE data_source_id = '{{ data_source_id }}' -- required
AND knowledge_base_id = '{{ knowledge_base_id }}' -- required
AND region = '{{ region }}' -- required
;