@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSAutoScalingPlansClient extends AmazonWebServiceClient implements AWSAutoScalingPlans
Use AWS Auto Scaling to quickly discover all the scalable AWS resources for your application and configure dynamic scaling for your scalable resources.
To get started, create a scaling plan with a set of instructions used to configure dynamic scaling for the scalable resources in your application. AWS Auto Scaling creates target tracking scaling policies for the scalable resources in your scaling plan. Target tracking scaling policies adjust the capacity of your scalable resource as required to maintain resource utilization at the target value that you specified.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AWSAutoScalingPlansClientBuilder |
builder() |
CreateScalingPlanResult |
createScalingPlan(CreateScalingPlanRequest request)
Creates a scaling plan.
|
DeleteScalingPlanResult |
deleteScalingPlan(DeleteScalingPlanRequest request)
Deletes the specified scaling plan.
|
DescribeScalingPlanResourcesResult |
describeScalingPlanResources(DescribeScalingPlanResourcesRequest request)
Describes the scalable resources in the specified scaling plan.
|
DescribeScalingPlansResult |
describeScalingPlans(DescribeScalingPlansRequest request)
Describes the specified scaling plans or all 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.
|
UpdateScalingPlanResult |
updateScalingPlan(UpdateScalingPlanRequest request)
Updates the scaling plan for the specified scaling plan.
|
addRequestHandler, addRequestHandler, configureRegion, getEndpointPrefix, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shutdown
public static AWSAutoScalingPlansClientBuilder builder()
public CreateScalingPlanResult createScalingPlan(CreateScalingPlanRequest request)
Creates a scaling plan.
A scaling plan contains a set of instructions used to configure dynamic scaling for the scalable resources in your application. AWS Auto Scaling creates target tracking scaling policies based on the scaling instructions in your scaling plan.
createScalingPlan
in interface AWSAutoScalingPlans
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.public DeleteScalingPlanResult deleteScalingPlan(DeleteScalingPlanRequest request)
Deletes the specified scaling plan.
deleteScalingPlan
in interface AWSAutoScalingPlans
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.public DescribeScalingPlanResourcesResult describeScalingPlanResources(DescribeScalingPlanResourcesRequest request)
Describes the scalable resources in the specified scaling plan.
describeScalingPlanResources
in interface AWSAutoScalingPlans
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.public DescribeScalingPlansResult describeScalingPlans(DescribeScalingPlansRequest request)
Describes the specified scaling plans or all of your scaling plans.
describeScalingPlans
in interface AWSAutoScalingPlans
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.public UpdateScalingPlanResult updateScalingPlan(UpdateScalingPlanRequest request)
Updates the scaling plan for the specified scaling plan.
You cannot update a scaling plan if it is in the process of being created, updated, or deleted.
updateScalingPlan
in interface AWSAutoScalingPlans
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.public 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 the request.
getCachedResponseMetadata
in interface AWSAutoScalingPlans
request
- The originally executed requestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.