@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.
| Modifier and Type | Field and Description |
|---|---|
protected static ClientConfigurationFactory |
configFactory
Client configuration factory providing ClientConfigurations tailored to this client
|
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_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, 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, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shouldGenerateClientSideMonitoringEvents, shutdown, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshutdownprotected static final ClientConfigurationFactory configFactory
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 AWSAutoScalingPlanscreateScalingPlanRequest - 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 AWSAutoScalingPlansdeleteScalingPlanRequest - 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 AWSAutoScalingPlansdescribeScalingPlanResourcesRequest - 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 AWSAutoScalingPlansdescribeScalingPlansRequest - 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 AWSAutoScalingPlansupdateScalingPlanRequest - 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 AWSAutoScalingPlansrequest - The originally executed requestCopyright © 2018. All rights reserved.