aws_sdk_budgets/client/
describe_budget.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 [`DescribeBudget`](crate::operation::describe_budget::builders::DescribeBudgetFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`account_id(impl Into<String>)`](crate::operation::describe_budget::builders::DescribeBudgetFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::describe_budget::builders::DescribeBudgetFluentBuilder::set_account_id):<br>required: **true**<br><p>The <code>accountId</code> that is associated with the budget that you want a description of.</p><br>
7    ///   - [`budget_name(impl Into<String>)`](crate::operation::describe_budget::builders::DescribeBudgetFluentBuilder::budget_name) / [`set_budget_name(Option<String>)`](crate::operation::describe_budget::builders::DescribeBudgetFluentBuilder::set_budget_name):<br>required: **true**<br><p>The name of the budget that you want a description of.</p><br>
8    ///   - [`show_filter_expression(bool)`](crate::operation::describe_budget::builders::DescribeBudgetFluentBuilder::show_filter_expression) / [`set_show_filter_expression(Option<bool>)`](crate::operation::describe_budget::builders::DescribeBudgetFluentBuilder::set_show_filter_expression):<br>required: **false**<br><p>Specifies whether the response includes the filter expression associated with the budget. By showing the filter expression, you can see detailed filtering logic applied to the budget, such as Amazon Web Services services or tags that are being tracked.</p><br>
9    /// - On success, responds with [`DescribeBudgetOutput`](crate::operation::describe_budget::DescribeBudgetOutput) with field(s):
10    ///   - [`budget(Option<Budget>)`](crate::operation::describe_budget::DescribeBudgetOutput::budget): <p>The description of the budget.</p>
11    /// - On failure, responds with [`SdkError<DescribeBudgetError>`](crate::operation::describe_budget::DescribeBudgetError)
12    pub fn describe_budget(&self) -> crate::operation::describe_budget::builders::DescribeBudgetFluentBuilder {
13        crate::operation::describe_budget::builders::DescribeBudgetFluentBuilder::new(self.handle.clone())
14    }
15}