public class AmazonAutoScalingAsyncClient extends AmazonAutoScalingClient implements AmazonAutoScalingAsync
Auto Scaling is designed to automatically launch or terminate EC2 instances based on user-defined policies, schedules, and health checks. Use this service in conjunction with the Amazon CloudWatch and Elastic Load Balancing services.
exceptionUnmarshallersclient, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset| Constructor and Description |
|---|
AmazonAutoScalingAsyncClient()
Constructs a new asynchronous client to invoke service methods on
AmazonAutoScaling.
|
AmazonAutoScalingAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on
AmazonAutoScaling using the specified AWS account credentials.
|
AmazonAutoScalingAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonAutoScaling using the specified AWS account credentials,
executor service, and client configuration options.
|
AmazonAutoScalingAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonAutoScaling using the specified AWS account credentials
and executor service.
|
AmazonAutoScalingAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on
AmazonAutoScaling using the specified AWS account credentials provider.
|
AmazonAutoScalingAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
AmazonAutoScaling using the specified AWS account credentials
provider and client configuration options.
|
AmazonAutoScalingAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonAutoScaling using the specified AWS account credentials
provider, executor service, and client configuration options.
|
AmazonAutoScalingAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonAutoScaling using the specified AWS account credentials provider
and executor service.
|
AmazonAutoScalingAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
AmazonAutoScaling.
|
attachInstances, attachLoadBalancers, attachLoadBalancers, completeLifecycleAction, createAutoScalingGroup, createLaunchConfiguration, createOrUpdateTags, deleteAutoScalingGroup, deleteLaunchConfiguration, deleteLifecycleHook, deleteNotificationConfiguration, deletePolicy, deleteScheduledAction, deleteTags, describeAccountLimits, describeAccountLimits, describeAdjustmentTypes, describeAdjustmentTypes, describeAutoScalingGroups, describeAutoScalingGroups, describeAutoScalingInstances, describeAutoScalingInstances, describeAutoScalingNotificationTypes, describeAutoScalingNotificationTypes, describeLaunchConfigurations, describeLaunchConfigurations, describeLifecycleHooks, describeLifecycleHookTypes, describeLifecycleHookTypes, describeLoadBalancers, describeMetricCollectionTypes, describeMetricCollectionTypes, describeNotificationConfigurations, describeNotificationConfigurations, describePolicies, describePolicies, describeScalingActivities, describeScalingActivities, describeScalingProcessTypes, describeScalingProcessTypes, describeScheduledActions, describeScheduledActions, describeTags, describeTags, describeTerminationPolicyTypes, describeTerminationPolicyTypes, detachInstances, detachLoadBalancers, detachLoadBalancers, disableMetricsCollection, enableMetricsCollection, enterStandby, executePolicy, exitStandby, getCachedResponseMetadata, putLifecycleHook, putNotificationConfiguration, putScalingPolicy, putScheduledUpdateGroupAction, recordLifecycleActionHeartbeat, resumeProcesses, setDesiredCapacity, setInstanceHealth, suspendProcesses, terminateInstanceInAutoScalingGroup, updateAutoScalingGroupaddRequestHandler, addRequestHandler, beforeMarshalling, configSigner, configSigner, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitattachInstances, attachLoadBalancers, attachLoadBalancers, completeLifecycleAction, createAutoScalingGroup, createLaunchConfiguration, createOrUpdateTags, deleteAutoScalingGroup, deleteLaunchConfiguration, deleteLifecycleHook, deleteNotificationConfiguration, deletePolicy, deleteScheduledAction, deleteTags, describeAccountLimits, describeAccountLimits, describeAdjustmentTypes, describeAdjustmentTypes, describeAutoScalingGroups, describeAutoScalingGroups, describeAutoScalingInstances, describeAutoScalingInstances, describeAutoScalingNotificationTypes, describeAutoScalingNotificationTypes, describeLaunchConfigurations, describeLaunchConfigurations, describeLifecycleHooks, describeLifecycleHookTypes, describeLifecycleHookTypes, describeLoadBalancers, describeMetricCollectionTypes, describeMetricCollectionTypes, describeNotificationConfigurations, describeNotificationConfigurations, describePolicies, describePolicies, describeScalingActivities, describeScalingActivities, describeScalingProcessTypes, describeScalingProcessTypes, describeScheduledActions, describeScheduledActions, describeTags, describeTags, describeTerminationPolicyTypes, describeTerminationPolicyTypes, detachInstances, detachLoadBalancers, detachLoadBalancers, disableMetricsCollection, enableMetricsCollection, enterStandby, executePolicy, exitStandby, getCachedResponseMetadata, putLifecycleHook, putNotificationConfiguration, putScalingPolicy, putScheduledUpdateGroupAction, recordLifecycleActionHeartbeat, resumeProcesses, setDesiredCapacity, setEndpoint, setInstanceHealth, setRegion, suspendProcesses, terminateInstanceInAutoScalingGroup, updateAutoScalingGrouppublic AmazonAutoScalingAsyncClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChainpublic AmazonAutoScalingAsyncClient(ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration - The client configuration options controlling how this
client connects to AmazonAutoScaling
(ex: proxy settings, retry counts, etc.).DefaultAWSCredentialsProviderChainpublic AmazonAutoScalingAsyncClient(AWSCredentials awsCredentials)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials - The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.public AmazonAutoScalingAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials - The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.executorService - The executor service by which all asynchronous requests will
be executed.public AmazonAutoScalingAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials - The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy
settings, etc).executorService - The executor service by which all asynchronous requests will
be executed.public AmazonAutoScalingAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.public AmazonAutoScalingAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.executorService - The executor service by which all asynchronous requests will
be executed.public AmazonAutoScalingAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy
settings, etc).public AmazonAutoScalingAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider - The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.clientConfiguration - Client configuration options (ex: max retry limit, proxy
settings, etc).executorService - The executor service by which all asynchronous requests will
be executed.public ExecutorService getExecutorService()
public void shutdown()
shutdown in interface AmazonAutoScalingshutdown in class AmazonWebServiceClientpublic Future<DescribeAccountLimitsResult> describeAccountLimitsAsync(DescribeAccountLimitsRequest describeAccountLimitsRequest) throws AmazonServiceException, AmazonClientException
Describes the current Auto Scaling resource limits for your AWS account.
For information about requesting an increase in these limits, see AWS Service Limits in the Amazon Web Services General Reference .
describeAccountLimitsAsync in interface AmazonAutoScalingAsyncdescribeAccountLimitsRequest - Container for the necessary
parameters to execute the DescribeAccountLimits operation on
AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeAccountLimitsResult> describeAccountLimitsAsync(DescribeAccountLimitsRequest describeAccountLimitsRequest, AsyncHandler<DescribeAccountLimitsRequest,DescribeAccountLimitsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the current Auto Scaling resource limits for your AWS account.
For information about requesting an increase in these limits, see AWS Service Limits in the Amazon Web Services General Reference .
describeAccountLimitsAsync in interface AmazonAutoScalingAsyncdescribeAccountLimitsRequest - Container for the necessary
parameters to execute the DescribeAccountLimits operation on
AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeAutoScalingGroupsResult> describeAutoScalingGroupsAsync(DescribeAutoScalingGroupsRequest describeAutoScalingGroupsRequest) throws AmazonServiceException, AmazonClientException
Describes one or more Auto Scaling groups. If a list of names is not provided, the call describes all Auto Scaling groups.
describeAutoScalingGroupsAsync in interface AmazonAutoScalingAsyncdescribeAutoScalingGroupsRequest - Container for the necessary
parameters to execute the DescribeAutoScalingGroups operation on
AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeAutoScalingGroupsResult> describeAutoScalingGroupsAsync(DescribeAutoScalingGroupsRequest describeAutoScalingGroupsRequest, AsyncHandler<DescribeAutoScalingGroupsRequest,DescribeAutoScalingGroupsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes one or more Auto Scaling groups. If a list of names is not provided, the call describes all Auto Scaling groups.
describeAutoScalingGroupsAsync in interface AmazonAutoScalingAsyncdescribeAutoScalingGroupsRequest - Container for the necessary
parameters to execute the DescribeAutoScalingGroups operation on
AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> resumeProcessesAsync(ResumeProcessesRequest resumeProcessesRequest) throws AmazonServiceException, AmazonClientException
Resumes the specified suspended Auto Scaling processes for the
specified Auto Scaling group. To resume specific processes, use the
ScalingProcesses parameter. To resume all processes, omit
the ScalingProcesses parameter. For more information, see
Suspend and Resume Auto Scaling Processes
in the Auto Scaling Developer Guide .
resumeProcessesAsync in interface AmazonAutoScalingAsyncresumeProcessesRequest - Container for the necessary parameters
to execute the ResumeProcesses operation on AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> resumeProcessesAsync(ResumeProcessesRequest resumeProcessesRequest, AsyncHandler<ResumeProcessesRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Resumes the specified suspended Auto Scaling processes for the
specified Auto Scaling group. To resume specific processes, use the
ScalingProcesses parameter. To resume all processes, omit
the ScalingProcesses parameter. For more information, see
Suspend and Resume Auto Scaling Processes
in the Auto Scaling Developer Guide .
resumeProcessesAsync in interface AmazonAutoScalingAsyncresumeProcessesRequest - Container for the necessary parameters
to execute the ResumeProcesses operation on AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> enableMetricsCollectionAsync(EnableMetricsCollectionRequest enableMetricsCollectionRequest) throws AmazonServiceException, AmazonClientException
Enables monitoring of the specified metrics for the specified Auto Scaling group.
You can only enable metrics collection if
InstanceMonitoring in the launch configuration for the
group is set to True .
enableMetricsCollectionAsync in interface AmazonAutoScalingAsyncenableMetricsCollectionRequest - Container for the necessary
parameters to execute the EnableMetricsCollection operation on
AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> enableMetricsCollectionAsync(EnableMetricsCollectionRequest enableMetricsCollectionRequest, AsyncHandler<EnableMetricsCollectionRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Enables monitoring of the specified metrics for the specified Auto Scaling group.
You can only enable metrics collection if
InstanceMonitoring in the launch configuration for the
group is set to True .
enableMetricsCollectionAsync in interface AmazonAutoScalingAsyncenableMetricsCollectionRequest - Container for the necessary
parameters to execute the EnableMetricsCollection operation on
AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeLifecycleHooksResult> describeLifecycleHooksAsync(DescribeLifecycleHooksRequest describeLifecycleHooksRequest) throws AmazonServiceException, AmazonClientException
Describes the lifecycle hooks for the specified Auto Scaling group.
describeLifecycleHooksAsync in interface AmazonAutoScalingAsyncdescribeLifecycleHooksRequest - Container for the necessary
parameters to execute the DescribeLifecycleHooks operation on
AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeLifecycleHooksResult> describeLifecycleHooksAsync(DescribeLifecycleHooksRequest describeLifecycleHooksRequest, AsyncHandler<DescribeLifecycleHooksRequest,DescribeLifecycleHooksResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the lifecycle hooks for the specified Auto Scaling group.
describeLifecycleHooksAsync in interface AmazonAutoScalingAsyncdescribeLifecycleHooksRequest - Container for the necessary
parameters to execute the DescribeLifecycleHooks operation on
AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribePoliciesResult> describePoliciesAsync(DescribePoliciesRequest describePoliciesRequest) throws AmazonServiceException, AmazonClientException
Describes the policies for the specified Auto Scaling group.
describePoliciesAsync in interface AmazonAutoScalingAsyncdescribePoliciesRequest - Container for the necessary parameters
to execute the DescribePolicies operation on AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribePoliciesResult> describePoliciesAsync(DescribePoliciesRequest describePoliciesRequest, AsyncHandler<DescribePoliciesRequest,DescribePoliciesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the policies for the specified Auto Scaling group.
describePoliciesAsync in interface AmazonAutoScalingAsyncdescribePoliciesRequest - Container for the necessary parameters
to execute the DescribePolicies operation on AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeScalingProcessTypesResult> describeScalingProcessTypesAsync(DescribeScalingProcessTypesRequest describeScalingProcessTypesRequest) throws AmazonServiceException, AmazonClientException
Describes the scaling process types for use with ResumeProcesses and SuspendProcesses.
describeScalingProcessTypesAsync in interface AmazonAutoScalingAsyncdescribeScalingProcessTypesRequest - Container for the necessary
parameters to execute the DescribeScalingProcessTypes operation on
AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeScalingProcessTypesResult> describeScalingProcessTypesAsync(DescribeScalingProcessTypesRequest describeScalingProcessTypesRequest, AsyncHandler<DescribeScalingProcessTypesRequest,DescribeScalingProcessTypesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the scaling process types for use with ResumeProcesses and SuspendProcesses.
describeScalingProcessTypesAsync in interface AmazonAutoScalingAsyncdescribeScalingProcessTypesRequest - Container for the necessary
parameters to execute the DescribeScalingProcessTypes operation on
AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteLaunchConfigurationAsync(DeleteLaunchConfigurationRequest deleteLaunchConfigurationRequest) throws AmazonServiceException, AmazonClientException
Deletes the specified launch configuration.
The launch configuration must not be attached to an Auto Scaling group. When this call completes, the launch configuration is no longer available for use.
deleteLaunchConfigurationAsync in interface AmazonAutoScalingAsyncdeleteLaunchConfigurationRequest - Container for the necessary
parameters to execute the DeleteLaunchConfiguration operation on
AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteLaunchConfigurationAsync(DeleteLaunchConfigurationRequest deleteLaunchConfigurationRequest, AsyncHandler<DeleteLaunchConfigurationRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes the specified launch configuration.
The launch configuration must not be attached to an Auto Scaling group. When this call completes, the launch configuration is no longer available for use.
deleteLaunchConfigurationAsync in interface AmazonAutoScalingAsyncdeleteLaunchConfigurationRequest - Container for the necessary
parameters to execute the DeleteLaunchConfiguration operation on
AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> createAutoScalingGroupAsync(CreateAutoScalingGroupRequest createAutoScalingGroupRequest) throws AmazonServiceException, AmazonClientException
Creates an Auto Scaling group with the specified name and attributes.
If you exceed your maximum limit of Auto Scaling groups, which by default is 20 per region, the call fails. For information about viewing and updating this limit, see DescribeAccountLimits.
For more information, see Auto Scaling Groups in the Auto Scaling Developer Guide .
createAutoScalingGroupAsync in interface AmazonAutoScalingAsynccreateAutoScalingGroupRequest - Container for the necessary
parameters to execute the CreateAutoScalingGroup operation on
AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> createAutoScalingGroupAsync(CreateAutoScalingGroupRequest createAutoScalingGroupRequest, AsyncHandler<CreateAutoScalingGroupRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates an Auto Scaling group with the specified name and attributes.
If you exceed your maximum limit of Auto Scaling groups, which by default is 20 per region, the call fails. For information about viewing and updating this limit, see DescribeAccountLimits.
For more information, see Auto Scaling Groups in the Auto Scaling Developer Guide .
createAutoScalingGroupAsync in interface AmazonAutoScalingAsynccreateAutoScalingGroupRequest - Container for the necessary
parameters to execute the CreateAutoScalingGroup operation on
AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> attachInstancesAsync(AttachInstancesRequest attachInstancesRequest) throws AmazonServiceException, AmazonClientException
Attaches one or more EC2 instances to the specified Auto Scaling group.
For more information, see Attach EC2 Instances to Your Auto Scaling Group in the Auto Scaling Developer Guide .
attachInstancesAsync in interface AmazonAutoScalingAsyncattachInstancesRequest - Container for the necessary parameters
to execute the AttachInstances operation on AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> attachInstancesAsync(AttachInstancesRequest attachInstancesRequest, AsyncHandler<AttachInstancesRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Attaches one or more EC2 instances to the specified Auto Scaling group.
For more information, see Attach EC2 Instances to Your Auto Scaling Group in the Auto Scaling Developer Guide .
attachInstancesAsync in interface AmazonAutoScalingAsyncattachInstancesRequest - Container for the necessary parameters
to execute the AttachInstances operation on AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeScalingActivitiesResult> describeScalingActivitiesAsync(DescribeScalingActivitiesRequest describeScalingActivitiesRequest) throws AmazonServiceException, AmazonClientException
Describes one or more scaling activities for the specified Auto
Scaling group. If you omit the ActivityIds , the call
returns all activities from the past six weeks. Activities are sorted
by the start time. Activities still in progress appear first on the
list.
describeScalingActivitiesAsync in interface AmazonAutoScalingAsyncdescribeScalingActivitiesRequest - Container for the necessary
parameters to execute the DescribeScalingActivities operation on
AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeScalingActivitiesResult> describeScalingActivitiesAsync(DescribeScalingActivitiesRequest describeScalingActivitiesRequest, AsyncHandler<DescribeScalingActivitiesRequest,DescribeScalingActivitiesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes one or more scaling activities for the specified Auto
Scaling group. If you omit the ActivityIds , the call
returns all activities from the past six weeks. Activities are sorted
by the start time. Activities still in progress appear first on the
list.
describeScalingActivitiesAsync in interface AmazonAutoScalingAsyncdescribeScalingActivitiesRequest - Container for the necessary
parameters to execute the DescribeScalingActivities operation on
AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeNotificationConfigurationsResult> describeNotificationConfigurationsAsync(DescribeNotificationConfigurationsRequest describeNotificationConfigurationsRequest) throws AmazonServiceException, AmazonClientException
Describes the notification actions associated with the specified Auto Scaling group.
describeNotificationConfigurationsAsync in interface AmazonAutoScalingAsyncdescribeNotificationConfigurationsRequest - Container for the
necessary parameters to execute the DescribeNotificationConfigurations
operation on AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeNotificationConfigurationsResult> describeNotificationConfigurationsAsync(DescribeNotificationConfigurationsRequest describeNotificationConfigurationsRequest, AsyncHandler<DescribeNotificationConfigurationsRequest,DescribeNotificationConfigurationsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the notification actions associated with the specified Auto Scaling group.
describeNotificationConfigurationsAsync in interface AmazonAutoScalingAsyncdescribeNotificationConfigurationsRequest - Container for the
necessary parameters to execute the DescribeNotificationConfigurations
operation on AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteLifecycleHookResult> deleteLifecycleHookAsync(DeleteLifecycleHookRequest deleteLifecycleHookRequest) throws AmazonServiceException, AmazonClientException
Deletes the specified lifecycle hook.
If there are any outstanding lifecycle actions, they are completed
first ( ABANDON for launching instances,
CONTINUE for terminating instances).
deleteLifecycleHookAsync in interface AmazonAutoScalingAsyncdeleteLifecycleHookRequest - Container for the necessary
parameters to execute the DeleteLifecycleHook operation on
AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteLifecycleHookResult> deleteLifecycleHookAsync(DeleteLifecycleHookRequest deleteLifecycleHookRequest, AsyncHandler<DeleteLifecycleHookRequest,DeleteLifecycleHookResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes the specified lifecycle hook.
If there are any outstanding lifecycle actions, they are completed
first ( ABANDON for launching instances,
CONTINUE for terminating instances).
deleteLifecycleHookAsync in interface AmazonAutoScalingAsyncdeleteLifecycleHookRequest - Container for the necessary
parameters to execute the DeleteLifecycleHook operation on
AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<PutLifecycleHookResult> putLifecycleHookAsync(PutLifecycleHookRequest putLifecycleHookRequest) throws AmazonServiceException, AmazonClientException
Creates or updates a lifecycle hook for the specified Auto Scaling Group.
A lifecycle hook tells Auto Scaling that you want to perform an action on an instance that is not actively in service; for example, either when the instance launches or before the instance terminates.
This operation is a part of the basic sequence for adding a lifecycle hook to an Auto Scaling group:
For more information, see Auto Scaling Pending State and Auto Scaling Terminating State in the Auto Scaling Developer Guide .
If you exceed your maximum limit of lifecycle hooks, which by default is 50 per region, the call fails. For information about updating this limit, see AWS Service Limits in the Amazon Web Services General Reference .
putLifecycleHookAsync in interface AmazonAutoScalingAsyncputLifecycleHookRequest - Container for the necessary parameters
to execute the PutLifecycleHook operation on AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<PutLifecycleHookResult> putLifecycleHookAsync(PutLifecycleHookRequest putLifecycleHookRequest, AsyncHandler<PutLifecycleHookRequest,PutLifecycleHookResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates or updates a lifecycle hook for the specified Auto Scaling Group.
A lifecycle hook tells Auto Scaling that you want to perform an action on an instance that is not actively in service; for example, either when the instance launches or before the instance terminates.
This operation is a part of the basic sequence for adding a lifecycle hook to an Auto Scaling group:
For more information, see Auto Scaling Pending State and Auto Scaling Terminating State in the Auto Scaling Developer Guide .
If you exceed your maximum limit of lifecycle hooks, which by default is 50 per region, the call fails. For information about updating this limit, see AWS Service Limits in the Amazon Web Services General Reference .
putLifecycleHookAsync in interface AmazonAutoScalingAsyncputLifecycleHookRequest - Container for the necessary parameters
to execute the PutLifecycleHook operation on AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeTerminationPolicyTypesResult> describeTerminationPolicyTypesAsync(DescribeTerminationPolicyTypesRequest describeTerminationPolicyTypesRequest) throws AmazonServiceException, AmazonClientException
Describes the termination policies supported by Auto Scaling.
describeTerminationPolicyTypesAsync in interface AmazonAutoScalingAsyncdescribeTerminationPolicyTypesRequest - Container for the
necessary parameters to execute the DescribeTerminationPolicyTypes
operation on AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeTerminationPolicyTypesResult> describeTerminationPolicyTypesAsync(DescribeTerminationPolicyTypesRequest describeTerminationPolicyTypesRequest, AsyncHandler<DescribeTerminationPolicyTypesRequest,DescribeTerminationPolicyTypesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the termination policies supported by Auto Scaling.
describeTerminationPolicyTypesAsync in interface AmazonAutoScalingAsyncdescribeTerminationPolicyTypesRequest - Container for the
necessary parameters to execute the DescribeTerminationPolicyTypes
operation on AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeTagsResult> describeTagsAsync(DescribeTagsRequest describeTagsRequest) throws AmazonServiceException, AmazonClientException
Describes the specified tags.
You can use filters to limit the results. For example, you can query for the tags for a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at least one of the specified values for it to be included in the results.
You can also specify multiple filters. The result includes information for a particular tag only if it matches all the filters. If there's no match, no special message is returned.
describeTagsAsync in interface AmazonAutoScalingAsyncdescribeTagsRequest - Container for the necessary parameters to
execute the DescribeTags operation on AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeTagsResult> describeTagsAsync(DescribeTagsRequest describeTagsRequest, AsyncHandler<DescribeTagsRequest,DescribeTagsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the specified tags.
You can use filters to limit the results. For example, you can query for the tags for a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at least one of the specified values for it to be included in the results.
You can also specify multiple filters. The result includes information for a particular tag only if it matches all the filters. If there's no match, no special message is returned.
describeTagsAsync in interface AmazonAutoScalingAsyncdescribeTagsRequest - Container for the necessary parameters to
execute the DescribeTags operation on AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteTagsAsync(DeleteTagsRequest deleteTagsRequest) throws AmazonServiceException, AmazonClientException
Deletes the specified tags.
deleteTagsAsync in interface AmazonAutoScalingAsyncdeleteTagsRequest - Container for the necessary parameters to
execute the DeleteTags operation on AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteTagsAsync(DeleteTagsRequest deleteTagsRequest, AsyncHandler<DeleteTagsRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes the specified tags.
deleteTagsAsync in interface AmazonAutoScalingAsyncdeleteTagsRequest - Container for the necessary parameters to
execute the DeleteTags operation on AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> executePolicyAsync(ExecutePolicyRequest executePolicyRequest) throws AmazonServiceException, AmazonClientException
Executes the specified policy.
executePolicyAsync in interface AmazonAutoScalingAsyncexecutePolicyRequest - Container for the necessary parameters to
execute the ExecutePolicy operation on AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> executePolicyAsync(ExecutePolicyRequest executePolicyRequest, AsyncHandler<ExecutePolicyRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Executes the specified policy.
executePolicyAsync in interface AmazonAutoScalingAsyncexecutePolicyRequest - Container for the necessary parameters to
execute the ExecutePolicy operation on AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DetachLoadBalancersResult> detachLoadBalancersAsync(DetachLoadBalancersRequest detachLoadBalancersRequest) throws AmazonServiceException, AmazonClientException
Removes one or more load balancers from the specified Auto Scaling group.
When you detach a load balancer, it enters the Removing
state while deregistering the instances in the group. When all
instances are deregistered, then you can no longer describe the load
balancer using DescribeLoadBalancers. Note that the instances remain
running.
detachLoadBalancersAsync in interface AmazonAutoScalingAsyncdetachLoadBalancersRequest - Container for the necessary
parameters to execute the DetachLoadBalancers operation on
AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DetachLoadBalancersResult> detachLoadBalancersAsync(DetachLoadBalancersRequest detachLoadBalancersRequest, AsyncHandler<DetachLoadBalancersRequest,DetachLoadBalancersResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Removes one or more load balancers from the specified Auto Scaling group.
When you detach a load balancer, it enters the Removing
state while deregistering the instances in the group. When all
instances are deregistered, then you can no longer describe the load
balancer using DescribeLoadBalancers. Note that the instances remain
running.
detachLoadBalancersAsync in interface AmazonAutoScalingAsyncdetachLoadBalancersRequest - Container for the necessary
parameters to execute the DetachLoadBalancers operation on
AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<PutScalingPolicyResult> putScalingPolicyAsync(PutScalingPolicyRequest putScalingPolicyRequest) throws AmazonServiceException, AmazonClientException
Creates or updates a policy for an Auto Scaling group. To update an existing policy, use the existing policy name and set the parameters you want to change. Any existing parameter not changed in an update to an existing policy is not changed in this update request.
If you exceed your maximum limit of step adjustments, which by default is 20 per region, the call fails. For information about updating this limit, see AWS Service Limits in the Amazon Web Services General Reference .
putScalingPolicyAsync in interface AmazonAutoScalingAsyncputScalingPolicyRequest - Container for the necessary parameters
to execute the PutScalingPolicy operation on AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<PutScalingPolicyResult> putScalingPolicyAsync(PutScalingPolicyRequest putScalingPolicyRequest, AsyncHandler<PutScalingPolicyRequest,PutScalingPolicyResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates or updates a policy for an Auto Scaling group. To update an existing policy, use the existing policy name and set the parameters you want to change. Any existing parameter not changed in an update to an existing policy is not changed in this update request.
If you exceed your maximum limit of step adjustments, which by default is 20 per region, the call fails. For information about updating this limit, see AWS Service Limits in the Amazon Web Services General Reference .
putScalingPolicyAsync in interface AmazonAutoScalingAsyncputScalingPolicyRequest - Container for the necessary parameters
to execute the PutScalingPolicy operation on AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> putNotificationConfigurationAsync(PutNotificationConfigurationRequest putNotificationConfigurationRequest) throws AmazonServiceException, AmazonClientException
Configures an Auto Scaling group to send notifications when specified events take place. Subscribers to this topic can have messages for events delivered to an endpoint such as a web server or email address.
For more information see Getting Notifications When Your Auto Scaling Group Changes in the Auto Scaling Developer Guide .
This configuration overwrites an existing configuration.
putNotificationConfigurationAsync in interface AmazonAutoScalingAsyncputNotificationConfigurationRequest - Container for the necessary
parameters to execute the PutNotificationConfiguration operation on
AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> putNotificationConfigurationAsync(PutNotificationConfigurationRequest putNotificationConfigurationRequest, AsyncHandler<PutNotificationConfigurationRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Configures an Auto Scaling group to send notifications when specified events take place. Subscribers to this topic can have messages for events delivered to an endpoint such as a web server or email address.
For more information see Getting Notifications When Your Auto Scaling Group Changes in the Auto Scaling Developer Guide .
This configuration overwrites an existing configuration.
putNotificationConfigurationAsync in interface AmazonAutoScalingAsyncputNotificationConfigurationRequest - Container for the necessary
parameters to execute the PutNotificationConfiguration operation on
AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<ExitStandbyResult> exitStandbyAsync(ExitStandbyRequest exitStandbyRequest) throws AmazonServiceException, AmazonClientException
Moves the specified instances out of Standby mode.
For more information, see Auto Scaling InService State in the Auto Scaling Developer Guide .
exitStandbyAsync in interface AmazonAutoScalingAsyncexitStandbyRequest - Container for the necessary parameters to
execute the ExitStandby operation on AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<ExitStandbyResult> exitStandbyAsync(ExitStandbyRequest exitStandbyRequest, AsyncHandler<ExitStandbyRequest,ExitStandbyResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Moves the specified instances out of Standby mode.
For more information, see Auto Scaling InService State in the Auto Scaling Developer Guide .
exitStandbyAsync in interface AmazonAutoScalingAsyncexitStandbyRequest - Container for the necessary parameters to
execute the ExitStandby operation on AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deletePolicyAsync(DeletePolicyRequest deletePolicyRequest) throws AmazonServiceException, AmazonClientException
Deletes the specified Auto Scaling policy.
deletePolicyAsync in interface AmazonAutoScalingAsyncdeletePolicyRequest - Container for the necessary parameters to
execute the DeletePolicy operation on AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deletePolicyAsync(DeletePolicyRequest deletePolicyRequest, AsyncHandler<DeletePolicyRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes the specified Auto Scaling policy.
deletePolicyAsync in interface AmazonAutoScalingAsyncdeletePolicyRequest - Container for the necessary parameters to
execute the DeletePolicy operation on AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteScheduledActionAsync(DeleteScheduledActionRequest deleteScheduledActionRequest) throws AmazonServiceException, AmazonClientException
Deletes the specified scheduled action.
deleteScheduledActionAsync in interface AmazonAutoScalingAsyncdeleteScheduledActionRequest - Container for the necessary
parameters to execute the DeleteScheduledAction operation on
AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteScheduledActionAsync(DeleteScheduledActionRequest deleteScheduledActionRequest, AsyncHandler<DeleteScheduledActionRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes the specified scheduled action.
deleteScheduledActionAsync in interface AmazonAutoScalingAsyncdeleteScheduledActionRequest - Container for the necessary
parameters to execute the DeleteScheduledAction operation on
AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteNotificationConfigurationAsync(DeleteNotificationConfigurationRequest deleteNotificationConfigurationRequest) throws AmazonServiceException, AmazonClientException
Deletes the specified notification.
deleteNotificationConfigurationAsync in interface AmazonAutoScalingAsyncdeleteNotificationConfigurationRequest - Container for the
necessary parameters to execute the DeleteNotificationConfiguration
operation on AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteNotificationConfigurationAsync(DeleteNotificationConfigurationRequest deleteNotificationConfigurationRequest, AsyncHandler<DeleteNotificationConfigurationRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes the specified notification.
deleteNotificationConfigurationAsync in interface AmazonAutoScalingAsyncdeleteNotificationConfigurationRequest - Container for the
necessary parameters to execute the DeleteNotificationConfiguration
operation on AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<CompleteLifecycleActionResult> completeLifecycleActionAsync(CompleteLifecycleActionRequest completeLifecycleActionRequest) throws AmazonServiceException, AmazonClientException
Completes the lifecycle action for the associated token initiated under the given lifecycle hook with the specified result.
This operation is a part of the basic sequence for adding a lifecycle hook to an Auto Scaling group:
For more information, see Auto Scaling Pending State and Auto Scaling Terminating State in the Auto Scaling Developer Guide .
completeLifecycleActionAsync in interface AmazonAutoScalingAsynccompleteLifecycleActionRequest - Container for the necessary
parameters to execute the CompleteLifecycleAction operation on
AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<CompleteLifecycleActionResult> completeLifecycleActionAsync(CompleteLifecycleActionRequest completeLifecycleActionRequest, AsyncHandler<CompleteLifecycleActionRequest,CompleteLifecycleActionResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Completes the lifecycle action for the associated token initiated under the given lifecycle hook with the specified result.
This operation is a part of the basic sequence for adding a lifecycle hook to an Auto Scaling group:
For more information, see Auto Scaling Pending State and Auto Scaling Terminating State in the Auto Scaling Developer Guide .
completeLifecycleActionAsync in interface AmazonAutoScalingAsynccompleteLifecycleActionRequest - Container for the necessary
parameters to execute the CompleteLifecycleAction operation on
AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> setInstanceHealthAsync(SetInstanceHealthRequest setInstanceHealthRequest) throws AmazonServiceException, AmazonClientException
Sets the health status of the specified instance.
For more information, see Health Checks in the Auto Scaling Developer Guide .
setInstanceHealthAsync in interface AmazonAutoScalingAsyncsetInstanceHealthRequest - Container for the necessary parameters
to execute the SetInstanceHealth operation on AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> setInstanceHealthAsync(SetInstanceHealthRequest setInstanceHealthRequest, AsyncHandler<SetInstanceHealthRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Sets the health status of the specified instance.
For more information, see Health Checks in the Auto Scaling Developer Guide .
setInstanceHealthAsync in interface AmazonAutoScalingAsyncsetInstanceHealthRequest - Container for the necessary parameters
to execute the SetInstanceHealth operation on AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeAutoScalingNotificationTypesResult> describeAutoScalingNotificationTypesAsync(DescribeAutoScalingNotificationTypesRequest describeAutoScalingNotificationTypesRequest) throws AmazonServiceException, AmazonClientException
Describes the notification types that are supported by Auto Scaling.
describeAutoScalingNotificationTypesAsync in interface AmazonAutoScalingAsyncdescribeAutoScalingNotificationTypesRequest - Container for the
necessary parameters to execute the
DescribeAutoScalingNotificationTypes operation on AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeAutoScalingNotificationTypesResult> describeAutoScalingNotificationTypesAsync(DescribeAutoScalingNotificationTypesRequest describeAutoScalingNotificationTypesRequest, AsyncHandler<DescribeAutoScalingNotificationTypesRequest,DescribeAutoScalingNotificationTypesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the notification types that are supported by Auto Scaling.
describeAutoScalingNotificationTypesAsync in interface AmazonAutoScalingAsyncdescribeAutoScalingNotificationTypesRequest - Container for the
necessary parameters to execute the
DescribeAutoScalingNotificationTypes operation on AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> suspendProcessesAsync(SuspendProcessesRequest suspendProcessesRequest) throws AmazonServiceException, AmazonClientException
Suspends the specified Auto Scaling processes for the specified Auto
Scaling group. To suspend specific processes, use the
ScalingProcesses parameter. To suspend all processes,
omit the ScalingProcesses parameter.
Note that if you suspend either the Launch or
Terminate process types, it can prevent other process
types from functioning properly.
To resume processes that have been suspended, use ResumeProcesses.
For more information, see Suspend and Resume Auto Scaling Processes in the Auto Scaling Developer Guide .
suspendProcessesAsync in interface AmazonAutoScalingAsyncsuspendProcessesRequest - Container for the necessary parameters
to execute the SuspendProcesses operation on AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> suspendProcessesAsync(SuspendProcessesRequest suspendProcessesRequest, AsyncHandler<SuspendProcessesRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Suspends the specified Auto Scaling processes for the specified Auto
Scaling group. To suspend specific processes, use the
ScalingProcesses parameter. To suspend all processes,
omit the ScalingProcesses parameter.
Note that if you suspend either the Launch or
Terminate process types, it can prevent other process
types from functioning properly.
To resume processes that have been suspended, use ResumeProcesses.
For more information, see Suspend and Resume Auto Scaling Processes in the Auto Scaling Developer Guide .
suspendProcessesAsync in interface AmazonAutoScalingAsyncsuspendProcessesRequest - Container for the necessary parameters
to execute the SuspendProcesses operation on AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> createOrUpdateTagsAsync(CreateOrUpdateTagsRequest createOrUpdateTagsRequest) throws AmazonServiceException, AmazonClientException
Creates or updates tags for the specified Auto Scaling group.
A tag is defined by its resource ID, resource type, key, value, and
propagate flag. The value and the propagate flag are optional
parameters. The only supported resource type is
auto-scaling-group , and the resource ID must be the name
of the group. The PropagateAtLaunch flag determines
whether the tag is added to instances launched in the group. Valid
values are true or false .
When you specify a tag with a key that already exists, the operation overwrites the previous tag definition, and you do not get an error message.
For more information, see Tagging Auto Scaling Groups and Instances in the Auto Scaling Developer Guide .
createOrUpdateTagsAsync in interface AmazonAutoScalingAsynccreateOrUpdateTagsRequest - Container for the necessary
parameters to execute the CreateOrUpdateTags operation on
AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> createOrUpdateTagsAsync(CreateOrUpdateTagsRequest createOrUpdateTagsRequest, AsyncHandler<CreateOrUpdateTagsRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates or updates tags for the specified Auto Scaling group.
A tag is defined by its resource ID, resource type, key, value, and
propagate flag. The value and the propagate flag are optional
parameters. The only supported resource type is
auto-scaling-group , and the resource ID must be the name
of the group. The PropagateAtLaunch flag determines
whether the tag is added to instances launched in the group. Valid
values are true or false .
When you specify a tag with a key that already exists, the operation overwrites the previous tag definition, and you do not get an error message.
For more information, see Tagging Auto Scaling Groups and Instances in the Auto Scaling Developer Guide .
createOrUpdateTagsAsync in interface AmazonAutoScalingAsynccreateOrUpdateTagsRequest - Container for the necessary
parameters to execute the CreateOrUpdateTags operation on
AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeLoadBalancersResult> describeLoadBalancersAsync(DescribeLoadBalancersRequest describeLoadBalancersRequest) throws AmazonServiceException, AmazonClientException
Describes the load balancers for the specified Auto Scaling group.
describeLoadBalancersAsync in interface AmazonAutoScalingAsyncdescribeLoadBalancersRequest - Container for the necessary
parameters to execute the DescribeLoadBalancers operation on
AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeLoadBalancersResult> describeLoadBalancersAsync(DescribeLoadBalancersRequest describeLoadBalancersRequest, AsyncHandler<DescribeLoadBalancersRequest,DescribeLoadBalancersResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the load balancers for the specified Auto Scaling group.
describeLoadBalancersAsync in interface AmazonAutoScalingAsyncdescribeLoadBalancersRequest - Container for the necessary
parameters to execute the DescribeLoadBalancers operation on
AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<AttachLoadBalancersResult> attachLoadBalancersAsync(AttachLoadBalancersRequest attachLoadBalancersRequest) throws AmazonServiceException, AmazonClientException
Attaches one or more load balancers to the specified Auto Scaling group.
To describe the load balancers for an Auto Scaling group, use DescribeLoadBalancers. To detach the load balancer from the Auto Scaling group, use DetachLoadBalancers.
For more information, see Attach a Load Balancer to Your Auto Scaling Group in the Auto Scaling Developer Guide .
attachLoadBalancersAsync in interface AmazonAutoScalingAsyncattachLoadBalancersRequest - Container for the necessary
parameters to execute the AttachLoadBalancers operation on
AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<AttachLoadBalancersResult> attachLoadBalancersAsync(AttachLoadBalancersRequest attachLoadBalancersRequest, AsyncHandler<AttachLoadBalancersRequest,AttachLoadBalancersResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Attaches one or more load balancers to the specified Auto Scaling group.
To describe the load balancers for an Auto Scaling group, use DescribeLoadBalancers. To detach the load balancer from the Auto Scaling group, use DetachLoadBalancers.
For more information, see Attach a Load Balancer to Your Auto Scaling Group in the Auto Scaling Developer Guide .
attachLoadBalancersAsync in interface AmazonAutoScalingAsyncattachLoadBalancersRequest - Container for the necessary
parameters to execute the AttachLoadBalancers operation on
AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DetachInstancesResult> detachInstancesAsync(DetachInstancesRequest detachInstancesRequest) throws AmazonServiceException, AmazonClientException
Removes one or more instances from the specified Auto Scaling group. After the instances are detached, you can manage them independently from the rest of the Auto Scaling group.
For more information, see Detach EC2 Instances from Your Auto Scaling Group in the Auto Scaling Developer Guide .
detachInstancesAsync in interface AmazonAutoScalingAsyncdetachInstancesRequest - Container for the necessary parameters
to execute the DetachInstances operation on AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DetachInstancesResult> detachInstancesAsync(DetachInstancesRequest detachInstancesRequest, AsyncHandler<DetachInstancesRequest,DetachInstancesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Removes one or more instances from the specified Auto Scaling group. After the instances are detached, you can manage them independently from the rest of the Auto Scaling group.
For more information, see Detach EC2 Instances from Your Auto Scaling Group in the Auto Scaling Developer Guide .
detachInstancesAsync in interface AmazonAutoScalingAsyncdetachInstancesRequest - Container for the necessary parameters
to execute the DetachInstances operation on AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeAutoScalingInstancesResult> describeAutoScalingInstancesAsync(DescribeAutoScalingInstancesRequest describeAutoScalingInstancesRequest) throws AmazonServiceException, AmazonClientException
Describes one or more Auto Scaling instances. If a list is not provided, the call describes all instances.
describeAutoScalingInstancesAsync in interface AmazonAutoScalingAsyncdescribeAutoScalingInstancesRequest - Container for the necessary
parameters to execute the DescribeAutoScalingInstances operation on
AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeAutoScalingInstancesResult> describeAutoScalingInstancesAsync(DescribeAutoScalingInstancesRequest describeAutoScalingInstancesRequest, AsyncHandler<DescribeAutoScalingInstancesRequest,DescribeAutoScalingInstancesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes one or more Auto Scaling instances. If a list is not provided, the call describes all instances.
describeAutoScalingInstancesAsync in interface AmazonAutoScalingAsyncdescribeAutoScalingInstancesRequest - Container for the necessary
parameters to execute the DescribeAutoScalingInstances operation on
AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> createLaunchConfigurationAsync(CreateLaunchConfigurationRequest createLaunchConfigurationRequest) throws AmazonServiceException, AmazonClientException
Creates a launch configuration.
If you exceed your maximum limit of launch configurations, which by default is 100 per region, the call fails. For information about viewing and updating this limit, see DescribeAccountLimits.
For more information, see Launch Configurations in the Auto Scaling Developer Guide .
createLaunchConfigurationAsync in interface AmazonAutoScalingAsynccreateLaunchConfigurationRequest - Container for the necessary
parameters to execute the CreateLaunchConfiguration operation on
AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> createLaunchConfigurationAsync(CreateLaunchConfigurationRequest createLaunchConfigurationRequest, AsyncHandler<CreateLaunchConfigurationRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a launch configuration.
If you exceed your maximum limit of launch configurations, which by default is 100 per region, the call fails. For information about viewing and updating this limit, see DescribeAccountLimits.
For more information, see Launch Configurations in the Auto Scaling Developer Guide .
createLaunchConfigurationAsync in interface AmazonAutoScalingAsynccreateLaunchConfigurationRequest - Container for the necessary
parameters to execute the CreateLaunchConfiguration operation on
AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<EnterStandbyResult> enterStandbyAsync(EnterStandbyRequest enterStandbyRequest) throws AmazonServiceException, AmazonClientException
Moves the specified instances into Standby mode.
For more information, see Auto Scaling InService State in the Auto Scaling Developer Guide .
enterStandbyAsync in interface AmazonAutoScalingAsyncenterStandbyRequest - Container for the necessary parameters to
execute the EnterStandby operation on AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<EnterStandbyResult> enterStandbyAsync(EnterStandbyRequest enterStandbyRequest, AsyncHandler<EnterStandbyRequest,EnterStandbyResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Moves the specified instances into Standby mode.
For more information, see Auto Scaling InService State in the Auto Scaling Developer Guide .
enterStandbyAsync in interface AmazonAutoScalingAsyncenterStandbyRequest - Container for the necessary parameters to
execute the EnterStandby operation on AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeLifecycleHookTypesResult> describeLifecycleHookTypesAsync(DescribeLifecycleHookTypesRequest describeLifecycleHookTypesRequest) throws AmazonServiceException, AmazonClientException
Describes the available types of lifecycle hooks.
describeLifecycleHookTypesAsync in interface AmazonAutoScalingAsyncdescribeLifecycleHookTypesRequest - Container for the necessary
parameters to execute the DescribeLifecycleHookTypes operation on
AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeLifecycleHookTypesResult> describeLifecycleHookTypesAsync(DescribeLifecycleHookTypesRequest describeLifecycleHookTypesRequest, AsyncHandler<DescribeLifecycleHookTypesRequest,DescribeLifecycleHookTypesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the available types of lifecycle hooks.
describeLifecycleHookTypesAsync in interface AmazonAutoScalingAsyncdescribeLifecycleHookTypesRequest - Container for the necessary
parameters to execute the DescribeLifecycleHookTypes operation on
AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteAutoScalingGroupAsync(DeleteAutoScalingGroupRequest deleteAutoScalingGroupRequest) throws AmazonServiceException, AmazonClientException
Deletes the specified Auto Scaling group.
The group must have no instances and no scaling activities in progress.
To remove all instances before calling
DeleteAutoScalingGroup , call UpdateAutoScalingGroup to
set the minimum and maximum size of the Auto Scaling group to zero.
deleteAutoScalingGroupAsync in interface AmazonAutoScalingAsyncdeleteAutoScalingGroupRequest - Container for the necessary
parameters to execute the DeleteAutoScalingGroup operation on
AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteAutoScalingGroupAsync(DeleteAutoScalingGroupRequest deleteAutoScalingGroupRequest, AsyncHandler<DeleteAutoScalingGroupRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes the specified Auto Scaling group.
The group must have no instances and no scaling activities in progress.
To remove all instances before calling
DeleteAutoScalingGroup , call UpdateAutoScalingGroup to
set the minimum and maximum size of the Auto Scaling group to zero.
deleteAutoScalingGroupAsync in interface AmazonAutoScalingAsyncdeleteAutoScalingGroupRequest - Container for the necessary
parameters to execute the DeleteAutoScalingGroup operation on
AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> disableMetricsCollectionAsync(DisableMetricsCollectionRequest disableMetricsCollectionRequest) throws AmazonServiceException, AmazonClientException
Disables monitoring of the specified metrics for the specified Auto Scaling group.
disableMetricsCollectionAsync in interface AmazonAutoScalingAsyncdisableMetricsCollectionRequest - Container for the necessary
parameters to execute the DisableMetricsCollection operation on
AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> disableMetricsCollectionAsync(DisableMetricsCollectionRequest disableMetricsCollectionRequest, AsyncHandler<DisableMetricsCollectionRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Disables monitoring of the specified metrics for the specified Auto Scaling group.
disableMetricsCollectionAsync in interface AmazonAutoScalingAsyncdisableMetricsCollectionRequest - Container for the necessary
parameters to execute the DisableMetricsCollection operation on
AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> updateAutoScalingGroupAsync(UpdateAutoScalingGroupRequest updateAutoScalingGroupRequest) throws AmazonServiceException, AmazonClientException
Updates the configuration for the specified Auto Scaling group.
To update an Auto Scaling group with a launch configuration with
InstanceMonitoring set to False , you must
first disable the collection of group metrics. Otherwise, you will get
an error. If you have previously enabled the collection of group
metrics, you can disable it using DisableMetricsCollection.
The new settings are registered upon the completion of this call. Any launch configuration settings take effect on any triggers after this call returns. Scaling activities that are currently in progress aren't affected.
Note the following:
If you specify a new value for MinSize without
specifying a value for DesiredCapacity , and the new
MinSize is larger than the current size of the group, we
implicitly call SetDesiredCapacity to set the size of the group to the
new value of MinSize .
If you specify a new value for MaxSize without
specifying a value for DesiredCapacity , and the new
MaxSize is smaller than the current size of the group, we
implicitly call SetDesiredCapacity to set the size of the group to the
new value of MaxSize .
All other optional parameters are left unchanged if not specified.
updateAutoScalingGroupAsync in interface AmazonAutoScalingAsyncupdateAutoScalingGroupRequest - Container for the necessary
parameters to execute the UpdateAutoScalingGroup operation on
AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> updateAutoScalingGroupAsync(UpdateAutoScalingGroupRequest updateAutoScalingGroupRequest, AsyncHandler<UpdateAutoScalingGroupRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Updates the configuration for the specified Auto Scaling group.
To update an Auto Scaling group with a launch configuration with
InstanceMonitoring set to False , you must
first disable the collection of group metrics. Otherwise, you will get
an error. If you have previously enabled the collection of group
metrics, you can disable it using DisableMetricsCollection.
The new settings are registered upon the completion of this call. Any launch configuration settings take effect on any triggers after this call returns. Scaling activities that are currently in progress aren't affected.
Note the following:
If you specify a new value for MinSize without
specifying a value for DesiredCapacity , and the new
MinSize is larger than the current size of the group, we
implicitly call SetDesiredCapacity to set the size of the group to the
new value of MinSize .
If you specify a new value for MaxSize without
specifying a value for DesiredCapacity , and the new
MaxSize is smaller than the current size of the group, we
implicitly call SetDesiredCapacity to set the size of the group to the
new value of MaxSize .
All other optional parameters are left unchanged if not specified.
updateAutoScalingGroupAsync in interface AmazonAutoScalingAsyncupdateAutoScalingGroupRequest - Container for the necessary
parameters to execute the UpdateAutoScalingGroup operation on
AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeLaunchConfigurationsResult> describeLaunchConfigurationsAsync(DescribeLaunchConfigurationsRequest describeLaunchConfigurationsRequest) throws AmazonServiceException, AmazonClientException
Describes one or more launch configurations. If you omit the list of names, then the call describes all launch configurations.
describeLaunchConfigurationsAsync in interface AmazonAutoScalingAsyncdescribeLaunchConfigurationsRequest - Container for the necessary
parameters to execute the DescribeLaunchConfigurations operation on
AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeLaunchConfigurationsResult> describeLaunchConfigurationsAsync(DescribeLaunchConfigurationsRequest describeLaunchConfigurationsRequest, AsyncHandler<DescribeLaunchConfigurationsRequest,DescribeLaunchConfigurationsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes one or more launch configurations. If you omit the list of names, then the call describes all launch configurations.
describeLaunchConfigurationsAsync in interface AmazonAutoScalingAsyncdescribeLaunchConfigurationsRequest - Container for the necessary
parameters to execute the DescribeLaunchConfigurations operation on
AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeAdjustmentTypesResult> describeAdjustmentTypesAsync(DescribeAdjustmentTypesRequest describeAdjustmentTypesRequest) throws AmazonServiceException, AmazonClientException
Describes the policy adjustment types for use with PutScalingPolicy.
describeAdjustmentTypesAsync in interface AmazonAutoScalingAsyncdescribeAdjustmentTypesRequest - Container for the necessary
parameters to execute the DescribeAdjustmentTypes operation on
AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeAdjustmentTypesResult> describeAdjustmentTypesAsync(DescribeAdjustmentTypesRequest describeAdjustmentTypesRequest, AsyncHandler<DescribeAdjustmentTypesRequest,DescribeAdjustmentTypesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the policy adjustment types for use with PutScalingPolicy.
describeAdjustmentTypesAsync in interface AmazonAutoScalingAsyncdescribeAdjustmentTypesRequest - Container for the necessary
parameters to execute the DescribeAdjustmentTypes operation on
AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeScheduledActionsResult> describeScheduledActionsAsync(DescribeScheduledActionsRequest describeScheduledActionsRequest) throws AmazonServiceException, AmazonClientException
Describes the actions scheduled for your Auto Scaling group that haven't run. To describe the actions that have already run, use DescribeScalingActivities.
describeScheduledActionsAsync in interface AmazonAutoScalingAsyncdescribeScheduledActionsRequest - Container for the necessary
parameters to execute the DescribeScheduledActions operation on
AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeScheduledActionsResult> describeScheduledActionsAsync(DescribeScheduledActionsRequest describeScheduledActionsRequest, AsyncHandler<DescribeScheduledActionsRequest,DescribeScheduledActionsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the actions scheduled for your Auto Scaling group that haven't run. To describe the actions that have already run, use DescribeScalingActivities.
describeScheduledActionsAsync in interface AmazonAutoScalingAsyncdescribeScheduledActionsRequest - Container for the necessary
parameters to execute the DescribeScheduledActions operation on
AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<RecordLifecycleActionHeartbeatResult> recordLifecycleActionHeartbeatAsync(RecordLifecycleActionHeartbeatRequest recordLifecycleActionHeartbeatRequest) throws AmazonServiceException, AmazonClientException
Records a heartbeat for the lifecycle action associated with a
specific token. This extends the timeout by the length of time defined
by the HeartbeatTimeout parameter of PutLifecycleHook.
This operation is a part of the basic sequence for adding a lifecycle hook to an Auto Scaling group:
For more information, see Auto Scaling Pending State and Auto Scaling Terminating State in the Auto Scaling Developer Guide .
recordLifecycleActionHeartbeatAsync in interface AmazonAutoScalingAsyncrecordLifecycleActionHeartbeatRequest - Container for the
necessary parameters to execute the RecordLifecycleActionHeartbeat
operation on AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<RecordLifecycleActionHeartbeatResult> recordLifecycleActionHeartbeatAsync(RecordLifecycleActionHeartbeatRequest recordLifecycleActionHeartbeatRequest, AsyncHandler<RecordLifecycleActionHeartbeatRequest,RecordLifecycleActionHeartbeatResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Records a heartbeat for the lifecycle action associated with a
specific token. This extends the timeout by the length of time defined
by the HeartbeatTimeout parameter of PutLifecycleHook.
This operation is a part of the basic sequence for adding a lifecycle hook to an Auto Scaling group:
For more information, see Auto Scaling Pending State and Auto Scaling Terminating State in the Auto Scaling Developer Guide .
recordLifecycleActionHeartbeatAsync in interface AmazonAutoScalingAsyncrecordLifecycleActionHeartbeatRequest - Container for the
necessary parameters to execute the RecordLifecycleActionHeartbeat
operation on AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> putScheduledUpdateGroupActionAsync(PutScheduledUpdateGroupActionRequest putScheduledUpdateGroupActionRequest) throws AmazonServiceException, AmazonClientException
Creates or updates a scheduled scaling action for an Auto Scaling group. When updating a scheduled scaling action, if you leave a parameter unspecified, the corresponding value remains unchanged in the affected Auto Scaling group.
For more information, see Scheduled Scaling in the Auto Scaling Developer Guide .
putScheduledUpdateGroupActionAsync in interface AmazonAutoScalingAsyncputScheduledUpdateGroupActionRequest - Container for the
necessary parameters to execute the PutScheduledUpdateGroupAction
operation on AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> putScheduledUpdateGroupActionAsync(PutScheduledUpdateGroupActionRequest putScheduledUpdateGroupActionRequest, AsyncHandler<PutScheduledUpdateGroupActionRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates or updates a scheduled scaling action for an Auto Scaling group. When updating a scheduled scaling action, if you leave a parameter unspecified, the corresponding value remains unchanged in the affected Auto Scaling group.
For more information, see Scheduled Scaling in the Auto Scaling Developer Guide .
putScheduledUpdateGroupActionAsync in interface AmazonAutoScalingAsyncputScheduledUpdateGroupActionRequest - Container for the
necessary parameters to execute the PutScheduledUpdateGroupAction
operation on AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeMetricCollectionTypesResult> describeMetricCollectionTypesAsync(DescribeMetricCollectionTypesRequest describeMetricCollectionTypesRequest) throws AmazonServiceException, AmazonClientException
Describes the available CloudWatch metrics for Auto Scaling.
Note that the GroupStandbyInstances metric is not
returned by default. You must explicitly request this metric when
calling EnableMetricsCollection.
describeMetricCollectionTypesAsync in interface AmazonAutoScalingAsyncdescribeMetricCollectionTypesRequest - Container for the
necessary parameters to execute the DescribeMetricCollectionTypes
operation on AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeMetricCollectionTypesResult> describeMetricCollectionTypesAsync(DescribeMetricCollectionTypesRequest describeMetricCollectionTypesRequest, AsyncHandler<DescribeMetricCollectionTypesRequest,DescribeMetricCollectionTypesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the available CloudWatch metrics for Auto Scaling.
Note that the GroupStandbyInstances metric is not
returned by default. You must explicitly request this metric when
calling EnableMetricsCollection.
describeMetricCollectionTypesAsync in interface AmazonAutoScalingAsyncdescribeMetricCollectionTypesRequest - Container for the
necessary parameters to execute the DescribeMetricCollectionTypes
operation on AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> setDesiredCapacityAsync(SetDesiredCapacityRequest setDesiredCapacityRequest) throws AmazonServiceException, AmazonClientException
Sets the size of the specified Auto Scaling group.
For more information about desired capacity, see What Is Auto Scaling? in the Auto Scaling Developer Guide .
setDesiredCapacityAsync in interface AmazonAutoScalingAsyncsetDesiredCapacityRequest - Container for the necessary
parameters to execute the SetDesiredCapacity operation on
AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<Void> setDesiredCapacityAsync(SetDesiredCapacityRequest setDesiredCapacityRequest, AsyncHandler<SetDesiredCapacityRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Sets the size of the specified Auto Scaling group.
For more information about desired capacity, see What Is Auto Scaling? in the Auto Scaling Developer Guide .
setDesiredCapacityAsync in interface AmazonAutoScalingAsyncsetDesiredCapacityRequest - Container for the necessary
parameters to execute the SetDesiredCapacity operation on
AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<TerminateInstanceInAutoScalingGroupResult> terminateInstanceInAutoScalingGroupAsync(TerminateInstanceInAutoScalingGroupRequest terminateInstanceInAutoScalingGroupRequest) throws AmazonServiceException, AmazonClientException
Terminates the specified instance and optionally adjusts the desired group size.
This call simply makes a termination request. The instances is not terminated immediately.
terminateInstanceInAutoScalingGroupAsync in interface AmazonAutoScalingAsyncterminateInstanceInAutoScalingGroupRequest - Container for the
necessary parameters to execute the
TerminateInstanceInAutoScalingGroup operation on AmazonAutoScaling.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.public Future<TerminateInstanceInAutoScalingGroupResult> terminateInstanceInAutoScalingGroupAsync(TerminateInstanceInAutoScalingGroupRequest terminateInstanceInAutoScalingGroupRequest, AsyncHandler<TerminateInstanceInAutoScalingGroupRequest,TerminateInstanceInAutoScalingGroupResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Terminates the specified instance and optionally adjusts the desired group size.
This call simply makes a termination request. The instances is not terminated immediately.
terminateInstanceInAutoScalingGroupAsync in interface AmazonAutoScalingAsyncterminateInstanceInAutoScalingGroupRequest - Container for the
necessary parameters to execute the
TerminateInstanceInAutoScalingGroup operation on AmazonAutoScaling.asyncHandler - Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException - If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException - If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Copyright © 2015. All rights reserved.