[][src]Struct rusoto_savingsplans::SavingsPlansClient

pub struct SavingsPlansClient { /* fields omitted */ }

A client for the AWSSavingsPlans API.

Implementations

impl SavingsPlansClient[src]

pub fn new(region: Region) -> SavingsPlansClient[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
) -> SavingsPlansClient where
    P: ProvideAwsCredentials + Send + Sync + 'static,
    D: DispatchSignedRequest + Send + Sync + 'static, 
[src]

pub fn new_with_client(client: Client, region: Region) -> SavingsPlansClient[src]

Trait Implementations

impl Clone for SavingsPlansClient[src]

impl SavingsPlans for SavingsPlansClient[src]

pub fn create_savings_plan<'life0, 'async_trait>(
    &'life0 self,
    input: CreateSavingsPlanRequest
) -> Pin<Box<dyn Future<Output = Result<CreateSavingsPlanResponse, RusotoError<CreateSavingsPlanError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a Savings Plan.

pub fn delete_queued_savings_plan<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteQueuedSavingsPlanRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteQueuedSavingsPlanResponse, RusotoError<DeleteQueuedSavingsPlanError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes the queued purchase for the specified Savings Plan.

pub fn describe_savings_plan_rates<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeSavingsPlanRatesRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeSavingsPlanRatesResponse, RusotoError<DescribeSavingsPlanRatesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Describes the specified Savings Plans rates.

pub fn describe_savings_plans<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeSavingsPlansRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeSavingsPlansResponse, RusotoError<DescribeSavingsPlansError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Describes the specified Savings Plans.

pub fn describe_savings_plans_offering_rates<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeSavingsPlansOfferingRatesRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeSavingsPlansOfferingRatesResponse, RusotoError<DescribeSavingsPlansOfferingRatesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Describes the specified Savings Plans offering rates.

pub fn describe_savings_plans_offerings<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeSavingsPlansOfferingsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeSavingsPlansOfferingsResponse, RusotoError<DescribeSavingsPlansOfferingsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Describes the specified Savings Plans offerings.

pub fn list_tags_for_resource<'life0, 'async_trait>(
    &'life0 self,
    input: ListTagsForResourceRequest
) -> Pin<Box<dyn Future<Output = Result<ListTagsForResourceResponse, RusotoError<ListTagsForResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Lists the tags for the specified resource.

pub fn tag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Adds the specified tags to the specified resource.

pub fn untag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Removes the specified tags from the specified resource.

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.