Struct rusoto_autoscaling_plans::AutoscalingPlansClient [−][src]
pub struct AutoscalingPlansClient { /* fields omitted */ }
Expand description
A client for the AWS Auto Scaling Plans 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
) -> AutoscalingPlansClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
Trait Implementations
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.
Auto Trait Implementations
impl !RefUnwindSafe for AutoscalingPlansClient
impl Send for AutoscalingPlansClient
impl Sync for AutoscalingPlansClient
impl Unpin for AutoscalingPlansClient
impl !UnwindSafe for AutoscalingPlansClient
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