@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface AutoScalingPlansAsyncClient extends AwsClient
builder() method.
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.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default CompletableFuture<CreateScalingPlanResponse> createScalingPlan(CreateScalingPlanRequest createScalingPlanRequest)
Creates a scaling plan.
createScalingPlanRequest - default CompletableFuture<CreateScalingPlanResponse> createScalingPlan(Consumer<CreateScalingPlanRequest.Builder> createScalingPlanRequest)
Creates a scaling plan.
This is a convenience which creates an instance of the CreateScalingPlanRequest.Builder avoiding the need
to create one manually via CreateScalingPlanRequest.builder()
createScalingPlanRequest - A Consumer that will call methods on CreateScalingPlanRequest.Builder to create a request.default CompletableFuture<DeleteScalingPlanResponse> deleteScalingPlan(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 - default CompletableFuture<DeleteScalingPlanResponse> deleteScalingPlan(Consumer<DeleteScalingPlanRequest.Builder> 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.
This is a convenience which creates an instance of the DeleteScalingPlanRequest.Builder avoiding the need
to create one manually via DeleteScalingPlanRequest.builder()
deleteScalingPlanRequest - A Consumer that will call methods on DeleteScalingPlanRequest.Builder to create a request.default CompletableFuture<DescribeScalingPlanResourcesResponse> describeScalingPlanResources(DescribeScalingPlanResourcesRequest describeScalingPlanResourcesRequest)
Describes the scalable resources in the specified scaling plan.
describeScalingPlanResourcesRequest - default CompletableFuture<DescribeScalingPlanResourcesResponse> describeScalingPlanResources(Consumer<DescribeScalingPlanResourcesRequest.Builder> describeScalingPlanResourcesRequest)
Describes the scalable resources in the specified scaling plan.
This is a convenience which creates an instance of the DescribeScalingPlanResourcesRequest.Builder
avoiding the need to create one manually via DescribeScalingPlanResourcesRequest.builder()
describeScalingPlanResourcesRequest - A Consumer that will call methods on DescribeScalingPlanResourcesRequest.Builder to create
a request.default CompletableFuture<DescribeScalingPlansResponse> describeScalingPlans(DescribeScalingPlansRequest describeScalingPlansRequest)
Describes one or more of your scaling plans.
describeScalingPlansRequest - default CompletableFuture<DescribeScalingPlansResponse> describeScalingPlans(Consumer<DescribeScalingPlansRequest.Builder> describeScalingPlansRequest)
Describes one or more of your scaling plans.
This is a convenience which creates an instance of the DescribeScalingPlansRequest.Builder avoiding the
need to create one manually via DescribeScalingPlansRequest.builder()
describeScalingPlansRequest - A Consumer that will call methods on DescribeScalingPlansRequest.Builder to create a
request.default CompletableFuture<DescribeScalingPlansResponse> describeScalingPlans()
Describes one or more of your scaling plans.
default CompletableFuture<GetScalingPlanResourceForecastDataResponse> getScalingPlanResourceForecastData(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 - default CompletableFuture<GetScalingPlanResourceForecastDataResponse> getScalingPlanResourceForecastData(Consumer<GetScalingPlanResourceForecastDataRequest.Builder> 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.
This is a convenience which creates an instance of the GetScalingPlanResourceForecastDataRequest.Builder
avoiding the need to create one manually via GetScalingPlanResourceForecastDataRequest.builder()
getScalingPlanResourceForecastDataRequest - A Consumer that will call methods on GetScalingPlanResourceForecastDataRequest.Builder to
create a request.default CompletableFuture<UpdateScalingPlanResponse> updateScalingPlan(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 - default CompletableFuture<UpdateScalingPlanResponse> updateScalingPlan(Consumer<UpdateScalingPlanRequest.Builder> updateScalingPlanRequest)
Updates the specified scaling plan.
You cannot update a scaling plan if it is in the process of being created, updated, or deleted.
This is a convenience which creates an instance of the UpdateScalingPlanRequest.Builder avoiding the need
to create one manually via UpdateScalingPlanRequest.builder()
updateScalingPlanRequest - A Consumer that will call methods on UpdateScalingPlanRequest.Builder to create a request.default AutoScalingPlansServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientstatic AutoScalingPlansAsyncClient create()
AutoScalingPlansAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static AutoScalingPlansAsyncClientBuilder builder()
AutoScalingPlansAsyncClient.Copyright © 2023. All rights reserved.