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
2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 | |