Class AbstractAmazonAutoScalingAsync
- java.lang.Object
-
- com.amazonaws.services.autoscaling.AbstractAmazonAutoScaling
-
- com.amazonaws.services.autoscaling.AbstractAmazonAutoScalingAsync
-
- All Implemented Interfaces:
AmazonAutoScaling,AmazonAutoScalingAsync
public class AbstractAmazonAutoScalingAsync extends AbstractAmazonAutoScaling implements AmazonAutoScalingAsync
Abstract implementation ofAmazonAutoScalingAsync. Convenient method forms pass through to the corresponding overload that takes a request object and anAsyncHandler, which throws anUnsupportedOperationException.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractAmazonAutoScalingAsync()
-
Method Summary
-
Methods inherited from class com.amazonaws.services.autoscaling.AbstractAmazonAutoScaling
attachInstances, attachLoadBalancers, attachLoadBalancers, completeLifecycleAction, createAutoScalingGroup, createLaunchConfiguration, createOrUpdateTags, deleteAutoScalingGroup, deleteLaunchConfiguration, deleteLifecycleHook, deleteNotificationConfiguration, deletePolicy, deleteScheduledAction, deleteTags, describeAccountLimits, describeAccountLimits, describeAdjustmentTypes, describeAdjustmentTypes, describeAutoScalingGroups, describeAutoScalingGroups, describeAutoScalingInstances, describeAutoScalingInstances, describeAutoScalingNotificationTypes, describeAutoScalingNotificationTypes, describeLaunchConfigurations, describeLaunchConfigurations, describeLifecycleHooks, describeLifecycleHookTypes, describeLifecycleHookTypes, describeLoadBalancers, describeMetricCollectionTypes, describeMetricCollectionTypes, describeNotificationConfigurations, describeNotificationConfigurations, describePolicies, describePolicies, describeScalingActivities, describeScalingActivities, describeScalingProcessTypes, describeScalingProcessTypes, describeScheduledActions, describeScheduledActions, describeTags, describeTags, describeTerminationPolicyTypes, describeTerminationPolicyTypes, detachInstances, detachLoadBalancers, detachLoadBalancers, disableMetricsCollection, enableMetricsCollection, enterStandby, executePolicy, exitStandby, getCachedResponseMetadata, putLifecycleHook, putNotificationConfiguration, putScalingPolicy, putScheduledUpdateGroupAction, recordLifecycleActionHeartbeat, resumeProcesses, setDesiredCapacity, setEndpoint, setInstanceHealth, setInstanceProtection, setRegion, shutdown, suspendProcesses, terminateInstanceInAutoScalingGroup, updateAutoScalingGroup
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.amazonaws.services.autoscaling.AmazonAutoScaling
attachInstances, attachLoadBalancers, attachLoadBalancers, completeLifecycleAction, createAutoScalingGroup, createLaunchConfiguration, createOrUpdateTags, deleteAutoScalingGroup, deleteLaunchConfiguration, deleteLifecycleHook, deleteNotificationConfiguration, deletePolicy, deleteScheduledAction, deleteTags, describeAccountLimits, describeAccountLimits, describeAdjustmentTypes, describeAdjustmentTypes, describeAutoScalingGroups, describeAutoScalingGroups, describeAutoScalingInstances, describeAutoScalingInstances, describeAutoScalingNotificationTypes, describeAutoScalingNotificationTypes, describeLaunchConfigurations, describeLaunchConfigurations, describeLifecycleHooks, describeLifecycleHookTypes, describeLifecycleHookTypes, describeLoadBalancers, describeMetricCollectionTypes, describeMetricCollectionTypes, describeNotificationConfigurations, describeNotificationConfigurations, describePolicies, describePolicies, describeScalingActivities, describeScalingActivities, describeScalingProcessTypes, describeScalingProcessTypes, describeScheduledActions, describeScheduledActions, describeTags, describeTags, describeTerminationPolicyTypes, describeTerminationPolicyTypes, detachInstances, detachLoadBalancers, detachLoadBalancers, disableMetricsCollection, enableMetricsCollection, enterStandby, executePolicy, exitStandby, getCachedResponseMetadata, putLifecycleHook, putNotificationConfiguration, putScalingPolicy, putScheduledUpdateGroupAction, recordLifecycleActionHeartbeat, resumeProcesses, setDesiredCapacity, setEndpoint, setInstanceHealth, setInstanceProtection, setRegion, shutdown, suspendProcesses, terminateInstanceInAutoScalingGroup, updateAutoScalingGroup
-
-
-
-
Method Detail
-
attachInstancesAsync
public Future<AttachInstancesResult> attachInstancesAsync(AttachInstancesRequest request)
Description copied from interface:AmazonAutoScalingAsyncAttaches one or more EC2 instances to the specified Auto Scaling group.
When you attach instances, Auto Scaling increases the desired capacity of the group by the number of instances being attached. If the number of instances being attached plus the desired capacity of the group exceeds the maximum size of the group, the operation fails.
For more information, see Attach EC2 Instances to Your Auto Scaling Group in the Auto Scaling Developer Guide.
- Specified by:
attachInstancesAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the AttachInstances operation returned by the service.
-
attachInstancesAsync
public Future<AttachInstancesResult> attachInstancesAsync(AttachInstancesRequest request, AsyncHandler<AttachInstancesRequest,AttachInstancesResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncAttaches one or more EC2 instances to the specified Auto Scaling group.
When you attach instances, Auto Scaling increases the desired capacity of the group by the number of instances being attached. If the number of instances being attached plus the desired capacity of the group exceeds the maximum size of the group, the operation fails.
For more information, see Attach EC2 Instances to Your Auto Scaling Group in the Auto Scaling Developer Guide.
- Specified by:
attachInstancesAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the AttachInstances operation returned by the service.
-
attachLoadBalancersAsync
public Future<AttachLoadBalancersResult> attachLoadBalancersAsync(AttachLoadBalancersRequest request)
Description copied from interface:AmazonAutoScalingAsyncAttaches one or more load balancers to the specified Auto Scaling group.
To describe the load balancers for an Auto Scaling group, use DescribeLoadBalancers. To detach the load balancer from the Auto Scaling group, use DetachLoadBalancers.
For more information, see Attach a Load Balancer to Your Auto Scaling Group in the Auto Scaling Developer Guide.
- Specified by:
attachLoadBalancersAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the AttachLoadBalancers operation returned by the service.
-
attachLoadBalancersAsync
public Future<AttachLoadBalancersResult> attachLoadBalancersAsync(AttachLoadBalancersRequest request, AsyncHandler<AttachLoadBalancersRequest,AttachLoadBalancersResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncAttaches one or more load balancers to the specified Auto Scaling group.
To describe the load balancers for an Auto Scaling group, use DescribeLoadBalancers. To detach the load balancer from the Auto Scaling group, use DetachLoadBalancers.
For more information, see Attach a Load Balancer to Your Auto Scaling Group in the Auto Scaling Developer Guide.
- Specified by:
attachLoadBalancersAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the AttachLoadBalancers operation returned by the service.
-
attachLoadBalancersAsync
public Future<AttachLoadBalancersResult> attachLoadBalancersAsync()
Simplified method form for invoking the AttachLoadBalancers operation.- Specified by:
attachLoadBalancersAsyncin interfaceAmazonAutoScalingAsync- See Also:
attachLoadBalancersAsync(AttachLoadBalancersRequest)
-
attachLoadBalancersAsync
public Future<AttachLoadBalancersResult> attachLoadBalancersAsync(AsyncHandler<AttachLoadBalancersRequest,AttachLoadBalancersResult> asyncHandler)
Simplified method form for invoking the AttachLoadBalancers operation with an AsyncHandler.- Specified by:
attachLoadBalancersAsyncin interfaceAmazonAutoScalingAsync- See Also:
attachLoadBalancersAsync(AttachLoadBalancersRequest, com.amazonaws.handlers.AsyncHandler)
-
completeLifecycleActionAsync
public Future<CompleteLifecycleActionResult> completeLifecycleActionAsync(CompleteLifecycleActionRequest request)
Description copied from interface:AmazonAutoScalingAsyncCompletes the lifecycle action for the specified token or instance with the specified result.
This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:
- (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances.
- (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target.
- Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.
- If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.
- If you finish before the timeout period ends, complete the lifecycle action.
For more information, see Auto Scaling Lifecycle in the Auto Scaling Developer Guide.
- Specified by:
completeLifecycleActionAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the CompleteLifecycleAction operation returned by the service.
-
completeLifecycleActionAsync
public Future<CompleteLifecycleActionResult> completeLifecycleActionAsync(CompleteLifecycleActionRequest request, AsyncHandler<CompleteLifecycleActionRequest,CompleteLifecycleActionResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncCompletes the lifecycle action for the specified token or instance with the specified result.
This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:
- (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances.
- (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target.
- Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.
- If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.
- If you finish before the timeout period ends, complete the lifecycle action.
For more information, see Auto Scaling Lifecycle in the Auto Scaling Developer Guide.
- Specified by:
completeLifecycleActionAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CompleteLifecycleAction operation returned by the service.
-
createAutoScalingGroupAsync
public Future<CreateAutoScalingGroupResult> createAutoScalingGroupAsync(CreateAutoScalingGroupRequest request)
Description copied from interface:AmazonAutoScalingAsyncCreates an Auto Scaling group with the specified name and attributes.
If you exceed your maximum limit of Auto Scaling groups, which by default is 20 per region, the call fails. For information about viewing and updating this limit, see DescribeAccountLimits.
For more information, see Auto Scaling Groups in the Auto Scaling Developer Guide.
- Specified by:
createAutoScalingGroupAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the CreateAutoScalingGroup operation returned by the service.
-
createAutoScalingGroupAsync
public Future<CreateAutoScalingGroupResult> createAutoScalingGroupAsync(CreateAutoScalingGroupRequest request, AsyncHandler<CreateAutoScalingGroupRequest,CreateAutoScalingGroupResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncCreates an Auto Scaling group with the specified name and attributes.
If you exceed your maximum limit of Auto Scaling groups, which by default is 20 per region, the call fails. For information about viewing and updating this limit, see DescribeAccountLimits.
For more information, see Auto Scaling Groups in the Auto Scaling Developer Guide.
- Specified by:
createAutoScalingGroupAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateAutoScalingGroup operation returned by the service.
-
createLaunchConfigurationAsync
public Future<CreateLaunchConfigurationResult> createLaunchConfigurationAsync(CreateLaunchConfigurationRequest request)
Description copied from interface:AmazonAutoScalingAsyncCreates a launch configuration.
If you exceed your maximum limit of launch configurations, which by default is 100 per region, the call fails. For information about viewing and updating this limit, see DescribeAccountLimits.
For more information, see Launch Configurations in the Auto Scaling Developer Guide.
- Specified by:
createLaunchConfigurationAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the CreateLaunchConfiguration operation returned by the service.
-
createLaunchConfigurationAsync
public Future<CreateLaunchConfigurationResult> createLaunchConfigurationAsync(CreateLaunchConfigurationRequest request, AsyncHandler<CreateLaunchConfigurationRequest,CreateLaunchConfigurationResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncCreates a launch configuration.
If you exceed your maximum limit of launch configurations, which by default is 100 per region, the call fails. For information about viewing and updating this limit, see DescribeAccountLimits.
For more information, see Launch Configurations in the Auto Scaling Developer Guide.
- Specified by:
createLaunchConfigurationAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateLaunchConfiguration operation returned by the service.
-
createOrUpdateTagsAsync
public Future<CreateOrUpdateTagsResult> createOrUpdateTagsAsync(CreateOrUpdateTagsRequest request)
Description copied from interface:AmazonAutoScalingAsyncCreates or updates tags for the specified Auto Scaling group.
When you specify a tag with a key that already exists, the operation overwrites the previous tag definition, and you do not get an error message.
For more information, see Tagging Auto Scaling Groups and Instances in the Auto Scaling Developer Guide.
- Specified by:
createOrUpdateTagsAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the CreateOrUpdateTags operation returned by the service.
-
createOrUpdateTagsAsync
public Future<CreateOrUpdateTagsResult> createOrUpdateTagsAsync(CreateOrUpdateTagsRequest request, AsyncHandler<CreateOrUpdateTagsRequest,CreateOrUpdateTagsResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncCreates or updates tags for the specified Auto Scaling group.
When you specify a tag with a key that already exists, the operation overwrites the previous tag definition, and you do not get an error message.
For more information, see Tagging Auto Scaling Groups and Instances in the Auto Scaling Developer Guide.
- Specified by:
createOrUpdateTagsAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateOrUpdateTags operation returned by the service.
-
deleteAutoScalingGroupAsync
public Future<DeleteAutoScalingGroupResult> deleteAutoScalingGroupAsync(DeleteAutoScalingGroupRequest request)
Description copied from interface:AmazonAutoScalingAsyncDeletes the specified Auto Scaling group.
If the group has instances or scaling activities in progress, you must specify the option to force the deletion in order for it to succeed.
If the group has policies, deleting the group deletes the policies, the underlying alarm actions, and any alarm that no longer has an associated action.
To remove instances from the Auto Scaling group before deleting it, call DetachInstances with the list of instances and the option to decrement the desired capacity so that Auto Scaling does not launch replacement instances.
To terminate all instances before deleting the Auto Scaling group, call UpdateAutoScalingGroup and set the minimum size and desired capacity of the Auto Scaling group to zero.
- Specified by:
deleteAutoScalingGroupAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the DeleteAutoScalingGroup operation returned by the service.
-
deleteAutoScalingGroupAsync
public Future<DeleteAutoScalingGroupResult> deleteAutoScalingGroupAsync(DeleteAutoScalingGroupRequest request, AsyncHandler<DeleteAutoScalingGroupRequest,DeleteAutoScalingGroupResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncDeletes the specified Auto Scaling group.
If the group has instances or scaling activities in progress, you must specify the option to force the deletion in order for it to succeed.
If the group has policies, deleting the group deletes the policies, the underlying alarm actions, and any alarm that no longer has an associated action.
To remove instances from the Auto Scaling group before deleting it, call DetachInstances with the list of instances and the option to decrement the desired capacity so that Auto Scaling does not launch replacement instances.
To terminate all instances before deleting the Auto Scaling group, call UpdateAutoScalingGroup and set the minimum size and desired capacity of the Auto Scaling group to zero.
- Specified by:
deleteAutoScalingGroupAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteAutoScalingGroup operation returned by the service.
-
deleteLaunchConfigurationAsync
public Future<DeleteLaunchConfigurationResult> deleteLaunchConfigurationAsync(DeleteLaunchConfigurationRequest request)
Description copied from interface:AmazonAutoScalingAsyncDeletes the specified launch configuration.
The launch configuration must not be attached to an Auto Scaling group. When this call completes, the launch configuration is no longer available for use.
- Specified by:
deleteLaunchConfigurationAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the DeleteLaunchConfiguration operation returned by the service.
-
deleteLaunchConfigurationAsync
public Future<DeleteLaunchConfigurationResult> deleteLaunchConfigurationAsync(DeleteLaunchConfigurationRequest request, AsyncHandler<DeleteLaunchConfigurationRequest,DeleteLaunchConfigurationResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncDeletes the specified launch configuration.
The launch configuration must not be attached to an Auto Scaling group. When this call completes, the launch configuration is no longer available for use.
- Specified by:
deleteLaunchConfigurationAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteLaunchConfiguration operation returned by the service.
-
deleteLifecycleHookAsync
public Future<DeleteLifecycleHookResult> deleteLifecycleHookAsync(DeleteLifecycleHookRequest request)
Description copied from interface:AmazonAutoScalingAsyncDeletes the specified lifecycle hook.
If there are any outstanding lifecycle actions, they are completed first (
ABANDONfor launching instances,CONTINUEfor terminating instances).- Specified by:
deleteLifecycleHookAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the DeleteLifecycleHook operation returned by the service.
-
deleteLifecycleHookAsync
public Future<DeleteLifecycleHookResult> deleteLifecycleHookAsync(DeleteLifecycleHookRequest request, AsyncHandler<DeleteLifecycleHookRequest,DeleteLifecycleHookResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncDeletes the specified lifecycle hook.
If there are any outstanding lifecycle actions, they are completed first (
ABANDONfor launching instances,CONTINUEfor terminating instances).- Specified by:
deleteLifecycleHookAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteLifecycleHook operation returned by the service.
-
deleteNotificationConfigurationAsync
public Future<DeleteNotificationConfigurationResult> deleteNotificationConfigurationAsync(DeleteNotificationConfigurationRequest request)
Description copied from interface:AmazonAutoScalingAsyncDeletes the specified notification.
- Specified by:
deleteNotificationConfigurationAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the DeleteNotificationConfiguration operation returned by the service.
-
deleteNotificationConfigurationAsync
public Future<DeleteNotificationConfigurationResult> deleteNotificationConfigurationAsync(DeleteNotificationConfigurationRequest request, AsyncHandler<DeleteNotificationConfigurationRequest,DeleteNotificationConfigurationResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncDeletes the specified notification.
- Specified by:
deleteNotificationConfigurationAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteNotificationConfiguration operation returned by the service.
-
deletePolicyAsync
public Future<DeletePolicyResult> deletePolicyAsync(DeletePolicyRequest request)
Description copied from interface:AmazonAutoScalingAsyncDeletes the specified Auto Scaling policy.
Deleting a policy deletes the underlying alarm action, but does not delete the alarm, even if it no longer has an associated action.
- Specified by:
deletePolicyAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the DeletePolicy operation returned by the service.
-
deletePolicyAsync
public Future<DeletePolicyResult> deletePolicyAsync(DeletePolicyRequest request, AsyncHandler<DeletePolicyRequest,DeletePolicyResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncDeletes the specified Auto Scaling policy.
Deleting a policy deletes the underlying alarm action, but does not delete the alarm, even if it no longer has an associated action.
- Specified by:
deletePolicyAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeletePolicy operation returned by the service.
-
deleteScheduledActionAsync
public Future<DeleteScheduledActionResult> deleteScheduledActionAsync(DeleteScheduledActionRequest request)
Description copied from interface:AmazonAutoScalingAsyncDeletes the specified scheduled action.
- Specified by:
deleteScheduledActionAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the DeleteScheduledAction operation returned by the service.
-
deleteScheduledActionAsync
public Future<DeleteScheduledActionResult> deleteScheduledActionAsync(DeleteScheduledActionRequest request, AsyncHandler<DeleteScheduledActionRequest,DeleteScheduledActionResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncDeletes the specified scheduled action.
- Specified by:
deleteScheduledActionAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteScheduledAction operation returned by the service.
-
deleteTagsAsync
public Future<DeleteTagsResult> deleteTagsAsync(DeleteTagsRequest request)
Description copied from interface:AmazonAutoScalingAsyncDeletes the specified tags.
- Specified by:
deleteTagsAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the DeleteTags operation returned by the service.
-
deleteTagsAsync
public Future<DeleteTagsResult> deleteTagsAsync(DeleteTagsRequest request, AsyncHandler<DeleteTagsRequest,DeleteTagsResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncDeletes the specified tags.
- Specified by:
deleteTagsAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteTags operation returned by the service.
-
describeAccountLimitsAsync
public Future<DescribeAccountLimitsResult> describeAccountLimitsAsync(DescribeAccountLimitsRequest request)
Description copied from interface:AmazonAutoScalingAsyncDescribes the current Auto Scaling resource limits for your AWS account.
For information about requesting an increase in these limits, see AWS Service Limits in the Amazon Web Services General Reference.
- Specified by:
describeAccountLimitsAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the DescribeAccountLimits operation returned by the service.
-
describeAccountLimitsAsync
public Future<DescribeAccountLimitsResult> describeAccountLimitsAsync(DescribeAccountLimitsRequest request, AsyncHandler<DescribeAccountLimitsRequest,DescribeAccountLimitsResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncDescribes the current Auto Scaling resource limits for your AWS account.
For information about requesting an increase in these limits, see AWS Service Limits in the Amazon Web Services General Reference.
- Specified by:
describeAccountLimitsAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeAccountLimits operation returned by the service.
-
describeAccountLimitsAsync
public Future<DescribeAccountLimitsResult> describeAccountLimitsAsync()
Simplified method form for invoking the DescribeAccountLimits operation.- Specified by:
describeAccountLimitsAsyncin interfaceAmazonAutoScalingAsync- See Also:
describeAccountLimitsAsync(DescribeAccountLimitsRequest)
-
describeAccountLimitsAsync
public Future<DescribeAccountLimitsResult> describeAccountLimitsAsync(AsyncHandler<DescribeAccountLimitsRequest,DescribeAccountLimitsResult> asyncHandler)
Simplified method form for invoking the DescribeAccountLimits operation with an AsyncHandler.- Specified by:
describeAccountLimitsAsyncin interfaceAmazonAutoScalingAsync- See Also:
describeAccountLimitsAsync(DescribeAccountLimitsRequest, com.amazonaws.handlers.AsyncHandler)
-
describeAdjustmentTypesAsync
public Future<DescribeAdjustmentTypesResult> describeAdjustmentTypesAsync(DescribeAdjustmentTypesRequest request)
Description copied from interface:AmazonAutoScalingAsyncDescribes the policy adjustment types for use with PutScalingPolicy.
- Specified by:
describeAdjustmentTypesAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the DescribeAdjustmentTypes operation returned by the service.
-
describeAdjustmentTypesAsync
public Future<DescribeAdjustmentTypesResult> describeAdjustmentTypesAsync(DescribeAdjustmentTypesRequest request, AsyncHandler<DescribeAdjustmentTypesRequest,DescribeAdjustmentTypesResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncDescribes the policy adjustment types for use with PutScalingPolicy.
- Specified by:
describeAdjustmentTypesAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeAdjustmentTypes operation returned by the service.
-
describeAdjustmentTypesAsync
public Future<DescribeAdjustmentTypesResult> describeAdjustmentTypesAsync()
Simplified method form for invoking the DescribeAdjustmentTypes operation.- Specified by:
describeAdjustmentTypesAsyncin interfaceAmazonAutoScalingAsync- See Also:
describeAdjustmentTypesAsync(DescribeAdjustmentTypesRequest)
-
describeAdjustmentTypesAsync
public Future<DescribeAdjustmentTypesResult> describeAdjustmentTypesAsync(AsyncHandler<DescribeAdjustmentTypesRequest,DescribeAdjustmentTypesResult> asyncHandler)
Simplified method form for invoking the DescribeAdjustmentTypes operation with an AsyncHandler.- Specified by:
describeAdjustmentTypesAsyncin interfaceAmazonAutoScalingAsync- See Also:
describeAdjustmentTypesAsync(DescribeAdjustmentTypesRequest, com.amazonaws.handlers.AsyncHandler)
-
describeAutoScalingGroupsAsync
public Future<DescribeAutoScalingGroupsResult> describeAutoScalingGroupsAsync(DescribeAutoScalingGroupsRequest request)
Description copied from interface:AmazonAutoScalingAsyncDescribes one or more Auto Scaling groups. If a list of names is not provided, the call describes all Auto Scaling groups.
- Specified by:
describeAutoScalingGroupsAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the DescribeAutoScalingGroups operation returned by the service.
-
describeAutoScalingGroupsAsync
public Future<DescribeAutoScalingGroupsResult> describeAutoScalingGroupsAsync(DescribeAutoScalingGroupsRequest request, AsyncHandler<DescribeAutoScalingGroupsRequest,DescribeAutoScalingGroupsResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncDescribes one or more Auto Scaling groups. If a list of names is not provided, the call describes all Auto Scaling groups.
- Specified by:
describeAutoScalingGroupsAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeAutoScalingGroups operation returned by the service.
-
describeAutoScalingGroupsAsync
public Future<DescribeAutoScalingGroupsResult> describeAutoScalingGroupsAsync()
Simplified method form for invoking the DescribeAutoScalingGroups operation.- Specified by:
describeAutoScalingGroupsAsyncin interfaceAmazonAutoScalingAsync- See Also:
describeAutoScalingGroupsAsync(DescribeAutoScalingGroupsRequest)
-
describeAutoScalingGroupsAsync
public Future<DescribeAutoScalingGroupsResult> describeAutoScalingGroupsAsync(AsyncHandler<DescribeAutoScalingGroupsRequest,DescribeAutoScalingGroupsResult> asyncHandler)
Simplified method form for invoking the DescribeAutoScalingGroups operation with an AsyncHandler.- Specified by:
describeAutoScalingGroupsAsyncin interfaceAmazonAutoScalingAsync- See Also:
describeAutoScalingGroupsAsync(DescribeAutoScalingGroupsRequest, com.amazonaws.handlers.AsyncHandler)
-
describeAutoScalingInstancesAsync
public Future<DescribeAutoScalingInstancesResult> describeAutoScalingInstancesAsync(DescribeAutoScalingInstancesRequest request)
Description copied from interface:AmazonAutoScalingAsyncDescribes one or more Auto Scaling instances. If a list is not provided, the call describes all instances.
- Specified by:
describeAutoScalingInstancesAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the DescribeAutoScalingInstances operation returned by the service.
-
describeAutoScalingInstancesAsync
public Future<DescribeAutoScalingInstancesResult> describeAutoScalingInstancesAsync(DescribeAutoScalingInstancesRequest request, AsyncHandler<DescribeAutoScalingInstancesRequest,DescribeAutoScalingInstancesResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncDescribes one or more Auto Scaling instances. If a list is not provided, the call describes all instances.
- Specified by:
describeAutoScalingInstancesAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeAutoScalingInstances operation returned by the service.
-
describeAutoScalingInstancesAsync
public Future<DescribeAutoScalingInstancesResult> describeAutoScalingInstancesAsync()
Simplified method form for invoking the DescribeAutoScalingInstances operation.- Specified by:
describeAutoScalingInstancesAsyncin interfaceAmazonAutoScalingAsync- See Also:
describeAutoScalingInstancesAsync(DescribeAutoScalingInstancesRequest)
-
describeAutoScalingInstancesAsync
public Future<DescribeAutoScalingInstancesResult> describeAutoScalingInstancesAsync(AsyncHandler<DescribeAutoScalingInstancesRequest,DescribeAutoScalingInstancesResult> asyncHandler)
Simplified method form for invoking the DescribeAutoScalingInstances operation with an AsyncHandler.
-
describeAutoScalingNotificationTypesAsync
public Future<DescribeAutoScalingNotificationTypesResult> describeAutoScalingNotificationTypesAsync(DescribeAutoScalingNotificationTypesRequest request)
Description copied from interface:AmazonAutoScalingAsyncDescribes the notification types that are supported by Auto Scaling.
- Specified by:
describeAutoScalingNotificationTypesAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the DescribeAutoScalingNotificationTypes operation returned by the service.
-
describeAutoScalingNotificationTypesAsync
public Future<DescribeAutoScalingNotificationTypesResult> describeAutoScalingNotificationTypesAsync(DescribeAutoScalingNotificationTypesRequest request, AsyncHandler<DescribeAutoScalingNotificationTypesRequest,DescribeAutoScalingNotificationTypesResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncDescribes the notification types that are supported by Auto Scaling.
- Specified by:
describeAutoScalingNotificationTypesAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeAutoScalingNotificationTypes operation returned by the service.
-
describeAutoScalingNotificationTypesAsync
public Future<DescribeAutoScalingNotificationTypesResult> describeAutoScalingNotificationTypesAsync()
Simplified method form for invoking the DescribeAutoScalingNotificationTypes operation.- Specified by:
describeAutoScalingNotificationTypesAsyncin interfaceAmazonAutoScalingAsync- See Also:
describeAutoScalingNotificationTypesAsync(DescribeAutoScalingNotificationTypesRequest)
-
describeAutoScalingNotificationTypesAsync
public Future<DescribeAutoScalingNotificationTypesResult> describeAutoScalingNotificationTypesAsync(AsyncHandler<DescribeAutoScalingNotificationTypesRequest,DescribeAutoScalingNotificationTypesResult> asyncHandler)
Simplified method form for invoking the DescribeAutoScalingNotificationTypes operation with an AsyncHandler.
-
describeLaunchConfigurationsAsync
public Future<DescribeLaunchConfigurationsResult> describeLaunchConfigurationsAsync(DescribeLaunchConfigurationsRequest request)
Description copied from interface:AmazonAutoScalingAsyncDescribes one or more launch configurations. If you omit the list of names, then the call describes all launch configurations.
- Specified by:
describeLaunchConfigurationsAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the DescribeLaunchConfigurations operation returned by the service.
-
describeLaunchConfigurationsAsync
public Future<DescribeLaunchConfigurationsResult> describeLaunchConfigurationsAsync(DescribeLaunchConfigurationsRequest request, AsyncHandler<DescribeLaunchConfigurationsRequest,DescribeLaunchConfigurationsResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncDescribes one or more launch configurations. If you omit the list of names, then the call describes all launch configurations.
- Specified by:
describeLaunchConfigurationsAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeLaunchConfigurations operation returned by the service.
-
describeLaunchConfigurationsAsync
public Future<DescribeLaunchConfigurationsResult> describeLaunchConfigurationsAsync()
Simplified method form for invoking the DescribeLaunchConfigurations operation.- Specified by:
describeLaunchConfigurationsAsyncin interfaceAmazonAutoScalingAsync- See Also:
describeLaunchConfigurationsAsync(DescribeLaunchConfigurationsRequest)
-
describeLaunchConfigurationsAsync
public Future<DescribeLaunchConfigurationsResult> describeLaunchConfigurationsAsync(AsyncHandler<DescribeLaunchConfigurationsRequest,DescribeLaunchConfigurationsResult> asyncHandler)
Simplified method form for invoking the DescribeLaunchConfigurations operation with an AsyncHandler.
-
describeLifecycleHookTypesAsync
public Future<DescribeLifecycleHookTypesResult> describeLifecycleHookTypesAsync(DescribeLifecycleHookTypesRequest request)
Description copied from interface:AmazonAutoScalingAsyncDescribes the available types of lifecycle hooks.
- Specified by:
describeLifecycleHookTypesAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the DescribeLifecycleHookTypes operation returned by the service.
-
describeLifecycleHookTypesAsync
public Future<DescribeLifecycleHookTypesResult> describeLifecycleHookTypesAsync(DescribeLifecycleHookTypesRequest request, AsyncHandler<DescribeLifecycleHookTypesRequest,DescribeLifecycleHookTypesResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncDescribes the available types of lifecycle hooks.
- Specified by:
describeLifecycleHookTypesAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeLifecycleHookTypes operation returned by the service.
-
describeLifecycleHookTypesAsync
public Future<DescribeLifecycleHookTypesResult> describeLifecycleHookTypesAsync()
Simplified method form for invoking the DescribeLifecycleHookTypes operation.- Specified by:
describeLifecycleHookTypesAsyncin interfaceAmazonAutoScalingAsync- See Also:
describeLifecycleHookTypesAsync(DescribeLifecycleHookTypesRequest)
-
describeLifecycleHookTypesAsync
public Future<DescribeLifecycleHookTypesResult> describeLifecycleHookTypesAsync(AsyncHandler<DescribeLifecycleHookTypesRequest,DescribeLifecycleHookTypesResult> asyncHandler)
Simplified method form for invoking the DescribeLifecycleHookTypes operation with an AsyncHandler.- Specified by:
describeLifecycleHookTypesAsyncin interfaceAmazonAutoScalingAsync- See Also:
describeLifecycleHookTypesAsync(DescribeLifecycleHookTypesRequest, com.amazonaws.handlers.AsyncHandler)
-
describeLifecycleHooksAsync
public Future<DescribeLifecycleHooksResult> describeLifecycleHooksAsync(DescribeLifecycleHooksRequest request)
Description copied from interface:AmazonAutoScalingAsyncDescribes the lifecycle hooks for the specified Auto Scaling group.
- Specified by:
describeLifecycleHooksAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the DescribeLifecycleHooks operation returned by the service.
-
describeLifecycleHooksAsync
public Future<DescribeLifecycleHooksResult> describeLifecycleHooksAsync(DescribeLifecycleHooksRequest request, AsyncHandler<DescribeLifecycleHooksRequest,DescribeLifecycleHooksResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncDescribes the lifecycle hooks for the specified Auto Scaling group.
- Specified by:
describeLifecycleHooksAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeLifecycleHooks operation returned by the service.
-
describeLoadBalancersAsync
public Future<DescribeLoadBalancersResult> describeLoadBalancersAsync(DescribeLoadBalancersRequest request)
Description copied from interface:AmazonAutoScalingAsyncDescribes the load balancers for the specified Auto Scaling group.
- Specified by:
describeLoadBalancersAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the DescribeLoadBalancers operation returned by the service.
-
describeLoadBalancersAsync
public Future<DescribeLoadBalancersResult> describeLoadBalancersAsync(DescribeLoadBalancersRequest request, AsyncHandler<DescribeLoadBalancersRequest,DescribeLoadBalancersResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncDescribes the load balancers for the specified Auto Scaling group.
- Specified by:
describeLoadBalancersAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeLoadBalancers operation returned by the service.
-
describeMetricCollectionTypesAsync
public Future<DescribeMetricCollectionTypesResult> describeMetricCollectionTypesAsync(DescribeMetricCollectionTypesRequest request)
Description copied from interface:AmazonAutoScalingAsyncDescribes the available CloudWatch metrics for Auto Scaling.
Note that the
GroupStandbyInstancesmetric is not returned by default. You must explicitly request this metric when calling EnableMetricsCollection.- Specified by:
describeMetricCollectionTypesAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the DescribeMetricCollectionTypes operation returned by the service.
-
describeMetricCollectionTypesAsync
public Future<DescribeMetricCollectionTypesResult> describeMetricCollectionTypesAsync(DescribeMetricCollectionTypesRequest request, AsyncHandler<DescribeMetricCollectionTypesRequest,DescribeMetricCollectionTypesResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncDescribes the available CloudWatch metrics for Auto Scaling.
Note that the
GroupStandbyInstancesmetric is not returned by default. You must explicitly request this metric when calling EnableMetricsCollection.- Specified by:
describeMetricCollectionTypesAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeMetricCollectionTypes operation returned by the service.
-
describeMetricCollectionTypesAsync
public Future<DescribeMetricCollectionTypesResult> describeMetricCollectionTypesAsync()
Simplified method form for invoking the DescribeMetricCollectionTypes operation.- Specified by:
describeMetricCollectionTypesAsyncin interfaceAmazonAutoScalingAsync- See Also:
describeMetricCollectionTypesAsync(DescribeMetricCollectionTypesRequest)
-
describeMetricCollectionTypesAsync
public Future<DescribeMetricCollectionTypesResult> describeMetricCollectionTypesAsync(AsyncHandler<DescribeMetricCollectionTypesRequest,DescribeMetricCollectionTypesResult> asyncHandler)
Simplified method form for invoking the DescribeMetricCollectionTypes operation with an AsyncHandler.
-
describeNotificationConfigurationsAsync
public Future<DescribeNotificationConfigurationsResult> describeNotificationConfigurationsAsync(DescribeNotificationConfigurationsRequest request)
Description copied from interface:AmazonAutoScalingAsyncDescribes the notification actions associated with the specified Auto Scaling group.
- Specified by:
describeNotificationConfigurationsAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the DescribeNotificationConfigurations operation returned by the service.
-
describeNotificationConfigurationsAsync
public Future<DescribeNotificationConfigurationsResult> describeNotificationConfigurationsAsync(DescribeNotificationConfigurationsRequest request, AsyncHandler<DescribeNotificationConfigurationsRequest,DescribeNotificationConfigurationsResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncDescribes the notification actions associated with the specified Auto Scaling group.
- Specified by:
describeNotificationConfigurationsAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeNotificationConfigurations operation returned by the service.
-
describeNotificationConfigurationsAsync
public Future<DescribeNotificationConfigurationsResult> describeNotificationConfigurationsAsync()
Simplified method form for invoking the DescribeNotificationConfigurations operation.- Specified by:
describeNotificationConfigurationsAsyncin interfaceAmazonAutoScalingAsync- See Also:
describeNotificationConfigurationsAsync(DescribeNotificationConfigurationsRequest)
-
describeNotificationConfigurationsAsync
public Future<DescribeNotificationConfigurationsResult> describeNotificationConfigurationsAsync(AsyncHandler<DescribeNotificationConfigurationsRequest,DescribeNotificationConfigurationsResult> asyncHandler)
Simplified method form for invoking the DescribeNotificationConfigurations operation with an AsyncHandler.
-
describePoliciesAsync
public Future<DescribePoliciesResult> describePoliciesAsync(DescribePoliciesRequest request)
Description copied from interface:AmazonAutoScalingAsyncDescribes the policies for the specified Auto Scaling group.
- Specified by:
describePoliciesAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the DescribePolicies operation returned by the service.
-
describePoliciesAsync
public Future<DescribePoliciesResult> describePoliciesAsync(DescribePoliciesRequest request, AsyncHandler<DescribePoliciesRequest,DescribePoliciesResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncDescribes the policies for the specified Auto Scaling group.
- Specified by:
describePoliciesAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribePolicies operation returned by the service.
-
describePoliciesAsync
public Future<DescribePoliciesResult> describePoliciesAsync()
Simplified method form for invoking the DescribePolicies operation.- Specified by:
describePoliciesAsyncin interfaceAmazonAutoScalingAsync- See Also:
describePoliciesAsync(DescribePoliciesRequest)
-
describePoliciesAsync
public Future<DescribePoliciesResult> describePoliciesAsync(AsyncHandler<DescribePoliciesRequest,DescribePoliciesResult> asyncHandler)
Simplified method form for invoking the DescribePolicies operation with an AsyncHandler.- Specified by:
describePoliciesAsyncin interfaceAmazonAutoScalingAsync- See Also:
describePoliciesAsync(DescribePoliciesRequest, com.amazonaws.handlers.AsyncHandler)
-
describeScalingActivitiesAsync
public Future<DescribeScalingActivitiesResult> describeScalingActivitiesAsync(DescribeScalingActivitiesRequest request)
Description copied from interface:AmazonAutoScalingAsyncDescribes one or more scaling activities for the specified Auto Scaling group. If you omit the
ActivityIds, the call returns all activities from the past six weeks. Activities are sorted by the start time. Activities still in progress appear first on the list.- Specified by:
describeScalingActivitiesAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the DescribeScalingActivities operation returned by the service.
-
describeScalingActivitiesAsync
public Future<DescribeScalingActivitiesResult> describeScalingActivitiesAsync(DescribeScalingActivitiesRequest request, AsyncHandler<DescribeScalingActivitiesRequest,DescribeScalingActivitiesResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncDescribes one or more scaling activities for the specified Auto Scaling group. If you omit the
ActivityIds, the call returns all activities from the past six weeks. Activities are sorted by the start time. Activities still in progress appear first on the list.- Specified by:
describeScalingActivitiesAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeScalingActivities operation returned by the service.
-
describeScalingActivitiesAsync
public Future<DescribeScalingActivitiesResult> describeScalingActivitiesAsync()
Simplified method form for invoking the DescribeScalingActivities operation.- Specified by:
describeScalingActivitiesAsyncin interfaceAmazonAutoScalingAsync- See Also:
describeScalingActivitiesAsync(DescribeScalingActivitiesRequest)
-
describeScalingActivitiesAsync
public Future<DescribeScalingActivitiesResult> describeScalingActivitiesAsync(AsyncHandler<DescribeScalingActivitiesRequest,DescribeScalingActivitiesResult> asyncHandler)
Simplified method form for invoking the DescribeScalingActivities operation with an AsyncHandler.- Specified by:
describeScalingActivitiesAsyncin interfaceAmazonAutoScalingAsync- See Also:
describeScalingActivitiesAsync(DescribeScalingActivitiesRequest, com.amazonaws.handlers.AsyncHandler)
-
describeScalingProcessTypesAsync
public Future<DescribeScalingProcessTypesResult> describeScalingProcessTypesAsync(DescribeScalingProcessTypesRequest request)
Description copied from interface:AmazonAutoScalingAsyncDescribes the scaling process types for use with ResumeProcesses and SuspendProcesses.
- Specified by:
describeScalingProcessTypesAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the DescribeScalingProcessTypes operation returned by the service.
-
describeScalingProcessTypesAsync
public Future<DescribeScalingProcessTypesResult> describeScalingProcessTypesAsync(DescribeScalingProcessTypesRequest request, AsyncHandler<DescribeScalingProcessTypesRequest,DescribeScalingProcessTypesResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncDescribes the scaling process types for use with ResumeProcesses and SuspendProcesses.
- Specified by:
describeScalingProcessTypesAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeScalingProcessTypes operation returned by the service.
-
describeScalingProcessTypesAsync
public Future<DescribeScalingProcessTypesResult> describeScalingProcessTypesAsync()
Simplified method form for invoking the DescribeScalingProcessTypes operation.- Specified by:
describeScalingProcessTypesAsyncin interfaceAmazonAutoScalingAsync- See Also:
describeScalingProcessTypesAsync(DescribeScalingProcessTypesRequest)
-
describeScalingProcessTypesAsync
public Future<DescribeScalingProcessTypesResult> describeScalingProcessTypesAsync(AsyncHandler<DescribeScalingProcessTypesRequest,DescribeScalingProcessTypesResult> asyncHandler)
Simplified method form for invoking the DescribeScalingProcessTypes operation with an AsyncHandler.
-
describeScheduledActionsAsync
public Future<DescribeScheduledActionsResult> describeScheduledActionsAsync(DescribeScheduledActionsRequest request)
Description copied from interface:AmazonAutoScalingAsyncDescribes the actions scheduled for your Auto Scaling group that haven't run. To describe the actions that have already run, use DescribeScalingActivities.
- Specified by:
describeScheduledActionsAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the DescribeScheduledActions operation returned by the service.
-
describeScheduledActionsAsync
public Future<DescribeScheduledActionsResult> describeScheduledActionsAsync(DescribeScheduledActionsRequest request, AsyncHandler<DescribeScheduledActionsRequest,DescribeScheduledActionsResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncDescribes the actions scheduled for your Auto Scaling group that haven't run. To describe the actions that have already run, use DescribeScalingActivities.
- Specified by:
describeScheduledActionsAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeScheduledActions operation returned by the service.
-
describeScheduledActionsAsync
public Future<DescribeScheduledActionsResult> describeScheduledActionsAsync()
Simplified method form for invoking the DescribeScheduledActions operation.- Specified by:
describeScheduledActionsAsyncin interfaceAmazonAutoScalingAsync- See Also:
describeScheduledActionsAsync(DescribeScheduledActionsRequest)
-
describeScheduledActionsAsync
public Future<DescribeScheduledActionsResult> describeScheduledActionsAsync(AsyncHandler<DescribeScheduledActionsRequest,DescribeScheduledActionsResult> asyncHandler)
Simplified method form for invoking the DescribeScheduledActions operation with an AsyncHandler.- Specified by:
describeScheduledActionsAsyncin interfaceAmazonAutoScalingAsync- See Also:
describeScheduledActionsAsync(DescribeScheduledActionsRequest, com.amazonaws.handlers.AsyncHandler)
-
describeTagsAsync
public Future<DescribeTagsResult> describeTagsAsync(DescribeTagsRequest request)
Description copied from interface:AmazonAutoScalingAsyncDescribes the specified tags.
You can use filters to limit the results. For example, you can query for the tags for a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at least one of the specified values for it to be included in the results.
You can also specify multiple filters. The result includes information for a particular tag only if it matches all the filters. If there's no match, no special message is returned.
- Specified by:
describeTagsAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the DescribeTags operation returned by the service.
-
describeTagsAsync
public Future<DescribeTagsResult> describeTagsAsync(DescribeTagsRequest request, AsyncHandler<DescribeTagsRequest,DescribeTagsResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncDescribes the specified tags.
You can use filters to limit the results. For example, you can query for the tags for a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at least one of the specified values for it to be included in the results.
You can also specify multiple filters. The result includes information for a particular tag only if it matches all the filters. If there's no match, no special message is returned.
- Specified by:
describeTagsAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeTags operation returned by the service.
-
describeTagsAsync
public Future<DescribeTagsResult> describeTagsAsync()
Simplified method form for invoking the DescribeTags operation.- Specified by:
describeTagsAsyncin interfaceAmazonAutoScalingAsync- See Also:
describeTagsAsync(DescribeTagsRequest)
-
describeTagsAsync
public Future<DescribeTagsResult> describeTagsAsync(AsyncHandler<DescribeTagsRequest,DescribeTagsResult> asyncHandler)
Simplified method form for invoking the DescribeTags operation with an AsyncHandler.- Specified by:
describeTagsAsyncin interfaceAmazonAutoScalingAsync- See Also:
describeTagsAsync(DescribeTagsRequest, com.amazonaws.handlers.AsyncHandler)
-
describeTerminationPolicyTypesAsync
public Future<DescribeTerminationPolicyTypesResult> describeTerminationPolicyTypesAsync(DescribeTerminationPolicyTypesRequest request)
Description copied from interface:AmazonAutoScalingAsyncDescribes the termination policies supported by Auto Scaling.
- Specified by:
describeTerminationPolicyTypesAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the DescribeTerminationPolicyTypes operation returned by the service.
-
describeTerminationPolicyTypesAsync
public Future<DescribeTerminationPolicyTypesResult> describeTerminationPolicyTypesAsync(DescribeTerminationPolicyTypesRequest request, AsyncHandler<DescribeTerminationPolicyTypesRequest,DescribeTerminationPolicyTypesResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncDescribes the termination policies supported by Auto Scaling.
- Specified by:
describeTerminationPolicyTypesAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeTerminationPolicyTypes operation returned by the service.
-
describeTerminationPolicyTypesAsync
public Future<DescribeTerminationPolicyTypesResult> describeTerminationPolicyTypesAsync()
Simplified method form for invoking the DescribeTerminationPolicyTypes operation.- Specified by:
describeTerminationPolicyTypesAsyncin interfaceAmazonAutoScalingAsync- See Also:
describeTerminationPolicyTypesAsync(DescribeTerminationPolicyTypesRequest)
-
describeTerminationPolicyTypesAsync
public Future<DescribeTerminationPolicyTypesResult> describeTerminationPolicyTypesAsync(AsyncHandler<DescribeTerminationPolicyTypesRequest,DescribeTerminationPolicyTypesResult> asyncHandler)
Simplified method form for invoking the DescribeTerminationPolicyTypes operation with an AsyncHandler.
-
detachInstancesAsync
public Future<DetachInstancesResult> detachInstancesAsync(DetachInstancesRequest request)
Description copied from interface:AmazonAutoScalingAsyncRemoves one or more instances from the specified Auto Scaling group.
After the instances are detached, you can manage them independently from the rest of the Auto Scaling group.
If you do not specify the option to decrement the desired capacity, Auto Scaling launches instances to replace the ones that are detached.
For more information, see Detach EC2 Instances from Your Auto Scaling Group in the Auto Scaling Developer Guide.
- Specified by:
detachInstancesAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the DetachInstances operation returned by the service.
-
detachInstancesAsync
public Future<DetachInstancesResult> detachInstancesAsync(DetachInstancesRequest request, AsyncHandler<DetachInstancesRequest,DetachInstancesResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncRemoves one or more instances from the specified Auto Scaling group.
After the instances are detached, you can manage them independently from the rest of the Auto Scaling group.
If you do not specify the option to decrement the desired capacity, Auto Scaling launches instances to replace the ones that are detached.
For more information, see Detach EC2 Instances from Your Auto Scaling Group in the Auto Scaling Developer Guide.
- Specified by:
detachInstancesAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DetachInstances operation returned by the service.
-
detachLoadBalancersAsync
public Future<DetachLoadBalancersResult> detachLoadBalancersAsync(DetachLoadBalancersRequest request)
Description copied from interface:AmazonAutoScalingAsyncRemoves one or more load balancers from the specified Auto Scaling group.
When you detach a load balancer, it enters the
Removingstate while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the load balancer using DescribeLoadBalancers. Note that the instances remain running.- Specified by:
detachLoadBalancersAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the DetachLoadBalancers operation returned by the service.
-
detachLoadBalancersAsync
public Future<DetachLoadBalancersResult> detachLoadBalancersAsync(DetachLoadBalancersRequest request, AsyncHandler<DetachLoadBalancersRequest,DetachLoadBalancersResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncRemoves one or more load balancers from the specified Auto Scaling group.
When you detach a load balancer, it enters the
Removingstate while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the load balancer using DescribeLoadBalancers. Note that the instances remain running.- Specified by:
detachLoadBalancersAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DetachLoadBalancers operation returned by the service.
-
detachLoadBalancersAsync
public Future<DetachLoadBalancersResult> detachLoadBalancersAsync()
Simplified method form for invoking the DetachLoadBalancers operation.- Specified by:
detachLoadBalancersAsyncin interfaceAmazonAutoScalingAsync- See Also:
detachLoadBalancersAsync(DetachLoadBalancersRequest)
-
detachLoadBalancersAsync
public Future<DetachLoadBalancersResult> detachLoadBalancersAsync(AsyncHandler<DetachLoadBalancersRequest,DetachLoadBalancersResult> asyncHandler)
Simplified method form for invoking the DetachLoadBalancers operation with an AsyncHandler.- Specified by:
detachLoadBalancersAsyncin interfaceAmazonAutoScalingAsync- See Also:
detachLoadBalancersAsync(DetachLoadBalancersRequest, com.amazonaws.handlers.AsyncHandler)
-
disableMetricsCollectionAsync
public Future<DisableMetricsCollectionResult> disableMetricsCollectionAsync(DisableMetricsCollectionRequest request)
Description copied from interface:AmazonAutoScalingAsyncDisables monitoring of the specified metrics for the specified Auto Scaling group.
- Specified by:
disableMetricsCollectionAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the DisableMetricsCollection operation returned by the service.
-
disableMetricsCollectionAsync
public Future<DisableMetricsCollectionResult> disableMetricsCollectionAsync(DisableMetricsCollectionRequest request, AsyncHandler<DisableMetricsCollectionRequest,DisableMetricsCollectionResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncDisables monitoring of the specified metrics for the specified Auto Scaling group.
- Specified by:
disableMetricsCollectionAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DisableMetricsCollection operation returned by the service.
-
enableMetricsCollectionAsync
public Future<EnableMetricsCollectionResult> enableMetricsCollectionAsync(EnableMetricsCollectionRequest request)
Description copied from interface:AmazonAutoScalingAsyncEnables monitoring of the specified metrics for the specified Auto Scaling group.
You can only enable metrics collection if
InstanceMonitoringin the launch configuration for the group is set toTrue.- Specified by:
enableMetricsCollectionAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the EnableMetricsCollection operation returned by the service.
-
enableMetricsCollectionAsync
public Future<EnableMetricsCollectionResult> enableMetricsCollectionAsync(EnableMetricsCollectionRequest request, AsyncHandler<EnableMetricsCollectionRequest,EnableMetricsCollectionResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncEnables monitoring of the specified metrics for the specified Auto Scaling group.
You can only enable metrics collection if
InstanceMonitoringin the launch configuration for the group is set toTrue.- Specified by:
enableMetricsCollectionAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the EnableMetricsCollection operation returned by the service.
-
enterStandbyAsync
public Future<EnterStandbyResult> enterStandbyAsync(EnterStandbyRequest request)
Description copied from interface:AmazonAutoScalingAsyncMoves the specified instances into
Standbymode.For more information, see Auto Scaling Lifecycle in the Auto Scaling Developer Guide.
- Specified by:
enterStandbyAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the EnterStandby operation returned by the service.
-
enterStandbyAsync
public Future<EnterStandbyResult> enterStandbyAsync(EnterStandbyRequest request, AsyncHandler<EnterStandbyRequest,EnterStandbyResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncMoves the specified instances into
Standbymode.For more information, see Auto Scaling Lifecycle in the Auto Scaling Developer Guide.
- Specified by:
enterStandbyAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the EnterStandby operation returned by the service.
-
executePolicyAsync
public Future<ExecutePolicyResult> executePolicyAsync(ExecutePolicyRequest request)
Description copied from interface:AmazonAutoScalingAsyncExecutes the specified policy.
- Specified by:
executePolicyAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the ExecutePolicy operation returned by the service.
-
executePolicyAsync
public Future<ExecutePolicyResult> executePolicyAsync(ExecutePolicyRequest request, AsyncHandler<ExecutePolicyRequest,ExecutePolicyResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncExecutes the specified policy.
- Specified by:
executePolicyAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ExecutePolicy operation returned by the service.
-
exitStandbyAsync
public Future<ExitStandbyResult> exitStandbyAsync(ExitStandbyRequest request)
Description copied from interface:AmazonAutoScalingAsyncMoves the specified instances out of
Standbymode.For more information, see Auto Scaling Lifecycle in the Auto Scaling Developer Guide.
- Specified by:
exitStandbyAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the ExitStandby operation returned by the service.
-
exitStandbyAsync
public Future<ExitStandbyResult> exitStandbyAsync(ExitStandbyRequest request, AsyncHandler<ExitStandbyRequest,ExitStandbyResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncMoves the specified instances out of
Standbymode.For more information, see Auto Scaling Lifecycle in the Auto Scaling Developer Guide.
- Specified by:
exitStandbyAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ExitStandby operation returned by the service.
-
putLifecycleHookAsync
public Future<PutLifecycleHookResult> putLifecycleHookAsync(PutLifecycleHookRequest request)
Description copied from interface:AmazonAutoScalingAsyncCreates or updates a lifecycle hook for the specified Auto Scaling Group.
A lifecycle hook tells Auto Scaling that you want to perform an action on an instance that is not actively in service; for example, either when the instance launches or before the instance terminates.
This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:
- (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances.
- (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target.
- Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.
- If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.
- If you finish before the timeout period ends, complete the lifecycle action.
For more information, see Auto Scaling Lifecycle in the Auto Scaling Developer Guide.
If you exceed your maximum limit of lifecycle hooks, which by default is 50 per region, the call fails. For information about updating this limit, see AWS Service Limits in the Amazon Web Services General Reference.
- Specified by:
putLifecycleHookAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the PutLifecycleHook operation returned by the service.
-
putLifecycleHookAsync
public Future<PutLifecycleHookResult> putLifecycleHookAsync(PutLifecycleHookRequest request, AsyncHandler<PutLifecycleHookRequest,PutLifecycleHookResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncCreates or updates a lifecycle hook for the specified Auto Scaling Group.
A lifecycle hook tells Auto Scaling that you want to perform an action on an instance that is not actively in service; for example, either when the instance launches or before the instance terminates.
This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:
- (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances.
- (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target.
- Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.
- If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.
- If you finish before the timeout period ends, complete the lifecycle action.
For more information, see Auto Scaling Lifecycle in the Auto Scaling Developer Guide.
If you exceed your maximum limit of lifecycle hooks, which by default is 50 per region, the call fails. For information about updating this limit, see AWS Service Limits in the Amazon Web Services General Reference.
- Specified by:
putLifecycleHookAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the PutLifecycleHook operation returned by the service.
-
putNotificationConfigurationAsync
public Future<PutNotificationConfigurationResult> putNotificationConfigurationAsync(PutNotificationConfigurationRequest request)
Description copied from interface:AmazonAutoScalingAsyncConfigures an Auto Scaling group to send notifications when specified events take place. Subscribers to this topic can have messages for events delivered to an endpoint such as a web server or email address.
For more information see Getting Notifications When Your Auto Scaling Group Changes in the Auto Scaling Developer Guide.
This configuration overwrites an existing configuration.
- Specified by:
putNotificationConfigurationAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the PutNotificationConfiguration operation returned by the service.
-
putNotificationConfigurationAsync
public Future<PutNotificationConfigurationResult> putNotificationConfigurationAsync(PutNotificationConfigurationRequest request, AsyncHandler<PutNotificationConfigurationRequest,PutNotificationConfigurationResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncConfigures an Auto Scaling group to send notifications when specified events take place. Subscribers to this topic can have messages for events delivered to an endpoint such as a web server or email address.
For more information see Getting Notifications When Your Auto Scaling Group Changes in the Auto Scaling Developer Guide.
This configuration overwrites an existing configuration.
- Specified by:
putNotificationConfigurationAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the PutNotificationConfiguration operation returned by the service.
-
putScalingPolicyAsync
public Future<PutScalingPolicyResult> putScalingPolicyAsync(PutScalingPolicyRequest request)
Description copied from interface:AmazonAutoScalingAsyncCreates or updates a policy for an Auto Scaling group. To update an existing policy, use the existing policy name and set the parameters you want to change. Any existing parameter not changed in an update to an existing policy is not changed in this update request.
If you exceed your maximum limit of step adjustments, which by default is 20 per region, the call fails. For information about updating this limit, see AWS Service Limits in the Amazon Web Services General Reference.
- Specified by:
putScalingPolicyAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the PutScalingPolicy operation returned by the service.
-
putScalingPolicyAsync
public Future<PutScalingPolicyResult> putScalingPolicyAsync(PutScalingPolicyRequest request, AsyncHandler<PutScalingPolicyRequest,PutScalingPolicyResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncCreates or updates a policy for an Auto Scaling group. To update an existing policy, use the existing policy name and set the parameters you want to change. Any existing parameter not changed in an update to an existing policy is not changed in this update request.
If you exceed your maximum limit of step adjustments, which by default is 20 per region, the call fails. For information about updating this limit, see AWS Service Limits in the Amazon Web Services General Reference.
- Specified by:
putScalingPolicyAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the PutScalingPolicy operation returned by the service.
-
putScheduledUpdateGroupActionAsync
public Future<PutScheduledUpdateGroupActionResult> putScheduledUpdateGroupActionAsync(PutScheduledUpdateGroupActionRequest request)
Description copied from interface:AmazonAutoScalingAsyncCreates or updates a scheduled scaling action for an Auto Scaling group. When updating a scheduled scaling action, if you leave a parameter unspecified, the corresponding value remains unchanged in the affected Auto Scaling group.
For more information, see Scheduled Scaling in the Auto Scaling Developer Guide.
- Specified by:
putScheduledUpdateGroupActionAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the PutScheduledUpdateGroupAction operation returned by the service.
-
putScheduledUpdateGroupActionAsync
public Future<PutScheduledUpdateGroupActionResult> putScheduledUpdateGroupActionAsync(PutScheduledUpdateGroupActionRequest request, AsyncHandler<PutScheduledUpdateGroupActionRequest,PutScheduledUpdateGroupActionResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncCreates or updates a scheduled scaling action for an Auto Scaling group. When updating a scheduled scaling action, if you leave a parameter unspecified, the corresponding value remains unchanged in the affected Auto Scaling group.
For more information, see Scheduled Scaling in the Auto Scaling Developer Guide.
- Specified by:
putScheduledUpdateGroupActionAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the PutScheduledUpdateGroupAction operation returned by the service.
-
recordLifecycleActionHeartbeatAsync
public Future<RecordLifecycleActionHeartbeatResult> recordLifecycleActionHeartbeatAsync(RecordLifecycleActionHeartbeatRequest request)
Description copied from interface:AmazonAutoScalingAsyncRecords a heartbeat for the lifecycle action associated with the specified token or instance. This extends the timeout by the length of time defined using PutLifecycleHook.
This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:
- (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances.
- (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target.
- Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.
- If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.
- If you finish before the timeout period ends, complete the lifecycle action.
For more information, see Auto Scaling Lifecycle in the Auto Scaling Developer Guide.
- Specified by:
recordLifecycleActionHeartbeatAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the RecordLifecycleActionHeartbeat operation returned by the service.
-
recordLifecycleActionHeartbeatAsync
public Future<RecordLifecycleActionHeartbeatResult> recordLifecycleActionHeartbeatAsync(RecordLifecycleActionHeartbeatRequest request, AsyncHandler<RecordLifecycleActionHeartbeatRequest,RecordLifecycleActionHeartbeatResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncRecords a heartbeat for the lifecycle action associated with the specified token or instance. This extends the timeout by the length of time defined using PutLifecycleHook.
This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:
- (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances.
- (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target.
- Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.
- If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.
- If you finish before the timeout period ends, complete the lifecycle action.
For more information, see Auto Scaling Lifecycle in the Auto Scaling Developer Guide.
- Specified by:
recordLifecycleActionHeartbeatAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the RecordLifecycleActionHeartbeat operation returned by the service.
-
resumeProcessesAsync
public Future<ResumeProcessesResult> resumeProcessesAsync(ResumeProcessesRequest request)
Description copied from interface:AmazonAutoScalingAsyncResumes the specified suspended Auto Scaling processes, or all suspended process, for the specified Auto Scaling group.
For more information, see Suspending and Resuming Auto Scaling Processes in the Auto Scaling Developer Guide.
- Specified by:
resumeProcessesAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the ResumeProcesses operation returned by the service.
-
resumeProcessesAsync
public Future<ResumeProcessesResult> resumeProcessesAsync(ResumeProcessesRequest request, AsyncHandler<ResumeProcessesRequest,ResumeProcessesResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncResumes the specified suspended Auto Scaling processes, or all suspended process, for the specified Auto Scaling group.
For more information, see Suspending and Resuming Auto Scaling Processes in the Auto Scaling Developer Guide.
- Specified by:
resumeProcessesAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ResumeProcesses operation returned by the service.
-
setDesiredCapacityAsync
public Future<SetDesiredCapacityResult> setDesiredCapacityAsync(SetDesiredCapacityRequest request)
Description copied from interface:AmazonAutoScalingAsyncSets the size of the specified Auto Scaling group.
For more information about desired capacity, see What Is Auto Scaling? in the Auto Scaling Developer Guide.
- Specified by:
setDesiredCapacityAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the SetDesiredCapacity operation returned by the service.
-
setDesiredCapacityAsync
public Future<SetDesiredCapacityResult> setDesiredCapacityAsync(SetDesiredCapacityRequest request, AsyncHandler<SetDesiredCapacityRequest,SetDesiredCapacityResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncSets the size of the specified Auto Scaling group.
For more information about desired capacity, see What Is Auto Scaling? in the Auto Scaling Developer Guide.
- Specified by:
setDesiredCapacityAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the SetDesiredCapacity operation returned by the service.
-
setInstanceHealthAsync
public Future<SetInstanceHealthResult> setInstanceHealthAsync(SetInstanceHealthRequest request)
Description copied from interface:AmazonAutoScalingAsyncSets the health status of the specified instance.
For more information, see Health Checks in the Auto Scaling Developer Guide.
- Specified by:
setInstanceHealthAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the SetInstanceHealth operation returned by the service.
-
setInstanceHealthAsync
public Future<SetInstanceHealthResult> setInstanceHealthAsync(SetInstanceHealthRequest request, AsyncHandler<SetInstanceHealthRequest,SetInstanceHealthResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncSets the health status of the specified instance.
For more information, see Health Checks in the Auto Scaling Developer Guide.
- Specified by:
setInstanceHealthAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the SetInstanceHealth operation returned by the service.
-
setInstanceProtectionAsync
public Future<SetInstanceProtectionResult> setInstanceProtectionAsync(SetInstanceProtectionRequest request)
Description copied from interface:AmazonAutoScalingAsyncUpdates the instance protection settings of the specified instances.
For more information, see Instance Protection in the Auto Scaling Developer Guide.
- Specified by:
setInstanceProtectionAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the SetInstanceProtection operation returned by the service.
-
setInstanceProtectionAsync
public Future<SetInstanceProtectionResult> setInstanceProtectionAsync(SetInstanceProtectionRequest request, AsyncHandler<SetInstanceProtectionRequest,SetInstanceProtectionResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncUpdates the instance protection settings of the specified instances.
For more information, see Instance Protection in the Auto Scaling Developer Guide.
- Specified by:
setInstanceProtectionAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the SetInstanceProtection operation returned by the service.
-
suspendProcessesAsync
public Future<SuspendProcessesResult> suspendProcessesAsync(SuspendProcessesRequest request)
Description copied from interface:AmazonAutoScalingAsyncSuspends the specified Auto Scaling processes, or all processes, for the specified Auto Scaling group.
Note that if you suspend either the
LaunchorTerminateprocess types, it can prevent other process types from functioning properly.To resume processes that have been suspended, use ResumeProcesses.
For more information, see Suspending and Resuming Auto Scaling Processes in the Auto Scaling Developer Guide.
- Specified by:
suspendProcessesAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the SuspendProcesses operation returned by the service.
-
suspendProcessesAsync
public Future<SuspendProcessesResult> suspendProcessesAsync(SuspendProcessesRequest request, AsyncHandler<SuspendProcessesRequest,SuspendProcessesResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncSuspends the specified Auto Scaling processes, or all processes, for the specified Auto Scaling group.
Note that if you suspend either the
LaunchorTerminateprocess types, it can prevent other process types from functioning properly.To resume processes that have been suspended, use ResumeProcesses.
For more information, see Suspending and Resuming Auto Scaling Processes in the Auto Scaling Developer Guide.
- Specified by:
suspendProcessesAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the SuspendProcesses operation returned by the service.
-
terminateInstanceInAutoScalingGroupAsync
public Future<TerminateInstanceInAutoScalingGroupResult> terminateInstanceInAutoScalingGroupAsync(TerminateInstanceInAutoScalingGroupRequest request)
Description copied from interface:AmazonAutoScalingAsyncTerminates the specified instance and optionally adjusts the desired group size.
This call simply makes a termination request. The instance is not terminated immediately.
- Specified by:
terminateInstanceInAutoScalingGroupAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the TerminateInstanceInAutoScalingGroup operation returned by the service.
-
terminateInstanceInAutoScalingGroupAsync
public Future<TerminateInstanceInAutoScalingGroupResult> terminateInstanceInAutoScalingGroupAsync(TerminateInstanceInAutoScalingGroupRequest request, AsyncHandler<TerminateInstanceInAutoScalingGroupRequest,TerminateInstanceInAutoScalingGroupResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncTerminates the specified instance and optionally adjusts the desired group size.
This call simply makes a termination request. The instance is not terminated immediately.
- Specified by:
terminateInstanceInAutoScalingGroupAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the TerminateInstanceInAutoScalingGroup operation returned by the service.
-
updateAutoScalingGroupAsync
public Future<UpdateAutoScalingGroupResult> updateAutoScalingGroupAsync(UpdateAutoScalingGroupRequest request)
Description copied from interface:AmazonAutoScalingAsyncUpdates the configuration for the specified Auto Scaling group.
To update an Auto Scaling group with a launch configuration with
InstanceMonitoringset toFalse, you must first disable the collection of group metrics. Otherwise, you will get an error. If you have previously enabled the collection of group metrics, you can disable it using DisableMetricsCollection.The new settings are registered upon the completion of this call. Any launch configuration settings take effect on any triggers after this call returns. Scaling activities that are currently in progress aren't affected.
Note the following:
-
If you specify a new value for
MinSizewithout specifying a value forDesiredCapacity, and the newMinSizeis larger than the current size of the group, we implicitly call SetDesiredCapacity to set the size of the group to the new value ofMinSize. -
If you specify a new value for
MaxSizewithout specifying a value forDesiredCapacity, and the newMaxSizeis smaller than the current size of the group, we implicitly call SetDesiredCapacity to set the size of the group to the new value ofMaxSize. -
All other optional parameters are left unchanged if not specified.
- Specified by:
updateAutoScalingGroupAsyncin interfaceAmazonAutoScalingAsync- Returns:
- A Java Future containing the result of the UpdateAutoScalingGroup operation returned by the service.
-
-
updateAutoScalingGroupAsync
public Future<UpdateAutoScalingGroupResult> updateAutoScalingGroupAsync(UpdateAutoScalingGroupRequest request, AsyncHandler<UpdateAutoScalingGroupRequest,UpdateAutoScalingGroupResult> asyncHandler)
Description copied from interface:AmazonAutoScalingAsyncUpdates the configuration for the specified Auto Scaling group.
To update an Auto Scaling group with a launch configuration with
InstanceMonitoringset toFalse, you must first disable the collection of group metrics. Otherwise, you will get an error. If you have previously enabled the collection of group metrics, you can disable it using DisableMetricsCollection.The new settings are registered upon the completion of this call. Any launch configuration settings take effect on any triggers after this call returns. Scaling activities that are currently in progress aren't affected.
Note the following:
-
If you specify a new value for
MinSizewithout specifying a value forDesiredCapacity, and the newMinSizeis larger than the current size of the group, we implicitly call SetDesiredCapacity to set the size of the group to the new value ofMinSize. -
If you specify a new value for
MaxSizewithout specifying a value forDesiredCapacity, and the newMaxSizeis smaller than the current size of the group, we implicitly call SetDesiredCapacity to set the size of the group to the new value ofMaxSize. -
All other optional parameters are left unchanged if not specified.
- Specified by:
updateAutoScalingGroupAsyncin interfaceAmazonAutoScalingAsyncasyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UpdateAutoScalingGroup operation returned by the service.
-
-
-