aws_sdk_budgets/client/update_notification.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`UpdateNotification`](crate::operation::update_notification::builders::UpdateNotificationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`account_id(impl Into<String>)`](crate::operation::update_notification::builders::UpdateNotificationFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::update_notification::builders::UpdateNotificationFluentBuilder::set_account_id):<br>required: **true**<br><p>The <code>accountId</code> that is associated with the budget whose notification you want to update.</p><br>
7 /// - [`budget_name(impl Into<String>)`](crate::operation::update_notification::builders::UpdateNotificationFluentBuilder::budget_name) / [`set_budget_name(Option<String>)`](crate::operation::update_notification::builders::UpdateNotificationFluentBuilder::set_budget_name):<br>required: **true**<br><p>The name of the budget whose notification you want to update.</p><br>
8 /// - [`old_notification(Notification)`](crate::operation::update_notification::builders::UpdateNotificationFluentBuilder::old_notification) / [`set_old_notification(Option<Notification>)`](crate::operation::update_notification::builders::UpdateNotificationFluentBuilder::set_old_notification):<br>required: **true**<br><p>The previous notification that is associated with a budget.</p><br>
9 /// - [`new_notification(Notification)`](crate::operation::update_notification::builders::UpdateNotificationFluentBuilder::new_notification) / [`set_new_notification(Option<Notification>)`](crate::operation::update_notification::builders::UpdateNotificationFluentBuilder::set_new_notification):<br>required: **true**<br><p>The updated notification to be associated with a budget.</p><br>
10 /// - On success, responds with [`UpdateNotificationOutput`](crate::operation::update_notification::UpdateNotificationOutput)
11 /// - On failure, responds with [`SdkError<UpdateNotificationError>`](crate::operation::update_notification::UpdateNotificationError)
12 pub fn update_notification(&self) -> crate::operation::update_notification::builders::UpdateNotificationFluentBuilder {
13 crate::operation::update_notification::builders::UpdateNotificationFluentBuilder::new(self.handle.clone())
14 }
15}