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 [`ListApprovalRuleTemplates`](crate::operation::list_approval_rule_templates::builders::ListApprovalRuleTemplatesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_approval_rule_templates::builders::ListApprovalRuleTemplatesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_approval_rule_templates::builders::ListApprovalRuleTemplatesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_approval_rule_templates::builders::ListApprovalRuleTemplatesFluentBuilder::set_next_token):<br>required: **false**<br><p>An enumeration token that, when provided in a request, returns the next batch of the results.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_approval_rule_templates::builders::ListApprovalRuleTemplatesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_approval_rule_templates::builders::ListApprovalRuleTemplatesFluentBuilder::set_max_results):<br>required: **false**<br><p>A non-zero, non-negative integer used to limit the number of returned results.</p><br>
    /// - On success, responds with [`ListApprovalRuleTemplatesOutput`](crate::operation::list_approval_rule_templates::ListApprovalRuleTemplatesOutput) with field(s):
    ///   - [`approval_rule_template_names(Option<Vec::<String>>)`](crate::operation::list_approval_rule_templates::ListApprovalRuleTemplatesOutput::approval_rule_template_names): <p>The names of all the approval rule templates found in the Amazon Web Services Region for your Amazon Web Services account.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_approval_rule_templates::ListApprovalRuleTemplatesOutput::next_token): <p>An enumeration token that allows the operation to batch the next results of the operation.</p>
    /// - On failure, responds with [`SdkError<ListApprovalRuleTemplatesError>`](crate::operation::list_approval_rule_templates::ListApprovalRuleTemplatesError)
    pub fn list_approval_rule_templates(&self) -> crate::operation::list_approval_rule_templates::builders::ListApprovalRuleTemplatesFluentBuilder {
        crate::operation::list_approval_rule_templates::builders::ListApprovalRuleTemplatesFluentBuilder::new(self.handle.clone())
    }
}