git-off

git off handles large files in git repos
git clone https://noulin.net/git/git-off.git
Log | Files | Refs | README

autoscaling.d.ts (120295B)


      1 import {Request} from '../lib/request';
      2 import {Response} from '../lib/response';
      3 import {AWSError} from '../lib/error';
      4 import {Service} from '../lib/service';
      5 import {ServiceConfigurationOptions} from '../lib/service';
      6 import {ConfigBase as Config} from '../lib/config';
      7 interface Blob {}
      8 declare class AutoScaling extends Service {
      9   /**
     10    * Constructs a service object. This object has one method for each API operation.
     11    */
     12   constructor(options?: AutoScaling.Types.ClientConfiguration)
     13   config: Config & AutoScaling.Types.ClientConfiguration;
     14   /**
     15    * 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.
     16    */
     17   attachInstances(params: AutoScaling.Types.AttachInstancesQuery, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
     18   /**
     19    * 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.
     20    */
     21   attachInstances(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
     22   /**
     23    * 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.
     24    */
     25   attachLoadBalancerTargetGroups(params: AutoScaling.Types.AttachLoadBalancerTargetGroupsType, callback?: (err: AWSError, data: AutoScaling.Types.AttachLoadBalancerTargetGroupsResultType) => void): Request<AutoScaling.Types.AttachLoadBalancerTargetGroupsResultType, AWSError>;
     26   /**
     27    * 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.
     28    */
     29   attachLoadBalancerTargetGroups(callback?: (err: AWSError, data: AutoScaling.Types.AttachLoadBalancerTargetGroupsResultType) => void): Request<AutoScaling.Types.AttachLoadBalancerTargetGroupsResultType, AWSError>;
     30   /**
     31    * 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.
     32    */
     33   attachLoadBalancers(params: AutoScaling.Types.AttachLoadBalancersType, callback?: (err: AWSError, data: AutoScaling.Types.AttachLoadBalancersResultType) => void): Request<AutoScaling.Types.AttachLoadBalancersResultType, AWSError>;
     34   /**
     35    * 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.
     36    */
     37   attachLoadBalancers(callback?: (err: AWSError, data: AutoScaling.Types.AttachLoadBalancersResultType) => void): Request<AutoScaling.Types.AttachLoadBalancersResultType, AWSError>;
     38   /**
     39    * 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:   (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances.   (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target.   Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.   If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.    If you finish before the timeout period ends, complete the lifecycle action.    For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide.
     40    */
     41   completeLifecycleAction(params: AutoScaling.Types.CompleteLifecycleActionType, callback?: (err: AWSError, data: AutoScaling.Types.CompleteLifecycleActionAnswer) => void): Request<AutoScaling.Types.CompleteLifecycleActionAnswer, AWSError>;
     42   /**
     43    * 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:   (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances.   (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target.   Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.   If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.    If you finish before the timeout period ends, complete the lifecycle action.    For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide.
     44    */
     45   completeLifecycleAction(callback?: (err: AWSError, data: AutoScaling.Types.CompleteLifecycleActionAnswer) => void): Request<AutoScaling.Types.CompleteLifecycleActionAnswer, AWSError>;
     46   /**
     47    * 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.
     48    */
     49   createAutoScalingGroup(params: AutoScaling.Types.CreateAutoScalingGroupType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
     50   /**
     51    * 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.
     52    */
     53   createAutoScalingGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
     54   /**
     55    * 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.
     56    */
     57   createLaunchConfiguration(params: AutoScaling.Types.CreateLaunchConfigurationType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
     58   /**
     59    * 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.
     60    */
     61   createLaunchConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
     62   /**
     63    * 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.
     64    */
     65   createOrUpdateTags(params: AutoScaling.Types.CreateOrUpdateTagsType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
     66   /**
     67    * 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.
     68    */
     69   createOrUpdateTags(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
     70   /**
     71    * 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.
     72    */
     73   deleteAutoScalingGroup(params: AutoScaling.Types.DeleteAutoScalingGroupType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
     74   /**
     75    * 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.
     76    */
     77   deleteAutoScalingGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
     78   /**
     79    * 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.
     80    */
     81   deleteLaunchConfiguration(params: AutoScaling.Types.LaunchConfigurationNameType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
     82   /**
     83    * 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.
     84    */
     85   deleteLaunchConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
     86   /**
     87    * Deletes the specified lifecycle hook. If there are any outstanding lifecycle actions, they are completed first (ABANDON for launching instances, CONTINUE for terminating instances).
     88    */
     89   deleteLifecycleHook(params: AutoScaling.Types.DeleteLifecycleHookType, callback?: (err: AWSError, data: AutoScaling.Types.DeleteLifecycleHookAnswer) => void): Request<AutoScaling.Types.DeleteLifecycleHookAnswer, AWSError>;
     90   /**
     91    * Deletes the specified lifecycle hook. If there are any outstanding lifecycle actions, they are completed first (ABANDON for launching instances, CONTINUE for terminating instances).
     92    */
     93   deleteLifecycleHook(callback?: (err: AWSError, data: AutoScaling.Types.DeleteLifecycleHookAnswer) => void): Request<AutoScaling.Types.DeleteLifecycleHookAnswer, AWSError>;
     94   /**
     95    * Deletes the specified notification.
     96    */
     97   deleteNotificationConfiguration(params: AutoScaling.Types.DeleteNotificationConfigurationType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
     98   /**
     99    * Deletes the specified notification.
    100    */
    101   deleteNotificationConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    102   /**
    103    * 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.
    104    */
    105   deletePolicy(params: AutoScaling.Types.DeletePolicyType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    106   /**
    107    * 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.
    108    */
    109   deletePolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    110   /**
    111    * Deletes the specified scheduled action.
    112    */
    113   deleteScheduledAction(params: AutoScaling.Types.DeleteScheduledActionType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    114   /**
    115    * Deletes the specified scheduled action.
    116    */
    117   deleteScheduledAction(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    118   /**
    119    * Deletes the specified tags.
    120    */
    121   deleteTags(params: AutoScaling.Types.DeleteTagsType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    122   /**
    123    * Deletes the specified tags.
    124    */
    125   deleteTags(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    126   /**
    127    * 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.
    128    */
    129   describeAccountLimits(callback?: (err: AWSError, data: AutoScaling.Types.DescribeAccountLimitsAnswer) => void): Request<AutoScaling.Types.DescribeAccountLimitsAnswer, AWSError>;
    130   /**
    131    * Describes the policy adjustment types for use with PutScalingPolicy.
    132    */
    133   describeAdjustmentTypes(callback?: (err: AWSError, data: AutoScaling.Types.DescribeAdjustmentTypesAnswer) => void): Request<AutoScaling.Types.DescribeAdjustmentTypesAnswer, AWSError>;
    134   /**
    135    * Describes one or more Auto Scaling groups.
    136    */
    137   describeAutoScalingGroups(params: AutoScaling.Types.AutoScalingGroupNamesType, callback?: (err: AWSError, data: AutoScaling.Types.AutoScalingGroupsType) => void): Request<AutoScaling.Types.AutoScalingGroupsType, AWSError>;
    138   /**
    139    * Describes one or more Auto Scaling groups.
    140    */
    141   describeAutoScalingGroups(callback?: (err: AWSError, data: AutoScaling.Types.AutoScalingGroupsType) => void): Request<AutoScaling.Types.AutoScalingGroupsType, AWSError>;
    142   /**
    143    * Describes one or more Auto Scaling instances.
    144    */
    145   describeAutoScalingInstances(params: AutoScaling.Types.DescribeAutoScalingInstancesType, callback?: (err: AWSError, data: AutoScaling.Types.AutoScalingInstancesType) => void): Request<AutoScaling.Types.AutoScalingInstancesType, AWSError>;
    146   /**
    147    * Describes one or more Auto Scaling instances.
    148    */
    149   describeAutoScalingInstances(callback?: (err: AWSError, data: AutoScaling.Types.AutoScalingInstancesType) => void): Request<AutoScaling.Types.AutoScalingInstancesType, AWSError>;
    150   /**
    151    * Describes the notification types that are supported by Auto Scaling.
    152    */
    153   describeAutoScalingNotificationTypes(callback?: (err: AWSError, data: AutoScaling.Types.DescribeAutoScalingNotificationTypesAnswer) => void): Request<AutoScaling.Types.DescribeAutoScalingNotificationTypesAnswer, AWSError>;
    154   /**
    155    * Describes one or more launch configurations.
    156    */
    157   describeLaunchConfigurations(params: AutoScaling.Types.LaunchConfigurationNamesType, callback?: (err: AWSError, data: AutoScaling.Types.LaunchConfigurationsType) => void): Request<AutoScaling.Types.LaunchConfigurationsType, AWSError>;
    158   /**
    159    * Describes one or more launch configurations.
    160    */
    161   describeLaunchConfigurations(callback?: (err: AWSError, data: AutoScaling.Types.LaunchConfigurationsType) => void): Request<AutoScaling.Types.LaunchConfigurationsType, AWSError>;
    162   /**
    163    * Describes the available types of lifecycle hooks.
    164    */
    165   describeLifecycleHookTypes(callback?: (err: AWSError, data: AutoScaling.Types.DescribeLifecycleHookTypesAnswer) => void): Request<AutoScaling.Types.DescribeLifecycleHookTypesAnswer, AWSError>;
    166   /**
    167    * Describes the lifecycle hooks for the specified Auto Scaling group.
    168    */
    169   describeLifecycleHooks(params: AutoScaling.Types.DescribeLifecycleHooksType, callback?: (err: AWSError, data: AutoScaling.Types.DescribeLifecycleHooksAnswer) => void): Request<AutoScaling.Types.DescribeLifecycleHooksAnswer, AWSError>;
    170   /**
    171    * Describes the lifecycle hooks for the specified Auto Scaling group.
    172    */
    173   describeLifecycleHooks(callback?: (err: AWSError, data: AutoScaling.Types.DescribeLifecycleHooksAnswer) => void): Request<AutoScaling.Types.DescribeLifecycleHooksAnswer, AWSError>;
    174   /**
    175    * Describes the target groups for the specified Auto Scaling group.
    176    */
    177   describeLoadBalancerTargetGroups(params: AutoScaling.Types.DescribeLoadBalancerTargetGroupsRequest, callback?: (err: AWSError, data: AutoScaling.Types.DescribeLoadBalancerTargetGroupsResponse) => void): Request<AutoScaling.Types.DescribeLoadBalancerTargetGroupsResponse, AWSError>;
    178   /**
    179    * Describes the target groups for the specified Auto Scaling group.
    180    */
    181   describeLoadBalancerTargetGroups(callback?: (err: AWSError, data: AutoScaling.Types.DescribeLoadBalancerTargetGroupsResponse) => void): Request<AutoScaling.Types.DescribeLoadBalancerTargetGroupsResponse, AWSError>;
    182   /**
    183    * 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.
    184    */
    185   describeLoadBalancers(params: AutoScaling.Types.DescribeLoadBalancersRequest, callback?: (err: AWSError, data: AutoScaling.Types.DescribeLoadBalancersResponse) => void): Request<AutoScaling.Types.DescribeLoadBalancersResponse, AWSError>;
    186   /**
    187    * 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.
    188    */
    189   describeLoadBalancers(callback?: (err: AWSError, data: AutoScaling.Types.DescribeLoadBalancersResponse) => void): Request<AutoScaling.Types.DescribeLoadBalancersResponse, AWSError>;
    190   /**
    191    * 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.
    192    */
    193   describeMetricCollectionTypes(callback?: (err: AWSError, data: AutoScaling.Types.DescribeMetricCollectionTypesAnswer) => void): Request<AutoScaling.Types.DescribeMetricCollectionTypesAnswer, AWSError>;
    194   /**
    195    * Describes the notification actions associated with the specified Auto Scaling group.
    196    */
    197   describeNotificationConfigurations(params: AutoScaling.Types.DescribeNotificationConfigurationsType, callback?: (err: AWSError, data: AutoScaling.Types.DescribeNotificationConfigurationsAnswer) => void): Request<AutoScaling.Types.DescribeNotificationConfigurationsAnswer, AWSError>;
    198   /**
    199    * Describes the notification actions associated with the specified Auto Scaling group.
    200    */
    201   describeNotificationConfigurations(callback?: (err: AWSError, data: AutoScaling.Types.DescribeNotificationConfigurationsAnswer) => void): Request<AutoScaling.Types.DescribeNotificationConfigurationsAnswer, AWSError>;
    202   /**
    203    * Describes the policies for the specified Auto Scaling group.
    204    */
    205   describePolicies(params: AutoScaling.Types.DescribePoliciesType, callback?: (err: AWSError, data: AutoScaling.Types.PoliciesType) => void): Request<AutoScaling.Types.PoliciesType, AWSError>;
    206   /**
    207    * Describes the policies for the specified Auto Scaling group.
    208    */
    209   describePolicies(callback?: (err: AWSError, data: AutoScaling.Types.PoliciesType) => void): Request<AutoScaling.Types.PoliciesType, AWSError>;
    210   /**
    211    * Describes one or more scaling activities for the specified Auto Scaling group.
    212    */
    213   describeScalingActivities(params: AutoScaling.Types.DescribeScalingActivitiesType, callback?: (err: AWSError, data: AutoScaling.Types.ActivitiesType) => void): Request<AutoScaling.Types.ActivitiesType, AWSError>;
    214   /**
    215    * Describes one or more scaling activities for the specified Auto Scaling group.
    216    */
    217   describeScalingActivities(callback?: (err: AWSError, data: AutoScaling.Types.ActivitiesType) => void): Request<AutoScaling.Types.ActivitiesType, AWSError>;
    218   /**
    219    * Describes the scaling process types for use with ResumeProcesses and SuspendProcesses.
    220    */
    221   describeScalingProcessTypes(callback?: (err: AWSError, data: AutoScaling.Types.ProcessesType) => void): Request<AutoScaling.Types.ProcessesType, AWSError>;
    222   /**
    223    * Describes the actions scheduled for your Auto Scaling group that haven't run. To describe the actions that have already run, use DescribeScalingActivities.
    224    */
    225   describeScheduledActions(params: AutoScaling.Types.DescribeScheduledActionsType, callback?: (err: AWSError, data: AutoScaling.Types.ScheduledActionsType) => void): Request<AutoScaling.Types.ScheduledActionsType, AWSError>;
    226   /**
    227    * Describes the actions scheduled for your Auto Scaling group that haven't run. To describe the actions that have already run, use DescribeScalingActivities.
    228    */
    229   describeScheduledActions(callback?: (err: AWSError, data: AutoScaling.Types.ScheduledActionsType) => void): Request<AutoScaling.Types.ScheduledActionsType, AWSError>;
    230   /**
    231    * 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.
    232    */
    233   describeTags(params: AutoScaling.Types.DescribeTagsType, callback?: (err: AWSError, data: AutoScaling.Types.TagsType) => void): Request<AutoScaling.Types.TagsType, AWSError>;
    234   /**
    235    * 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.
    236    */
    237   describeTags(callback?: (err: AWSError, data: AutoScaling.Types.TagsType) => void): Request<AutoScaling.Types.TagsType, AWSError>;
    238   /**
    239    * Describes the termination policies supported by Auto Scaling.
    240    */
    241   describeTerminationPolicyTypes(callback?: (err: AWSError, data: AutoScaling.Types.DescribeTerminationPolicyTypesAnswer) => void): Request<AutoScaling.Types.DescribeTerminationPolicyTypesAnswer, AWSError>;
    242   /**
    243    * 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.
    244    */
    245   detachInstances(params: AutoScaling.Types.DetachInstancesQuery, callback?: (err: AWSError, data: AutoScaling.Types.DetachInstancesAnswer) => void): Request<AutoScaling.Types.DetachInstancesAnswer, AWSError>;
    246   /**
    247    * 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.
    248    */
    249   detachInstances(callback?: (err: AWSError, data: AutoScaling.Types.DetachInstancesAnswer) => void): Request<AutoScaling.Types.DetachInstancesAnswer, AWSError>;
    250   /**
    251    * Detaches one or more target groups from the specified Auto Scaling group.
    252    */
    253   detachLoadBalancerTargetGroups(params: AutoScaling.Types.DetachLoadBalancerTargetGroupsType, callback?: (err: AWSError, data: AutoScaling.Types.DetachLoadBalancerTargetGroupsResultType) => void): Request<AutoScaling.Types.DetachLoadBalancerTargetGroupsResultType, AWSError>;
    254   /**
    255    * Detaches one or more target groups from the specified Auto Scaling group.
    256    */
    257   detachLoadBalancerTargetGroups(callback?: (err: AWSError, data: AutoScaling.Types.DetachLoadBalancerTargetGroupsResultType) => void): Request<AutoScaling.Types.DetachLoadBalancerTargetGroupsResultType, AWSError>;
    258   /**
    259    * 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.
    260    */
    261   detachLoadBalancers(params: AutoScaling.Types.DetachLoadBalancersType, callback?: (err: AWSError, data: AutoScaling.Types.DetachLoadBalancersResultType) => void): Request<AutoScaling.Types.DetachLoadBalancersResultType, AWSError>;
    262   /**
    263    * 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.
    264    */
    265   detachLoadBalancers(callback?: (err: AWSError, data: AutoScaling.Types.DetachLoadBalancersResultType) => void): Request<AutoScaling.Types.DetachLoadBalancersResultType, AWSError>;
    266   /**
    267    * Disables group metrics for the specified Auto Scaling group.
    268    */
    269   disableMetricsCollection(params: AutoScaling.Types.DisableMetricsCollectionQuery, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    270   /**
    271    * Disables group metrics for the specified Auto Scaling group.
    272    */
    273   disableMetricsCollection(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    274   /**
    275    * 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.
    276    */
    277   enableMetricsCollection(params: AutoScaling.Types.EnableMetricsCollectionQuery, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    278   /**
    279    * 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.
    280    */
    281   enableMetricsCollection(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    282   /**
    283    * Moves the specified instances into Standby mode. For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide.
    284    */
    285   enterStandby(params: AutoScaling.Types.EnterStandbyQuery, callback?: (err: AWSError, data: AutoScaling.Types.EnterStandbyAnswer) => void): Request<AutoScaling.Types.EnterStandbyAnswer, AWSError>;
    286   /**
    287    * Moves the specified instances into Standby mode. For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide.
    288    */
    289   enterStandby(callback?: (err: AWSError, data: AutoScaling.Types.EnterStandbyAnswer) => void): Request<AutoScaling.Types.EnterStandbyAnswer, AWSError>;
    290   /**
    291    * Executes the specified policy.
    292    */
    293   executePolicy(params: AutoScaling.Types.ExecutePolicyType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    294   /**
    295    * Executes the specified policy.
    296    */
    297   executePolicy(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    298   /**
    299    * Moves the specified instances out of Standby mode. For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide.
    300    */
    301   exitStandby(params: AutoScaling.Types.ExitStandbyQuery, callback?: (err: AWSError, data: AutoScaling.Types.ExitStandbyAnswer) => void): Request<AutoScaling.Types.ExitStandbyAnswer, AWSError>;
    302   /**
    303    * Moves the specified instances out of Standby mode. For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide.
    304    */
    305   exitStandby(callback?: (err: AWSError, data: AutoScaling.Types.ExitStandbyAnswer) => void): Request<AutoScaling.Types.ExitStandbyAnswer, AWSError>;
    306   /**
    307    * 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:   (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances.   (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target.    Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.    If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.   If you finish before the timeout period ends, complete the lifecycle action.   For more information, see Auto Scaling Lifecycle 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.
    308    */
    309   putLifecycleHook(params: AutoScaling.Types.PutLifecycleHookType, callback?: (err: AWSError, data: AutoScaling.Types.PutLifecycleHookAnswer) => void): Request<AutoScaling.Types.PutLifecycleHookAnswer, AWSError>;
    310   /**
    311    * 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:   (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances.   (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target.    Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.    If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.   If you finish before the timeout period ends, complete the lifecycle action.   For more information, see Auto Scaling Lifecycle 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.
    312    */
    313   putLifecycleHook(callback?: (err: AWSError, data: AutoScaling.Types.PutLifecycleHookAnswer) => void): Request<AutoScaling.Types.PutLifecycleHookAnswer, AWSError>;
    314   /**
    315    * 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.
    316    */
    317   putNotificationConfiguration(params: AutoScaling.Types.PutNotificationConfigurationType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    318   /**
    319    * 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.
    320    */
    321   putNotificationConfiguration(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    322   /**
    323    * 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.
    324    */
    325   putScalingPolicy(params: AutoScaling.Types.PutScalingPolicyType, callback?: (err: AWSError, data: AutoScaling.Types.PolicyARNType) => void): Request<AutoScaling.Types.PolicyARNType, AWSError>;
    326   /**
    327    * 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.
    328    */
    329   putScalingPolicy(callback?: (err: AWSError, data: AutoScaling.Types.PolicyARNType) => void): Request<AutoScaling.Types.PolicyARNType, AWSError>;
    330   /**
    331    * 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.
    332    */
    333   putScheduledUpdateGroupAction(params: AutoScaling.Types.PutScheduledUpdateGroupActionType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    334   /**
    335    * 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.
    336    */
    337   putScheduledUpdateGroupAction(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    338   /**
    339    * 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:   (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances.   (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target.   Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.    If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.    If you finish before the timeout period ends, complete the lifecycle action.   For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide.
    340    */
    341   recordLifecycleActionHeartbeat(params: AutoScaling.Types.RecordLifecycleActionHeartbeatType, callback?: (err: AWSError, data: AutoScaling.Types.RecordLifecycleActionHeartbeatAnswer) => void): Request<AutoScaling.Types.RecordLifecycleActionHeartbeatAnswer, AWSError>;
    342   /**
    343    * 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:   (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Auto Scaling launches or terminates instances.   (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Auto Scaling to publish lifecycle notifications to the target.   Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.    If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.    If you finish before the timeout period ends, complete the lifecycle action.   For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide.
    344    */
    345   recordLifecycleActionHeartbeat(callback?: (err: AWSError, data: AutoScaling.Types.RecordLifecycleActionHeartbeatAnswer) => void): Request<AutoScaling.Types.RecordLifecycleActionHeartbeatAnswer, AWSError>;
    346   /**
    347    * 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.
    348    */
    349   resumeProcesses(params: AutoScaling.Types.ScalingProcessQuery, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    350   /**
    351    * 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.
    352    */
    353   resumeProcesses(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    354   /**
    355    * 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.
    356    */
    357   setDesiredCapacity(params: AutoScaling.Types.SetDesiredCapacityType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    358   /**
    359    * 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.
    360    */
    361   setDesiredCapacity(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    362   /**
    363    * Sets the health status of the specified instance. For more information, see Health Checks in the Auto Scaling User Guide.
    364    */
    365   setInstanceHealth(params: AutoScaling.Types.SetInstanceHealthQuery, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    366   /**
    367    * Sets the health status of the specified instance. For more information, see Health Checks in the Auto Scaling User Guide.
    368    */
    369   setInstanceHealth(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    370   /**
    371    * Updates the instance protection settings of the specified instances. For more information, see Instance Protection in the Auto Scaling User Guide.
    372    */
    373   setInstanceProtection(params: AutoScaling.Types.SetInstanceProtectionQuery, callback?: (err: AWSError, data: AutoScaling.Types.SetInstanceProtectionAnswer) => void): Request<AutoScaling.Types.SetInstanceProtectionAnswer, AWSError>;
    374   /**
    375    * Updates the instance protection settings of the specified instances. For more information, see Instance Protection in the Auto Scaling User Guide.
    376    */
    377   setInstanceProtection(callback?: (err: AWSError, data: AutoScaling.Types.SetInstanceProtectionAnswer) => void): Request<AutoScaling.Types.SetInstanceProtectionAnswer, AWSError>;
    378   /**
    379    * 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.
    380    */
    381   suspendProcesses(params: AutoScaling.Types.ScalingProcessQuery, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    382   /**
    383    * 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.
    384    */
    385   suspendProcesses(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    386   /**
    387    * Terminates the specified instance and optionally adjusts the desired group size. This call simply makes a termination request. The instance is not terminated immediately.
    388    */
    389   terminateInstanceInAutoScalingGroup(params: AutoScaling.Types.TerminateInstanceInAutoScalingGroupType, callback?: (err: AWSError, data: AutoScaling.Types.ActivityType) => void): Request<AutoScaling.Types.ActivityType, AWSError>;
    390   /**
    391    * Terminates the specified instance and optionally adjusts the desired group size. This call simply makes a termination request. The instance is not terminated immediately.
    392    */
    393   terminateInstanceInAutoScalingGroup(callback?: (err: AWSError, data: AutoScaling.Types.ActivityType) => void): Request<AutoScaling.Types.ActivityType, AWSError>;
    394   /**
    395    * 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.  
    396    */
    397   updateAutoScalingGroup(params: AutoScaling.Types.UpdateAutoScalingGroupType, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    398   /**
    399    * 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.  
    400    */
    401   updateAutoScalingGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
    402 }
    403 declare namespace AutoScaling.Types {
    404   export type Activities = Activity[];
    405   export interface ActivitiesType {
    406     /**
    407      * The scaling activities. Activities are sorted by start time. Activities still in progress are described first.
    408      */
    409     Activities: Activities;
    410     /**
    411      * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
    412      */
    413     NextToken?: XmlString;
    414   }
    415   export interface Activity {
    416     /**
    417      * The ID of the activity.
    418      */
    419     ActivityId: XmlString;
    420     /**
    421      * The name of the Auto Scaling group.
    422      */
    423     AutoScalingGroupName: XmlStringMaxLen255;
    424     /**
    425      * A friendly, more verbose description of the activity.
    426      */
    427     Description?: XmlString;
    428     /**
    429      * The reason the activity began.
    430      */
    431     Cause: XmlStringMaxLen1023;
    432     /**
    433      * The start time of the activity.
    434      */
    435     StartTime: TimestampType;
    436     /**
    437      * The end time of the activity.
    438      */
    439     EndTime?: TimestampType;
    440     /**
    441      * The current status of the activity.
    442      */
    443     StatusCode: ScalingActivityStatusCode;
    444     /**
    445      * A friendly, more verbose description of the activity status.
    446      */
    447     StatusMessage?: XmlStringMaxLen255;
    448     /**
    449      * A value between 0 and 100 that indicates the progress of the activity.
    450      */
    451     Progress?: Progress;
    452     /**
    453      * The details about the activity.
    454      */
    455     Details?: XmlString;
    456   }
    457   export type ActivityIds = XmlString[];
    458   export interface ActivityType {
    459     /**
    460      * A scaling activity.
    461      */
    462     Activity?: Activity;
    463   }
    464   export interface AdjustmentType {
    465     /**
    466      * The policy adjustment type. The valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.
    467      */
    468     AdjustmentType?: XmlStringMaxLen255;
    469   }
    470   export type AdjustmentTypes = AdjustmentType[];
    471   export interface Alarm {
    472     /**
    473      * The name of the alarm.
    474      */
    475     AlarmName?: XmlStringMaxLen255;
    476     /**
    477      * The Amazon Resource Name (ARN) of the alarm.
    478      */
    479     AlarmARN?: ResourceName;
    480   }
    481   export type Alarms = Alarm[];
    482   export type AsciiStringMaxLen255 = string;
    483   export type AssociatePublicIpAddress = boolean;
    484   export interface AttachInstancesQuery {
    485     /**
    486      * One or more instance IDs.
    487      */
    488     InstanceIds?: InstanceIds;
    489     /**
    490      * The name of the group.
    491      */
    492     AutoScalingGroupName: ResourceName;
    493   }
    494   export interface AttachLoadBalancerTargetGroupsResultType {
    495   }
    496   export interface AttachLoadBalancerTargetGroupsType {
    497     /**
    498      * The name of the Auto Scaling group.
    499      */
    500     AutoScalingGroupName: ResourceName;
    501     /**
    502      * The Amazon Resource Names (ARN) of the target groups.
    503      */
    504     TargetGroupARNs: TargetGroupARNs;
    505   }
    506   export interface AttachLoadBalancersResultType {
    507   }
    508   export interface AttachLoadBalancersType {
    509     /**
    510      * The name of the group.
    511      */
    512     AutoScalingGroupName: ResourceName;
    513     /**
    514      * One or more load balancer names.
    515      */
    516     LoadBalancerNames: LoadBalancerNames;
    517   }
    518   export interface AutoScalingGroup {
    519     /**
    520      * The name of the group.
    521      */
    522     AutoScalingGroupName: XmlStringMaxLen255;
    523     /**
    524      * The Amazon Resource Name (ARN) of the group.
    525      */
    526     AutoScalingGroupARN?: ResourceName;
    527     /**
    528      * The name of the associated launch configuration.
    529      */
    530     LaunchConfigurationName?: XmlStringMaxLen255;
    531     /**
    532      * The minimum size of the group.
    533      */
    534     MinSize: AutoScalingGroupMinSize;
    535     /**
    536      * The maximum size of the group.
    537      */
    538     MaxSize: AutoScalingGroupMaxSize;
    539     /**
    540      * The desired size of the group.
    541      */
    542     DesiredCapacity: AutoScalingGroupDesiredCapacity;
    543     /**
    544      * The amount of time, in seconds, after a scaling activity completes before another scaling activity can start.
    545      */
    546     DefaultCooldown: Cooldown;
    547     /**
    548      * One or more Availability Zones for the group.
    549      */
    550     AvailabilityZones: AvailabilityZones;
    551     /**
    552      * One or more load balancers associated with the group.
    553      */
    554     LoadBalancerNames?: LoadBalancerNames;
    555     /**
    556      * The Amazon Resource Names (ARN) of the target groups for your load balancer.
    557      */
    558     TargetGroupARNs?: TargetGroupARNs;
    559     /**
    560      * The service to use for the health checks. The valid values are EC2 and ELB.
    561      */
    562     HealthCheckType: XmlStringMaxLen32;
    563     /**
    564      * The amount of time, in seconds, that Auto Scaling waits before checking the health status of an EC2 instance that has come into service.
    565      */
    566     HealthCheckGracePeriod?: HealthCheckGracePeriod;
    567     /**
    568      * The EC2 instances associated with the group.
    569      */
    570     Instances?: Instances;
    571     /**
    572      * The date and time the group was created.
    573      */
    574     CreatedTime: TimestampType;
    575     /**
    576      * The suspended processes associated with the group.
    577      */
    578     SuspendedProcesses?: SuspendedProcesses;
    579     /**
    580      * The name of the placement group into which you'll launch your instances, if any. For more information, see Placement Groups in the Amazon Elastic Compute Cloud User Guide.
    581      */
    582     PlacementGroup?: XmlStringMaxLen255;
    583     /**
    584      * One or more subnet IDs, if applicable, separated by commas. If you specify VPCZoneIdentifier and AvailabilityZones, ensure that the Availability Zones of the subnets match the values for AvailabilityZones.
    585      */
    586     VPCZoneIdentifier?: XmlStringMaxLen2047;
    587     /**
    588      * The metrics enabled for the group.
    589      */
    590     EnabledMetrics?: EnabledMetrics;
    591     /**
    592      * The current state of the group when DeleteAutoScalingGroup is in progress.
    593      */
    594     Status?: XmlStringMaxLen255;
    595     /**
    596      * The tags for the group.
    597      */
    598     Tags?: TagDescriptionList;
    599     /**
    600      * The termination policies for the group.
    601      */
    602     TerminationPolicies?: TerminationPolicies;
    603     /**
    604      * Indicates whether newly launched instances are protected from termination by Auto Scaling when scaling in.
    605      */
    606     NewInstancesProtectedFromScaleIn?: InstanceProtected;
    607   }
    608   export type AutoScalingGroupDesiredCapacity = number;
    609   export type AutoScalingGroupMaxSize = number;
    610   export type AutoScalingGroupMinSize = number;
    611   export type AutoScalingGroupNames = ResourceName[];
    612   export interface AutoScalingGroupNamesType {
    613     /**
    614      * The group names. If you omit this parameter, all Auto Scaling groups are described.
    615      */
    616     AutoScalingGroupNames?: AutoScalingGroupNames;
    617     /**
    618      * The token for the next set of items to return. (You received this token from a previous call.)
    619      */
    620     NextToken?: XmlString;
    621     /**
    622      * The maximum number of items to return with this call.
    623      */
    624     MaxRecords?: MaxRecords;
    625   }
    626   export type AutoScalingGroups = AutoScalingGroup[];
    627   export interface AutoScalingGroupsType {
    628     /**
    629      * The groups.
    630      */
    631     AutoScalingGroups: AutoScalingGroups;
    632     /**
    633      * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
    634      */
    635     NextToken?: XmlString;
    636   }
    637   export interface AutoScalingInstanceDetails {
    638     /**
    639      * The ID of the instance.
    640      */
    641     InstanceId: XmlStringMaxLen19;
    642     /**
    643      * The name of the Auto Scaling group associated with the instance.
    644      */
    645     AutoScalingGroupName: XmlStringMaxLen255;
    646     /**
    647      * The Availability Zone for the instance.
    648      */
    649     AvailabilityZone: XmlStringMaxLen255;
    650     /**
    651      * The lifecycle state for the instance. For more information, see Auto Scaling Lifecycle in the Auto Scaling User Guide.
    652      */
    653     LifecycleState: XmlStringMaxLen32;
    654     /**
    655      * The last reported health status of this instance. "Healthy" means that the instance is healthy and should remain in service. "Unhealthy" means that the instance is unhealthy and Auto Scaling should terminate and replace it.
    656      */
    657     HealthStatus: XmlStringMaxLen32;
    658     /**
    659      * The launch configuration associated with the instance.
    660      */
    661     LaunchConfigurationName: XmlStringMaxLen255;
    662     /**
    663      * Indicates whether the instance is protected from termination by Auto Scaling when scaling in.
    664      */
    665     ProtectedFromScaleIn: InstanceProtected;
    666   }
    667   export type AutoScalingInstances = AutoScalingInstanceDetails[];
    668   export interface AutoScalingInstancesType {
    669     /**
    670      * The instances.
    671      */
    672     AutoScalingInstances?: AutoScalingInstances;
    673     /**
    674      * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
    675      */
    676     NextToken?: XmlString;
    677   }
    678   export type AutoScalingNotificationTypes = XmlStringMaxLen255[];
    679   export type AvailabilityZones = XmlStringMaxLen255[];
    680   export type BlockDeviceEbsDeleteOnTermination = boolean;
    681   export type BlockDeviceEbsEncrypted = boolean;
    682   export type BlockDeviceEbsIops = number;
    683   export type BlockDeviceEbsVolumeSize = number;
    684   export type BlockDeviceEbsVolumeType = string;
    685   export interface BlockDeviceMapping {
    686     /**
    687      * The name of the virtual device (for example, ephemeral0).
    688      */
    689     VirtualName?: XmlStringMaxLen255;
    690     /**
    691      * The device name exposed to the EC2 instance (for example, /dev/sdh or xvdh).
    692      */
    693     DeviceName: XmlStringMaxLen255;
    694     /**
    695      * The information about the Amazon EBS volume.
    696      */
    697     Ebs?: Ebs;
    698     /**
    699      * Suppresses a device mapping. If this parameter is true for the root device, the instance might fail the EC2 health check. Auto Scaling launches a replacement instance if the instance fails the health check.
    700      */
    701     NoDevice?: NoDevice;
    702   }
    703   export type BlockDeviceMappings = BlockDeviceMapping[];
    704   export type ClassicLinkVPCSecurityGroups = XmlStringMaxLen255[];
    705   export interface CompleteLifecycleActionAnswer {
    706   }
    707   export interface CompleteLifecycleActionType {
    708     /**
    709      * The name of the lifecycle hook.
    710      */
    711     LifecycleHookName: AsciiStringMaxLen255;
    712     /**
    713      * The name of the group for the lifecycle hook.
    714      */
    715     AutoScalingGroupName: ResourceName;
    716     /**
    717      * A universally unique identifier (UUID) that identifies a specific lifecycle action associated with an instance. Auto Scaling sends this token to the notification target you specified when you created the lifecycle hook.
    718      */
    719     LifecycleActionToken?: LifecycleActionToken;
    720     /**
    721      * The action for the group to take. This parameter can be either CONTINUE or ABANDON.
    722      */
    723     LifecycleActionResult: LifecycleActionResult;
    724     /**
    725      * The ID of the instance.
    726      */
    727     InstanceId?: XmlStringMaxLen19;
    728   }
    729   export type Cooldown = number;
    730   export interface CreateAutoScalingGroupType {
    731     /**
    732      * The name of the group. This name must be unique within the scope of your AWS account.
    733      */
    734     AutoScalingGroupName: XmlStringMaxLen255;
    735     /**
    736      * The name of the launch configuration. Alternatively, specify an EC2 instance instead of a launch configuration.
    737      */
    738     LaunchConfigurationName?: ResourceName;
    739     /**
    740      * The ID of the instance used to create a launch configuration for the group. Alternatively, specify a launch configuration instead of an EC2 instance. When you specify an ID of an instance, Auto Scaling creates a new launch configuration and associates it with the group. This launch configuration derives its attributes from the specified instance, with the exception of the block device mapping. For more information, see Create an Auto Scaling Group Using an EC2 Instance in the Auto Scaling User Guide.
    741      */
    742     InstanceId?: XmlStringMaxLen19;
    743     /**
    744      * The minimum size of the group.
    745      */
    746     MinSize: AutoScalingGroupMinSize;
    747     /**
    748      * The maximum size of the group.
    749      */
    750     MaxSize: AutoScalingGroupMaxSize;
    751     /**
    752      * The number of EC2 instances that should be running in the group. This number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group.
    753      */
    754     DesiredCapacity?: AutoScalingGroupDesiredCapacity;
    755     /**
    756      * The amount of time, in seconds, after a scaling activity completes before another scaling activity can start. The default is 300. For more information, see Auto Scaling Cooldowns in the Auto Scaling User Guide.
    757      */
    758     DefaultCooldown?: Cooldown;
    759     /**
    760      * One or more Availability Zones for the group. This parameter is optional if you specify one or more subnets.
    761      */
    762     AvailabilityZones?: AvailabilityZones;
    763     /**
    764      * One or more Classic load balancers. To specify an Application load balancer, use TargetGroupARNs instead. For more information, see Using a Load Balancer With an Auto Scaling Group in the Auto Scaling User Guide.
    765      */
    766     LoadBalancerNames?: LoadBalancerNames;
    767     /**
    768      * The Amazon Resource Names (ARN) of the target groups.
    769      */
    770     TargetGroupARNs?: TargetGroupARNs;
    771     /**
    772      * The service to use for the health checks. The valid values are EC2 and ELB. By default, health checks use Amazon EC2 instance status checks to determine the health of an instance. For more information, see Health Checks in the Auto Scaling User Guide.
    773      */
    774     HealthCheckType?: XmlStringMaxLen32;
    775     /**
    776      * The amount of time, in seconds, that Auto Scaling waits before checking the health status of an EC2 instance that has come into service. During this time, any health check failures for the instance are ignored. The default is 0. This parameter is required if you are adding an ELB health check. For more information, see Health Checks in the Auto Scaling User Guide.
    777      */
    778     HealthCheckGracePeriod?: HealthCheckGracePeriod;
    779     /**
    780      * The name of the placement group into which you'll launch your instances, if any. For more information, see Placement Groups in the Amazon Elastic Compute Cloud User Guide.
    781      */
    782     PlacementGroup?: XmlStringMaxLen255;
    783     /**
    784      * A comma-separated list of subnet identifiers for your virtual private cloud (VPC). If you specify subnets and Availability Zones with this call, ensure that the subnets' Availability Zones match the Availability Zones specified. For more information, see Launching Auto Scaling Instances in a VPC in the Auto Scaling User Guide.
    785      */
    786     VPCZoneIdentifier?: XmlStringMaxLen2047;
    787     /**
    788      * One or more termination policies used to select the instance to terminate. These policies are executed in the order that they are listed. For more information, see Controlling Which Instances Auto Scaling Terminates During Scale In in the Auto Scaling User Guide.
    789      */
    790     TerminationPolicies?: TerminationPolicies;
    791     /**
    792      * Indicates whether newly launched instances are protected from termination by Auto Scaling when scaling in.
    793      */
    794     NewInstancesProtectedFromScaleIn?: InstanceProtected;
    795     /**
    796      * One or more tags. For more information, see Tagging Auto Scaling Groups and Instances in the Auto Scaling User Guide.
    797      */
    798     Tags?: Tags;
    799   }
    800   export interface CreateLaunchConfigurationType {
    801     /**
    802      * The name of the launch configuration. This name must be unique within the scope of your AWS account.
    803      */
    804     LaunchConfigurationName: XmlStringMaxLen255;
    805     /**
    806      * The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. For more information, see Finding an AMI in the Amazon Elastic Compute Cloud User Guide.
    807      */
    808     ImageId?: XmlStringMaxLen255;
    809     /**
    810      * The name of the key pair. For more information, see Amazon EC2 Key Pairs in the Amazon Elastic Compute Cloud User Guide.
    811      */
    812     KeyName?: XmlStringMaxLen255;
    813     /**
    814      * One or more security groups with which to associate the instances. If your instances are launched in EC2-Classic, you can either specify security group names or the security group IDs. For more information about security groups for EC2-Classic, see Amazon EC2 Security Groups in the Amazon Elastic Compute Cloud User Guide. If your instances are launched into a VPC, specify security group IDs. For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide.
    815      */
    816     SecurityGroups?: SecurityGroups;
    817     /**
    818      * The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. This parameter is supported only if you are launching EC2-Classic instances. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.
    819      */
    820     ClassicLinkVPCId?: XmlStringMaxLen255;
    821     /**
    822      * The IDs of one or more security groups for the specified ClassicLink-enabled VPC. This parameter is required if you specify a ClassicLink-enabled VPC, and is not supported otherwise. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.
    823      */
    824     ClassicLinkVPCSecurityGroups?: ClassicLinkVPCSecurityGroups;
    825     /**
    826      * The user data to make available to the launched EC2 instances. For more information, see Instance Metadata and User Data in the Amazon Elastic Compute Cloud User Guide.
    827      */
    828     UserData?: XmlStringUserData;
    829     /**
    830      * The ID of the instance to use to create the launch configuration. The new launch configuration derives attributes from the instance, with the exception of the block device mapping. To create a launch configuration with a block device mapping or override any other instance attributes, specify them as part of the same request. For more information, see Create a Launch Configuration Using an EC2 Instance in the Auto Scaling User Guide.
    831      */
    832     InstanceId?: XmlStringMaxLen19;
    833     /**
    834      * The instance type of the EC2 instance. For information about available instance types, see  Available Instance Types in the Amazon Elastic Compute Cloud User Guide. 
    835      */
    836     InstanceType?: XmlStringMaxLen255;
    837     /**
    838      * The ID of the kernel associated with the AMI.
    839      */
    840     KernelId?: XmlStringMaxLen255;
    841     /**
    842      * The ID of the RAM disk associated with the AMI.
    843      */
    844     RamdiskId?: XmlStringMaxLen255;
    845     /**
    846      * One or more mappings that specify how block devices are exposed to the instance. For more information, see Block Device Mapping in the Amazon Elastic Compute Cloud User Guide.
    847      */
    848     BlockDeviceMappings?: BlockDeviceMappings;
    849     /**
    850      * Enables detailed monitoring (true) or basic monitoring (false) for the Auto Scaling instances.
    851      */
    852     InstanceMonitoring?: InstanceMonitoring;
    853     /**
    854      * The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. Spot Instances are launched when the price you specify exceeds the current Spot market price. For more information, see Launching Spot Instances in Your Auto Scaling Group in the Auto Scaling User Guide.
    855      */
    856     SpotPrice?: SpotPrice;
    857     /**
    858      * The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. EC2 instances launched with an IAM role will automatically have AWS security credentials available. You can use IAM roles with Auto Scaling to automatically enable applications running on your EC2 instances to securely access other AWS resources. For more information, see Launch Auto Scaling Instances with an IAM Role in the Auto Scaling User Guide.
    859      */
    860     IamInstanceProfile?: XmlStringMaxLen1600;
    861     /**
    862      * Indicates whether the instance is optimized for Amazon EBS I/O. By default, the instance is not optimized for EBS I/O. The optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization is not available with all instance types. Additional usage charges apply. For more information, see Amazon EBS-Optimized Instances in the Amazon Elastic Compute Cloud User Guide.
    863      */
    864     EbsOptimized?: EbsOptimized;
    865     /**
    866      * Used for groups that launch instances into a virtual private cloud (VPC). Specifies whether to assign a public IP address to each instance. For more information, see Launching Auto Scaling Instances in a VPC in the Auto Scaling User Guide. If you specify this parameter, be sure to specify at least one subnet when you create your group. Default: If the instance is launched into a default subnet, the default is true. If the instance is launched into a nondefault subnet, the default is false. For more information, see Supported Platforms in the Amazon Elastic Compute Cloud User Guide.
    867      */
    868     AssociatePublicIpAddress?: AssociatePublicIpAddress;
    869     /**
    870      * The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware and can only be launched into a VPC. You must set the value of this parameter to dedicated if want to launch Dedicated Instances into a shared tenancy VPC (VPC with instance placement tenancy attribute set to default). If you specify this parameter, be sure to specify at least one subnet when you create your group. For more information, see Launching Auto Scaling Instances in a VPC in the Auto Scaling User Guide. Valid values: default | dedicated 
    871      */
    872     PlacementTenancy?: XmlStringMaxLen64;
    873   }
    874   export interface CreateOrUpdateTagsType {
    875     /**
    876      * One or more tags.
    877      */
    878     Tags: Tags;
    879   }
    880   export interface DeleteAutoScalingGroupType {
    881     /**
    882      * The name of the group to delete.
    883      */
    884     AutoScalingGroupName: ResourceName;
    885     /**
    886      * Specifies that the group will be deleted along with all instances associated with the group, without waiting for all instances to be terminated. This parameter also deletes any lifecycle actions associated with the group.
    887      */
    888     ForceDelete?: ForceDelete;
    889   }
    890   export interface DeleteLifecycleHookAnswer {
    891   }
    892   export interface DeleteLifecycleHookType {
    893     /**
    894      * The name of the lifecycle hook.
    895      */
    896     LifecycleHookName: AsciiStringMaxLen255;
    897     /**
    898      * The name of the Auto Scaling group for the lifecycle hook.
    899      */
    900     AutoScalingGroupName: ResourceName;
    901   }
    902   export interface DeleteNotificationConfigurationType {
    903     /**
    904      * The name of the Auto Scaling group.
    905      */
    906     AutoScalingGroupName: ResourceName;
    907     /**
    908      * The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.
    909      */
    910     TopicARN: ResourceName;
    911   }
    912   export interface DeletePolicyType {
    913     /**
    914      * The name of the Auto Scaling group.
    915      */
    916     AutoScalingGroupName?: ResourceName;
    917     /**
    918      * The name or Amazon Resource Name (ARN) of the policy.
    919      */
    920     PolicyName: ResourceName;
    921   }
    922   export interface DeleteScheduledActionType {
    923     /**
    924      * The name of the Auto Scaling group.
    925      */
    926     AutoScalingGroupName: ResourceName;
    927     /**
    928      * The name of the action to delete.
    929      */
    930     ScheduledActionName: ResourceName;
    931   }
    932   export interface DeleteTagsType {
    933     /**
    934      * One or more tags.
    935      */
    936     Tags: Tags;
    937   }
    938   export interface DescribeAccountLimitsAnswer {
    939     /**
    940      * The maximum number of groups allowed for your AWS account. The default limit is 20 per region.
    941      */
    942     MaxNumberOfAutoScalingGroups?: MaxNumberOfAutoScalingGroups;
    943     /**
    944      * The maximum number of launch configurations allowed for your AWS account. The default limit is 100 per region.
    945      */
    946     MaxNumberOfLaunchConfigurations?: MaxNumberOfLaunchConfigurations;
    947     /**
    948      * The current number of groups for your AWS account.
    949      */
    950     NumberOfAutoScalingGroups?: NumberOfAutoScalingGroups;
    951     /**
    952      * The current number of launch configurations for your AWS account.
    953      */
    954     NumberOfLaunchConfigurations?: NumberOfLaunchConfigurations;
    955   }
    956   export interface DescribeAdjustmentTypesAnswer {
    957     /**
    958      * The policy adjustment types.
    959      */
    960     AdjustmentTypes?: AdjustmentTypes;
    961   }
    962   export interface DescribeAutoScalingInstancesType {
    963     /**
    964      * The instances to describe; up to 50 instance IDs. If you omit this parameter, all Auto Scaling instances are described. If you specify an ID that does not exist, it is ignored with no error.
    965      */
    966     InstanceIds?: InstanceIds;
    967     /**
    968      * The maximum number of items to return with this call.
    969      */
    970     MaxRecords?: MaxRecords;
    971     /**
    972      * The token for the next set of items to return. (You received this token from a previous call.)
    973      */
    974     NextToken?: XmlString;
    975   }
    976   export interface DescribeAutoScalingNotificationTypesAnswer {
    977     /**
    978      * The notification types.
    979      */
    980     AutoScalingNotificationTypes?: AutoScalingNotificationTypes;
    981   }
    982   export interface DescribeLifecycleHookTypesAnswer {
    983     /**
    984      * The lifecycle hook types.
    985      */
    986     LifecycleHookTypes?: AutoScalingNotificationTypes;
    987   }
    988   export interface DescribeLifecycleHooksAnswer {
    989     /**
    990      * The lifecycle hooks for the specified group.
    991      */
    992     LifecycleHooks?: LifecycleHooks;
    993   }
    994   export interface DescribeLifecycleHooksType {
    995     /**
    996      * The name of the group.
    997      */
    998     AutoScalingGroupName: ResourceName;
    999     /**
   1000      * The names of one or more lifecycle hooks. If you omit this parameter, all lifecycle hooks are described.
   1001      */
   1002     LifecycleHookNames?: LifecycleHookNames;
   1003   }
   1004   export interface DescribeLoadBalancerTargetGroupsRequest {
   1005     /**
   1006      * The name of the Auto Scaling group.
   1007      */
   1008     AutoScalingGroupName: ResourceName;
   1009     /**
   1010      * The token for the next set of items to return. (You received this token from a previous call.)
   1011      */
   1012     NextToken?: XmlString;
   1013     /**
   1014      * The maximum number of items to return with this call.
   1015      */
   1016     MaxRecords?: MaxRecords;
   1017   }
   1018   export interface DescribeLoadBalancerTargetGroupsResponse {
   1019     /**
   1020      * Information about the target groups.
   1021      */
   1022     LoadBalancerTargetGroups?: LoadBalancerTargetGroupStates;
   1023     /**
   1024      * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
   1025      */
   1026     NextToken?: XmlString;
   1027   }
   1028   export interface DescribeLoadBalancersRequest {
   1029     /**
   1030      * The name of the group.
   1031      */
   1032     AutoScalingGroupName: ResourceName;
   1033     /**
   1034      * The token for the next set of items to return. (You received this token from a previous call.)
   1035      */
   1036     NextToken?: XmlString;
   1037     /**
   1038      * The maximum number of items to return with this call.
   1039      */
   1040     MaxRecords?: MaxRecords;
   1041   }
   1042   export interface DescribeLoadBalancersResponse {
   1043     /**
   1044      * The load balancers.
   1045      */
   1046     LoadBalancers?: LoadBalancerStates;
   1047     /**
   1048      * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
   1049      */
   1050     NextToken?: XmlString;
   1051   }
   1052   export interface DescribeMetricCollectionTypesAnswer {
   1053     /**
   1054      * One or more metrics.
   1055      */
   1056     Metrics?: MetricCollectionTypes;
   1057     /**
   1058      * The granularities for the metrics.
   1059      */
   1060     Granularities?: MetricGranularityTypes;
   1061   }
   1062   export interface DescribeNotificationConfigurationsAnswer {
   1063     /**
   1064      * The notification configurations.
   1065      */
   1066     NotificationConfigurations: NotificationConfigurations;
   1067     /**
   1068      * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
   1069      */
   1070     NextToken?: XmlString;
   1071   }
   1072   export interface DescribeNotificationConfigurationsType {
   1073     /**
   1074      * The name of the group.
   1075      */
   1076     AutoScalingGroupNames?: AutoScalingGroupNames;
   1077     /**
   1078      * The token for the next set of items to return. (You received this token from a previous call.)
   1079      */
   1080     NextToken?: XmlString;
   1081     /**
   1082      * The maximum number of items to return with this call.
   1083      */
   1084     MaxRecords?: MaxRecords;
   1085   }
   1086   export interface DescribePoliciesType {
   1087     /**
   1088      * The name of the group.
   1089      */
   1090     AutoScalingGroupName?: ResourceName;
   1091     /**
   1092      * One or more policy names or policy ARNs to be described. If you omit this parameter, all policy names are described. If an group name is provided, the results are limited to that group. This list is limited to 50 items. If you specify an unknown policy name, it is ignored with no error.
   1093      */
   1094     PolicyNames?: PolicyNames;
   1095     /**
   1096      * One or more policy types. Valid values are SimpleScaling and StepScaling.
   1097      */
   1098     PolicyTypes?: PolicyTypes;
   1099     /**
   1100      * The token for the next set of items to return. (You received this token from a previous call.)
   1101      */
   1102     NextToken?: XmlString;
   1103     /**
   1104      * The maximum number of items to be returned with each call.
   1105      */
   1106     MaxRecords?: MaxRecords;
   1107   }
   1108   export interface DescribeScalingActivitiesType {
   1109     /**
   1110      * The activity IDs of the desired scaling activities. If you omit this parameter, all activities for the past six weeks are described. If you specify an Auto Scaling group, the results are limited to that group. The list of requested activities cannot contain more than 50 items. If unknown activities are requested, they are ignored with no error.
   1111      */
   1112     ActivityIds?: ActivityIds;
   1113     /**
   1114      * The name of the group.
   1115      */
   1116     AutoScalingGroupName?: ResourceName;
   1117     /**
   1118      * The maximum number of items to return with this call.
   1119      */
   1120     MaxRecords?: MaxRecords;
   1121     /**
   1122      * The token for the next set of items to return. (You received this token from a previous call.)
   1123      */
   1124     NextToken?: XmlString;
   1125   }
   1126   export interface DescribeScheduledActionsType {
   1127     /**
   1128      * The name of the group.
   1129      */
   1130     AutoScalingGroupName?: ResourceName;
   1131     /**
   1132      * Describes one or more scheduled actions. If you omit this parameter, all scheduled actions are described. If you specify an unknown scheduled action, it is ignored with no error. You can describe up to a maximum of 50 instances with a single call. If there are more items to return, the call returns a token. To get the next set of items, repeat the call with the returned token.
   1133      */
   1134     ScheduledActionNames?: ScheduledActionNames;
   1135     /**
   1136      * The earliest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.
   1137      */
   1138     StartTime?: TimestampType;
   1139     /**
   1140      * The latest scheduled start time to return. If scheduled action names are provided, this parameter is ignored.
   1141      */
   1142     EndTime?: TimestampType;
   1143     /**
   1144      * The token for the next set of items to return. (You received this token from a previous call.)
   1145      */
   1146     NextToken?: XmlString;
   1147     /**
   1148      * The maximum number of items to return with this call.
   1149      */
   1150     MaxRecords?: MaxRecords;
   1151   }
   1152   export interface DescribeTagsType {
   1153     /**
   1154      * A filter used to scope the tags to return.
   1155      */
   1156     Filters?: Filters;
   1157     /**
   1158      * The token for the next set of items to return. (You received this token from a previous call.)
   1159      */
   1160     NextToken?: XmlString;
   1161     /**
   1162      * The maximum number of items to return with this call.
   1163      */
   1164     MaxRecords?: MaxRecords;
   1165   }
   1166   export interface DescribeTerminationPolicyTypesAnswer {
   1167     /**
   1168      * The termination policies supported by Auto Scaling (OldestInstance, OldestLaunchConfiguration, NewestInstance, ClosestToNextInstanceHour, and Default).
   1169      */
   1170     TerminationPolicyTypes?: TerminationPolicies;
   1171   }
   1172   export interface DetachInstancesAnswer {
   1173     /**
   1174      * The activities related to detaching the instances from the Auto Scaling group.
   1175      */
   1176     Activities?: Activities;
   1177   }
   1178   export interface DetachInstancesQuery {
   1179     /**
   1180      * One or more instance IDs.
   1181      */
   1182     InstanceIds?: InstanceIds;
   1183     /**
   1184      * The name of the group.
   1185      */
   1186     AutoScalingGroupName: ResourceName;
   1187     /**
   1188      * If True, the Auto Scaling group decrements the desired capacity value by the number of instances detached.
   1189      */
   1190     ShouldDecrementDesiredCapacity: ShouldDecrementDesiredCapacity;
   1191   }
   1192   export interface DetachLoadBalancerTargetGroupsResultType {
   1193   }
   1194   export interface DetachLoadBalancerTargetGroupsType {
   1195     /**
   1196      * The name of the Auto Scaling group.
   1197      */
   1198     AutoScalingGroupName: ResourceName;
   1199     /**
   1200      * The Amazon Resource Names (ARN) of the target groups.
   1201      */
   1202     TargetGroupARNs: TargetGroupARNs;
   1203   }
   1204   export interface DetachLoadBalancersResultType {
   1205   }
   1206   export interface DetachLoadBalancersType {
   1207     /**
   1208      * The name of the Auto Scaling group.
   1209      */
   1210     AutoScalingGroupName: ResourceName;
   1211     /**
   1212      * One or more load balancer names.
   1213      */
   1214     LoadBalancerNames: LoadBalancerNames;
   1215   }
   1216   export interface DisableMetricsCollectionQuery {
   1217     /**
   1218      * The name or Amazon Resource Name (ARN) of the group.
   1219      */
   1220     AutoScalingGroupName: ResourceName;
   1221     /**
   1222      * One or more of the following metrics. If you omit this parameter, all metrics are disabled.    GroupMinSize     GroupMaxSize     GroupDesiredCapacity     GroupInServiceInstances     GroupPendingInstances     GroupStandbyInstances     GroupTerminatingInstances     GroupTotalInstances   
   1223      */
   1224     Metrics?: Metrics;
   1225   }
   1226   export interface Ebs {
   1227     /**
   1228      * The ID of the snapshot.
   1229      */
   1230     SnapshotId?: XmlStringMaxLen255;
   1231     /**
   1232      * The volume size, in GiB. For standard volumes, specify a value from 1 to 1,024. For io1 volumes, specify a value from 4 to 16,384. For gp2 volumes, specify a value from 1 to 16,384. If you specify a snapshot, the volume size must be equal to or larger than the snapshot size. Default: If you create a volume from a snapshot and you don't specify a volume size, the default is the snapshot size.
   1233      */
   1234     VolumeSize?: BlockDeviceEbsVolumeSize;
   1235     /**
   1236      * The volume type. For more information, see Amazon EBS Volume Types in the Amazon Elastic Compute Cloud User Guide. Valid values: standard | io1 | gp2  Default: standard 
   1237      */
   1238     VolumeType?: BlockDeviceEbsVolumeType;
   1239     /**
   1240      * Indicates whether the volume is deleted on instance termination. Default: true 
   1241      */
   1242     DeleteOnTermination?: BlockDeviceEbsDeleteOnTermination;
   1243     /**
   1244      * The number of I/O operations per second (IOPS) to provision for the volume. Constraint: Required when the volume type is io1.
   1245      */
   1246     Iops?: BlockDeviceEbsIops;
   1247     /**
   1248      * Indicates whether the volume should be encrypted. Encrypted EBS volumes must be attached to instances that support Amazon EBS encryption. Volumes that are created from encrypted snapshots are automatically encrypted. There is no way to create an encrypted volume from an unencrypted snapshot or an unencrypted volume from an encrypted snapshot. For more information, see Amazon EBS Encryption in the Amazon Elastic Compute Cloud User Guide.
   1249      */
   1250     Encrypted?: BlockDeviceEbsEncrypted;
   1251   }
   1252   export type EbsOptimized = boolean;
   1253   export interface EnableMetricsCollectionQuery {
   1254     /**
   1255      * The name or ARN of the Auto Scaling group.
   1256      */
   1257     AutoScalingGroupName: ResourceName;
   1258     /**
   1259      * One or more of the following metrics. If you omit this parameter, all metrics are enabled.    GroupMinSize     GroupMaxSize     GroupDesiredCapacity     GroupInServiceInstances     GroupPendingInstances     GroupStandbyInstances     GroupTerminatingInstances     GroupTotalInstances   
   1260      */
   1261     Metrics?: Metrics;
   1262     /**
   1263      * The granularity to associate with the metrics to collect. The only valid value is 1Minute.
   1264      */
   1265     Granularity: XmlStringMaxLen255;
   1266   }
   1267   export interface EnabledMetric {
   1268     /**
   1269      * One of the following metrics:    GroupMinSize     GroupMaxSize     GroupDesiredCapacity     GroupInServiceInstances     GroupPendingInstances     GroupStandbyInstances     GroupTerminatingInstances     GroupTotalInstances   
   1270      */
   1271     Metric?: XmlStringMaxLen255;
   1272     /**
   1273      * The granularity of the metric. The only valid value is 1Minute.
   1274      */
   1275     Granularity?: XmlStringMaxLen255;
   1276   }
   1277   export type EnabledMetrics = EnabledMetric[];
   1278   export interface EnterStandbyAnswer {
   1279     /**
   1280      * The activities related to moving instances into Standby mode.
   1281      */
   1282     Activities?: Activities;
   1283   }
   1284   export interface EnterStandbyQuery {
   1285     /**
   1286      * One or more instances to move into Standby mode. You must specify at least one instance ID.
   1287      */
   1288     InstanceIds?: InstanceIds;
   1289     /**
   1290      * The name of the Auto Scaling group.
   1291      */
   1292     AutoScalingGroupName: ResourceName;
   1293     /**
   1294      * Specifies whether the instances moved to Standby mode count as part of the Auto Scaling group's desired capacity. If set, the desired capacity for the Auto Scaling group decrements by the number of instances moved to Standby mode.
   1295      */
   1296     ShouldDecrementDesiredCapacity: ShouldDecrementDesiredCapacity;
   1297   }
   1298   export type EstimatedInstanceWarmup = number;
   1299   export interface ExecutePolicyType {
   1300     /**
   1301      * The name or Amazon Resource Name (ARN) of the Auto Scaling group.
   1302      */
   1303     AutoScalingGroupName?: ResourceName;
   1304     /**
   1305      * The name or ARN of the policy.
   1306      */
   1307     PolicyName: ResourceName;
   1308     /**
   1309      * If this parameter is true, Auto Scaling waits for the cooldown period to complete before executing the policy. Otherwise, Auto Scaling executes the policy without waiting for the cooldown period to complete. This parameter is not supported if the policy type is StepScaling. For more information, see Auto Scaling Cooldowns in the Auto Scaling User Guide.
   1310      */
   1311     HonorCooldown?: HonorCooldown;
   1312     /**
   1313      * The metric value to compare to BreachThreshold. This enables you to execute a policy of type StepScaling and determine which step adjustment to use. For example, if the breach threshold is 50 and you want to use a step adjustment with a lower bound of 0 and an upper bound of 10, you can set the metric value to 59. If you specify a metric value that doesn't correspond to a step adjustment for the policy, the call returns an error. This parameter is required if the policy type is StepScaling and not supported otherwise.
   1314      */
   1315     MetricValue?: MetricScale;
   1316     /**
   1317      * The breach threshold for the alarm. This parameter is required if the policy type is StepScaling and not supported otherwise.
   1318      */
   1319     BreachThreshold?: MetricScale;
   1320   }
   1321   export interface ExitStandbyAnswer {
   1322     /**
   1323      * The activities related to moving instances out of Standby mode.
   1324      */
   1325     Activities?: Activities;
   1326   }
   1327   export interface ExitStandbyQuery {
   1328     /**
   1329      * One or more instance IDs. You must specify at least one instance ID.
   1330      */
   1331     InstanceIds?: InstanceIds;
   1332     /**
   1333      * The name of the Auto Scaling group.
   1334      */
   1335     AutoScalingGroupName: ResourceName;
   1336   }
   1337   export interface Filter {
   1338     /**
   1339      * The name of the filter. The valid values are: "auto-scaling-group", "key", "value", and "propagate-at-launch".
   1340      */
   1341     Name?: XmlString;
   1342     /**
   1343      * The value of the filter.
   1344      */
   1345     Values?: Values;
   1346   }
   1347   export type Filters = Filter[];
   1348   export type ForceDelete = boolean;
   1349   export type GlobalTimeout = number;
   1350   export type HealthCheckGracePeriod = number;
   1351   export type HeartbeatTimeout = number;
   1352   export type HonorCooldown = boolean;
   1353   export interface Instance {
   1354     /**
   1355      * The ID of the instance.
   1356      */
   1357     InstanceId: XmlStringMaxLen19;
   1358     /**
   1359      * The Availability Zone in which the instance is running.
   1360      */
   1361     AvailabilityZone: XmlStringMaxLen255;
   1362     /**
   1363      * A description of the current lifecycle state. Note that the Quarantined state is not used.
   1364      */
   1365     LifecycleState: LifecycleState;
   1366     /**
   1367      * The last reported health status of the instance. "Healthy" means that the instance is healthy and should remain in service. "Unhealthy" means that the instance is unhealthy and Auto Scaling should terminate and replace it.
   1368      */
   1369     HealthStatus: XmlStringMaxLen32;
   1370     /**
   1371      * The launch configuration associated with the instance.
   1372      */
   1373     LaunchConfigurationName: XmlStringMaxLen255;
   1374     /**
   1375      * Indicates whether the instance is protected from termination by Auto Scaling when scaling in.
   1376      */
   1377     ProtectedFromScaleIn: InstanceProtected;
   1378   }
   1379   export type InstanceIds = XmlStringMaxLen19[];
   1380   export interface InstanceMonitoring {
   1381     /**
   1382      * If True, instance monitoring is enabled.
   1383      */
   1384     Enabled?: MonitoringEnabled;
   1385   }
   1386   export type InstanceProtected = boolean;
   1387   export type Instances = Instance[];
   1388   export interface LaunchConfiguration {
   1389     /**
   1390      * The name of the launch configuration.
   1391      */
   1392     LaunchConfigurationName: XmlStringMaxLen255;
   1393     /**
   1394      * The Amazon Resource Name (ARN) of the launch configuration.
   1395      */
   1396     LaunchConfigurationARN?: ResourceName;
   1397     /**
   1398      * The ID of the Amazon Machine Image (AMI).
   1399      */
   1400     ImageId: XmlStringMaxLen255;
   1401     /**
   1402      * The name of the key pair.
   1403      */
   1404     KeyName?: XmlStringMaxLen255;
   1405     /**
   1406      * The security groups to associate with the instances.
   1407      */
   1408     SecurityGroups?: SecurityGroups;
   1409     /**
   1410      * The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. This parameter can only be used if you are launching EC2-Classic instances. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.
   1411      */
   1412     ClassicLinkVPCId?: XmlStringMaxLen255;
   1413     /**
   1414      * The IDs of one or more security groups for the VPC specified in ClassicLinkVPCId. This parameter is required if you specify a ClassicLink-enabled VPC, and cannot be used otherwise. For more information, see ClassicLink in the Amazon Elastic Compute Cloud User Guide.
   1415      */
   1416     ClassicLinkVPCSecurityGroups?: ClassicLinkVPCSecurityGroups;
   1417     /**
   1418      * The user data available to the instances.
   1419      */
   1420     UserData?: XmlStringUserData;
   1421     /**
   1422      * The instance type for the instances.
   1423      */
   1424     InstanceType: XmlStringMaxLen255;
   1425     /**
   1426      * The ID of the kernel associated with the AMI.
   1427      */
   1428     KernelId?: XmlStringMaxLen255;
   1429     /**
   1430      * The ID of the RAM disk associated with the AMI.
   1431      */
   1432     RamdiskId?: XmlStringMaxLen255;
   1433     /**
   1434      * A block device mapping, which specifies the block devices for the instance.
   1435      */
   1436     BlockDeviceMappings?: BlockDeviceMappings;
   1437     /**
   1438      * Controls whether instances in this group are launched with detailed (true) or basic (false) monitoring.
   1439      */
   1440     InstanceMonitoring?: InstanceMonitoring;
   1441     /**
   1442      * The price to bid when launching Spot Instances.
   1443      */
   1444     SpotPrice?: SpotPrice;
   1445     /**
   1446      * The name or Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance.
   1447      */
   1448     IamInstanceProfile?: XmlStringMaxLen1600;
   1449     /**
   1450      * The creation date and time for the launch configuration.
   1451      */
   1452     CreatedTime: TimestampType;
   1453     /**
   1454      * Controls whether the instance is optimized for EBS I/O (true) or not (false).
   1455      */
   1456     EbsOptimized?: EbsOptimized;
   1457     /**
   1458      * [EC2-VPC] Indicates whether to assign a public IP address to each instance.
   1459      */
   1460     AssociatePublicIpAddress?: AssociatePublicIpAddress;
   1461     /**
   1462      * The tenancy of the instance, either default or dedicated. An instance with dedicated tenancy runs in an isolated, single-tenant hardware and can only be launched into a VPC.
   1463      */
   1464     PlacementTenancy?: XmlStringMaxLen64;
   1465   }
   1466   export interface LaunchConfigurationNameType {
   1467     /**
   1468      * The name of the launch configuration.
   1469      */
   1470     LaunchConfigurationName: ResourceName;
   1471   }
   1472   export type LaunchConfigurationNames = ResourceName[];
   1473   export interface LaunchConfigurationNamesType {
   1474     /**
   1475      * The launch configuration names. If you omit this parameter, all launch configurations are described.
   1476      */
   1477     LaunchConfigurationNames?: LaunchConfigurationNames;
   1478     /**
   1479      * The token for the next set of items to return. (You received this token from a previous call.)
   1480      */
   1481     NextToken?: XmlString;
   1482     /**
   1483      * The maximum number of items to return with this call. The default is 100.
   1484      */
   1485     MaxRecords?: MaxRecords;
   1486   }
   1487   export type LaunchConfigurations = LaunchConfiguration[];
   1488   export interface LaunchConfigurationsType {
   1489     /**
   1490      * The launch configurations.
   1491      */
   1492     LaunchConfigurations: LaunchConfigurations;
   1493     /**
   1494      * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
   1495      */
   1496     NextToken?: XmlString;
   1497   }
   1498   export type LifecycleActionResult = string;
   1499   export type LifecycleActionToken = string;
   1500   export interface LifecycleHook {
   1501     /**
   1502      * The name of the lifecycle hook.
   1503      */
   1504     LifecycleHookName?: AsciiStringMaxLen255;
   1505     /**
   1506      * The name of the Auto Scaling group for the lifecycle hook.
   1507      */
   1508     AutoScalingGroupName?: ResourceName;
   1509     /**
   1510      * The state of the EC2 instance to which you want to attach the lifecycle hook. For a list of lifecycle hook types, see DescribeLifecycleHookTypes.
   1511      */
   1512     LifecycleTransition?: LifecycleTransition;
   1513     /**
   1514      * The ARN of the notification target that Auto Scaling uses to notify you when an instance is in the transition state for the lifecycle hook. This ARN target can be either an SQS queue or an SNS topic. The notification message sent to the target includes the following:   Lifecycle action token   User account ID   Name of the Auto Scaling group   Lifecycle hook name   EC2 instance ID   Lifecycle transition   Notification metadata  
   1515      */
   1516     NotificationTargetARN?: ResourceName;
   1517     /**
   1518      * The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target.
   1519      */
   1520     RoleARN?: ResourceName;
   1521     /**
   1522      * Additional information that you want to include any time Auto Scaling sends a message to the notification target.
   1523      */
   1524     NotificationMetadata?: XmlStringMaxLen1023;
   1525     /**
   1526      * The maximum time, in seconds, that can elapse before the lifecycle hook times out. The default is 3600 seconds (1 hour). When the lifecycle hook times out, Auto Scaling performs the default action. You can prevent the lifecycle hook from timing out by calling RecordLifecycleActionHeartbeat.
   1527      */
   1528     HeartbeatTimeout?: HeartbeatTimeout;
   1529     /**
   1530      * The maximum time, in seconds, that an instance can remain in a Pending:Wait or Terminating:Wait state. The maximum is 172800 seconds (48 hours) or 100 times HeartbeatTimeout, whichever is smaller.
   1531      */
   1532     GlobalTimeout?: GlobalTimeout;
   1533     /**
   1534      * Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. The valid values are CONTINUE and ABANDON. The default value is CONTINUE.
   1535      */
   1536     DefaultResult?: LifecycleActionResult;
   1537   }
   1538   export type LifecycleHookNames = AsciiStringMaxLen255[];
   1539   export type LifecycleHooks = LifecycleHook[];
   1540   export type LifecycleState = "Pending"|"Pending:Wait"|"Pending:Proceed"|"Quarantined"|"InService"|"Terminating"|"Terminating:Wait"|"Terminating:Proceed"|"Terminated"|"Detaching"|"Detached"|"EnteringStandby"|"Standby"|string;
   1541   export type LifecycleTransition = string;
   1542   export type LoadBalancerNames = XmlStringMaxLen255[];
   1543   export interface LoadBalancerState {
   1544     /**
   1545      * The name of the load balancer.
   1546      */
   1547     LoadBalancerName?: XmlStringMaxLen255;
   1548     /**
   1549      * One of the following load balancer states:    Adding - The instances in the group are being registered with the load balancer.    Added - All instances in the group are registered with the load balancer.    InService - At least one instance in the group passed an ELB health check.    Removing - The instances in the group are being deregistered from the load balancer. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances.    Removed - All instances in the group are deregistered from the load balancer.  
   1550      */
   1551     State?: XmlStringMaxLen255;
   1552   }
   1553   export type LoadBalancerStates = LoadBalancerState[];
   1554   export interface LoadBalancerTargetGroupState {
   1555     /**
   1556      * The Amazon Resource Name (ARN) of the target group.
   1557      */
   1558     LoadBalancerTargetGroupARN?: XmlStringMaxLen511;
   1559     /**
   1560      * The state of the target group.    Adding - The Auto Scaling instances are being registered with the target group.    Added - All Auto Scaling instances are registered with the target group.    InService - At least one Auto Scaling instance passed an ELB health check.    Removing - The Auto Scaling instances are being deregistered from the target group. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances.    Removed - All Auto Scaling instances are deregistered from the target group.  
   1561      */
   1562     State?: XmlStringMaxLen255;
   1563   }
   1564   export type LoadBalancerTargetGroupStates = LoadBalancerTargetGroupState[];
   1565   export type MaxNumberOfAutoScalingGroups = number;
   1566   export type MaxNumberOfLaunchConfigurations = number;
   1567   export type MaxRecords = number;
   1568   export interface MetricCollectionType {
   1569     /**
   1570      * One of the following metrics:    GroupMinSize     GroupMaxSize     GroupDesiredCapacity     GroupInServiceInstances     GroupPendingInstances     GroupStandbyInstances     GroupTerminatingInstances     GroupTotalInstances   
   1571      */
   1572     Metric?: XmlStringMaxLen255;
   1573   }
   1574   export type MetricCollectionTypes = MetricCollectionType[];
   1575   export interface MetricGranularityType {
   1576     /**
   1577      * The granularity. The only valid value is 1Minute.
   1578      */
   1579     Granularity?: XmlStringMaxLen255;
   1580   }
   1581   export type MetricGranularityTypes = MetricGranularityType[];
   1582   export type MetricScale = number;
   1583   export type Metrics = XmlStringMaxLen255[];
   1584   export type MinAdjustmentMagnitude = number;
   1585   export type MinAdjustmentStep = number;
   1586   export type MonitoringEnabled = boolean;
   1587   export type NoDevice = boolean;
   1588   export interface NotificationConfiguration {
   1589     /**
   1590      * The name of the group.
   1591      */
   1592     AutoScalingGroupName?: ResourceName;
   1593     /**
   1594      * The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.
   1595      */
   1596     TopicARN?: ResourceName;
   1597     /**
   1598      * One of the following event notification types:    autoscaling:EC2_INSTANCE_LAUNCH     autoscaling:EC2_INSTANCE_LAUNCH_ERROR     autoscaling:EC2_INSTANCE_TERMINATE     autoscaling:EC2_INSTANCE_TERMINATE_ERROR     autoscaling:TEST_NOTIFICATION   
   1599      */
   1600     NotificationType?: XmlStringMaxLen255;
   1601   }
   1602   export type NotificationConfigurations = NotificationConfiguration[];
   1603   export type NotificationTargetResourceName = string;
   1604   export type NumberOfAutoScalingGroups = number;
   1605   export type NumberOfLaunchConfigurations = number;
   1606   export interface PoliciesType {
   1607     /**
   1608      * The scaling policies.
   1609      */
   1610     ScalingPolicies?: ScalingPolicies;
   1611     /**
   1612      * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
   1613      */
   1614     NextToken?: XmlString;
   1615   }
   1616   export interface PolicyARNType {
   1617     /**
   1618      * The Amazon Resource Name (ARN) of the policy.
   1619      */
   1620     PolicyARN?: ResourceName;
   1621   }
   1622   export type PolicyIncrement = number;
   1623   export type PolicyNames = ResourceName[];
   1624   export type PolicyTypes = XmlStringMaxLen64[];
   1625   export type ProcessNames = XmlStringMaxLen255[];
   1626   export interface ProcessType {
   1627     /**
   1628      * One of the following processes:    Launch     Terminate     AddToLoadBalancer     AlarmNotification     AZRebalance     HealthCheck     ReplaceUnhealthy     ScheduledActions   
   1629      */
   1630     ProcessName: XmlStringMaxLen255;
   1631   }
   1632   export type Processes = ProcessType[];
   1633   export interface ProcessesType {
   1634     /**
   1635      * The names of the process types.
   1636      */
   1637     Processes?: Processes;
   1638   }
   1639   export type Progress = number;
   1640   export type PropagateAtLaunch = boolean;
   1641   export type ProtectedFromScaleIn = boolean;
   1642   export interface PutLifecycleHookAnswer {
   1643   }
   1644   export interface PutLifecycleHookType {
   1645     /**
   1646      * The name of the lifecycle hook.
   1647      */
   1648     LifecycleHookName: AsciiStringMaxLen255;
   1649     /**
   1650      * The name of the Auto Scaling group to which you want to assign the lifecycle hook.
   1651      */
   1652     AutoScalingGroupName: ResourceName;
   1653     /**
   1654      * The instance state to which you want to attach the lifecycle hook. For a list of lifecycle hook types, see DescribeLifecycleHookTypes. This parameter is required for new lifecycle hooks, but optional when updating existing hooks.
   1655      */
   1656     LifecycleTransition?: LifecycleTransition;
   1657     /**
   1658      * The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. This parameter is required for new lifecycle hooks, but optional when updating existing hooks.
   1659      */
   1660     RoleARN?: ResourceName;
   1661     /**
   1662      * The ARN of the notification target that Auto Scaling will use to notify you when an instance is in the transition state for the lifecycle hook. This target can be either an SQS queue or an SNS topic. If you specify an empty string, this overrides the current ARN. This operation uses the JSON format when sending notifications to an Amazon SQS queue, and an email key/value pair format when sending notifications to an Amazon SNS topic. When you specify a notification target, Auto Scaling sends it a test message. Test messages contains the following additional key/value pair: "Event": "autoscaling:TEST_NOTIFICATION".
   1663      */
   1664     NotificationTargetARN?: NotificationTargetResourceName;
   1665     /**
   1666      * Contains additional information that you want to include any time Auto Scaling sends a message to the notification target.
   1667      */
   1668     NotificationMetadata?: XmlStringMaxLen1023;
   1669     /**
   1670      * The amount of time, in seconds, that can elapse before the lifecycle hook times out. When the lifecycle hook times out, Auto Scaling performs the default action. You can prevent the lifecycle hook from timing out by calling RecordLifecycleActionHeartbeat. The default is 3600 seconds (1 hour).
   1671      */
   1672     HeartbeatTimeout?: HeartbeatTimeout;
   1673     /**
   1674      * Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. This parameter can be either CONTINUE or ABANDON. The default value is ABANDON.
   1675      */
   1676     DefaultResult?: LifecycleActionResult;
   1677   }
   1678   export interface PutNotificationConfigurationType {
   1679     /**
   1680      * The name of the Auto Scaling group.
   1681      */
   1682     AutoScalingGroupName: ResourceName;
   1683     /**
   1684      * The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.
   1685      */
   1686     TopicARN: ResourceName;
   1687     /**
   1688      * The type of event that will cause the notification to be sent. For details about notification types supported by Auto Scaling, see DescribeAutoScalingNotificationTypes.
   1689      */
   1690     NotificationTypes: AutoScalingNotificationTypes;
   1691   }
   1692   export interface PutScalingPolicyType {
   1693     /**
   1694      * The name or ARN of the group.
   1695      */
   1696     AutoScalingGroupName: ResourceName;
   1697     /**
   1698      * The name of the policy.
   1699      */
   1700     PolicyName: XmlStringMaxLen255;
   1701     /**
   1702      * The policy type. Valid values are SimpleScaling and StepScaling. If the policy type is null, the value is treated as SimpleScaling.
   1703      */
   1704     PolicyType?: XmlStringMaxLen64;
   1705     /**
   1706      * The adjustment type. Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity. For more information, see Dynamic Scaling in the Auto Scaling User Guide.
   1707      */
   1708     AdjustmentType: XmlStringMaxLen255;
   1709     /**
   1710      * Available for backward compatibility. Use MinAdjustmentMagnitude instead.
   1711      */
   1712     MinAdjustmentStep?: MinAdjustmentStep;
   1713     /**
   1714      * The minimum number of instances to scale. If the value of AdjustmentType is PercentChangeInCapacity, the scaling policy changes the DesiredCapacity of the Auto Scaling group by at least this many instances. Otherwise, the error is ValidationError.
   1715      */
   1716     MinAdjustmentMagnitude?: MinAdjustmentMagnitude;
   1717     /**
   1718      * The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity. This parameter is required if the policy type is SimpleScaling and not supported otherwise.
   1719      */
   1720     ScalingAdjustment?: PolicyIncrement;
   1721     /**
   1722      * The amount of time, in seconds, after a scaling activity completes and before the next scaling activity can start. If this parameter is not specified, the default cooldown period for the group applies. This parameter is not supported unless the policy type is SimpleScaling. For more information, see Auto Scaling Cooldowns in the Auto Scaling User Guide.
   1723      */
   1724     Cooldown?: Cooldown;
   1725     /**
   1726      * The aggregation type for the CloudWatch metrics. Valid values are Minimum, Maximum, and Average. If the aggregation type is null, the value is treated as Average. This parameter is not supported if the policy type is SimpleScaling.
   1727      */
   1728     MetricAggregationType?: XmlStringMaxLen32;
   1729     /**
   1730      * A set of adjustments that enable you to scale based on the size of the alarm breach. This parameter is required if the policy type is StepScaling and not supported otherwise.
   1731      */
   1732     StepAdjustments?: StepAdjustments;
   1733     /**
   1734      * The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics. The default is to use the value specified for the default cooldown period for the group. This parameter is not supported if the policy type is SimpleScaling.
   1735      */
   1736     EstimatedInstanceWarmup?: EstimatedInstanceWarmup;
   1737   }
   1738   export interface PutScheduledUpdateGroupActionType {
   1739     /**
   1740      * The name or Amazon Resource Name (ARN) of the Auto Scaling group.
   1741      */
   1742     AutoScalingGroupName: ResourceName;
   1743     /**
   1744      * The name of this scaling action.
   1745      */
   1746     ScheduledActionName: XmlStringMaxLen255;
   1747     /**
   1748      * This parameter is deprecated.
   1749      */
   1750     Time?: TimestampType;
   1751     /**
   1752      * The time for this action to start, in "YYYY-MM-DDThh:mm:ssZ" format in UTC/GMT only (for example, 2014-06-01T00:00:00Z). If you specify Recurrence and StartTime, Auto Scaling performs the action at this time, and then performs the action based on the specified recurrence. If you try to schedule your action in the past, Auto Scaling returns an error message.
   1753      */
   1754     StartTime?: TimestampType;
   1755     /**
   1756      * The time for the recurring schedule to end. Auto Scaling does not perform the action after this time.
   1757      */
   1758     EndTime?: TimestampType;
   1759     /**
   1760      * The recurring schedule for this action, in Unix cron syntax format. For more information, see Cron in Wikipedia.
   1761      */
   1762     Recurrence?: XmlStringMaxLen255;
   1763     /**
   1764      * The minimum size for the Auto Scaling group.
   1765      */
   1766     MinSize?: AutoScalingGroupMinSize;
   1767     /**
   1768      * The maximum size for the Auto Scaling group.
   1769      */
   1770     MaxSize?: AutoScalingGroupMaxSize;
   1771     /**
   1772      * The number of EC2 instances that should be running in the group.
   1773      */
   1774     DesiredCapacity?: AutoScalingGroupDesiredCapacity;
   1775   }
   1776   export interface RecordLifecycleActionHeartbeatAnswer {
   1777   }
   1778   export interface RecordLifecycleActionHeartbeatType {
   1779     /**
   1780      * The name of the lifecycle hook.
   1781      */
   1782     LifecycleHookName: AsciiStringMaxLen255;
   1783     /**
   1784      * The name of the Auto Scaling group for the hook.
   1785      */
   1786     AutoScalingGroupName: ResourceName;
   1787     /**
   1788      * A token that uniquely identifies a specific lifecycle action associated with an instance. Auto Scaling sends this token to the notification target you specified when you created the lifecycle hook.
   1789      */
   1790     LifecycleActionToken?: LifecycleActionToken;
   1791     /**
   1792      * The ID of the instance.
   1793      */
   1794     InstanceId?: XmlStringMaxLen19;
   1795   }
   1796   export type ResourceName = string;
   1797   export type ScalingActivityStatusCode = "PendingSpotBidPlacement"|"WaitingForSpotInstanceRequestId"|"WaitingForSpotInstanceId"|"WaitingForInstanceId"|"PreInService"|"InProgress"|"WaitingForELBConnectionDraining"|"MidLifecycleAction"|"WaitingForInstanceWarmup"|"Successful"|"Failed"|"Cancelled"|string;
   1798   export type ScalingPolicies = ScalingPolicy[];
   1799   export interface ScalingPolicy {
   1800     /**
   1801      * The name of the Auto Scaling group associated with this scaling policy.
   1802      */
   1803     AutoScalingGroupName?: XmlStringMaxLen255;
   1804     /**
   1805      * The name of the scaling policy.
   1806      */
   1807     PolicyName?: XmlStringMaxLen255;
   1808     /**
   1809      * The Amazon Resource Name (ARN) of the policy.
   1810      */
   1811     PolicyARN?: ResourceName;
   1812     /**
   1813      * The policy type. Valid values are SimpleScaling and StepScaling.
   1814      */
   1815     PolicyType?: XmlStringMaxLen64;
   1816     /**
   1817      * The adjustment type, which specifies how ScalingAdjustment is interpreted. Valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.
   1818      */
   1819     AdjustmentType?: XmlStringMaxLen255;
   1820     /**
   1821      * Available for backward compatibility. Use MinAdjustmentMagnitude instead.
   1822      */
   1823     MinAdjustmentStep?: MinAdjustmentStep;
   1824     /**
   1825      * The minimum number of instances to scale. If the value of AdjustmentType is PercentChangeInCapacity, the scaling policy changes the DesiredCapacity of the Auto Scaling group by at least this many instances. Otherwise, the error is ValidationError.
   1826      */
   1827     MinAdjustmentMagnitude?: MinAdjustmentMagnitude;
   1828     /**
   1829      * The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity.
   1830      */
   1831     ScalingAdjustment?: PolicyIncrement;
   1832     /**
   1833      * The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
   1834      */
   1835     Cooldown?: Cooldown;
   1836     /**
   1837      * A set of adjustments that enable you to scale based on the size of the alarm breach.
   1838      */
   1839     StepAdjustments?: StepAdjustments;
   1840     /**
   1841      * The aggregation type for the CloudWatch metrics. Valid values are Minimum, Maximum, and Average.
   1842      */
   1843     MetricAggregationType?: XmlStringMaxLen32;
   1844     /**
   1845      * The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics.
   1846      */
   1847     EstimatedInstanceWarmup?: EstimatedInstanceWarmup;
   1848     /**
   1849      * The CloudWatch alarms related to the policy.
   1850      */
   1851     Alarms?: Alarms;
   1852   }
   1853   export interface ScalingProcessQuery {
   1854     /**
   1855      * The name or Amazon Resource Name (ARN) of the Auto Scaling group.
   1856      */
   1857     AutoScalingGroupName: ResourceName;
   1858     /**
   1859      * One or more of the following processes. If you omit this parameter, all processes are specified.    Launch     Terminate     HealthCheck     ReplaceUnhealthy     AZRebalance     AlarmNotification     ScheduledActions     AddToLoadBalancer   
   1860      */
   1861     ScalingProcesses?: ProcessNames;
   1862   }
   1863   export type ScheduledActionNames = ResourceName[];
   1864   export interface ScheduledActionsType {
   1865     /**
   1866      * The scheduled actions.
   1867      */
   1868     ScheduledUpdateGroupActions?: ScheduledUpdateGroupActions;
   1869     /**
   1870      * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
   1871      */
   1872     NextToken?: XmlString;
   1873   }
   1874   export interface ScheduledUpdateGroupAction {
   1875     /**
   1876      * The name of the group.
   1877      */
   1878     AutoScalingGroupName?: XmlStringMaxLen255;
   1879     /**
   1880      * The name of the scheduled action.
   1881      */
   1882     ScheduledActionName?: XmlStringMaxLen255;
   1883     /**
   1884      * The Amazon Resource Name (ARN) of the scheduled action.
   1885      */
   1886     ScheduledActionARN?: ResourceName;
   1887     /**
   1888      * This parameter is deprecated.
   1889      */
   1890     Time?: TimestampType;
   1891     /**
   1892      * The date and time that the action is scheduled to begin. This date and time can be up to one month in the future. When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action will start and stop.
   1893      */
   1894     StartTime?: TimestampType;
   1895     /**
   1896      * The date and time that the action is scheduled to end. This date and time can be up to one month in the future.
   1897      */
   1898     EndTime?: TimestampType;
   1899     /**
   1900      * The recurring schedule for the action.
   1901      */
   1902     Recurrence?: XmlStringMaxLen255;
   1903     /**
   1904      * The minimum size of the group.
   1905      */
   1906     MinSize?: AutoScalingGroupMinSize;
   1907     /**
   1908      * The maximum size of the group.
   1909      */
   1910     MaxSize?: AutoScalingGroupMaxSize;
   1911     /**
   1912      * The number of instances you prefer to maintain in the group.
   1913      */
   1914     DesiredCapacity?: AutoScalingGroupDesiredCapacity;
   1915   }
   1916   export type ScheduledUpdateGroupActions = ScheduledUpdateGroupAction[];
   1917   export type SecurityGroups = XmlString[];
   1918   export interface SetDesiredCapacityType {
   1919     /**
   1920      * The name of the Auto Scaling group.
   1921      */
   1922     AutoScalingGroupName: ResourceName;
   1923     /**
   1924      * The number of EC2 instances that should be running in the Auto Scaling group.
   1925      */
   1926     DesiredCapacity: AutoScalingGroupDesiredCapacity;
   1927     /**
   1928      * By default, SetDesiredCapacity overrides any cooldown period associated with the Auto Scaling group. Specify True to make Auto Scaling to wait for the cool-down period associated with the Auto Scaling group to complete before initiating a scaling activity to set your Auto Scaling group to its new capacity.
   1929      */
   1930     HonorCooldown?: HonorCooldown;
   1931   }
   1932   export interface SetInstanceHealthQuery {
   1933     /**
   1934      * The ID of the instance.
   1935      */
   1936     InstanceId: XmlStringMaxLen19;
   1937     /**
   1938      * The health status of the instance. Set to Healthy if you want the instance to remain in service. Set to Unhealthy if you want the instance to be out of service. Auto Scaling will terminate and replace the unhealthy instance.
   1939      */
   1940     HealthStatus: XmlStringMaxLen32;
   1941     /**
   1942      * If the Auto Scaling group of the specified instance has a HealthCheckGracePeriod specified for the group, by default, this call will respect the grace period. Set this to False, if you do not want the call to respect the grace period associated with the group. For more information, see the description of the health check grace period for CreateAutoScalingGroup.
   1943      */
   1944     ShouldRespectGracePeriod?: ShouldRespectGracePeriod;
   1945   }
   1946   export interface SetInstanceProtectionAnswer {
   1947   }
   1948   export interface SetInstanceProtectionQuery {
   1949     /**
   1950      * One or more instance IDs.
   1951      */
   1952     InstanceIds: InstanceIds;
   1953     /**
   1954      * The name of the group.
   1955      */
   1956     AutoScalingGroupName: ResourceName;
   1957     /**
   1958      * Indicates whether the instance is protected from termination by Auto Scaling when scaling in.
   1959      */
   1960     ProtectedFromScaleIn: ProtectedFromScaleIn;
   1961   }
   1962   export type ShouldDecrementDesiredCapacity = boolean;
   1963   export type ShouldRespectGracePeriod = boolean;
   1964   export type SpotPrice = string;
   1965   export interface StepAdjustment {
   1966     /**
   1967      * The lower bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity.
   1968      */
   1969     MetricIntervalLowerBound?: MetricScale;
   1970     /**
   1971      * The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity. The upper bound must be greater than the lower bound.
   1972      */
   1973     MetricIntervalUpperBound?: MetricScale;
   1974     /**
   1975      * The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity.
   1976      */
   1977     ScalingAdjustment: PolicyIncrement;
   1978   }
   1979   export type StepAdjustments = StepAdjustment[];
   1980   export interface SuspendedProcess {
   1981     /**
   1982      * The name of the suspended process.
   1983      */
   1984     ProcessName?: XmlStringMaxLen255;
   1985     /**
   1986      * The reason that the process was suspended.
   1987      */
   1988     SuspensionReason?: XmlStringMaxLen255;
   1989   }
   1990   export type SuspendedProcesses = SuspendedProcess[];
   1991   export interface Tag {
   1992     /**
   1993      * The name of the group.
   1994      */
   1995     ResourceId?: XmlString;
   1996     /**
   1997      * The type of resource. The only supported value is auto-scaling-group.
   1998      */
   1999     ResourceType?: XmlString;
   2000     /**
   2001      * The tag key.
   2002      */
   2003     Key: TagKey;
   2004     /**
   2005      * The tag value.
   2006      */
   2007     Value?: TagValue;
   2008     /**
   2009      * Determines whether the tag is added to new instances as they are launched in the group.
   2010      */
   2011     PropagateAtLaunch?: PropagateAtLaunch;
   2012   }
   2013   export interface TagDescription {
   2014     /**
   2015      * The name of the group.
   2016      */
   2017     ResourceId?: XmlString;
   2018     /**
   2019      * The type of resource. The only supported value is auto-scaling-group.
   2020      */
   2021     ResourceType?: XmlString;
   2022     /**
   2023      * The tag key.
   2024      */
   2025     Key?: TagKey;
   2026     /**
   2027      * The tag value.
   2028      */
   2029     Value?: TagValue;
   2030     /**
   2031      * Determines whether the tag is added to new instances as they are launched in the group.
   2032      */
   2033     PropagateAtLaunch?: PropagateAtLaunch;
   2034   }
   2035   export type TagDescriptionList = TagDescription[];
   2036   export type TagKey = string;
   2037   export type TagValue = string;
   2038   export type Tags = Tag[];
   2039   export interface TagsType {
   2040     /**
   2041      * One or more tags.
   2042      */
   2043     Tags?: TagDescriptionList;
   2044     /**
   2045      * The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
   2046      */
   2047     NextToken?: XmlString;
   2048   }
   2049   export type TargetGroupARNs = XmlStringMaxLen511[];
   2050   export interface TerminateInstanceInAutoScalingGroupType {
   2051     /**
   2052      * The ID of the instance.
   2053      */
   2054     InstanceId: XmlStringMaxLen19;
   2055     /**
   2056      * If true, terminating the instance also decrements the size of the Auto Scaling group.
   2057      */
   2058     ShouldDecrementDesiredCapacity: ShouldDecrementDesiredCapacity;
   2059   }
   2060   export type TerminationPolicies = XmlStringMaxLen1600[];
   2061   export type TimestampType = Date;
   2062   export interface UpdateAutoScalingGroupType {
   2063     /**
   2064      * The name of the Auto Scaling group.
   2065      */
   2066     AutoScalingGroupName: ResourceName;
   2067     /**
   2068      * The name of the launch configuration.
   2069      */
   2070     LaunchConfigurationName?: ResourceName;
   2071     /**
   2072      * The minimum size of the Auto Scaling group.
   2073      */
   2074     MinSize?: AutoScalingGroupMinSize;
   2075     /**
   2076      * The maximum size of the Auto Scaling group.
   2077      */
   2078     MaxSize?: AutoScalingGroupMaxSize;
   2079     /**
   2080      * The number of EC2 instances that should be running in the Auto Scaling group. This number must be greater than or equal to the minimum size of the group and less than or equal to the maximum size of the group.
   2081      */
   2082     DesiredCapacity?: AutoScalingGroupDesiredCapacity;
   2083     /**
   2084      * The amount of time, in seconds, after a scaling activity completes before another scaling activity can start. The default is 300. For more information, see Auto Scaling Cooldowns in the Auto Scaling User Guide.
   2085      */
   2086     DefaultCooldown?: Cooldown;
   2087     /**
   2088      * One or more Availability Zones for the group.
   2089      */
   2090     AvailabilityZones?: AvailabilityZones;
   2091     /**
   2092      * The service to use for the health checks. The valid values are EC2 and ELB.
   2093      */
   2094     HealthCheckType?: XmlStringMaxLen32;
   2095     /**
   2096      * The amount of time, in seconds, that Auto Scaling waits before checking the health status of an EC2 instance that has come into service. The default is 0. For more information, see Health Checks in the Auto Scaling User Guide.
   2097      */
   2098     HealthCheckGracePeriod?: HealthCheckGracePeriod;
   2099     /**
   2100      * The name of the placement group into which you'll launch your instances, if any. For more information, see Placement Groups in the Amazon Elastic Compute Cloud User Guide.
   2101      */
   2102     PlacementGroup?: XmlStringMaxLen255;
   2103     /**
   2104      * The ID of the subnet, if you are launching into a VPC. You can specify several subnets in a comma-separated list. When you specify VPCZoneIdentifier with AvailabilityZones, ensure that the subnets' Availability Zones match the values you specify for AvailabilityZones. For more information, see Launching Auto Scaling Instances in a VPC in the Auto Scaling User Guide.
   2105      */
   2106     VPCZoneIdentifier?: XmlStringMaxLen2047;
   2107     /**
   2108      * A standalone termination policy or a list of termination policies used to select the instance to terminate. The policies are executed in the order that they are listed. For more information, see Controlling Which Instances Auto Scaling Terminates During Scale In in the Auto Scaling User Guide.
   2109      */
   2110     TerminationPolicies?: TerminationPolicies;
   2111     /**
   2112      * Indicates whether newly launched instances are protected from termination by Auto Scaling when scaling in.
   2113      */
   2114     NewInstancesProtectedFromScaleIn?: InstanceProtected;
   2115   }
   2116   export type Values = XmlString[];
   2117   export type XmlString = string;
   2118   export type XmlStringMaxLen1023 = string;
   2119   export type XmlStringMaxLen1600 = string;
   2120   export type XmlStringMaxLen19 = string;
   2121   export type XmlStringMaxLen2047 = string;
   2122   export type XmlStringMaxLen255 = string;
   2123   export type XmlStringMaxLen32 = string;
   2124   export type XmlStringMaxLen511 = string;
   2125   export type XmlStringMaxLen64 = string;
   2126   export type XmlStringUserData = string;
   2127   /**
   2128    * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
   2129    */
   2130   export type apiVersion = "2011-01-01"|"latest"|string;
   2131   export interface ClientApiVersions {
   2132     /**
   2133      * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
   2134      */
   2135     apiVersion?: apiVersion;
   2136   }
   2137   export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
   2138 }
   2139 export = AutoScaling;