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