@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSAutoScalingPlans
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSAutoScalingPlans
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.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
CreateScalingPlanResult |
createScalingPlan(CreateScalingPlanRequest createScalingPlanRequest)
Creates a scaling plan.
|
DeleteScalingPlanResult |
deleteScalingPlan(DeleteScalingPlanRequest deleteScalingPlanRequest)
Deletes the specified scaling plan.
|
DescribeScalingPlanResourcesResult |
describeScalingPlanResources(DescribeScalingPlanResourcesRequest describeScalingPlanResourcesRequest)
Describes the scalable resources in the specified scaling plan.
|
DescribeScalingPlansResult |
describeScalingPlans(DescribeScalingPlansRequest describeScalingPlansRequest)
Describes one or more of your scaling plans.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetScalingPlanResourceForecastDataResult |
getScalingPlanResourceForecastData(GetScalingPlanResourceForecastDataRequest getScalingPlanResourceForecastDataRequest)
Retrieves the forecast data for a scalable resource.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
UpdateScalingPlanResult |
updateScalingPlan(UpdateScalingPlanRequest updateScalingPlanRequest)
Updates the specified scaling plan.
|
static final String ENDPOINT_PREFIX
CreateScalingPlanResult createScalingPlan(CreateScalingPlanRequest createScalingPlanRequest)
Creates a scaling plan.
createScalingPlanRequest
- ValidationException
- An exception was thrown for a validation issue. Review the parameters provided.LimitExceededException
- Your account exceeded a limit. This exception is thrown when a per-account resource limit is exceeded.ConcurrentUpdateException
- Concurrent updates caused an exception, for example, if you request an update to a scaling plan that
already has a pending update.InternalServiceException
- The service encountered an internal error.DeleteScalingPlanResult 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
- ValidationException
- An exception was thrown for a validation issue. Review the parameters provided.ObjectNotFoundException
- The specified object could not be found.ConcurrentUpdateException
- Concurrent updates caused an exception, for example, if you request an update to a scaling plan that
already has a pending update.InternalServiceException
- The service encountered an internal error.DescribeScalingPlanResourcesResult describeScalingPlanResources(DescribeScalingPlanResourcesRequest describeScalingPlanResourcesRequest)
Describes the scalable resources in the specified scaling plan.
describeScalingPlanResourcesRequest
- ValidationException
- An exception was thrown for a validation issue. Review the parameters provided.InvalidNextTokenException
- The token provided is not valid.ConcurrentUpdateException
- Concurrent updates caused an exception, for example, if you request an update to a scaling plan that
already has a pending update.InternalServiceException
- The service encountered an internal error.DescribeScalingPlansResult describeScalingPlans(DescribeScalingPlansRequest describeScalingPlansRequest)
Describes one or more of your scaling plans.
describeScalingPlansRequest
- ValidationException
- An exception was thrown for a validation issue. Review the parameters provided.InvalidNextTokenException
- The token provided is not valid.ConcurrentUpdateException
- Concurrent updates caused an exception, for example, if you request an update to a scaling plan that
already has a pending update.InternalServiceException
- The service encountered an internal error.GetScalingPlanResourceForecastDataResult 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
- ValidationException
- An exception was thrown for a validation issue. Review the parameters provided.InternalServiceException
- The service encountered an internal error.UpdateScalingPlanResult 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
- ValidationException
- An exception was thrown for a validation issue. Review the parameters provided.ConcurrentUpdateException
- Concurrent updates caused an exception, for example, if you request an update to a scaling plan that
already has a pending update.InternalServiceException
- The service encountered an internal error.ObjectNotFoundException
- The specified object could not be found.void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request
- The originally executed request.