aws_sdk_frauddetector/client/
get_batch_prediction_jobs.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`GetBatchPredictionJobs`](crate::operation::get_batch_prediction_jobs::builders::GetBatchPredictionJobsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::get_batch_prediction_jobs::builders::GetBatchPredictionJobsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`job_id(impl Into<String>)`](crate::operation::get_batch_prediction_jobs::builders::GetBatchPredictionJobsFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::get_batch_prediction_jobs::builders::GetBatchPredictionJobsFluentBuilder::set_job_id):<br>required: **false**<br><p>The batch prediction job for which to get the details.</p><br>
8    ///   - [`max_results(i32)`](crate::operation::get_batch_prediction_jobs::builders::GetBatchPredictionJobsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_batch_prediction_jobs::builders::GetBatchPredictionJobsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of objects to return for the request.</p><br>
9    ///   - [`next_token(impl Into<String>)`](crate::operation::get_batch_prediction_jobs::builders::GetBatchPredictionJobsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_batch_prediction_jobs::builders::GetBatchPredictionJobsFluentBuilder::set_next_token):<br>required: **false**<br><p>The next token from the previous request.</p><br>
10    /// - On success, responds with [`GetBatchPredictionJobsOutput`](crate::operation::get_batch_prediction_jobs::GetBatchPredictionJobsOutput) with field(s):
11    ///   - [`batch_predictions(Option<Vec::<BatchPrediction>>)`](crate::operation::get_batch_prediction_jobs::GetBatchPredictionJobsOutput::batch_predictions): <p>An array containing the details of each batch prediction job.</p>
12    ///   - [`next_token(Option<String>)`](crate::operation::get_batch_prediction_jobs::GetBatchPredictionJobsOutput::next_token): <p>The next token for the subsequent request.</p>
13    /// - On failure, responds with [`SdkError<GetBatchPredictionJobsError>`](crate::operation::get_batch_prediction_jobs::GetBatchPredictionJobsError)
14    pub fn get_batch_prediction_jobs(&self) -> crate::operation::get_batch_prediction_jobs::builders::GetBatchPredictionJobsFluentBuilder {
15        crate::operation::get_batch_prediction_jobs::builders::GetBatchPredictionJobsFluentBuilder::new(self.handle.clone())
16    }
17}