aws_sdk_budgets/client/
delete_budget_action.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 [`DeleteBudgetAction`](crate::operation::delete_budget_action::builders::DeleteBudgetActionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`account_id(impl Into<String>)`](crate::operation::delete_budget_action::builders::DeleteBudgetActionFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::delete_budget_action::builders::DeleteBudgetActionFluentBuilder::set_account_id):<br>required: **true**<br><p>The account ID of the user. It's a 12-digit number.</p><br>
7    ///   - [`budget_name(impl Into<String>)`](crate::operation::delete_budget_action::builders::DeleteBudgetActionFluentBuilder::budget_name) / [`set_budget_name(Option<String>)`](crate::operation::delete_budget_action::builders::DeleteBudgetActionFluentBuilder::set_budget_name):<br>required: **true**<br><p>A string that represents the budget name. The ":" and "\" characters, and the "/action/" substring, aren't allowed.</p><br>
8    ///   - [`action_id(impl Into<String>)`](crate::operation::delete_budget_action::builders::DeleteBudgetActionFluentBuilder::action_id) / [`set_action_id(Option<String>)`](crate::operation::delete_budget_action::builders::DeleteBudgetActionFluentBuilder::set_action_id):<br>required: **true**<br><p>A system-generated universally unique identifier (UUID) for the action.</p><br>
9    /// - On success, responds with [`DeleteBudgetActionOutput`](crate::operation::delete_budget_action::DeleteBudgetActionOutput) with field(s):
10    ///   - [`account_id(String)`](crate::operation::delete_budget_action::DeleteBudgetActionOutput::account_id): <p>The account ID of the user. It's a 12-digit number.</p>
11    ///   - [`budget_name(String)`](crate::operation::delete_budget_action::DeleteBudgetActionOutput::budget_name): <p>A string that represents the budget name. The ":" and "\" characters, and the "/action/" substring, aren't allowed.</p>
12    ///   - [`action(Option<Action>)`](crate::operation::delete_budget_action::DeleteBudgetActionOutput::action): <p>A budget action resource.</p>
13    /// - On failure, responds with [`SdkError<DeleteBudgetActionError>`](crate::operation::delete_budget_action::DeleteBudgetActionError)
14    pub fn delete_budget_action(&self) -> crate::operation::delete_budget_action::builders::DeleteBudgetActionFluentBuilder {
15        crate::operation::delete_budget_action::builders::DeleteBudgetActionFluentBuilder::new(self.handle.clone())
16    }
17}