aws_sdk_frauddetector/client/
list_event_predictions.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 [`ListEventPredictions`](crate::operation::list_event_predictions::builders::ListEventPredictionsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_event_predictions::builders::ListEventPredictionsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`event_id(FilterCondition)`](crate::operation::list_event_predictions::builders::ListEventPredictionsFluentBuilder::event_id) / [`set_event_id(Option<FilterCondition>)`](crate::operation::list_event_predictions::builders::ListEventPredictionsFluentBuilder::set_event_id):<br>required: **false**<br><p>The event ID.</p><br>
8    ///   - [`event_type(FilterCondition)`](crate::operation::list_event_predictions::builders::ListEventPredictionsFluentBuilder::event_type) / [`set_event_type(Option<FilterCondition>)`](crate::operation::list_event_predictions::builders::ListEventPredictionsFluentBuilder::set_event_type):<br>required: **false**<br><p>The event type associated with the detector.</p><br>
9    ///   - [`detector_id(FilterCondition)`](crate::operation::list_event_predictions::builders::ListEventPredictionsFluentBuilder::detector_id) / [`set_detector_id(Option<FilterCondition>)`](crate::operation::list_event_predictions::builders::ListEventPredictionsFluentBuilder::set_detector_id):<br>required: **false**<br><p>The detector ID.</p><br>
10    ///   - [`detector_version_id(FilterCondition)`](crate::operation::list_event_predictions::builders::ListEventPredictionsFluentBuilder::detector_version_id) / [`set_detector_version_id(Option<FilterCondition>)`](crate::operation::list_event_predictions::builders::ListEventPredictionsFluentBuilder::set_detector_version_id):<br>required: **false**<br><p>The detector version ID.</p><br>
11    ///   - [`prediction_time_range(PredictionTimeRange)`](crate::operation::list_event_predictions::builders::ListEventPredictionsFluentBuilder::prediction_time_range) / [`set_prediction_time_range(Option<PredictionTimeRange>)`](crate::operation::list_event_predictions::builders::ListEventPredictionsFluentBuilder::set_prediction_time_range):<br>required: **false**<br><p>The time period for when the predictions were generated.</p><br>
12    ///   - [`next_token(impl Into<String>)`](crate::operation::list_event_predictions::builders::ListEventPredictionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_event_predictions::builders::ListEventPredictionsFluentBuilder::set_next_token):<br>required: **false**<br><p>Identifies the next page of results to return. Use the token to make the call again to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.</p><br>
13    ///   - [`max_results(i32)`](crate::operation::list_event_predictions::builders::ListEventPredictionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_event_predictions::builders::ListEventPredictionsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of predictions to return for the request.</p><br>
14    /// - On success, responds with [`ListEventPredictionsOutput`](crate::operation::list_event_predictions::ListEventPredictionsOutput) with field(s):
15    ///   - [`event_prediction_summaries(Option<Vec::<EventPredictionSummary>>)`](crate::operation::list_event_predictions::ListEventPredictionsOutput::event_prediction_summaries): <p>The summary of the past predictions.</p>
16    ///   - [`next_token(Option<String>)`](crate::operation::list_event_predictions::ListEventPredictionsOutput::next_token): <p>Identifies the next page of results to return. Use the token to make the call again to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.</p>
17    /// - On failure, responds with [`SdkError<ListEventPredictionsError>`](crate::operation::list_event_predictions::ListEventPredictionsError)
18    pub fn list_event_predictions(&self) -> crate::operation::list_event_predictions::builders::ListEventPredictionsFluentBuilder {
19        crate::operation::list_event_predictions::builders::ListEventPredictionsFluentBuilder::new(self.handle.clone())
20    }
21}