[][src]Struct rusoto_budgets::BudgetsClient

pub struct BudgetsClient { /* fields omitted */ }

A client for the AWSBudgets API.

Methods

impl BudgetsClient[src]

pub fn new(region: Region) -> BudgetsClient[src]

Creates a client backed by the default tokio event loop.

The client will use the default credentials provider and tls client.

pub fn new_with<P, D>(
    request_dispatcher: D,
    credentials_provider: P,
    region: Region
) -> BudgetsClient where
    P: ProvideAwsCredentials + Send + Sync + 'static,
    P::Future: Send,
    D: DispatchSignedRequest + Send + Sync + 'static,
    D::Future: Send
[src]

Trait Implementations

impl Budgets for BudgetsClient[src]

fn create_budget(
    &self,
    input: CreateBudgetRequest
) -> RusotoFuture<CreateBudgetResponse, CreateBudgetError>
[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(
    &self,
    input: CreateNotificationRequest
) -> RusotoFuture<CreateNotificationResponse, CreateNotificationError>
[src]

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

fn create_subscriber(
    &self,
    input: CreateSubscriberRequest
) -> RusotoFuture<CreateSubscriberResponse, CreateSubscriberError>
[src]

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

fn delete_budget(
    &self,
    input: DeleteBudgetRequest
) -> RusotoFuture<DeleteBudgetResponse, DeleteBudgetError>
[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(
    &self,
    input: DeleteNotificationRequest
) -> RusotoFuture<DeleteNotificationResponse, DeleteNotificationError>
[src]

Deletes a notification.

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

fn delete_subscriber(
    &self,
    input: DeleteSubscriberRequest
) -> RusotoFuture<DeleteSubscriberResponse, DeleteSubscriberError>
[src]

Deletes a subscriber.

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

fn describe_budget(
    &self,
    input: DescribeBudgetRequest
) -> RusotoFuture<DescribeBudgetResponse, DescribeBudgetError>
[src]

Describes a budget.

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

fn describe_budget_performance_history(
    &self,
    input: DescribeBudgetPerformanceHistoryRequest
) -> RusotoFuture<DescribeBudgetPerformanceHistoryResponse, DescribeBudgetPerformanceHistoryError>
[src]

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

fn describe_budgets(
    &self,
    input: DescribeBudgetsRequest
) -> RusotoFuture<DescribeBudgetsResponse, DescribeBudgetsError>
[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(
    &self,
    input: DescribeNotificationsForBudgetRequest
) -> RusotoFuture<DescribeNotificationsForBudgetResponse, DescribeNotificationsForBudgetError>
[src]

Lists the notifications that are associated with a budget.

fn describe_subscribers_for_notification(
    &self,
    input: DescribeSubscribersForNotificationRequest
) -> RusotoFuture<DescribeSubscribersForNotificationResponse, DescribeSubscribersForNotificationError>
[src]

Lists the subscribers that are associated with a notification.

fn update_budget(
    &self,
    input: UpdateBudgetRequest
) -> RusotoFuture<UpdateBudgetResponse, UpdateBudgetError>
[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(
    &self,
    input: UpdateNotificationRequest
) -> RusotoFuture<UpdateNotificationResponse, UpdateNotificationError>
[src]

Updates a notification.

fn update_subscriber(
    &self,
    input: UpdateSubscriberRequest
) -> RusotoFuture<UpdateSubscriberResponse, UpdateSubscriberError>
[src]

Updates a subscriber.

impl Clone for BudgetsClient[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for BudgetsClient

impl Sync for BudgetsClient

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self