public interface AmazonAutoScalingAsync extends AmazonAutoScaling
Auto Scaling is a web service designed to automatically launch or terminate Amazon Elastic Compute Cloud (Amazon EC2) instances based on user-defined policies, schedules, and health checks. This service is used in conjunction with Amazon CloudWatch and Elastic Load Balancing services.
Auto Scaling provides APIs that you can call by submitting a Query Request. Query requests are HTTP or HTTPS requests that use the HTTP verbs GET or POST and a Query parameter named Action or Operation that specifies the API you are calling. Action is used throughout this documentation, although Operation is also supported for backward compatibility with other Amazon Web Services (AWS) Query APIs.
Calling the API using a Query request is the most direct way to access the web service, but requires that your application handle low-level details such as generating the hash to sign the request and error handling. The benefit of calling the service using a Query request is that you are assured of having access to the complete functionality of the API. For information about signing a a query request, see Use Query Requests to Call Auto Scaling APIs
This guide provides detailed information about Auto Scaling actions, data types, parameters, and errors. For detailed information about Auto Scaling features and their associated API actions, go to the Auto Scaling Developer Guide .
This reference is based on the current WSDL, which is available at:
http://autoscaling.amazonaws.com/doc/2011-01-01/AutoScaling.wsdl
Endpoints
The examples in this guide assume that your instances are launched in the US East (Northern Virginia) region and use us-east-1 as the endpoint.
You can set up your Auto Scaling infrastructure in other AWS regions. For information about this product's regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
Modifier and Type | Method and Description |
---|---|
Future<Void> |
attachInstancesAsync(AttachInstancesRequest attachInstancesRequest)
Attaches one or more Amazon EC2 instances to an existing Auto Scaling
group.
|
Future<Void> |
attachInstancesAsync(AttachInstancesRequest attachInstancesRequest,
AsyncHandler<AttachInstancesRequest,Void> asyncHandler)
Attaches one or more Amazon EC2 instances to an existing Auto Scaling
group.
|
Future<CompleteLifecycleActionResult> |
completeLifecycleActionAsync(CompleteLifecycleActionRequest completeLifecycleActionRequest)
Completes the lifecycle action for the associated token initiated
under the given lifecycle hook with the specified result.
|
Future<CompleteLifecycleActionResult> |
completeLifecycleActionAsync(CompleteLifecycleActionRequest completeLifecycleActionRequest,
AsyncHandler<CompleteLifecycleActionRequest,CompleteLifecycleActionResult> asyncHandler)
Completes the lifecycle action for the associated token initiated
under the given lifecycle hook with the specified result.
|
Future<Void> |
createAutoScalingGroupAsync(CreateAutoScalingGroupRequest createAutoScalingGroupRequest)
Creates a new Auto Scaling group with the specified name and other
attributes.
|
Future<Void> |
createAutoScalingGroupAsync(CreateAutoScalingGroupRequest createAutoScalingGroupRequest,
AsyncHandler<CreateAutoScalingGroupRequest,Void> asyncHandler)
Creates a new Auto Scaling group with the specified name and other
attributes.
|
Future<Void> |
createLaunchConfigurationAsync(CreateLaunchConfigurationRequest createLaunchConfigurationRequest)
Creates a new launch configuration.
|
Future<Void> |
createLaunchConfigurationAsync(CreateLaunchConfigurationRequest createLaunchConfigurationRequest,
AsyncHandler<CreateLaunchConfigurationRequest,Void> asyncHandler)
Creates a new launch configuration.
|
Future<Void> |
createOrUpdateTagsAsync(CreateOrUpdateTagsRequest createOrUpdateTagsRequest)
Creates new tags or updates existing tags for an Auto Scaling group.
|
Future<Void> |
createOrUpdateTagsAsync(CreateOrUpdateTagsRequest createOrUpdateTagsRequest,
AsyncHandler<CreateOrUpdateTagsRequest,Void> asyncHandler)
Creates new tags or updates existing tags for an Auto Scaling group.
|
Future<Void> |
deleteAutoScalingGroupAsync(DeleteAutoScalingGroupRequest deleteAutoScalingGroupRequest)
Deletes the specified Auto Scaling group if the group has no
instances and no scaling activities in progress.
|
Future<Void> |
deleteAutoScalingGroupAsync(DeleteAutoScalingGroupRequest deleteAutoScalingGroupRequest,
AsyncHandler<DeleteAutoScalingGroupRequest,Void> asyncHandler)
Deletes the specified Auto Scaling group if the group has no
instances and no scaling activities in progress.
|
Future<Void> |
deleteLaunchConfigurationAsync(DeleteLaunchConfigurationRequest deleteLaunchConfigurationRequest)
Deletes the specified LaunchConfiguration.
|
Future<Void> |
deleteLaunchConfigurationAsync(DeleteLaunchConfigurationRequest deleteLaunchConfigurationRequest,
AsyncHandler<DeleteLaunchConfigurationRequest,Void> asyncHandler)
Deletes the specified LaunchConfiguration.
|
Future<DeleteLifecycleHookResult> |
deleteLifecycleHookAsync(DeleteLifecycleHookRequest deleteLifecycleHookRequest)
Deletes the specified lifecycle hook.
|
Future<DeleteLifecycleHookResult> |
deleteLifecycleHookAsync(DeleteLifecycleHookRequest deleteLifecycleHookRequest,
AsyncHandler<DeleteLifecycleHookRequest,DeleteLifecycleHookResult> asyncHandler)
Deletes the specified lifecycle hook.
|
Future<Void> |
deleteNotificationConfigurationAsync(DeleteNotificationConfigurationRequest deleteNotificationConfigurationRequest)
Deletes notifications created by PutNotificationConfiguration.
|
Future<Void> |
deleteNotificationConfigurationAsync(DeleteNotificationConfigurationRequest deleteNotificationConfigurationRequest,
AsyncHandler<DeleteNotificationConfigurationRequest,Void> asyncHandler)
Deletes notifications created by PutNotificationConfiguration.
|
Future<Void> |
deletePolicyAsync(DeletePolicyRequest deletePolicyRequest)
Deletes a policy created by PutScalingPolicy.
|
Future<Void> |
deletePolicyAsync(DeletePolicyRequest deletePolicyRequest,
AsyncHandler<DeletePolicyRequest,Void> asyncHandler)
Deletes a policy created by PutScalingPolicy.
|
Future<Void> |
deleteScheduledActionAsync(DeleteScheduledActionRequest deleteScheduledActionRequest)
Deletes a scheduled action previously created using the
PutScheduledUpdateGroupAction.
|
Future<Void> |
deleteScheduledActionAsync(DeleteScheduledActionRequest deleteScheduledActionRequest,
AsyncHandler<DeleteScheduledActionRequest,Void> asyncHandler)
Deletes a scheduled action previously created using the
PutScheduledUpdateGroupAction.
|
Future<Void> |
deleteTagsAsync(DeleteTagsRequest deleteTagsRequest)
Removes the specified tags or a set of tags from a set of resources.
|
Future<Void> |
deleteTagsAsync(DeleteTagsRequest deleteTagsRequest,
AsyncHandler<DeleteTagsRequest,Void> asyncHandler)
Removes the specified tags or a set of tags from a set of resources.
|
Future<DescribeAccountLimitsResult> |
describeAccountLimitsAsync(DescribeAccountLimitsRequest describeAccountLimitsRequest)
Returns the limits for the Auto Scaling resources currently allowed
for your AWS account.
|
Future<DescribeAccountLimitsResult> |
describeAccountLimitsAsync(DescribeAccountLimitsRequest describeAccountLimitsRequest,
AsyncHandler<DescribeAccountLimitsRequest,DescribeAccountLimitsResult> asyncHandler)
Returns the limits for the Auto Scaling resources currently allowed
for your AWS account.
|
Future<DescribeAdjustmentTypesResult> |
describeAdjustmentTypesAsync(DescribeAdjustmentTypesRequest describeAdjustmentTypesRequest)
Returns policy adjustment types for use in the PutScalingPolicy
action.
|
Future<DescribeAdjustmentTypesResult> |
describeAdjustmentTypesAsync(DescribeAdjustmentTypesRequest describeAdjustmentTypesRequest,
AsyncHandler<DescribeAdjustmentTypesRequest,DescribeAdjustmentTypesResult> asyncHandler)
Returns policy adjustment types for use in the PutScalingPolicy
action.
|
Future<DescribeAutoScalingGroupsResult> |
describeAutoScalingGroupsAsync(DescribeAutoScalingGroupsRequest describeAutoScalingGroupsRequest)
Returns a full description of each Auto Scaling group in the given
list.
|
Future<DescribeAutoScalingGroupsResult> |
describeAutoScalingGroupsAsync(DescribeAutoScalingGroupsRequest describeAutoScalingGroupsRequest,
AsyncHandler<DescribeAutoScalingGroupsRequest,DescribeAutoScalingGroupsResult> asyncHandler)
Returns a full description of each Auto Scaling group in the given
list.
|
Future<DescribeAutoScalingInstancesResult> |
describeAutoScalingInstancesAsync(DescribeAutoScalingInstancesRequest describeAutoScalingInstancesRequest)
Returns a description of each Auto Scaling instance in the
InstanceIds list. |
Future<DescribeAutoScalingInstancesResult> |
describeAutoScalingInstancesAsync(DescribeAutoScalingInstancesRequest describeAutoScalingInstancesRequest,
AsyncHandler<DescribeAutoScalingInstancesRequest,DescribeAutoScalingInstancesResult> asyncHandler)
Returns a description of each Auto Scaling instance in the
InstanceIds list. |
Future<DescribeAutoScalingNotificationTypesResult> |
describeAutoScalingNotificationTypesAsync(DescribeAutoScalingNotificationTypesRequest describeAutoScalingNotificationTypesRequest)
Returns a list of all notification types that are supported by Auto
Scaling.
|
Future<DescribeAutoScalingNotificationTypesResult> |
describeAutoScalingNotificationTypesAsync(DescribeAutoScalingNotificationTypesRequest describeAutoScalingNotificationTypesRequest,
AsyncHandler<DescribeAutoScalingNotificationTypesRequest,DescribeAutoScalingNotificationTypesResult> asyncHandler)
Returns a list of all notification types that are supported by Auto
Scaling.
|
Future<DescribeLaunchConfigurationsResult> |
describeLaunchConfigurationsAsync(DescribeLaunchConfigurationsRequest describeLaunchConfigurationsRequest)
Returns a full description of the launch configurations, or the
specified launch configurations, if they exist.
|
Future<DescribeLaunchConfigurationsResult> |
describeLaunchConfigurationsAsync(DescribeLaunchConfigurationsRequest describeLaunchConfigurationsRequest,
AsyncHandler<DescribeLaunchConfigurationsRequest,DescribeLaunchConfigurationsResult> asyncHandler)
Returns a full description of the launch configurations, or the
specified launch configurations, if they exist.
|
Future<DescribeLifecycleHooksResult> |
describeLifecycleHooksAsync(DescribeLifecycleHooksRequest describeLifecycleHooksRequest)
Describes the lifecycle hooks that currently belong to the specified
Auto Scaling group.
|
Future<DescribeLifecycleHooksResult> |
describeLifecycleHooksAsync(DescribeLifecycleHooksRequest describeLifecycleHooksRequest,
AsyncHandler<DescribeLifecycleHooksRequest,DescribeLifecycleHooksResult> asyncHandler)
Describes the lifecycle hooks that currently belong to the specified
Auto Scaling group.
|
Future<DescribeLifecycleHookTypesResult> |
describeLifecycleHookTypesAsync(DescribeLifecycleHookTypesRequest describeLifecycleHookTypesRequest)
Describes the available types of lifecycle hooks.
|
Future<DescribeLifecycleHookTypesResult> |
describeLifecycleHookTypesAsync(DescribeLifecycleHookTypesRequest describeLifecycleHookTypesRequest,
AsyncHandler<DescribeLifecycleHookTypesRequest,DescribeLifecycleHookTypesResult> asyncHandler)
Describes the available types of lifecycle hooks.
|
Future<DescribeMetricCollectionTypesResult> |
describeMetricCollectionTypesAsync(DescribeMetricCollectionTypesRequest describeMetricCollectionTypesRequest)
Returns a list of metrics and a corresponding list of granularities
for each metric.
|
Future<DescribeMetricCollectionTypesResult> |
describeMetricCollectionTypesAsync(DescribeMetricCollectionTypesRequest describeMetricCollectionTypesRequest,
AsyncHandler<DescribeMetricCollectionTypesRequest,DescribeMetricCollectionTypesResult> asyncHandler)
Returns a list of metrics and a corresponding list of granularities
for each metric.
|
Future<DescribeNotificationConfigurationsResult> |
describeNotificationConfigurationsAsync(DescribeNotificationConfigurationsRequest describeNotificationConfigurationsRequest)
Returns a list of notification actions associated with Auto Scaling
groups for specified events.
|
Future<DescribeNotificationConfigurationsResult> |
describeNotificationConfigurationsAsync(DescribeNotificationConfigurationsRequest describeNotificationConfigurationsRequest,
AsyncHandler<DescribeNotificationConfigurationsRequest,DescribeNotificationConfigurationsResult> asyncHandler)
Returns a list of notification actions associated with Auto Scaling
groups for specified events.
|
Future<DescribePoliciesResult> |
describePoliciesAsync(DescribePoliciesRequest describePoliciesRequest)
Returns descriptions of what each policy does.
|
Future<DescribePoliciesResult> |
describePoliciesAsync(DescribePoliciesRequest describePoliciesRequest,
AsyncHandler<DescribePoliciesRequest,DescribePoliciesResult> asyncHandler)
Returns descriptions of what each policy does.
|
Future<DescribeScalingActivitiesResult> |
describeScalingActivitiesAsync(DescribeScalingActivitiesRequest describeScalingActivitiesRequest)
Returns the scaling activities for the specified Auto Scaling group.
|
Future<DescribeScalingActivitiesResult> |
describeScalingActivitiesAsync(DescribeScalingActivitiesRequest describeScalingActivitiesRequest,
AsyncHandler<DescribeScalingActivitiesRequest,DescribeScalingActivitiesResult> asyncHandler)
Returns the scaling activities for the specified Auto Scaling group.
|
Future<DescribeScalingProcessTypesResult> |
describeScalingProcessTypesAsync(DescribeScalingProcessTypesRequest describeScalingProcessTypesRequest)
Returns scaling process types for use in the ResumeProcesses and
SuspendProcesses actions.
|
Future<DescribeScalingProcessTypesResult> |
describeScalingProcessTypesAsync(DescribeScalingProcessTypesRequest describeScalingProcessTypesRequest,
AsyncHandler<DescribeScalingProcessTypesRequest,DescribeScalingProcessTypesResult> asyncHandler)
Returns scaling process types for use in the ResumeProcesses and
SuspendProcesses actions.
|
Future<DescribeScheduledActionsResult> |
describeScheduledActionsAsync(DescribeScheduledActionsRequest describeScheduledActionsRequest)
Lists all the actions scheduled for your Auto Scaling group that
haven't been executed.
|
Future<DescribeScheduledActionsResult> |
describeScheduledActionsAsync(DescribeScheduledActionsRequest describeScheduledActionsRequest,
AsyncHandler<DescribeScheduledActionsRequest,DescribeScheduledActionsResult> asyncHandler)
Lists all the actions scheduled for your Auto Scaling group that
haven't been executed.
|
Future<DescribeTagsResult> |
describeTagsAsync(DescribeTagsRequest describeTagsRequest)
Lists the Auto Scaling group tags.
|
Future<DescribeTagsResult> |
describeTagsAsync(DescribeTagsRequest describeTagsRequest,
AsyncHandler<DescribeTagsRequest,DescribeTagsResult> asyncHandler)
Lists the Auto Scaling group tags.
|
Future<DescribeTerminationPolicyTypesResult> |
describeTerminationPolicyTypesAsync(DescribeTerminationPolicyTypesRequest describeTerminationPolicyTypesRequest)
Returns a list of all termination policies supported by Auto Scaling.
|
Future<DescribeTerminationPolicyTypesResult> |
describeTerminationPolicyTypesAsync(DescribeTerminationPolicyTypesRequest describeTerminationPolicyTypesRequest,
AsyncHandler<DescribeTerminationPolicyTypesRequest,DescribeTerminationPolicyTypesResult> asyncHandler)
Returns a list of all termination policies supported by Auto Scaling.
|
Future<DetachInstancesResult> |
detachInstancesAsync(DetachInstancesRequest detachInstancesRequest)
Using
DetachInstances , you can remove an instance from
an Auto Scaling group. |
Future<DetachInstancesResult> |
detachInstancesAsync(DetachInstancesRequest detachInstancesRequest,
AsyncHandler<DetachInstancesRequest,DetachInstancesResult> asyncHandler)
Using
DetachInstances , you can remove an instance from
an Auto Scaling group. |
Future<Void> |
disableMetricsCollectionAsync(DisableMetricsCollectionRequest disableMetricsCollectionRequest)
Disables monitoring of group metrics for the Auto Scaling group
specified in
AutoScalingGroupName . |
Future<Void> |
disableMetricsCollectionAsync(DisableMetricsCollectionRequest disableMetricsCollectionRequest,
AsyncHandler<DisableMetricsCollectionRequest,Void> asyncHandler)
Disables monitoring of group metrics for the Auto Scaling group
specified in
AutoScalingGroupName . |
Future<Void> |
enableMetricsCollectionAsync(EnableMetricsCollectionRequest enableMetricsCollectionRequest)
Enables monitoring of group metrics for the Auto Scaling group
specified in
AutoScalingGroupName . |
Future<Void> |
enableMetricsCollectionAsync(EnableMetricsCollectionRequest enableMetricsCollectionRequest,
AsyncHandler<EnableMetricsCollectionRequest,Void> asyncHandler)
Enables monitoring of group metrics for the Auto Scaling group
specified in
AutoScalingGroupName . |
Future<EnterStandbyResult> |
enterStandbyAsync(EnterStandbyRequest enterStandbyRequest)
Move instances in an Auto Scaling group into a Standby mode.
|
Future<EnterStandbyResult> |
enterStandbyAsync(EnterStandbyRequest enterStandbyRequest,
AsyncHandler<EnterStandbyRequest,EnterStandbyResult> asyncHandler)
Move instances in an Auto Scaling group into a Standby mode.
|
Future<Void> |
executePolicyAsync(ExecutePolicyRequest executePolicyRequest)
Executes the specified policy.
|
Future<Void> |
executePolicyAsync(ExecutePolicyRequest executePolicyRequest,
AsyncHandler<ExecutePolicyRequest,Void> asyncHandler)
Executes the specified policy.
|
Future<ExitStandbyResult> |
exitStandbyAsync(ExitStandbyRequest exitStandbyRequest)
Move an instance out of Standby mode.
|
Future<ExitStandbyResult> |
exitStandbyAsync(ExitStandbyRequest exitStandbyRequest,
AsyncHandler<ExitStandbyRequest,ExitStandbyResult> asyncHandler)
Move an instance out of Standby mode.
|
Future<PutLifecycleHookResult> |
putLifecycleHookAsync(PutLifecycleHookRequest putLifecycleHookRequest)
Creates or updates a lifecycle hook for an Auto Scaling Group.
|
Future<PutLifecycleHookResult> |
putLifecycleHookAsync(PutLifecycleHookRequest putLifecycleHookRequest,
AsyncHandler<PutLifecycleHookRequest,PutLifecycleHookResult> asyncHandler)
Creates or updates a lifecycle hook for an Auto Scaling Group.
|
Future<Void> |
putNotificationConfigurationAsync(PutNotificationConfigurationRequest putNotificationConfigurationRequest)
Configures an Auto Scaling group to send notifications when specified
events take place.
|
Future<Void> |
putNotificationConfigurationAsync(PutNotificationConfigurationRequest putNotificationConfigurationRequest,
AsyncHandler<PutNotificationConfigurationRequest,Void> asyncHandler)
Configures an Auto Scaling group to send notifications when specified
events take place.
|
Future<PutScalingPolicyResult> |
putScalingPolicyAsync(PutScalingPolicyRequest putScalingPolicyRequest)
Creates or updates a policy for an Auto Scaling group.
|
Future<PutScalingPolicyResult> |
putScalingPolicyAsync(PutScalingPolicyRequest putScalingPolicyRequest,
AsyncHandler<PutScalingPolicyRequest,PutScalingPolicyResult> asyncHandler)
Creates or updates a policy for an Auto Scaling group.
|
Future<Void> |
putScheduledUpdateGroupActionAsync(PutScheduledUpdateGroupActionRequest putScheduledUpdateGroupActionRequest)
Creates or updates a scheduled scaling action for an Auto Scaling
group.
|
Future<Void> |
putScheduledUpdateGroupActionAsync(PutScheduledUpdateGroupActionRequest putScheduledUpdateGroupActionRequest,
AsyncHandler<PutScheduledUpdateGroupActionRequest,Void> asyncHandler)
Creates or updates a scheduled scaling action for an Auto Scaling
group.
|
Future<RecordLifecycleActionHeartbeatResult> |
recordLifecycleActionHeartbeatAsync(RecordLifecycleActionHeartbeatRequest recordLifecycleActionHeartbeatRequest)
Records a heartbeat for the lifecycle action associated with a
specific token.
|
Future<RecordLifecycleActionHeartbeatResult> |
recordLifecycleActionHeartbeatAsync(RecordLifecycleActionHeartbeatRequest recordLifecycleActionHeartbeatRequest,
AsyncHandler<RecordLifecycleActionHeartbeatRequest,RecordLifecycleActionHeartbeatResult> asyncHandler)
Records a heartbeat for the lifecycle action associated with a
specific token.
|
Future<Void> |
resumeProcessesAsync(ResumeProcessesRequest resumeProcessesRequest)
Resumes all suspended Auto Scaling processes for an Auto Scaling
group.
|
Future<Void> |
resumeProcessesAsync(ResumeProcessesRequest resumeProcessesRequest,
AsyncHandler<ResumeProcessesRequest,Void> asyncHandler)
Resumes all suspended Auto Scaling processes for an Auto Scaling
group.
|
Future<Void> |
setDesiredCapacityAsync(SetDesiredCapacityRequest setDesiredCapacityRequest)
Sets the desired size of the specified AutoScalingGroup.
|
Future<Void> |
setDesiredCapacityAsync(SetDesiredCapacityRequest setDesiredCapacityRequest,
AsyncHandler<SetDesiredCapacityRequest,Void> asyncHandler)
Sets the desired size of the specified AutoScalingGroup.
|
Future<Void> |
setInstanceHealthAsync(SetInstanceHealthRequest setInstanceHealthRequest)
Sets the health status of a specified instance that belongs to any of
your Auto Scaling groups.
|
Future<Void> |
setInstanceHealthAsync(SetInstanceHealthRequest setInstanceHealthRequest,
AsyncHandler<SetInstanceHealthRequest,Void> asyncHandler)
Sets the health status of a specified instance that belongs to any of
your Auto Scaling groups.
|
Future<Void> |
suspendProcessesAsync(SuspendProcessesRequest suspendProcessesRequest)
Suspends Auto Scaling processes for an Auto Scaling group.
|
Future<Void> |
suspendProcessesAsync(SuspendProcessesRequest suspendProcessesRequest,
AsyncHandler<SuspendProcessesRequest,Void> asyncHandler)
Suspends Auto Scaling processes for an Auto Scaling group.
|
Future<TerminateInstanceInAutoScalingGroupResult> |
terminateInstanceInAutoScalingGroupAsync(TerminateInstanceInAutoScalingGroupRequest terminateInstanceInAutoScalingGroupRequest)
Terminates the specified instance.
|
Future<TerminateInstanceInAutoScalingGroupResult> |
terminateInstanceInAutoScalingGroupAsync(TerminateInstanceInAutoScalingGroupRequest terminateInstanceInAutoScalingGroupRequest,
AsyncHandler<TerminateInstanceInAutoScalingGroupRequest,TerminateInstanceInAutoScalingGroupResult> asyncHandler)
Terminates the specified instance.
|
Future<Void> |
updateAutoScalingGroupAsync(UpdateAutoScalingGroupRequest updateAutoScalingGroupRequest)
Updates the configuration for the specified AutoScalingGroup.
|
Future<Void> |
updateAutoScalingGroupAsync(UpdateAutoScalingGroupRequest updateAutoScalingGroupRequest,
AsyncHandler<UpdateAutoScalingGroupRequest,Void> asyncHandler)
Updates the configuration for the specified AutoScalingGroup.
|
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
Returns the limits for the Auto Scaling resources currently allowed for your AWS account.
Your AWS account comes with default limits on resources for Auto
Scaling. There is a default limit of 20
Auto Scaling
groups and 100
launch configurations per region.
If you reach the limits for the number of Auto Scaling groups or the launch configurations, you can go to the Support Center and place a request to raise the 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
Returns the limits for the Auto Scaling resources currently allowed for your AWS account.
Your AWS account comes with default limits on resources for Auto
Scaling. There is a default limit of 20
Auto Scaling
groups and 100
launch configurations per region.
If you reach the limits for the number of Auto Scaling groups or the launch configurations, you can go to the Support Center and place a request to raise the 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
Returns a full description of each Auto Scaling group in the given list. This includes all Amazon EC2 instances that are members of the group. If a list of names is not provided, the service returns the full details of all Auto Scaling groups.
This action supports pagination by returning a token if there are
more pages to retrieve. To get the next page, call this action again
with the returned token as the NextToken
parameter.
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
Returns a full description of each Auto Scaling group in the given list. This includes all Amazon EC2 instances that are members of the group. If a list of names is not provided, the service returns the full details of all Auto Scaling groups.
This action supports pagination by returning a token if there are
more pages to retrieve. To get the next page, call this action again
with the returned token as the NextToken
parameter.
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 group metrics for the Auto Scaling group
specified in AutoScalingGroupName
. You can specify the
list of enabled metrics with the Metrics
parameter.
Auto Scaling metrics collection can be turned on only if the
InstanceMonitoring
flag, in the Auto Scaling group's
launch configuration, is set to True
.
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 group metrics for the Auto Scaling group
specified in AutoScalingGroupName
. You can specify the
list of enabled metrics with the Metrics
parameter.
Auto Scaling metrics collection can be turned on only if the
InstanceMonitoring
flag, in the Auto Scaling group's
launch configuration, is set to True
.
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 all suspended Auto Scaling processes for an Auto Scaling group. For information on suspending and resuming Auto Scaling process, see Suspend and Resume Auto Scaling Process .
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 all suspended Auto Scaling processes for an Auto Scaling group. For information on suspending and resuming Auto Scaling process, see Suspend and Resume Auto Scaling Process .
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 that currently belong to 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 that currently belong to 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
Returns descriptions of what each policy does. This action supports
pagination. If the response includes a token, there are more records
available. To get the additional records, repeat the request with the
response token as the NextToken
parameter.
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
Returns descriptions of what each policy does. This action supports
pagination. If the response includes a token, there are more records
available. To get the additional records, repeat the request with the
response token as the NextToken
parameter.
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 LaunchConfiguration.
The specified launch configuration must not be attached to an Auto Scaling group. When this call completes, the launch configuration is no longer available for use.
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 LaunchConfiguration.
The specified launch configuration must not be attached to an Auto Scaling group. When this call completes, the launch configuration is no longer available for use.
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 a new Auto Scaling group with the specified name and other attributes. When the creation request is completed, the Auto Scaling group is ready to be used in other calls.
NOTE: The Auto Scaling group name must be unique within the scope of your AWS account.
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 a new Auto Scaling group with the specified name and other attributes. When the creation request is completed, the Auto Scaling group is ready to be used in other calls.
NOTE: The Auto Scaling group name must be unique within the scope of your AWS account.
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 Amazon EC2 instances to an existing Auto Scaling group. After the instance(s) is attached, it becomes a part of the 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 Amazon EC2 instances to an existing Auto Scaling group. After the instance(s) is attached, it becomes a part of the 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
Returns the scaling activities for the specified Auto Scaling group.
If the specified ActivityIds
list is empty, all the
activities from the past six weeks are returned. Activities are sorted
by the start time. Activities still in progress appear first on the
list.
This action supports pagination. If the response includes a token,
there are more records available. To get the additional records,
repeat the request with the response token as the
NextToken
parameter.
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
Returns the scaling activities for the specified Auto Scaling group.
If the specified ActivityIds
list is empty, all the
activities from the past six weeks are returned. Activities are sorted
by the start time. Activities still in progress appear first on the
list.
This action supports pagination. If the response includes a token,
there are more records available. To get the additional records,
repeat the request with the response token as the
NextToken
parameter.
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
Returns a list of notification actions associated with Auto Scaling groups for specified events.
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
Returns a list of notification actions associated with Auto Scaling groups for specified events.
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 an 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:
To learn more, see Auto Scaling Pending State and Auto Scaling Terminating State .
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 an 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:
To learn more, see Auto Scaling Pending State and Auto Scaling Terminating State .
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
Returns a list of all 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
Returns a list of all 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
Lists the Auto Scaling group tags.
You can use filters to limit results when describing tags. For example, you can query for tags of a particular Auto Scaling group. You can specify multiple values for a filter. A tag must match at least one of the specified values for it to be included in the results.
You can also specify multiple filters. The result includes information for a particular tag only if it matches all your filters. If there's no match, no special message is returned.
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
Lists the Auto Scaling group tags.
You can use filters to limit results when describing tags. For example, you can query for tags of a particular Auto Scaling group. You can specify multiple values for a filter. A tag must match at least one of the specified values for it to be included in the results.
You can also specify multiple filters. The result includes information for a particular tag only if it matches all your filters. If there's no match, no special message is returned.
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
Removes the specified tags or a set of tags from a set of resources.
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
Removes the specified tags or a set of tags from a set of resources.
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 parameter(s) you want to change. Any existing parameter not changed in an update to an existing policy is not changed in this update request.
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 parameter(s) you want to change. Any existing parameter not changed in an update to an existing policy is not changed in this update request.
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 Get Email Notifications When Your Auto Scaling Group Changes
A new PutNotificationConfiguration
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 Get Email Notifications When Your Auto Scaling Group Changes
A new PutNotificationConfiguration
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
Move an instance out of Standby mode.
To learn more about how to put instances that are in a Standby mode back into service, see Auto Scaling InService State .
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
Move an instance out of Standby mode.
To learn more about how to put instances that are in a Standby mode back into service, see Auto Scaling InService State .
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 a policy created by PutScalingPolicy.
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 a policy created by PutScalingPolicy.
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:
To learn more, see Auto Scaling Pending State and Auto Scaling Terminating State .
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:
To learn more, see Auto Scaling Pending State and Auto Scaling Terminating State .
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 notifications created by PutNotificationConfiguration.
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 notifications created by PutNotificationConfiguration.
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 a scheduled action previously created using the PutScheduledUpdateGroupAction.
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 a scheduled action previously created using the PutScheduledUpdateGroupAction.
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 a specified instance that belongs to any of your Auto Scaling groups.
For more information, see Configure Health Checks for Your Auto Scaling group .
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 a specified instance that belongs to any of your Auto Scaling groups.
For more information, see Configure Health Checks for Your Auto Scaling group .
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
Returns a list of all 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
Returns a list of all 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 Auto Scaling processes for an Auto Scaling group. To suspend
specific process types, specify them by name with the
ScalingProcesses.member.N
parameter. To suspend all
process types, omit the ScalingProcesses.member.N
parameter.
IMPORTANT: Suspending either of the two primary process types, Launch or Terminate, can prevent other process types from functioning properly.
To resume processes that have been suspended, use ResumeProcesses For more information on suspending and resuming Auto Scaling process, see Suspend and Resume Auto Scaling Process .
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 Auto Scaling processes for an Auto Scaling group. To suspend
specific process types, specify them by name with the
ScalingProcesses.member.N
parameter. To suspend all
process types, omit the ScalingProcesses.member.N
parameter.
IMPORTANT: Suspending either of the two primary process types, Launch or Terminate, can prevent other process types from functioning properly.
To resume processes that have been suspended, use ResumeProcesses For more information on suspending and resuming Auto Scaling process, see Suspend and Resume Auto Scaling Process .
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 new tags or updates existing tags for an Auto Scaling group.
NOTE: A tag's definition is composed of a resource ID, resource type, key and value, and the propagate flag. Value and the propagate flag are optional parameters. See the Request Parameters for more information.
For information on creating tags for your Auto Scaling group, see Tag Your Auto Scaling Groups and Amazon EC2 Instances .
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 new tags or updates existing tags for an Auto Scaling group.
NOTE: A tag's definition is composed of a resource ID, resource type, key and value, and the propagate flag. Value and the propagate flag are optional parameters. See the Request Parameters for more information.
For information on creating tags for your Auto Scaling group, see Tag Your Auto Scaling Groups and Amazon EC2 Instances .
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
Using DetachInstances
, you can remove an instance from
an Auto Scaling group. After the instances are detached, you can
manage them independently from the rest of the Auto Scaling group.
To learn more about detaching instances, see Detach Amazon EC2 Instances From Your Auto Scaling Group .
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
Using DetachInstances
, you can remove an instance from
an Auto Scaling group. After the instances are detached, you can
manage them independently from the rest of the Auto Scaling group.
To learn more about detaching instances, see Detach Amazon EC2 Instances From Your Auto Scaling Group .
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
Returns a description of each Auto Scaling instance in the
InstanceIds
list. If a list is not provided, the service
returns the full details of all instances up to a maximum of 50. By
default, the service returns a list of 20 items.
This action supports pagination by returning a token if there are
more pages to retrieve. To get the next page, call this action again
with the returned token as the NextToken
parameter.
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
Returns a description of each Auto Scaling instance in the
InstanceIds
list. If a list is not provided, the service
returns the full details of all instances up to a maximum of 50. By
default, the service returns a list of 20 items.
This action supports pagination by returning a token if there are
more pages to retrieve. To get the next page, call this action again
with the returned token as the NextToken
parameter.
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 new launch configuration. The launch configuration name must be unique within the scope of the client's AWS account. The maximum limit of launch configurations, which by default is 100, must not yet have been met; otherwise, the call will fail. When created, the new launch configuration is available for immediate use.
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 new launch configuration. The launch configuration name must be unique within the scope of the client's AWS account. The maximum limit of launch configurations, which by default is 100, must not yet have been met; otherwise, the call will fail. When created, the new launch configuration is available for immediate use.
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
Move instances in an Auto Scaling group into a Standby mode.
To learn more about how to put instances into a Standby mode, see Auto Scaling InService State .
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
Move instances in an Auto Scaling group into a Standby mode.
To learn more about how to put instances into a Standby mode, see Auto Scaling InService State .
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 if the group has no instances and no scaling activities in progress.
NOTE: To remove all instances before calling DeleteAutoScalingGroup, you can call UpdateAutoScalingGroup to set the minimum and maximum size of the AutoScalingGroup to zero.
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 if the group has no instances and no scaling activities in progress.
NOTE: To remove all instances before calling DeleteAutoScalingGroup, you can call UpdateAutoScalingGroup to set the minimum and maximum size of the AutoScalingGroup to zero.
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 group metrics for the Auto Scaling group
specified in AutoScalingGroupName
. You can specify the
list of affected metrics with the Metrics
parameter.
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 group metrics for the Auto Scaling group
specified in AutoScalingGroupName
. You can specify the
list of affected metrics with the Metrics
parameter.
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
Returns a full description of the launch configurations, or the specified launch configurations, if they exist.
If no name is specified, then the full details of all launch configurations are returned.
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
Returns a full description of the launch configurations, or the specified launch configurations, if they exist.
If no name is specified, then the full details of all launch configurations are returned.
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
Returns policy adjustment types for use in the PutScalingPolicy action.
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
Returns policy adjustment types for use in the PutScalingPolicy action.
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 all the actions scheduled for your Auto Scaling group that haven't been executed. To see a list of actions already executed, see the activity record returned in DescribeScalingActivities.
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 all the actions scheduled for your Auto Scaling group that haven't been executed. To see a list of actions already executed, see the activity record returned in DescribeScalingActivities.
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 the PutLifecycleHook
operation.
This operation is a part of the basic sequence for adding a lifecycle hook to an Auto Scaling group:
To learn more, see Auto Scaling Pending State and Auto Scaling Terminating State .
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 the PutLifecycleHook
operation.
This operation is a part of the basic sequence for adding a lifecycle hook to an Auto Scaling group:
To learn more, see Auto Scaling Pending State and Auto Scaling Terminating State .
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 information on creating or updating a scheduled action for your Auto Scaling group, see Scale Based on a Schedule .
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 information on creating or updating a scheduled action for your Auto Scaling group, see Scale Based on a Schedule .
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 desired 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 desired 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. Optionally, the desired group size can be adjusted.
NOTE: This call simply registers a termination request. The termination of the instance cannot happen 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. Optionally, the desired group size can be adjusted.
NOTE: This call simply registers a termination request. The termination of the instance cannot happen 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 © 2014. All rights reserved.