[][src]Struct rusoto_autoscaling_plans::AutoscalingPlansClient

pub struct AutoscalingPlansClient { /* fields omitted */ }

A client for the AWS Auto Scaling Plans API.

Methods

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,
    P::Future: Send,
    D: DispatchSignedRequest + Send + Sync + 'static,
    D::Future: Send
[src]

Trait Implementations

impl AutoscalingPlans for AutoscalingPlansClient[src]

fn create_scaling_plan(
    &self,
    input: CreateScalingPlanRequest
) -> RusotoFuture<CreateScalingPlanResponse, CreateScalingPlanError>
[src]

Creates a scaling plan.

fn delete_scaling_plan(
    &self,
    input: DeleteScalingPlanRequest
) -> RusotoFuture<DeleteScalingPlanResponse, DeleteScalingPlanError>
[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.

fn describe_scaling_plan_resources(
    &self,
    input: DescribeScalingPlanResourcesRequest
) -> RusotoFuture<DescribeScalingPlanResourcesResponse, DescribeScalingPlanResourcesError>
[src]

Describes the scalable resources in the specified scaling plan.

fn describe_scaling_plans(
    &self,
    input: DescribeScalingPlansRequest
) -> RusotoFuture<DescribeScalingPlansResponse, DescribeScalingPlansError>
[src]

Describes one or more of your scaling plans.

fn get_scaling_plan_resource_forecast_data(
    &self,
    input: GetScalingPlanResourceForecastDataRequest
) -> RusotoFuture<GetScalingPlanResourceForecastDataResponse, GetScalingPlanResourceForecastDataError>
[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.

fn update_scaling_plan(
    &self,
    input: UpdateScalingPlanRequest
) -> RusotoFuture<UpdateScalingPlanResponse, UpdateScalingPlanError>
[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]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self