public interface AmazonAutoScalingAsync extends AmazonAutoScaling
Auto Scaling is designed to automatically launch or terminate EC2 instances based on user-defined policies, schedules, and health checks. Use this service in conjunction with the Amazon CloudWatch and Elastic Load Balancing services.
attachInstances, 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, describeMetricCollectionTypes, describeMetricCollectionTypes, describeNotificationConfigurations, describeNotificationConfigurations, describePolicies, describePolicies, describeScalingActivities, describeScalingActivities, describeScalingProcessTypes, describeScalingProcessTypes, describeScheduledActions, describeScheduledActions, describeTags, describeTags, describeTerminationPolicyTypes, describeTerminationPolicyTypes, detachInstances, disableMetricsCollection, enableMetricsCollection, enterStandby, executePolicy, exitStandby, getCachedResponseMetadata, putLifecycleHook, putNotificationConfiguration, putScalingPolicy, putScheduledUpdateGroupAction, recordLifecycleActionHeartbeat, resumeProcesses, setDesiredCapacity, setEndpoint, setInstanceHealth, setRegion, shutdown, suspendProcesses, terminateInstanceInAutoScalingGroup, updateAutoScalingGroup
Future<DescribeAccountLimitsResult> describeAccountLimitsAsync(DescribeAccountLimitsRequest describeAccountLimitsRequest) throws AmazonServiceException, AmazonClientException
Describes the current Auto Scaling resource limits for your AWS account.
For information about requesting an increase in these limits, see AWS Service Limits .
describeAccountLimitsRequest
- Container for the necessary
parameters to execute the DescribeAccountLimits operation on
AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribeAccountLimitsResult> describeAccountLimitsAsync(DescribeAccountLimitsRequest describeAccountLimitsRequest, AsyncHandler<DescribeAccountLimitsRequest,DescribeAccountLimitsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the current Auto Scaling resource limits for your AWS account.
For information about requesting an increase in these limits, see AWS Service Limits .
describeAccountLimitsRequest
- Container for the necessary
parameters to execute the DescribeAccountLimits operation on
AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribeAutoScalingGroupsResult> describeAutoScalingGroupsAsync(DescribeAutoScalingGroupsRequest describeAutoScalingGroupsRequest) throws AmazonServiceException, AmazonClientException
Describes one or more Auto Scaling groups. If a list of names is not provided, the call describes all Auto Scaling groups.
You can specify a maximum number of items to be returned with a
single call. If there are more items to return, the call returns a
token. To get the next set of items, repeat the call with the returned
token in the NextToken
parameter.
describeAutoScalingGroupsRequest
- Container for the necessary
parameters to execute the DescribeAutoScalingGroups operation on
AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribeAutoScalingGroupsResult> describeAutoScalingGroupsAsync(DescribeAutoScalingGroupsRequest describeAutoScalingGroupsRequest, AsyncHandler<DescribeAutoScalingGroupsRequest,DescribeAutoScalingGroupsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes one or more Auto Scaling groups. If a list of names is not provided, the call describes all Auto Scaling groups.
You can specify a maximum number of items to be returned with a
single call. If there are more items to return, the call returns a
token. To get the next set of items, repeat the call with the returned
token in the NextToken
parameter.
describeAutoScalingGroupsRequest
- Container for the necessary
parameters to execute the DescribeAutoScalingGroups operation on
AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> enableMetricsCollectionAsync(EnableMetricsCollectionRequest enableMetricsCollectionRequest) throws AmazonServiceException, AmazonClientException
Enables monitoring of the specified metrics for the specified Auto Scaling group.
You can only enable metrics collection if
InstanceMonitoring
in the launch configuration for the
group is set to True
.
enableMetricsCollectionRequest
- Container for the necessary
parameters to execute the EnableMetricsCollection operation on
AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> enableMetricsCollectionAsync(EnableMetricsCollectionRequest enableMetricsCollectionRequest, AsyncHandler<EnableMetricsCollectionRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Enables monitoring of the specified metrics for the specified Auto Scaling group.
You can only enable metrics collection if
InstanceMonitoring
in the launch configuration for the
group is set to True
.
enableMetricsCollectionRequest
- Container for the necessary
parameters to execute the EnableMetricsCollection operation on
AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> resumeProcessesAsync(ResumeProcessesRequest resumeProcessesRequest) throws AmazonServiceException, AmazonClientException
Resumes the specified suspended Auto Scaling processes for the
specified Auto Scaling group. To resume specific processes, use the
ScalingProcesses
parameter. To resume all processes, omit
the ScalingProcesses
parameter. For more information, see
Suspend and Resume Auto Scaling Processes
in the Auto Scaling Developer Guide .
resumeProcessesRequest
- Container for the necessary parameters
to execute the ResumeProcesses operation on AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> resumeProcessesAsync(ResumeProcessesRequest resumeProcessesRequest, AsyncHandler<ResumeProcessesRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Resumes the specified suspended Auto Scaling processes for the
specified Auto Scaling group. To resume specific processes, use the
ScalingProcesses
parameter. To resume all processes, omit
the ScalingProcesses
parameter. For more information, see
Suspend and Resume Auto Scaling Processes
in the Auto Scaling Developer Guide .
resumeProcessesRequest
- Container for the necessary parameters
to execute the ResumeProcesses operation on AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribeLifecycleHooksResult> describeLifecycleHooksAsync(DescribeLifecycleHooksRequest describeLifecycleHooksRequest) throws AmazonServiceException, AmazonClientException
Describes the lifecycle hooks for the specified Auto Scaling group.
describeLifecycleHooksRequest
- Container for the necessary
parameters to execute the DescribeLifecycleHooks operation on
AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribeLifecycleHooksResult> describeLifecycleHooksAsync(DescribeLifecycleHooksRequest describeLifecycleHooksRequest, AsyncHandler<DescribeLifecycleHooksRequest,DescribeLifecycleHooksResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the lifecycle hooks for the specified Auto Scaling group.
describeLifecycleHooksRequest
- Container for the necessary
parameters to execute the DescribeLifecycleHooks operation on
AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribePoliciesResult> describePoliciesAsync(DescribePoliciesRequest describePoliciesRequest) throws AmazonServiceException, AmazonClientException
Describes the policies for the specified Auto Scaling group.
You can specify a maximum number of items to be returned with a
single call. If there are more items to return, the call returns a
token. To get the next set of items, repeat the call with the returned
token in the NextToken
parameter.
describePoliciesRequest
- Container for the necessary parameters
to execute the DescribePolicies operation on AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribePoliciesResult> describePoliciesAsync(DescribePoliciesRequest describePoliciesRequest, AsyncHandler<DescribePoliciesRequest,DescribePoliciesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the policies for the specified Auto Scaling group.
You can specify a maximum number of items to be returned with a
single call. If there are more items to return, the call returns a
token. To get the next set of items, repeat the call with the returned
token in the NextToken
parameter.
describePoliciesRequest
- Container for the necessary parameters
to execute the DescribePolicies operation on AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribeScalingProcessTypesResult> describeScalingProcessTypesAsync(DescribeScalingProcessTypesRequest describeScalingProcessTypesRequest) throws AmazonServiceException, AmazonClientException
Returns scaling process types for use in the ResumeProcesses and SuspendProcesses actions.
describeScalingProcessTypesRequest
- Container for the necessary
parameters to execute the DescribeScalingProcessTypes operation on
AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribeScalingProcessTypesResult> describeScalingProcessTypesAsync(DescribeScalingProcessTypesRequest describeScalingProcessTypesRequest, AsyncHandler<DescribeScalingProcessTypesRequest,DescribeScalingProcessTypesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns scaling process types for use in the ResumeProcesses and SuspendProcesses actions.
describeScalingProcessTypesRequest
- Container for the necessary
parameters to execute the DescribeScalingProcessTypes operation on
AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> deleteLaunchConfigurationAsync(DeleteLaunchConfigurationRequest deleteLaunchConfigurationRequest) throws AmazonServiceException, AmazonClientException
Deletes the specified launch configuration.
The launch configuration must not be attached to an Auto Scaling group. When this call completes, the launch configuration is no longer available for use.
deleteLaunchConfigurationRequest
- Container for the necessary
parameters to execute the DeleteLaunchConfiguration operation on
AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> deleteLaunchConfigurationAsync(DeleteLaunchConfigurationRequest deleteLaunchConfigurationRequest, AsyncHandler<DeleteLaunchConfigurationRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes the specified launch configuration.
The launch configuration must not be attached to an Auto Scaling group. When this call completes, the launch configuration is no longer available for use.
deleteLaunchConfigurationRequest
- Container for the necessary
parameters to execute the DeleteLaunchConfiguration operation on
AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> createAutoScalingGroupAsync(CreateAutoScalingGroupRequest createAutoScalingGroupRequest) throws AmazonServiceException, AmazonClientException
Creates an Auto Scaling group with the specified name and attributes.
If you exceed your maximum limit of Auto Scaling groups, which by default is 20 per region, the call fails. For information about viewing and updating these limits, see DescribeAccountLimits.
createAutoScalingGroupRequest
- Container for the necessary
parameters to execute the CreateAutoScalingGroup operation on
AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> createAutoScalingGroupAsync(CreateAutoScalingGroupRequest createAutoScalingGroupRequest, AsyncHandler<CreateAutoScalingGroupRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates an Auto Scaling group with the specified name and attributes.
If you exceed your maximum limit of Auto Scaling groups, which by default is 20 per region, the call fails. For information about viewing and updating these limits, see DescribeAccountLimits.
createAutoScalingGroupRequest
- Container for the necessary
parameters to execute the CreateAutoScalingGroup operation on
AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> attachInstancesAsync(AttachInstancesRequest attachInstancesRequest) throws AmazonServiceException, AmazonClientException
Attaches one or more EC2 instances to the specified Auto Scaling group.
For more information, see Attach Amazon EC2 Instances to Your Existing Auto Scaling Group in the Auto Scaling Developer Guide .
attachInstancesRequest
- Container for the necessary parameters
to execute the AttachInstances operation on AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> attachInstancesAsync(AttachInstancesRequest attachInstancesRequest, AsyncHandler<AttachInstancesRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Attaches one or more EC2 instances to the specified Auto Scaling group.
For more information, see Attach Amazon EC2 Instances to Your Existing Auto Scaling Group in the Auto Scaling Developer Guide .
attachInstancesRequest
- Container for the necessary parameters
to execute the AttachInstances operation on AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribeScalingActivitiesResult> describeScalingActivitiesAsync(DescribeScalingActivitiesRequest describeScalingActivitiesRequest) throws AmazonServiceException, AmazonClientException
Describes one or more scaling activities for the specified Auto
Scaling group. If you omit the ActivityIds
, the call
returns all activities from the past six weeks. Activities are sorted
by the start time. Activities still in progress appear first on the
list.
You can specify a maximum number of items to be returned with a
single call. If there are more items to return, the call returns a
token. To get the next set of items, repeat the call with the returned
token in the NextToken
parameter.
describeScalingActivitiesRequest
- Container for the necessary
parameters to execute the DescribeScalingActivities operation on
AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribeScalingActivitiesResult> describeScalingActivitiesAsync(DescribeScalingActivitiesRequest describeScalingActivitiesRequest, AsyncHandler<DescribeScalingActivitiesRequest,DescribeScalingActivitiesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes one or more scaling activities for the specified Auto
Scaling group. If you omit the ActivityIds
, the call
returns all activities from the past six weeks. Activities are sorted
by the start time. Activities still in progress appear first on the
list.
You can specify a maximum number of items to be returned with a
single call. If there are more items to return, the call returns a
token. To get the next set of items, repeat the call with the returned
token in the NextToken
parameter.
describeScalingActivitiesRequest
- Container for the necessary
parameters to execute the DescribeScalingActivities operation on
AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribeNotificationConfigurationsResult> describeNotificationConfigurationsAsync(DescribeNotificationConfigurationsRequest describeNotificationConfigurationsRequest) throws AmazonServiceException, AmazonClientException
Describes the notification actions associated with the specified Auto Scaling group.
describeNotificationConfigurationsRequest
- Container for the
necessary parameters to execute the DescribeNotificationConfigurations
operation on AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribeNotificationConfigurationsResult> describeNotificationConfigurationsAsync(DescribeNotificationConfigurationsRequest describeNotificationConfigurationsRequest, AsyncHandler<DescribeNotificationConfigurationsRequest,DescribeNotificationConfigurationsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the notification actions associated with the specified Auto Scaling group.
describeNotificationConfigurationsRequest
- Container for the
necessary parameters to execute the DescribeNotificationConfigurations
operation on AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DeleteLifecycleHookResult> deleteLifecycleHookAsync(DeleteLifecycleHookRequest deleteLifecycleHookRequest) throws AmazonServiceException, AmazonClientException
Deletes the specified lifecycle hook.
If there are any outstanding lifecycle actions, they are completed
first ( ABANDON
for launching instances,
CONTINUE
for terminating instances).
deleteLifecycleHookRequest
- Container for the necessary
parameters to execute the DeleteLifecycleHook operation on
AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DeleteLifecycleHookResult> deleteLifecycleHookAsync(DeleteLifecycleHookRequest deleteLifecycleHookRequest, AsyncHandler<DeleteLifecycleHookRequest,DeleteLifecycleHookResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes the specified lifecycle hook.
If there are any outstanding lifecycle actions, they are completed
first ( ABANDON
for launching instances,
CONTINUE
for terminating instances).
deleteLifecycleHookRequest
- Container for the necessary
parameters to execute the DeleteLifecycleHook operation on
AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<PutLifecycleHookResult> putLifecycleHookAsync(PutLifecycleHookRequest putLifecycleHookRequest) throws AmazonServiceException, AmazonClientException
Creates or updates a lifecycle hook for the specified Auto Scaling Group.
A lifecycle hook tells Auto Scaling that you want to perform an action on an instance that is not actively in service; for example, either when the instance launches or before the instance terminates.
This operation is a part of the basic sequence for adding a lifecycle hook to an Auto Scaling group:
For more information, see Auto Scaling Pending State and Auto Scaling Terminating State in the Auto Scaling Developer Guide .
putLifecycleHookRequest
- Container for the necessary parameters
to execute the PutLifecycleHook operation on AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<PutLifecycleHookResult> putLifecycleHookAsync(PutLifecycleHookRequest putLifecycleHookRequest, AsyncHandler<PutLifecycleHookRequest,PutLifecycleHookResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates or updates a lifecycle hook for the specified Auto Scaling Group.
A lifecycle hook tells Auto Scaling that you want to perform an action on an instance that is not actively in service; for example, either when the instance launches or before the instance terminates.
This operation is a part of the basic sequence for adding a lifecycle hook to an Auto Scaling group:
For more information, see Auto Scaling Pending State and Auto Scaling Terminating State in the Auto Scaling Developer Guide .
putLifecycleHookRequest
- Container for the necessary parameters
to execute the PutLifecycleHook operation on AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribeTerminationPolicyTypesResult> describeTerminationPolicyTypesAsync(DescribeTerminationPolicyTypesRequest describeTerminationPolicyTypesRequest) throws AmazonServiceException, AmazonClientException
Lists the termination policies supported by Auto Scaling.
describeTerminationPolicyTypesRequest
- Container for the
necessary parameters to execute the DescribeTerminationPolicyTypes
operation on AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribeTerminationPolicyTypesResult> describeTerminationPolicyTypesAsync(DescribeTerminationPolicyTypesRequest describeTerminationPolicyTypesRequest, AsyncHandler<DescribeTerminationPolicyTypesRequest,DescribeTerminationPolicyTypesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Lists the termination policies supported by Auto Scaling.
describeTerminationPolicyTypesRequest
- Container for the
necessary parameters to execute the DescribeTerminationPolicyTypes
operation on AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribeTagsResult> describeTagsAsync(DescribeTagsRequest describeTagsRequest) throws AmazonServiceException, AmazonClientException
Describes the specified tags.
You can use filters to limit the results. For example, you can query for the tags for a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at least one of the specified values for it to be included in the results.
You can also specify multiple filters. The result includes information for a particular tag only if it matches all the filters. If there's no match, no special message is returned.
describeTagsRequest
- Container for the necessary parameters to
execute the DescribeTags operation on AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribeTagsResult> describeTagsAsync(DescribeTagsRequest describeTagsRequest, AsyncHandler<DescribeTagsRequest,DescribeTagsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the specified tags.
You can use filters to limit the results. For example, you can query for the tags for a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at least one of the specified values for it to be included in the results.
You can also specify multiple filters. The result includes information for a particular tag only if it matches all the filters. If there's no match, no special message is returned.
describeTagsRequest
- Container for the necessary parameters to
execute the DescribeTags operation on AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> deleteTagsAsync(DeleteTagsRequest deleteTagsRequest) throws AmazonServiceException, AmazonClientException
Deletes the specified tags.
deleteTagsRequest
- Container for the necessary parameters to
execute the DeleteTags operation on AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> deleteTagsAsync(DeleteTagsRequest deleteTagsRequest, AsyncHandler<DeleteTagsRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes the specified tags.
deleteTagsRequest
- Container for the necessary parameters to
execute the DeleteTags operation on AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> executePolicyAsync(ExecutePolicyRequest executePolicyRequest) throws AmazonServiceException, AmazonClientException
Executes the specified policy.
executePolicyRequest
- Container for the necessary parameters to
execute the ExecutePolicy operation on AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> executePolicyAsync(ExecutePolicyRequest executePolicyRequest, AsyncHandler<ExecutePolicyRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Executes the specified policy.
executePolicyRequest
- Container for the necessary parameters to
execute the ExecutePolicy operation on AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<PutScalingPolicyResult> putScalingPolicyAsync(PutScalingPolicyRequest putScalingPolicyRequest) throws AmazonServiceException, AmazonClientException
Creates or updates a policy for an Auto Scaling group. To update an existing policy, use the existing policy name and set the parameters you want to change. Any existing parameter not changed in an update to an existing policy is not changed in this update request.
putScalingPolicyRequest
- Container for the necessary parameters
to execute the PutScalingPolicy operation on AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<PutScalingPolicyResult> putScalingPolicyAsync(PutScalingPolicyRequest putScalingPolicyRequest, AsyncHandler<PutScalingPolicyRequest,PutScalingPolicyResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates or updates a policy for an Auto Scaling group. To update an existing policy, use the existing policy name and set the parameters you want to change. Any existing parameter not changed in an update to an existing policy is not changed in this update request.
putScalingPolicyRequest
- Container for the necessary parameters
to execute the PutScalingPolicy operation on AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> putNotificationConfigurationAsync(PutNotificationConfigurationRequest putNotificationConfigurationRequest) throws AmazonServiceException, AmazonClientException
Configures an Auto Scaling group to send notifications when specified events take place. Subscribers to this topic can have messages for events delivered to an endpoint such as a web server or email address.
For more information see Getting Notifications When Your Auto Scaling Group Changes in the Auto Scaling Developer Guide .
This configuration overwrites an existing configuration.
putNotificationConfigurationRequest
- Container for the necessary
parameters to execute the PutNotificationConfiguration operation on
AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> putNotificationConfigurationAsync(PutNotificationConfigurationRequest putNotificationConfigurationRequest, AsyncHandler<PutNotificationConfigurationRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Configures an Auto Scaling group to send notifications when specified events take place. Subscribers to this topic can have messages for events delivered to an endpoint such as a web server or email address.
For more information see Getting Notifications When Your Auto Scaling Group Changes in the Auto Scaling Developer Guide .
This configuration overwrites an existing configuration.
putNotificationConfigurationRequest
- Container for the necessary
parameters to execute the PutNotificationConfiguration operation on
AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<ExitStandbyResult> exitStandbyAsync(ExitStandbyRequest exitStandbyRequest) throws AmazonServiceException, AmazonClientException
Moves the specified instances out of Standby
mode.
For more information, see Auto Scaling InService State in the Auto Scaling Developer Guide .
exitStandbyRequest
- Container for the necessary parameters to
execute the ExitStandby operation on AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<ExitStandbyResult> exitStandbyAsync(ExitStandbyRequest exitStandbyRequest, AsyncHandler<ExitStandbyRequest,ExitStandbyResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Moves the specified instances out of Standby
mode.
For more information, see Auto Scaling InService State in the Auto Scaling Developer Guide .
exitStandbyRequest
- Container for the necessary parameters to
execute the ExitStandby operation on AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> deletePolicyAsync(DeletePolicyRequest deletePolicyRequest) throws AmazonServiceException, AmazonClientException
Deletes the specified Auto Scaling policy.
deletePolicyRequest
- Container for the necessary parameters to
execute the DeletePolicy operation on AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> deletePolicyAsync(DeletePolicyRequest deletePolicyRequest, AsyncHandler<DeletePolicyRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes the specified Auto Scaling policy.
deletePolicyRequest
- Container for the necessary parameters to
execute the DeletePolicy operation on AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<CompleteLifecycleActionResult> completeLifecycleActionAsync(CompleteLifecycleActionRequest completeLifecycleActionRequest) throws AmazonServiceException, AmazonClientException
Completes the lifecycle action for the associated token initiated under the given lifecycle hook with the specified result.
This operation is a part of the basic sequence for adding a lifecycle hook to an Auto Scaling group:
For more information, see Auto Scaling Pending State and Auto Scaling Terminating State in the Auto Scaling Developer Guide .
completeLifecycleActionRequest
- Container for the necessary
parameters to execute the CompleteLifecycleAction operation on
AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<CompleteLifecycleActionResult> completeLifecycleActionAsync(CompleteLifecycleActionRequest completeLifecycleActionRequest, AsyncHandler<CompleteLifecycleActionRequest,CompleteLifecycleActionResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Completes the lifecycle action for the associated token initiated under the given lifecycle hook with the specified result.
This operation is a part of the basic sequence for adding a lifecycle hook to an Auto Scaling group:
For more information, see Auto Scaling Pending State and Auto Scaling Terminating State in the Auto Scaling Developer Guide .
completeLifecycleActionRequest
- Container for the necessary
parameters to execute the CompleteLifecycleAction operation on
AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> deleteNotificationConfigurationAsync(DeleteNotificationConfigurationRequest deleteNotificationConfigurationRequest) throws AmazonServiceException, AmazonClientException
Deletes the specified notification.
deleteNotificationConfigurationRequest
- Container for the
necessary parameters to execute the DeleteNotificationConfiguration
operation on AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> deleteNotificationConfigurationAsync(DeleteNotificationConfigurationRequest deleteNotificationConfigurationRequest, AsyncHandler<DeleteNotificationConfigurationRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes the specified notification.
deleteNotificationConfigurationRequest
- Container for the
necessary parameters to execute the DeleteNotificationConfiguration
operation on AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> deleteScheduledActionAsync(DeleteScheduledActionRequest deleteScheduledActionRequest) throws AmazonServiceException, AmazonClientException
Deletes the specified scheduled action.
deleteScheduledActionRequest
- Container for the necessary
parameters to execute the DeleteScheduledAction operation on
AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> deleteScheduledActionAsync(DeleteScheduledActionRequest deleteScheduledActionRequest, AsyncHandler<DeleteScheduledActionRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes the specified scheduled action.
deleteScheduledActionRequest
- Container for the necessary
parameters to execute the DeleteScheduledAction operation on
AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> setInstanceHealthAsync(SetInstanceHealthRequest setInstanceHealthRequest) throws AmazonServiceException, AmazonClientException
Sets the health status of the specified instance.
For more information, see Health Checks in the Auto Scaling Developer Guide .
setInstanceHealthRequest
- Container for the necessary parameters
to execute the SetInstanceHealth operation on AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> setInstanceHealthAsync(SetInstanceHealthRequest setInstanceHealthRequest, AsyncHandler<SetInstanceHealthRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Sets the health status of the specified instance.
For more information, see Health Checks in the Auto Scaling Developer Guide .
setInstanceHealthRequest
- Container for the necessary parameters
to execute the SetInstanceHealth operation on AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribeAutoScalingNotificationTypesResult> describeAutoScalingNotificationTypesAsync(DescribeAutoScalingNotificationTypesRequest describeAutoScalingNotificationTypesRequest) throws AmazonServiceException, AmazonClientException
Lists the notification types that are supported by Auto Scaling.
describeAutoScalingNotificationTypesRequest
- Container for the
necessary parameters to execute the
DescribeAutoScalingNotificationTypes operation on AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribeAutoScalingNotificationTypesResult> describeAutoScalingNotificationTypesAsync(DescribeAutoScalingNotificationTypesRequest describeAutoScalingNotificationTypesRequest, AsyncHandler<DescribeAutoScalingNotificationTypesRequest,DescribeAutoScalingNotificationTypesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Lists the notification types that are supported by Auto Scaling.
describeAutoScalingNotificationTypesRequest
- Container for the
necessary parameters to execute the
DescribeAutoScalingNotificationTypes operation on AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> suspendProcessesAsync(SuspendProcessesRequest suspendProcessesRequest) throws AmazonServiceException, AmazonClientException
Suspends the specified Auto Scaling processes for the specified Auto
Scaling group. To suspend specific processes, use the
ScalingProcesses
parameter. To suspend all processes,
omit the ScalingProcesses
parameter.
Note that if you suspend either the Launch
or
Terminate
process types, it can prevent other process
types from functioning properly.
To resume processes that have been suspended, use ResumeProcesses.
For more information, see Suspend and Resume Auto Scaling Processes in the Auto Scaling Developer Guide .
suspendProcessesRequest
- Container for the necessary parameters
to execute the SuspendProcesses operation on AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> suspendProcessesAsync(SuspendProcessesRequest suspendProcessesRequest, AsyncHandler<SuspendProcessesRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Suspends the specified Auto Scaling processes for the specified Auto
Scaling group. To suspend specific processes, use the
ScalingProcesses
parameter. To suspend all processes,
omit the ScalingProcesses
parameter.
Note that if you suspend either the Launch
or
Terminate
process types, it can prevent other process
types from functioning properly.
To resume processes that have been suspended, use ResumeProcesses.
For more information, see Suspend and Resume Auto Scaling Processes in the Auto Scaling Developer Guide .
suspendProcessesRequest
- Container for the necessary parameters
to execute the SuspendProcesses operation on AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> createOrUpdateTagsAsync(CreateOrUpdateTagsRequest createOrUpdateTagsRequest) throws AmazonServiceException, AmazonClientException
Creates or updates tags for the specified Auto Scaling group.
NOTE: A tag's definition is composed of a resource ID, resource type, key and value, and the propagate flag. Value and the propagate flag are optional parameters. See the Request Parameters for more information.
For more information, see Add, Modify, or Remove Auto Scaling Group Tags in the Auto Scaling Developer Guide .
createOrUpdateTagsRequest
- Container for the necessary
parameters to execute the CreateOrUpdateTags operation on
AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> createOrUpdateTagsAsync(CreateOrUpdateTagsRequest createOrUpdateTagsRequest, AsyncHandler<CreateOrUpdateTagsRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates or updates tags for the specified Auto Scaling group.
NOTE: A tag's definition is composed of a resource ID, resource type, key and value, and the propagate flag. Value and the propagate flag are optional parameters. See the Request Parameters for more information.
For more information, see Add, Modify, or Remove Auto Scaling Group Tags in the Auto Scaling Developer Guide .
createOrUpdateTagsRequest
- Container for the necessary
parameters to execute the CreateOrUpdateTags operation on
AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DetachInstancesResult> detachInstancesAsync(DetachInstancesRequest detachInstancesRequest) throws AmazonServiceException, AmazonClientException
Removes one or more instances from the specified Auto Scaling group. After the instances are detached, you can manage them independently from the rest of the Auto Scaling group.
For more information, see Detach EC2 Instances from Your Auto Scaling Group in the Auto Scaling Developer Guide .
detachInstancesRequest
- Container for the necessary parameters
to execute the DetachInstances operation on AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DetachInstancesResult> detachInstancesAsync(DetachInstancesRequest detachInstancesRequest, AsyncHandler<DetachInstancesRequest,DetachInstancesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Removes one or more instances from the specified Auto Scaling group. After the instances are detached, you can manage them independently from the rest of the Auto Scaling group.
For more information, see Detach EC2 Instances from Your Auto Scaling Group in the Auto Scaling Developer Guide .
detachInstancesRequest
- Container for the necessary parameters
to execute the DetachInstances operation on AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribeAutoScalingInstancesResult> describeAutoScalingInstancesAsync(DescribeAutoScalingInstancesRequest describeAutoScalingInstancesRequest) throws AmazonServiceException, AmazonClientException
Describes one or more Auto Scaling instances. If a list is not provided, the call describes all instances.
You can describe up to a maximum of 50 instances with a single call.
By default, a call returns up to 20 instances. If there are more items
to return, the call returns a token. To get the next set of items,
repeat the call with the returned token in the NextToken
parameter.
describeAutoScalingInstancesRequest
- Container for the necessary
parameters to execute the DescribeAutoScalingInstances operation on
AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribeAutoScalingInstancesResult> describeAutoScalingInstancesAsync(DescribeAutoScalingInstancesRequest describeAutoScalingInstancesRequest, AsyncHandler<DescribeAutoScalingInstancesRequest,DescribeAutoScalingInstancesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes one or more Auto Scaling instances. If a list is not provided, the call describes all instances.
You can describe up to a maximum of 50 instances with a single call.
By default, a call returns up to 20 instances. If there are more items
to return, the call returns a token. To get the next set of items,
repeat the call with the returned token in the NextToken
parameter.
describeAutoScalingInstancesRequest
- Container for the necessary
parameters to execute the DescribeAutoScalingInstances operation on
AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> createLaunchConfigurationAsync(CreateLaunchConfigurationRequest createLaunchConfigurationRequest) throws AmazonServiceException, AmazonClientException
Creates a launch configuration.
If you exceed your maximum limit of launch configurations, which by default is 100 per region, the call fails. For information about viewing and updating these limits, see DescribeAccountLimits.
createLaunchConfigurationRequest
- Container for the necessary
parameters to execute the CreateLaunchConfiguration operation on
AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> createLaunchConfigurationAsync(CreateLaunchConfigurationRequest createLaunchConfigurationRequest, AsyncHandler<CreateLaunchConfigurationRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a launch configuration.
If you exceed your maximum limit of launch configurations, which by default is 100 per region, the call fails. For information about viewing and updating these limits, see DescribeAccountLimits.
createLaunchConfigurationRequest
- Container for the necessary
parameters to execute the CreateLaunchConfiguration operation on
AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<EnterStandbyResult> enterStandbyAsync(EnterStandbyRequest enterStandbyRequest) throws AmazonServiceException, AmazonClientException
Moves the specified instances into Standby
mode.
For more information, see Auto Scaling InService State in the Auto Scaling Developer Guide .
enterStandbyRequest
- Container for the necessary parameters to
execute the EnterStandby operation on AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<EnterStandbyResult> enterStandbyAsync(EnterStandbyRequest enterStandbyRequest, AsyncHandler<EnterStandbyRequest,EnterStandbyResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Moves the specified instances into Standby
mode.
For more information, see Auto Scaling InService State in the Auto Scaling Developer Guide .
enterStandbyRequest
- Container for the necessary parameters to
execute the EnterStandby operation on AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribeLifecycleHookTypesResult> describeLifecycleHookTypesAsync(DescribeLifecycleHookTypesRequest describeLifecycleHookTypesRequest) throws AmazonServiceException, AmazonClientException
Describes the available types of lifecycle hooks.
describeLifecycleHookTypesRequest
- Container for the necessary
parameters to execute the DescribeLifecycleHookTypes operation on
AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribeLifecycleHookTypesResult> describeLifecycleHookTypesAsync(DescribeLifecycleHookTypesRequest describeLifecycleHookTypesRequest, AsyncHandler<DescribeLifecycleHookTypesRequest,DescribeLifecycleHookTypesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes the available types of lifecycle hooks.
describeLifecycleHookTypesRequest
- Container for the necessary
parameters to execute the DescribeLifecycleHookTypes operation on
AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> deleteAutoScalingGroupAsync(DeleteAutoScalingGroupRequest deleteAutoScalingGroupRequest) throws AmazonServiceException, AmazonClientException
Deletes the specified Auto Scaling group.
The group must have no instances and no scaling activities in progress.
To remove all instances before calling DeleteAutoScalingGroup, you can call UpdateAutoScalingGroup to set the minimum and maximum size of the AutoScalingGroup to zero.
deleteAutoScalingGroupRequest
- Container for the necessary
parameters to execute the DeleteAutoScalingGroup operation on
AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> deleteAutoScalingGroupAsync(DeleteAutoScalingGroupRequest deleteAutoScalingGroupRequest, AsyncHandler<DeleteAutoScalingGroupRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes the specified Auto Scaling group.
The group must have no instances and no scaling activities in progress.
To remove all instances before calling DeleteAutoScalingGroup, you can call UpdateAutoScalingGroup to set the minimum and maximum size of the AutoScalingGroup to zero.
deleteAutoScalingGroupRequest
- Container for the necessary
parameters to execute the DeleteAutoScalingGroup operation on
AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> disableMetricsCollectionAsync(DisableMetricsCollectionRequest disableMetricsCollectionRequest) throws AmazonServiceException, AmazonClientException
Disables monitoring of the specified metrics for the specified Auto Scaling group.
disableMetricsCollectionRequest
- Container for the necessary
parameters to execute the DisableMetricsCollection operation on
AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> disableMetricsCollectionAsync(DisableMetricsCollectionRequest disableMetricsCollectionRequest, AsyncHandler<DisableMetricsCollectionRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Disables monitoring of the specified metrics for the specified Auto Scaling group.
disableMetricsCollectionRequest
- Container for the necessary
parameters to execute the DisableMetricsCollection operation on
AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> updateAutoScalingGroupAsync(UpdateAutoScalingGroupRequest updateAutoScalingGroupRequest) throws AmazonServiceException, AmazonClientException
Updates the configuration for the specified AutoScalingGroup.
NOTE: To update an Auto Scaling group with a launch configuration that has the InstanceMonitoring flag set to False, you must first ensure that collection of group metrics is disabled. Otherwise, calls to UpdateAutoScalingGroup will fail. If you have previously enabled group metrics collection, you can disable collection of all group metrics by calling DisableMetricsCollection.
The new settings are registered upon the completion of this call. Any launch configuration settings take effect on any triggers after this call returns. Scaling activities that are currently in progress aren't affected.
NOTE: If a new value is specified for MinSize without specifying the value for DesiredCapacity, and if the new MinSize is larger than the current size of the Auto Scaling group, there will be an implicit call to SetDesiredCapacity to set the group to the new MinSize. If a new value is specified for MaxSize without specifying the value for DesiredCapacity, and the new MaxSize is smaller than the current size of the Auto Scaling group, there will be an implicit call to SetDesiredCapacity to set the group to the new MaxSize. All other optional parameters are left unchanged if not passed in the request.
updateAutoScalingGroupRequest
- Container for the necessary
parameters to execute the UpdateAutoScalingGroup operation on
AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> updateAutoScalingGroupAsync(UpdateAutoScalingGroupRequest updateAutoScalingGroupRequest, AsyncHandler<UpdateAutoScalingGroupRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Updates the configuration for the specified AutoScalingGroup.
NOTE: To update an Auto Scaling group with a launch configuration that has the InstanceMonitoring flag set to False, you must first ensure that collection of group metrics is disabled. Otherwise, calls to UpdateAutoScalingGroup will fail. If you have previously enabled group metrics collection, you can disable collection of all group metrics by calling DisableMetricsCollection.
The new settings are registered upon the completion of this call. Any launch configuration settings take effect on any triggers after this call returns. Scaling activities that are currently in progress aren't affected.
NOTE: If a new value is specified for MinSize without specifying the value for DesiredCapacity, and if the new MinSize is larger than the current size of the Auto Scaling group, there will be an implicit call to SetDesiredCapacity to set the group to the new MinSize. If a new value is specified for MaxSize without specifying the value for DesiredCapacity, and the new MaxSize is smaller than the current size of the Auto Scaling group, there will be an implicit call to SetDesiredCapacity to set the group to the new MaxSize. All other optional parameters are left unchanged if not passed in the request.
updateAutoScalingGroupRequest
- Container for the necessary
parameters to execute the UpdateAutoScalingGroup operation on
AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribeLaunchConfigurationsResult> describeLaunchConfigurationsAsync(DescribeLaunchConfigurationsRequest describeLaunchConfigurationsRequest) throws AmazonServiceException, AmazonClientException
Describes one or more launch configurations. If you omit the list of names, then the call describes all launch configurations.
You can specify a maximum number of items to be returned with a
single call. If there are more items to return, the call returns a
token. To get the next set of items, repeat the call with the returned
token in the NextToken
parameter.
describeLaunchConfigurationsRequest
- Container for the necessary
parameters to execute the DescribeLaunchConfigurations operation on
AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribeLaunchConfigurationsResult> describeLaunchConfigurationsAsync(DescribeLaunchConfigurationsRequest describeLaunchConfigurationsRequest, AsyncHandler<DescribeLaunchConfigurationsRequest,DescribeLaunchConfigurationsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Describes one or more launch configurations. If you omit the list of names, then the call describes all launch configurations.
You can specify a maximum number of items to be returned with a
single call. If there are more items to return, the call returns a
token. To get the next set of items, repeat the call with the returned
token in the NextToken
parameter.
describeLaunchConfigurationsRequest
- Container for the necessary
parameters to execute the DescribeLaunchConfigurations operation on
AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribeAdjustmentTypesResult> describeAdjustmentTypesAsync(DescribeAdjustmentTypesRequest describeAdjustmentTypesRequest) throws AmazonServiceException, AmazonClientException
Lists the policy adjustment types for use with PutScalingPolicy.
describeAdjustmentTypesRequest
- Container for the necessary
parameters to execute the DescribeAdjustmentTypes operation on
AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribeAdjustmentTypesResult> describeAdjustmentTypesAsync(DescribeAdjustmentTypesRequest describeAdjustmentTypesRequest, AsyncHandler<DescribeAdjustmentTypesRequest,DescribeAdjustmentTypesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Lists the policy adjustment types for use with PutScalingPolicy.
describeAdjustmentTypesRequest
- Container for the necessary
parameters to execute the DescribeAdjustmentTypes operation on
AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribeScheduledActionsResult> describeScheduledActionsAsync(DescribeScheduledActionsRequest describeScheduledActionsRequest) throws AmazonServiceException, AmazonClientException
Lists the actions scheduled for your Auto Scaling group that haven't been executed. To list the actions that were already executed, use DescribeScalingActivities.
describeScheduledActionsRequest
- Container for the necessary
parameters to execute the DescribeScheduledActions operation on
AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribeScheduledActionsResult> describeScheduledActionsAsync(DescribeScheduledActionsRequest describeScheduledActionsRequest, AsyncHandler<DescribeScheduledActionsRequest,DescribeScheduledActionsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Lists the actions scheduled for your Auto Scaling group that haven't been executed. To list the actions that were already executed, use DescribeScalingActivities.
describeScheduledActionsRequest
- Container for the necessary
parameters to execute the DescribeScheduledActions operation on
AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<RecordLifecycleActionHeartbeatResult> recordLifecycleActionHeartbeatAsync(RecordLifecycleActionHeartbeatRequest recordLifecycleActionHeartbeatRequest) throws AmazonServiceException, AmazonClientException
Records a heartbeat for the lifecycle action associated with a
specific token. This extends the timeout by the length of time defined
by the HeartbeatTimeout
parameter of PutLifecycleHook.
This operation is a part of the basic sequence for adding a lifecycle hook to an Auto Scaling group:
For more information, see Auto Scaling Pending State and Auto Scaling Terminating State in the Auto Scaling Developer Guide .
recordLifecycleActionHeartbeatRequest
- Container for the
necessary parameters to execute the RecordLifecycleActionHeartbeat
operation on AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<RecordLifecycleActionHeartbeatResult> recordLifecycleActionHeartbeatAsync(RecordLifecycleActionHeartbeatRequest recordLifecycleActionHeartbeatRequest, AsyncHandler<RecordLifecycleActionHeartbeatRequest,RecordLifecycleActionHeartbeatResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Records a heartbeat for the lifecycle action associated with a
specific token. This extends the timeout by the length of time defined
by the HeartbeatTimeout
parameter of PutLifecycleHook.
This operation is a part of the basic sequence for adding a lifecycle hook to an Auto Scaling group:
For more information, see Auto Scaling Pending State and Auto Scaling Terminating State in the Auto Scaling Developer Guide .
recordLifecycleActionHeartbeatRequest
- Container for the
necessary parameters to execute the RecordLifecycleActionHeartbeat
operation on AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> putScheduledUpdateGroupActionAsync(PutScheduledUpdateGroupActionRequest putScheduledUpdateGroupActionRequest) throws AmazonServiceException, AmazonClientException
Creates or updates a scheduled scaling action for an Auto Scaling group. When updating a scheduled scaling action, if you leave a parameter unspecified, the corresponding value remains unchanged in the affected Auto Scaling group.
For more information, see Scheduled Scaling in the Auto Scaling Developer Guide .
NOTE: Auto Scaling supports the date and time expressed in "YYYY-MM-DDThh:mm:ssZ" format in UTC/GMT only.
putScheduledUpdateGroupActionRequest
- Container for the
necessary parameters to execute the PutScheduledUpdateGroupAction
operation on AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> putScheduledUpdateGroupActionAsync(PutScheduledUpdateGroupActionRequest putScheduledUpdateGroupActionRequest, AsyncHandler<PutScheduledUpdateGroupActionRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates or updates a scheduled scaling action for an Auto Scaling group. When updating a scheduled scaling action, if you leave a parameter unspecified, the corresponding value remains unchanged in the affected Auto Scaling group.
For more information, see Scheduled Scaling in the Auto Scaling Developer Guide .
NOTE: Auto Scaling supports the date and time expressed in "YYYY-MM-DDThh:mm:ssZ" format in UTC/GMT only.
putScheduledUpdateGroupActionRequest
- Container for the
necessary parameters to execute the PutScheduledUpdateGroupAction
operation on AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribeMetricCollectionTypesResult> describeMetricCollectionTypesAsync(DescribeMetricCollectionTypesRequest describeMetricCollectionTypesRequest) throws AmazonServiceException, AmazonClientException
Returns a list of metrics and a corresponding list of granularities for each metric.
NOTE: The GroupStandbyInstances metric is not returned by default. You must explicitly request it when calling EnableMetricsCollection.
describeMetricCollectionTypesRequest
- Container for the
necessary parameters to execute the DescribeMetricCollectionTypes
operation on AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<DescribeMetricCollectionTypesResult> describeMetricCollectionTypesAsync(DescribeMetricCollectionTypesRequest describeMetricCollectionTypesRequest, AsyncHandler<DescribeMetricCollectionTypesRequest,DescribeMetricCollectionTypesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns a list of metrics and a corresponding list of granularities for each metric.
NOTE: The GroupStandbyInstances metric is not returned by default. You must explicitly request it when calling EnableMetricsCollection.
describeMetricCollectionTypesRequest
- Container for the
necessary parameters to execute the DescribeMetricCollectionTypes
operation on AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> setDesiredCapacityAsync(SetDesiredCapacityRequest setDesiredCapacityRequest) throws AmazonServiceException, AmazonClientException
Sets the size of the specified AutoScalingGroup.
setDesiredCapacityRequest
- Container for the necessary
parameters to execute the SetDesiredCapacity operation on
AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<Void> setDesiredCapacityAsync(SetDesiredCapacityRequest setDesiredCapacityRequest, AsyncHandler<SetDesiredCapacityRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Sets the size of the specified AutoScalingGroup.
setDesiredCapacityRequest
- Container for the necessary
parameters to execute the SetDesiredCapacity operation on
AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<TerminateInstanceInAutoScalingGroupResult> terminateInstanceInAutoScalingGroupAsync(TerminateInstanceInAutoScalingGroupRequest terminateInstanceInAutoScalingGroupRequest) throws AmazonServiceException, AmazonClientException
Terminates the specified instance and optionally adjusts the desired group size.
NOTE:This call simply makes a termination request. The instances is not terminated immediately.
terminateInstanceInAutoScalingGroupRequest
- Container for the
necessary parameters to execute the
TerminateInstanceInAutoScalingGroup operation on AmazonAutoScaling.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Future<TerminateInstanceInAutoScalingGroupResult> terminateInstanceInAutoScalingGroupAsync(TerminateInstanceInAutoScalingGroupRequest terminateInstanceInAutoScalingGroupRequest, AsyncHandler<TerminateInstanceInAutoScalingGroupRequest,TerminateInstanceInAutoScalingGroupResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Terminates the specified instance and optionally adjusts the desired group size.
NOTE:This call simply makes a termination request. The instances is not terminated immediately.
terminateInstanceInAutoScalingGroupRequest
- Container for the
necessary parameters to execute the
TerminateInstanceInAutoScalingGroup operation on AmazonAutoScaling.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonAutoScaling indicating
either a problem with the data in the request, or a server side issue.Copyright © 2015. All rights reserved.