Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.autoscaling
Class AmazonAutoScalingAsyncClient

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceClient
      extended by com.amazonaws.services.autoscaling.AmazonAutoScalingClient
          extended by com.amazonaws.services.autoscaling.AmazonAutoScalingAsyncClient
All Implemented Interfaces:
AmazonAutoScaling, AmazonAutoScalingAsync

public class AmazonAutoScalingAsyncClient
extends AmazonAutoScalingClient
implements AmazonAutoScalingAsync

Asynchronous client for accessing AmazonAutoScaling. All asynchronous calls made using this client are non-blocking. Callers could either process the result and handle the exceptions in the worker thread by providing a callback handler when making the call, or use the returned Future object to check the result of the call in the calling thread. Auto Scaling

This guide provides detailed information about Auto Scaling actions, data types, parameters, and errors. For detailed information about Auto Scaling features and their associated API calls, go to the Auto Scaling Developer Guide .

Auto Scaling is a web service designed to automatically launch or terminate Amazon Elastic Compute Cloud (Amazon EC2) instances based on user-defined policies, schedules, and health checks. This service is used in conjunction with Amazon CloudWatch and Elastic Load Balancing services.

This reference is based on the current WSDL, which is available at:

http://autoscaling.amazonaws.com/doc/2011-01-01/AutoScaling.wsdl

Endpoints

For information about this product's regions and endpoints, go to Regions and Endpoints in the Amazon Web Services General Reference.


Constructor Summary
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.
 
Method Summary
 Future<Void> createAutoScalingGroupAsync(CreateAutoScalingGroupRequest createAutoScalingGroupRequest)
           Creates a new Auto Scaling group with the specified name and other attributes.
 Future<Void> createAutoScalingGroupAsync(CreateAutoScalingGroupRequest createAutoScalingGroupRequest, AsyncHandler<CreateAutoScalingGroupRequest,Void> asyncHandler)
           Creates a new Auto Scaling group with the specified name and other attributes.
 Future<Void> createLaunchConfigurationAsync(CreateLaunchConfigurationRequest createLaunchConfigurationRequest)
           Creates a new launch configuration.
 Future<Void> createLaunchConfigurationAsync(CreateLaunchConfigurationRequest createLaunchConfigurationRequest, AsyncHandler<CreateLaunchConfigurationRequest,Void> asyncHandler)
           Creates a new launch configuration.
 Future<Void> createOrUpdateTagsAsync(CreateOrUpdateTagsRequest createOrUpdateTagsRequest)
           Creates new tags or updates existing tags for an Auto Scaling group.
 Future<Void> createOrUpdateTagsAsync(CreateOrUpdateTagsRequest createOrUpdateTagsRequest, AsyncHandler<CreateOrUpdateTagsRequest,Void> asyncHandler)
           Creates new tags or updates existing tags for an Auto Scaling group.
 Future<Void> deleteAutoScalingGroupAsync(DeleteAutoScalingGroupRequest deleteAutoScalingGroupRequest)
           Deletes the specified Auto Scaling group if the group has no instances and no scaling activities in progress.
 Future<Void> deleteAutoScalingGroupAsync(DeleteAutoScalingGroupRequest deleteAutoScalingGroupRequest, AsyncHandler<DeleteAutoScalingGroupRequest,Void> asyncHandler)
           Deletes the specified Auto Scaling group if the group has no instances and no scaling activities in progress.
 Future<Void> deleteLaunchConfigurationAsync(DeleteLaunchConfigurationRequest deleteLaunchConfigurationRequest)
           Deletes the specified LaunchConfiguration.
 Future<Void> deleteLaunchConfigurationAsync(DeleteLaunchConfigurationRequest deleteLaunchConfigurationRequest, AsyncHandler<DeleteLaunchConfigurationRequest,Void> asyncHandler)
           Deletes the specified LaunchConfiguration.
 Future<Void> deleteNotificationConfigurationAsync(DeleteNotificationConfigurationRequest deleteNotificationConfigurationRequest)
           Deletes notifications created by PutNotificationConfiguration.
 Future<Void> deleteNotificationConfigurationAsync(DeleteNotificationConfigurationRequest deleteNotificationConfigurationRequest, AsyncHandler<DeleteNotificationConfigurationRequest,Void> asyncHandler)
           Deletes notifications created by PutNotificationConfiguration.
 Future<Void> deletePolicyAsync(DeletePolicyRequest deletePolicyRequest)
           Deletes a policy created by PutScalingPolicy.
 Future<Void> deletePolicyAsync(DeletePolicyRequest deletePolicyRequest, AsyncHandler<DeletePolicyRequest,Void> asyncHandler)
           Deletes a policy created by PutScalingPolicy.
 Future<Void> deleteScheduledActionAsync(DeleteScheduledActionRequest deleteScheduledActionRequest)
           Deletes a scheduled action previously created using the PutScheduledUpdateGroupAction.
 Future<Void> deleteScheduledActionAsync(DeleteScheduledActionRequest deleteScheduledActionRequest, AsyncHandler<DeleteScheduledActionRequest,Void> asyncHandler)
           Deletes a scheduled action previously created using the PutScheduledUpdateGroupAction.
 Future<Void> deleteTagsAsync(DeleteTagsRequest deleteTagsRequest)
           Removes the specified tags or a set of tags from a set of resources.
 Future<Void> deleteTagsAsync(DeleteTagsRequest deleteTagsRequest, AsyncHandler<DeleteTagsRequest,Void> asyncHandler)
           Removes the specified tags or a set of tags from a set of resources.
 Future<DescribeAdjustmentTypesResult> describeAdjustmentTypesAsync(DescribeAdjustmentTypesRequest describeAdjustmentTypesRequest)
           Returns policy adjustment types for use in the PutScalingPolicy action.
 Future<DescribeAdjustmentTypesResult> describeAdjustmentTypesAsync(DescribeAdjustmentTypesRequest describeAdjustmentTypesRequest, AsyncHandler<DescribeAdjustmentTypesRequest,DescribeAdjustmentTypesResult> asyncHandler)
           Returns policy adjustment types for use in the PutScalingPolicy action.
 Future<DescribeAutoScalingGroupsResult> describeAutoScalingGroupsAsync(DescribeAutoScalingGroupsRequest describeAutoScalingGroupsRequest)
           Returns a full description of each Auto Scaling group in the given list.
 Future<DescribeAutoScalingGroupsResult> describeAutoScalingGroupsAsync(DescribeAutoScalingGroupsRequest describeAutoScalingGroupsRequest, AsyncHandler<DescribeAutoScalingGroupsRequest,DescribeAutoScalingGroupsResult> asyncHandler)
           Returns a full description of each Auto Scaling group in the given list.
 Future<DescribeAutoScalingInstancesResult> describeAutoScalingInstancesAsync(DescribeAutoScalingInstancesRequest describeAutoScalingInstancesRequest)
           Returns a description of each Auto Scaling instance in the InstanceIds list.
 Future<DescribeAutoScalingInstancesResult> describeAutoScalingInstancesAsync(DescribeAutoScalingInstancesRequest describeAutoScalingInstancesRequest, AsyncHandler<DescribeAutoScalingInstancesRequest,DescribeAutoScalingInstancesResult> asyncHandler)
           Returns a description of each Auto Scaling instance in the InstanceIds list.
 Future<DescribeAutoScalingNotificationTypesResult> describeAutoScalingNotificationTypesAsync(DescribeAutoScalingNotificationTypesRequest describeAutoScalingNotificationTypesRequest)
           Returns a list of all notification types that are supported by Auto Scaling.
 Future<DescribeAutoScalingNotificationTypesResult> describeAutoScalingNotificationTypesAsync(DescribeAutoScalingNotificationTypesRequest describeAutoScalingNotificationTypesRequest, AsyncHandler<DescribeAutoScalingNotificationTypesRequest,DescribeAutoScalingNotificationTypesResult> asyncHandler)
           Returns a list of all notification types that are supported by Auto Scaling.
 Future<DescribeLaunchConfigurationsResult> describeLaunchConfigurationsAsync(DescribeLaunchConfigurationsRequest describeLaunchConfigurationsRequest)
           Returns a full description of the launch configurations, or the specified launch configurations, if they exist.
 Future<DescribeLaunchConfigurationsResult> describeLaunchConfigurationsAsync(DescribeLaunchConfigurationsRequest describeLaunchConfigurationsRequest, AsyncHandler<DescribeLaunchConfigurationsRequest,DescribeLaunchConfigurationsResult> asyncHandler)
           Returns a full description of the launch configurations, or the specified launch configurations, if they exist.
 Future<DescribeMetricCollectionTypesResult> describeMetricCollectionTypesAsync(DescribeMetricCollectionTypesRequest describeMetricCollectionTypesRequest)
           Returns a list of metrics and a corresponding list of granularities for each metric.
 Future<DescribeMetricCollectionTypesResult> describeMetricCollectionTypesAsync(DescribeMetricCollectionTypesRequest describeMetricCollectionTypesRequest, AsyncHandler<DescribeMetricCollectionTypesRequest,DescribeMetricCollectionTypesResult> asyncHandler)
           Returns a list of metrics and a corresponding list of granularities for each metric.
 Future<DescribeNotificationConfigurationsResult> describeNotificationConfigurationsAsync(DescribeNotificationConfigurationsRequest describeNotificationConfigurationsRequest)
           Returns a list of notification actions associated with Auto Scaling groups for specified events.
 Future<DescribeNotificationConfigurationsResult> describeNotificationConfigurationsAsync(DescribeNotificationConfigurationsRequest describeNotificationConfigurationsRequest, AsyncHandler<DescribeNotificationConfigurationsRequest,DescribeNotificationConfigurationsResult> asyncHandler)
           Returns a list of notification actions associated with Auto Scaling groups for specified events.
 Future<DescribePoliciesResult> describePoliciesAsync(DescribePoliciesRequest describePoliciesRequest)
           Returns descriptions of what each policy does.
 Future<DescribePoliciesResult> describePoliciesAsync(DescribePoliciesRequest describePoliciesRequest, AsyncHandler<DescribePoliciesRequest,DescribePoliciesResult> asyncHandler)
           Returns descriptions of what each policy does.
 Future<DescribeScalingActivitiesResult> describeScalingActivitiesAsync(DescribeScalingActivitiesRequest describeScalingActivitiesRequest)
           Returns the scaling activities for the specified Auto Scaling group.
 Future<DescribeScalingActivitiesResult> describeScalingActivitiesAsync(DescribeScalingActivitiesRequest describeScalingActivitiesRequest, AsyncHandler<DescribeScalingActivitiesRequest,DescribeScalingActivitiesResult> asyncHandler)
           Returns the scaling activities for the specified Auto Scaling group.
 Future<DescribeScalingProcessTypesResult> describeScalingProcessTypesAsync(DescribeScalingProcessTypesRequest describeScalingProcessTypesRequest)
           Returns scaling process types for use in the ResumeProcesses and SuspendProcesses actions.
 Future<DescribeScalingProcessTypesResult> describeScalingProcessTypesAsync(DescribeScalingProcessTypesRequest describeScalingProcessTypesRequest, AsyncHandler<DescribeScalingProcessTypesRequest,DescribeScalingProcessTypesResult> asyncHandler)
           Returns scaling process types for use in the ResumeProcesses and SuspendProcesses actions.
 Future<DescribeScheduledActionsResult> describeScheduledActionsAsync(DescribeScheduledActionsRequest describeScheduledActionsRequest)
           Lists all the actions scheduled for your Auto Scaling group that haven't been executed.
 Future<DescribeScheduledActionsResult> describeScheduledActionsAsync(DescribeScheduledActionsRequest describeScheduledActionsRequest, AsyncHandler<DescribeScheduledActionsRequest,DescribeScheduledActionsResult> asyncHandler)
           Lists all the actions scheduled for your Auto Scaling group that haven't been executed.
 Future<DescribeTagsResult> describeTagsAsync(DescribeTagsRequest describeTagsRequest)
           Lists the Auto Scaling group tags.
 Future<DescribeTagsResult> describeTagsAsync(DescribeTagsRequest describeTagsRequest, AsyncHandler<DescribeTagsRequest,DescribeTagsResult> asyncHandler)
           Lists the Auto Scaling group tags.
 Future<DescribeTerminationPolicyTypesResult> describeTerminationPolicyTypesAsync(DescribeTerminationPolicyTypesRequest describeTerminationPolicyTypesRequest)
           Returns a list of all termination policies supported by Auto Scaling.
 Future<DescribeTerminationPolicyTypesResult> describeTerminationPolicyTypesAsync(DescribeTerminationPolicyTypesRequest describeTerminationPolicyTypesRequest, AsyncHandler<DescribeTerminationPolicyTypesRequest,DescribeTerminationPolicyTypesResult> asyncHandler)
           Returns a list of all termination policies supported by Auto Scaling.
 Future<Void> disableMetricsCollectionAsync(DisableMetricsCollectionRequest disableMetricsCollectionRequest)
           Disables monitoring of group metrics for the Auto Scaling group specified in AutoScalingGroupName .
 Future<Void> disableMetricsCollectionAsync(DisableMetricsCollectionRequest disableMetricsCollectionRequest, AsyncHandler<DisableMetricsCollectionRequest,Void> asyncHandler)
           Disables monitoring of group metrics for the Auto Scaling group specified in AutoScalingGroupName .
 Future<Void> enableMetricsCollectionAsync(EnableMetricsCollectionRequest enableMetricsCollectionRequest)
           Enables monitoring of group metrics for the Auto Scaling group specified in AutoScalingGroupName .
 Future<Void> enableMetricsCollectionAsync(EnableMetricsCollectionRequest enableMetricsCollectionRequest, AsyncHandler<EnableMetricsCollectionRequest,Void> asyncHandler)
           Enables monitoring of group metrics for the Auto Scaling group specified in AutoScalingGroupName .
 Future<Void> executePolicyAsync(ExecutePolicyRequest executePolicyRequest)
           Runs the policy you create for your Auto Scaling group in PutScalingPolicy.
 Future<Void> executePolicyAsync(ExecutePolicyRequest executePolicyRequest, AsyncHandler<ExecutePolicyRequest,Void> asyncHandler)
           Runs the policy you create for your Auto Scaling group in PutScalingPolicy.
 ExecutorService getExecutorService()
          Returns the executor service used by this async client to execute requests.
 Future<Void> putNotificationConfigurationAsync(PutNotificationConfigurationRequest putNotificationConfigurationRequest)
           Configures an Auto Scaling group to send notifications when specified events take place.
 Future<Void> putNotificationConfigurationAsync(PutNotificationConfigurationRequest putNotificationConfigurationRequest, AsyncHandler<PutNotificationConfigurationRequest,Void> asyncHandler)
           Configures an Auto Scaling group to send notifications when specified events take place.
 Future<PutScalingPolicyResult> putScalingPolicyAsync(PutScalingPolicyRequest putScalingPolicyRequest)
           Creates or updates a policy for an Auto Scaling group.
 Future<PutScalingPolicyResult> putScalingPolicyAsync(PutScalingPolicyRequest putScalingPolicyRequest, AsyncHandler<PutScalingPolicyRequest,PutScalingPolicyResult> asyncHandler)
           Creates or updates a policy for an Auto Scaling group.
 Future<Void> putScheduledUpdateGroupActionAsync(PutScheduledUpdateGroupActionRequest putScheduledUpdateGroupActionRequest)
           Creates a scheduled scaling action for an Auto Scaling group.
 Future<Void> putScheduledUpdateGroupActionAsync(PutScheduledUpdateGroupActionRequest putScheduledUpdateGroupActionRequest, AsyncHandler<PutScheduledUpdateGroupActionRequest,Void> asyncHandler)
           Creates a scheduled scaling action for an Auto Scaling group.
 Future<Void> resumeProcessesAsync(ResumeProcessesRequest resumeProcessesRequest)
           Resumes Auto Scaling processes for an Auto Scaling group.
 Future<Void> resumeProcessesAsync(ResumeProcessesRequest resumeProcessesRequest, AsyncHandler<ResumeProcessesRequest,Void> asyncHandler)
           Resumes Auto Scaling processes for an Auto Scaling group.
 Future<Void> setDesiredCapacityAsync(SetDesiredCapacityRequest setDesiredCapacityRequest)
           Adjusts the desired size of the AutoScalingGroup by initiating scaling activities.
 Future<Void> setDesiredCapacityAsync(SetDesiredCapacityRequest setDesiredCapacityRequest, AsyncHandler<SetDesiredCapacityRequest,Void> asyncHandler)
           Adjusts the desired size of the AutoScalingGroup by initiating scaling activities.
 Future<Void> setInstanceHealthAsync(SetInstanceHealthRequest setInstanceHealthRequest)
           Sets the health status of an instance.
 Future<Void> setInstanceHealthAsync(SetInstanceHealthRequest setInstanceHealthRequest, AsyncHandler<SetInstanceHealthRequest,Void> asyncHandler)
           Sets the health status of an instance.
 void shutdown()
          Shuts down the client, releasing all managed resources.
 Future<Void> suspendProcessesAsync(SuspendProcessesRequest suspendProcessesRequest)
           Suspends Auto Scaling processes for an Auto Scaling group.
 Future<Void> suspendProcessesAsync(SuspendProcessesRequest suspendProcessesRequest, AsyncHandler<SuspendProcessesRequest,Void> asyncHandler)
           Suspends Auto Scaling processes for an Auto Scaling group.
 Future<TerminateInstanceInAutoScalingGroupResult> terminateInstanceInAutoScalingGroupAsync(TerminateInstanceInAutoScalingGroupRequest terminateInstanceInAutoScalingGroupRequest)
           Terminates the specified instance.
 Future<TerminateInstanceInAutoScalingGroupResult> terminateInstanceInAutoScalingGroupAsync(TerminateInstanceInAutoScalingGroupRequest terminateInstanceInAutoScalingGroupRequest, AsyncHandler<TerminateInstanceInAutoScalingGroupRequest,TerminateInstanceInAutoScalingGroupResult> asyncHandler)
           Terminates the specified instance.
 Future<Void> updateAutoScalingGroupAsync(UpdateAutoScalingGroupRequest updateAutoScalingGroupRequest)
           Updates the configuration for the specified AutoScalingGroup.
 Future<Void> updateAutoScalingGroupAsync(UpdateAutoScalingGroupRequest updateAutoScalingGroupRequest, AsyncHandler<UpdateAutoScalingGroupRequest,Void> asyncHandler)
           Updates the configuration for the specified AutoScalingGroup.
 
Methods inherited from class com.amazonaws.services.autoscaling.AmazonAutoScalingClient
createAutoScalingGroup, createLaunchConfiguration, createOrUpdateTags, deleteAutoScalingGroup, deleteLaunchConfiguration, deleteNotificationConfiguration, deletePolicy, deleteScheduledAction, deleteTags, describeAdjustmentTypes, describeAdjustmentTypes, describeAutoScalingGroups, describeAutoScalingGroups, describeAutoScalingInstances, describeAutoScalingInstances, describeAutoScalingNotificationTypes, describeAutoScalingNotificationTypes, describeLaunchConfigurations, describeLaunchConfigurations, describeMetricCollectionTypes, describeMetricCollectionTypes, describeNotificationConfigurations, describeNotificationConfigurations, describePolicies, describePolicies, describeScalingActivities, describeScalingActivities, describeScalingProcessTypes, describeScalingProcessTypes, describeScheduledActions, describeScheduledActions, describeTags, describeTags, describeTerminationPolicyTypes, describeTerminationPolicyTypes, disableMetricsCollection, enableMetricsCollection, executePolicy, getCachedResponseMetadata, putNotificationConfiguration, putScalingPolicy, putScheduledUpdateGroupAction, resumeProcesses, setDesiredCapacity, setEndpoint, setInstanceHealth, suspendProcesses, terminateInstanceInAutoScalingGroup, updateAutoScalingGroup
 
Methods inherited from class com.amazonaws.AmazonWebServiceClient
addRequestHandler, getTimeOffset, removeRequestHandler, setConfiguration, setEndpoint, setRegion, setTimeOffset, withTimeOffset
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.amazonaws.services.autoscaling.AmazonAutoScaling
createAutoScalingGroup, createLaunchConfiguration, createOrUpdateTags, deleteAutoScalingGroup, deleteLaunchConfiguration, deleteNotificationConfiguration, deletePolicy, deleteScheduledAction, deleteTags, describeAdjustmentTypes, describeAdjustmentTypes, describeAutoScalingGroups, describeAutoScalingGroups, describeAutoScalingInstances, describeAutoScalingInstances, describeAutoScalingNotificationTypes, describeAutoScalingNotificationTypes, describeLaunchConfigurations, describeLaunchConfigurations, describeMetricCollectionTypes, describeMetricCollectionTypes, describeNotificationConfigurations, describeNotificationConfigurations, describePolicies, describePolicies, describeScalingActivities, describeScalingActivities, describeScalingProcessTypes, describeScalingProcessTypes, describeScheduledActions, describeScheduledActions, describeTags, describeTags, describeTerminationPolicyTypes, describeTerminationPolicyTypes, disableMetricsCollection, enableMetricsCollection, executePolicy, getCachedResponseMetadata, putNotificationConfiguration, putScalingPolicy, putScheduledUpdateGroupAction, resumeProcesses, setDesiredCapacity, setEndpoint, setInstanceHealth, setRegion, suspendProcesses, terminateInstanceInAutoScalingGroup, updateAutoScalingGroup
 

Constructor Detail

AmazonAutoScalingAsyncClient

public AmazonAutoScalingAsyncClient()
Constructs a new asynchronous client to invoke service methods on AmazonAutoScaling. A credentials provider chain will be used that searches for credentials in this order:

All service calls made using this new client object are blocking, and will not return until the service call completes.

See Also:
DefaultAWSCredentialsProvider

AmazonAutoScalingAsyncClient

public AmazonAutoScalingAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on AmazonAutoScaling. A credentials provider chain will be used that searches for credentials in this order:

All service calls made using this new client object are blocking, and will not return until the service call completes.

Parameters:
clientConfiguration - The client configuration options controlling how this client connects to AmazonAutoScaling (ex: proxy settings, retry counts, etc.).
See Also:
DefaultAWSCredentialsProvider

AmazonAutoScalingAsyncClient

public AmazonAutoScalingAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on AmazonAutoScaling using the specified AWS account credentials. Default client settings will be used, and a default cached thread pool will be created for executing the asynchronous tasks.

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.

Parameters:
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.

AmazonAutoScalingAsyncClient

public 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. Default client settings will be used.

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.

Parameters:
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.

AmazonAutoScalingAsyncClient

public 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.

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.

Parameters:
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.

AmazonAutoScalingAsyncClient

public AmazonAutoScalingAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on AmazonAutoScaling using the specified AWS account credentials provider. Default client settings will be used, and a default cached thread pool will be created for executing the asynchronous tasks.

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.

Parameters:
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.

AmazonAutoScalingAsyncClient

public 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. Default client settings will be used.

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.

Parameters:
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.

AmazonAutoScalingAsyncClient

public 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.

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.

Parameters:
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).

AmazonAutoScalingAsyncClient

public 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.

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.

Parameters:
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.
Method Detail

getExecutorService

public ExecutorService getExecutorService()
Returns the executor service used by this async client to execute requests.

Returns:
The executor service used by this async client to execute requests.

shutdown

public void shutdown()
Shuts down the client, releasing all managed resources. This includes forcibly terminating all pending asynchronous service calls. Clients who wish to give pending asynchronous service calls time to complete should call getExecutorService().shutdown() prior to calling this method.

Specified by:
shutdown in interface AmazonAutoScaling
Overrides:
shutdown in class AmazonWebServiceClient

describeAutoScalingGroupsAsync

public Future<DescribeAutoScalingGroupsResult> describeAutoScalingGroupsAsync(DescribeAutoScalingGroupsRequest describeAutoScalingGroupsRequest)
                                                                       throws AmazonServiceException,
                                                                              AmazonClientException

Returns a full description of each Auto Scaling group in the given list. This includes all Amazon EC2 instances that are members of the group. If a list of names is not provided, the service returns the full details of all Auto Scaling groups.

This action supports pagination by returning a token if there are more pages to retrieve. To get the next page, call this action again with the returned token as the NextToken parameter.

Specified by:
describeAutoScalingGroupsAsync in interface AmazonAutoScalingAsync
Parameters:
describeAutoScalingGroupsRequest - Container for the necessary parameters to execute the DescribeAutoScalingGroups operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the DescribeAutoScalingGroups service method, as returned by AmazonAutoScaling.
Throws:
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.

describeAutoScalingGroupsAsync

public Future<DescribeAutoScalingGroupsResult> describeAutoScalingGroupsAsync(DescribeAutoScalingGroupsRequest describeAutoScalingGroupsRequest,
                                                                              AsyncHandler<DescribeAutoScalingGroupsRequest,DescribeAutoScalingGroupsResult> asyncHandler)
                                                                       throws AmazonServiceException,
                                                                              AmazonClientException

Returns a full description of each Auto Scaling group in the given list. This includes all Amazon EC2 instances that are members of the group. If a list of names is not provided, the service returns the full details of all Auto Scaling groups.

This action supports pagination by returning a token if there are more pages to retrieve. To get the next page, call this action again with the returned token as the NextToken parameter.

Specified by:
describeAutoScalingGroupsAsync in interface AmazonAutoScalingAsync
Parameters:
describeAutoScalingGroupsRequest - 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.
Returns:
A Java Future object containing the response from the DescribeAutoScalingGroups service method, as returned by AmazonAutoScaling.
Throws:
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.

enableMetricsCollectionAsync

public Future<Void> enableMetricsCollectionAsync(EnableMetricsCollectionRequest enableMetricsCollectionRequest)
                                          throws AmazonServiceException,
                                                 AmazonClientException

Enables monitoring of group metrics for the Auto Scaling group specified in AutoScalingGroupName . You can specify the list of enabled metrics with the Metrics parameter.

Auto scaling metrics collection can be turned on only if the InstanceMonitoring flag, in the Auto Scaling group's launch configuration, is set to True .

Specified by:
enableMetricsCollectionAsync in interface AmazonAutoScalingAsync
Parameters:
enableMetricsCollectionRequest - Container for the necessary parameters to execute the EnableMetricsCollection operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the EnableMetricsCollection service method, as returned by AmazonAutoScaling.
Throws:
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.

enableMetricsCollectionAsync

public Future<Void> enableMetricsCollectionAsync(EnableMetricsCollectionRequest enableMetricsCollectionRequest,
                                                 AsyncHandler<EnableMetricsCollectionRequest,Void> asyncHandler)
                                          throws AmazonServiceException,
                                                 AmazonClientException

Enables monitoring of group metrics for the Auto Scaling group specified in AutoScalingGroupName . You can specify the list of enabled metrics with the Metrics parameter.

Auto scaling metrics collection can be turned on only if the InstanceMonitoring flag, in the Auto Scaling group's launch configuration, is set to True .

Specified by:
enableMetricsCollectionAsync in interface AmazonAutoScalingAsync
Parameters:
enableMetricsCollectionRequest - 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.
Returns:
A Java Future object containing the response from the EnableMetricsCollection service method, as returned by AmazonAutoScaling.
Throws:
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.

resumeProcessesAsync

public Future<Void> resumeProcessesAsync(ResumeProcessesRequest resumeProcessesRequest)
                                  throws AmazonServiceException,
                                         AmazonClientException

Resumes Auto Scaling processes for an Auto Scaling group. For more information, see SuspendProcesses and ProcessType.

Specified by:
resumeProcessesAsync in interface AmazonAutoScalingAsync
Parameters:
resumeProcessesRequest - Container for the necessary parameters to execute the ResumeProcesses operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the ResumeProcesses service method, as returned by AmazonAutoScaling.
Throws:
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.

resumeProcessesAsync

public Future<Void> resumeProcessesAsync(ResumeProcessesRequest resumeProcessesRequest,
                                         AsyncHandler<ResumeProcessesRequest,Void> asyncHandler)
                                  throws AmazonServiceException,
                                         AmazonClientException

Resumes Auto Scaling processes for an Auto Scaling group. For more information, see SuspendProcesses and ProcessType.

Specified by:
resumeProcessesAsync in interface AmazonAutoScalingAsync
Parameters:
resumeProcessesRequest - 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.
Returns:
A Java Future object containing the response from the ResumeProcesses service method, as returned by AmazonAutoScaling.
Throws:
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.

deleteLaunchConfigurationAsync

public Future<Void> deleteLaunchConfigurationAsync(DeleteLaunchConfigurationRequest deleteLaunchConfigurationRequest)
                                            throws AmazonServiceException,
                                                   AmazonClientException

Deletes the specified LaunchConfiguration.

The specified launch configuration must not be attached to an Auto Scaling group. When this call completes, the launch configuration is no longer available for use.

Specified by:
deleteLaunchConfigurationAsync in interface AmazonAutoScalingAsync
Parameters:
deleteLaunchConfigurationRequest - Container for the necessary parameters to execute the DeleteLaunchConfiguration operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the DeleteLaunchConfiguration service method, as returned by AmazonAutoScaling.
Throws:
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.

deleteLaunchConfigurationAsync

public Future<Void> deleteLaunchConfigurationAsync(DeleteLaunchConfigurationRequest deleteLaunchConfigurationRequest,
                                                   AsyncHandler<DeleteLaunchConfigurationRequest,Void> asyncHandler)
                                            throws AmazonServiceException,
                                                   AmazonClientException

Deletes the specified LaunchConfiguration.

The specified launch configuration must not be attached to an Auto Scaling group. When this call completes, the launch configuration is no longer available for use.

Specified by:
deleteLaunchConfigurationAsync in interface AmazonAutoScalingAsync
Parameters:
deleteLaunchConfigurationRequest - 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.
Returns:
A Java Future object containing the response from the DeleteLaunchConfiguration service method, as returned by AmazonAutoScaling.
Throws:
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.

describePoliciesAsync

public Future<DescribePoliciesResult> describePoliciesAsync(DescribePoliciesRequest describePoliciesRequest)
                                                     throws AmazonServiceException,
                                                            AmazonClientException

Returns descriptions of what each policy does. This action supports pagination. If the response includes a token, there are more records available. To get the additional records, repeat the request with the response token as the NextToken parameter.

Specified by:
describePoliciesAsync in interface AmazonAutoScalingAsync
Parameters:
describePoliciesRequest - Container for the necessary parameters to execute the DescribePolicies operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the DescribePolicies service method, as returned by AmazonAutoScaling.
Throws:
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.

describePoliciesAsync

public Future<DescribePoliciesResult> describePoliciesAsync(DescribePoliciesRequest describePoliciesRequest,
                                                            AsyncHandler<DescribePoliciesRequest,DescribePoliciesResult> asyncHandler)
                                                     throws AmazonServiceException,
                                                            AmazonClientException

Returns descriptions of what each policy does. This action supports pagination. If the response includes a token, there are more records available. To get the additional records, repeat the request with the response token as the NextToken parameter.

Specified by:
describePoliciesAsync in interface AmazonAutoScalingAsync
Parameters:
describePoliciesRequest - 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.
Returns:
A Java Future object containing the response from the DescribePolicies service method, as returned by AmazonAutoScaling.
Throws:
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.

describeScalingProcessTypesAsync

public Future<DescribeScalingProcessTypesResult> describeScalingProcessTypesAsync(DescribeScalingProcessTypesRequest describeScalingProcessTypesRequest)
                                                                           throws AmazonServiceException,
                                                                                  AmazonClientException

Returns scaling process types for use in the ResumeProcesses and SuspendProcesses actions.

Specified by:
describeScalingProcessTypesAsync in interface AmazonAutoScalingAsync
Parameters:
describeScalingProcessTypesRequest - Container for the necessary parameters to execute the DescribeScalingProcessTypes operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the DescribeScalingProcessTypes service method, as returned by AmazonAutoScaling.
Throws:
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.

describeScalingProcessTypesAsync

public Future<DescribeScalingProcessTypesResult> describeScalingProcessTypesAsync(DescribeScalingProcessTypesRequest describeScalingProcessTypesRequest,
                                                                                  AsyncHandler<DescribeScalingProcessTypesRequest,DescribeScalingProcessTypesResult> asyncHandler)
                                                                           throws AmazonServiceException,
                                                                                  AmazonClientException

Returns scaling process types for use in the ResumeProcesses and SuspendProcesses actions.

Specified by:
describeScalingProcessTypesAsync in interface AmazonAutoScalingAsync
Parameters:
describeScalingProcessTypesRequest - 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.
Returns:
A Java Future object containing the response from the DescribeScalingProcessTypes service method, as returned by AmazonAutoScaling.
Throws:
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.

createAutoScalingGroupAsync

public Future<Void> createAutoScalingGroupAsync(CreateAutoScalingGroupRequest createAutoScalingGroupRequest)
                                         throws AmazonServiceException,
                                                AmazonClientException

Creates a new Auto Scaling group with the specified name and other attributes. When the creation request is completed, the Auto Scaling group is ready to be used in other calls.

NOTE: The Auto Scaling group name must be unique within the scope of your AWS account, and under the quota of Auto Scaling groups allowed for your account.

Specified by:
createAutoScalingGroupAsync in interface AmazonAutoScalingAsync
Parameters:
createAutoScalingGroupRequest - Container for the necessary parameters to execute the CreateAutoScalingGroup operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the CreateAutoScalingGroup service method, as returned by AmazonAutoScaling.
Throws:
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.

createAutoScalingGroupAsync

public Future<Void> createAutoScalingGroupAsync(CreateAutoScalingGroupRequest createAutoScalingGroupRequest,
                                                AsyncHandler<CreateAutoScalingGroupRequest,Void> asyncHandler)
                                         throws AmazonServiceException,
                                                AmazonClientException

Creates a new Auto Scaling group with the specified name and other attributes. When the creation request is completed, the Auto Scaling group is ready to be used in other calls.

NOTE: The Auto Scaling group name must be unique within the scope of your AWS account, and under the quota of Auto Scaling groups allowed for your account.

Specified by:
createAutoScalingGroupAsync in interface AmazonAutoScalingAsync
Parameters:
createAutoScalingGroupRequest - 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.
Returns:
A Java Future object containing the response from the CreateAutoScalingGroup service method, as returned by AmazonAutoScaling.
Throws:
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.

describeScalingActivitiesAsync

public Future<DescribeScalingActivitiesResult> describeScalingActivitiesAsync(DescribeScalingActivitiesRequest describeScalingActivitiesRequest)
                                                                       throws AmazonServiceException,
                                                                              AmazonClientException

Returns the scaling activities for the specified Auto Scaling group.

If the specified ActivityIds list is empty, all the activities from the past six weeks are returned. Activities are sorted by completion time. Activities still in progress appear first on the list.

This action supports pagination. If the response includes a token, there are more records available. To get the additional records, repeat the request with the response token as the NextToken parameter.

Specified by:
describeScalingActivitiesAsync in interface AmazonAutoScalingAsync
Parameters:
describeScalingActivitiesRequest - Container for the necessary parameters to execute the DescribeScalingActivities operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the DescribeScalingActivities service method, as returned by AmazonAutoScaling.
Throws:
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.

describeScalingActivitiesAsync

public Future<DescribeScalingActivitiesResult> describeScalingActivitiesAsync(DescribeScalingActivitiesRequest describeScalingActivitiesRequest,
                                                                              AsyncHandler<DescribeScalingActivitiesRequest,DescribeScalingActivitiesResult> asyncHandler)
                                                                       throws AmazonServiceException,
                                                                              AmazonClientException

Returns the scaling activities for the specified Auto Scaling group.

If the specified ActivityIds list is empty, all the activities from the past six weeks are returned. Activities are sorted by completion time. Activities still in progress appear first on the list.

This action supports pagination. If the response includes a token, there are more records available. To get the additional records, repeat the request with the response token as the NextToken parameter.

Specified by:
describeScalingActivitiesAsync in interface AmazonAutoScalingAsync
Parameters:
describeScalingActivitiesRequest - 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.
Returns:
A Java Future object containing the response from the DescribeScalingActivities service method, as returned by AmazonAutoScaling.
Throws:
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.

describeNotificationConfigurationsAsync

public Future<DescribeNotificationConfigurationsResult> describeNotificationConfigurationsAsync(DescribeNotificationConfigurationsRequest describeNotificationConfigurationsRequest)
                                                                                         throws AmazonServiceException,
                                                                                                AmazonClientException

Returns a list of notification actions associated with Auto Scaling groups for specified events.

Specified by:
describeNotificationConfigurationsAsync in interface AmazonAutoScalingAsync
Parameters:
describeNotificationConfigurationsRequest - Container for the necessary parameters to execute the DescribeNotificationConfigurations operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the DescribeNotificationConfigurations service method, as returned by AmazonAutoScaling.
Throws:
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.

describeNotificationConfigurationsAsync

public Future<DescribeNotificationConfigurationsResult> describeNotificationConfigurationsAsync(DescribeNotificationConfigurationsRequest describeNotificationConfigurationsRequest,
                                                                                                AsyncHandler<DescribeNotificationConfigurationsRequest,DescribeNotificationConfigurationsResult> asyncHandler)
                                                                                         throws AmazonServiceException,
                                                                                                AmazonClientException

Returns a list of notification actions associated with Auto Scaling groups for specified events.

Specified by:
describeNotificationConfigurationsAsync in interface AmazonAutoScalingAsync
Parameters:
describeNotificationConfigurationsRequest - 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.
Returns:
A Java Future object containing the response from the DescribeNotificationConfigurations service method, as returned by AmazonAutoScaling.
Throws:
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.

describeTerminationPolicyTypesAsync

public Future<DescribeTerminationPolicyTypesResult> describeTerminationPolicyTypesAsync(DescribeTerminationPolicyTypesRequest describeTerminationPolicyTypesRequest)
                                                                                 throws AmazonServiceException,
                                                                                        AmazonClientException

Returns a list of all termination policies supported by Auto Scaling.

Specified by:
describeTerminationPolicyTypesAsync in interface AmazonAutoScalingAsync
Parameters:
describeTerminationPolicyTypesRequest - Container for the necessary parameters to execute the DescribeTerminationPolicyTypes operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the DescribeTerminationPolicyTypes service method, as returned by AmazonAutoScaling.
Throws:
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.

describeTerminationPolicyTypesAsync

public Future<DescribeTerminationPolicyTypesResult> describeTerminationPolicyTypesAsync(DescribeTerminationPolicyTypesRequest describeTerminationPolicyTypesRequest,
                                                                                        AsyncHandler<DescribeTerminationPolicyTypesRequest,DescribeTerminationPolicyTypesResult> asyncHandler)
                                                                                 throws AmazonServiceException,
                                                                                        AmazonClientException

Returns a list of all termination policies supported by Auto Scaling.

Specified by:
describeTerminationPolicyTypesAsync in interface AmazonAutoScalingAsync
Parameters:
describeTerminationPolicyTypesRequest - 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.
Returns:
A Java Future object containing the response from the DescribeTerminationPolicyTypes service method, as returned by AmazonAutoScaling.
Throws:
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.

describeTagsAsync

public Future<DescribeTagsResult> describeTagsAsync(DescribeTagsRequest describeTagsRequest)
                                             throws AmazonServiceException,
                                                    AmazonClientException

Lists the Auto Scaling group tags.

You can use filters to limit results when describing tags. For example, you can query for tags of a particular 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 your filters. If there's no match, no special message is returned.

Specified by:
describeTagsAsync in interface AmazonAutoScalingAsync
Parameters:
describeTagsRequest - Container for the necessary parameters to execute the DescribeTags operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the DescribeTags service method, as returned by AmazonAutoScaling.
Throws:
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.

describeTagsAsync

public Future<DescribeTagsResult> describeTagsAsync(DescribeTagsRequest describeTagsRequest,
                                                    AsyncHandler<DescribeTagsRequest,DescribeTagsResult> asyncHandler)
                                             throws AmazonServiceException,
                                                    AmazonClientException

Lists the Auto Scaling group tags.

You can use filters to limit results when describing tags. For example, you can query for tags of a particular 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 your filters. If there's no match, no special message is returned.

Specified by:
describeTagsAsync in interface AmazonAutoScalingAsync
Parameters:
describeTagsRequest - 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.
Returns:
A Java Future object containing the response from the DescribeTags service method, as returned by AmazonAutoScaling.
Throws:
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.

executePolicyAsync

public Future<Void> executePolicyAsync(ExecutePolicyRequest executePolicyRequest)
                                throws AmazonServiceException,
                                       AmazonClientException

Runs the policy you create for your Auto Scaling group in PutScalingPolicy.

Specified by:
executePolicyAsync in interface AmazonAutoScalingAsync
Parameters:
executePolicyRequest - Container for the necessary parameters to execute the ExecutePolicy operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the ExecutePolicy service method, as returned by AmazonAutoScaling.
Throws:
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.

executePolicyAsync

public Future<Void> executePolicyAsync(ExecutePolicyRequest executePolicyRequest,
                                       AsyncHandler<ExecutePolicyRequest,Void> asyncHandler)
                                throws AmazonServiceException,
                                       AmazonClientException

Runs the policy you create for your Auto Scaling group in PutScalingPolicy.

Specified by:
executePolicyAsync in interface AmazonAutoScalingAsync
Parameters:
executePolicyRequest - 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.
Returns:
A Java Future object containing the response from the ExecutePolicy service method, as returned by AmazonAutoScaling.
Throws:
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.

deleteTagsAsync

public Future<Void> deleteTagsAsync(DeleteTagsRequest deleteTagsRequest)
                             throws AmazonServiceException,
                                    AmazonClientException

Removes the specified tags or a set of tags from a set of resources.

Specified by:
deleteTagsAsync in interface AmazonAutoScalingAsync
Parameters:
deleteTagsRequest - Container for the necessary parameters to execute the DeleteTags operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the DeleteTags service method, as returned by AmazonAutoScaling.
Throws:
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.

deleteTagsAsync

public Future<Void> deleteTagsAsync(DeleteTagsRequest deleteTagsRequest,
                                    AsyncHandler<DeleteTagsRequest,Void> asyncHandler)
                             throws AmazonServiceException,
                                    AmazonClientException

Removes the specified tags or a set of tags from a set of resources.

Specified by:
deleteTagsAsync in interface AmazonAutoScalingAsync
Parameters:
deleteTagsRequest - 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.
Returns:
A Java Future object containing the response from the DeleteTags service method, as returned by AmazonAutoScaling.
Throws:
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.

putScalingPolicyAsync

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 parameter(s) you want to change. Any existing parameter not changed in an update to an existing policy is not changed in this update request.

Specified by:
putScalingPolicyAsync in interface AmazonAutoScalingAsync
Parameters:
putScalingPolicyRequest - Container for the necessary parameters to execute the PutScalingPolicy operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the PutScalingPolicy service method, as returned by AmazonAutoScaling.
Throws:
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.

putScalingPolicyAsync

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 parameter(s) you want to change. Any existing parameter not changed in an update to an existing policy is not changed in this update request.

Specified by:
putScalingPolicyAsync in interface AmazonAutoScalingAsync
Parameters:
putScalingPolicyRequest - 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.
Returns:
A Java Future object containing the response from the PutScalingPolicy service method, as returned by AmazonAutoScaling.
Throws:
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.

putNotificationConfigurationAsync

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.

A new PutNotificationConfiguration overwrites an existing configuration.

Specified by:
putNotificationConfigurationAsync in interface AmazonAutoScalingAsync
Parameters:
putNotificationConfigurationRequest - Container for the necessary parameters to execute the PutNotificationConfiguration operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the PutNotificationConfiguration service method, as returned by AmazonAutoScaling.
Throws:
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.

putNotificationConfigurationAsync

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.

A new PutNotificationConfiguration overwrites an existing configuration.

Specified by:
putNotificationConfigurationAsync in interface AmazonAutoScalingAsync
Parameters:
putNotificationConfigurationRequest - 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.
Returns:
A Java Future object containing the response from the PutNotificationConfiguration service method, as returned by AmazonAutoScaling.
Throws:
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.

deletePolicyAsync

public Future<Void> deletePolicyAsync(DeletePolicyRequest deletePolicyRequest)
                               throws AmazonServiceException,
                                      AmazonClientException

Deletes a policy created by PutScalingPolicy.

Specified by:
deletePolicyAsync in interface AmazonAutoScalingAsync
Parameters:
deletePolicyRequest - Container for the necessary parameters to execute the DeletePolicy operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the DeletePolicy service method, as returned by AmazonAutoScaling.
Throws:
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.

deletePolicyAsync

public Future<Void> deletePolicyAsync(DeletePolicyRequest deletePolicyRequest,
                                      AsyncHandler<DeletePolicyRequest,Void> asyncHandler)
                               throws AmazonServiceException,
                                      AmazonClientException

Deletes a policy created by PutScalingPolicy.

Specified by:
deletePolicyAsync in interface AmazonAutoScalingAsync
Parameters:
deletePolicyRequest - 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.
Returns:
A Java Future object containing the response from the DeletePolicy service method, as returned by AmazonAutoScaling.
Throws:
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.

deleteNotificationConfigurationAsync

public Future<Void> deleteNotificationConfigurationAsync(DeleteNotificationConfigurationRequest deleteNotificationConfigurationRequest)
                                                  throws AmazonServiceException,
                                                         AmazonClientException

Deletes notifications created by PutNotificationConfiguration.

Specified by:
deleteNotificationConfigurationAsync in interface AmazonAutoScalingAsync
Parameters:
deleteNotificationConfigurationRequest - Container for the necessary parameters to execute the DeleteNotificationConfiguration operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the DeleteNotificationConfiguration service method, as returned by AmazonAutoScaling.
Throws:
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.

deleteNotificationConfigurationAsync

public Future<Void> deleteNotificationConfigurationAsync(DeleteNotificationConfigurationRequest deleteNotificationConfigurationRequest,
                                                         AsyncHandler<DeleteNotificationConfigurationRequest,Void> asyncHandler)
                                                  throws AmazonServiceException,
                                                         AmazonClientException

Deletes notifications created by PutNotificationConfiguration.

Specified by:
deleteNotificationConfigurationAsync in interface AmazonAutoScalingAsync
Parameters:
deleteNotificationConfigurationRequest - 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.
Returns:
A Java Future object containing the response from the DeleteNotificationConfiguration service method, as returned by AmazonAutoScaling.
Throws:
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.

deleteScheduledActionAsync

public Future<Void> deleteScheduledActionAsync(DeleteScheduledActionRequest deleteScheduledActionRequest)
                                        throws AmazonServiceException,
                                               AmazonClientException

Deletes a scheduled action previously created using the PutScheduledUpdateGroupAction.

Specified by:
deleteScheduledActionAsync in interface AmazonAutoScalingAsync
Parameters:
deleteScheduledActionRequest - Container for the necessary parameters to execute the DeleteScheduledAction operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the DeleteScheduledAction service method, as returned by AmazonAutoScaling.
Throws:
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.

deleteScheduledActionAsync

public Future<Void> deleteScheduledActionAsync(DeleteScheduledActionRequest deleteScheduledActionRequest,
                                               AsyncHandler<DeleteScheduledActionRequest,Void> asyncHandler)
                                        throws AmazonServiceException,
                                               AmazonClientException

Deletes a scheduled action previously created using the PutScheduledUpdateGroupAction.

Specified by:
deleteScheduledActionAsync in interface AmazonAutoScalingAsync
Parameters:
deleteScheduledActionRequest - 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.
Returns:
A Java Future object containing the response from the DeleteScheduledAction service method, as returned by AmazonAutoScaling.
Throws:
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.

setInstanceHealthAsync

public Future<Void> setInstanceHealthAsync(SetInstanceHealthRequest setInstanceHealthRequest)
                                    throws AmazonServiceException,
                                           AmazonClientException

Sets the health status of an instance.

Specified by:
setInstanceHealthAsync in interface AmazonAutoScalingAsync
Parameters:
setInstanceHealthRequest - Container for the necessary parameters to execute the SetInstanceHealth operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the SetInstanceHealth service method, as returned by AmazonAutoScaling.
Throws:
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.

setInstanceHealthAsync

public Future<Void> setInstanceHealthAsync(SetInstanceHealthRequest setInstanceHealthRequest,
                                           AsyncHandler<SetInstanceHealthRequest,Void> asyncHandler)
                                    throws AmazonServiceException,
                                           AmazonClientException

Sets the health status of an instance.

Specified by:
setInstanceHealthAsync in interface AmazonAutoScalingAsync
Parameters:
setInstanceHealthRequest - 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.
Returns:
A Java Future object containing the response from the SetInstanceHealth service method, as returned by AmazonAutoScaling.
Throws:
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.

describeAutoScalingNotificationTypesAsync

public Future<DescribeAutoScalingNotificationTypesResult> describeAutoScalingNotificationTypesAsync(DescribeAutoScalingNotificationTypesRequest describeAutoScalingNotificationTypesRequest)
                                                                                             throws AmazonServiceException,
                                                                                                    AmazonClientException

Returns a list of all notification types that are supported by Auto Scaling.

Specified by:
describeAutoScalingNotificationTypesAsync in interface AmazonAutoScalingAsync
Parameters:
describeAutoScalingNotificationTypesRequest - Container for the necessary parameters to execute the DescribeAutoScalingNotificationTypes operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the DescribeAutoScalingNotificationTypes service method, as returned by AmazonAutoScaling.
Throws:
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.

describeAutoScalingNotificationTypesAsync

public Future<DescribeAutoScalingNotificationTypesResult> describeAutoScalingNotificationTypesAsync(DescribeAutoScalingNotificationTypesRequest describeAutoScalingNotificationTypesRequest,
                                                                                                    AsyncHandler<DescribeAutoScalingNotificationTypesRequest,DescribeAutoScalingNotificationTypesResult> asyncHandler)
                                                                                             throws AmazonServiceException,
                                                                                                    AmazonClientException

Returns a list of all notification types that are supported by Auto Scaling.

Specified by:
describeAutoScalingNotificationTypesAsync in interface AmazonAutoScalingAsync
Parameters:
describeAutoScalingNotificationTypesRequest - 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.
Returns:
A Java Future object containing the response from the DescribeAutoScalingNotificationTypes service method, as returned by AmazonAutoScaling.
Throws:
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.

createOrUpdateTagsAsync

public Future<Void> createOrUpdateTagsAsync(CreateOrUpdateTagsRequest createOrUpdateTagsRequest)
                                     throws AmazonServiceException,
                                            AmazonClientException

Creates new tags or updates existing tags for an Auto Scaling group.

NOTE: A tag's definition is composed of a resource ID, resource type, key and value, and the propagate flag. Value and the propagate flag are optional parameters. See the Request Parameters for more information.

Specified by:
createOrUpdateTagsAsync in interface AmazonAutoScalingAsync
Parameters:
createOrUpdateTagsRequest - Container for the necessary parameters to execute the CreateOrUpdateTags operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the CreateOrUpdateTags service method, as returned by AmazonAutoScaling.
Throws:
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.

createOrUpdateTagsAsync

public Future<Void> createOrUpdateTagsAsync(CreateOrUpdateTagsRequest createOrUpdateTagsRequest,
                                            AsyncHandler<CreateOrUpdateTagsRequest,Void> asyncHandler)
                                     throws AmazonServiceException,
                                            AmazonClientException

Creates new tags or updates existing tags for an Auto Scaling group.

NOTE: A tag's definition is composed of a resource ID, resource type, key and value, and the propagate flag. Value and the propagate flag are optional parameters. See the Request Parameters for more information.

Specified by:
createOrUpdateTagsAsync in interface AmazonAutoScalingAsync
Parameters:
createOrUpdateTagsRequest - 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.
Returns:
A Java Future object containing the response from the CreateOrUpdateTags service method, as returned by AmazonAutoScaling.
Throws:
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.

suspendProcessesAsync

public Future<Void> suspendProcessesAsync(SuspendProcessesRequest suspendProcessesRequest)
                                   throws AmazonServiceException,
                                          AmazonClientException

Suspends Auto Scaling processes for an Auto Scaling group. To suspend specific process types, specify them by name with the ScalingProcesses.member.N parameter. To suspend all process types, omit the ScalingProcesses.member.N parameter.

IMPORTANT: Suspending either of the two primary process types, Launch or Terminate, can prevent other process types from functioning properly. For more information about processes and their dependencies, see ProcessType.

To resume processes that have been suspended, use ResumeProcesses.

Specified by:
suspendProcessesAsync in interface AmazonAutoScalingAsync
Parameters:
suspendProcessesRequest - Container for the necessary parameters to execute the SuspendProcesses operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the SuspendProcesses service method, as returned by AmazonAutoScaling.
Throws:
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.

suspendProcessesAsync

public Future<Void> suspendProcessesAsync(SuspendProcessesRequest suspendProcessesRequest,
                                          AsyncHandler<SuspendProcessesRequest,Void> asyncHandler)
                                   throws AmazonServiceException,
                                          AmazonClientException

Suspends Auto Scaling processes for an Auto Scaling group. To suspend specific process types, specify them by name with the ScalingProcesses.member.N parameter. To suspend all process types, omit the ScalingProcesses.member.N parameter.

IMPORTANT: Suspending either of the two primary process types, Launch or Terminate, can prevent other process types from functioning properly. For more information about processes and their dependencies, see ProcessType.

To resume processes that have been suspended, use ResumeProcesses.

Specified by:
suspendProcessesAsync in interface AmazonAutoScalingAsync
Parameters:
suspendProcessesRequest - 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.
Returns:
A Java Future object containing the response from the SuspendProcesses service method, as returned by AmazonAutoScaling.
Throws:
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.

describeAutoScalingInstancesAsync

public Future<DescribeAutoScalingInstancesResult> describeAutoScalingInstancesAsync(DescribeAutoScalingInstancesRequest describeAutoScalingInstancesRequest)
                                                                             throws AmazonServiceException,
                                                                                    AmazonClientException

Returns a description of each Auto Scaling instance in the InstanceIds list. If a list is not provided, the service returns the full details of all instances up to a maximum of 50. By default, the service returns a list of 20 items.

This action supports pagination by returning a token if there are more pages to retrieve. To get the next page, call this action again with the returned token as the NextToken parameter.

Specified by:
describeAutoScalingInstancesAsync in interface AmazonAutoScalingAsync
Parameters:
describeAutoScalingInstancesRequest - Container for the necessary parameters to execute the DescribeAutoScalingInstances operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the DescribeAutoScalingInstances service method, as returned by AmazonAutoScaling.
Throws:
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.

describeAutoScalingInstancesAsync

public Future<DescribeAutoScalingInstancesResult> describeAutoScalingInstancesAsync(DescribeAutoScalingInstancesRequest describeAutoScalingInstancesRequest,
                                                                                    AsyncHandler<DescribeAutoScalingInstancesRequest,DescribeAutoScalingInstancesResult> asyncHandler)
                                                                             throws AmazonServiceException,
                                                                                    AmazonClientException

Returns a description of each Auto Scaling instance in the InstanceIds list. If a list is not provided, the service returns the full details of all instances up to a maximum of 50. By default, the service returns a list of 20 items.

This action supports pagination by returning a token if there are more pages to retrieve. To get the next page, call this action again with the returned token as the NextToken parameter.

Specified by:
describeAutoScalingInstancesAsync in interface AmazonAutoScalingAsync
Parameters:
describeAutoScalingInstancesRequest - 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.
Returns:
A Java Future object containing the response from the DescribeAutoScalingInstances service method, as returned by AmazonAutoScaling.
Throws:
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.

createLaunchConfigurationAsync

public Future<Void> createLaunchConfigurationAsync(CreateLaunchConfigurationRequest createLaunchConfigurationRequest)
                                            throws AmazonServiceException,
                                                   AmazonClientException

Creates a new launch configuration. The launch configuration name must be unique within the scope of the client's AWS account. The maximum limit of launch configurations, which by default is 100, must not yet have been met; otherwise, the call will fail. When created, the new launch configuration is available for immediate use.

You can create a launch configuration with Amazon EC2 security groups or with Amazon VPC security groups. However, you can't use Amazon EC2 security groups together with Amazon VPC security groups, or vice versa.

NOTE: At this time, Auto Scaling launch configurations don't support compressed (e.g. zipped) user data files.

Specified by:
createLaunchConfigurationAsync in interface AmazonAutoScalingAsync
Parameters:
createLaunchConfigurationRequest - Container for the necessary parameters to execute the CreateLaunchConfiguration operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the CreateLaunchConfiguration service method, as returned by AmazonAutoScaling.
Throws:
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.

createLaunchConfigurationAsync

public Future<Void> createLaunchConfigurationAsync(CreateLaunchConfigurationRequest createLaunchConfigurationRequest,
                                                   AsyncHandler<CreateLaunchConfigurationRequest,Void> asyncHandler)
                                            throws AmazonServiceException,
                                                   AmazonClientException

Creates a new launch configuration. The launch configuration name must be unique within the scope of the client's AWS account. The maximum limit of launch configurations, which by default is 100, must not yet have been met; otherwise, the call will fail. When created, the new launch configuration is available for immediate use.

You can create a launch configuration with Amazon EC2 security groups or with Amazon VPC security groups. However, you can't use Amazon EC2 security groups together with Amazon VPC security groups, or vice versa.

NOTE: At this time, Auto Scaling launch configurations don't support compressed (e.g. zipped) user data files.

Specified by:
createLaunchConfigurationAsync in interface AmazonAutoScalingAsync
Parameters:
createLaunchConfigurationRequest - 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.
Returns:
A Java Future object containing the response from the CreateLaunchConfiguration service method, as returned by AmazonAutoScaling.
Throws:
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.

deleteAutoScalingGroupAsync

public Future<Void> deleteAutoScalingGroupAsync(DeleteAutoScalingGroupRequest deleteAutoScalingGroupRequest)
                                         throws AmazonServiceException,
                                                AmazonClientException

Deletes the specified Auto Scaling group if the group has no instances and no scaling activities in progress.

NOTE: To remove all instances before calling DeleteAutoScalingGroup, you can call UpdateAutoScalingGroup to set the minimum and maximum size of the AutoScalingGroup to zero.

Specified by:
deleteAutoScalingGroupAsync in interface AmazonAutoScalingAsync
Parameters:
deleteAutoScalingGroupRequest - Container for the necessary parameters to execute the DeleteAutoScalingGroup operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the DeleteAutoScalingGroup service method, as returned by AmazonAutoScaling.
Throws:
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.

deleteAutoScalingGroupAsync

public Future<Void> deleteAutoScalingGroupAsync(DeleteAutoScalingGroupRequest deleteAutoScalingGroupRequest,
                                                AsyncHandler<DeleteAutoScalingGroupRequest,Void> asyncHandler)
                                         throws AmazonServiceException,
                                                AmazonClientException

Deletes the specified Auto Scaling group if the group has no instances and no scaling activities in progress.

NOTE: To remove all instances before calling DeleteAutoScalingGroup, you can call UpdateAutoScalingGroup to set the minimum and maximum size of the AutoScalingGroup to zero.

Specified by:
deleteAutoScalingGroupAsync in interface AmazonAutoScalingAsync
Parameters:
deleteAutoScalingGroupRequest - 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.
Returns:
A Java Future object containing the response from the DeleteAutoScalingGroup service method, as returned by AmazonAutoScaling.
Throws:
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.

disableMetricsCollectionAsync

public Future<Void> disableMetricsCollectionAsync(DisableMetricsCollectionRequest disableMetricsCollectionRequest)
                                           throws AmazonServiceException,
                                                  AmazonClientException

Disables monitoring of group metrics for the Auto Scaling group specified in AutoScalingGroupName . You can specify the list of affected metrics with the Metrics parameter.

Specified by:
disableMetricsCollectionAsync in interface AmazonAutoScalingAsync
Parameters:
disableMetricsCollectionRequest - Container for the necessary parameters to execute the DisableMetricsCollection operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the DisableMetricsCollection service method, as returned by AmazonAutoScaling.
Throws:
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.

disableMetricsCollectionAsync

public Future<Void> disableMetricsCollectionAsync(DisableMetricsCollectionRequest disableMetricsCollectionRequest,
                                                  AsyncHandler<DisableMetricsCollectionRequest,Void> asyncHandler)
                                           throws AmazonServiceException,
                                                  AmazonClientException

Disables monitoring of group metrics for the Auto Scaling group specified in AutoScalingGroupName . You can specify the list of affected metrics with the Metrics parameter.

Specified by:
disableMetricsCollectionAsync in interface AmazonAutoScalingAsync
Parameters:
disableMetricsCollectionRequest - 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.
Returns:
A Java Future object containing the response from the DisableMetricsCollection service method, as returned by AmazonAutoScaling.
Throws:
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.

updateAutoScalingGroupAsync

public Future<Void> updateAutoScalingGroupAsync(UpdateAutoScalingGroupRequest updateAutoScalingGroupRequest)
                                         throws AmazonServiceException,
                                                AmazonClientException

Updates the configuration for the specified AutoScalingGroup.

NOTE: To update an Auto Scaling group with a launch configuration that has the InstanceMonitoring flag set to False, you must first ensure that collection of group metrics is disabled. Otherwise, calls to UpdateAutoScalingGroup will fail. If you have previously enabled group metrics collection, you can disable collection of all group metrics by calling 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. Triggers that are currently in progress aren't affected.

NOTE: If a new value is specified for MinSize without specifying the value for DesiredCapacity, and if the new MinSize is larger than the current size of the Auto Scaling Group, there will be an implicit call to SetDesiredCapacity to set the group to the new MinSize. If a new value is specified for MaxSize without specifying the value for DesiredCapacity, and the new MaxSize is smaller than the current size of the Auto Scaling Group, there will be an implicit call to SetDesiredCapacity to set the group to the new MaxSize. All other optional parameters are left unchanged if not passed in the request.

Specified by:
updateAutoScalingGroupAsync in interface AmazonAutoScalingAsync
Parameters:
updateAutoScalingGroupRequest - Container for the necessary parameters to execute the UpdateAutoScalingGroup operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the UpdateAutoScalingGroup service method, as returned by AmazonAutoScaling.
Throws:
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.

updateAutoScalingGroupAsync

public Future<Void> updateAutoScalingGroupAsync(UpdateAutoScalingGroupRequest updateAutoScalingGroupRequest,
                                                AsyncHandler<UpdateAutoScalingGroupRequest,Void> asyncHandler)
                                         throws AmazonServiceException,
                                                AmazonClientException

Updates the configuration for the specified AutoScalingGroup.

NOTE: To update an Auto Scaling group with a launch configuration that has the InstanceMonitoring flag set to False, you must first ensure that collection of group metrics is disabled. Otherwise, calls to UpdateAutoScalingGroup will fail. If you have previously enabled group metrics collection, you can disable collection of all group metrics by calling 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. Triggers that are currently in progress aren't affected.

NOTE: If a new value is specified for MinSize without specifying the value for DesiredCapacity, and if the new MinSize is larger than the current size of the Auto Scaling Group, there will be an implicit call to SetDesiredCapacity to set the group to the new MinSize. If a new value is specified for MaxSize without specifying the value for DesiredCapacity, and the new MaxSize is smaller than the current size of the Auto Scaling Group, there will be an implicit call to SetDesiredCapacity to set the group to the new MaxSize. All other optional parameters are left unchanged if not passed in the request.

Specified by:
updateAutoScalingGroupAsync in interface AmazonAutoScalingAsync
Parameters:
updateAutoScalingGroupRequest - 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.
Returns:
A Java Future object containing the response from the UpdateAutoScalingGroup service method, as returned by AmazonAutoScaling.
Throws:
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.

describeLaunchConfigurationsAsync

public Future<DescribeLaunchConfigurationsResult> describeLaunchConfigurationsAsync(DescribeLaunchConfigurationsRequest describeLaunchConfigurationsRequest)
                                                                             throws AmazonServiceException,
                                                                                    AmazonClientException

Returns a full description of the launch configurations, or the specified launch configurations, if they exist.

If no name is specified, then the full details of all launch configurations are returned.

Specified by:
describeLaunchConfigurationsAsync in interface AmazonAutoScalingAsync
Parameters:
describeLaunchConfigurationsRequest - Container for the necessary parameters to execute the DescribeLaunchConfigurations operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the DescribeLaunchConfigurations service method, as returned by AmazonAutoScaling.
Throws:
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.

describeLaunchConfigurationsAsync

public Future<DescribeLaunchConfigurationsResult> describeLaunchConfigurationsAsync(DescribeLaunchConfigurationsRequest describeLaunchConfigurationsRequest,
                                                                                    AsyncHandler<DescribeLaunchConfigurationsRequest,DescribeLaunchConfigurationsResult> asyncHandler)
                                                                             throws AmazonServiceException,
                                                                                    AmazonClientException

Returns a full description of the launch configurations, or the specified launch configurations, if they exist.

If no name is specified, then the full details of all launch configurations are returned.

Specified by:
describeLaunchConfigurationsAsync in interface AmazonAutoScalingAsync
Parameters:
describeLaunchConfigurationsRequest - 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.
Returns:
A Java Future object containing the response from the DescribeLaunchConfigurations service method, as returned by AmazonAutoScaling.
Throws:
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.

describeAdjustmentTypesAsync

public Future<DescribeAdjustmentTypesResult> describeAdjustmentTypesAsync(DescribeAdjustmentTypesRequest describeAdjustmentTypesRequest)
                                                                   throws AmazonServiceException,
                                                                          AmazonClientException

Returns policy adjustment types for use in the PutScalingPolicy action.

Specified by:
describeAdjustmentTypesAsync in interface AmazonAutoScalingAsync
Parameters:
describeAdjustmentTypesRequest - Container for the necessary parameters to execute the DescribeAdjustmentTypes operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the DescribeAdjustmentTypes service method, as returned by AmazonAutoScaling.
Throws:
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.

describeAdjustmentTypesAsync

public Future<DescribeAdjustmentTypesResult> describeAdjustmentTypesAsync(DescribeAdjustmentTypesRequest describeAdjustmentTypesRequest,
                                                                          AsyncHandler<DescribeAdjustmentTypesRequest,DescribeAdjustmentTypesResult> asyncHandler)
                                                                   throws AmazonServiceException,
                                                                          AmazonClientException

Returns policy adjustment types for use in the PutScalingPolicy action.

Specified by:
describeAdjustmentTypesAsync in interface AmazonAutoScalingAsync
Parameters:
describeAdjustmentTypesRequest - 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.
Returns:
A Java Future object containing the response from the DescribeAdjustmentTypes service method, as returned by AmazonAutoScaling.
Throws:
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.

describeScheduledActionsAsync

public Future<DescribeScheduledActionsResult> describeScheduledActionsAsync(DescribeScheduledActionsRequest describeScheduledActionsRequest)
                                                                     throws AmazonServiceException,
                                                                            AmazonClientException

Lists all the actions scheduled for your Auto Scaling group that haven't been executed. To see a list of actions already executed, see the activity record returned in DescribeScalingActivities.

Specified by:
describeScheduledActionsAsync in interface AmazonAutoScalingAsync
Parameters:
describeScheduledActionsRequest - Container for the necessary parameters to execute the DescribeScheduledActions operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the DescribeScheduledActions service method, as returned by AmazonAutoScaling.
Throws:
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.

describeScheduledActionsAsync

public Future<DescribeScheduledActionsResult> describeScheduledActionsAsync(DescribeScheduledActionsRequest describeScheduledActionsRequest,
                                                                            AsyncHandler<DescribeScheduledActionsRequest,DescribeScheduledActionsResult> asyncHandler)
                                                                     throws AmazonServiceException,
                                                                            AmazonClientException

Lists all the actions scheduled for your Auto Scaling group that haven't been executed. To see a list of actions already executed, see the activity record returned in DescribeScalingActivities.

Specified by:
describeScheduledActionsAsync in interface AmazonAutoScalingAsync
Parameters:
describeScheduledActionsRequest - 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.
Returns:
A Java Future object containing the response from the DescribeScheduledActions service method, as returned by AmazonAutoScaling.
Throws:
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.

putScheduledUpdateGroupActionAsync

public Future<Void> putScheduledUpdateGroupActionAsync(PutScheduledUpdateGroupActionRequest putScheduledUpdateGroupActionRequest)
                                                throws AmazonServiceException,
                                                       AmazonClientException

Creates a scheduled scaling action for an Auto Scaling group. If you leave a parameter unspecified, the corresponding value remains unchanged in the affected Auto Scaling group.

Specified by:
putScheduledUpdateGroupActionAsync in interface AmazonAutoScalingAsync
Parameters:
putScheduledUpdateGroupActionRequest - Container for the necessary parameters to execute the PutScheduledUpdateGroupAction operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the PutScheduledUpdateGroupAction service method, as returned by AmazonAutoScaling.
Throws:
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.

putScheduledUpdateGroupActionAsync

public Future<Void> putScheduledUpdateGroupActionAsync(PutScheduledUpdateGroupActionRequest putScheduledUpdateGroupActionRequest,
                                                       AsyncHandler<PutScheduledUpdateGroupActionRequest,Void> asyncHandler)
                                                throws AmazonServiceException,
                                                       AmazonClientException

Creates a scheduled scaling action for an Auto Scaling group. If you leave a parameter unspecified, the corresponding value remains unchanged in the affected Auto Scaling group.

Specified by:
putScheduledUpdateGroupActionAsync in interface AmazonAutoScalingAsync
Parameters:
putScheduledUpdateGroupActionRequest - 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.
Returns:
A Java Future object containing the response from the PutScheduledUpdateGroupAction service method, as returned by AmazonAutoScaling.
Throws:
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.

describeMetricCollectionTypesAsync

public Future<DescribeMetricCollectionTypesResult> describeMetricCollectionTypesAsync(DescribeMetricCollectionTypesRequest describeMetricCollectionTypesRequest)
                                                                               throws AmazonServiceException,
                                                                                      AmazonClientException

Returns a list of metrics and a corresponding list of granularities for each metric.

Specified by:
describeMetricCollectionTypesAsync in interface AmazonAutoScalingAsync
Parameters:
describeMetricCollectionTypesRequest - Container for the necessary parameters to execute the DescribeMetricCollectionTypes operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the DescribeMetricCollectionTypes service method, as returned by AmazonAutoScaling.
Throws:
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.

describeMetricCollectionTypesAsync

public Future<DescribeMetricCollectionTypesResult> describeMetricCollectionTypesAsync(DescribeMetricCollectionTypesRequest describeMetricCollectionTypesRequest,
                                                                                      AsyncHandler<DescribeMetricCollectionTypesRequest,DescribeMetricCollectionTypesResult> asyncHandler)
                                                                               throws AmazonServiceException,
                                                                                      AmazonClientException

Returns a list of metrics and a corresponding list of granularities for each metric.

Specified by:
describeMetricCollectionTypesAsync in interface AmazonAutoScalingAsync
Parameters:
describeMetricCollectionTypesRequest - 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.
Returns:
A Java Future object containing the response from the DescribeMetricCollectionTypes service method, as returned by AmazonAutoScaling.
Throws:
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.

setDesiredCapacityAsync

public Future<Void> setDesiredCapacityAsync(SetDesiredCapacityRequest setDesiredCapacityRequest)
                                     throws AmazonServiceException,
                                            AmazonClientException

Adjusts the desired size of the AutoScalingGroup by initiating scaling activities. When reducing the size of the group, it is not possible to define which Amazon EC2 instances will be terminated. This applies to any Auto Scaling decisions that might result in terminating instances.

There are two common use cases for SetDesiredCapacity : one for users of the Auto Scaling triggering system, and another for developers who write their own triggering systems. Both use cases relate to the concept of cooldown.

In the first case, if you use the Auto Scaling triggering system, SetDesiredCapacity changes the size of your Auto Scaling group without regard to the cooldown period. This could be useful, for example, if Auto Scaling did something unexpected for some reason. If your cooldown period is 10 minutes, Auto Scaling would normally reject requests to change the size of the group for that entire 10-minute period. The SetDesiredCapacity command allows you to circumvent this restriction and change the size of the group before the end of the cooldown period.

In the second case, if you write your own triggering system, you can use SetDesiredCapacity to control the size of your Auto Scaling group. If you want the same cooldown functionality that Auto Scaling offers, you can configure SetDesiredCapacity to honor cooldown by setting the HonorCooldown parameter to true .

Specified by:
setDesiredCapacityAsync in interface AmazonAutoScalingAsync
Parameters:
setDesiredCapacityRequest - Container for the necessary parameters to execute the SetDesiredCapacity operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the SetDesiredCapacity service method, as returned by AmazonAutoScaling.
Throws:
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.

setDesiredCapacityAsync

public Future<Void> setDesiredCapacityAsync(SetDesiredCapacityRequest setDesiredCapacityRequest,
                                            AsyncHandler<SetDesiredCapacityRequest,Void> asyncHandler)
                                     throws AmazonServiceException,
                                            AmazonClientException

Adjusts the desired size of the AutoScalingGroup by initiating scaling activities. When reducing the size of the group, it is not possible to define which Amazon EC2 instances will be terminated. This applies to any Auto Scaling decisions that might result in terminating instances.

There are two common use cases for SetDesiredCapacity : one for users of the Auto Scaling triggering system, and another for developers who write their own triggering systems. Both use cases relate to the concept of cooldown.

In the first case, if you use the Auto Scaling triggering system, SetDesiredCapacity changes the size of your Auto Scaling group without regard to the cooldown period. This could be useful, for example, if Auto Scaling did something unexpected for some reason. If your cooldown period is 10 minutes, Auto Scaling would normally reject requests to change the size of the group for that entire 10-minute period. The SetDesiredCapacity command allows you to circumvent this restriction and change the size of the group before the end of the cooldown period.

In the second case, if you write your own triggering system, you can use SetDesiredCapacity to control the size of your Auto Scaling group. If you want the same cooldown functionality that Auto Scaling offers, you can configure SetDesiredCapacity to honor cooldown by setting the HonorCooldown parameter to true .

Specified by:
setDesiredCapacityAsync in interface AmazonAutoScalingAsync
Parameters:
setDesiredCapacityRequest - 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.
Returns:
A Java Future object containing the response from the SetDesiredCapacity service method, as returned by AmazonAutoScaling.
Throws:
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.

terminateInstanceInAutoScalingGroupAsync

public Future<TerminateInstanceInAutoScalingGroupResult> terminateInstanceInAutoScalingGroupAsync(TerminateInstanceInAutoScalingGroupRequest terminateInstanceInAutoScalingGroupRequest)
                                                                                           throws AmazonServiceException,
                                                                                                  AmazonClientException

Terminates the specified instance. Optionally, the desired group size can be adjusted.

NOTE: This call simply registers a termination request. The termination of the instance cannot happen immediately.

Specified by:
terminateInstanceInAutoScalingGroupAsync in interface AmazonAutoScalingAsync
Parameters:
terminateInstanceInAutoScalingGroupRequest - Container for the necessary parameters to execute the TerminateInstanceInAutoScalingGroup operation on AmazonAutoScaling.
Returns:
A Java Future object containing the response from the TerminateInstanceInAutoScalingGroup service method, as returned by AmazonAutoScaling.
Throws:
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.

terminateInstanceInAutoScalingGroupAsync

public Future<TerminateInstanceInAutoScalingGroupResult> terminateInstanceInAutoScalingGroupAsync(TerminateInstanceInAutoScalingGroupRequest terminateInstanceInAutoScalingGroupRequest,
                                                                                                  AsyncHandler<TerminateInstanceInAutoScalingGroupRequest,TerminateInstanceInAutoScalingGroupResult> asyncHandler)
                                                                                           throws AmazonServiceException,
                                                                                                  AmazonClientException

Terminates the specified instance. Optionally, the desired group size can be adjusted.

NOTE: This call simply registers a termination request. The termination of the instance cannot happen immediately.

Specified by:
terminateInstanceInAutoScalingGroupAsync in interface AmazonAutoScalingAsync
Parameters:
terminateInstanceInAutoScalingGroupRequest - 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.
Returns:
A Java Future object containing the response from the TerminateInstanceInAutoScalingGroup service method, as returned by AmazonAutoScaling.
Throws:
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 © 2010 Amazon Web Services, Inc. All Rights Reserved.