list_groups
¶
list_groups(
application_id: ApplicationId,
index_id: IndexId,
updated_earlier_than: Timestamp,
*,
config_overrides: Optional[QBusinessClientConfig] = None,
data_source_id: Optional[DataSourceId] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResultsIntegerForListGroupsRequest] = None,
) -> ListGroupsResponse
Provides a list of groups that are mapped to users.
Parameters:
-
application_id(ApplicationId) –The identifier of the application for getting a list of groups mapped to users.
-
index_id(IndexId) –The identifier of the index for getting a list of groups mapped to users.
-
updated_earlier_than(Timestamp) –The timestamp identifier used for the latest
PUTorDELETEaction for mapping users to their groups. -
data_source_id(Optional[DataSourceId], default:None) –The identifier of the data source for getting a list of groups mapped to users.
-
next_token(Optional[NextToken], default:None) –If the previous response was incomplete (because there is more data to retrieve), Amazon Q Business returns a pagination token in the response. You can use this pagination token to retrieve the next set of groups that are mapped to users.
-
max_results(Optional[MaxResultsIntegerForListGroupsRequest], default:None) –The maximum number of returned groups that are mapped to users.
Raises:
-
AccessDeniedException–You don't have access to perform this action. Make sure you have the required permission policies and user accounts and try again.
-
ConflictException–You are trying to perform an action that conflicts with the current status of your resource. Fix any inconsistencies with your resources and try again.
-
InternalServerException–An issue occurred with the internal server used for your Amazon Q Business service. Wait some minutes and try again, or contact Support for help.
-
ResourceNotFoundException–The application or plugin resource you want to use doesn’t exist. Make sure you have provided the correct resource and try again.
-
ThrottlingException–The request was denied due to throttling. Reduce the number of requests and try again.
-
ValidationException–The input doesn't meet the constraints set by the Amazon Q Business service. Provide the correct input and try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_qbusiness/_services/q_business.py
2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 | |