1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListNotificationRules`](crate::operation::list_notification_rules::builders::ListNotificationRulesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_notification_rules::builders::ListNotificationRulesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`filters(ListNotificationRulesFilter)`](crate::operation::list_notification_rules::builders::ListNotificationRulesFluentBuilder::filters) / [`set_filters(Option<Vec<ListNotificationRulesFilter>>)`](crate::operation::list_notification_rules::builders::ListNotificationRulesFluentBuilder::set_filters): <p>The filters to use to return information by service or resource type. For valid values, see <code>ListNotificationRulesFilter</code>.</p> <note>   <p>A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.</p>  </note>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_notification_rules::builders::ListNotificationRulesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_notification_rules::builders::ListNotificationRulesFluentBuilder::set_next_token): <p>An enumeration token that, when provided in a request, returns the next batch of the results.</p>
    ///   - [`max_results(i32)`](crate::operation::list_notification_rules::builders::ListNotificationRulesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_notification_rules::builders::ListNotificationRulesFluentBuilder::set_max_results): <p>A non-negative integer used to limit the number of returned results. The maximum number of results that can be returned is 100.</p>
    /// - On success, responds with [`ListNotificationRulesOutput`](crate::operation::list_notification_rules::ListNotificationRulesOutput) with field(s):
    ///   - [`next_token(Option<String>)`](crate::operation::list_notification_rules::ListNotificationRulesOutput::next_token): <p>An enumeration token that can be used in a request to return the next batch of the results.</p>
    ///   - [`notification_rules(Option<Vec<NotificationRuleSummary>>)`](crate::operation::list_notification_rules::ListNotificationRulesOutput::notification_rules): <p>The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID. </p>
    /// - On failure, responds with [`SdkError<ListNotificationRulesError>`](crate::operation::list_notification_rules::ListNotificationRulesError)
    pub fn list_notification_rules(&self) -> crate::operation::list_notification_rules::builders::ListNotificationRulesFluentBuilder {
        crate::operation::list_notification_rules::builders::ListNotificationRulesFluentBuilder::new(self.handle.clone())
    }
}