get_batch_prediction_jobs
async
¶
get_batch_prediction_jobs(
*,
config_overrides: Optional[AsyncFraudDetectorClientConfig] = None,
job_id: Optional[identifier] = None,
max_results: Optional[batchPredictionsMaxPageSize] = None,
next_token: Optional[string] = None,
) -> GetBatchPredictionJobsResult
Gets all batch prediction jobs or a specific job if you specify a job ID. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 50 records per page. If you provide a maxResults, the value must be between 1 and 50. To get the next page results, provide the pagination token from the GetBatchPredictionJobsResponse as part of your request. A null pagination token fetches the records from the beginning.
Parameters:
-
job_id(Optional[identifier], default:None) –The batch prediction job for which to get the details.
-
max_results(Optional[batchPredictionsMaxPageSize], default:None) –The maximum number of objects to return for the request.
-
next_token(Optional[string], default:None) –The next token from the previous request.
Raises:
-
AccessDeniedException–An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as
PutExternalModel, that specifies a role that is not in your account. -
InternalServerException–An exception indicating an internal server error.
-
ResourceNotFoundException–An exception indicating the specified resource was not found.
-
ThrottlingException–An exception indicating a throttling error.
-
ValidationException–An exception indicating a specified value is not allowed.
-
UnknownServiceError–The service returned an error code this client does not model.