Struct rusoto_savingsplans::SavingsPlansClient [−][src]
pub struct SavingsPlansClient { /* fields omitted */ }
Expand description
A client for the AWSSavingsPlans API.
Implementations
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,
Trait Implementations
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,
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,
Creates a Savings Plan.
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,
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,
Deletes the queued purchase for the specified Savings Plan.
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,
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,
Describes the specified Savings Plans rates.
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,
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,
Describes the specified Savings Plans.
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,
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,
Describes the specified Savings Plans offering rates.
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,
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,
Describes the specified Savings Plans offerings.
Lists the tags for the specified resource.
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,
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,
Adds the specified tags to the specified resource.
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,
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,
Removes the specified tags from the specified resource.
Auto Trait Implementations
impl !RefUnwindSafe for SavingsPlansClient
impl Send for SavingsPlansClient
impl Sync for SavingsPlansClient
impl Unpin for SavingsPlansClient
impl !UnwindSafe for SavingsPlansClient
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self