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
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 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 | |