@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSAutoScalingPlansAsyncClient extends AWSAutoScalingPlansClient implements AWSAutoScalingPlansAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
builder, createScalingPlan, deleteScalingPlan, describeScalingPlanResources, describeScalingPlans, getCachedResponseMetadata, getScalingPlanResourceForecastData, updateScalingPlan
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createScalingPlan, deleteScalingPlan, describeScalingPlanResources, describeScalingPlans, getCachedResponseMetadata, getScalingPlanResourceForecastData, updateScalingPlan
public static AWSAutoScalingPlansAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateScalingPlanResult> createScalingPlanAsync(CreateScalingPlanRequest request)
AWSAutoScalingPlansAsync
Creates a scaling plan.
createScalingPlanAsync
in interface AWSAutoScalingPlansAsync
public Future<CreateScalingPlanResult> createScalingPlanAsync(CreateScalingPlanRequest request, AsyncHandler<CreateScalingPlanRequest,CreateScalingPlanResult> asyncHandler)
AWSAutoScalingPlansAsync
Creates a scaling plan.
createScalingPlanAsync
in interface AWSAutoScalingPlansAsync
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.public Future<DeleteScalingPlanResult> deleteScalingPlanAsync(DeleteScalingPlanRequest request)
AWSAutoScalingPlansAsync
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.
deleteScalingPlanAsync
in interface AWSAutoScalingPlansAsync
public Future<DeleteScalingPlanResult> deleteScalingPlanAsync(DeleteScalingPlanRequest request, AsyncHandler<DeleteScalingPlanRequest,DeleteScalingPlanResult> asyncHandler)
AWSAutoScalingPlansAsync
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.
deleteScalingPlanAsync
in interface AWSAutoScalingPlansAsync
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.public Future<DescribeScalingPlanResourcesResult> describeScalingPlanResourcesAsync(DescribeScalingPlanResourcesRequest request)
AWSAutoScalingPlansAsync
Describes the scalable resources in the specified scaling plan.
describeScalingPlanResourcesAsync
in interface AWSAutoScalingPlansAsync
public Future<DescribeScalingPlanResourcesResult> describeScalingPlanResourcesAsync(DescribeScalingPlanResourcesRequest request, AsyncHandler<DescribeScalingPlanResourcesRequest,DescribeScalingPlanResourcesResult> asyncHandler)
AWSAutoScalingPlansAsync
Describes the scalable resources in the specified scaling plan.
describeScalingPlanResourcesAsync
in interface AWSAutoScalingPlansAsync
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.public Future<DescribeScalingPlansResult> describeScalingPlansAsync(DescribeScalingPlansRequest request)
AWSAutoScalingPlansAsync
Describes one or more of your scaling plans.
describeScalingPlansAsync
in interface AWSAutoScalingPlansAsync
public Future<DescribeScalingPlansResult> describeScalingPlansAsync(DescribeScalingPlansRequest request, AsyncHandler<DescribeScalingPlansRequest,DescribeScalingPlansResult> asyncHandler)
AWSAutoScalingPlansAsync
Describes one or more of your scaling plans.
describeScalingPlansAsync
in interface AWSAutoScalingPlansAsync
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.public Future<GetScalingPlanResourceForecastDataResult> getScalingPlanResourceForecastDataAsync(GetScalingPlanResourceForecastDataRequest request)
AWSAutoScalingPlansAsync
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.
getScalingPlanResourceForecastDataAsync
in interface AWSAutoScalingPlansAsync
public Future<GetScalingPlanResourceForecastDataResult> getScalingPlanResourceForecastDataAsync(GetScalingPlanResourceForecastDataRequest request, AsyncHandler<GetScalingPlanResourceForecastDataRequest,GetScalingPlanResourceForecastDataResult> asyncHandler)
AWSAutoScalingPlansAsync
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.
getScalingPlanResourceForecastDataAsync
in interface AWSAutoScalingPlansAsync
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.public Future<UpdateScalingPlanResult> updateScalingPlanAsync(UpdateScalingPlanRequest request)
AWSAutoScalingPlansAsync
Updates the specified scaling plan.
You cannot update a scaling plan if it is in the process of being created, updated, or deleted.
updateScalingPlanAsync
in interface AWSAutoScalingPlansAsync
public Future<UpdateScalingPlanResult> updateScalingPlanAsync(UpdateScalingPlanRequest request, AsyncHandler<UpdateScalingPlanRequest,UpdateScalingPlanResult> asyncHandler)
AWSAutoScalingPlansAsync
Updates the specified scaling plan.
You cannot update a scaling plan if it is in the process of being created, updated, or deleted.
updateScalingPlanAsync
in interface AWSAutoScalingPlansAsync
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.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AWSAutoScalingPlans
shutdown
in class AmazonWebServiceClient
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.