list_library_items
async
¶
list_library_items(
instance_id: InstanceId,
*,
config_overrides: Optional[AsyncQAppsClientConfig] = 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/async_q_apps.py
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 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 | |