list_library_items
¶
list_library_items(
instance_id: InstanceId,
*,
config_overrides: Optional[QAppsClientConfig] = None,
limit: Optional[PageLimit] = None,
next_token: Optional[PaginationToken] = None,
category_id: Optional[UUID] = None,
) -> ListLibraryItemsOutput
Lists the library items for Amazon Q Apps that are published and available for users in your Amazon Web Services account.
Parameters:
-
instance_id(InstanceId) –The unique identifier of the Amazon Q Business application environment instance.
-
limit(Optional[PageLimit], default:None) –The maximum number of library items to return in the response.
-
next_token(Optional[PaginationToken], default:None) –The token to request the next page of results.
-
category_id(Optional[UUID], default:None) –Optional category to filter the library items by.
Raises:
-
AccessDeniedException–The client is not authorized to perform the requested operation.
-
InternalServerException–An internal service error occurred while processing the request.
-
ResourceNotFoundException–The requested resource could not be found.
-
ThrottlingException–The requested operation could not be completed because too many requests were sent at once. Wait a bit and try again later.
-
UnauthorizedException–The client is not authenticated or authorized to perform the requested operation.
-
ValidationException–The input failed to satisfy the constraints specified by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
List at most 3 library items for this instance
Source code in docs_src/capo_qapps/_services/q_apps.py
1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 | |