aws-sdk-budgets 1.89.0

AWS SDK for AWS Budgets
Documentation
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 [`UpdateSubscriber`](crate::operation::update_subscriber::builders::UpdateSubscriberFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`account_id(impl Into<String>)`](crate::operation::update_subscriber::builders::UpdateSubscriberFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::update_subscriber::builders::UpdateSubscriberFluentBuilder::set_account_id):<br>required: **true**<br><p>The <code>accountId</code> that is associated with the budget whose subscriber you want to update.</p><br>
    ///   - [`budget_name(impl Into<String>)`](crate::operation::update_subscriber::builders::UpdateSubscriberFluentBuilder::budget_name) / [`set_budget_name(Option<String>)`](crate::operation::update_subscriber::builders::UpdateSubscriberFluentBuilder::set_budget_name):<br>required: **true**<br><p>The name of the budget whose subscriber you want to update.</p><br>
    ///   - [`notification(Notification)`](crate::operation::update_subscriber::builders::UpdateSubscriberFluentBuilder::notification) / [`set_notification(Option<Notification>)`](crate::operation::update_subscriber::builders::UpdateSubscriberFluentBuilder::set_notification):<br>required: **true**<br><p>The notification whose subscriber you want to update.</p><br>
    ///   - [`old_subscriber(Subscriber)`](crate::operation::update_subscriber::builders::UpdateSubscriberFluentBuilder::old_subscriber) / [`set_old_subscriber(Option<Subscriber>)`](crate::operation::update_subscriber::builders::UpdateSubscriberFluentBuilder::set_old_subscriber):<br>required: **true**<br><p>The previous subscriber that is associated with a budget notification.</p><br>
    ///   - [`new_subscriber(Subscriber)`](crate::operation::update_subscriber::builders::UpdateSubscriberFluentBuilder::new_subscriber) / [`set_new_subscriber(Option<Subscriber>)`](crate::operation::update_subscriber::builders::UpdateSubscriberFluentBuilder::set_new_subscriber):<br>required: **true**<br><p>The updated subscriber that is associated with a budget notification.</p><br>
    /// - On success, responds with [`UpdateSubscriberOutput`](crate::operation::update_subscriber::UpdateSubscriberOutput)
    /// - On failure, responds with [`SdkError<UpdateSubscriberError>`](crate::operation::update_subscriber::UpdateSubscriberError)
    pub fn update_subscriber(&self) -> crate::operation::update_subscriber::builders::UpdateSubscriberFluentBuilder {
        crate::operation::update_subscriber::builders::UpdateSubscriberFluentBuilder::new(self.handle.clone())
    }
}