list_groups_older_than_ordering_id
async
¶
list_groups_older_than_ordering_id(
index_id: IndexId,
ordering_id: PrincipalOrderingId,
*,
config_overrides: Optional[AsynckendraClientConfig] = None,
data_source_id: Optional[DataSourceId] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResultsIntegerForListPrincipalsRequest] = None,
) -> ListGroupsOlderThanOrderingIdResponse
Provides a list of groups that are mapped to users before a given ordering or timestamp identifier.
ListGroupsOlderThanOrderingId is currently not supported in the Amazon Web Services GovCloud (US-West) region.
Parameters:
-
index_id(IndexId) –The identifier of the index for getting a list of groups mapped to users before a given ordering or timestamp identifier.
-
data_source_id(Optional[DataSourceId], default:None) –The identifier of the data source for getting a list of groups mapped to users before a given ordering timestamp identifier.
-
ordering_id(PrincipalOrderingId) –The timestamp identifier used for the latest
PUTorDELETEaction for mapping users to their groups. -
next_token(Optional[NextToken], default:None) –If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra 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 before a given ordering or timestamp identifier.
-
max_results(Optional[MaxResultsIntegerForListPrincipalsRequest], default:None) –The maximum number of returned groups that are mapped to users before a given ordering or timestamp identifier.
Raises:
-
AccessDeniedException–You don't have sufficient access to perform this action. Please ensure you have the required permission policies and user accounts and try again.
-
ConflictException–A conflict occurred with the request. Please fix any inconsistences with your resources and try again.
-
InternalServerException–An issue occurred with the internal server used for your Amazon Kendra service. Please wait a few minutes and try again, or contact Support for help.
-
ResourceNotFoundException–The resource you want to use doesn’t exist. Please check you have provided the correct resource and try again.
-
ThrottlingException–The request was denied due to request throttling. Please reduce the number of requests and try again.
-
ValidationException–The input fails to satisfy the constraints set by the Amazon Kendra service. Please 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_kendra/_services/async_kendra.py
3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 | |