[−][src]Struct rusoto_budgets::BudgetsClient
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]
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,
Trait Implementations
impl Budgets for BudgetsClient
[src]
fn create_budget(
&self,
input: CreateBudgetRequest
) -> RusotoFuture<CreateBudgetResponse, CreateBudgetError>
[src]
&self,
input: CreateBudgetRequest
) -> RusotoFuture<CreateBudgetResponse, CreateBudgetError>
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]
&self,
input: CreateNotificationRequest
) -> RusotoFuture<CreateNotificationResponse, CreateNotificationError>
Creates a notification. You must create the budget before you create the associated notification.
fn create_subscriber(
&self,
input: CreateSubscriberRequest
) -> RusotoFuture<CreateSubscriberResponse, CreateSubscriberError>
[src]
&self,
input: CreateSubscriberRequest
) -> RusotoFuture<CreateSubscriberResponse, CreateSubscriberError>
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]
&self,
input: DeleteBudgetRequest
) -> RusotoFuture<DeleteBudgetResponse, DeleteBudgetError>
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]
&self,
input: DeleteNotificationRequest
) -> RusotoFuture<DeleteNotificationResponse, DeleteNotificationError>
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]
&self,
input: DeleteSubscriberRequest
) -> RusotoFuture<DeleteSubscriberResponse, DeleteSubscriberError>
Deletes a subscriber.
Deleting the last subscriber to a notification also deletes the notification.
fn describe_budget(
&self,
input: DescribeBudgetRequest
) -> RusotoFuture<DescribeBudgetResponse, DescribeBudgetError>
[src]
&self,
input: DescribeBudgetRequest
) -> RusotoFuture<DescribeBudgetResponse, DescribeBudgetError>
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]
&self,
input: DescribeBudgetPerformanceHistoryRequest
) -> RusotoFuture<DescribeBudgetPerformanceHistoryResponse, DescribeBudgetPerformanceHistoryError>
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]
&self,
input: DescribeBudgetsRequest
) -> RusotoFuture<DescribeBudgetsResponse, DescribeBudgetsError>
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]
&self,
input: DescribeNotificationsForBudgetRequest
) -> RusotoFuture<DescribeNotificationsForBudgetResponse, DescribeNotificationsForBudgetError>
Lists the notifications that are associated with a budget.
fn describe_subscribers_for_notification(
&self,
input: DescribeSubscribersForNotificationRequest
) -> RusotoFuture<DescribeSubscribersForNotificationResponse, DescribeSubscribersForNotificationError>
[src]
&self,
input: DescribeSubscribersForNotificationRequest
) -> RusotoFuture<DescribeSubscribersForNotificationResponse, DescribeSubscribersForNotificationError>
Lists the subscribers that are associated with a notification.
fn update_budget(
&self,
input: UpdateBudgetRequest
) -> RusotoFuture<UpdateBudgetResponse, UpdateBudgetError>
[src]
&self,
input: UpdateBudgetRequest
) -> RusotoFuture<UpdateBudgetResponse, UpdateBudgetError>
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]
&self,
input: UpdateNotificationRequest
) -> RusotoFuture<UpdateNotificationResponse, UpdateNotificationError>
Updates a notification.
fn update_subscriber(
&self,
input: UpdateSubscriberRequest
) -> RusotoFuture<UpdateSubscriberResponse, UpdateSubscriberError>
[src]
&self,
input: UpdateSubscriberRequest
) -> RusotoFuture<UpdateSubscriberResponse, UpdateSubscriberError>
Updates a subscriber.
impl Clone for BudgetsClient
[src]
fn clone(&self) -> 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]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
impl<T> Erased for T
impl<T> Same for T
type Output = T
Should always be Self