@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.
configFactoryclient, clientConfiguration, endpoint, isEndpointOverridden, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIXbuilder, createScalingPlan, deleteScalingPlan, describeScalingPlanResources, describeScalingPlans, getCachedResponseMetadata, getScalingPlanResourceForecastData, updateScalingPlanaddRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getClientConfiguration, getClientId, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isCsmEnabled, isEndpointOverridden, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shouldGenerateClientSideMonitoringEvents, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateScalingPlan, deleteScalingPlan, describeScalingPlanResources, describeScalingPlans, getCachedResponseMetadata, getScalingPlanResourceForecastData, updateScalingPlanpublic static AWSAutoScalingPlansAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<CreateScalingPlanResult> createScalingPlanAsync(CreateScalingPlanRequest request)
AWSAutoScalingPlansAsyncCreates a scaling plan.
createScalingPlanAsync in interface AWSAutoScalingPlansAsyncpublic Future<CreateScalingPlanResult> createScalingPlanAsync(CreateScalingPlanRequest request, AsyncHandler<CreateScalingPlanRequest,CreateScalingPlanResult> asyncHandler)
AWSAutoScalingPlansAsyncCreates a scaling plan.
createScalingPlanAsync in interface AWSAutoScalingPlansAsyncasyncHandler - 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)
AWSAutoScalingPlansAsyncDeletes 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 AWSAutoScalingPlansAsyncpublic Future<DeleteScalingPlanResult> deleteScalingPlanAsync(DeleteScalingPlanRequest request, AsyncHandler<DeleteScalingPlanRequest,DeleteScalingPlanResult> asyncHandler)
AWSAutoScalingPlansAsyncDeletes 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 AWSAutoScalingPlansAsyncasyncHandler - 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)
AWSAutoScalingPlansAsyncDescribes the scalable resources in the specified scaling plan.
describeScalingPlanResourcesAsync in interface AWSAutoScalingPlansAsyncpublic Future<DescribeScalingPlanResourcesResult> describeScalingPlanResourcesAsync(DescribeScalingPlanResourcesRequest request, AsyncHandler<DescribeScalingPlanResourcesRequest,DescribeScalingPlanResourcesResult> asyncHandler)
AWSAutoScalingPlansAsyncDescribes the scalable resources in the specified scaling plan.
describeScalingPlanResourcesAsync in interface AWSAutoScalingPlansAsyncasyncHandler - 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)
AWSAutoScalingPlansAsyncDescribes one or more of your scaling plans.
describeScalingPlansAsync in interface AWSAutoScalingPlansAsyncpublic Future<DescribeScalingPlansResult> describeScalingPlansAsync(DescribeScalingPlansRequest request, AsyncHandler<DescribeScalingPlansRequest,DescribeScalingPlansResult> asyncHandler)
AWSAutoScalingPlansAsyncDescribes one or more of your scaling plans.
describeScalingPlansAsync in interface AWSAutoScalingPlansAsyncasyncHandler - 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)
AWSAutoScalingPlansAsyncRetrieves 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 AWSAutoScalingPlansAsyncpublic Future<GetScalingPlanResourceForecastDataResult> getScalingPlanResourceForecastDataAsync(GetScalingPlanResourceForecastDataRequest request, AsyncHandler<GetScalingPlanResourceForecastDataRequest,GetScalingPlanResourceForecastDataResult> asyncHandler)
AWSAutoScalingPlansAsyncRetrieves 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 AWSAutoScalingPlansAsyncasyncHandler - 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)
AWSAutoScalingPlansAsyncUpdates 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 AWSAutoScalingPlansAsyncpublic Future<UpdateScalingPlanResult> updateScalingPlanAsync(UpdateScalingPlanRequest request, AsyncHandler<UpdateScalingPlanRequest,UpdateScalingPlanResult> asyncHandler)
AWSAutoScalingPlansAsyncUpdates 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 AWSAutoScalingPlansAsyncasyncHandler - 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 AWSAutoScalingPlansshutdown in class AmazonWebServiceClientCopyright © 2019. All rights reserved.