1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateReceiptRule`](crate::operation::update_receipt_rule::builders::UpdateReceiptRuleFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`rule_set_name(impl Into<String>)`](crate::operation::update_receipt_rule::builders::UpdateReceiptRuleFluentBuilder::rule_set_name) / [`set_rule_set_name(Option<String>)`](crate::operation::update_receipt_rule::builders::UpdateReceiptRuleFluentBuilder::set_rule_set_name):<br>required: **true**<br><p>The name of the receipt rule set that the receipt rule belongs to.</p><br>
    ///   - [`rule(ReceiptRule)`](crate::operation::update_receipt_rule::builders::UpdateReceiptRuleFluentBuilder::rule) / [`set_rule(Option<ReceiptRule>)`](crate::operation::update_receipt_rule::builders::UpdateReceiptRuleFluentBuilder::set_rule):<br>required: **true**<br><p>A data structure that contains the updated receipt rule information.</p><br>
    /// - On success, responds with [`UpdateReceiptRuleOutput`](crate::operation::update_receipt_rule::UpdateReceiptRuleOutput)
    /// - On failure, responds with [`SdkError<UpdateReceiptRuleError>`](crate::operation::update_receipt_rule::UpdateReceiptRuleError)
    pub fn update_receipt_rule(&self) -> crate::operation::update_receipt_rule::builders::UpdateReceiptRuleFluentBuilder {
        crate::operation::update_receipt_rule::builders::UpdateReceiptRuleFluentBuilder::new(self.handle.clone())
    }
}