1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListAnomaliesForInsight`](crate::operation::list_anomalies_for_insight::builders::ListAnomaliesForInsightFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_anomalies_for_insight::builders::ListAnomaliesForInsightFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`insight_id(impl ::std::convert::Into<String>)`](crate::operation::list_anomalies_for_insight::builders::ListAnomaliesForInsightFluentBuilder::insight_id) / [`set_insight_id(Option<String>)`](crate::operation::list_anomalies_for_insight::builders::ListAnomaliesForInsightFluentBuilder::set_insight_id): <p> The ID of the insight. The returned anomalies belong to this insight. </p>
    ///   - [`start_time_range(StartTimeRange)`](crate::operation::list_anomalies_for_insight::builders::ListAnomaliesForInsightFluentBuilder::start_time_range) / [`set_start_time_range(Option<StartTimeRange>)`](crate::operation::list_anomalies_for_insight::builders::ListAnomaliesForInsightFluentBuilder::set_start_time_range): <p> A time range used to specify when the requested anomalies started. All returned anomalies started during this time range. </p>
    ///   - [`max_results(i32)`](crate::operation::list_anomalies_for_insight::builders::ListAnomaliesForInsightFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_anomalies_for_insight::builders::ListAnomaliesForInsightFluentBuilder::set_max_results): <p>The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
    ///   - [`next_token(impl ::std::convert::Into<String>)`](crate::operation::list_anomalies_for_insight::builders::ListAnomaliesForInsightFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_anomalies_for_insight::builders::ListAnomaliesForInsightFluentBuilder::set_next_token): <p>The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.</p>
    ///   - [`account_id(impl ::std::convert::Into<String>)`](crate::operation::list_anomalies_for_insight::builders::ListAnomaliesForInsightFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::list_anomalies_for_insight::builders::ListAnomaliesForInsightFluentBuilder::set_account_id): <p>The ID of the Amazon Web Services account. </p>
    ///   - [`filters(ListAnomaliesForInsightFilters)`](crate::operation::list_anomalies_for_insight::builders::ListAnomaliesForInsightFluentBuilder::filters) / [`set_filters(Option<ListAnomaliesForInsightFilters>)`](crate::operation::list_anomalies_for_insight::builders::ListAnomaliesForInsightFluentBuilder::set_filters): <p> Specifies one or more service names that are used to list anomalies. </p>
    /// - On success, responds with [`ListAnomaliesForInsightOutput`](crate::operation::list_anomalies_for_insight::ListAnomaliesForInsightOutput) with field(s):
    ///   - [`proactive_anomalies(Option<Vec<ProactiveAnomalySummary>>)`](crate::operation::list_anomalies_for_insight::ListAnomaliesForInsightOutput::proactive_anomalies): <p> An array of <code>ProactiveAnomalySummary</code> objects that represent the requested anomalies </p>
    ///   - [`reactive_anomalies(Option<Vec<ReactiveAnomalySummary>>)`](crate::operation::list_anomalies_for_insight::ListAnomaliesForInsightOutput::reactive_anomalies): <p> An array of <code>ReactiveAnomalySummary</code> objects that represent the requested anomalies </p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_anomalies_for_insight::ListAnomaliesForInsightOutput::next_token): <p>The pagination token to use to retrieve the next page of results for this operation. If there are no more pages, this value is null.</p>
    /// - On failure, responds with [`SdkError<ListAnomaliesForInsightError>`](crate::operation::list_anomalies_for_insight::ListAnomaliesForInsightError)
    pub fn list_anomalies_for_insight(
        &self,
    ) -> crate::operation::list_anomalies_for_insight::builders::ListAnomaliesForInsightFluentBuilder
    {
        crate::operation::list_anomalies_for_insight::builders::ListAnomaliesForInsightFluentBuilder::new(self.handle.clone())
    }
}