1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeBudgetPerformanceHistory`](crate::operation::describe_budget_performance_history::builders::DescribeBudgetPerformanceHistoryFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_budget_performance_history::builders::DescribeBudgetPerformanceHistoryFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`account_id(impl Into<String>)`](crate::operation::describe_budget_performance_history::builders::DescribeBudgetPerformanceHistoryFluentBuilder::account_id) / [`set_account_id(Option<String>)`](crate::operation::describe_budget_performance_history::builders::DescribeBudgetPerformanceHistoryFluentBuilder::set_account_id):<br>required: **true**<br><p>The account ID of the user. It's a 12-digit number.</p><br>
    ///   - [`budget_name(impl Into<String>)`](crate::operation::describe_budget_performance_history::builders::DescribeBudgetPerformanceHistoryFluentBuilder::budget_name) / [`set_budget_name(Option<String>)`](crate::operation::describe_budget_performance_history::builders::DescribeBudgetPerformanceHistoryFluentBuilder::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>
    ///   - [`time_period(TimePeriod)`](crate::operation::describe_budget_performance_history::builders::DescribeBudgetPerformanceHistoryFluentBuilder::time_period) / [`set_time_period(Option<TimePeriod>)`](crate::operation::describe_budget_performance_history::builders::DescribeBudgetPerformanceHistoryFluentBuilder::set_time_period):<br>required: **false**<br><p>Retrieves how often the budget went into an <code>ALARM</code> state for the specified time period.</p><br>
    ///   - [`max_results(i32)`](crate::operation::describe_budget_performance_history::builders::DescribeBudgetPerformanceHistoryFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_budget_performance_history::builders::DescribeBudgetPerformanceHistoryFluentBuilder::set_max_results):<br>required: **false**<br><p>An integer that represents how many entries a paginated response contains. The maximum is 100.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_budget_performance_history::builders::DescribeBudgetPerformanceHistoryFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_budget_performance_history::builders::DescribeBudgetPerformanceHistoryFluentBuilder::set_next_token):<br>required: **false**<br><p>A generic string.</p><br>
    /// - On success, responds with [`DescribeBudgetPerformanceHistoryOutput`](crate::operation::describe_budget_performance_history::DescribeBudgetPerformanceHistoryOutput) with field(s):
    ///   - [`budget_performance_history(Option<BudgetPerformanceHistory>)`](crate::operation::describe_budget_performance_history::DescribeBudgetPerformanceHistoryOutput::budget_performance_history): <p>The history of how often the budget has gone into an <code>ALARM</code> state.</p> <p>For <code>DAILY</code> budgets, the history saves the state of the budget for the last 60 days. For <code>MONTHLY</code> budgets, the history saves the state of the budget for the current month plus the last 12 months. For <code>QUARTERLY</code> budgets, the history saves the state of the budget for the last four quarters.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::describe_budget_performance_history::DescribeBudgetPerformanceHistoryOutput::next_token): <p>A generic string.</p>
    /// - On failure, responds with [`SdkError<DescribeBudgetPerformanceHistoryError>`](crate::operation::describe_budget_performance_history::DescribeBudgetPerformanceHistoryError)
    pub fn describe_budget_performance_history(
        &self,
    ) -> crate::operation::describe_budget_performance_history::builders::DescribeBudgetPerformanceHistoryFluentBuilder {
        crate::operation::describe_budget_performance_history::builders::DescribeBudgetPerformanceHistoryFluentBuilder::new(self.handle.clone())
    }
}