[][src]Trait rusoto_autoscaling_plans::AutoscalingPlans

pub trait AutoscalingPlans {
#[must_use]    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
;
#[must_use] 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
;
#[must_use] 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
;
#[must_use] 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
;
#[must_use] 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
;
#[must_use] 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
; }

Trait representing the capabilities of the AWS Auto Scaling Plans API. AWS Auto Scaling Plans clients implement this trait.

Required methods

#[must_use]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.

#[must_use]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.

#[must_use]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.

#[must_use]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.

#[must_use]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.

#[must_use]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.

Loading content...

Implementors

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.

Loading content...