list_datasets
async
¶
list_datasets(
*,
config_overrides: Optional[AsyncComprehendClientConfig] = 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/async_comprehend.py
2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 | |