get_ingested_document_acl
async
¶
get_ingested_document_acl(
knowledge_base_id: KnowledgeBaseIdentifier,
data_source_id: DataSourceId,
document_id: DocumentId,
*,
config_overrides: Optional[AsyncBedrockAgentRuntimeClientConfig] = None,
) -> GetIngestedDocumentAclResponse
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.
Parameters:
-
knowledge_base_id(KnowledgeBaseIdentifier) –The unique identifier of the knowledge base that contains the document.
-
data_source_id(DataSourceId) –The unique identifier of the data source that contains the document.
-
document_id(DocumentId) –The unique identifier of the document to retrieve the ingested access control list (ACL) for.
Raises:
-
AccessDeniedException–The request is denied because of missing access permissions. Check your permissions and retry your request.
-
InternalServerException–An internal server error occurred. Retry your request.
-
ResourceNotFoundException–The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.
-
ThrottlingException–The number of requests exceeds the limit. Resubmit your request later.
-
ValidationException–Input validation failed. Check your request parameters and retry the request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_bedrock_agent_runtime/_services/async_bedrock_agent_runtime.py
1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 | |