1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListReceiptRuleSets`](crate::operation::list_receipt_rule_sets::builders::ListReceiptRuleSetsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_receipt_rule_sets::builders::ListReceiptRuleSetsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_receipt_rule_sets::builders::ListReceiptRuleSetsFluentBuilder::set_next_token):<br>required: **false**<br><p>A token returned from a previous call to <code>ListReceiptRuleSets</code> to indicate the position in the receipt rule set list.</p><br>
    /// - On success, responds with [`ListReceiptRuleSetsOutput`](crate::operation::list_receipt_rule_sets::ListReceiptRuleSetsOutput) with field(s):
    ///   - [`rule_sets(Option<Vec::<ReceiptRuleSetMetadata>>)`](crate::operation::list_receipt_rule_sets::ListReceiptRuleSetsOutput::rule_sets): <p>The metadata for the currently active receipt rule set. The metadata consists of the rule set name and the timestamp of when the rule set was created.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_receipt_rule_sets::ListReceiptRuleSetsOutput::next_token): <p>A token indicating that there are additional receipt rule sets available to be listed. Pass this token to successive calls of <code>ListReceiptRuleSets</code> to retrieve up to 100 receipt rule sets at a time.</p>
    /// - On failure, responds with [`SdkError<ListReceiptRuleSetsError>`](crate::operation::list_receipt_rule_sets::ListReceiptRuleSetsError)
    pub fn list_receipt_rule_sets(&self) -> crate::operation::list_receipt_rule_sets::builders::ListReceiptRuleSetsFluentBuilder {
        crate::operation::list_receipt_rule_sets::builders::ListReceiptRuleSetsFluentBuilder::new(self.handle.clone())
    }
}