aws-sdk-cloudwatch 1.109.1

AWS SDK for Amazon CloudWatch
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeInsightRules`](crate::operation::describe_insight_rules::builders::DescribeInsightRulesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_insight_rules::builders::DescribeInsightRulesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_insight_rules::builders::DescribeInsightRulesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_insight_rules::builders::DescribeInsightRulesFluentBuilder::set_next_token):<br>required: **false**<br><p>Include this value, if it was returned by the previous operation, to get the next set of rules.</p><br>
    ///   - [`max_results(i32)`](crate::operation::describe_insight_rules::builders::DescribeInsightRulesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_insight_rules::builders::DescribeInsightRulesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in one operation. If you omit this parameter, the default of 500 is used.</p><br>
    /// - On success, responds with [`DescribeInsightRulesOutput`](crate::operation::describe_insight_rules::DescribeInsightRulesOutput) with field(s):
    ///   - [`next_token(Option<String>)`](crate::operation::describe_insight_rules::DescribeInsightRulesOutput::next_token): <p>If this parameter is present, it is a token that marks the start of the next batch of returned results.</p>
    ///   - [`insight_rules(Option<Vec::<InsightRule>>)`](crate::operation::describe_insight_rules::DescribeInsightRulesOutput::insight_rules): <p>The rules returned by the operation.</p>
    /// - On failure, responds with [`SdkError<DescribeInsightRulesError>`](crate::operation::describe_insight_rules::DescribeInsightRulesError)
    pub fn describe_insight_rules(&self) -> crate::operation::describe_insight_rules::builders::DescribeInsightRulesFluentBuilder {
        crate::operation::describe_insight_rules::builders::DescribeInsightRulesFluentBuilder::new(self.handle.clone())
    }
}