1
2
3
4
5
6
7
8
9
10
11
12
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateSubscription`](crate::operation::update_subscription::builders::UpdateSubscriptionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`auto_renew(AutoRenew)`](crate::operation::update_subscription::builders::UpdateSubscriptionFluentBuilder::auto_renew) / [`set_auto_renew(Option<AutoRenew>)`](crate::operation::update_subscription::builders::UpdateSubscriptionFluentBuilder::set_auto_renew):<br>required: **false**<br><p>When you initally create a subscription, <code>AutoRenew</code> is set to <code>ENABLED</code>. If <code>ENABLED</code>, the subscription will be automatically renewed at the end of the existing subscription period. You can change this by submitting an <code>UpdateSubscription</code> request. If the <code>UpdateSubscription</code> request does not included a value for <code>AutoRenew</code>, the existing value for <code>AutoRenew</code> remains unchanged.</p><br>
    /// - On success, responds with [`UpdateSubscriptionOutput`](crate::operation::update_subscription::UpdateSubscriptionOutput)
    /// - On failure, responds with [`SdkError<UpdateSubscriptionError>`](crate::operation::update_subscription::UpdateSubscriptionError)
    pub fn update_subscription(&self) -> crate::operation::update_subscription::builders::UpdateSubscriptionFluentBuilder {
        crate::operation::update_subscription::builders::UpdateSubscriptionFluentBuilder::new(self.handle.clone())
    }
}