list_datasets
¶
list_datasets(
*,
config_overrides: Optional[ComprehendClientConfig] = None,
flywheel_arn: Optional[ComprehendFlywheelArn] = None,
filter: Optional[DatasetFilter] = None,
next_token: Optional[String] = None,
max_results: Optional[MaxResultsInteger] = None,
) -> ListDatasetsResponse
List the datasets that you have configured in this Region. For more information about datasets, see Flywheel overview in the Amazon Comprehend Developer Guide.
Parameters:
-
flywheel_arn(Optional[ComprehendFlywheelArn], default:None) –The Amazon Resource Number (ARN) of the flywheel.
-
filter(Optional[DatasetFilter], default:None) –Filters the datasets to be returned in the response.
-
next_token(Optional[String], default:None) –Identifies the next page of results to return.
-
max_results(Optional[MaxResultsInteger], default:None) –Maximum number of results to return in a response. The default is 100.
Raises:
-
InternalServerException–An internal server error occurred. Retry your request.
-
InvalidFilterException–The filter specified for the operation is invalid. Specify a different filter.
-
InvalidRequestException–The request is invalid.
-
ResourceNotFoundException–The specified resource ARN was not found. Check the ARN and try your request again.
-
TooManyRequestsException–The number of requests exceeds the limit. Resubmit your request later.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_comprehend/_services/comprehend.py
3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 | |