1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListRuleGroupsNamespaces`](crate::operation::list_rule_groups_namespaces::builders::ListRuleGroupsNamespacesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_rule_groups_namespaces::builders::ListRuleGroupsNamespacesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`workspace_id(impl Into<String>)`](crate::operation::list_rule_groups_namespaces::builders::ListRuleGroupsNamespacesFluentBuilder::workspace_id) / [`set_workspace_id(Option<String>)`](crate::operation::list_rule_groups_namespaces::builders::ListRuleGroupsNamespacesFluentBuilder::set_workspace_id):<br>required: **true**<br>The ID of the workspace.<br>
    ///   - [`name(impl Into<String>)`](crate::operation::list_rule_groups_namespaces::builders::ListRuleGroupsNamespacesFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::list_rule_groups_namespaces::builders::ListRuleGroupsNamespacesFluentBuilder::set_name):<br>required: **false**<br>Optional filter for rule groups namespace name. Only the rule groups namespace that begin with this value will be returned.<br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_rule_groups_namespaces::builders::ListRuleGroupsNamespacesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_rule_groups_namespaces::builders::ListRuleGroupsNamespacesFluentBuilder::set_next_token):<br>required: **false**<br>Pagination token to request the next page in a paginated list. This token is obtained from the output of the previous ListRuleGroupsNamespaces request.<br>
    ///   - [`max_results(i32)`](crate::operation::list_rule_groups_namespaces::builders::ListRuleGroupsNamespacesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_rule_groups_namespaces::builders::ListRuleGroupsNamespacesFluentBuilder::set_max_results):<br>required: **false**<br>Maximum results to return in response (default=100, maximum=1000).<br>
    /// - On success, responds with [`ListRuleGroupsNamespacesOutput`](crate::operation::list_rule_groups_namespaces::ListRuleGroupsNamespacesOutput) with field(s):
    ///   - [`rule_groups_namespaces(Vec::<RuleGroupsNamespaceSummary>)`](crate::operation::list_rule_groups_namespaces::ListRuleGroupsNamespacesOutput::rule_groups_namespaces): The list of the selected rule groups namespaces.
    ///   - [`next_token(Option<String>)`](crate::operation::list_rule_groups_namespaces::ListRuleGroupsNamespacesOutput::next_token): Pagination token to use when requesting the next page in this list.
    /// - On failure, responds with [`SdkError<ListRuleGroupsNamespacesError>`](crate::operation::list_rule_groups_namespaces::ListRuleGroupsNamespacesError)
    pub fn list_rule_groups_namespaces(&self) -> crate::operation::list_rule_groups_namespaces::builders::ListRuleGroupsNamespacesFluentBuilder {
        crate::operation::list_rule_groups_namespaces::builders::ListRuleGroupsNamespacesFluentBuilder::new(self.handle.clone())
    }
}