C# Class Amazon.AutoScaling.AmazonAutoScalingClient

Implementation for accessing AutoScaling Auto Scaling

Auto Scaling is designed to automatically launch or terminate EC2 instances based on user-defined policies, schedules, and health checks. Use this service in conjunction with the Amazon CloudWatch and Elastic Load Balancing services.

Inheritance: AmazonServiceClient, IAmazonAutoScaling
显示文件 Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
AmazonAutoScalingClient ( ) : System

Constructs AmazonAutoScalingClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>

AmazonAutoScalingClient ( AWSCredentials credentials ) : System

Constructs AmazonAutoScalingClient with AWS Credentials

AmazonAutoScalingClient ( AWSCredentials credentials, AmazonAutoScalingConfig clientConfig ) : System

Constructs AmazonAutoScalingClient with AWS Credentials and an AmazonAutoScalingClient Configuration object.

AmazonAutoScalingClient ( AWSCredentials credentials, RegionEndpoint region ) : System

Constructs AmazonAutoScalingClient with AWS Credentials

AmazonAutoScalingClient ( AmazonAutoScalingConfig config ) : System

Constructs AmazonAutoScalingClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>

AmazonAutoScalingClient ( RegionEndpoint region ) : System

Constructs AmazonAutoScalingClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>

AmazonAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey ) : System

Constructs AmazonAutoScalingClient with AWS Access Key ID and AWS Secret Key

AmazonAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, AmazonAutoScalingConfig clientConfig ) : System

Constructs AmazonAutoScalingClient with AWS Access Key ID, AWS Secret Key and an AmazonAutoScalingClient Configuration object.

AmazonAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region ) : System

Constructs AmazonAutoScalingClient with AWS Access Key ID and AWS Secret Key

AmazonAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken ) : System

Constructs AmazonAutoScalingClient with AWS Access Key ID and AWS Secret Key

AmazonAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAutoScalingConfig clientConfig ) : System

Constructs AmazonAutoScalingClient with AWS Access Key ID, AWS Secret Key and an AmazonAutoScalingClient Configuration object.

AmazonAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region ) : System

Constructs AmazonAutoScalingClient with AWS Access Key ID and AWS Secret Key

AttachInstances ( AttachInstancesRequest request ) : Amazon.AutoScaling.Model.AttachInstancesResponse

Attaches one or more EC2 instances to the specified Auto Scaling group.

When you attach instances, Auto Scaling increases the desired capacity of the group by the number of instances being attached. If the number of instances being attached plus the desired capacity of the group exceeds the maximum size of the group, the operation fails.

If there is a Classic load balancer attached to your Auto Scaling group, the instances are also registered with the load balancer. If there are target groups attached to your Auto Scaling group, the instances are also registered with the target groups.

For more information, see Attach EC2 Instances to Your Auto Scaling Group in the Auto Scaling User Guide.

AttachInstancesAsync ( AttachInstancesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the AttachInstances operation.

AttachLoadBalancerTargetGroups ( AttachLoadBalancerTargetGroupsRequest request ) : AttachLoadBalancerTargetGroupsResponse

Attaches one or more target groups to the specified Auto Scaling group.

To describe the target groups for an Auto Scaling group, use DescribeLoadBalancerTargetGroups. To detach the target group from the Auto Scaling group, use DetachLoadBalancerTargetGroups.

For more information, see Attach a Load Balancer to Your Auto Scaling Group in the Auto Scaling User Guide.

AttachLoadBalancerTargetGroupsAsync ( AttachLoadBalancerTargetGroupsRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the AttachLoadBalancerTargetGroups operation.

AttachLoadBalancers ( AttachLoadBalancersRequest request ) : AttachLoadBalancersResponse

Attaches one or more Classic load balancers to the specified Auto Scaling group.

To attach an Application load balancer instead, see AttachLoadBalancerTargetGroups.

To describe the load balancers for an Auto Scaling group, use DescribeLoadBalancers. To detach the load balancer from the Auto Scaling group, use DetachLoadBalancers.

For more information, see Attach a Load Balancer to Your Auto Scaling Group in the Auto Scaling User Guide.

AttachLoadBalancersAsync ( AttachLoadBalancersRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the AttachLoadBalancers operation.

BeginAttachInstances ( AttachInstancesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the AttachInstances operation.

BeginAttachLoadBalancerTargetGroups ( AttachLoadBalancerTargetGroupsRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the AttachLoadBalancerTargetGroups operation.

BeginAttachLoadBalancers ( AttachLoadBalancersRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the AttachLoadBalancers operation.

BeginCompleteLifecycleAction ( CompleteLifecycleActionRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the CompleteLifecycleAction operation.

BeginCreateAutoScalingGroup ( CreateAutoScalingGroupRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the CreateAutoScalingGroup operation.

BeginCreateLaunchConfiguration ( CreateLaunchConfigurationRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the CreateLaunchConfiguration operation.

BeginCreateOrUpdateTags ( CreateOrUpdateTagsRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the CreateOrUpdateTags operation.

BeginDeleteAutoScalingGroup ( DeleteAutoScalingGroupRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DeleteAutoScalingGroup operation.

BeginDeleteLaunchConfiguration ( DeleteLaunchConfigurationRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DeleteLaunchConfiguration operation.

BeginDeleteLifecycleHook ( Amazon.AutoScaling.Model.DeleteLifecycleHookRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DeleteLifecycleHook operation.

BeginDeleteNotificationConfiguration ( DeleteNotificationConfigurationRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DeleteNotificationConfiguration operation.

BeginDeletePolicy ( DeletePolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DeletePolicy operation.

BeginDeleteScheduledAction ( DeleteScheduledActionRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DeleteScheduledAction operation.

BeginDeleteTags ( DeleteTagsRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DeleteTags operation.

BeginDescribeAccountLimits ( DescribeAccountLimitsRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeAccountLimits operation.

BeginDescribeAdjustmentTypes ( DescribeAdjustmentTypesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeAdjustmentTypes operation.

BeginDescribeAutoScalingGroups ( DescribeAutoScalingGroupsRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeAutoScalingGroups operation.

BeginDescribeAutoScalingInstances ( DescribeAutoScalingInstancesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeAutoScalingInstances operation.

BeginDescribeAutoScalingNotificationTypes ( DescribeAutoScalingNotificationTypesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeAutoScalingNotificationTypes operation.

BeginDescribeLaunchConfigurations ( DescribeLaunchConfigurationsRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeLaunchConfigurations operation.

BeginDescribeLifecycleHookTypes ( DescribeLifecycleHookTypesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeLifecycleHookTypes operation.

BeginDescribeLifecycleHooks ( DescribeLifecycleHooksRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeLifecycleHooks operation.

BeginDescribeLoadBalancerTargetGroups ( DescribeLoadBalancerTargetGroupsRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeLoadBalancerTargetGroups operation.

BeginDescribeLoadBalancers ( DescribeLoadBalancersRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeLoadBalancers operation.

BeginDescribeMetricCollectionTypes ( DescribeMetricCollectionTypesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeMetricCollectionTypes operation.

BeginDescribeNotificationConfigurations ( DescribeNotificationConfigurationsRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeNotificationConfigurations operation.

BeginDescribePolicies ( DescribePoliciesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribePolicies operation.

BeginDescribeScalingActivities ( DescribeScalingActivitiesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeScalingActivities operation.

BeginDescribeScalingProcessTypes ( DescribeScalingProcessTypesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeScalingProcessTypes operation.

BeginDescribeScheduledActions ( DescribeScheduledActionsRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeScheduledActions operation.

BeginDescribeTags ( DescribeTagsRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeTags operation.

BeginDescribeTerminationPolicyTypes ( DescribeTerminationPolicyTypesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DescribeTerminationPolicyTypes operation.

BeginDetachInstances ( DetachInstancesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DetachInstances operation.

BeginDetachLoadBalancerTargetGroups ( DetachLoadBalancerTargetGroupsRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DetachLoadBalancerTargetGroups operation.

BeginDetachLoadBalancers ( DetachLoadBalancersRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DetachLoadBalancers operation.

BeginDisableMetricsCollection ( DisableMetricsCollectionRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the DisableMetricsCollection operation.

BeginEnableMetricsCollection ( EnableMetricsCollectionRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the EnableMetricsCollection operation.

BeginEnterStandby ( EnterStandbyRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the EnterStandby operation.

BeginExecutePolicy ( ExecutePolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the ExecutePolicy operation.

BeginExitStandby ( ExitStandbyRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the ExitStandby operation.

BeginPutLifecycleHook ( PutLifecycleHookRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the PutLifecycleHook operation.

BeginPutNotificationConfiguration ( PutNotificationConfigurationRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the PutNotificationConfiguration operation.

BeginPutScalingPolicy ( PutScalingPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the PutScalingPolicy operation.

BeginPutScheduledUpdateGroupAction ( PutScheduledUpdateGroupActionRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the PutScheduledUpdateGroupAction operation.

BeginRecordLifecycleActionHeartbeat ( RecordLifecycleActionHeartbeatRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the RecordLifecycleActionHeartbeat operation.

BeginResumeProcesses ( ResumeProcessesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the ResumeProcesses operation.

BeginSetDesiredCapacity ( SetDesiredCapacityRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the SetDesiredCapacity operation.

BeginSetInstanceHealth ( SetInstanceHealthRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the SetInstanceHealth operation.

BeginSetInstanceProtection ( SetInstanceProtectionRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the SetInstanceProtection operation.

BeginSuspendProcesses ( SuspendProcessesRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the SuspendProcesses operation.

BeginTerminateInstanceInAutoScalingGroup ( TerminateInstanceInAutoScalingGroupRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the TerminateInstanceInAutoScalingGroup operation.

BeginUpdateAutoScalingGroup ( UpdateAutoScalingGroupRequest request, AsyncCallback callback, object state ) : IAsyncResult

Initiates the asynchronous execution of the UpdateAutoScalingGroup operation.

CompleteLifecycleAction ( CompleteLifecycleActionRequest request ) : CompleteLifecycleActionResponse

Completes the lifecycle action for the specified token or instance with the specified result.

This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:

  1. (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances.

  2. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target.

  3. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.

  4. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.

  5. If you finish before the timeout period ends, complete the lifecycle action.

For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide.

CompleteLifecycleActionAsync ( CompleteLifecycleActionRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the CompleteLifecycleAction operation.

CreateAutoScalingGroup ( CreateAutoScalingGroupRequest request ) : CreateAutoScalingGroupResponse

Creates an Auto Scaling group with the specified name and attributes.

If you exceed your maximum limit of Auto Scaling groups, which by default is 20 per region, the call fails. For information about viewing and updating this limit, see DescribeAccountLimits.

For more information, see Auto Scaling Groups in the Auto Scaling User Guide.

CreateAutoScalingGroupAsync ( CreateAutoScalingGroupRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the CreateAutoScalingGroup operation.

CreateLaunchConfiguration ( CreateLaunchConfigurationRequest request ) : CreateLaunchConfigurationResponse

Creates a launch configuration.

If you exceed your maximum limit of launch configurations, which by default is 100 per region, the call fails. For information about viewing and updating this limit, see DescribeAccountLimits.

For more information, see Launch Configurations in the Auto Scaling User Guide.

CreateLaunchConfigurationAsync ( CreateLaunchConfigurationRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the CreateLaunchConfiguration operation.

CreateOrUpdateTags ( CreateOrUpdateTagsRequest request ) : CreateOrUpdateTagsResponse

Creates or updates tags for the specified Auto Scaling group.

When you specify a tag with a key that already exists, the operation overwrites the previous tag definition, and you do not get an error message.

For more information, see Tagging Auto Scaling Groups and Instances in the Auto Scaling User Guide.

CreateOrUpdateTagsAsync ( CreateOrUpdateTagsRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the CreateOrUpdateTags operation.

DeleteAutoScalingGroup ( DeleteAutoScalingGroupRequest request ) : DeleteAutoScalingGroupResponse

Deletes the specified Auto Scaling group.

If the group has instances or scaling activities in progress, you must specify the option to force the deletion in order for it to succeed.

If the group has policies, deleting the group deletes the policies, the underlying alarm actions, and any alarm that no longer has an associated action.

To remove instances from the Auto Scaling group before deleting it, call DetachInstances with the list of instances and the option to decrement the desired capacity so that Auto Scaling does not launch replacement instances.

To terminate all instances before deleting the Auto Scaling group, call UpdateAutoScalingGroup and set the minimum size and desired capacity of the Auto Scaling group to zero.

DeleteAutoScalingGroupAsync ( DeleteAutoScalingGroupRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DeleteAutoScalingGroup operation.

DeleteLaunchConfiguration ( DeleteLaunchConfigurationRequest request ) : DeleteLaunchConfigurationResponse

Deletes the specified launch configuration.

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

DeleteLaunchConfigurationAsync ( DeleteLaunchConfigurationRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DeleteLaunchConfiguration operation.

DeleteLifecycleHook ( DeleteLifecycleHookRequest request ) : DeleteLifecycleHookResponse

Deletes the specified lifecycle hook.

If there are any outstanding lifecycle actions, they are completed first (ABANDON for launching instances, CONTINUE for terminating instances).

DeleteLifecycleHookAsync ( DeleteLifecycleHookRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DeleteLifecycleHook operation.

DeleteNotificationConfiguration ( DeleteNotificationConfigurationRequest request ) : DeleteNotificationConfigurationResponse

Deletes the specified notification.

DeleteNotificationConfigurationAsync ( DeleteNotificationConfigurationRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DeleteNotificationConfiguration operation.

DeletePolicy ( DeletePolicyRequest request ) : DeletePolicyResponse

Deletes the specified Auto Scaling policy.

Deleting a policy deletes the underlying alarm action, but does not delete the alarm, even if it no longer has an associated action.

DeletePolicyAsync ( DeletePolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DeletePolicy operation.

DeleteScheduledAction ( DeleteScheduledActionRequest request ) : DeleteScheduledActionResponse

Deletes the specified scheduled action.

DeleteScheduledActionAsync ( DeleteScheduledActionRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DeleteScheduledAction operation.

DeleteTags ( DeleteTagsRequest request ) : DeleteTagsResponse

Deletes the specified tags.

DeleteTagsAsync ( DeleteTagsRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DeleteTags operation.

DescribeAccountLimits ( ) : DescribeAccountLimitsResponse

Describes the current Auto Scaling resource limits for your AWS account.

For information about requesting an increase in these limits, see AWS Service Limits in the Amazon Web Services General Reference.

DescribeAccountLimits ( DescribeAccountLimitsRequest request ) : DescribeAccountLimitsResponse

Describes the current Auto Scaling resource limits for your AWS account.

For information about requesting an increase in these limits, see AWS Service Limits in the Amazon Web Services General Reference.

DescribeAccountLimitsAsync ( DescribeAccountLimitsRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeAccountLimits operation.

DescribeAccountLimitsAsync ( System cancellationToken = default(CancellationToken) ) : Task

Describes the current Auto Scaling resource limits for your AWS account.

For information about requesting an increase in these limits, see AWS Service Limits in the Amazon Web Services General Reference.

DescribeAdjustmentTypes ( ) : DescribeAdjustmentTypesResponse

Describes the policy adjustment types for use with PutScalingPolicy.

DescribeAdjustmentTypes ( DescribeAdjustmentTypesRequest request ) : DescribeAdjustmentTypesResponse

Describes the policy adjustment types for use with PutScalingPolicy.

DescribeAdjustmentTypesAsync ( DescribeAdjustmentTypesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeAdjustmentTypes operation.

DescribeAdjustmentTypesAsync ( System cancellationToken = default(CancellationToken) ) : Task

Describes the policy adjustment types for use with PutScalingPolicy.

DescribeAutoScalingGroups ( ) : DescribeAutoScalingGroupsResponse

Describes one or more Auto Scaling groups.

DescribeAutoScalingGroups ( DescribeAutoScalingGroupsRequest request ) : DescribeAutoScalingGroupsResponse

Describes one or more Auto Scaling groups.

DescribeAutoScalingGroupsAsync ( DescribeAutoScalingGroupsRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeAutoScalingGroups operation.

DescribeAutoScalingGroupsAsync ( System cancellationToken = default(CancellationToken) ) : Task

Describes one or more Auto Scaling groups.

DescribeAutoScalingInstances ( ) : DescribeAutoScalingInstancesResponse

Describes one or more Auto Scaling instances.

DescribeAutoScalingInstances ( DescribeAutoScalingInstancesRequest request ) : DescribeAutoScalingInstancesResponse

Describes one or more Auto Scaling instances.

DescribeAutoScalingInstancesAsync ( DescribeAutoScalingInstancesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeAutoScalingInstances operation.

DescribeAutoScalingInstancesAsync ( System cancellationToken = default(CancellationToken) ) : Task

Describes one or more Auto Scaling instances.

DescribeAutoScalingNotificationTypes ( ) : DescribeAutoScalingNotificationTypesResponse

Describes the notification types that are supported by Auto Scaling.

DescribeAutoScalingNotificationTypes ( DescribeAutoScalingNotificationTypesRequest request ) : DescribeAutoScalingNotificationTypesResponse

Describes the notification types that are supported by Auto Scaling.

DescribeAutoScalingNotificationTypesAsync ( DescribeAutoScalingNotificationTypesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeAutoScalingNotificationTypes operation.

DescribeAutoScalingNotificationTypesAsync ( System cancellationToken = default(CancellationToken) ) : Task

Describes the notification types that are supported by Auto Scaling.

DescribeLaunchConfigurations ( ) : DescribeLaunchConfigurationsResponse

Describes one or more launch configurations.

DescribeLaunchConfigurations ( DescribeLaunchConfigurationsRequest request ) : DescribeLaunchConfigurationsResponse

Describes one or more launch configurations.

DescribeLaunchConfigurationsAsync ( DescribeLaunchConfigurationsRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeLaunchConfigurations operation.

DescribeLaunchConfigurationsAsync ( System cancellationToken = default(CancellationToken) ) : Task

Describes one or more launch configurations.

DescribeLifecycleHookTypes ( DescribeLifecycleHookTypesRequest request ) : DescribeLifecycleHookTypesResponse

Describes the available types of lifecycle hooks.

DescribeLifecycleHookTypesAsync ( DescribeLifecycleHookTypesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeLifecycleHookTypes operation.

DescribeLifecycleHooks ( DescribeLifecycleHooksRequest request ) : DescribeLifecycleHooksResponse

Describes the lifecycle hooks for the specified Auto Scaling group.

DescribeLifecycleHooksAsync ( DescribeLifecycleHooksRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeLifecycleHooks operation.

DescribeLoadBalancerTargetGroups ( DescribeLoadBalancerTargetGroupsRequest request ) : DescribeLoadBalancerTargetGroupsResponse

Describes the target groups for the specified Auto Scaling group.

DescribeLoadBalancerTargetGroupsAsync ( DescribeLoadBalancerTargetGroupsRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeLoadBalancerTargetGroups operation.

DescribeLoadBalancers ( DescribeLoadBalancersRequest request ) : DescribeLoadBalancersResponse

Describes the load balancers for the specified Auto Scaling group.

Note that this operation describes only Classic load balancers. If you have Application load balancers, use DescribeLoadBalancerTargetGroups instead.

DescribeLoadBalancersAsync ( DescribeLoadBalancersRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeLoadBalancers operation.

DescribeMetricCollectionTypes ( ) : DescribeMetricCollectionTypesResponse

Describes the available CloudWatch metrics for Auto Scaling.

Note that the GroupStandbyInstances metric is not returned by default. You must explicitly request this metric when calling EnableMetricsCollection.

DescribeMetricCollectionTypes ( DescribeMetricCollectionTypesRequest request ) : DescribeMetricCollectionTypesResponse

Describes the available CloudWatch metrics for Auto Scaling.

Note that the GroupStandbyInstances metric is not returned by default. You must explicitly request this metric when calling EnableMetricsCollection.

DescribeMetricCollectionTypesAsync ( DescribeMetricCollectionTypesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeMetricCollectionTypes operation.

DescribeMetricCollectionTypesAsync ( System cancellationToken = default(CancellationToken) ) : Task

Describes the available CloudWatch metrics for Auto Scaling.

Note that the GroupStandbyInstances metric is not returned by default. You must explicitly request this metric when calling EnableMetricsCollection.

DescribeNotificationConfigurations ( ) : DescribeNotificationConfigurationsResponse

Describes the notification actions associated with the specified Auto Scaling group.

DescribeNotificationConfigurations ( DescribeNotificationConfigurationsRequest request ) : DescribeNotificationConfigurationsResponse

Describes the notification actions associated with the specified Auto Scaling group.

DescribeNotificationConfigurationsAsync ( DescribeNotificationConfigurationsRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeNotificationConfigurations operation.

DescribeNotificationConfigurationsAsync ( System cancellationToken = default(CancellationToken) ) : Task

Describes the notification actions associated with the specified Auto Scaling group.

DescribePolicies ( ) : DescribePoliciesResponse

Describes the policies for the specified Auto Scaling group.

DescribePolicies ( DescribePoliciesRequest request ) : DescribePoliciesResponse

Describes the policies for the specified Auto Scaling group.

DescribePoliciesAsync ( DescribePoliciesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribePolicies operation.

DescribePoliciesAsync ( System cancellationToken = default(CancellationToken) ) : Task

Describes the policies for the specified Auto Scaling group.

DescribeScalingActivities ( ) : DescribeScalingActivitiesResponse

Describes one or more scaling activities for the specified Auto Scaling group.

DescribeScalingActivities ( DescribeScalingActivitiesRequest request ) : DescribeScalingActivitiesResponse

Describes one or more scaling activities for the specified Auto Scaling group.

DescribeScalingActivitiesAsync ( DescribeScalingActivitiesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeScalingActivities operation.

DescribeScalingActivitiesAsync ( System cancellationToken = default(CancellationToken) ) : Task

Describes one or more scaling activities for the specified Auto Scaling group.

DescribeScalingProcessTypes ( ) : DescribeScalingProcessTypesResponse

Describes the scaling process types for use with ResumeProcesses and SuspendProcesses.

DescribeScalingProcessTypes ( DescribeScalingProcessTypesRequest request ) : DescribeScalingProcessTypesResponse

Describes the scaling process types for use with ResumeProcesses and SuspendProcesses.

DescribeScalingProcessTypesAsync ( DescribeScalingProcessTypesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeScalingProcessTypes operation.

DescribeScalingProcessTypesAsync ( System cancellationToken = default(CancellationToken) ) : Task

Describes the scaling process types for use with ResumeProcesses and SuspendProcesses.

DescribeScheduledActions ( ) : DescribeScheduledActionsResponse

Describes the actions scheduled for your Auto Scaling group that haven't run. To describe the actions that have already run, use DescribeScalingActivities.

DescribeScheduledActions ( DescribeScheduledActionsRequest request ) : DescribeScheduledActionsResponse

Describes the actions scheduled for your Auto Scaling group that haven't run. To describe the actions that have already run, use DescribeScalingActivities.

DescribeScheduledActionsAsync ( DescribeScheduledActionsRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeScheduledActions operation.

DescribeScheduledActionsAsync ( System cancellationToken = default(CancellationToken) ) : Task

Describes the actions scheduled for your Auto Scaling group that haven't run. To describe the actions that have already run, use DescribeScalingActivities.

DescribeTags ( ) : DescribeTagsResponse

Describes the specified tags.

You can use filters to limit the results. For example, you can query for the tags for a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at least one of the specified values for it to be included in the results.

You can also specify multiple filters. The result includes information for a particular tag only if it matches all the filters. If there's no match, no special message is returned.

DescribeTags ( DescribeTagsRequest request ) : DescribeTagsResponse

Describes the specified tags.

You can use filters to limit the results. For example, you can query for the tags for a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at least one of the specified values for it to be included in the results.

You can also specify multiple filters. The result includes information for a particular tag only if it matches all the filters. If there's no match, no special message is returned.

DescribeTagsAsync ( DescribeTagsRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeTags operation.

DescribeTagsAsync ( System cancellationToken = default(CancellationToken) ) : Task

Describes the specified tags.

You can use filters to limit the results. For example, you can query for the tags for a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at least one of the specified values for it to be included in the results.

You can also specify multiple filters. The result includes information for a particular tag only if it matches all the filters. If there's no match, no special message is returned.

DescribeTerminationPolicyTypes ( ) : DescribeTerminationPolicyTypesResponse

Describes the termination policies supported by Auto Scaling.

DescribeTerminationPolicyTypes ( DescribeTerminationPolicyTypesRequest request ) : DescribeTerminationPolicyTypesResponse

Describes the termination policies supported by Auto Scaling.

DescribeTerminationPolicyTypesAsync ( DescribeTerminationPolicyTypesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DescribeTerminationPolicyTypes operation.

DescribeTerminationPolicyTypesAsync ( System cancellationToken = default(CancellationToken) ) : Task

Describes the termination policies supported by Auto Scaling.

DetachInstances ( DetachInstancesRequest request ) : DetachInstancesResponse

Removes one or more instances from the specified Auto Scaling group.

After the instances are detached, you can manage them independently from the rest of the Auto Scaling group.

If you do not specify the option to decrement the desired capacity, Auto Scaling launches instances to replace the ones that are detached.

If there is a Classic load balancer attached to the Auto Scaling group, the instances are deregistered from the load balancer. If there are target groups attached to the Auto Scaling group, the instances are deregistered from the target groups.

For more information, see Detach EC2 Instances from Your Auto Scaling Group in the Auto Scaling User Guide.

DetachInstancesAsync ( DetachInstancesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DetachInstances operation.

DetachLoadBalancerTargetGroups ( DetachLoadBalancerTargetGroupsRequest request ) : DetachLoadBalancerTargetGroupsResponse

Detaches one or more target groups from the specified Auto Scaling group.

DetachLoadBalancerTargetGroupsAsync ( DetachLoadBalancerTargetGroupsRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DetachLoadBalancerTargetGroups operation.

DetachLoadBalancers ( DetachLoadBalancersRequest request ) : DetachLoadBalancersResponse

Detaches one or more Classic load balancers from the specified Auto Scaling group.

Note that this operation detaches only Classic load balancers. If you have Application load balancers, use DetachLoadBalancerTargetGroups instead.

When you detach a load balancer, it enters the Removing state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the load balancer using DescribeLoadBalancers. Note that the instances remain running.

DetachLoadBalancersAsync ( DetachLoadBalancersRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DetachLoadBalancers operation.

DisableMetricsCollection ( DisableMetricsCollectionRequest request ) : DisableMetricsCollectionResponse

Disables group metrics for the specified Auto Scaling group.

DisableMetricsCollectionAsync ( DisableMetricsCollectionRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the DisableMetricsCollection operation.

EnableMetricsCollection ( EnableMetricsCollectionRequest request ) : EnableMetricsCollectionResponse

Enables group metrics for the specified Auto Scaling group. For more information, see Monitoring Your Auto Scaling Groups and Instances in the Auto Scaling User Guide.

EnableMetricsCollectionAsync ( EnableMetricsCollectionRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the EnableMetricsCollection operation.

EndAttachInstances ( IAsyncResult asyncResult ) : AttachInstancesResponse

Finishes the asynchronous execution of the AttachInstances operation.

EndAttachLoadBalancerTargetGroups ( IAsyncResult asyncResult ) : AttachLoadBalancerTargetGroupsResponse

Finishes the asynchronous execution of the AttachLoadBalancerTargetGroups operation.

EndAttachLoadBalancers ( IAsyncResult asyncResult ) : AttachLoadBalancersResponse

Finishes the asynchronous execution of the AttachLoadBalancers operation.

EndCompleteLifecycleAction ( IAsyncResult asyncResult ) : CompleteLifecycleActionResponse

Finishes the asynchronous execution of the CompleteLifecycleAction operation.

EndCreateAutoScalingGroup ( IAsyncResult asyncResult ) : CreateAutoScalingGroupResponse

Finishes the asynchronous execution of the CreateAutoScalingGroup operation.

EndCreateLaunchConfiguration ( IAsyncResult asyncResult ) : CreateLaunchConfigurationResponse

Finishes the asynchronous execution of the CreateLaunchConfiguration operation.

EndCreateOrUpdateTags ( IAsyncResult asyncResult ) : CreateOrUpdateTagsResponse

Finishes the asynchronous execution of the CreateOrUpdateTags operation.

EndDeleteAutoScalingGroup ( IAsyncResult asyncResult ) : DeleteAutoScalingGroupResponse

Finishes the asynchronous execution of the DeleteAutoScalingGroup operation.

EndDeleteLaunchConfiguration ( IAsyncResult asyncResult ) : DeleteLaunchConfigurationResponse

Finishes the asynchronous execution of the DeleteLaunchConfiguration operation.

EndDeleteLifecycleHook ( IAsyncResult asyncResult ) : DeleteLifecycleHookResponse

Finishes the asynchronous execution of the DeleteLifecycleHook operation.

EndDeleteNotificationConfiguration ( IAsyncResult asyncResult ) : DeleteNotificationConfigurationResponse

Finishes the asynchronous execution of the DeleteNotificationConfiguration operation.

EndDeletePolicy ( IAsyncResult asyncResult ) : DeletePolicyResponse

Finishes the asynchronous execution of the DeletePolicy operation.

EndDeleteScheduledAction ( IAsyncResult asyncResult ) : DeleteScheduledActionResponse

Finishes the asynchronous execution of the DeleteScheduledAction operation.

EndDeleteTags ( IAsyncResult asyncResult ) : DeleteTagsResponse

Finishes the asynchronous execution of the DeleteTags operation.

EndDescribeAccountLimits ( IAsyncResult asyncResult ) : DescribeAccountLimitsResponse

Finishes the asynchronous execution of the DescribeAccountLimits operation.

EndDescribeAdjustmentTypes ( IAsyncResult asyncResult ) : DescribeAdjustmentTypesResponse

Finishes the asynchronous execution of the DescribeAdjustmentTypes operation.

EndDescribeAutoScalingGroups ( IAsyncResult asyncResult ) : DescribeAutoScalingGroupsResponse

Finishes the asynchronous execution of the DescribeAutoScalingGroups operation.

EndDescribeAutoScalingInstances ( IAsyncResult asyncResult ) : DescribeAutoScalingInstancesResponse

Finishes the asynchronous execution of the DescribeAutoScalingInstances operation.

EndDescribeAutoScalingNotificationTypes ( IAsyncResult asyncResult ) : DescribeAutoScalingNotificationTypesResponse

Finishes the asynchronous execution of the DescribeAutoScalingNotificationTypes operation.

EndDescribeLaunchConfigurations ( IAsyncResult asyncResult ) : DescribeLaunchConfigurationsResponse

Finishes the asynchronous execution of the DescribeLaunchConfigurations operation.

EndDescribeLifecycleHookTypes ( IAsyncResult asyncResult ) : DescribeLifecycleHookTypesResponse

Finishes the asynchronous execution of the DescribeLifecycleHookTypes operation.

EndDescribeLifecycleHooks ( IAsyncResult asyncResult ) : DescribeLifecycleHooksResponse

Finishes the asynchronous execution of the DescribeLifecycleHooks operation.

EndDescribeLoadBalancerTargetGroups ( IAsyncResult asyncResult ) : DescribeLoadBalancerTargetGroupsResponse

Finishes the asynchronous execution of the DescribeLoadBalancerTargetGroups operation.

EndDescribeLoadBalancers ( IAsyncResult asyncResult ) : DescribeLoadBalancersResponse

Finishes the asynchronous execution of the DescribeLoadBalancers operation.

EndDescribeMetricCollectionTypes ( IAsyncResult asyncResult ) : DescribeMetricCollectionTypesResponse

Finishes the asynchronous execution of the DescribeMetricCollectionTypes operation.

EndDescribeNotificationConfigurations ( IAsyncResult asyncResult ) : DescribeNotificationConfigurationsResponse

Finishes the asynchronous execution of the DescribeNotificationConfigurations operation.

EndDescribePolicies ( IAsyncResult asyncResult ) : DescribePoliciesResponse

Finishes the asynchronous execution of the DescribePolicies operation.

EndDescribeScalingActivities ( IAsyncResult asyncResult ) : DescribeScalingActivitiesResponse

Finishes the asynchronous execution of the DescribeScalingActivities operation.

EndDescribeScalingProcessTypes ( IAsyncResult asyncResult ) : DescribeScalingProcessTypesResponse

Finishes the asynchronous execution of the DescribeScalingProcessTypes operation.

EndDescribeScheduledActions ( IAsyncResult asyncResult ) : DescribeScheduledActionsResponse

Finishes the asynchronous execution of the DescribeScheduledActions operation.

EndDescribeTags ( IAsyncResult asyncResult ) : DescribeTagsResponse

Finishes the asynchronous execution of the DescribeTags operation.

EndDescribeTerminationPolicyTypes ( IAsyncResult asyncResult ) : DescribeTerminationPolicyTypesResponse

Finishes the asynchronous execution of the DescribeTerminationPolicyTypes operation.

EndDetachInstances ( IAsyncResult asyncResult ) : DetachInstancesResponse

Finishes the asynchronous execution of the DetachInstances operation.

EndDetachLoadBalancerTargetGroups ( IAsyncResult asyncResult ) : DetachLoadBalancerTargetGroupsResponse

Finishes the asynchronous execution of the DetachLoadBalancerTargetGroups operation.

EndDetachLoadBalancers ( IAsyncResult asyncResult ) : DetachLoadBalancersResponse

Finishes the asynchronous execution of the DetachLoadBalancers operation.

EndDisableMetricsCollection ( IAsyncResult asyncResult ) : DisableMetricsCollectionResponse

Finishes the asynchronous execution of the DisableMetricsCollection operation.

EndEnableMetricsCollection ( IAsyncResult asyncResult ) : EnableMetricsCollectionResponse

Finishes the asynchronous execution of the EnableMetricsCollection operation.

EndEnterStandby ( IAsyncResult asyncResult ) : EnterStandbyResponse

Finishes the asynchronous execution of the EnterStandby operation.

EndExecutePolicy ( IAsyncResult asyncResult ) : ExecutePolicyResponse

Finishes the asynchronous execution of the ExecutePolicy operation.

EndExitStandby ( IAsyncResult asyncResult ) : ExitStandbyResponse

Finishes the asynchronous execution of the ExitStandby operation.

EndPutLifecycleHook ( IAsyncResult asyncResult ) : PutLifecycleHookResponse

Finishes the asynchronous execution of the PutLifecycleHook operation.

EndPutNotificationConfiguration ( IAsyncResult asyncResult ) : PutNotificationConfigurationResponse

Finishes the asynchronous execution of the PutNotificationConfiguration operation.

EndPutScalingPolicy ( IAsyncResult asyncResult ) : PutScalingPolicyResponse

Finishes the asynchronous execution of the PutScalingPolicy operation.

EndPutScheduledUpdateGroupAction ( IAsyncResult asyncResult ) : PutScheduledUpdateGroupActionResponse

Finishes the asynchronous execution of the PutScheduledUpdateGroupAction operation.

EndRecordLifecycleActionHeartbeat ( IAsyncResult asyncResult ) : RecordLifecycleActionHeartbeatResponse

Finishes the asynchronous execution of the RecordLifecycleActionHeartbeat operation.

EndResumeProcesses ( IAsyncResult asyncResult ) : ResumeProcessesResponse

Finishes the asynchronous execution of the ResumeProcesses operation.

EndSetDesiredCapacity ( IAsyncResult asyncResult ) : SetDesiredCapacityResponse

Finishes the asynchronous execution of the SetDesiredCapacity operation.

EndSetInstanceHealth ( IAsyncResult asyncResult ) : SetInstanceHealthResponse

Finishes the asynchronous execution of the SetInstanceHealth operation.

EndSetInstanceProtection ( IAsyncResult asyncResult ) : SetInstanceProtectionResponse

Finishes the asynchronous execution of the SetInstanceProtection operation.

EndSuspendProcesses ( IAsyncResult asyncResult ) : SuspendProcessesResponse

Finishes the asynchronous execution of the SuspendProcesses operation.

EndTerminateInstanceInAutoScalingGroup ( IAsyncResult asyncResult ) : TerminateInstanceInAutoScalingGroupResponse

Finishes the asynchronous execution of the TerminateInstanceInAutoScalingGroup operation.

EndUpdateAutoScalingGroup ( IAsyncResult asyncResult ) : UpdateAutoScalingGroupResponse

Finishes the asynchronous execution of the UpdateAutoScalingGroup operation.

EnterStandby ( EnterStandbyRequest request ) : EnterStandbyResponse

Moves the specified instances into Standby mode.

For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide.

EnterStandbyAsync ( EnterStandbyRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the EnterStandby operation.

ExecutePolicy ( ExecutePolicyRequest request ) : ExecutePolicyResponse

Executes the specified policy.

ExecutePolicyAsync ( ExecutePolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the ExecutePolicy operation.

ExitStandby ( ExitStandbyRequest request ) : ExitStandbyResponse

Moves the specified instances out of Standby mode.

For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide.

ExitStandbyAsync ( ExitStandbyRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the ExitStandby operation.

PutLifecycleHook ( PutLifecycleHookRequest request ) : PutLifecycleHookResponse

Creates or updates a lifecycle hook for the specified Auto Scaling Group.

A lifecycle hook tells Auto Scaling that you want to perform an action on an instance that is not actively in service; for example, either when the instance launches or before the instance terminates.

This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:

  1. (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances.

  2. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target.

  3. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.

  4. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.

  5. If you finish before the timeout period ends, complete the lifecycle action.

For more information, see Auto Scaling Lifecycle Hooks in the Auto Scaling User Guide.

If you exceed your maximum limit of lifecycle hooks, which by default is 50 per Auto Scaling group, the call fails. For information about updating this limit, see AWS Service Limits in the Amazon Web Services General Reference.

PutLifecycleHookAsync ( PutLifecycleHookRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the PutLifecycleHook operation.

PutNotificationConfiguration ( PutNotificationConfigurationRequest request ) : PutNotificationConfigurationResponse

Configures an Auto Scaling group to send notifications when specified events take place. Subscribers to the specified topic can have messages delivered to an endpoint such as a web server or an email address.

This configuration overwrites any existing configuration.

For more information see Getting SNS Notifications When Your Auto Scaling Group Scales in the Auto Scaling User Guide.

PutNotificationConfigurationAsync ( PutNotificationConfigurationRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the PutNotificationConfiguration operation.

PutScalingPolicy ( PutScalingPolicyRequest request ) : PutScalingPolicyResponse

Creates or updates a policy for an Auto Scaling group. To update an existing policy, use the existing policy name and set the parameters you want to change. Any existing parameter not changed in an update to an existing policy is not changed in this update request.

If you exceed your maximum limit of step adjustments, which by default is 20 per region, the call fails. For information about updating this limit, see AWS Service Limits in the Amazon Web Services General Reference.

PutScalingPolicyAsync ( PutScalingPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the PutScalingPolicy operation.

PutScheduledUpdateGroupAction ( PutScheduledUpdateGroupActionRequest request ) : PutScheduledUpdateGroupActionResponse

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.

For more information, see Scheduled Scaling in the Auto Scaling User Guide.

PutScheduledUpdateGroupActionAsync ( PutScheduledUpdateGroupActionRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the PutScheduledUpdateGroupAction operation.

RecordLifecycleActionHeartbeat ( RecordLifecycleActionHeartbeatRequest request ) : RecordLifecycleActionHeartbeatResponse

Records a heartbeat for the lifecycle action associated with the specified token or instance. This extends the timeout by the length of time defined using PutLifecycleHook.

This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:

  1. (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances.

  2. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target.

  3. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.

  4. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.

  5. If you finish before the timeout period ends, complete the lifecycle action.

For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide.

RecordLifecycleActionHeartbeatAsync ( RecordLifecycleActionHeartbeatRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the RecordLifecycleActionHeartbeat operation.

ResumeProcesses ( ResumeProcessesRequest request ) : ResumeProcessesResponse

Resumes the specified suspended Auto Scaling processes, or all suspended process, for the specified Auto Scaling group.

For more information, see Suspending and Resuming Auto Scaling Processes in the Auto Scaling User Guide.

ResumeProcessesAsync ( ResumeProcessesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the ResumeProcesses operation.

SetDesiredCapacity ( SetDesiredCapacityRequest request ) : SetDesiredCapacityResponse

Sets the size of the specified Auto Scaling group.

For more information about desired capacity, see What Is Auto Scaling? in the Auto Scaling User Guide.

SetDesiredCapacityAsync ( SetDesiredCapacityRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the SetDesiredCapacity operation.

SetInstanceHealth ( SetInstanceHealthRequest request ) : SetInstanceHealthResponse

Sets the health status of the specified instance.

For more information, see Health Checks in the Auto Scaling User Guide.

SetInstanceHealthAsync ( SetInstanceHealthRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the SetInstanceHealth operation.

SetInstanceProtection ( SetInstanceProtectionRequest request ) : SetInstanceProtectionResponse

Updates the instance protection settings of the specified instances.

For more information, see Instance Protection in the Auto Scaling User Guide.

SetInstanceProtectionAsync ( SetInstanceProtectionRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the SetInstanceProtection operation.

SuspendProcesses ( SuspendProcessesRequest request ) : SuspendProcessesResponse

Suspends the specified Auto Scaling processes, or all processes, for the specified Auto Scaling group.

Note that if you suspend either the Launch or Terminate process types, it can prevent other process types from functioning properly.

To resume processes that have been suspended, use ResumeProcesses.

For more information, see Suspending and Resuming Auto Scaling Processes in the Auto Scaling User Guide.

SuspendProcessesAsync ( SuspendProcessesRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the SuspendProcesses operation.

TerminateInstanceInAutoScalingGroup ( TerminateInstanceInAutoScalingGroupRequest request ) : TerminateInstanceInAutoScalingGroupResponse

Terminates the specified instance and optionally adjusts the desired group size.

This call simply makes a termination request. The instance is not terminated immediately.

TerminateInstanceInAutoScalingGroupAsync ( TerminateInstanceInAutoScalingGroupRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the TerminateInstanceInAutoScalingGroup operation.

UpdateAutoScalingGroup ( UpdateAutoScalingGroupRequest request ) : UpdateAutoScalingGroupResponse

Updates the configuration for the specified Auto Scaling group.

To update an Auto Scaling group with a launch configuration with InstanceMonitoring set to False, you must first disable the collection of group metrics. Otherwise, you will get an error. If you have previously enabled the collection of group metrics, you can disable it using DisableMetricsCollection.

The new settings are registered upon the completion of this call. Any launch configuration settings take effect on any triggers after this call returns. Scaling activities that are currently in progress aren't affected.

Note the following:

  • If you specify a new value for MinSize without specifying a value for DesiredCapacity, and the new MinSize is larger than the current size of the group, we implicitly call SetDesiredCapacity to set the size of the group to the new value of MinSize.

  • If you specify a new value for MaxSize without specifying a value for DesiredCapacity, and the new MaxSize is smaller than the current size of the group, we implicitly call SetDesiredCapacity to set the size of the group to the new value of MaxSize.

  • All other optional parameters are left unchanged if not specified.

UpdateAutoScalingGroupAsync ( UpdateAutoScalingGroupRequest request, System cancellationToken = default(CancellationToken) ) : Task

Initiates the asynchronous execution of the UpdateAutoScalingGroup operation.

Protected Methods

Method Description
CreateSigner ( ) : AbstractAWSSigner

Creates the signer for the service.

Dispose ( bool disposing ) : void

Disposes the service client.

Method Details

AmazonAutoScalingClient() public method

Constructs AmazonAutoScalingClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>
public AmazonAutoScalingClient ( ) : System
return System

AmazonAutoScalingClient() public method

Constructs AmazonAutoScalingClient with AWS Credentials
public AmazonAutoScalingClient ( AWSCredentials credentials ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
return System

AmazonAutoScalingClient() public method

Constructs AmazonAutoScalingClient with AWS Credentials and an AmazonAutoScalingClient Configuration object.
public AmazonAutoScalingClient ( AWSCredentials credentials, AmazonAutoScalingConfig clientConfig ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
clientConfig AmazonAutoScalingConfig The AmazonAutoScalingClient Configuration Object
return System

AmazonAutoScalingClient() public method

Constructs AmazonAutoScalingClient with AWS Credentials
public AmazonAutoScalingClient ( AWSCredentials credentials, RegionEndpoint region ) : System
credentials Amazon.Runtime.AWSCredentials AWS Credentials
region RegionEndpoint The region to connect.
return System

AmazonAutoScalingClient() public method

Constructs AmazonAutoScalingClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>
public AmazonAutoScalingClient ( AmazonAutoScalingConfig config ) : System
config AmazonAutoScalingConfig The AmazonAutoScalingClient Configuration Object
return System

AmazonAutoScalingClient() public method

Constructs AmazonAutoScalingClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set. <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="AWSProfileName" value="AWS Default"/> </appSettings> </configuration>
public AmazonAutoScalingClient ( RegionEndpoint region ) : System
region RegionEndpoint The region to connect.
return System

AmazonAutoScalingClient() public method

Constructs AmazonAutoScalingClient with AWS Access Key ID and AWS Secret Key
public AmazonAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
return System

AmazonAutoScalingClient() public method

Constructs AmazonAutoScalingClient with AWS Access Key ID, AWS Secret Key and an AmazonAutoScalingClient Configuration object.
public AmazonAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, AmazonAutoScalingConfig clientConfig ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
clientConfig AmazonAutoScalingConfig The AmazonAutoScalingClient Configuration Object
return System

AmazonAutoScalingClient() public method

Constructs AmazonAutoScalingClient with AWS Access Key ID and AWS Secret Key
public AmazonAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
region RegionEndpoint The region to connect.
return System

AmazonAutoScalingClient() public method

Constructs AmazonAutoScalingClient with AWS Access Key ID and AWS Secret Key
public AmazonAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
awsSessionToken string AWS Session Token
return System

AmazonAutoScalingClient() public method

Constructs AmazonAutoScalingClient with AWS Access Key ID, AWS Secret Key and an AmazonAutoScalingClient Configuration object.
public AmazonAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAutoScalingConfig clientConfig ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
awsSessionToken string AWS Session Token
clientConfig AmazonAutoScalingConfig The AmazonAutoScalingClient Configuration Object
return System

AmazonAutoScalingClient() public method

Constructs AmazonAutoScalingClient with AWS Access Key ID and AWS Secret Key
public AmazonAutoScalingClient ( string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region ) : System
awsAccessKeyId string AWS Access Key ID
awsSecretAccessKey string AWS Secret Access Key
awsSessionToken string AWS Session Token
region RegionEndpoint The region to connect.
return System

AttachInstances() public method

Attaches one or more EC2 instances to the specified Auto Scaling group.

When you attach instances, Auto Scaling increases the desired capacity of the group by the number of instances being attached. If the number of instances being attached plus the desired capacity of the group exceeds the maximum size of the group, the operation fails.

If there is a Classic load balancer attached to your Auto Scaling group, the instances are also registered with the load balancer. If there are target groups attached to your Auto Scaling group, the instances are also registered with the target groups.

For more information, see Attach EC2 Instances to Your Auto Scaling Group in the Auto Scaling User Guide.

/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public AttachInstances ( AttachInstancesRequest request ) : Amazon.AutoScaling.Model.AttachInstancesResponse
request Amazon.AutoScaling.Model.AttachInstancesRequest Container for the necessary parameters to execute the AttachInstances service method.
return Amazon.AutoScaling.Model.AttachInstancesResponse

AttachInstancesAsync() public method

Initiates the asynchronous execution of the AttachInstances operation.
public AttachInstancesAsync ( AttachInstancesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.AutoScaling.Model.AttachInstancesRequest Container for the necessary parameters to execute the AttachInstances operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

AttachLoadBalancerTargetGroups() public method

Attaches one or more target groups to the specified Auto Scaling group.

To describe the target groups for an Auto Scaling group, use DescribeLoadBalancerTargetGroups. To detach the target group from the Auto Scaling group, use DetachLoadBalancerTargetGroups.

For more information, see Attach a Load Balancer to Your Auto Scaling Group in the Auto Scaling User Guide.

/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public AttachLoadBalancerTargetGroups ( AttachLoadBalancerTargetGroupsRequest request ) : AttachLoadBalancerTargetGroupsResponse
request Amazon.AutoScaling.Model.AttachLoadBalancerTargetGroupsRequest Container for the necessary parameters to execute the AttachLoadBalancerTargetGroups service method.
return AttachLoadBalancerTargetGroupsResponse

AttachLoadBalancerTargetGroupsAsync() public method

Initiates the asynchronous execution of the AttachLoadBalancerTargetGroups operation.
public AttachLoadBalancerTargetGroupsAsync ( AttachLoadBalancerTargetGroupsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.AutoScaling.Model.AttachLoadBalancerTargetGroupsRequest Container for the necessary parameters to execute the AttachLoadBalancerTargetGroups operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

AttachLoadBalancers() public method

Attaches one or more Classic load balancers to the specified Auto Scaling group.

To attach an Application load balancer instead, see AttachLoadBalancerTargetGroups.

To describe the load balancers for an Auto Scaling group, use DescribeLoadBalancers. To detach the load balancer from the Auto Scaling group, use DetachLoadBalancers.

For more information, see Attach a Load Balancer to Your Auto Scaling Group in the Auto Scaling User Guide.

/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public AttachLoadBalancers ( AttachLoadBalancersRequest request ) : AttachLoadBalancersResponse
request Amazon.AutoScaling.Model.AttachLoadBalancersRequest Container for the necessary parameters to execute the AttachLoadBalancers service method.
return AttachLoadBalancersResponse

AttachLoadBalancersAsync() public method

Initiates the asynchronous execution of the AttachLoadBalancers operation.
public AttachLoadBalancersAsync ( AttachLoadBalancersRequest request, System cancellationToken = default(CancellationToken) ) : Task
request Amazon.AutoScaling.Model.AttachLoadBalancersRequest Container for the necessary parameters to execute the AttachLoadBalancers operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

BeginAttachInstances() public method

Initiates the asynchronous execution of the AttachInstances operation.
public BeginAttachInstances ( AttachInstancesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.AutoScaling.Model.AttachInstancesRequest Container for the necessary parameters to execute the AttachInstances operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginAttachLoadBalancerTargetGroups() public method

Initiates the asynchronous execution of the AttachLoadBalancerTargetGroups operation.
public BeginAttachLoadBalancerTargetGroups ( AttachLoadBalancerTargetGroupsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.AutoScaling.Model.AttachLoadBalancerTargetGroupsRequest Container for the necessary parameters to execute the AttachLoadBalancerTargetGroups operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginAttachLoadBalancers() public method

Initiates the asynchronous execution of the AttachLoadBalancers operation.
public BeginAttachLoadBalancers ( AttachLoadBalancersRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.AutoScaling.Model.AttachLoadBalancersRequest Container for the necessary parameters to execute the AttachLoadBalancers operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginCompleteLifecycleAction() public method

Initiates the asynchronous execution of the CompleteLifecycleAction operation.
public BeginCompleteLifecycleAction ( CompleteLifecycleActionRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.AutoScaling.Model.CompleteLifecycleActionRequest Container for the necessary parameters to execute the CompleteLifecycleAction operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginCreateAutoScalingGroup() public method

Initiates the asynchronous execution of the CreateAutoScalingGroup operation.
public BeginCreateAutoScalingGroup ( CreateAutoScalingGroupRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.AutoScaling.Model.CreateAutoScalingGroupRequest Container for the necessary parameters to execute the CreateAutoScalingGroup operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginCreateLaunchConfiguration() public method

Initiates the asynchronous execution of the CreateLaunchConfiguration operation.
public BeginCreateLaunchConfiguration ( CreateLaunchConfigurationRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.AutoScaling.Model.CreateLaunchConfigurationRequest Container for the necessary parameters to execute the CreateLaunchConfiguration operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginCreateOrUpdateTags() public method

Initiates the asynchronous execution of the CreateOrUpdateTags operation.
public BeginCreateOrUpdateTags ( CreateOrUpdateTagsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.AutoScaling.Model.CreateOrUpdateTagsRequest Container for the necessary parameters to execute the CreateOrUpdateTags operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDeleteAutoScalingGroup() public method

Initiates the asynchronous execution of the DeleteAutoScalingGroup operation.
public BeginDeleteAutoScalingGroup ( DeleteAutoScalingGroupRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.AutoScaling.Model.DeleteAutoScalingGroupRequest Container for the necessary parameters to execute the DeleteAutoScalingGroup operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDeleteLaunchConfiguration() public method

Initiates the asynchronous execution of the DeleteLaunchConfiguration operation.
public BeginDeleteLaunchConfiguration ( DeleteLaunchConfigurationRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.AutoScaling.Model.DeleteLaunchConfigurationRequest Container for the necessary parameters to execute the DeleteLaunchConfiguration operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDeleteLifecycleHook() public method

Initiates the asynchronous execution of the DeleteLifecycleHook operation.
public BeginDeleteLifecycleHook ( Amazon.AutoScaling.Model.DeleteLifecycleHookRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.AutoScaling.Model.DeleteLifecycleHookRequest Container for the necessary parameters to execute the DeleteLifecycleHook operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDeleteNotificationConfiguration() public method

Initiates the asynchronous execution of the DeleteNotificationConfiguration operation.
public BeginDeleteNotificationConfiguration ( DeleteNotificationConfigurationRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.AutoScaling.Model.DeleteNotificationConfigurationRequest Container for the necessary parameters to execute the DeleteNotificationConfiguration operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDeletePolicy() public method

Initiates the asynchronous execution of the DeletePolicy operation.
public BeginDeletePolicy ( DeletePolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.AutoScaling.Model.DeletePolicyRequest Container for the necessary parameters to execute the DeletePolicy operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDeleteScheduledAction() public method

Initiates the asynchronous execution of the DeleteScheduledAction operation.
public BeginDeleteScheduledAction ( DeleteScheduledActionRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.AutoScaling.Model.DeleteScheduledActionRequest Container for the necessary parameters to execute the DeleteScheduledAction operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDeleteTags() public method

Initiates the asynchronous execution of the DeleteTags operation.
public BeginDeleteTags ( DeleteTagsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.AutoScaling.Model.DeleteTagsRequest Container for the necessary parameters to execute the DeleteTags operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDescribeAccountLimits() public method

Initiates the asynchronous execution of the DescribeAccountLimits operation.
public BeginDescribeAccountLimits ( DescribeAccountLimitsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request DescribeAccountLimitsRequest Container for the necessary parameters to execute the DescribeAccountLimits operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDescribeAdjustmentTypes() public method

Initiates the asynchronous execution of the DescribeAdjustmentTypes operation.
public BeginDescribeAdjustmentTypes ( DescribeAdjustmentTypesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request DescribeAdjustmentTypesRequest Container for the necessary parameters to execute the DescribeAdjustmentTypes operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDescribeAutoScalingGroups() public method

Initiates the asynchronous execution of the DescribeAutoScalingGroups operation.
public BeginDescribeAutoScalingGroups ( DescribeAutoScalingGroupsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.AutoScaling.Model.DescribeAutoScalingGroupsRequest Container for the necessary parameters to execute the DescribeAutoScalingGroups operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDescribeAutoScalingInstances() public method

Initiates the asynchronous execution of the DescribeAutoScalingInstances operation.
public BeginDescribeAutoScalingInstances ( DescribeAutoScalingInstancesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.AutoScaling.Model.DescribeAutoScalingInstancesRequest Container for the necessary parameters to execute the DescribeAutoScalingInstances operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDescribeAutoScalingNotificationTypes() public method

Initiates the asynchronous execution of the DescribeAutoScalingNotificationTypes operation.
public BeginDescribeAutoScalingNotificationTypes ( DescribeAutoScalingNotificationTypesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request DescribeAutoScalingNotificationTypesRequest Container for the necessary parameters to execute the DescribeAutoScalingNotificationTypes operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDescribeLaunchConfigurations() public method

Initiates the asynchronous execution of the DescribeLaunchConfigurations operation.
public BeginDescribeLaunchConfigurations ( DescribeLaunchConfigurationsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.AutoScaling.Model.DescribeLaunchConfigurationsRequest Container for the necessary parameters to execute the DescribeLaunchConfigurations operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDescribeLifecycleHookTypes() public method

Initiates the asynchronous execution of the DescribeLifecycleHookTypes operation.
public BeginDescribeLifecycleHookTypes ( DescribeLifecycleHookTypesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request DescribeLifecycleHookTypesRequest Container for the necessary parameters to execute the DescribeLifecycleHookTypes operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDescribeLifecycleHooks() public method

Initiates the asynchronous execution of the DescribeLifecycleHooks operation.
public BeginDescribeLifecycleHooks ( DescribeLifecycleHooksRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.AutoScaling.Model.DescribeLifecycleHooksRequest Container for the necessary parameters to execute the DescribeLifecycleHooks operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDescribeLoadBalancerTargetGroups() public method

Initiates the asynchronous execution of the DescribeLoadBalancerTargetGroups operation.
public BeginDescribeLoadBalancerTargetGroups ( DescribeLoadBalancerTargetGroupsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.AutoScaling.Model.DescribeLoadBalancerTargetGroupsRequest Container for the necessary parameters to execute the DescribeLoadBalancerTargetGroups operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDescribeLoadBalancers() public method

Initiates the asynchronous execution of the DescribeLoadBalancers operation.
public BeginDescribeLoadBalancers ( DescribeLoadBalancersRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.AutoScaling.Model.DescribeLoadBalancersRequest Container for the necessary parameters to execute the DescribeLoadBalancers operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDescribeMetricCollectionTypes() public method

Initiates the asynchronous execution of the DescribeMetricCollectionTypes operation.
public BeginDescribeMetricCollectionTypes ( DescribeMetricCollectionTypesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request DescribeMetricCollectionTypesRequest Container for the necessary parameters to execute the DescribeMetricCollectionTypes operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDescribeNotificationConfigurations() public method

Initiates the asynchronous execution of the DescribeNotificationConfigurations operation.
public BeginDescribeNotificationConfigurations ( DescribeNotificationConfigurationsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.AutoScaling.Model.DescribeNotificationConfigurationsRequest Container for the necessary parameters to execute the DescribeNotificationConfigurations operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDescribePolicies() public method

Initiates the asynchronous execution of the DescribePolicies operation.
public BeginDescribePolicies ( DescribePoliciesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request Amazon.AutoScaling.Model.DescribePoliciesRequest Container for the necessary parameters to execute the DescribePolicies operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDescribeScalingActivities() public method

Initiates the asynchronous execution of the DescribeScalingActivities operation.
public BeginDescribeScalingActivities ( DescribeScalingActivitiesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request DescribeScalingActivitiesRequest Container for the necessary parameters to execute the DescribeScalingActivities operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDescribeScalingProcessTypes() public method

Initiates the asynchronous execution of the DescribeScalingProcessTypes operation.
public BeginDescribeScalingProcessTypes ( DescribeScalingProcessTypesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request DescribeScalingProcessTypesRequest Container for the necessary parameters to execute the DescribeScalingProcessTypes operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDescribeScheduledActions() public method

Initiates the asynchronous execution of the DescribeScheduledActions operation.
public BeginDescribeScheduledActions ( DescribeScheduledActionsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request DescribeScheduledActionsRequest Container for the necessary parameters to execute the DescribeScheduledActions operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDescribeTags() public method

Initiates the asynchronous execution of the DescribeTags operation.
public BeginDescribeTags ( DescribeTagsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request DescribeTagsRequest Container for the necessary parameters to execute the DescribeTags operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDescribeTerminationPolicyTypes() public method

Initiates the asynchronous execution of the DescribeTerminationPolicyTypes operation.
public BeginDescribeTerminationPolicyTypes ( DescribeTerminationPolicyTypesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request DescribeTerminationPolicyTypesRequest Container for the necessary parameters to execute the DescribeTerminationPolicyTypes operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDetachInstances() public method

Initiates the asynchronous execution of the DetachInstances operation.
public BeginDetachInstances ( DetachInstancesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request DetachInstancesRequest Container for the necessary parameters to execute the DetachInstances operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDetachLoadBalancerTargetGroups() public method

Initiates the asynchronous execution of the DetachLoadBalancerTargetGroups operation.
public BeginDetachLoadBalancerTargetGroups ( DetachLoadBalancerTargetGroupsRequest request, AsyncCallback callback, object state ) : IAsyncResult
request DetachLoadBalancerTargetGroupsRequest Container for the necessary parameters to execute the DetachLoadBalancerTargetGroups operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDetachLoadBalancers() public method

Initiates the asynchronous execution of the DetachLoadBalancers operation.
public BeginDetachLoadBalancers ( DetachLoadBalancersRequest request, AsyncCallback callback, object state ) : IAsyncResult
request DetachLoadBalancersRequest Container for the necessary parameters to execute the DetachLoadBalancers operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginDisableMetricsCollection() public method

Initiates the asynchronous execution of the DisableMetricsCollection operation.
public BeginDisableMetricsCollection ( DisableMetricsCollectionRequest request, AsyncCallback callback, object state ) : IAsyncResult
request DisableMetricsCollectionRequest Container for the necessary parameters to execute the DisableMetricsCollection operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginEnableMetricsCollection() public method

Initiates the asynchronous execution of the EnableMetricsCollection operation.
public BeginEnableMetricsCollection ( EnableMetricsCollectionRequest request, AsyncCallback callback, object state ) : IAsyncResult
request EnableMetricsCollectionRequest Container for the necessary parameters to execute the EnableMetricsCollection operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginEnterStandby() public method

Initiates the asynchronous execution of the EnterStandby operation.
public BeginEnterStandby ( EnterStandbyRequest request, AsyncCallback callback, object state ) : IAsyncResult
request EnterStandbyRequest Container for the necessary parameters to execute the EnterStandby operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginExecutePolicy() public method

Initiates the asynchronous execution of the ExecutePolicy operation.
public BeginExecutePolicy ( ExecutePolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult
request ExecutePolicyRequest Container for the necessary parameters to execute the ExecutePolicy operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginExitStandby() public method

Initiates the asynchronous execution of the ExitStandby operation.
public BeginExitStandby ( ExitStandbyRequest request, AsyncCallback callback, object state ) : IAsyncResult
request ExitStandbyRequest Container for the necessary parameters to execute the ExitStandby operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginPutLifecycleHook() public method

Initiates the asynchronous execution of the PutLifecycleHook operation.
public BeginPutLifecycleHook ( PutLifecycleHookRequest request, AsyncCallback callback, object state ) : IAsyncResult
request PutLifecycleHookRequest Container for the necessary parameters to execute the PutLifecycleHook operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginPutNotificationConfiguration() public method

Initiates the asynchronous execution of the PutNotificationConfiguration operation.
public BeginPutNotificationConfiguration ( PutNotificationConfigurationRequest request, AsyncCallback callback, object state ) : IAsyncResult
request PutNotificationConfigurationRequest Container for the necessary parameters to execute the PutNotificationConfiguration operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginPutScalingPolicy() public method

Initiates the asynchronous execution of the PutScalingPolicy operation.
public BeginPutScalingPolicy ( PutScalingPolicyRequest request, AsyncCallback callback, object state ) : IAsyncResult
request PutScalingPolicyRequest Container for the necessary parameters to execute the PutScalingPolicy operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginPutScheduledUpdateGroupAction() public method

Initiates the asynchronous execution of the PutScheduledUpdateGroupAction operation.
public BeginPutScheduledUpdateGroupAction ( PutScheduledUpdateGroupActionRequest request, AsyncCallback callback, object state ) : IAsyncResult
request PutScheduledUpdateGroupActionRequest Container for the necessary parameters to execute the PutScheduledUpdateGroupAction operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginRecordLifecycleActionHeartbeat() public method

Initiates the asynchronous execution of the RecordLifecycleActionHeartbeat operation.
public BeginRecordLifecycleActionHeartbeat ( RecordLifecycleActionHeartbeatRequest request, AsyncCallback callback, object state ) : IAsyncResult
request RecordLifecycleActionHeartbeatRequest Container for the necessary parameters to execute the RecordLifecycleActionHeartbeat operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginResumeProcesses() public method

Initiates the asynchronous execution of the ResumeProcesses operation.
public BeginResumeProcesses ( ResumeProcessesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request ResumeProcessesRequest Container for the necessary parameters to execute the ResumeProcesses operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginSetDesiredCapacity() public method

Initiates the asynchronous execution of the SetDesiredCapacity operation.
public BeginSetDesiredCapacity ( SetDesiredCapacityRequest request, AsyncCallback callback, object state ) : IAsyncResult
request SetDesiredCapacityRequest Container for the necessary parameters to execute the SetDesiredCapacity operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginSetInstanceHealth() public method

Initiates the asynchronous execution of the SetInstanceHealth operation.
public BeginSetInstanceHealth ( SetInstanceHealthRequest request, AsyncCallback callback, object state ) : IAsyncResult
request SetInstanceHealthRequest Container for the necessary parameters to execute the SetInstanceHealth operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginSetInstanceProtection() public method

Initiates the asynchronous execution of the SetInstanceProtection operation.
public BeginSetInstanceProtection ( SetInstanceProtectionRequest request, AsyncCallback callback, object state ) : IAsyncResult
request SetInstanceProtectionRequest Container for the necessary parameters to execute the SetInstanceProtection operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginSuspendProcesses() public method

Initiates the asynchronous execution of the SuspendProcesses operation.
public BeginSuspendProcesses ( SuspendProcessesRequest request, AsyncCallback callback, object state ) : IAsyncResult
request SuspendProcessesRequest Container for the necessary parameters to execute the SuspendProcesses operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginTerminateInstanceInAutoScalingGroup() public method

Initiates the asynchronous execution of the TerminateInstanceInAutoScalingGroup operation.
public BeginTerminateInstanceInAutoScalingGroup ( TerminateInstanceInAutoScalingGroupRequest request, AsyncCallback callback, object state ) : IAsyncResult
request TerminateInstanceInAutoScalingGroupRequest Container for the necessary parameters to execute the TerminateInstanceInAutoScalingGroup operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

BeginUpdateAutoScalingGroup() public method

Initiates the asynchronous execution of the UpdateAutoScalingGroup operation.
public BeginUpdateAutoScalingGroup ( UpdateAutoScalingGroupRequest request, AsyncCallback callback, object state ) : IAsyncResult
request UpdateAutoScalingGroupRequest Container for the necessary parameters to execute the UpdateAutoScalingGroup operation on AmazonAutoScalingClient.
callback AsyncCallback An AsyncCallback delegate that is invoked when the operation completes.
state object A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.
return IAsyncResult

CompleteLifecycleAction() public method

Completes the lifecycle action for the specified token or instance with the specified result.

This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:

  1. (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances.

  2. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target.

  3. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.

  4. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.

  5. If you finish before the timeout period ends, complete the lifecycle action.

For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide.

/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public CompleteLifecycleAction ( CompleteLifecycleActionRequest request ) : CompleteLifecycleActionResponse
request CompleteLifecycleActionRequest Container for the necessary parameters to execute the CompleteLifecycleAction service method.
return CompleteLifecycleActionResponse

CompleteLifecycleActionAsync() public method

Initiates the asynchronous execution of the CompleteLifecycleAction operation.
public CompleteLifecycleActionAsync ( CompleteLifecycleActionRequest request, System cancellationToken = default(CancellationToken) ) : Task
request CompleteLifecycleActionRequest Container for the necessary parameters to execute the CompleteLifecycleAction operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

CreateAutoScalingGroup() public method

Creates an Auto Scaling group with the specified name and attributes.

If you exceed your maximum limit of Auto Scaling groups, which by default is 20 per region, the call fails. For information about viewing and updating this limit, see DescribeAccountLimits.

For more information, see Auto Scaling Groups in the Auto Scaling User Guide.

/// You already have an Auto Scaling group or launch configuration with this name. /// /// You have already reached a limit for your Auto Scaling resources (for example, groups, /// launch configurations, or lifecycle hooks). For more information, see DescribeAccountLimits. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public CreateAutoScalingGroup ( CreateAutoScalingGroupRequest request ) : CreateAutoScalingGroupResponse
request CreateAutoScalingGroupRequest Container for the necessary parameters to execute the CreateAutoScalingGroup service method.
return CreateAutoScalingGroupResponse

CreateAutoScalingGroupAsync() public method

Initiates the asynchronous execution of the CreateAutoScalingGroup operation.
public CreateAutoScalingGroupAsync ( CreateAutoScalingGroupRequest request, System cancellationToken = default(CancellationToken) ) : Task
request CreateAutoScalingGroupRequest Container for the necessary parameters to execute the CreateAutoScalingGroup operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

CreateLaunchConfiguration() public method

Creates a launch configuration.

If you exceed your maximum limit of launch configurations, which by default is 100 per region, the call fails. For information about viewing and updating this limit, see DescribeAccountLimits.

For more information, see Launch Configurations in the Auto Scaling User Guide.

/// You already have an Auto Scaling group or launch configuration with this name. /// /// You have already reached a limit for your Auto Scaling resources (for example, groups, /// launch configurations, or lifecycle hooks). For more information, see DescribeAccountLimits. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public CreateLaunchConfiguration ( CreateLaunchConfigurationRequest request ) : CreateLaunchConfigurationResponse
request CreateLaunchConfigurationRequest Container for the necessary parameters to execute the CreateLaunchConfiguration service method.
return CreateLaunchConfigurationResponse

CreateLaunchConfigurationAsync() public method

Initiates the asynchronous execution of the CreateLaunchConfiguration operation.
public CreateLaunchConfigurationAsync ( CreateLaunchConfigurationRequest request, System cancellationToken = default(CancellationToken) ) : Task
request CreateLaunchConfigurationRequest Container for the necessary parameters to execute the CreateLaunchConfiguration operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

CreateOrUpdateTags() public method

Creates or updates tags for the specified Auto Scaling group.

When you specify a tag with a key that already exists, the operation overwrites the previous tag definition, and you do not get an error message.

For more information, see Tagging Auto Scaling Groups and Instances in the Auto Scaling User Guide.

/// You already have an Auto Scaling group or launch configuration with this name. /// /// You have already reached a limit for your Auto Scaling resources (for example, groups, /// launch configurations, or lifecycle hooks). For more information, see DescribeAccountLimits. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public CreateOrUpdateTags ( CreateOrUpdateTagsRequest request ) : CreateOrUpdateTagsResponse
request CreateOrUpdateTagsRequest Container for the necessary parameters to execute the CreateOrUpdateTags service method.
return CreateOrUpdateTagsResponse

CreateOrUpdateTagsAsync() public method

Initiates the asynchronous execution of the CreateOrUpdateTags operation.
public CreateOrUpdateTagsAsync ( CreateOrUpdateTagsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request CreateOrUpdateTagsRequest Container for the necessary parameters to execute the CreateOrUpdateTags operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

CreateSigner() protected method

Creates the signer for the service.
protected CreateSigner ( ) : AbstractAWSSigner
return AbstractAWSSigner

DeleteAutoScalingGroup() public method

Deletes the specified Auto Scaling group.

If the group has instances or scaling activities in progress, you must specify the option to force the deletion in order for it to succeed.

If the group has policies, deleting the group deletes the policies, the underlying alarm actions, and any alarm that no longer has an associated action.

To remove instances from the Auto Scaling group before deleting it, call DetachInstances with the list of instances and the option to decrement the desired capacity so that Auto Scaling does not launch replacement instances.

To terminate all instances before deleting the Auto Scaling group, call UpdateAutoScalingGroup and set the minimum size and desired capacity of the Auto Scaling group to zero.

/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). /// /// The operation can't be performed because the resource is in use. /// /// The operation can't be performed because there are scaling activities in progress. ///
public DeleteAutoScalingGroup ( DeleteAutoScalingGroupRequest request ) : DeleteAutoScalingGroupResponse
request DeleteAutoScalingGroupRequest Container for the necessary parameters to execute the DeleteAutoScalingGroup service method.
return DeleteAutoScalingGroupResponse

DeleteAutoScalingGroupAsync() public method

Initiates the asynchronous execution of the DeleteAutoScalingGroup operation.
public DeleteAutoScalingGroupAsync ( DeleteAutoScalingGroupRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DeleteAutoScalingGroupRequest Container for the necessary parameters to execute the DeleteAutoScalingGroup operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DeleteLaunchConfiguration() public method

Deletes the specified launch configuration.

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

/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). /// /// The operation can't be performed because the resource is in use. ///
public DeleteLaunchConfiguration ( DeleteLaunchConfigurationRequest request ) : DeleteLaunchConfigurationResponse
request DeleteLaunchConfigurationRequest Container for the necessary parameters to execute the DeleteLaunchConfiguration service method.
return DeleteLaunchConfigurationResponse

DeleteLaunchConfigurationAsync() public method

Initiates the asynchronous execution of the DeleteLaunchConfiguration operation.
public DeleteLaunchConfigurationAsync ( DeleteLaunchConfigurationRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DeleteLaunchConfigurationRequest Container for the necessary parameters to execute the DeleteLaunchConfiguration operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DeleteLifecycleHook() public method

Deletes the specified lifecycle hook.

If there are any outstanding lifecycle actions, they are completed first (ABANDON for launching instances, CONTINUE for terminating instances).

/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DeleteLifecycleHook ( DeleteLifecycleHookRequest request ) : DeleteLifecycleHookResponse
request DeleteLifecycleHookRequest Container for the necessary parameters to execute the DeleteLifecycleHook service method.
return DeleteLifecycleHookResponse

DeleteLifecycleHookAsync() public method

Initiates the asynchronous execution of the DeleteLifecycleHook operation.
public DeleteLifecycleHookAsync ( DeleteLifecycleHookRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DeleteLifecycleHookRequest Container for the necessary parameters to execute the DeleteLifecycleHook operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DeleteNotificationConfiguration() public method

Deletes the specified notification.
/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DeleteNotificationConfiguration ( DeleteNotificationConfigurationRequest request ) : DeleteNotificationConfigurationResponse
request DeleteNotificationConfigurationRequest Container for the necessary parameters to execute the DeleteNotificationConfiguration service method.
return DeleteNotificationConfigurationResponse

DeleteNotificationConfigurationAsync() public method

Initiates the asynchronous execution of the DeleteNotificationConfiguration operation.
public DeleteNotificationConfigurationAsync ( DeleteNotificationConfigurationRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DeleteNotificationConfigurationRequest Container for the necessary parameters to execute the DeleteNotificationConfiguration operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DeletePolicy() public method

Deletes the specified Auto Scaling policy.

Deleting a policy deletes the underlying alarm action, but does not delete the alarm, even if it no longer has an associated action.

/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DeletePolicy ( DeletePolicyRequest request ) : DeletePolicyResponse
request DeletePolicyRequest Container for the necessary parameters to execute the DeletePolicy service method.
return DeletePolicyResponse

DeletePolicyAsync() public method

Initiates the asynchronous execution of the DeletePolicy operation.
public DeletePolicyAsync ( DeletePolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DeletePolicyRequest Container for the necessary parameters to execute the DeletePolicy operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DeleteScheduledAction() public method

Deletes the specified scheduled action.
/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DeleteScheduledAction ( DeleteScheduledActionRequest request ) : DeleteScheduledActionResponse
request DeleteScheduledActionRequest Container for the necessary parameters to execute the DeleteScheduledAction service method.
return DeleteScheduledActionResponse

DeleteScheduledActionAsync() public method

Initiates the asynchronous execution of the DeleteScheduledAction operation.
public DeleteScheduledActionAsync ( DeleteScheduledActionRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DeleteScheduledActionRequest Container for the necessary parameters to execute the DeleteScheduledAction operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DeleteTags() public method

Deletes the specified tags.
/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DeleteTags ( DeleteTagsRequest request ) : DeleteTagsResponse
request DeleteTagsRequest Container for the necessary parameters to execute the DeleteTags service method.
return DeleteTagsResponse

DeleteTagsAsync() public method

Initiates the asynchronous execution of the DeleteTags operation.
public DeleteTagsAsync ( DeleteTagsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DeleteTagsRequest Container for the necessary parameters to execute the DeleteTags operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeAccountLimits() public method

Describes the current Auto Scaling resource limits for your AWS account.

For information about requesting an increase in these limits, see AWS Service Limits in the Amazon Web Services General Reference.

/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeAccountLimits ( ) : DescribeAccountLimitsResponse
return DescribeAccountLimitsResponse

DescribeAccountLimits() public method

Describes the current Auto Scaling resource limits for your AWS account.

For information about requesting an increase in these limits, see AWS Service Limits in the Amazon Web Services General Reference.

/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeAccountLimits ( DescribeAccountLimitsRequest request ) : DescribeAccountLimitsResponse
request DescribeAccountLimitsRequest Container for the necessary parameters to execute the DescribeAccountLimits service method.
return DescribeAccountLimitsResponse

DescribeAccountLimitsAsync() public method

Initiates the asynchronous execution of the DescribeAccountLimits operation.
public DescribeAccountLimitsAsync ( DescribeAccountLimitsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DescribeAccountLimitsRequest Container for the necessary parameters to execute the DescribeAccountLimits operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeAccountLimitsAsync() public method

Describes the current Auto Scaling resource limits for your AWS account.

For information about requesting an increase in these limits, see AWS Service Limits in the Amazon Web Services General Reference.

/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeAccountLimitsAsync ( System cancellationToken = default(CancellationToken) ) : Task
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeAdjustmentTypes() public method

Describes the policy adjustment types for use with PutScalingPolicy.
/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeAdjustmentTypes ( ) : DescribeAdjustmentTypesResponse
return DescribeAdjustmentTypesResponse

DescribeAdjustmentTypes() public method

Describes the policy adjustment types for use with PutScalingPolicy.
/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeAdjustmentTypes ( DescribeAdjustmentTypesRequest request ) : DescribeAdjustmentTypesResponse
request DescribeAdjustmentTypesRequest Container for the necessary parameters to execute the DescribeAdjustmentTypes service method.
return DescribeAdjustmentTypesResponse

DescribeAdjustmentTypesAsync() public method

Initiates the asynchronous execution of the DescribeAdjustmentTypes operation.
public DescribeAdjustmentTypesAsync ( DescribeAdjustmentTypesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DescribeAdjustmentTypesRequest Container for the necessary parameters to execute the DescribeAdjustmentTypes operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeAdjustmentTypesAsync() public method

Describes the policy adjustment types for use with PutScalingPolicy.
/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeAdjustmentTypesAsync ( System cancellationToken = default(CancellationToken) ) : Task
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeAutoScalingGroups() public method

Describes one or more Auto Scaling groups.
/// The NextToken value is not valid. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeAutoScalingGroups ( ) : DescribeAutoScalingGroupsResponse
return DescribeAutoScalingGroupsResponse

DescribeAutoScalingGroups() public method

Describes one or more Auto Scaling groups.
/// The NextToken value is not valid. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeAutoScalingGroups ( DescribeAutoScalingGroupsRequest request ) : DescribeAutoScalingGroupsResponse
request DescribeAutoScalingGroupsRequest Container for the necessary parameters to execute the DescribeAutoScalingGroups service method.
return DescribeAutoScalingGroupsResponse

DescribeAutoScalingGroupsAsync() public method

Initiates the asynchronous execution of the DescribeAutoScalingGroups operation.
public DescribeAutoScalingGroupsAsync ( DescribeAutoScalingGroupsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DescribeAutoScalingGroupsRequest Container for the necessary parameters to execute the DescribeAutoScalingGroups operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeAutoScalingGroupsAsync() public method

Describes one or more Auto Scaling groups.
/// The NextToken value is not valid. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeAutoScalingGroupsAsync ( System cancellationToken = default(CancellationToken) ) : Task
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeAutoScalingInstances() public method

Describes one or more Auto Scaling instances.
/// The NextToken value is not valid. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeAutoScalingInstances ( ) : DescribeAutoScalingInstancesResponse
return DescribeAutoScalingInstancesResponse

DescribeAutoScalingInstances() public method

Describes one or more Auto Scaling instances.
/// The NextToken value is not valid. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeAutoScalingInstances ( DescribeAutoScalingInstancesRequest request ) : DescribeAutoScalingInstancesResponse
request DescribeAutoScalingInstancesRequest Container for the necessary parameters to execute the DescribeAutoScalingInstances service method.
return DescribeAutoScalingInstancesResponse

DescribeAutoScalingInstancesAsync() public method

Initiates the asynchronous execution of the DescribeAutoScalingInstances operation.
public DescribeAutoScalingInstancesAsync ( DescribeAutoScalingInstancesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DescribeAutoScalingInstancesRequest Container for the necessary parameters to execute the DescribeAutoScalingInstances operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeAutoScalingInstancesAsync() public method

Describes one or more Auto Scaling instances.
/// The NextToken value is not valid. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeAutoScalingInstancesAsync ( System cancellationToken = default(CancellationToken) ) : Task
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeAutoScalingNotificationTypes() public method

Describes the notification types that are supported by Auto Scaling.
/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeAutoScalingNotificationTypes ( ) : DescribeAutoScalingNotificationTypesResponse
return DescribeAutoScalingNotificationTypesResponse

DescribeAutoScalingNotificationTypes() public method

Describes the notification types that are supported by Auto Scaling.
/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeAutoScalingNotificationTypes ( DescribeAutoScalingNotificationTypesRequest request ) : DescribeAutoScalingNotificationTypesResponse
request DescribeAutoScalingNotificationTypesRequest Container for the necessary parameters to execute the DescribeAutoScalingNotificationTypes service method.
return DescribeAutoScalingNotificationTypesResponse

DescribeAutoScalingNotificationTypesAsync() public method

Initiates the asynchronous execution of the DescribeAutoScalingNotificationTypes operation.
public DescribeAutoScalingNotificationTypesAsync ( DescribeAutoScalingNotificationTypesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DescribeAutoScalingNotificationTypesRequest Container for the necessary parameters to execute the DescribeAutoScalingNotificationTypes operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeAutoScalingNotificationTypesAsync() public method

Describes the notification types that are supported by Auto Scaling.
/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeAutoScalingNotificationTypesAsync ( System cancellationToken = default(CancellationToken) ) : Task
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeLaunchConfigurations() public method

Describes one or more launch configurations.
/// The NextToken value is not valid. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeLaunchConfigurations ( ) : DescribeLaunchConfigurationsResponse
return DescribeLaunchConfigurationsResponse

DescribeLaunchConfigurations() public method

Describes one or more launch configurations.
/// The NextToken value is not valid. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeLaunchConfigurations ( DescribeLaunchConfigurationsRequest request ) : DescribeLaunchConfigurationsResponse
request DescribeLaunchConfigurationsRequest Container for the necessary parameters to execute the DescribeLaunchConfigurations service method.
return DescribeLaunchConfigurationsResponse

DescribeLaunchConfigurationsAsync() public method

Initiates the asynchronous execution of the DescribeLaunchConfigurations operation.
public DescribeLaunchConfigurationsAsync ( DescribeLaunchConfigurationsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DescribeLaunchConfigurationsRequest Container for the necessary parameters to execute the DescribeLaunchConfigurations operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeLaunchConfigurationsAsync() public method

Describes one or more launch configurations.
/// The NextToken value is not valid. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeLaunchConfigurationsAsync ( System cancellationToken = default(CancellationToken) ) : Task
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeLifecycleHookTypes() public method

Describes the available types of lifecycle hooks.
/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeLifecycleHookTypes ( DescribeLifecycleHookTypesRequest request ) : DescribeLifecycleHookTypesResponse
request DescribeLifecycleHookTypesRequest Container for the necessary parameters to execute the DescribeLifecycleHookTypes service method.
return DescribeLifecycleHookTypesResponse

DescribeLifecycleHookTypesAsync() public method

Initiates the asynchronous execution of the DescribeLifecycleHookTypes operation.
public DescribeLifecycleHookTypesAsync ( DescribeLifecycleHookTypesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DescribeLifecycleHookTypesRequest Container for the necessary parameters to execute the DescribeLifecycleHookTypes operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeLifecycleHooks() public method

Describes the lifecycle hooks for the specified Auto Scaling group.
/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeLifecycleHooks ( DescribeLifecycleHooksRequest request ) : DescribeLifecycleHooksResponse
request DescribeLifecycleHooksRequest Container for the necessary parameters to execute the DescribeLifecycleHooks service method.
return DescribeLifecycleHooksResponse

DescribeLifecycleHooksAsync() public method

Initiates the asynchronous execution of the DescribeLifecycleHooks operation.
public DescribeLifecycleHooksAsync ( DescribeLifecycleHooksRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DescribeLifecycleHooksRequest Container for the necessary parameters to execute the DescribeLifecycleHooks operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeLoadBalancerTargetGroups() public method

Describes the target groups for the specified Auto Scaling group.
/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeLoadBalancerTargetGroups ( DescribeLoadBalancerTargetGroupsRequest request ) : DescribeLoadBalancerTargetGroupsResponse
request DescribeLoadBalancerTargetGroupsRequest Container for the necessary parameters to execute the DescribeLoadBalancerTargetGroups service method.
return DescribeLoadBalancerTargetGroupsResponse

DescribeLoadBalancerTargetGroupsAsync() public method

Initiates the asynchronous execution of the DescribeLoadBalancerTargetGroups operation.
public DescribeLoadBalancerTargetGroupsAsync ( DescribeLoadBalancerTargetGroupsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DescribeLoadBalancerTargetGroupsRequest Container for the necessary parameters to execute the DescribeLoadBalancerTargetGroups operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeLoadBalancers() public method

Describes the load balancers for the specified Auto Scaling group.

Note that this operation describes only Classic load balancers. If you have Application load balancers, use DescribeLoadBalancerTargetGroups instead.

/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeLoadBalancers ( DescribeLoadBalancersRequest request ) : DescribeLoadBalancersResponse
request DescribeLoadBalancersRequest Container for the necessary parameters to execute the DescribeLoadBalancers service method.
return DescribeLoadBalancersResponse

DescribeLoadBalancersAsync() public method

Initiates the asynchronous execution of the DescribeLoadBalancers operation.
public DescribeLoadBalancersAsync ( DescribeLoadBalancersRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DescribeLoadBalancersRequest Container for the necessary parameters to execute the DescribeLoadBalancers operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeMetricCollectionTypes() public method

Describes the available CloudWatch metrics for Auto Scaling.

Note that the GroupStandbyInstances metric is not returned by default. You must explicitly request this metric when calling EnableMetricsCollection.

/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeMetricCollectionTypes ( ) : DescribeMetricCollectionTypesResponse
return DescribeMetricCollectionTypesResponse

DescribeMetricCollectionTypes() public method

Describes the available CloudWatch metrics for Auto Scaling.

Note that the GroupStandbyInstances metric is not returned by default. You must explicitly request this metric when calling EnableMetricsCollection.

/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeMetricCollectionTypes ( DescribeMetricCollectionTypesRequest request ) : DescribeMetricCollectionTypesResponse
request DescribeMetricCollectionTypesRequest Container for the necessary parameters to execute the DescribeMetricCollectionTypes service method.
return DescribeMetricCollectionTypesResponse

DescribeMetricCollectionTypesAsync() public method

Initiates the asynchronous execution of the DescribeMetricCollectionTypes operation.
public DescribeMetricCollectionTypesAsync ( DescribeMetricCollectionTypesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DescribeMetricCollectionTypesRequest Container for the necessary parameters to execute the DescribeMetricCollectionTypes operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeMetricCollectionTypesAsync() public method

Describes the available CloudWatch metrics for Auto Scaling.

Note that the GroupStandbyInstances metric is not returned by default. You must explicitly request this metric when calling EnableMetricsCollection.

/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeMetricCollectionTypesAsync ( System cancellationToken = default(CancellationToken) ) : Task
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeNotificationConfigurations() public method

Describes the notification actions associated with the specified Auto Scaling group.
/// The NextToken value is not valid. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeNotificationConfigurations ( ) : DescribeNotificationConfigurationsResponse
return DescribeNotificationConfigurationsResponse

DescribeNotificationConfigurations() public method

Describes the notification actions associated with the specified Auto Scaling group.
/// The NextToken value is not valid. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeNotificationConfigurations ( DescribeNotificationConfigurationsRequest request ) : DescribeNotificationConfigurationsResponse
request DescribeNotificationConfigurationsRequest Container for the necessary parameters to execute the DescribeNotificationConfigurations service method.
return DescribeNotificationConfigurationsResponse

DescribeNotificationConfigurationsAsync() public method

Initiates the asynchronous execution of the DescribeNotificationConfigurations operation.
public DescribeNotificationConfigurationsAsync ( DescribeNotificationConfigurationsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DescribeNotificationConfigurationsRequest Container for the necessary parameters to execute the DescribeNotificationConfigurations operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeNotificationConfigurationsAsync() public method

Describes the notification actions associated with the specified Auto Scaling group.
/// The NextToken value is not valid. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeNotificationConfigurationsAsync ( System cancellationToken = default(CancellationToken) ) : Task
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribePolicies() public method

Describes the policies for the specified Auto Scaling group.
/// The NextToken value is not valid. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribePolicies ( ) : DescribePoliciesResponse
return DescribePoliciesResponse

DescribePolicies() public method

Describes the policies for the specified Auto Scaling group.
/// The NextToken value is not valid. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribePolicies ( DescribePoliciesRequest request ) : DescribePoliciesResponse
request DescribePoliciesRequest Container for the necessary parameters to execute the DescribePolicies service method.
return DescribePoliciesResponse

DescribePoliciesAsync() public method

Initiates the asynchronous execution of the DescribePolicies operation.
public DescribePoliciesAsync ( DescribePoliciesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DescribePoliciesRequest Container for the necessary parameters to execute the DescribePolicies operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribePoliciesAsync() public method

Describes the policies for the specified Auto Scaling group.
/// The NextToken value is not valid. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribePoliciesAsync ( System cancellationToken = default(CancellationToken) ) : Task
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeScalingActivities() public method

Describes one or more scaling activities for the specified Auto Scaling group.
/// The NextToken value is not valid. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeScalingActivities ( ) : DescribeScalingActivitiesResponse
return DescribeScalingActivitiesResponse

DescribeScalingActivities() public method

Describes one or more scaling activities for the specified Auto Scaling group.
/// The NextToken value is not valid. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeScalingActivities ( DescribeScalingActivitiesRequest request ) : DescribeScalingActivitiesResponse
request DescribeScalingActivitiesRequest Container for the necessary parameters to execute the DescribeScalingActivities service method.
return DescribeScalingActivitiesResponse

DescribeScalingActivitiesAsync() public method

Initiates the asynchronous execution of the DescribeScalingActivities operation.
public DescribeScalingActivitiesAsync ( DescribeScalingActivitiesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DescribeScalingActivitiesRequest Container for the necessary parameters to execute the DescribeScalingActivities operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeScalingActivitiesAsync() public method

Describes one or more scaling activities for the specified Auto Scaling group.
/// The NextToken value is not valid. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeScalingActivitiesAsync ( System cancellationToken = default(CancellationToken) ) : Task
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeScalingProcessTypes() public method

Describes the scaling process types for use with ResumeProcesses and SuspendProcesses.
/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeScalingProcessTypes ( ) : DescribeScalingProcessTypesResponse
return DescribeScalingProcessTypesResponse

DescribeScalingProcessTypes() public method

Describes the scaling process types for use with ResumeProcesses and SuspendProcesses.
/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeScalingProcessTypes ( DescribeScalingProcessTypesRequest request ) : DescribeScalingProcessTypesResponse
request DescribeScalingProcessTypesRequest Container for the necessary parameters to execute the DescribeScalingProcessTypes service method.
return DescribeScalingProcessTypesResponse

DescribeScalingProcessTypesAsync() public method

Initiates the asynchronous execution of the DescribeScalingProcessTypes operation.
public DescribeScalingProcessTypesAsync ( DescribeScalingProcessTypesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DescribeScalingProcessTypesRequest Container for the necessary parameters to execute the DescribeScalingProcessTypes operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeScalingProcessTypesAsync() public method

Describes the scaling process types for use with ResumeProcesses and SuspendProcesses.
/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeScalingProcessTypesAsync ( System cancellationToken = default(CancellationToken) ) : Task
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeScheduledActions() public method

Describes the actions scheduled for your Auto Scaling group that haven't run. To describe the actions that have already run, use DescribeScalingActivities.
/// The NextToken value is not valid. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeScheduledActions ( ) : DescribeScheduledActionsResponse
return DescribeScheduledActionsResponse

DescribeScheduledActions() public method

Describes the actions scheduled for your Auto Scaling group that haven't run. To describe the actions that have already run, use DescribeScalingActivities.
/// The NextToken value is not valid. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeScheduledActions ( DescribeScheduledActionsRequest request ) : DescribeScheduledActionsResponse
request DescribeScheduledActionsRequest Container for the necessary parameters to execute the DescribeScheduledActions service method.
return DescribeScheduledActionsResponse

DescribeScheduledActionsAsync() public method

Initiates the asynchronous execution of the DescribeScheduledActions operation.
public DescribeScheduledActionsAsync ( DescribeScheduledActionsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DescribeScheduledActionsRequest Container for the necessary parameters to execute the DescribeScheduledActions operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeScheduledActionsAsync() public method

Describes the actions scheduled for your Auto Scaling group that haven't run. To describe the actions that have already run, use DescribeScalingActivities.
/// The NextToken value is not valid. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeScheduledActionsAsync ( System cancellationToken = default(CancellationToken) ) : Task
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeTags() public method

Describes the specified tags.

You can use filters to limit the results. For example, you can query for the tags for a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at least one of the specified values for it to be included in the results.

You can also specify multiple filters. The result includes information for a particular tag only if it matches all the filters. If there's no match, no special message is returned.

/// The NextToken value is not valid. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeTags ( ) : DescribeTagsResponse
return DescribeTagsResponse

DescribeTags() public method

Describes the specified tags.

You can use filters to limit the results. For example, you can query for the tags for a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at least one of the specified values for it to be included in the results.

You can also specify multiple filters. The result includes information for a particular tag only if it matches all the filters. If there's no match, no special message is returned.

/// The NextToken value is not valid. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeTags ( DescribeTagsRequest request ) : DescribeTagsResponse
request DescribeTagsRequest Container for the necessary parameters to execute the DescribeTags service method.
return DescribeTagsResponse

DescribeTagsAsync() public method

Initiates the asynchronous execution of the DescribeTags operation.
public DescribeTagsAsync ( DescribeTagsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DescribeTagsRequest Container for the necessary parameters to execute the DescribeTags operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeTagsAsync() public method

Describes the specified tags.

You can use filters to limit the results. For example, you can query for the tags for a specific Auto Scaling group. You can specify multiple values for a filter. A tag must match at least one of the specified values for it to be included in the results.

You can also specify multiple filters. The result includes information for a particular tag only if it matches all the filters. If there's no match, no special message is returned.

/// The NextToken value is not valid. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeTagsAsync ( System cancellationToken = default(CancellationToken) ) : Task
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeTerminationPolicyTypes() public method

Describes the termination policies supported by Auto Scaling.
/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeTerminationPolicyTypes ( ) : DescribeTerminationPolicyTypesResponse
return DescribeTerminationPolicyTypesResponse

DescribeTerminationPolicyTypes() public method

Describes the termination policies supported by Auto Scaling.
/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeTerminationPolicyTypes ( DescribeTerminationPolicyTypesRequest request ) : DescribeTerminationPolicyTypesResponse
request DescribeTerminationPolicyTypesRequest Container for the necessary parameters to execute the DescribeTerminationPolicyTypes service method.
return DescribeTerminationPolicyTypesResponse

DescribeTerminationPolicyTypesAsync() public method

Initiates the asynchronous execution of the DescribeTerminationPolicyTypes operation.
public DescribeTerminationPolicyTypesAsync ( DescribeTerminationPolicyTypesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DescribeTerminationPolicyTypesRequest Container for the necessary parameters to execute the DescribeTerminationPolicyTypes operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DescribeTerminationPolicyTypesAsync() public method

Describes the termination policies supported by Auto Scaling.
/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DescribeTerminationPolicyTypesAsync ( System cancellationToken = default(CancellationToken) ) : Task
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DetachInstances() public method

Removes one or more instances from the specified Auto Scaling group.

After the instances are detached, you can manage them independently from the rest of the Auto Scaling group.

If you do not specify the option to decrement the desired capacity, Auto Scaling launches instances to replace the ones that are detached.

If there is a Classic load balancer attached to the Auto Scaling group, the instances are deregistered from the load balancer. If there are target groups attached to the Auto Scaling group, the instances are deregistered from the target groups.

For more information, see Detach EC2 Instances from Your Auto Scaling Group in the Auto Scaling User Guide.

/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DetachInstances ( DetachInstancesRequest request ) : DetachInstancesResponse
request DetachInstancesRequest Container for the necessary parameters to execute the DetachInstances service method.
return DetachInstancesResponse

DetachInstancesAsync() public method

Initiates the asynchronous execution of the DetachInstances operation.
public DetachInstancesAsync ( DetachInstancesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DetachInstancesRequest Container for the necessary parameters to execute the DetachInstances operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DetachLoadBalancerTargetGroups() public method

Detaches one or more target groups from the specified Auto Scaling group.
/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DetachLoadBalancerTargetGroups ( DetachLoadBalancerTargetGroupsRequest request ) : DetachLoadBalancerTargetGroupsResponse
request DetachLoadBalancerTargetGroupsRequest Container for the necessary parameters to execute the DetachLoadBalancerTargetGroups service method.
return DetachLoadBalancerTargetGroupsResponse

DetachLoadBalancerTargetGroupsAsync() public method

Initiates the asynchronous execution of the DetachLoadBalancerTargetGroups operation.
public DetachLoadBalancerTargetGroupsAsync ( DetachLoadBalancerTargetGroupsRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DetachLoadBalancerTargetGroupsRequest Container for the necessary parameters to execute the DetachLoadBalancerTargetGroups operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DetachLoadBalancers() public method

Detaches one or more Classic load balancers from the specified Auto Scaling group.

Note that this operation detaches only Classic load balancers. If you have Application load balancers, use DetachLoadBalancerTargetGroups instead.

When you detach a load balancer, it enters the Removing state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the load balancer using DescribeLoadBalancers. Note that the instances remain running.

/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DetachLoadBalancers ( DetachLoadBalancersRequest request ) : DetachLoadBalancersResponse
request DetachLoadBalancersRequest Container for the necessary parameters to execute the DetachLoadBalancers service method.
return DetachLoadBalancersResponse

DetachLoadBalancersAsync() public method

Initiates the asynchronous execution of the DetachLoadBalancers operation.
public DetachLoadBalancersAsync ( DetachLoadBalancersRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DetachLoadBalancersRequest Container for the necessary parameters to execute the DetachLoadBalancers operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

DisableMetricsCollection() public method

Disables group metrics for the specified Auto Scaling group.
/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public DisableMetricsCollection ( DisableMetricsCollectionRequest request ) : DisableMetricsCollectionResponse
request DisableMetricsCollectionRequest Container for the necessary parameters to execute the DisableMetricsCollection service method.
return DisableMetricsCollectionResponse

DisableMetricsCollectionAsync() public method

Initiates the asynchronous execution of the DisableMetricsCollection operation.
public DisableMetricsCollectionAsync ( DisableMetricsCollectionRequest request, System cancellationToken = default(CancellationToken) ) : Task
request DisableMetricsCollectionRequest Container for the necessary parameters to execute the DisableMetricsCollection operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

Dispose() protected method

Disposes the service client.
protected Dispose ( bool disposing ) : void
disposing bool
return void

EnableMetricsCollection() public method

Enables group metrics for the specified Auto Scaling group. For more information, see Monitoring Your Auto Scaling Groups and Instances in the Auto Scaling User Guide.
/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public EnableMetricsCollection ( EnableMetricsCollectionRequest request ) : EnableMetricsCollectionResponse
request EnableMetricsCollectionRequest Container for the necessary parameters to execute the EnableMetricsCollection service method.
return EnableMetricsCollectionResponse

EnableMetricsCollectionAsync() public method

Initiates the asynchronous execution of the EnableMetricsCollection operation.
public EnableMetricsCollectionAsync ( EnableMetricsCollectionRequest request, System cancellationToken = default(CancellationToken) ) : Task
request EnableMetricsCollectionRequest Container for the necessary parameters to execute the EnableMetricsCollection operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

EndAttachInstances() public method

Finishes the asynchronous execution of the AttachInstances operation.
public EndAttachInstances ( IAsyncResult asyncResult ) : AttachInstancesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginAttachInstances.
return AttachInstancesResponse

EndAttachLoadBalancerTargetGroups() public method

Finishes the asynchronous execution of the AttachLoadBalancerTargetGroups operation.
public EndAttachLoadBalancerTargetGroups ( IAsyncResult asyncResult ) : AttachLoadBalancerTargetGroupsResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginAttachLoadBalancerTargetGroups.
return AttachLoadBalancerTargetGroupsResponse

EndAttachLoadBalancers() public method

Finishes the asynchronous execution of the AttachLoadBalancers operation.
public EndAttachLoadBalancers ( IAsyncResult asyncResult ) : AttachLoadBalancersResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginAttachLoadBalancers.
return AttachLoadBalancersResponse

EndCompleteLifecycleAction() public method

Finishes the asynchronous execution of the CompleteLifecycleAction operation.
public EndCompleteLifecycleAction ( IAsyncResult asyncResult ) : CompleteLifecycleActionResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginCompleteLifecycleAction.
return CompleteLifecycleActionResponse

EndCreateAutoScalingGroup() public method

Finishes the asynchronous execution of the CreateAutoScalingGroup operation.
public EndCreateAutoScalingGroup ( IAsyncResult asyncResult ) : CreateAutoScalingGroupResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginCreateAutoScalingGroup.
return CreateAutoScalingGroupResponse

EndCreateLaunchConfiguration() public method

Finishes the asynchronous execution of the CreateLaunchConfiguration operation.
public EndCreateLaunchConfiguration ( IAsyncResult asyncResult ) : CreateLaunchConfigurationResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginCreateLaunchConfiguration.
return CreateLaunchConfigurationResponse

EndCreateOrUpdateTags() public method

Finishes the asynchronous execution of the CreateOrUpdateTags operation.
public EndCreateOrUpdateTags ( IAsyncResult asyncResult ) : CreateOrUpdateTagsResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginCreateOrUpdateTags.
return CreateOrUpdateTagsResponse

EndDeleteAutoScalingGroup() public method

Finishes the asynchronous execution of the DeleteAutoScalingGroup operation.
public EndDeleteAutoScalingGroup ( IAsyncResult asyncResult ) : DeleteAutoScalingGroupResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDeleteAutoScalingGroup.
return DeleteAutoScalingGroupResponse

EndDeleteLaunchConfiguration() public method

Finishes the asynchronous execution of the DeleteLaunchConfiguration operation.
public EndDeleteLaunchConfiguration ( IAsyncResult asyncResult ) : DeleteLaunchConfigurationResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDeleteLaunchConfiguration.
return DeleteLaunchConfigurationResponse

EndDeleteLifecycleHook() public method

Finishes the asynchronous execution of the DeleteLifecycleHook operation.
public EndDeleteLifecycleHook ( IAsyncResult asyncResult ) : DeleteLifecycleHookResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDeleteLifecycleHook.
return DeleteLifecycleHookResponse

EndDeleteNotificationConfiguration() public method

Finishes the asynchronous execution of the DeleteNotificationConfiguration operation.
public EndDeleteNotificationConfiguration ( IAsyncResult asyncResult ) : DeleteNotificationConfigurationResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDeleteNotificationConfiguration.
return DeleteNotificationConfigurationResponse

EndDeletePolicy() public method

Finishes the asynchronous execution of the DeletePolicy operation.
public EndDeletePolicy ( IAsyncResult asyncResult ) : DeletePolicyResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDeletePolicy.
return DeletePolicyResponse

EndDeleteScheduledAction() public method

Finishes the asynchronous execution of the DeleteScheduledAction operation.
public EndDeleteScheduledAction ( IAsyncResult asyncResult ) : DeleteScheduledActionResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDeleteScheduledAction.
return DeleteScheduledActionResponse

EndDeleteTags() public method

Finishes the asynchronous execution of the DeleteTags operation.
public EndDeleteTags ( IAsyncResult asyncResult ) : DeleteTagsResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDeleteTags.
return DeleteTagsResponse

EndDescribeAccountLimits() public method

Finishes the asynchronous execution of the DescribeAccountLimits operation.
public EndDescribeAccountLimits ( IAsyncResult asyncResult ) : DescribeAccountLimitsResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeAccountLimits.
return DescribeAccountLimitsResponse

EndDescribeAdjustmentTypes() public method

Finishes the asynchronous execution of the DescribeAdjustmentTypes operation.
public EndDescribeAdjustmentTypes ( IAsyncResult asyncResult ) : DescribeAdjustmentTypesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeAdjustmentTypes.
return DescribeAdjustmentTypesResponse

EndDescribeAutoScalingGroups() public method

Finishes the asynchronous execution of the DescribeAutoScalingGroups operation.
public EndDescribeAutoScalingGroups ( IAsyncResult asyncResult ) : DescribeAutoScalingGroupsResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeAutoScalingGroups.
return DescribeAutoScalingGroupsResponse

EndDescribeAutoScalingInstances() public method

Finishes the asynchronous execution of the DescribeAutoScalingInstances operation.
public EndDescribeAutoScalingInstances ( IAsyncResult asyncResult ) : DescribeAutoScalingInstancesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeAutoScalingInstances.
return DescribeAutoScalingInstancesResponse

EndDescribeAutoScalingNotificationTypes() public method

Finishes the asynchronous execution of the DescribeAutoScalingNotificationTypes operation.
public EndDescribeAutoScalingNotificationTypes ( IAsyncResult asyncResult ) : DescribeAutoScalingNotificationTypesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeAutoScalingNotificationTypes.
return DescribeAutoScalingNotificationTypesResponse

EndDescribeLaunchConfigurations() public method

Finishes the asynchronous execution of the DescribeLaunchConfigurations operation.
public EndDescribeLaunchConfigurations ( IAsyncResult asyncResult ) : DescribeLaunchConfigurationsResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeLaunchConfigurations.
return DescribeLaunchConfigurationsResponse

EndDescribeLifecycleHookTypes() public method

Finishes the asynchronous execution of the DescribeLifecycleHookTypes operation.
public EndDescribeLifecycleHookTypes ( IAsyncResult asyncResult ) : DescribeLifecycleHookTypesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeLifecycleHookTypes.
return DescribeLifecycleHookTypesResponse

EndDescribeLifecycleHooks() public method

Finishes the asynchronous execution of the DescribeLifecycleHooks operation.
public EndDescribeLifecycleHooks ( IAsyncResult asyncResult ) : DescribeLifecycleHooksResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeLifecycleHooks.
return DescribeLifecycleHooksResponse

EndDescribeLoadBalancerTargetGroups() public method

Finishes the asynchronous execution of the DescribeLoadBalancerTargetGroups operation.
public EndDescribeLoadBalancerTargetGroups ( IAsyncResult asyncResult ) : DescribeLoadBalancerTargetGroupsResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeLoadBalancerTargetGroups.
return DescribeLoadBalancerTargetGroupsResponse

EndDescribeLoadBalancers() public method

Finishes the asynchronous execution of the DescribeLoadBalancers operation.
public EndDescribeLoadBalancers ( IAsyncResult asyncResult ) : DescribeLoadBalancersResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeLoadBalancers.
return DescribeLoadBalancersResponse

EndDescribeMetricCollectionTypes() public method

Finishes the asynchronous execution of the DescribeMetricCollectionTypes operation.
public EndDescribeMetricCollectionTypes ( IAsyncResult asyncResult ) : DescribeMetricCollectionTypesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeMetricCollectionTypes.
return DescribeMetricCollectionTypesResponse

EndDescribeNotificationConfigurations() public method

Finishes the asynchronous execution of the DescribeNotificationConfigurations operation.
public EndDescribeNotificationConfigurations ( IAsyncResult asyncResult ) : DescribeNotificationConfigurationsResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeNotificationConfigurations.
return DescribeNotificationConfigurationsResponse

EndDescribePolicies() public method

Finishes the asynchronous execution of the DescribePolicies operation.
public EndDescribePolicies ( IAsyncResult asyncResult ) : DescribePoliciesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribePolicies.
return DescribePoliciesResponse

EndDescribeScalingActivities() public method

Finishes the asynchronous execution of the DescribeScalingActivities operation.
public EndDescribeScalingActivities ( IAsyncResult asyncResult ) : DescribeScalingActivitiesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeScalingActivities.
return DescribeScalingActivitiesResponse

EndDescribeScalingProcessTypes() public method

Finishes the asynchronous execution of the DescribeScalingProcessTypes operation.
public EndDescribeScalingProcessTypes ( IAsyncResult asyncResult ) : DescribeScalingProcessTypesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeScalingProcessTypes.
return DescribeScalingProcessTypesResponse

EndDescribeScheduledActions() public method

Finishes the asynchronous execution of the DescribeScheduledActions operation.
public EndDescribeScheduledActions ( IAsyncResult asyncResult ) : DescribeScheduledActionsResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeScheduledActions.
return DescribeScheduledActionsResponse

EndDescribeTags() public method

Finishes the asynchronous execution of the DescribeTags operation.
public EndDescribeTags ( IAsyncResult asyncResult ) : DescribeTagsResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeTags.
return DescribeTagsResponse

EndDescribeTerminationPolicyTypes() public method

Finishes the asynchronous execution of the DescribeTerminationPolicyTypes operation.
public EndDescribeTerminationPolicyTypes ( IAsyncResult asyncResult ) : DescribeTerminationPolicyTypesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDescribeTerminationPolicyTypes.
return DescribeTerminationPolicyTypesResponse

EndDetachInstances() public method

Finishes the asynchronous execution of the DetachInstances operation.
public EndDetachInstances ( IAsyncResult asyncResult ) : DetachInstancesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDetachInstances.
return DetachInstancesResponse

EndDetachLoadBalancerTargetGroups() public method

Finishes the asynchronous execution of the DetachLoadBalancerTargetGroups operation.
public EndDetachLoadBalancerTargetGroups ( IAsyncResult asyncResult ) : DetachLoadBalancerTargetGroupsResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDetachLoadBalancerTargetGroups.
return DetachLoadBalancerTargetGroupsResponse

EndDetachLoadBalancers() public method

Finishes the asynchronous execution of the DetachLoadBalancers operation.
public EndDetachLoadBalancers ( IAsyncResult asyncResult ) : DetachLoadBalancersResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDetachLoadBalancers.
return DetachLoadBalancersResponse

EndDisableMetricsCollection() public method

Finishes the asynchronous execution of the DisableMetricsCollection operation.
public EndDisableMetricsCollection ( IAsyncResult asyncResult ) : DisableMetricsCollectionResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginDisableMetricsCollection.
return DisableMetricsCollectionResponse

EndEnableMetricsCollection() public method

Finishes the asynchronous execution of the EnableMetricsCollection operation.
public EndEnableMetricsCollection ( IAsyncResult asyncResult ) : EnableMetricsCollectionResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginEnableMetricsCollection.
return EnableMetricsCollectionResponse

EndEnterStandby() public method

Finishes the asynchronous execution of the EnterStandby operation.
public EndEnterStandby ( IAsyncResult asyncResult ) : EnterStandbyResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginEnterStandby.
return EnterStandbyResponse

EndExecutePolicy() public method

Finishes the asynchronous execution of the ExecutePolicy operation.
public EndExecutePolicy ( IAsyncResult asyncResult ) : ExecutePolicyResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginExecutePolicy.
return ExecutePolicyResponse

EndExitStandby() public method

Finishes the asynchronous execution of the ExitStandby operation.
public EndExitStandby ( IAsyncResult asyncResult ) : ExitStandbyResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginExitStandby.
return ExitStandbyResponse

EndPutLifecycleHook() public method

Finishes the asynchronous execution of the PutLifecycleHook operation.
public EndPutLifecycleHook ( IAsyncResult asyncResult ) : PutLifecycleHookResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginPutLifecycleHook.
return PutLifecycleHookResponse

EndPutNotificationConfiguration() public method

Finishes the asynchronous execution of the PutNotificationConfiguration operation.
public EndPutNotificationConfiguration ( IAsyncResult asyncResult ) : PutNotificationConfigurationResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginPutNotificationConfiguration.
return PutNotificationConfigurationResponse

EndPutScalingPolicy() public method

Finishes the asynchronous execution of the PutScalingPolicy operation.
public EndPutScalingPolicy ( IAsyncResult asyncResult ) : PutScalingPolicyResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginPutScalingPolicy.
return PutScalingPolicyResponse

EndPutScheduledUpdateGroupAction() public method

Finishes the asynchronous execution of the PutScheduledUpdateGroupAction operation.
public EndPutScheduledUpdateGroupAction ( IAsyncResult asyncResult ) : PutScheduledUpdateGroupActionResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginPutScheduledUpdateGroupAction.
return PutScheduledUpdateGroupActionResponse

EndRecordLifecycleActionHeartbeat() public method

Finishes the asynchronous execution of the RecordLifecycleActionHeartbeat operation.
public EndRecordLifecycleActionHeartbeat ( IAsyncResult asyncResult ) : RecordLifecycleActionHeartbeatResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginRecordLifecycleActionHeartbeat.
return RecordLifecycleActionHeartbeatResponse

EndResumeProcesses() public method

Finishes the asynchronous execution of the ResumeProcesses operation.
public EndResumeProcesses ( IAsyncResult asyncResult ) : ResumeProcessesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginResumeProcesses.
return ResumeProcessesResponse

EndSetDesiredCapacity() public method

Finishes the asynchronous execution of the SetDesiredCapacity operation.
public EndSetDesiredCapacity ( IAsyncResult asyncResult ) : SetDesiredCapacityResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginSetDesiredCapacity.
return SetDesiredCapacityResponse

EndSetInstanceHealth() public method

Finishes the asynchronous execution of the SetInstanceHealth operation.
public EndSetInstanceHealth ( IAsyncResult asyncResult ) : SetInstanceHealthResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginSetInstanceHealth.
return SetInstanceHealthResponse

EndSetInstanceProtection() public method

Finishes the asynchronous execution of the SetInstanceProtection operation.
public EndSetInstanceProtection ( IAsyncResult asyncResult ) : SetInstanceProtectionResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginSetInstanceProtection.
return SetInstanceProtectionResponse

EndSuspendProcesses() public method

Finishes the asynchronous execution of the SuspendProcesses operation.
public EndSuspendProcesses ( IAsyncResult asyncResult ) : SuspendProcessesResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginSuspendProcesses.
return SuspendProcessesResponse

EndTerminateInstanceInAutoScalingGroup() public method

Finishes the asynchronous execution of the TerminateInstanceInAutoScalingGroup operation.
public EndTerminateInstanceInAutoScalingGroup ( IAsyncResult asyncResult ) : TerminateInstanceInAutoScalingGroupResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginTerminateInstanceInAutoScalingGroup.
return TerminateInstanceInAutoScalingGroupResponse

EndUpdateAutoScalingGroup() public method

Finishes the asynchronous execution of the UpdateAutoScalingGroup operation.
public EndUpdateAutoScalingGroup ( IAsyncResult asyncResult ) : UpdateAutoScalingGroupResponse
asyncResult IAsyncResult The IAsyncResult returned by the call to BeginUpdateAutoScalingGroup.
return UpdateAutoScalingGroupResponse

EnterStandby() public method

Moves the specified instances into Standby mode.

For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide.

/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public EnterStandby ( EnterStandbyRequest request ) : EnterStandbyResponse
request EnterStandbyRequest Container for the necessary parameters to execute the EnterStandby service method.
return EnterStandbyResponse

EnterStandbyAsync() public method

Initiates the asynchronous execution of the EnterStandby operation.
public EnterStandbyAsync ( EnterStandbyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request EnterStandbyRequest Container for the necessary parameters to execute the EnterStandby operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

ExecutePolicy() public method

Executes the specified policy.
/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). /// /// The operation can't be performed because there are scaling activities in progress. ///
public ExecutePolicy ( ExecutePolicyRequest request ) : ExecutePolicyResponse
request ExecutePolicyRequest Container for the necessary parameters to execute the ExecutePolicy service method.
return ExecutePolicyResponse

ExecutePolicyAsync() public method

Initiates the asynchronous execution of the ExecutePolicy operation.
public ExecutePolicyAsync ( ExecutePolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request ExecutePolicyRequest Container for the necessary parameters to execute the ExecutePolicy operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

ExitStandby() public method

Moves the specified instances out of Standby mode.

For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide.

/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public ExitStandby ( ExitStandbyRequest request ) : ExitStandbyResponse
request ExitStandbyRequest Container for the necessary parameters to execute the ExitStandby service method.
return ExitStandbyResponse

ExitStandbyAsync() public method

Initiates the asynchronous execution of the ExitStandby operation.
public ExitStandbyAsync ( ExitStandbyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request ExitStandbyRequest Container for the necessary parameters to execute the ExitStandby operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

PutLifecycleHook() public method

Creates or updates a lifecycle hook for the specified Auto Scaling Group.

A lifecycle hook tells Auto Scaling that you want to perform an action on an instance that is not actively in service; for example, either when the instance launches or before the instance terminates.

This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:

  1. (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances.

  2. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target.

  3. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.

  4. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.

  5. If you finish before the timeout period ends, complete the lifecycle action.

For more information, see Auto Scaling Lifecycle Hooks in the Auto Scaling User Guide.

If you exceed your maximum limit of lifecycle hooks, which by default is 50 per Auto Scaling group, the call fails. For information about updating this limit, see AWS Service Limits in the Amazon Web Services General Reference.

/// You have already reached a limit for your Auto Scaling resources (for example, groups, /// launch configurations, or lifecycle hooks). For more information, see DescribeAccountLimits. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public PutLifecycleHook ( PutLifecycleHookRequest request ) : PutLifecycleHookResponse
request PutLifecycleHookRequest Container for the necessary parameters to execute the PutLifecycleHook service method.
return PutLifecycleHookResponse

PutLifecycleHookAsync() public method

Initiates the asynchronous execution of the PutLifecycleHook operation.
public PutLifecycleHookAsync ( PutLifecycleHookRequest request, System cancellationToken = default(CancellationToken) ) : Task
request PutLifecycleHookRequest Container for the necessary parameters to execute the PutLifecycleHook operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

PutNotificationConfiguration() public method

Configures an Auto Scaling group to send notifications when specified events take place. Subscribers to the specified topic can have messages delivered to an endpoint such as a web server or an email address.

This configuration overwrites any existing configuration.

For more information see Getting SNS Notifications When Your Auto Scaling Group Scales in the Auto Scaling User Guide.

/// You have already reached a limit for your Auto Scaling resources (for example, groups, /// launch configurations, or lifecycle hooks). For more information, see DescribeAccountLimits. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public PutNotificationConfiguration ( PutNotificationConfigurationRequest request ) : PutNotificationConfigurationResponse
request PutNotificationConfigurationRequest Container for the necessary parameters to execute the PutNotificationConfiguration service method.
return PutNotificationConfigurationResponse

PutNotificationConfigurationAsync() public method

Initiates the asynchronous execution of the PutNotificationConfiguration operation.
public PutNotificationConfigurationAsync ( PutNotificationConfigurationRequest request, System cancellationToken = default(CancellationToken) ) : Task
request PutNotificationConfigurationRequest Container for the necessary parameters to execute the PutNotificationConfiguration operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

PutScalingPolicy() public method

Creates or updates a policy for an Auto Scaling group. To update an existing policy, use the existing policy name and set the parameters you want to change. Any existing parameter not changed in an update to an existing policy is not changed in this update request.

If you exceed your maximum limit of step adjustments, which by default is 20 per region, the call fails. For information about updating this limit, see AWS Service Limits in the Amazon Web Services General Reference.

/// You have already reached a limit for your Auto Scaling resources (for example, groups, /// launch configurations, or lifecycle hooks). For more information, see DescribeAccountLimits. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public PutScalingPolicy ( PutScalingPolicyRequest request ) : PutScalingPolicyResponse
request PutScalingPolicyRequest Container for the necessary parameters to execute the PutScalingPolicy service method.
return PutScalingPolicyResponse

PutScalingPolicyAsync() public method

Initiates the asynchronous execution of the PutScalingPolicy operation.
public PutScalingPolicyAsync ( PutScalingPolicyRequest request, System cancellationToken = default(CancellationToken) ) : Task
request PutScalingPolicyRequest Container for the necessary parameters to execute the PutScalingPolicy operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

PutScheduledUpdateGroupAction() public method

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.

For more information, see Scheduled Scaling in the Auto Scaling User Guide.

/// You already have an Auto Scaling group or launch configuration with this name. /// /// You have already reached a limit for your Auto Scaling resources (for example, groups, /// launch configurations, or lifecycle hooks). For more information, see DescribeAccountLimits. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public PutScheduledUpdateGroupAction ( PutScheduledUpdateGroupActionRequest request ) : PutScheduledUpdateGroupActionResponse
request PutScheduledUpdateGroupActionRequest Container for the necessary parameters to execute the PutScheduledUpdateGroupAction service method.
return PutScheduledUpdateGroupActionResponse

PutScheduledUpdateGroupActionAsync() public method

Initiates the asynchronous execution of the PutScheduledUpdateGroupAction operation.
public PutScheduledUpdateGroupActionAsync ( PutScheduledUpdateGroupActionRequest request, System cancellationToken = default(CancellationToken) ) : Task
request PutScheduledUpdateGroupActionRequest Container for the necessary parameters to execute the PutScheduledUpdateGroupAction operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

RecordLifecycleActionHeartbeat() public method

Records a heartbeat for the lifecycle action associated with the specified token or instance. This extends the timeout by the length of time defined using PutLifecycleHook.

This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:

  1. (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances.

  2. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target.

  3. Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.

  4. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.

  5. If you finish before the timeout period ends, complete the lifecycle action.

For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide.

/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public RecordLifecycleActionHeartbeat ( RecordLifecycleActionHeartbeatRequest request ) : RecordLifecycleActionHeartbeatResponse
request RecordLifecycleActionHeartbeatRequest Container for the necessary parameters to execute the RecordLifecycleActionHeartbeat service method.
return RecordLifecycleActionHeartbeatResponse

RecordLifecycleActionHeartbeatAsync() public method

Initiates the asynchronous execution of the RecordLifecycleActionHeartbeat operation.
public RecordLifecycleActionHeartbeatAsync ( RecordLifecycleActionHeartbeatRequest request, System cancellationToken = default(CancellationToken) ) : Task
request RecordLifecycleActionHeartbeatRequest Container for the necessary parameters to execute the RecordLifecycleActionHeartbeat operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

ResumeProcesses() public method

Resumes the specified suspended Auto Scaling processes, or all suspended process, for the specified Auto Scaling group.

For more information, see Suspending and Resuming Auto Scaling Processes in the Auto Scaling User Guide.

/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). /// /// The operation can't be performed because the resource is in use. ///
public ResumeProcesses ( ResumeProcessesRequest request ) : ResumeProcessesResponse
request ResumeProcessesRequest Container for the necessary parameters to execute the ResumeProcesses service method.
return ResumeProcessesResponse

ResumeProcessesAsync() public method

Initiates the asynchronous execution of the ResumeProcesses operation.
public ResumeProcessesAsync ( ResumeProcessesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request ResumeProcessesRequest Container for the necessary parameters to execute the ResumeProcesses operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

SetDesiredCapacity() public method

Sets the size of the specified Auto Scaling group.

For more information about desired capacity, see What Is Auto Scaling? in the Auto Scaling User Guide.

/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). /// /// The operation can't be performed because there are scaling activities in progress. ///
public SetDesiredCapacity ( SetDesiredCapacityRequest request ) : SetDesiredCapacityResponse
request SetDesiredCapacityRequest Container for the necessary parameters to execute the SetDesiredCapacity service method.
return SetDesiredCapacityResponse

SetDesiredCapacityAsync() public method

Initiates the asynchronous execution of the SetDesiredCapacity operation.
public SetDesiredCapacityAsync ( SetDesiredCapacityRequest request, System cancellationToken = default(CancellationToken) ) : Task
request SetDesiredCapacityRequest Container for the necessary parameters to execute the SetDesiredCapacity operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

SetInstanceHealth() public method

Sets the health status of the specified instance.

For more information, see Health Checks in the Auto Scaling User Guide.

/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public SetInstanceHealth ( SetInstanceHealthRequest request ) : SetInstanceHealthResponse
request SetInstanceHealthRequest Container for the necessary parameters to execute the SetInstanceHealth service method.
return SetInstanceHealthResponse

SetInstanceHealthAsync() public method

Initiates the asynchronous execution of the SetInstanceHealth operation.
public SetInstanceHealthAsync ( SetInstanceHealthRequest request, System cancellationToken = default(CancellationToken) ) : Task
request SetInstanceHealthRequest Container for the necessary parameters to execute the SetInstanceHealth operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

SetInstanceProtection() public method

Updates the instance protection settings of the specified instances.

For more information, see Instance Protection in the Auto Scaling User Guide.

/// You have already reached a limit for your Auto Scaling resources (for example, groups, /// launch configurations, or lifecycle hooks). For more information, see DescribeAccountLimits. /// /// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). ///
public SetInstanceProtection ( SetInstanceProtectionRequest request ) : SetInstanceProtectionResponse
request SetInstanceProtectionRequest Container for the necessary parameters to execute the SetInstanceProtection service method.
return SetInstanceProtectionResponse

SetInstanceProtectionAsync() public method

Initiates the asynchronous execution of the SetInstanceProtection operation.
public SetInstanceProtectionAsync ( SetInstanceProtectionRequest request, System cancellationToken = default(CancellationToken) ) : Task
request SetInstanceProtectionRequest Container for the necessary parameters to execute the SetInstanceProtection operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

SuspendProcesses() public method

Suspends the specified Auto Scaling processes, or all processes, for the specified Auto Scaling group.

Note that if you suspend either the Launch or Terminate process types, it can prevent other process types from functioning properly.

To resume processes that have been suspended, use ResumeProcesses.

For more information, see Suspending and Resuming Auto Scaling Processes in the Auto Scaling User Guide.

/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). /// /// The operation can't be performed because the resource is in use. ///
public SuspendProcesses ( SuspendProcessesRequest request ) : SuspendProcessesResponse
request SuspendProcessesRequest Container for the necessary parameters to execute the SuspendProcesses service method.
return SuspendProcessesResponse

SuspendProcessesAsync() public method

Initiates the asynchronous execution of the SuspendProcesses operation.
public SuspendProcessesAsync ( SuspendProcessesRequest request, System cancellationToken = default(CancellationToken) ) : Task
request SuspendProcessesRequest Container for the necessary parameters to execute the SuspendProcesses operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

TerminateInstanceInAutoScalingGroup() public method

Terminates the specified instance and optionally adjusts the desired group size.

This call simply makes a termination request. The instance is not terminated immediately.

/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). /// /// The operation can't be performed because there are scaling activities in progress. ///
public TerminateInstanceInAutoScalingGroup ( TerminateInstanceInAutoScalingGroupRequest request ) : TerminateInstanceInAutoScalingGroupResponse
request TerminateInstanceInAutoScalingGroupRequest Container for the necessary parameters to execute the TerminateInstanceInAutoScalingGroup service method.
return TerminateInstanceInAutoScalingGroupResponse

TerminateInstanceInAutoScalingGroupAsync() public method

Initiates the asynchronous execution of the TerminateInstanceInAutoScalingGroup operation.
public TerminateInstanceInAutoScalingGroupAsync ( TerminateInstanceInAutoScalingGroupRequest request, System cancellationToken = default(CancellationToken) ) : Task
request TerminateInstanceInAutoScalingGroupRequest Container for the necessary parameters to execute the TerminateInstanceInAutoScalingGroup operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task

UpdateAutoScalingGroup() public method

Updates the configuration for the specified Auto Scaling group.

To update an Auto Scaling group with a launch configuration with InstanceMonitoring set to False, you must first disable the collection of group metrics. Otherwise, you will get an error. If you have previously enabled the collection of group metrics, you can disable it using DisableMetricsCollection.

The new settings are registered upon the completion of this call. Any launch configuration settings take effect on any triggers after this call returns. Scaling activities that are currently in progress aren't affected.

Note the following:

  • If you specify a new value for MinSize without specifying a value for DesiredCapacity, and the new MinSize is larger than the current size of the group, we implicitly call SetDesiredCapacity to set the size of the group to the new value of MinSize.

  • If you specify a new value for MaxSize without specifying a value for DesiredCapacity, and the new MaxSize is smaller than the current size of the group, we implicitly call SetDesiredCapacity to set the size of the group to the new value of MaxSize.

  • All other optional parameters are left unchanged if not specified.

/// You already have a pending update to an Auto Scaling resource (for example, a group, /// instance, or load balancer). /// /// The operation can't be performed because there are scaling activities in progress. ///
public UpdateAutoScalingGroup ( UpdateAutoScalingGroupRequest request ) : UpdateAutoScalingGroupResponse
request UpdateAutoScalingGroupRequest Container for the necessary parameters to execute the UpdateAutoScalingGroup service method.
return UpdateAutoScalingGroupResponse

UpdateAutoScalingGroupAsync() public method

Initiates the asynchronous execution of the UpdateAutoScalingGroup operation.
public UpdateAutoScalingGroupAsync ( UpdateAutoScalingGroupRequest request, System cancellationToken = default(CancellationToken) ) : Task
request UpdateAutoScalingGroupRequest Container for the necessary parameters to execute the UpdateAutoScalingGroup operation.
cancellationToken System /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. ///
return Task