@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 create scaling plans for your applications to automatically scale your scalable AWS resources.
API Summary
You can use the AWS Auto Scaling service API to accomplish the following tasks:
Create and manage scaling plans
Define target tracking scaling policies to dynamically scale your resources based on utilization
Scale Amazon EC2 Auto Scaling groups using predictive scaling and dynamic scaling to scale your Amazon EC2 capacity faster
Set minimum and maximum capacity limits
Retrieve information on existing scaling plans
Access current forecast data and historical forecast data for up to 56 days previous
To learn more 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.