[][src]Trait rusoto_budgets::Budgets

pub trait Budgets {
#[must_use]    fn create_budget<'life0, 'async_trait>(
        &'life0 self,
        input: CreateBudgetRequest
    ) -> Pin<Box<dyn Future<Output = Result<CreateBudgetResponse, RusotoError<CreateBudgetError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn create_notification<'life0, 'async_trait>(
        &'life0 self,
        input: CreateNotificationRequest
    ) -> Pin<Box<dyn Future<Output = Result<CreateNotificationResponse, RusotoError<CreateNotificationError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn create_subscriber<'life0, 'async_trait>(
        &'life0 self,
        input: CreateSubscriberRequest
    ) -> Pin<Box<dyn Future<Output = Result<CreateSubscriberResponse, RusotoError<CreateSubscriberError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn delete_budget<'life0, 'async_trait>(
        &'life0 self,
        input: DeleteBudgetRequest
    ) -> Pin<Box<dyn Future<Output = Result<DeleteBudgetResponse, RusotoError<DeleteBudgetError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn delete_notification<'life0, 'async_trait>(
        &'life0 self,
        input: DeleteNotificationRequest
    ) -> Pin<Box<dyn Future<Output = Result<DeleteNotificationResponse, RusotoError<DeleteNotificationError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn delete_subscriber<'life0, 'async_trait>(
        &'life0 self,
        input: DeleteSubscriberRequest
    ) -> Pin<Box<dyn Future<Output = Result<DeleteSubscriberResponse, RusotoError<DeleteSubscriberError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn describe_budget<'life0, 'async_trait>(
        &'life0 self,
        input: DescribeBudgetRequest
    ) -> Pin<Box<dyn Future<Output = Result<DescribeBudgetResponse, RusotoError<DescribeBudgetError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn describe_budget_performance_history<'life0, 'async_trait>(
        &'life0 self,
        input: DescribeBudgetPerformanceHistoryRequest
    ) -> Pin<Box<dyn Future<Output = Result<DescribeBudgetPerformanceHistoryResponse, RusotoError<DescribeBudgetPerformanceHistoryError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn describe_budgets<'life0, 'async_trait>(
        &'life0 self,
        input: DescribeBudgetsRequest
    ) -> Pin<Box<dyn Future<Output = Result<DescribeBudgetsResponse, RusotoError<DescribeBudgetsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn describe_notifications_for_budget<'life0, 'async_trait>(
        &'life0 self,
        input: DescribeNotificationsForBudgetRequest
    ) -> Pin<Box<dyn Future<Output = Result<DescribeNotificationsForBudgetResponse, RusotoError<DescribeNotificationsForBudgetError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn describe_subscribers_for_notification<'life0, 'async_trait>(
        &'life0 self,
        input: DescribeSubscribersForNotificationRequest
    ) -> Pin<Box<dyn Future<Output = Result<DescribeSubscribersForNotificationResponse, RusotoError<DescribeSubscribersForNotificationError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn update_budget<'life0, 'async_trait>(
        &'life0 self,
        input: UpdateBudgetRequest
    ) -> Pin<Box<dyn Future<Output = Result<UpdateBudgetResponse, RusotoError<UpdateBudgetError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn update_notification<'life0, 'async_trait>(
        &'life0 self,
        input: UpdateNotificationRequest
    ) -> Pin<Box<dyn Future<Output = Result<UpdateNotificationResponse, RusotoError<UpdateNotificationError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
#[must_use] fn update_subscriber<'life0, 'async_trait>(
        &'life0 self,
        input: UpdateSubscriberRequest
    ) -> Pin<Box<dyn Future<Output = Result<UpdateSubscriberResponse, RusotoError<UpdateSubscriberError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Trait representing the capabilities of the AWSBudgets API. AWSBudgets clients implement this trait.

Required methods

#[must_use]fn create_budget<'life0, 'async_trait>(
    &'life0 self,
    input: CreateBudgetRequest
) -> Pin<Box<dyn Future<Output = Result<CreateBudgetResponse, RusotoError<CreateBudgetError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Creates a budget and, if included, notifications and subscribers.

Only one of BudgetLimit or PlannedBudgetLimits can be present in the syntax at one time. Use the syntax that matches your case. The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits, see the Examples section.

#[must_use]fn create_notification<'life0, 'async_trait>(
    &'life0 self,
    input: CreateNotificationRequest
) -> Pin<Box<dyn Future<Output = Result<CreateNotificationResponse, RusotoError<CreateNotificationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Creates a notification. You must create the budget before you create the associated notification.

#[must_use]fn create_subscriber<'life0, 'async_trait>(
    &'life0 self,
    input: CreateSubscriberRequest
) -> Pin<Box<dyn Future<Output = Result<CreateSubscriberResponse, RusotoError<CreateSubscriberError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Creates a subscriber. You must create the associated budget and notification before you create the subscriber.

#[must_use]fn delete_budget<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteBudgetRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteBudgetResponse, RusotoError<DeleteBudgetError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Deletes a budget. You can delete your budget at any time.

Deleting a budget also deletes the notifications and subscribers that are associated with that budget.

#[must_use]fn delete_notification<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteNotificationRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteNotificationResponse, RusotoError<DeleteNotificationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Deletes a notification.

Deleting a notification also deletes the subscribers that are associated with the notification.

#[must_use]fn delete_subscriber<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteSubscriberRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteSubscriberResponse, RusotoError<DeleteSubscriberError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Deletes a subscriber.

Deleting the last subscriber to a notification also deletes the notification.

#[must_use]fn describe_budget<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeBudgetRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeBudgetResponse, RusotoError<DescribeBudgetError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Describes a budget.

The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits, see the Examples section.

#[must_use]fn describe_budget_performance_history<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeBudgetPerformanceHistoryRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeBudgetPerformanceHistoryResponse, RusotoError<DescribeBudgetPerformanceHistoryError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Describes the history for DAILY, MONTHLY, and QUARTERLY budgets. Budget history isn't available for ANNUAL budgets.

#[must_use]fn describe_budgets<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeBudgetsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeBudgetsResponse, RusotoError<DescribeBudgetsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Lists the budgets that are associated with an account.

The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits, see the Examples section.

#[must_use]fn describe_notifications_for_budget<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeNotificationsForBudgetRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeNotificationsForBudgetResponse, RusotoError<DescribeNotificationsForBudgetError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Lists the notifications that are associated with a budget.

#[must_use]fn describe_subscribers_for_notification<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeSubscribersForNotificationRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeSubscribersForNotificationResponse, RusotoError<DescribeSubscribersForNotificationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Lists the subscribers that are associated with a notification.

#[must_use]fn update_budget<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateBudgetRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateBudgetResponse, RusotoError<UpdateBudgetError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Updates a budget. You can change every part of a budget except for the budgetName and the calculatedSpend. When you modify a budget, the calculatedSpend drops to zero until AWS has new usage data to use for forecasting.

Only one of BudgetLimit or PlannedBudgetLimits can be present in the syntax at one time. Use the syntax that matches your case. The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits, see the Examples section.

#[must_use]fn update_notification<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateNotificationRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateNotificationResponse, RusotoError<UpdateNotificationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Updates a notification.

#[must_use]fn update_subscriber<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateSubscriberRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateSubscriberResponse, RusotoError<UpdateSubscriberError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Updates a subscriber.

Loading content...

Implementors

impl Budgets for BudgetsClient[src]

fn create_budget<'life0, 'async_trait>(
    &'life0 self,
    input: CreateBudgetRequest
) -> Pin<Box<dyn Future<Output = Result<CreateBudgetResponse, RusotoError<CreateBudgetError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a budget and, if included, notifications and subscribers.

Only one of BudgetLimit or PlannedBudgetLimits can be present in the syntax at one time. Use the syntax that matches your case. The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits, see the Examples section.

fn create_notification<'life0, 'async_trait>(
    &'life0 self,
    input: CreateNotificationRequest
) -> Pin<Box<dyn Future<Output = Result<CreateNotificationResponse, RusotoError<CreateNotificationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a notification. You must create the budget before you create the associated notification.

fn create_subscriber<'life0, 'async_trait>(
    &'life0 self,
    input: CreateSubscriberRequest
) -> Pin<Box<dyn Future<Output = Result<CreateSubscriberResponse, RusotoError<CreateSubscriberError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a subscriber. You must create the associated budget and notification before you create the subscriber.

fn delete_budget<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteBudgetRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteBudgetResponse, RusotoError<DeleteBudgetError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes a budget. You can delete your budget at any time.

Deleting a budget also deletes the notifications and subscribers that are associated with that budget.

fn delete_notification<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteNotificationRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteNotificationResponse, RusotoError<DeleteNotificationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes a notification.

Deleting a notification also deletes the subscribers that are associated with the notification.

fn delete_subscriber<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteSubscriberRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteSubscriberResponse, RusotoError<DeleteSubscriberError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes a subscriber.

Deleting the last subscriber to a notification also deletes the notification.

fn describe_budget<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeBudgetRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeBudgetResponse, RusotoError<DescribeBudgetError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Describes a budget.

The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits, see the Examples section.

fn describe_budget_performance_history<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeBudgetPerformanceHistoryRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeBudgetPerformanceHistoryResponse, RusotoError<DescribeBudgetPerformanceHistoryError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Describes the history for DAILY, MONTHLY, and QUARTERLY budgets. Budget history isn't available for ANNUAL budgets.

fn describe_budgets<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeBudgetsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeBudgetsResponse, RusotoError<DescribeBudgetsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists the budgets that are associated with an account.

The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits, see the Examples section.

fn describe_notifications_for_budget<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeNotificationsForBudgetRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeNotificationsForBudgetResponse, RusotoError<DescribeNotificationsForBudgetError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists the notifications that are associated with a budget.

fn describe_subscribers_for_notification<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeSubscribersForNotificationRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeSubscribersForNotificationResponse, RusotoError<DescribeSubscribersForNotificationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists the subscribers that are associated with a notification.

fn update_budget<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateBudgetRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateBudgetResponse, RusotoError<UpdateBudgetError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates a budget. You can change every part of a budget except for the budgetName and the calculatedSpend. When you modify a budget, the calculatedSpend drops to zero until AWS has new usage data to use for forecasting.

Only one of BudgetLimit or PlannedBudgetLimits can be present in the syntax at one time. Use the syntax that matches your case. The Request Syntax section shows the BudgetLimit syntax. For PlannedBudgetLimits, see the Examples section.

fn update_notification<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateNotificationRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateNotificationResponse, RusotoError<UpdateNotificationError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates a notification.

fn update_subscriber<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateSubscriberRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateSubscriberResponse, RusotoError<UpdateSubscriberError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates a subscriber.

Loading content...