[][src]Struct rusoto_autoscaling_plans::AutoscalingPlansClient

pub struct AutoscalingPlansClient { /* fields omitted */ }

A client for the AWS Auto Scaling Plans API.

Implementations

impl AutoscalingPlansClient[src]

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

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

Trait Implementations

impl AutoscalingPlans for AutoscalingPlansClient[src]

pub fn create_scaling_plan<'life0, 'async_trait>(
    &'life0 self,
    input: CreateScalingPlanRequest
) -> Pin<Box<dyn Future<Output = Result<CreateScalingPlanResponse, RusotoError<CreateScalingPlanError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a scaling plan.

pub fn delete_scaling_plan<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteScalingPlanRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteScalingPlanResponse, RusotoError<DeleteScalingPlanError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes the specified scaling plan.

Deleting a scaling plan deletes the underlying ScalingInstruction for all of the scalable resources that are covered by the plan.

If the plan has launched resources or has scaling activities in progress, you must delete those resources separately.

pub fn describe_scaling_plan_resources<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeScalingPlanResourcesRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeScalingPlanResourcesResponse, RusotoError<DescribeScalingPlanResourcesError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Describes the scalable resources in the specified scaling plan.

pub fn describe_scaling_plans<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeScalingPlansRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeScalingPlansResponse, RusotoError<DescribeScalingPlansError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Describes one or more of your scaling plans.

pub fn get_scaling_plan_resource_forecast_data<'life0, 'async_trait>(
    &'life0 self,
    input: GetScalingPlanResourceForecastDataRequest
) -> Pin<Box<dyn Future<Output = Result<GetScalingPlanResourceForecastDataResponse, RusotoError<GetScalingPlanResourceForecastDataError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Retrieves the forecast data for a scalable resource.

Capacity forecasts are represented as predicted values, or data points, that are calculated using historical data points from a specified CloudWatch load metric. Data points are available for up to 56 days.

pub fn update_scaling_plan<'life0, 'async_trait>(
    &'life0 self,
    input: UpdateScalingPlanRequest
) -> Pin<Box<dyn Future<Output = Result<UpdateScalingPlanResponse, RusotoError<UpdateScalingPlanError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Updates the specified scaling plan.

You cannot update a scaling plan if it is in the process of being created, updated, or deleted.

impl Clone for AutoscalingPlansClient[src]

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.