Trait rusoto_autoscaling_plans::AutoscalingPlans [−][src]
pub trait AutoscalingPlans { 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; 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; 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; 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; 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; 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; }
Expand description
Trait representing the capabilities of the AWS Auto Scaling Plans API. AWS Auto Scaling Plans clients implement this trait.
Required methods
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,
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,
Creates a scaling plan.
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,
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,
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.
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,
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,
Describes the scalable resources in the specified scaling plan.
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,
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,
Describes one or more of your scaling plans.
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,
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,
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.
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,
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,
Updates the specified scaling plan.
You cannot update a scaling plan if it is in the process of being created, updated, or deleted.