[−][src]Struct rusoto_autoscaling_plans::AutoscalingPlansClient
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]
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> AutoscalingPlansClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
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]
&'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.
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]
&'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.
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]
&'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.
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]
&'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.
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]
&'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.
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]
&'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.
impl Clone for AutoscalingPlansClient
[src]
pub fn clone(&self) -> AutoscalingPlansClient
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl !RefUnwindSafe for AutoscalingPlansClient
[src]
impl Send for AutoscalingPlansClient
[src]
impl Sync for AutoscalingPlansClient
[src]
impl Unpin for AutoscalingPlansClient
[src]
impl !UnwindSafe for AutoscalingPlansClient
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,