@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSAutoScalingPlansAsync extends AWSAutoScalingPlans
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSAutoScalingPlansAsync
instead.
Use AWS Auto Scaling to quickly discover all the scalable AWS resources for your application and configure dynamic scaling and predictive scaling for your resources using scaling plans. Use this service in conjunction with the Amazon EC2 Auto Scaling, Application Auto Scaling, Amazon CloudWatch, and AWS CloudFormation services.
Currently, predictive scaling is only available for Amazon EC2 Auto Scaling groups.
For more information about AWS Auto Scaling, including information about granting IAM users required permissions for AWS Auto Scaling actions, see the AWS Auto Scaling User Guide.
ENDPOINT_PREFIX
createScalingPlan, deleteScalingPlan, describeScalingPlanResources, describeScalingPlans, getCachedResponseMetadata, getScalingPlanResourceForecastData, shutdown, updateScalingPlan
Future<CreateScalingPlanResult> createScalingPlanAsync(CreateScalingPlanRequest createScalingPlanRequest)
Creates a scaling plan.
createScalingPlanRequest
- Future<CreateScalingPlanResult> createScalingPlanAsync(CreateScalingPlanRequest createScalingPlanRequest, AsyncHandler<CreateScalingPlanRequest,CreateScalingPlanResult> asyncHandler)
Creates a scaling plan.
createScalingPlanRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DeleteScalingPlanResult> deleteScalingPlanAsync(DeleteScalingPlanRequest deleteScalingPlanRequest)
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.
deleteScalingPlanRequest
- Future<DeleteScalingPlanResult> deleteScalingPlanAsync(DeleteScalingPlanRequest deleteScalingPlanRequest, AsyncHandler<DeleteScalingPlanRequest,DeleteScalingPlanResult> asyncHandler)
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.
deleteScalingPlanRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DescribeScalingPlanResourcesResult> describeScalingPlanResourcesAsync(DescribeScalingPlanResourcesRequest describeScalingPlanResourcesRequest)
Describes the scalable resources in the specified scaling plan.
describeScalingPlanResourcesRequest
- Future<DescribeScalingPlanResourcesResult> describeScalingPlanResourcesAsync(DescribeScalingPlanResourcesRequest describeScalingPlanResourcesRequest, AsyncHandler<DescribeScalingPlanResourcesRequest,DescribeScalingPlanResourcesResult> asyncHandler)
Describes the scalable resources in the specified scaling plan.
describeScalingPlanResourcesRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<DescribeScalingPlansResult> describeScalingPlansAsync(DescribeScalingPlansRequest describeScalingPlansRequest)
Describes one or more of your scaling plans.
describeScalingPlansRequest
- Future<DescribeScalingPlansResult> describeScalingPlansAsync(DescribeScalingPlansRequest describeScalingPlansRequest, AsyncHandler<DescribeScalingPlansRequest,DescribeScalingPlansResult> asyncHandler)
Describes one or more of your scaling plans.
describeScalingPlansRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<GetScalingPlanResourceForecastDataResult> getScalingPlanResourceForecastDataAsync(GetScalingPlanResourceForecastDataRequest getScalingPlanResourceForecastDataRequest)
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.
getScalingPlanResourceForecastDataRequest
- Future<GetScalingPlanResourceForecastDataResult> getScalingPlanResourceForecastDataAsync(GetScalingPlanResourceForecastDataRequest getScalingPlanResourceForecastDataRequest, AsyncHandler<GetScalingPlanResourceForecastDataRequest,GetScalingPlanResourceForecastDataResult> asyncHandler)
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.
getScalingPlanResourceForecastDataRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<UpdateScalingPlanResult> updateScalingPlanAsync(UpdateScalingPlanRequest updateScalingPlanRequest)
Updates the specified scaling plan.
You cannot update a scaling plan if it is in the process of being created, updated, or deleted.
updateScalingPlanRequest
- Future<UpdateScalingPlanResult> updateScalingPlanAsync(UpdateScalingPlanRequest updateScalingPlanRequest, AsyncHandler<UpdateScalingPlanRequest,UpdateScalingPlanResult> asyncHandler)
Updates the specified scaling plan.
You cannot update a scaling plan if it is in the process of being created, updated, or deleted.
updateScalingPlanRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.