// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListRulesPackages`](crate::operation::list_rules_packages::builders::ListRulesPackagesFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_rules_packages::builders::ListRulesPackagesFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`next_token(impl Into<String>)`](crate::operation::list_rules_packages::builders::ListRulesPackagesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_rules_packages::builders::ListRulesPackagesFluentBuilder::set_next_token):<br>required: **false**<br><p>You can use this parameter when paginating results. Set the value of this parameter to null on your first call to the <b>ListRulesPackages</b> action. Subsequent calls to the action fill <b>nextToken</b> in the request with the value of <b>NextToken</b> from the previous response to continue listing data.</p><br>
/// - [`max_results(i32)`](crate::operation::list_rules_packages::builders::ListRulesPackagesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_rules_packages::builders::ListRulesPackagesFluentBuilder::set_max_results):<br>required: **false**<br><p>You can use this parameter to indicate the maximum number of items you want in the response. The default value is 10. The maximum value is 500.</p><br>
/// - On success, responds with [`ListRulesPackagesOutput`](crate::operation::list_rules_packages::ListRulesPackagesOutput) with field(s):
/// - [`rules_package_arns(Vec::<String>)`](crate::operation::list_rules_packages::ListRulesPackagesOutput::rules_package_arns): <p>The list of ARNs that specifies the rules packages returned by the action.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_rules_packages::ListRulesPackagesOutput::next_token): <p> When a response is generated, if there is more data to be listed, this parameter is present in the response and contains the value to use for the <b>nextToken</b> parameter in a subsequent pagination request. If there is no more data to be listed, this parameter is set to null.</p>
/// - On failure, responds with [`SdkError<ListRulesPackagesError>`](crate::operation::list_rules_packages::ListRulesPackagesError)
pub fn list_rules_packages(&self) -> crate::operation::list_rules_packages::builders::ListRulesPackagesFluentBuilder {
crate::operation::list_rules_packages::builders::ListRulesPackagesFluentBuilder::new(self.handle.clone())
}
}