1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateEksAnywhereSubscription`](crate::operation::update_eks_anywhere_subscription::builders::UpdateEksAnywhereSubscriptionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`id(impl Into<String>)`](crate::operation::update_eks_anywhere_subscription::builders::UpdateEksAnywhereSubscriptionFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::update_eks_anywhere_subscription::builders::UpdateEksAnywhereSubscriptionFluentBuilder::set_id):<br>required: **true**<br><p>The ID of the subscription.</p><br>
    ///   - [`auto_renew(bool)`](crate::operation::update_eks_anywhere_subscription::builders::UpdateEksAnywhereSubscriptionFluentBuilder::auto_renew) / [`set_auto_renew(Option<bool>)`](crate::operation::update_eks_anywhere_subscription::builders::UpdateEksAnywhereSubscriptionFluentBuilder::set_auto_renew):<br>required: **true**<br><p>A boolean indicating whether or not to automatically renew the subscription.</p><br>
    ///   - [`client_request_token(impl Into<String>)`](crate::operation::update_eks_anywhere_subscription::builders::UpdateEksAnywhereSubscriptionFluentBuilder::client_request_token) / [`set_client_request_token(Option<String>)`](crate::operation::update_eks_anywhere_subscription::builders::UpdateEksAnywhereSubscriptionFluentBuilder::set_client_request_token):<br>required: **false**<br><p>Unique, case-sensitive identifier to ensure the idempotency of the request.</p><br>
    /// - On success, responds with [`UpdateEksAnywhereSubscriptionOutput`](crate::operation::update_eks_anywhere_subscription::UpdateEksAnywhereSubscriptionOutput) with field(s):
    ///   - [`subscription(Option<EksAnywhereSubscription>)`](crate::operation::update_eks_anywhere_subscription::UpdateEksAnywhereSubscriptionOutput::subscription): <p>The full description of the updated subscription.</p>
    /// - On failure, responds with [`SdkError<UpdateEksAnywhereSubscriptionError>`](crate::operation::update_eks_anywhere_subscription::UpdateEksAnywhereSubscriptionError)
    pub fn update_eks_anywhere_subscription(
        &self,
    ) -> crate::operation::update_eks_anywhere_subscription::builders::UpdateEksAnywhereSubscriptionFluentBuilder {
        crate::operation::update_eks_anywhere_subscription::builders::UpdateEksAnywhereSubscriptionFluentBuilder::new(self.handle.clone())
    }
}