@aws-sdk/client-auto-scaling 3.686.0 → 3.691.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,12 +10,12 @@ export interface AcceleratorCountRequest {
10
10
  * <p>The minimum value.</p>
11
11
  * @public
12
12
  */
13
- Min?: number;
13
+ Min?: number | undefined;
14
14
  /**
15
15
  * <p>The maximum value.</p>
16
16
  * @public
17
17
  */
18
- Max?: number;
18
+ Max?: number | undefined;
19
19
  }
20
20
  /**
21
21
  * @public
@@ -58,12 +58,12 @@ export interface AcceleratorTotalMemoryMiBRequest {
58
58
  * <p>The memory minimum in MiB.</p>
59
59
  * @public
60
60
  */
61
- Min?: number;
61
+ Min?: number | undefined;
62
62
  /**
63
63
  * <p>The memory maximum in MiB.</p>
64
64
  * @public
65
65
  */
66
- Max?: number;
66
+ Max?: number | undefined;
67
67
  }
68
68
  /**
69
69
  * @public
@@ -134,7 +134,7 @@ export interface Activity {
134
134
  * <p>A friendly, more verbose description of the activity.</p>
135
135
  * @public
136
136
  */
137
- Description?: string;
137
+ Description?: string | undefined;
138
138
  /**
139
139
  * <p>The reason the activity began.</p>
140
140
  * @public
@@ -149,7 +149,7 @@ export interface Activity {
149
149
  * <p>The end time of the activity.</p>
150
150
  * @public
151
151
  */
152
- EndTime?: Date;
152
+ EndTime?: Date | undefined;
153
153
  /**
154
154
  * <p>The current status of the activity.</p>
155
155
  * @public
@@ -159,28 +159,28 @@ export interface Activity {
159
159
  * <p>A friendly, more verbose description of the activity status.</p>
160
160
  * @public
161
161
  */
162
- StatusMessage?: string;
162
+ StatusMessage?: string | undefined;
163
163
  /**
164
164
  * <p>A value between 0 and 100 that indicates the progress of the activity.</p>
165
165
  * @public
166
166
  */
167
- Progress?: number;
167
+ Progress?: number | undefined;
168
168
  /**
169
169
  * <p>The details about the activity.</p>
170
170
  * @public
171
171
  */
172
- Details?: string;
172
+ Details?: string | undefined;
173
173
  /**
174
174
  * <p>The state of the Auto Scaling group, which is either <code>InService</code> or
175
175
  * <code>Deleted</code>.</p>
176
176
  * @public
177
177
  */
178
- AutoScalingGroupState?: string;
178
+ AutoScalingGroupState?: string | undefined;
179
179
  /**
180
180
  * <p>The Amazon Resource Name (ARN) of the Auto Scaling group.</p>
181
181
  * @public
182
182
  */
183
- AutoScalingGroupARN?: string;
183
+ AutoScalingGroupARN?: string | undefined;
184
184
  }
185
185
  /**
186
186
  * @public
@@ -199,7 +199,7 @@ export interface ActivitiesType {
199
199
  * null when there are no more items to return.</p>
200
200
  * @public
201
201
  */
202
- NextToken?: string;
202
+ NextToken?: string | undefined;
203
203
  }
204
204
  /**
205
205
  * @public
@@ -209,7 +209,7 @@ export interface ActivityType {
209
209
  * <p>A scaling activity.</p>
210
210
  * @public
211
211
  */
212
- Activity?: Activity;
212
+ Activity?: Activity | undefined;
213
213
  }
214
214
  /**
215
215
  * <p>Describes a policy adjustment type.</p>
@@ -221,7 +221,7 @@ export interface AdjustmentType {
221
221
  * <code>ExactCapacity</code>, and <code>PercentChangeInCapacity</code>.</p>
222
222
  * @public
223
223
  */
224
- AdjustmentType?: string;
224
+ AdjustmentType?: string | undefined;
225
225
  }
226
226
  /**
227
227
  * <p>Describes an alarm.</p>
@@ -232,12 +232,12 @@ export interface Alarm {
232
232
  * <p>The name of the alarm.</p>
233
233
  * @public
234
234
  */
235
- AlarmName?: string;
235
+ AlarmName?: string | undefined;
236
236
  /**
237
237
  * <p>The Amazon Resource Name (ARN) of the alarm.</p>
238
238
  * @public
239
239
  */
240
- AlarmARN?: string;
240
+ AlarmARN?: string | undefined;
241
241
  }
242
242
  /**
243
243
  * <p>Specifies the CloudWatch alarm specification to use in an instance refresh.</p>
@@ -249,7 +249,7 @@ export interface AlarmSpecification {
249
249
  * specify up to 10 alarms.</p>
250
250
  * @public
251
251
  */
252
- Alarms?: string[];
252
+ Alarms?: string[] | undefined;
253
253
  }
254
254
  /**
255
255
  * <p>You already have an Auto Scaling group or launch configuration with this name.</p>
@@ -271,7 +271,7 @@ export interface AttachInstancesQuery {
271
271
  * <p>The IDs of the instances. You can specify up to 20 instances.</p>
272
272
  * @public
273
273
  */
274
- InstanceIds?: string[];
274
+ InstanceIds?: string[] | undefined;
275
275
  /**
276
276
  * <p>The name of the Auto Scaling group.</p>
277
277
  * @public
@@ -404,7 +404,7 @@ export interface TrafficSourceIdentifier {
404
404
  * <p>Required if the identifier is the name of a Classic Load Balancer.</p>
405
405
  * @public
406
406
  */
407
- Type?: string;
407
+ Type?: string | undefined;
408
408
  }
409
409
  /**
410
410
  * @public
@@ -436,12 +436,12 @@ export interface FailedScheduledUpdateGroupActionRequest {
436
436
  * <p>The error code.</p>
437
437
  * @public
438
438
  */
439
- ErrorCode?: string;
439
+ ErrorCode?: string | undefined;
440
440
  /**
441
441
  * <p>The error message accompanying the error code.</p>
442
442
  * @public
443
443
  */
444
- ErrorMessage?: string;
444
+ ErrorMessage?: string | undefined;
445
445
  }
446
446
  /**
447
447
  * @public
@@ -452,7 +452,7 @@ export interface BatchDeleteScheduledActionAnswer {
452
452
  * message.</p>
453
453
  * @public
454
454
  */
455
- FailedScheduledActions?: FailedScheduledUpdateGroupActionRequest[];
455
+ FailedScheduledActions?: FailedScheduledUpdateGroupActionRequest[] | undefined;
456
456
  }
457
457
  /**
458
458
  * @public
@@ -479,7 +479,7 @@ export interface BatchPutScheduledUpdateGroupActionAnswer {
479
479
  * error message.</p>
480
480
  * @public
481
481
  */
482
- FailedScheduledUpdateGroupActions?: FailedScheduledUpdateGroupActionRequest[];
482
+ FailedScheduledUpdateGroupActions?: FailedScheduledUpdateGroupActionRequest[] | undefined;
483
483
  }
484
484
  /**
485
485
  * <p>Describes information used for one or more scheduled scaling action updates in a
@@ -503,12 +503,12 @@ export interface ScheduledUpdateGroupActionRequest {
503
503
  * message.</p>
504
504
  * @public
505
505
  */
506
- StartTime?: Date;
506
+ StartTime?: Date | undefined;
507
507
  /**
508
508
  * <p>The date and time for the recurring schedule to end, in UTC.</p>
509
509
  * @public
510
510
  */
511
- EndTime?: Date;
511
+ EndTime?: Date | undefined;
512
512
  /**
513
513
  * <p>The recurring schedule for the action, in Unix cron syntax format. This format
514
514
  * consists of five fields separated by white spaces: [Minute] [Hour] [Day_of_Month]
@@ -520,23 +520,23 @@ export interface ScheduledUpdateGroupActionRequest {
520
520
  * <p>Cron expressions use Universal Coordinated Time (UTC) by default.</p>
521
521
  * @public
522
522
  */
523
- Recurrence?: string;
523
+ Recurrence?: string | undefined;
524
524
  /**
525
525
  * <p>The minimum size of the Auto Scaling group.</p>
526
526
  * @public
527
527
  */
528
- MinSize?: number;
528
+ MinSize?: number | undefined;
529
529
  /**
530
530
  * <p>The maximum size of the Auto Scaling group.</p>
531
531
  * @public
532
532
  */
533
- MaxSize?: number;
533
+ MaxSize?: number | undefined;
534
534
  /**
535
535
  * <p>The desired capacity is the initial capacity of the Auto Scaling group after the scheduled
536
536
  * action runs and the capacity it attempts to maintain.</p>
537
537
  * @public
538
538
  */
539
- DesiredCapacity?: number;
539
+ DesiredCapacity?: number | undefined;
540
540
  /**
541
541
  * <p>Specifies the time zone for a cron expression. If a time zone is not provided, UTC is
542
542
  * used by default. </p>
@@ -545,7 +545,7 @@ export interface ScheduledUpdateGroupActionRequest {
545
545
  * more information, see <a href="https://en.wikipedia.org/wiki/List_of_tz_database_time_zones">https://en.wikipedia.org/wiki/List_of_tz_database_time_zones</a>.</p>
546
546
  * @public
547
547
  */
548
- TimeZone?: string;
548
+ TimeZone?: string | undefined;
549
549
  }
550
550
  /**
551
551
  * @public
@@ -586,7 +586,7 @@ export interface CancelInstanceRefreshAnswer {
586
586
  * the instance refresh when it was started.</p>
587
587
  * @public
588
588
  */
589
- InstanceRefreshId?: string;
589
+ InstanceRefreshId?: string | undefined;
590
590
  }
591
591
  /**
592
592
  * @public
@@ -623,7 +623,7 @@ export interface CompleteLifecycleActionType {
623
623
  * specified when you created the lifecycle hook.</p>
624
624
  * @public
625
625
  */
626
- LifecycleActionToken?: string;
626
+ LifecycleActionToken?: string | undefined;
627
627
  /**
628
628
  * <p>The action for the group to take. You can specify either <code>CONTINUE</code> or
629
629
  * <code>ABANDON</code>.</p>
@@ -634,7 +634,43 @@ export interface CompleteLifecycleActionType {
634
634
  * <p>The ID of the instance.</p>
635
635
  * @public
636
636
  */
637
- InstanceId?: string;
637
+ InstanceId?: string | undefined;
638
+ }
639
+ /**
640
+ * @public
641
+ * @enum
642
+ */
643
+ export declare const CapacityDistributionStrategy: {
644
+ readonly BALANCED_BEST_EFFORT: "balanced-best-effort";
645
+ readonly BALANCED_ONLY: "balanced-only";
646
+ };
647
+ /**
648
+ * @public
649
+ */
650
+ export type CapacityDistributionStrategy = (typeof CapacityDistributionStrategy)[keyof typeof CapacityDistributionStrategy];
651
+ /**
652
+ * <p>
653
+ * Describes an Availability Zone distribution.
654
+ * </p>
655
+ * @public
656
+ */
657
+ export interface AvailabilityZoneDistribution {
658
+ /**
659
+ * <p>
660
+ * If launches fail in an Availability Zone, the following strategies are available. The default is <code>balanced-best-effort</code>. </p>
661
+ * <ul>
662
+ * <li>
663
+ * <p>
664
+ * <code>balanced-only</code> - If launches fail in an Availability Zone, Auto Scaling will continue to attempt to launch in the unhealthy zone to preserve a balanced distribution.</p>
665
+ * </li>
666
+ * <li>
667
+ * <p>
668
+ * <code>balanced-best-effort</code> - If launches fail in an Availability Zone, Auto Scaling will attempt to launch in another healthy Availability Zone instead.</p>
669
+ * </li>
670
+ * </ul>
671
+ * @public
672
+ */
673
+ CapacityDistributionStrategy?: CapacityDistributionStrategy | undefined;
638
674
  }
639
675
  /**
640
676
  * <p>Describes an instance maintenance policy.</p>
@@ -650,7 +686,7 @@ export interface InstanceMaintenancePolicy {
650
686
  * 100. To clear a previously set value, specify a value of <code>-1</code>.</p>
651
687
  * @public
652
688
  */
653
- MinHealthyPercentage?: number;
689
+ MinHealthyPercentage?: number | undefined;
654
690
  /**
655
691
  * <p>Specifies the upper threshold as a percentage of the desired capacity of the Auto Scaling
656
692
  * group. It represents the maximum percentage of the group that can be in service and
@@ -661,7 +697,7 @@ export interface InstanceMaintenancePolicy {
661
697
  * increases the number of instances that can be replaced at the same time.</p>
662
698
  * @public
663
699
  */
664
- MaxHealthyPercentage?: number;
700
+ MaxHealthyPercentage?: number | undefined;
665
701
  }
666
702
  /**
667
703
  * <p>Describes the launch template and the version of the launch template that Amazon EC2 Auto Scaling
@@ -677,7 +713,7 @@ export interface LaunchTemplateSpecification {
677
713
  * <code>LaunchTemplateName</code>.</p>
678
714
  * @public
679
715
  */
680
- LaunchTemplateId?: string;
716
+ LaunchTemplateId?: string | undefined;
681
717
  /**
682
718
  * <p>The name of the launch template. To get the template name, use the Amazon EC2 <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLaunchTemplates.html">DescribeLaunchTemplates</a> API operation. New launch templates can be created
683
719
  * using the Amazon EC2 <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplate.html">CreateLaunchTemplate</a> API. </p>
@@ -685,7 +721,7 @@ export interface LaunchTemplateSpecification {
685
721
  * <code>LaunchTemplateName</code>.</p>
686
722
  * @public
687
723
  */
688
- LaunchTemplateName?: string;
724
+ LaunchTemplateName?: string | undefined;
689
725
  /**
690
726
  * <p>The version number, <code>$Latest</code>, or <code>$Default</code>. To get the version
691
727
  * number, use the Amazon EC2 <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeLaunchTemplateVersions.html">DescribeLaunchTemplateVersions</a> API operation. New launch template versions
@@ -695,7 +731,7 @@ export interface LaunchTemplateSpecification {
695
731
  * template when launching instances. The default value is <code>$Default</code>.</p>
696
732
  * @public
697
733
  */
698
- Version?: string;
734
+ Version?: string | undefined;
699
735
  }
700
736
  /**
701
737
  * <p>Describes information used to specify a lifecycle hook for an Auto Scaling
@@ -731,14 +767,14 @@ export interface LifecycleHookSpecification {
731
767
  * the notification target.</p>
732
768
  * @public
733
769
  */
734
- NotificationMetadata?: string;
770
+ NotificationMetadata?: string | undefined;
735
771
  /**
736
772
  * <p>The maximum time, in seconds, that can elapse before the lifecycle hook times out. The
737
773
  * range is from <code>30</code> to <code>7200</code> seconds. The default value is
738
774
  * <code>3600</code> seconds (1 hour).</p>
739
775
  * @public
740
776
  */
741
- HeartbeatTimeout?: number;
777
+ HeartbeatTimeout?: number | undefined;
742
778
  /**
743
779
  * <p>The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an
744
780
  * unexpected failure occurs. The default value is <code>ABANDON</code>.</p>
@@ -746,14 +782,14 @@ export interface LifecycleHookSpecification {
746
782
  * </p>
747
783
  * @public
748
784
  */
749
- DefaultResult?: string;
785
+ DefaultResult?: string | undefined;
750
786
  /**
751
787
  * <p>The Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto Scaling sends
752
788
  * notifications to when an instance is in a wait state for the lifecycle hook. You can
753
789
  * specify an Amazon SNS topic or an Amazon SQS queue.</p>
754
790
  * @public
755
791
  */
756
- NotificationTargetARN?: string;
792
+ NotificationTargetARN?: string | undefined;
757
793
  /**
758
794
  * <p>The ARN of the IAM role that allows the Auto Scaling group to publish to the specified
759
795
  * notification target. For information about creating this role, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/prepare-for-lifecycle-notifications.html">Prepare to
@@ -762,7 +798,7 @@ export interface LifecycleHookSpecification {
762
798
  * <p>Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.</p>
763
799
  * @public
764
800
  */
765
- RoleARN?: string;
801
+ RoleARN?: string | undefined;
766
802
  }
767
803
  /**
768
804
  * <p>Use this structure to specify the distribution of On-Demand Instances and Spot
@@ -798,7 +834,7 @@ export interface InstancesDistribution {
798
834
  * </dl>
799
835
  * @public
800
836
  */
801
- OnDemandAllocationStrategy?: string;
837
+ OnDemandAllocationStrategy?: string | undefined;
802
838
  /**
803
839
  * <p>The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand
804
840
  * Instances. This base portion is launched first as your group scales.</p>
@@ -810,7 +846,7 @@ export interface InstancesDistribution {
810
846
  * <p>Default: 0</p>
811
847
  * @public
812
848
  */
813
- OnDemandBaseCapacity?: number;
849
+ OnDemandBaseCapacity?: number | undefined;
814
850
  /**
815
851
  * <p>Controls the percentages of On-Demand Instances and Spot Instances for your additional
816
852
  * capacity beyond <code>OnDemandBaseCapacity</code>. Expressed as a number (for example,
@@ -819,7 +855,7 @@ export interface InstancesDistribution {
819
855
  * <p>Default: 100</p>
820
856
  * @public
821
857
  */
822
- OnDemandPercentageAboveBaseCapacity?: number;
858
+ OnDemandPercentageAboveBaseCapacity?: number | undefined;
823
859
  /**
824
860
  * <p>The allocation strategy to apply to your Spot Instances when they are launched.
825
861
  * Possible instance types are determined by the launch template overrides that you
@@ -862,7 +898,7 @@ export interface InstancesDistribution {
862
898
  * </dl>
863
899
  * @public
864
900
  */
865
- SpotAllocationStrategy?: string;
901
+ SpotAllocationStrategy?: string | undefined;
866
902
  /**
867
903
  * <p>The number of Spot Instance pools across which to allocate your Spot Instances. The
868
904
  * Spot pools are determined from the different instance types in the overrides. Valid only
@@ -871,7 +907,7 @@ export interface InstancesDistribution {
871
907
  * <p>Default: 2</p>
872
908
  * @public
873
909
  */
874
- SpotInstancePools?: number;
910
+ SpotInstancePools?: number | undefined;
875
911
  /**
876
912
  * <p>The maximum price per unit hour that you are willing to pay for a Spot Instance. If
877
913
  * your maximum price is lower than the Spot price for the instance types that you
@@ -886,7 +922,7 @@ export interface InstancesDistribution {
886
922
  * <p>Valid Range: Minimum value of 0.001</p>
887
923
  * @public
888
924
  */
889
- SpotMaxPrice?: string;
925
+ SpotMaxPrice?: string | undefined;
890
926
  }
891
927
  /**
892
928
  * @public
@@ -911,12 +947,12 @@ export interface BaselineEbsBandwidthMbpsRequest {
911
947
  * <p>The minimum value in Mbps.</p>
912
948
  * @public
913
949
  */
914
- Min?: number;
950
+ Min?: number | undefined;
915
951
  /**
916
952
  * <p>The maximum value in Mbps.</p>
917
953
  * @public
918
954
  */
919
- Max?: number;
955
+ Max?: number | undefined;
920
956
  }
921
957
  /**
922
958
  * @public
@@ -991,12 +1027,12 @@ export interface MemoryGiBPerVCpuRequest {
991
1027
  * <p>The memory minimum in GiB.</p>
992
1028
  * @public
993
1029
  */
994
- Min?: number;
1030
+ Min?: number | undefined;
995
1031
  /**
996
1032
  * <p>The memory maximum in GiB.</p>
997
1033
  * @public
998
1034
  */
999
- Max?: number;
1035
+ Max?: number | undefined;
1000
1036
  }
1001
1037
  /**
1002
1038
  * <p>Specifies the minimum and maximum for the <code>MemoryMiB</code> object when you
@@ -1013,7 +1049,7 @@ export interface MemoryMiBRequest {
1013
1049
  * <p>The memory maximum in MiB.</p>
1014
1050
  * @public
1015
1051
  */
1016
- Max?: number;
1052
+ Max?: number | undefined;
1017
1053
  }
1018
1054
  /**
1019
1055
  * <p>Specifies the minimum and maximum for the <code>NetworkBandwidthGbps</code> object
@@ -1032,12 +1068,12 @@ export interface NetworkBandwidthGbpsRequest {
1032
1068
  * <p>The minimum amount of network bandwidth, in gigabits per second (Gbps).</p>
1033
1069
  * @public
1034
1070
  */
1035
- Min?: number;
1071
+ Min?: number | undefined;
1036
1072
  /**
1037
1073
  * <p>The maximum amount of network bandwidth, in gigabits per second (Gbps).</p>
1038
1074
  * @public
1039
1075
  */
1040
- Max?: number;
1076
+ Max?: number | undefined;
1041
1077
  }
1042
1078
  /**
1043
1079
  * <p>Specifies the minimum and maximum for the <code>NetworkInterfaceCount</code> object
@@ -1049,12 +1085,12 @@ export interface NetworkInterfaceCountRequest {
1049
1085
  * <p>The minimum number of network interfaces.</p>
1050
1086
  * @public
1051
1087
  */
1052
- Min?: number;
1088
+ Min?: number | undefined;
1053
1089
  /**
1054
1090
  * <p>The maximum number of network interfaces.</p>
1055
1091
  * @public
1056
1092
  */
1057
- Max?: number;
1093
+ Max?: number | undefined;
1058
1094
  }
1059
1095
  /**
1060
1096
  * <p>Specifies the minimum and maximum for the <code>TotalLocalStorageGB</code> object when
@@ -1066,12 +1102,12 @@ export interface TotalLocalStorageGBRequest {
1066
1102
  * <p>The storage minimum in GB.</p>
1067
1103
  * @public
1068
1104
  */
1069
- Min?: number;
1105
+ Min?: number | undefined;
1070
1106
  /**
1071
1107
  * <p>The storage maximum in GB.</p>
1072
1108
  * @public
1073
1109
  */
1074
- Max?: number;
1110
+ Max?: number | undefined;
1075
1111
  }
1076
1112
  /**
1077
1113
  * <p>Specifies the minimum and maximum for the <code>VCpuCount</code> object when you
@@ -1088,7 +1124,7 @@ export interface VCpuCountRequest {
1088
1124
  * <p>The maximum number of vCPUs.</p>
1089
1125
  * @public
1090
1126
  */
1091
- Max?: number;
1127
+ Max?: number | undefined;
1092
1128
  }
1093
1129
  /**
1094
1130
  * <p>The attributes for the instance types for a mixed instances policy. Amazon EC2 Auto Scaling uses your
@@ -1158,13 +1194,13 @@ export interface InstanceRequirements {
1158
1194
  * <p>Default: Any manufacturer</p>
1159
1195
  * @public
1160
1196
  */
1161
- CpuManufacturers?: CpuManufacturer[];
1197
+ CpuManufacturers?: CpuManufacturer[] | undefined;
1162
1198
  /**
1163
1199
  * <p>The minimum and maximum amount of memory per vCPU for an instance type, in GiB.</p>
1164
1200
  * <p>Default: No minimum or maximum limits</p>
1165
1201
  * @public
1166
1202
  */
1167
- MemoryGiBPerVCpu?: MemoryGiBPerVCpuRequest;
1203
+ MemoryGiBPerVCpu?: MemoryGiBPerVCpuRequest | undefined;
1168
1204
  /**
1169
1205
  * <p>The instance types to exclude. You can use strings with one or more wild cards,
1170
1206
  * represented by an asterisk (<code>*</code>), to exclude an instance family, type, size,
@@ -1181,7 +1217,7 @@ export interface InstanceRequirements {
1181
1217
  * <p>Default: No excluded instance types</p>
1182
1218
  * @public
1183
1219
  */
1184
- ExcludedInstanceTypes?: string[];
1220
+ ExcludedInstanceTypes?: string[] | undefined;
1185
1221
  /**
1186
1222
  * <p>Indicates whether current or previous generation instance types are included.</p>
1187
1223
  * <ul>
@@ -1199,7 +1235,7 @@ export interface InstanceRequirements {
1199
1235
  * <p>Default: Any current or previous generation</p>
1200
1236
  * @public
1201
1237
  */
1202
- InstanceGenerations?: InstanceGeneration[];
1238
+ InstanceGenerations?: InstanceGeneration[] | undefined;
1203
1239
  /**
1204
1240
  * <p>[Price protection] The price protection threshold for Spot Instances, as a percentage
1205
1241
  * higher than an identified Spot price. The identified Spot price is the price of the
@@ -1224,7 +1260,7 @@ export interface InstanceRequirements {
1224
1260
  * </note>
1225
1261
  * @public
1226
1262
  */
1227
- SpotMaxPricePercentageOverLowestPrice?: number;
1263
+ SpotMaxPricePercentageOverLowestPrice?: number | undefined;
1228
1264
  /**
1229
1265
  * <p>[Price protection] The price protection threshold for Spot Instances, as a percentage
1230
1266
  * of an identified On-Demand price. The identified On-Demand price is the price of the
@@ -1249,7 +1285,7 @@ export interface InstanceRequirements {
1249
1285
  * </note>
1250
1286
  * @public
1251
1287
  */
1252
- MaxSpotPriceAsPercentageOfOptimalOnDemandPrice?: number;
1288
+ MaxSpotPriceAsPercentageOfOptimalOnDemandPrice?: number | undefined;
1253
1289
  /**
1254
1290
  * <p>[Price protection] The price protection threshold for On-Demand Instances, as a
1255
1291
  * percentage higher than an identified On-Demand price. The identified On-Demand price is
@@ -1269,7 +1305,7 @@ export interface InstanceRequirements {
1269
1305
  * </p>
1270
1306
  * @public
1271
1307
  */
1272
- OnDemandMaxPricePercentageOverLowestPrice?: number;
1308
+ OnDemandMaxPricePercentageOverLowestPrice?: number | undefined;
1273
1309
  /**
1274
1310
  * <p>Indicates whether bare metal instance types are included, excluded, or
1275
1311
  * required.</p>
@@ -1277,7 +1313,7 @@ export interface InstanceRequirements {
1277
1313
  * </p>
1278
1314
  * @public
1279
1315
  */
1280
- BareMetal?: BareMetal;
1316
+ BareMetal?: BareMetal | undefined;
1281
1317
  /**
1282
1318
  * <p>Indicates whether burstable performance instance types are included, excluded, or
1283
1319
  * required. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html">Burstable
@@ -1286,7 +1322,7 @@ export interface InstanceRequirements {
1286
1322
  * </p>
1287
1323
  * @public
1288
1324
  */
1289
- BurstablePerformance?: BurstablePerformance;
1325
+ BurstablePerformance?: BurstablePerformance | undefined;
1290
1326
  /**
1291
1327
  * <p>Indicates whether instance types must provide On-Demand Instance hibernation
1292
1328
  * support.</p>
@@ -1294,13 +1330,13 @@ export interface InstanceRequirements {
1294
1330
  * </p>
1295
1331
  * @public
1296
1332
  */
1297
- RequireHibernateSupport?: boolean;
1333
+ RequireHibernateSupport?: boolean | undefined;
1298
1334
  /**
1299
1335
  * <p>The minimum and maximum number of network interfaces for an instance type.</p>
1300
1336
  * <p>Default: No minimum or maximum limits</p>
1301
1337
  * @public
1302
1338
  */
1303
- NetworkInterfaceCount?: NetworkInterfaceCountRequest;
1339
+ NetworkInterfaceCount?: NetworkInterfaceCountRequest | undefined;
1304
1340
  /**
1305
1341
  * <p>Indicates whether instance types with instance store volumes are included, excluded,
1306
1342
  * or required. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html">Amazon EC2 instance store</a> in
@@ -1309,7 +1345,7 @@ export interface InstanceRequirements {
1309
1345
  * </p>
1310
1346
  * @public
1311
1347
  */
1312
- LocalStorage?: LocalStorage;
1348
+ LocalStorage?: LocalStorage | undefined;
1313
1349
  /**
1314
1350
  * <p>Indicates the type of local storage that is required.</p>
1315
1351
  * <ul>
@@ -1325,13 +1361,13 @@ export interface InstanceRequirements {
1325
1361
  * <p>Default: Any local storage type</p>
1326
1362
  * @public
1327
1363
  */
1328
- LocalStorageTypes?: LocalStorageType[];
1364
+ LocalStorageTypes?: LocalStorageType[] | undefined;
1329
1365
  /**
1330
1366
  * <p>The minimum and maximum total local storage size for an instance type, in GB.</p>
1331
1367
  * <p>Default: No minimum or maximum limits</p>
1332
1368
  * @public
1333
1369
  */
1334
- TotalLocalStorageGB?: TotalLocalStorageGBRequest;
1370
+ TotalLocalStorageGB?: TotalLocalStorageGBRequest | undefined;
1335
1371
  /**
1336
1372
  * <p>The minimum and maximum baseline bandwidth performance for an instance type, in Mbps.
1337
1373
  * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html">Amazon EBS–optimized instances</a>
@@ -1339,7 +1375,7 @@ export interface InstanceRequirements {
1339
1375
  * <p>Default: No minimum or maximum limits</p>
1340
1376
  * @public
1341
1377
  */
1342
- BaselineEbsBandwidthMbps?: BaselineEbsBandwidthMbpsRequest;
1378
+ BaselineEbsBandwidthMbps?: BaselineEbsBandwidthMbpsRequest | undefined;
1343
1379
  /**
1344
1380
  * <p>Lists the accelerator types that must be on an instance type.</p>
1345
1381
  * <ul>
@@ -1357,7 +1393,7 @@ export interface InstanceRequirements {
1357
1393
  * <p>Default: Any accelerator type</p>
1358
1394
  * @public
1359
1395
  */
1360
- AcceleratorTypes?: AcceleratorType[];
1396
+ AcceleratorTypes?: AcceleratorType[] | undefined;
1361
1397
  /**
1362
1398
  * <p>The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web Services Inferentia
1363
1399
  * chips) for an instance type.</p>
@@ -1366,7 +1402,7 @@ export interface InstanceRequirements {
1366
1402
  * <p>Default: No minimum or maximum limits</p>
1367
1403
  * @public
1368
1404
  */
1369
- AcceleratorCount?: AcceleratorCountRequest;
1405
+ AcceleratorCount?: AcceleratorCountRequest | undefined;
1370
1406
  /**
1371
1407
  * <p>Indicates whether instance types must have accelerators by specific
1372
1408
  * manufacturers.</p>
@@ -1388,7 +1424,7 @@ export interface InstanceRequirements {
1388
1424
  * <p>Default: Any manufacturer</p>
1389
1425
  * @public
1390
1426
  */
1391
- AcceleratorManufacturers?: AcceleratorManufacturer[];
1427
+ AcceleratorManufacturers?: AcceleratorManufacturer[] | undefined;
1392
1428
  /**
1393
1429
  * <p>Lists the accelerators that must be on an instance type.</p>
1394
1430
  * <ul>
@@ -1418,21 +1454,21 @@ export interface InstanceRequirements {
1418
1454
  * <p>Default: Any accelerator</p>
1419
1455
  * @public
1420
1456
  */
1421
- AcceleratorNames?: AcceleratorName[];
1457
+ AcceleratorNames?: AcceleratorName[] | undefined;
1422
1458
  /**
1423
1459
  * <p>The minimum and maximum total memory size for the accelerators on an instance type, in
1424
1460
  * MiB.</p>
1425
1461
  * <p>Default: No minimum or maximum limits</p>
1426
1462
  * @public
1427
1463
  */
1428
- AcceleratorTotalMemoryMiB?: AcceleratorTotalMemoryMiBRequest;
1464
+ AcceleratorTotalMemoryMiB?: AcceleratorTotalMemoryMiBRequest | undefined;
1429
1465
  /**
1430
1466
  * <p>The minimum and maximum amount of network bandwidth, in gigabits per second
1431
1467
  * (Gbps).</p>
1432
1468
  * <p>Default: No minimum or maximum limits</p>
1433
1469
  * @public
1434
1470
  */
1435
- NetworkBandwidthGbps?: NetworkBandwidthGbpsRequest;
1471
+ NetworkBandwidthGbps?: NetworkBandwidthGbpsRequest | undefined;
1436
1472
  /**
1437
1473
  * <p>The instance types to apply your specified attributes against. All other instance
1438
1474
  * types are ignored, even if they match your specified attributes.</p>
@@ -1451,7 +1487,7 @@ export interface InstanceRequirements {
1451
1487
  * <p>Default: All instance types</p>
1452
1488
  * @public
1453
1489
  */
1454
- AllowedInstanceTypes?: string[];
1490
+ AllowedInstanceTypes?: string[] | undefined;
1455
1491
  }
1456
1492
  /**
1457
1493
  * <p>Use this structure to let Amazon EC2 Auto Scaling do the following when the Auto Scaling group has a mixed
@@ -1483,7 +1519,7 @@ export interface LaunchTemplateOverrides {
1483
1519
  * <p>You can specify up to 40 instance types per Auto Scaling group.</p>
1484
1520
  * @public
1485
1521
  */
1486
- InstanceType?: string;
1522
+ InstanceType?: string | undefined;
1487
1523
  /**
1488
1524
  * <p>If you provide a list of instance types to use, you can specify the number of capacity
1489
1525
  * units provided by each instance type in terms of virtual CPUs, memory, storage,
@@ -1506,7 +1542,7 @@ export interface LaunchTemplateOverrides {
1506
1542
  * </important>
1507
1543
  * @public
1508
1544
  */
1509
- WeightedCapacity?: string;
1545
+ WeightedCapacity?: string | undefined;
1510
1546
  /**
1511
1547
  * <p>Provides a launch template for the specified instance type or set of instance
1512
1548
  * requirements. For example, some instance types might require a launch template with a
@@ -1518,7 +1554,7 @@ export interface LaunchTemplateOverrides {
1518
1554
  * towards this limit.</p>
1519
1555
  * @public
1520
1556
  */
1521
- LaunchTemplateSpecification?: LaunchTemplateSpecification;
1557
+ LaunchTemplateSpecification?: LaunchTemplateSpecification | undefined;
1522
1558
  /**
1523
1559
  * <p>The instance requirements. Amazon EC2 Auto Scaling uses your specified requirements to identify
1524
1560
  * instance types. Then, it uses your On-Demand and Spot allocation strategies to launch
@@ -1534,7 +1570,7 @@ export interface LaunchTemplateOverrides {
1534
1570
  * </note>
1535
1571
  * @public
1536
1572
  */
1537
- InstanceRequirements?: InstanceRequirements;
1573
+ InstanceRequirements?: InstanceRequirements | undefined;
1538
1574
  }
1539
1575
  /**
1540
1576
  * <p>Use this structure to specify the launch templates and instance types (overrides) for
@@ -1546,13 +1582,13 @@ export interface LaunchTemplate {
1546
1582
  * <p>The launch template.</p>
1547
1583
  * @public
1548
1584
  */
1549
- LaunchTemplateSpecification?: LaunchTemplateSpecification;
1585
+ LaunchTemplateSpecification?: LaunchTemplateSpecification | undefined;
1550
1586
  /**
1551
1587
  * <p>Any properties that you specify override the same properties in the launch
1552
1588
  * template.</p>
1553
1589
  * @public
1554
1590
  */
1555
- Overrides?: LaunchTemplateOverrides[];
1591
+ Overrides?: LaunchTemplateOverrides[] | undefined;
1556
1592
  }
1557
1593
  /**
1558
1594
  * <p>Use this structure to launch multiple instance types and On-Demand Instances and Spot
@@ -1569,12 +1605,12 @@ export interface MixedInstancesPolicy {
1569
1605
  * launch EC2 instances to fulfill On-Demand and Spot capacities.</p>
1570
1606
  * @public
1571
1607
  */
1572
- LaunchTemplate?: LaunchTemplate;
1608
+ LaunchTemplate?: LaunchTemplate | undefined;
1573
1609
  /**
1574
1610
  * <p>The instances distribution.</p>
1575
1611
  * @public
1576
1612
  */
1577
- InstancesDistribution?: InstancesDistribution;
1613
+ InstancesDistribution?: InstancesDistribution | undefined;
1578
1614
  }
1579
1615
  /**
1580
1616
  * <p>Describes a tag for an Auto Scaling group.</p>
@@ -1585,13 +1621,13 @@ export interface Tag {
1585
1621
  * <p>The name of the Auto Scaling group.</p>
1586
1622
  * @public
1587
1623
  */
1588
- ResourceId?: string;
1624
+ ResourceId?: string | undefined;
1589
1625
  /**
1590
1626
  * <p>The type of resource. The only supported value is
1591
1627
  * <code>auto-scaling-group</code>.</p>
1592
1628
  * @public
1593
1629
  */
1594
- ResourceType?: string;
1630
+ ResourceType?: string | undefined;
1595
1631
  /**
1596
1632
  * <p>The tag key.</p>
1597
1633
  * @public
@@ -1601,13 +1637,13 @@ export interface Tag {
1601
1637
  * <p>The tag value.</p>
1602
1638
  * @public
1603
1639
  */
1604
- Value?: string;
1640
+ Value?: string | undefined;
1605
1641
  /**
1606
1642
  * <p>Determines whether the tag is added to new instances as they are launched in the
1607
1643
  * group.</p>
1608
1644
  * @public
1609
1645
  */
1610
- PropagateAtLaunch?: boolean;
1646
+ PropagateAtLaunch?: boolean | undefined;
1611
1647
  }
1612
1648
  /**
1613
1649
  * @public
@@ -1630,7 +1666,7 @@ export interface CreateAutoScalingGroupType {
1630
1666
  * (<code>LaunchConfigurationName</code> or <code>InstanceId</code>).</p>
1631
1667
  * @public
1632
1668
  */
1633
- LaunchConfigurationName?: string;
1669
+ LaunchConfigurationName?: string | undefined;
1634
1670
  /**
1635
1671
  * <p>Information used to specify the launch template and version to use to launch
1636
1672
  * instances. </p>
@@ -1645,14 +1681,14 @@ export interface CreateAutoScalingGroupType {
1645
1681
  * </note>
1646
1682
  * @public
1647
1683
  */
1648
- LaunchTemplate?: LaunchTemplateSpecification;
1684
+ LaunchTemplate?: LaunchTemplateSpecification | undefined;
1649
1685
  /**
1650
1686
  * <p>The mixed instances policy. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html">Auto Scaling
1651
1687
  * groups with multiple instance types and purchase options</a> in the
1652
1688
  * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
1653
1689
  * @public
1654
1690
  */
1655
- MixedInstancesPolicy?: MixedInstancesPolicy;
1691
+ MixedInstancesPolicy?: MixedInstancesPolicy | undefined;
1656
1692
  /**
1657
1693
  * <p>The ID of the instance used to base the launch configuration on. If specified, Amazon
1658
1694
  * EC2 Auto Scaling uses the configuration values from the specified instance to create a
@@ -1660,7 +1696,7 @@ export interface CreateAutoScalingGroupType {
1660
1696
  * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
1661
1697
  * @public
1662
1698
  */
1663
- InstanceId?: string;
1699
+ InstanceId?: string | undefined;
1664
1700
  /**
1665
1701
  * <p>The minimum size of the group.</p>
1666
1702
  * @public
@@ -1686,7 +1722,7 @@ export interface CreateAutoScalingGroupType {
1686
1722
  * specify a desired capacity, the default is the minimum size of the group.</p>
1687
1723
  * @public
1688
1724
  */
1689
- DesiredCapacity?: number;
1725
+ DesiredCapacity?: number | undefined;
1690
1726
  /**
1691
1727
  * <p>
1692
1728
  * <i>Only needed if you use simple scaling policies.</i>
@@ -1697,7 +1733,7 @@ export interface CreateAutoScalingGroupType {
1697
1733
  * <p>Default: <code>300</code> seconds</p>
1698
1734
  * @public
1699
1735
  */
1700
- DefaultCooldown?: number;
1736
+ DefaultCooldown?: number | undefined;
1701
1737
  /**
1702
1738
  * <p>A list of Availability Zones where instances in the Auto Scaling group can be created. Used
1703
1739
  * for launching into the default VPC subnet in each Availability Zone when not using the
@@ -1705,13 +1741,13 @@ export interface CreateAutoScalingGroupType {
1705
1741
  * an existing network interface ID is specified in a launch template.</p>
1706
1742
  * @public
1707
1743
  */
1708
- AvailabilityZones?: string[];
1744
+ AvailabilityZones?: string[] | undefined;
1709
1745
  /**
1710
1746
  * <p>A list of Classic Load Balancers associated with this Auto Scaling group. For Application Load Balancers, Network Load Balancers, and Gateway Load Balancers,
1711
1747
  * specify the <code>TargetGroupARNs</code> property instead.</p>
1712
1748
  * @public
1713
1749
  */
1714
- LoadBalancerNames?: string[];
1750
+ LoadBalancerNames?: string[] | undefined;
1715
1751
  /**
1716
1752
  * <p>The Amazon Resource Names (ARN) of the Elastic Load Balancing target groups to associate with the Auto Scaling
1717
1753
  * group. Instances are registered as targets with the target groups. The target groups
@@ -1721,7 +1757,7 @@ export interface CreateAutoScalingGroupType {
1721
1757
  * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
1722
1758
  * @public
1723
1759
  */
1724
- TargetGroupARNs?: string[];
1760
+ TargetGroupARNs?: string[] | undefined;
1725
1761
  /**
1726
1762
  * <p>A comma-separated value string of one or more health check types.</p>
1727
1763
  * <p>The valid values are <code>EC2</code>, <code>EBS</code>, <code>ELB</code>, and
@@ -1733,7 +1769,7 @@ export interface CreateAutoScalingGroupType {
1733
1769
  * set.</p>
1734
1770
  * @public
1735
1771
  */
1736
- HealthCheckType?: string;
1772
+ HealthCheckType?: string | undefined;
1737
1773
  /**
1738
1774
  * <p>The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status
1739
1775
  * of an EC2 instance that has come into service and marking it unhealthy due to a failed
@@ -1745,7 +1781,7 @@ export interface CreateAutoScalingGroupType {
1745
1781
  * <p>Default: <code>0</code> seconds</p>
1746
1782
  * @public
1747
1783
  */
1748
- HealthCheckGracePeriod?: number;
1784
+ HealthCheckGracePeriod?: number | undefined;
1749
1785
  /**
1750
1786
  * <p>The name of the placement group into which to launch your instances. For more
1751
1787
  * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html">Placement groups</a> in the
@@ -1757,7 +1793,7 @@ export interface CreateAutoScalingGroupType {
1757
1793
  * </note>
1758
1794
  * @public
1759
1795
  */
1760
- PlacementGroup?: string;
1796
+ PlacementGroup?: string | undefined;
1761
1797
  /**
1762
1798
  * <p>A comma-separated list of subnet IDs for a virtual private cloud (VPC) where instances
1763
1799
  * in the Auto Scaling group can be created. If you specify <code>VPCZoneIdentifier</code> with
@@ -1765,7 +1801,7 @@ export interface CreateAutoScalingGroupType {
1765
1801
  * Availability Zones.</p>
1766
1802
  * @public
1767
1803
  */
1768
- VPCZoneIdentifier?: string;
1804
+ VPCZoneIdentifier?: string | undefined;
1769
1805
  /**
1770
1806
  * <p>A policy or a list of policies that are used to select the instance to terminate.
1771
1807
  * These policies are executed in the order that you list them. For more information, see
@@ -1780,7 +1816,7 @@ export interface CreateAutoScalingGroupType {
1780
1816
  * </p>
1781
1817
  * @public
1782
1818
  */
1783
- TerminationPolicies?: string[];
1819
+ TerminationPolicies?: string[] | undefined;
1784
1820
  /**
1785
1821
  * <p>Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling
1786
1822
  * when scaling in. For more information about preventing instances from terminating on
@@ -1789,7 +1825,7 @@ export interface CreateAutoScalingGroupType {
1789
1825
  * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
1790
1826
  * @public
1791
1827
  */
1792
- NewInstancesProtectedFromScaleIn?: boolean;
1828
+ NewInstancesProtectedFromScaleIn?: boolean | undefined;
1793
1829
  /**
1794
1830
  * <p>Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity Rebalancing is
1795
1831
  * disabled. When you turn on Capacity Rebalancing, Amazon EC2 Auto Scaling attempts to launch a Spot
@@ -1799,13 +1835,13 @@ export interface CreateAutoScalingGroupType {
1799
1835
  * Rebalancing to handle Amazon EC2 Spot Interruptions</a> in the in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
1800
1836
  * @public
1801
1837
  */
1802
- CapacityRebalance?: boolean;
1838
+ CapacityRebalance?: boolean | undefined;
1803
1839
  /**
1804
1840
  * <p>One or more lifecycle hooks to add to the Auto Scaling group before instances are
1805
1841
  * launched.</p>
1806
1842
  * @public
1807
1843
  */
1808
- LifecycleHookSpecificationList?: LifecycleHookSpecification[];
1844
+ LifecycleHookSpecificationList?: LifecycleHookSpecification[] | undefined;
1809
1845
  /**
1810
1846
  * <p>One or more tags. You can tag your Auto Scaling group and propagate the tags to the Amazon EC2
1811
1847
  * instances it launches. Tags are not propagated to Amazon EBS volumes. To add tags to Amazon EBS
@@ -1816,7 +1852,7 @@ export interface CreateAutoScalingGroupType {
1816
1852
  * instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
1817
1853
  * @public
1818
1854
  */
1819
- Tags?: Tag[];
1855
+ Tags?: Tag[] | undefined;
1820
1856
  /**
1821
1857
  * <p>The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to
1822
1858
  * call other Amazon Web Services service on your behalf. By default, Amazon EC2 Auto Scaling uses a service-linked role
@@ -1825,7 +1861,7 @@ export interface CreateAutoScalingGroupType {
1825
1861
  * roles</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
1826
1862
  * @public
1827
1863
  */
1828
- ServiceLinkedRoleARN?: string;
1864
+ ServiceLinkedRoleARN?: string | undefined;
1829
1865
  /**
1830
1866
  * <p>The maximum amount of time, in seconds, that an instance can be in service. The
1831
1867
  * default is null. If specified, the value must be either 0 or a number equal to or
@@ -1833,12 +1869,12 @@ export interface CreateAutoScalingGroupType {
1833
1869
  * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
1834
1870
  * @public
1835
1871
  */
1836
- MaxInstanceLifetime?: number;
1872
+ MaxInstanceLifetime?: number | undefined;
1837
1873
  /**
1838
1874
  * <p>Reserved.</p>
1839
1875
  * @public
1840
1876
  */
1841
- Context?: string;
1877
+ Context?: string | undefined;
1842
1878
  /**
1843
1879
  * <p>The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling
1844
1880
  * supports <code>DesiredCapacityType</code> for attribute-based instance type selection
@@ -1850,7 +1886,7 @@ export interface CreateAutoScalingGroupType {
1850
1886
  * </p>
1851
1887
  * @public
1852
1888
  */
1853
- DesiredCapacityType?: string;
1889
+ DesiredCapacityType?: string | undefined;
1854
1890
  /**
1855
1891
  * <p>The amount of time, in seconds, until a new instance is considered to have finished
1856
1892
  * initializing and resource consumption to become stable after it enters the
@@ -1873,20 +1909,25 @@ export interface CreateAutoScalingGroupType {
1873
1909
  * <p>Default: None </p>
1874
1910
  * @public
1875
1911
  */
1876
- DefaultInstanceWarmup?: number;
1912
+ DefaultInstanceWarmup?: number | undefined;
1877
1913
  /**
1878
1914
  * <p>The list of traffic sources to attach to this Auto Scaling group. You can use any of the
1879
1915
  * following as traffic sources for an Auto Scaling group: Classic Load Balancer, Application Load Balancer, Gateway Load Balancer, Network Load Balancer, and
1880
1916
  * VPC Lattice.</p>
1881
1917
  * @public
1882
1918
  */
1883
- TrafficSources?: TrafficSourceIdentifier[];
1919
+ TrafficSources?: TrafficSourceIdentifier[] | undefined;
1884
1920
  /**
1885
1921
  * <p>An instance maintenance policy. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html">Set instance maintenance policy</a> in the
1886
1922
  * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
1887
1923
  * @public
1888
1924
  */
1889
- InstanceMaintenancePolicy?: InstanceMaintenancePolicy;
1925
+ InstanceMaintenancePolicy?: InstanceMaintenancePolicy | undefined;
1926
+ /**
1927
+ * <p>The instance capacity distribution across Availability Zones.</p>
1928
+ * @public
1929
+ */
1930
+ AvailabilityZoneDistribution?: AvailabilityZoneDistribution | undefined;
1890
1931
  }
1891
1932
  /**
1892
1933
  * <p>Describes information used to set up an Amazon EBS volume specified in a block device
@@ -1899,7 +1940,7 @@ export interface Ebs {
1899
1940
  * <p>You must specify either a <code>VolumeSize</code> or a <code>SnapshotId</code>.</p>
1900
1941
  * @public
1901
1942
  */
1902
- SnapshotId?: string;
1943
+ SnapshotId?: string | undefined;
1903
1944
  /**
1904
1945
  * <p>The volume size, in GiBs. The following are the supported volumes sizes for each
1905
1946
  * volume type: </p>
@@ -1926,7 +1967,7 @@ export interface Ebs {
1926
1967
  * be equal or greater than the size of the snapshot.</p>
1927
1968
  * @public
1928
1969
  */
1929
- VolumeSize?: number;
1970
+ VolumeSize?: number | undefined;
1930
1971
  /**
1931
1972
  * <p>The volume type. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html">Amazon EBS volume types</a> in the
1932
1973
  * <i>Amazon EBS User Guide</i>.</p>
@@ -1935,13 +1976,13 @@ export interface Ebs {
1935
1976
  * </p>
1936
1977
  * @public
1937
1978
  */
1938
- VolumeType?: string;
1979
+ VolumeType?: string | undefined;
1939
1980
  /**
1940
1981
  * <p>Indicates whether the volume is deleted on instance termination. For Amazon EC2 Auto Scaling, the
1941
1982
  * default value is <code>true</code>.</p>
1942
1983
  * @public
1943
1984
  */
1944
- DeleteOnTermination?: boolean;
1985
+ DeleteOnTermination?: boolean | undefined;
1945
1986
  /**
1946
1987
  * <p>The number of input/output (I/O) operations per second (IOPS) to provision for the
1947
1988
  * volume. For <code>gp3</code> and <code>io1</code> volumes, this represents the number of
@@ -1968,7 +2009,7 @@ export interface Ebs {
1968
2009
  * volumes.) </p>
1969
2010
  * @public
1970
2011
  */
1971
- Iops?: number;
2012
+ Iops?: number | undefined;
1972
2013
  /**
1973
2014
  * <p>Specifies whether the volume should be encrypted. Encrypted EBS volumes can only be
1974
2015
  * attached to instances that support Amazon EBS encryption. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-encryption-requirements.html">Requirements for Amazon EBS encryption</a> in the <i>Amazon EBS User Guide</i>. If your AMI uses encrypted volumes, you
@@ -1985,12 +2026,12 @@ export interface Ebs {
1985
2026
  * </note>
1986
2027
  * @public
1987
2028
  */
1988
- Encrypted?: boolean;
2029
+ Encrypted?: boolean | undefined;
1989
2030
  /**
1990
2031
  * <p>The throughput (MiBps) to provision for a <code>gp3</code> volume.</p>
1991
2032
  * @public
1992
2033
  */
1993
- Throughput?: number;
2034
+ Throughput?: number | undefined;
1994
2035
  }
1995
2036
  /**
1996
2037
  * <p>Describes a block device mapping.</p>
@@ -2004,7 +2045,7 @@ export interface BlockDeviceMapping {
2004
2045
  * <code>ephemeral0</code>.</p>
2005
2046
  * @public
2006
2047
  */
2007
- VirtualName?: string;
2048
+ VirtualName?: string | undefined;
2008
2049
  /**
2009
2050
  * <p>The device name assigned to the volume (for example, <code>/dev/sdh</code> or
2010
2051
  * <code>xvdh</code>). For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/device_naming.html">Device naming on Linux
@@ -2021,7 +2062,7 @@ export interface BlockDeviceMapping {
2021
2062
  * <p>Information to attach an EBS volume to an instance at launch.</p>
2022
2063
  * @public
2023
2064
  */
2024
- Ebs?: Ebs;
2065
+ Ebs?: Ebs | undefined;
2025
2066
  /**
2026
2067
  * <p>Setting this value to <code>true</code> prevents a volume that is included in the
2027
2068
  * block device mapping of the AMI from being mapped to the specified device name at
@@ -2030,7 +2071,7 @@ export interface BlockDeviceMapping {
2030
2071
  * fail the EC2 health check. In that case, Amazon EC2 Auto Scaling launches replacement instances.</p>
2031
2072
  * @public
2032
2073
  */
2033
- NoDevice?: boolean;
2074
+ NoDevice?: boolean | undefined;
2034
2075
  }
2035
2076
  /**
2036
2077
  * <p>Describes whether detailed monitoring is enabled for the Auto Scaling instances.</p>
@@ -2042,7 +2083,7 @@ export interface InstanceMonitoring {
2042
2083
  * enabled.</p>
2043
2084
  * @public
2044
2085
  */
2045
- Enabled?: boolean;
2086
+ Enabled?: boolean | undefined;
2046
2087
  }
2047
2088
  /**
2048
2089
  * @public
@@ -2088,14 +2129,14 @@ export interface InstanceMetadataOptions {
2088
2129
  * available.</p>
2089
2130
  * @public
2090
2131
  */
2091
- HttpTokens?: InstanceMetadataHttpTokensState;
2132
+ HttpTokens?: InstanceMetadataHttpTokensState | undefined;
2092
2133
  /**
2093
2134
  * <p>The desired HTTP PUT response hop limit for instance metadata requests. The larger the
2094
2135
  * number, the further instance metadata requests can travel.</p>
2095
2136
  * <p>Default: 1</p>
2096
2137
  * @public
2097
2138
  */
2098
- HttpPutResponseHopLimit?: number;
2139
+ HttpPutResponseHopLimit?: number | undefined;
2099
2140
  /**
2100
2141
  * <p>This parameter enables or disables the HTTP metadata endpoint on your instances. If
2101
2142
  * the parameter is not specified, the default state is <code>enabled</code>.</p>
@@ -2105,7 +2146,7 @@ export interface InstanceMetadataOptions {
2105
2146
  * </note>
2106
2147
  * @public
2107
2148
  */
2108
- HttpEndpoint?: InstanceMetadataEndpointState;
2149
+ HttpEndpoint?: InstanceMetadataEndpointState | undefined;
2109
2150
  }
2110
2151
  /**
2111
2152
  * @public
@@ -2125,13 +2166,13 @@ export interface CreateLaunchConfigurationType {
2125
2166
  * required.</p>
2126
2167
  * @public
2127
2168
  */
2128
- ImageId?: string;
2169
+ ImageId?: string | undefined;
2129
2170
  /**
2130
2171
  * <p>The name of the key pair. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html">Amazon EC2 key pairs and Amazon EC2
2131
2172
  * instances</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
2132
2173
  * @public
2133
2174
  */
2134
- KeyName?: string;
2175
+ KeyName?: string | undefined;
2135
2176
  /**
2136
2177
  * <p>A list that contains the security group IDs to assign to the instances in the Auto Scaling
2137
2178
  * group. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-security-groups.html">Control traffic to your Amazon Web Services
@@ -2139,17 +2180,17 @@ export interface CreateLaunchConfigurationType {
2139
2180
  * Cloud User Guide</i>.</p>
2140
2181
  * @public
2141
2182
  */
2142
- SecurityGroups?: string[];
2183
+ SecurityGroups?: string[] | undefined;
2143
2184
  /**
2144
2185
  * <p>Available for backward compatibility.</p>
2145
2186
  * @public
2146
2187
  */
2147
- ClassicLinkVPCId?: string;
2188
+ ClassicLinkVPCId?: string | undefined;
2148
2189
  /**
2149
2190
  * <p>Available for backward compatibility.</p>
2150
2191
  * @public
2151
2192
  */
2152
- ClassicLinkVPCSecurityGroups?: string[];
2193
+ ClassicLinkVPCSecurityGroups?: string[] | undefined;
2153
2194
  /**
2154
2195
  * <p>The user data to make available to the launched EC2 instances. For more information,
2155
2196
  * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html">Instance metadata and user data</a> (Linux) and <a href="https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html">Instance metadata and
@@ -2158,7 +2199,7 @@ export interface CreateLaunchConfigurationType {
2158
2199
  * base64-encoded text. User data is limited to 16 KB.</p>
2159
2200
  * @public
2160
2201
  */
2161
- UserData?: string;
2202
+ UserData?: string | undefined;
2162
2203
  /**
2163
2204
  * <p>The ID of the instance to use to create the launch configuration. The new launch
2164
2205
  * configuration derives attributes from the instance, except for the block device
@@ -2169,7 +2210,7 @@ export interface CreateLaunchConfigurationType {
2169
2210
  * configuration</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
2170
2211
  * @public
2171
2212
  */
2172
- InstanceId?: string;
2213
+ InstanceId?: string | undefined;
2173
2214
  /**
2174
2215
  * <p>Specifies the instance type of the EC2 instance. For information about available
2175
2216
  * instance types, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#AvailableInstanceTypes">Available
@@ -2178,7 +2219,7 @@ export interface CreateLaunchConfigurationType {
2178
2219
  * required.</p>
2179
2220
  * @public
2180
2221
  */
2181
- InstanceType?: string;
2222
+ InstanceType?: string | undefined;
2182
2223
  /**
2183
2224
  * <p>The ID of the kernel associated with the AMI.</p>
2184
2225
  * <note>
@@ -2188,7 +2229,7 @@ export interface CreateLaunchConfigurationType {
2188
2229
  * </note>
2189
2230
  * @public
2190
2231
  */
2191
- KernelId?: string;
2232
+ KernelId?: string | undefined;
2192
2233
  /**
2193
2234
  * <p>The ID of the RAM disk to select.</p>
2194
2235
  * <note>
@@ -2198,7 +2239,7 @@ export interface CreateLaunchConfigurationType {
2198
2239
  * </note>
2199
2240
  * @public
2200
2241
  */
2201
- RamdiskId?: string;
2242
+ RamdiskId?: string | undefined;
2202
2243
  /**
2203
2244
  * <p>The block device mapping entries that define the block devices to attach to the
2204
2245
  * instances at launch. By default, the block devices specified in the block device mapping
@@ -2206,7 +2247,7 @@ export interface CreateLaunchConfigurationType {
2206
2247
  * mappings</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
2207
2248
  * @public
2208
2249
  */
2209
- BlockDeviceMappings?: BlockDeviceMapping[];
2250
+ BlockDeviceMappings?: BlockDeviceMapping[] | undefined;
2210
2251
  /**
2211
2252
  * <p>Controls whether instances in this group are launched with detailed
2212
2253
  * (<code>true</code>) or basic (<code>false</code>) monitoring.</p>
@@ -2220,7 +2261,7 @@ export interface CreateLaunchConfigurationType {
2220
2261
  * </important>
2221
2262
  * @public
2222
2263
  */
2223
- InstanceMonitoring?: InstanceMonitoring;
2264
+ InstanceMonitoring?: InstanceMonitoring | undefined;
2224
2265
  /**
2225
2266
  * <p>The maximum hourly price to be paid for any Spot Instance launched to fulfill the
2226
2267
  * request. Spot Instances are launched when the price you specify exceeds the current Spot
@@ -2235,7 +2276,7 @@ export interface CreateLaunchConfigurationType {
2235
2276
  * </note>
2236
2277
  * @public
2237
2278
  */
2238
- SpotPrice?: string;
2279
+ SpotPrice?: string | undefined;
2239
2280
  /**
2240
2281
  * <p>The name or the Amazon Resource Name (ARN) of the instance profile associated with the
2241
2282
  * IAM role for the instance. The instance profile contains the IAM role. For more
@@ -2243,7 +2284,7 @@ export interface CreateLaunchConfigurationType {
2243
2284
  * on Amazon EC2 instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
2244
2285
  * @public
2245
2286
  */
2246
- IamInstanceProfile?: string;
2287
+ IamInstanceProfile?: string | undefined;
2247
2288
  /**
2248
2289
  * <p>Specifies whether the launch configuration is optimized for EBS I/O
2249
2290
  * (<code>true</code>) or not (<code>false</code>). The optimization provides dedicated
@@ -2255,7 +2296,7 @@ export interface CreateLaunchConfigurationType {
2255
2296
  * <p>The default value is <code>false</code>.</p>
2256
2297
  * @public
2257
2298
  */
2258
- EbsOptimized?: boolean;
2299
+ EbsOptimized?: boolean | undefined;
2259
2300
  /**
2260
2301
  * <p>Specifies whether to assign a public IPv4 address to the group's instances. If the
2261
2302
  * instance is launched into a default subnet, the default is to assign a public IPv4
@@ -2271,7 +2312,7 @@ export interface CreateLaunchConfigurationType {
2271
2312
  * <code>VPCZoneIdentifier</code> when you create your group.</p>
2272
2313
  * @public
2273
2314
  */
2274
- AssociatePublicIpAddress?: boolean;
2315
+ AssociatePublicIpAddress?: boolean | undefined;
2275
2316
  /**
2276
2317
  * <p>The tenancy of the instance, either <code>default</code> or <code>dedicated</code>. An
2277
2318
  * instance with <code>dedicated</code> tenancy runs on isolated, single-tenant hardware
@@ -2284,13 +2325,13 @@ export interface CreateLaunchConfigurationType {
2284
2325
  * </p>
2285
2326
  * @public
2286
2327
  */
2287
- PlacementTenancy?: string;
2328
+ PlacementTenancy?: string | undefined;
2288
2329
  /**
2289
2330
  * <p>The metadata options for the instances. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds">Configure the instance metadata options</a> in the
2290
2331
  * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
2291
2332
  * @public
2292
2333
  */
2293
- MetadataOptions?: InstanceMetadataOptions;
2334
+ MetadataOptions?: InstanceMetadataOptions | undefined;
2294
2335
  }
2295
2336
  /**
2296
2337
  * @public
@@ -2329,7 +2370,7 @@ export interface DeleteAutoScalingGroupType {
2329
2370
  * outstanding lifecycle actions associated with the group.</p>
2330
2371
  * @public
2331
2372
  */
2332
- ForceDelete?: boolean;
2373
+ ForceDelete?: boolean | undefined;
2333
2374
  }
2334
2375
  /**
2335
2376
  * <p>The operation can't be performed because there are scaling activities in
@@ -2397,7 +2438,7 @@ export interface DeletePolicyType {
2397
2438
  * <p>The name of the Auto Scaling group.</p>
2398
2439
  * @public
2399
2440
  */
2400
- AutoScalingGroupName?: string;
2441
+ AutoScalingGroupName?: string | undefined;
2401
2442
  /**
2402
2443
  * <p>The name or Amazon Resource Name (ARN) of the policy.</p>
2403
2444
  * @public
@@ -2450,7 +2491,7 @@ export interface DeleteWarmPoolType {
2450
2491
  * instances.</p>
2451
2492
  * @public
2452
2493
  */
2453
- ForceDelete?: boolean;
2494
+ ForceDelete?: boolean | undefined;
2454
2495
  }
2455
2496
  /**
2456
2497
  * @public
@@ -2461,23 +2502,23 @@ export interface DescribeAccountLimitsAnswer {
2461
2502
  * Region.</p>
2462
2503
  * @public
2463
2504
  */
2464
- MaxNumberOfAutoScalingGroups?: number;
2505
+ MaxNumberOfAutoScalingGroups?: number | undefined;
2465
2506
  /**
2466
2507
  * <p>The maximum number of launch configurations allowed for your account. The default is
2467
2508
  * 200 launch configurations per Region.</p>
2468
2509
  * @public
2469
2510
  */
2470
- MaxNumberOfLaunchConfigurations?: number;
2511
+ MaxNumberOfLaunchConfigurations?: number | undefined;
2471
2512
  /**
2472
2513
  * <p>The current number of groups for your account.</p>
2473
2514
  * @public
2474
2515
  */
2475
- NumberOfAutoScalingGroups?: number;
2516
+ NumberOfAutoScalingGroups?: number | undefined;
2476
2517
  /**
2477
2518
  * <p>The current number of launch configurations for your account.</p>
2478
2519
  * @public
2479
2520
  */
2480
- NumberOfLaunchConfigurations?: number;
2521
+ NumberOfLaunchConfigurations?: number | undefined;
2481
2522
  }
2482
2523
  /**
2483
2524
  * @public
@@ -2487,7 +2528,7 @@ export interface DescribeAdjustmentTypesAnswer {
2487
2528
  * <p>The policy adjustment types.</p>
2488
2529
  * @public
2489
2530
  */
2490
- AdjustmentTypes?: AdjustmentType[];
2531
+ AdjustmentTypes?: AdjustmentType[] | undefined;
2491
2532
  }
2492
2533
  /**
2493
2534
  * <p>Describes a filter that is used to return a more specific list of results from a
@@ -2558,7 +2599,7 @@ export interface Filter {
2558
2599
  * </ul>
2559
2600
  * @public
2560
2601
  */
2561
- Name?: string;
2602
+ Name?: string | undefined;
2562
2603
  /**
2563
2604
  * <p>One or more filter values. Filter values are case-sensitive. </p>
2564
2605
  * <p>If you specify multiple values for a filter, the values are automatically logically
@@ -2568,7 +2609,7 @@ export interface Filter {
2568
2609
  * "environment=production" or "environment=development".</p>
2569
2610
  * @public
2570
2611
  */
2571
- Values?: string[];
2612
+ Values?: string[] | undefined;
2572
2613
  }
2573
2614
  /**
2574
2615
  * @public
@@ -2580,25 +2621,25 @@ export interface AutoScalingGroupNamesType {
2580
2621
  * <p>If you omit this property, all Auto Scaling groups are described.</p>
2581
2622
  * @public
2582
2623
  */
2583
- AutoScalingGroupNames?: string[];
2624
+ AutoScalingGroupNames?: string[] | undefined;
2584
2625
  /**
2585
2626
  * <p>The token for the next set of items to return. (You received this token from a
2586
2627
  * previous call.)</p>
2587
2628
  * @public
2588
2629
  */
2589
- NextToken?: string;
2630
+ NextToken?: string | undefined;
2590
2631
  /**
2591
2632
  * <p>The maximum number of items to return with this call. The default value is
2592
2633
  * <code>50</code> and the maximum value is <code>100</code>.</p>
2593
2634
  * @public
2594
2635
  */
2595
- MaxRecords?: number;
2636
+ MaxRecords?: number | undefined;
2596
2637
  /**
2597
2638
  * <p>One or more filters to limit the results based on specific tags.
2598
2639
  * </p>
2599
2640
  * @public
2600
2641
  */
2601
- Filters?: Filter[];
2642
+ Filters?: Filter[] | undefined;
2602
2643
  }
2603
2644
  /**
2604
2645
  * <p>Describes an enabled Auto Scaling group metric.</p>
@@ -2713,12 +2754,12 @@ export interface EnabledMetric {
2713
2754
  * Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
2714
2755
  * @public
2715
2756
  */
2716
- Metric?: string;
2757
+ Metric?: string | undefined;
2717
2758
  /**
2718
2759
  * <p>The granularity of the metric. The only valid value is <code>1Minute</code>.</p>
2719
2760
  * @public
2720
2761
  */
2721
- Granularity?: string;
2762
+ Granularity?: string | undefined;
2722
2763
  }
2723
2764
  /**
2724
2765
  * @public
@@ -2767,7 +2808,7 @@ export interface Instance {
2767
2808
  * <p>The instance type of the EC2 instance.</p>
2768
2809
  * @public
2769
2810
  */
2770
- InstanceType?: string;
2811
+ InstanceType?: string | undefined;
2771
2812
  /**
2772
2813
  * <p>The Availability Zone in which the instance is running.</p>
2773
2814
  * @public
@@ -2791,12 +2832,12 @@ export interface Instance {
2791
2832
  * <p>The launch configuration associated with the instance.</p>
2792
2833
  * @public
2793
2834
  */
2794
- LaunchConfigurationName?: string;
2835
+ LaunchConfigurationName?: string | undefined;
2795
2836
  /**
2796
2837
  * <p>The launch template for the instance.</p>
2797
2838
  * @public
2798
2839
  */
2799
- LaunchTemplate?: LaunchTemplateSpecification;
2840
+ LaunchTemplate?: LaunchTemplateSpecification | undefined;
2800
2841
  /**
2801
2842
  * <p>Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling
2802
2843
  * in.</p>
@@ -2809,7 +2850,7 @@ export interface Instance {
2809
2850
  * <p>Valid Range: Minimum value of 1. Maximum value of 999.</p>
2810
2851
  * @public
2811
2852
  */
2812
- WeightedCapacity?: string;
2853
+ WeightedCapacity?: string | undefined;
2813
2854
  }
2814
2855
  /**
2815
2856
  * <p>Describes an auto scaling process that has been suspended.</p>
@@ -2822,12 +2863,12 @@ export interface SuspendedProcess {
2822
2863
  * <p>The name of the suspended process.</p>
2823
2864
  * @public
2824
2865
  */
2825
- ProcessName?: string;
2866
+ ProcessName?: string | undefined;
2826
2867
  /**
2827
2868
  * <p>The reason that the process was suspended.</p>
2828
2869
  * @public
2829
2870
  */
2830
- SuspensionReason?: string;
2871
+ SuspensionReason?: string | undefined;
2831
2872
  }
2832
2873
  /**
2833
2874
  * <p>Describes a tag for an Auto Scaling group.</p>
@@ -2838,29 +2879,29 @@ export interface TagDescription {
2838
2879
  * <p>The name of the group.</p>
2839
2880
  * @public
2840
2881
  */
2841
- ResourceId?: string;
2882
+ ResourceId?: string | undefined;
2842
2883
  /**
2843
2884
  * <p>The type of resource. The only supported value is
2844
2885
  * <code>auto-scaling-group</code>.</p>
2845
2886
  * @public
2846
2887
  */
2847
- ResourceType?: string;
2888
+ ResourceType?: string | undefined;
2848
2889
  /**
2849
2890
  * <p>The tag key.</p>
2850
2891
  * @public
2851
2892
  */
2852
- Key?: string;
2893
+ Key?: string | undefined;
2853
2894
  /**
2854
2895
  * <p>The tag value.</p>
2855
2896
  * @public
2856
2897
  */
2857
- Value?: string;
2898
+ Value?: string | undefined;
2858
2899
  /**
2859
2900
  * <p>Determines whether the tag is added to new instances as they are launched in the
2860
2901
  * group.</p>
2861
2902
  * @public
2862
2903
  */
2863
- PropagateAtLaunch?: boolean;
2904
+ PropagateAtLaunch?: boolean | undefined;
2864
2905
  }
2865
2906
  /**
2866
2907
  * <p>Describes an instance reuse policy for a warm pool. </p>
@@ -2874,7 +2915,7 @@ export interface InstanceReusePolicy {
2874
2915
  * scale in. </p>
2875
2916
  * @public
2876
2917
  */
2877
- ReuseOnScaleIn?: boolean;
2918
+ ReuseOnScaleIn?: boolean | undefined;
2878
2919
  }
2879
2920
  /**
2880
2921
  * @public
@@ -2910,27 +2951,27 @@ export interface WarmPoolConfiguration {
2910
2951
  * state except <code>Terminated</code> for the Auto Scaling group.</p>
2911
2952
  * @public
2912
2953
  */
2913
- MaxGroupPreparedCapacity?: number;
2954
+ MaxGroupPreparedCapacity?: number | undefined;
2914
2955
  /**
2915
2956
  * <p>The minimum number of instances to maintain in the warm pool.</p>
2916
2957
  * @public
2917
2958
  */
2918
- MinSize?: number;
2959
+ MinSize?: number | undefined;
2919
2960
  /**
2920
2961
  * <p>The instance state to transition to after the lifecycle actions are complete.</p>
2921
2962
  * @public
2922
2963
  */
2923
- PoolState?: WarmPoolState;
2964
+ PoolState?: WarmPoolState | undefined;
2924
2965
  /**
2925
2966
  * <p>The status of a warm pool that is marked for deletion.</p>
2926
2967
  * @public
2927
2968
  */
2928
- Status?: WarmPoolStatus;
2969
+ Status?: WarmPoolStatus | undefined;
2929
2970
  /**
2930
2971
  * <p>The instance reuse policy.</p>
2931
2972
  * @public
2932
2973
  */
2933
- InstanceReusePolicy?: InstanceReusePolicy;
2974
+ InstanceReusePolicy?: InstanceReusePolicy | undefined;
2934
2975
  }
2935
2976
  /**
2936
2977
  * <p>Describes an Auto Scaling group.</p>
@@ -2946,22 +2987,22 @@ export interface AutoScalingGroup {
2946
2987
  * <p>The Amazon Resource Name (ARN) of the Auto Scaling group.</p>
2947
2988
  * @public
2948
2989
  */
2949
- AutoScalingGroupARN?: string;
2990
+ AutoScalingGroupARN?: string | undefined;
2950
2991
  /**
2951
2992
  * <p>The name of the associated launch configuration.</p>
2952
2993
  * @public
2953
2994
  */
2954
- LaunchConfigurationName?: string;
2995
+ LaunchConfigurationName?: string | undefined;
2955
2996
  /**
2956
2997
  * <p>The launch template for the group.</p>
2957
2998
  * @public
2958
2999
  */
2959
- LaunchTemplate?: LaunchTemplateSpecification;
3000
+ LaunchTemplate?: LaunchTemplateSpecification | undefined;
2960
3001
  /**
2961
3002
  * <p>The mixed instances policy for the group.</p>
2962
3003
  * @public
2963
3004
  */
2964
- MixedInstancesPolicy?: MixedInstancesPolicy;
3005
+ MixedInstancesPolicy?: MixedInstancesPolicy | undefined;
2965
3006
  /**
2966
3007
  * <p>The minimum size of the group.</p>
2967
3008
  * @public
@@ -2981,7 +3022,7 @@ export interface AutoScalingGroup {
2981
3022
  * <p>The predicted capacity of the group when it has a predictive scaling policy.</p>
2982
3023
  * @public
2983
3024
  */
2984
- PredictedCapacity?: number;
3025
+ PredictedCapacity?: number | undefined;
2985
3026
  /**
2986
3027
  * <p>The duration of the default cooldown period, in seconds.</p>
2987
3028
  * @public
@@ -2996,12 +3037,12 @@ export interface AutoScalingGroup {
2996
3037
  * <p>One or more load balancers associated with the group.</p>
2997
3038
  * @public
2998
3039
  */
2999
- LoadBalancerNames?: string[];
3040
+ LoadBalancerNames?: string[] | undefined;
3000
3041
  /**
3001
3042
  * <p>The Amazon Resource Names (ARN) of the target groups for your load balancer.</p>
3002
3043
  * @public
3003
3044
  */
3004
- TargetGroupARNs?: string[];
3045
+ TargetGroupARNs?: string[] | undefined;
3005
3046
  /**
3006
3047
  * <p>A comma-separated value string of one or more health check types.</p>
3007
3048
  * @public
@@ -3011,12 +3052,12 @@ export interface AutoScalingGroup {
3011
3052
  * <p>The duration of the health check grace period, in seconds.</p>
3012
3053
  * @public
3013
3054
  */
3014
- HealthCheckGracePeriod?: number;
3055
+ HealthCheckGracePeriod?: number | undefined;
3015
3056
  /**
3016
3057
  * <p>The EC2 instances associated with the group.</p>
3017
3058
  * @public
3018
3059
  */
3019
- Instances?: Instance[];
3060
+ Instances?: Instance[] | undefined;
3020
3061
  /**
3021
3062
  * <p>The date and time the group was created.</p>
3022
3063
  * @public
@@ -3026,98 +3067,105 @@ export interface AutoScalingGroup {
3026
3067
  * <p>The suspended processes associated with the group.</p>
3027
3068
  * @public
3028
3069
  */
3029
- SuspendedProcesses?: SuspendedProcess[];
3070
+ SuspendedProcesses?: SuspendedProcess[] | undefined;
3030
3071
  /**
3031
3072
  * <p>The name of the placement group into which to launch your instances, if any.</p>
3032
3073
  * @public
3033
3074
  */
3034
- PlacementGroup?: string;
3075
+ PlacementGroup?: string | undefined;
3035
3076
  /**
3036
3077
  * <p>One or more subnet IDs, if applicable, separated by commas.</p>
3037
3078
  * @public
3038
3079
  */
3039
- VPCZoneIdentifier?: string;
3080
+ VPCZoneIdentifier?: string | undefined;
3040
3081
  /**
3041
3082
  * <p>The metrics enabled for the group.</p>
3042
3083
  * @public
3043
3084
  */
3044
- EnabledMetrics?: EnabledMetric[];
3085
+ EnabledMetrics?: EnabledMetric[] | undefined;
3045
3086
  /**
3046
3087
  * <p>The current state of the group when the <a href="https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DeleteAutoScalingGroup.html">DeleteAutoScalingGroup</a>
3047
3088
  * operation is in progress.</p>
3048
3089
  * @public
3049
3090
  */
3050
- Status?: string;
3091
+ Status?: string | undefined;
3051
3092
  /**
3052
3093
  * <p>The tags for the group.</p>
3053
3094
  * @public
3054
3095
  */
3055
- Tags?: TagDescription[];
3096
+ Tags?: TagDescription[] | undefined;
3056
3097
  /**
3057
3098
  * <p>The termination policies for the group.</p>
3058
3099
  * @public
3059
3100
  */
3060
- TerminationPolicies?: string[];
3101
+ TerminationPolicies?: string[] | undefined;
3061
3102
  /**
3062
3103
  * <p>Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling
3063
3104
  * when scaling in.</p>
3064
3105
  * @public
3065
3106
  */
3066
- NewInstancesProtectedFromScaleIn?: boolean;
3107
+ NewInstancesProtectedFromScaleIn?: boolean | undefined;
3067
3108
  /**
3068
3109
  * <p>The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to
3069
3110
  * call other Amazon Web Services on your behalf.</p>
3070
3111
  * @public
3071
3112
  */
3072
- ServiceLinkedRoleARN?: string;
3113
+ ServiceLinkedRoleARN?: string | undefined;
3073
3114
  /**
3074
3115
  * <p>The maximum amount of time, in seconds, that an instance can be in service.</p>
3075
3116
  * <p>Valid Range: Minimum value of 0.</p>
3076
3117
  * @public
3077
3118
  */
3078
- MaxInstanceLifetime?: number;
3119
+ MaxInstanceLifetime?: number | undefined;
3079
3120
  /**
3080
3121
  * <p>Indicates whether Capacity Rebalancing is enabled.</p>
3081
3122
  * @public
3082
3123
  */
3083
- CapacityRebalance?: boolean;
3124
+ CapacityRebalance?: boolean | undefined;
3084
3125
  /**
3085
3126
  * <p>The warm pool for the group.</p>
3086
3127
  * @public
3087
3128
  */
3088
- WarmPoolConfiguration?: WarmPoolConfiguration;
3129
+ WarmPoolConfiguration?: WarmPoolConfiguration | undefined;
3089
3130
  /**
3090
3131
  * <p>The current size of the warm pool.</p>
3091
3132
  * @public
3092
3133
  */
3093
- WarmPoolSize?: number;
3134
+ WarmPoolSize?: number | undefined;
3094
3135
  /**
3095
3136
  * <p>Reserved.</p>
3096
3137
  * @public
3097
3138
  */
3098
- Context?: string;
3139
+ Context?: string | undefined;
3099
3140
  /**
3100
3141
  * <p>The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling
3101
3142
  * supports <code>DesiredCapacityType</code> for attribute-based instance type selection
3102
3143
  * only.</p>
3103
3144
  * @public
3104
3145
  */
3105
- DesiredCapacityType?: string;
3146
+ DesiredCapacityType?: string | undefined;
3106
3147
  /**
3107
3148
  * <p>The duration of the default instance warmup, in seconds.</p>
3108
3149
  * @public
3109
3150
  */
3110
- DefaultInstanceWarmup?: number;
3151
+ DefaultInstanceWarmup?: number | undefined;
3111
3152
  /**
3112
3153
  * <p>The traffic sources associated with this Auto Scaling group.</p>
3113
3154
  * @public
3114
3155
  */
3115
- TrafficSources?: TrafficSourceIdentifier[];
3156
+ TrafficSources?: TrafficSourceIdentifier[] | undefined;
3116
3157
  /**
3117
3158
  * <p>An instance maintenance policy.</p>
3118
3159
  * @public
3119
3160
  */
3120
- InstanceMaintenancePolicy?: InstanceMaintenancePolicy;
3161
+ InstanceMaintenancePolicy?: InstanceMaintenancePolicy | undefined;
3162
+ /**
3163
+ * <p>
3164
+ * The instance capacity distribution across Availability Zones.
3165
+ * </p>
3166
+ * @public
3167
+ */
3168
+ AvailabilityZoneDistribution?: AvailabilityZoneDistribution | undefined;
3121
3169
  }
3122
3170
  /**
3123
3171
  * @public
@@ -3135,7 +3183,7 @@ export interface AutoScalingGroupsType {
3135
3183
  * null when there are no more items to return.</p>
3136
3184
  * @public
3137
3185
  */
3138
- NextToken?: string;
3186
+ NextToken?: string | undefined;
3139
3187
  }
3140
3188
  /**
3141
3189
  * <p>The <code>NextToken</code> value is not valid.</p>
@@ -3163,7 +3211,7 @@ export interface AutoScalingInstanceDetails {
3163
3211
  * <p>The instance type of the EC2 instance.</p>
3164
3212
  * @public
3165
3213
  */
3166
- InstanceType?: string;
3214
+ InstanceType?: string | undefined;
3167
3215
  /**
3168
3216
  * <p>The name of the Auto Scaling group for the instance.</p>
3169
3217
  * @public
@@ -3204,12 +3252,12 @@ export interface AutoScalingInstanceDetails {
3204
3252
  * you attached the instance to the Auto Scaling group.</p>
3205
3253
  * @public
3206
3254
  */
3207
- LaunchConfigurationName?: string;
3255
+ LaunchConfigurationName?: string | undefined;
3208
3256
  /**
3209
3257
  * <p>The launch template for the instance.</p>
3210
3258
  * @public
3211
3259
  */
3212
- LaunchTemplate?: LaunchTemplateSpecification;
3260
+ LaunchTemplate?: LaunchTemplateSpecification | undefined;
3213
3261
  /**
3214
3262
  * <p>Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling
3215
3263
  * in.</p>
@@ -3222,7 +3270,7 @@ export interface AutoScalingInstanceDetails {
3222
3270
  * <p>Valid Range: Minimum value of 1. Maximum value of 999.</p>
3223
3271
  * @public
3224
3272
  */
3225
- WeightedCapacity?: string;
3273
+ WeightedCapacity?: string | undefined;
3226
3274
  }
3227
3275
  /**
3228
3276
  * @public
@@ -3232,7 +3280,7 @@ export interface AutoScalingInstancesType {
3232
3280
  * <p>The instances.</p>
3233
3281
  * @public
3234
3282
  */
3235
- AutoScalingInstances?: AutoScalingInstanceDetails[];
3283
+ AutoScalingInstances?: AutoScalingInstanceDetails[] | undefined;
3236
3284
  /**
3237
3285
  * <p>A string that indicates that the response contains more items than can be returned in
3238
3286
  * a single response. To receive additional items, specify this string for the
@@ -3240,7 +3288,7 @@ export interface AutoScalingInstancesType {
3240
3288
  * null when there are no more items to return.</p>
3241
3289
  * @public
3242
3290
  */
3243
- NextToken?: string;
3291
+ NextToken?: string | undefined;
3244
3292
  }
3245
3293
  /**
3246
3294
  * @public
@@ -3252,19 +3300,19 @@ export interface DescribeAutoScalingInstancesType {
3252
3300
  * <p>Array Members: Maximum number of 50 items.</p>
3253
3301
  * @public
3254
3302
  */
3255
- InstanceIds?: string[];
3303
+ InstanceIds?: string[] | undefined;
3256
3304
  /**
3257
3305
  * <p>The maximum number of items to return with this call. The default value is
3258
3306
  * <code>50</code> and the maximum value is <code>50</code>.</p>
3259
3307
  * @public
3260
3308
  */
3261
- MaxRecords?: number;
3309
+ MaxRecords?: number | undefined;
3262
3310
  /**
3263
3311
  * <p>The token for the next set of items to return. (You received this token from a
3264
3312
  * previous call.)</p>
3265
3313
  * @public
3266
3314
  */
3267
- NextToken?: string;
3315
+ NextToken?: string | undefined;
3268
3316
  }
3269
3317
  /**
3270
3318
  * @public
@@ -3274,7 +3322,7 @@ export interface DescribeAutoScalingNotificationTypesAnswer {
3274
3322
  * <p>The notification types.</p>
3275
3323
  * @public
3276
3324
  */
3277
- AutoScalingNotificationTypes?: string[];
3325
+ AutoScalingNotificationTypes?: string[] | undefined;
3278
3326
  }
3279
3327
  /**
3280
3328
  * <p>Describes the desired configuration for an instance refresh. </p>
@@ -3289,7 +3337,7 @@ export interface DesiredConfiguration {
3289
3337
  * templates</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
3290
3338
  * @public
3291
3339
  */
3292
- LaunchTemplate?: LaunchTemplateSpecification;
3340
+ LaunchTemplate?: LaunchTemplateSpecification | undefined;
3293
3341
  /**
3294
3342
  * <p>Use this structure to launch multiple instance types and On-Demand Instances and Spot
3295
3343
  * Instances within a single Auto Scaling group.</p>
@@ -3299,7 +3347,7 @@ export interface DesiredConfiguration {
3299
3347
  * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
3300
3348
  * @public
3301
3349
  */
3302
- MixedInstancesPolicy?: MixedInstancesPolicy;
3350
+ MixedInstancesPolicy?: MixedInstancesPolicy | undefined;
3303
3351
  }
3304
3352
  /**
3305
3353
  * @public
@@ -3341,7 +3389,7 @@ export interface RefreshPreferences {
3341
3389
  * in the instance maintenance policy for the Auto Scaling group, if defined.</p>
3342
3390
  * @public
3343
3391
  */
3344
- MinHealthyPercentage?: number;
3392
+ MinHealthyPercentage?: number | undefined;
3345
3393
  /**
3346
3394
  * <p>A time period, in seconds, during which an instance refresh waits before moving on to
3347
3395
  * replacing the next instance after a new instance enters the <code>InService</code>
@@ -3356,7 +3404,7 @@ export interface RefreshPreferences {
3356
3404
  * cases), or the <code>HealthCheckGracePeriod</code> property otherwise.</p>
3357
3405
  * @public
3358
3406
  */
3359
- InstanceWarmup?: number;
3407
+ InstanceWarmup?: number | undefined;
3360
3408
  /**
3361
3409
  * <p>(Optional) Threshold values for each checkpoint in ascending order. Each number must
3362
3410
  * be unique. To replace all instances in the Auto Scaling group, the last number in the array must
@@ -3365,7 +3413,7 @@ export interface RefreshPreferences {
3365
3413
  * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
3366
3414
  * @public
3367
3415
  */
3368
- CheckpointPercentages?: number[];
3416
+ CheckpointPercentages?: number[] | undefined;
3369
3417
  /**
3370
3418
  * <p>(Optional) The amount of time, in seconds, to wait after a checkpoint before
3371
3419
  * continuing. This property is optional, but if you specify a value for it, you must also
@@ -3374,7 +3422,7 @@ export interface RefreshPreferences {
3374
3422
  * <code>CheckpointDelay</code> defaults to <code>3600</code> (1 hour). </p>
3375
3423
  * @public
3376
3424
  */
3377
- CheckpointDelay?: number;
3425
+ CheckpointDelay?: number | undefined;
3378
3426
  /**
3379
3427
  * <p>(Optional) Indicates whether skip matching is enabled. If enabled (<code>true</code>),
3380
3428
  * then Amazon EC2 Auto Scaling skips replacing instances that match the desired configuration. If no
@@ -3386,7 +3434,7 @@ export interface RefreshPreferences {
3386
3434
  * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
3387
3435
  * @public
3388
3436
  */
3389
- SkipMatching?: boolean;
3437
+ SkipMatching?: boolean | undefined;
3390
3438
  /**
3391
3439
  * <p>(Optional) Indicates whether to roll back the Auto Scaling group to its previous configuration
3392
3440
  * if the instance refresh fails or a CloudWatch alarm threshold is met. The default is
@@ -3409,7 +3457,7 @@ export interface RefreshPreferences {
3409
3457
  * rollback</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
3410
3458
  * @public
3411
3459
  */
3412
- AutoRollback?: boolean;
3460
+ AutoRollback?: boolean | undefined;
3413
3461
  /**
3414
3462
  * <p>Choose the behavior that you want Amazon EC2 Auto Scaling to use if instances protected from scale in
3415
3463
  * are found. </p>
@@ -3432,7 +3480,7 @@ export interface RefreshPreferences {
3432
3480
  * </dl>
3433
3481
  * @public
3434
3482
  */
3435
- ScaleInProtectedInstances?: ScaleInProtectedInstances;
3483
+ ScaleInProtectedInstances?: ScaleInProtectedInstances | undefined;
3436
3484
  /**
3437
3485
  * <p>Choose the behavior that you want Amazon EC2 Auto Scaling to use if instances in <code>Standby</code>
3438
3486
  * state are found.</p>
@@ -3455,13 +3503,13 @@ export interface RefreshPreferences {
3455
3503
  * </dl>
3456
3504
  * @public
3457
3505
  */
3458
- StandbyInstances?: StandbyInstances;
3506
+ StandbyInstances?: StandbyInstances | undefined;
3459
3507
  /**
3460
3508
  * <p>(Optional) The CloudWatch alarm specification. CloudWatch alarms can be used to identify any
3461
3509
  * issues and fail the operation if an alarm threshold is met.</p>
3462
3510
  * @public
3463
3511
  */
3464
- AlarmSpecification?: AlarmSpecification;
3512
+ AlarmSpecification?: AlarmSpecification | undefined;
3465
3513
  /**
3466
3514
  * <p>Specifies the maximum percentage of the group that can be in service and healthy, or
3467
3515
  * pending, to support your workload when replacing instances. The value is expressed as a
@@ -3474,14 +3522,14 @@ export interface RefreshPreferences {
3474
3522
  * in the instance maintenance policy for the Auto Scaling group, if defined.</p>
3475
3523
  * @public
3476
3524
  */
3477
- MaxHealthyPercentage?: number;
3525
+ MaxHealthyPercentage?: number | undefined;
3478
3526
  /**
3479
3527
  * <p>
3480
3528
  * The amount of time, in seconds, to wait at the end of an instance refresh before the instance refresh is considered complete.
3481
3529
  * </p>
3482
3530
  * @public
3483
3531
  */
3484
- BakeTime?: number;
3532
+ BakeTime?: number | undefined;
3485
3533
  }
3486
3534
  /**
3487
3535
  * <p>Reports progress on replacing instances that are in the Auto Scaling group.</p>
@@ -3496,12 +3544,12 @@ export interface InstanceRefreshLivePoolProgress {
3496
3544
  * complete.</p>
3497
3545
  * @public
3498
3546
  */
3499
- PercentageComplete?: number;
3547
+ PercentageComplete?: number | undefined;
3500
3548
  /**
3501
3549
  * <p>The number of instances remaining to update.</p>
3502
3550
  * @public
3503
3551
  */
3504
- InstancesToUpdate?: number;
3552
+ InstancesToUpdate?: number | undefined;
3505
3553
  }
3506
3554
  /**
3507
3555
  * <p>Reports progress on replacing instances that are in the warm pool.</p>
@@ -3516,12 +3564,12 @@ export interface InstanceRefreshWarmPoolProgress {
3516
3564
  * complete.</p>
3517
3565
  * @public
3518
3566
  */
3519
- PercentageComplete?: number;
3567
+ PercentageComplete?: number | undefined;
3520
3568
  /**
3521
3569
  * <p>The number of instances remaining to update.</p>
3522
3570
  * @public
3523
3571
  */
3524
- InstancesToUpdate?: number;
3572
+ InstancesToUpdate?: number | undefined;
3525
3573
  }
3526
3574
  /**
3527
3575
  * <p>Reports progress on replacing instances in an Auto Scaling group that has a warm pool. This
@@ -3534,12 +3582,12 @@ export interface InstanceRefreshProgressDetails {
3534
3582
  * <p>Reports progress on replacing instances that are in the Auto Scaling group.</p>
3535
3583
  * @public
3536
3584
  */
3537
- LivePoolProgress?: InstanceRefreshLivePoolProgress;
3585
+ LivePoolProgress?: InstanceRefreshLivePoolProgress | undefined;
3538
3586
  /**
3539
3587
  * <p>Reports progress on replacing instances that are in the warm pool.</p>
3540
3588
  * @public
3541
3589
  */
3542
- WarmPoolProgress?: InstanceRefreshWarmPoolProgress;
3590
+ WarmPoolProgress?: InstanceRefreshWarmPoolProgress | undefined;
3543
3591
  }
3544
3592
  /**
3545
3593
  * <p>Details about an instance refresh rollback.</p>
@@ -3551,31 +3599,31 @@ export interface RollbackDetails {
3551
3599
  * automatic rollback was initiated).</p>
3552
3600
  * @public
3553
3601
  */
3554
- RollbackReason?: string;
3602
+ RollbackReason?: string | undefined;
3555
3603
  /**
3556
3604
  * <p>The date and time at which the rollback began.</p>
3557
3605
  * @public
3558
3606
  */
3559
- RollbackStartTime?: Date;
3607
+ RollbackStartTime?: Date | undefined;
3560
3608
  /**
3561
3609
  * <p>Indicates the value of <code>PercentageComplete</code> at the time the rollback
3562
3610
  * started.</p>
3563
3611
  * @public
3564
3612
  */
3565
- PercentageCompleteOnRollback?: number;
3613
+ PercentageCompleteOnRollback?: number | undefined;
3566
3614
  /**
3567
3615
  * <p>Indicates the value of <code>InstancesToUpdate</code> at the time the rollback
3568
3616
  * started.</p>
3569
3617
  * @public
3570
3618
  */
3571
- InstancesToUpdateOnRollback?: number;
3619
+ InstancesToUpdateOnRollback?: number | undefined;
3572
3620
  /**
3573
3621
  * <p>Reports progress on replacing instances in an Auto Scaling group that has a warm pool. This
3574
3622
  * includes separate details for instances in the warm pool and instances in the Auto Scaling group
3575
3623
  * (the live pool).</p>
3576
3624
  * @public
3577
3625
  */
3578
- ProgressDetailsOnRollback?: InstanceRefreshProgressDetails;
3626
+ ProgressDetailsOnRollback?: InstanceRefreshProgressDetails | undefined;
3579
3627
  }
3580
3628
  /**
3581
3629
  * @public
@@ -3606,12 +3654,12 @@ export interface InstanceRefresh {
3606
3654
  * <p>The instance refresh ID.</p>
3607
3655
  * @public
3608
3656
  */
3609
- InstanceRefreshId?: string;
3657
+ InstanceRefreshId?: string | undefined;
3610
3658
  /**
3611
3659
  * <p>The name of the Auto Scaling group.</p>
3612
3660
  * @public
3613
3661
  */
3614
- AutoScalingGroupName?: string;
3662
+ AutoScalingGroupName?: string | undefined;
3615
3663
  /**
3616
3664
  * <p>The current status for the instance refresh operation:</p>
3617
3665
  * <ul>
@@ -3663,22 +3711,22 @@ export interface InstanceRefresh {
3663
3711
  * </ul>
3664
3712
  * @public
3665
3713
  */
3666
- Status?: InstanceRefreshStatus;
3714
+ Status?: InstanceRefreshStatus | undefined;
3667
3715
  /**
3668
3716
  * <p>The explanation for the specific status assigned to this operation.</p>
3669
3717
  * @public
3670
3718
  */
3671
- StatusReason?: string;
3719
+ StatusReason?: string | undefined;
3672
3720
  /**
3673
3721
  * <p>The date and time at which the instance refresh began.</p>
3674
3722
  * @public
3675
3723
  */
3676
- StartTime?: Date;
3724
+ StartTime?: Date | undefined;
3677
3725
  /**
3678
3726
  * <p>The date and time at which the instance refresh ended.</p>
3679
3727
  * @public
3680
3728
  */
3681
- EndTime?: Date;
3729
+ EndTime?: Date | undefined;
3682
3730
  /**
3683
3731
  * <p>The percentage of the instance refresh that is complete. For each instance
3684
3732
  * replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the
@@ -3692,7 +3740,7 @@ export interface InstanceRefresh {
3692
3740
  * </note>
3693
3741
  * @public
3694
3742
  */
3695
- PercentageComplete?: number;
3743
+ PercentageComplete?: number | undefined;
3696
3744
  /**
3697
3745
  * <p>The number of instances remaining to update before the instance refresh is
3698
3746
  * complete.</p>
@@ -3703,27 +3751,27 @@ export interface InstanceRefresh {
3703
3751
  * </note>
3704
3752
  * @public
3705
3753
  */
3706
- InstancesToUpdate?: number;
3754
+ InstancesToUpdate?: number | undefined;
3707
3755
  /**
3708
3756
  * <p>Additional progress details for an Auto Scaling group that has a warm pool.</p>
3709
3757
  * @public
3710
3758
  */
3711
- ProgressDetails?: InstanceRefreshProgressDetails;
3759
+ ProgressDetails?: InstanceRefreshProgressDetails | undefined;
3712
3760
  /**
3713
3761
  * <p>The preferences for an instance refresh.</p>
3714
3762
  * @public
3715
3763
  */
3716
- Preferences?: RefreshPreferences;
3764
+ Preferences?: RefreshPreferences | undefined;
3717
3765
  /**
3718
3766
  * <p>Describes the desired configuration for the instance refresh.</p>
3719
3767
  * @public
3720
3768
  */
3721
- DesiredConfiguration?: DesiredConfiguration;
3769
+ DesiredConfiguration?: DesiredConfiguration | undefined;
3722
3770
  /**
3723
3771
  * <p>The rollback details.</p>
3724
3772
  * @public
3725
3773
  */
3726
- RollbackDetails?: RollbackDetails;
3774
+ RollbackDetails?: RollbackDetails | undefined;
3727
3775
  }
3728
3776
  /**
3729
3777
  * @public
@@ -3734,7 +3782,7 @@ export interface DescribeInstanceRefreshesAnswer {
3734
3782
  * descending order.</p>
3735
3783
  * @public
3736
3784
  */
3737
- InstanceRefreshes?: InstanceRefresh[];
3785
+ InstanceRefreshes?: InstanceRefresh[] | undefined;
3738
3786
  /**
3739
3787
  * <p>A string that indicates that the response contains more items than can be returned in
3740
3788
  * a single response. To receive additional items, specify this string for the
@@ -3742,7 +3790,7 @@ export interface DescribeInstanceRefreshesAnswer {
3742
3790
  * null when there are no more items to return.</p>
3743
3791
  * @public
3744
3792
  */
3745
- NextToken?: string;
3793
+ NextToken?: string | undefined;
3746
3794
  }
3747
3795
  /**
3748
3796
  * @public
@@ -3757,19 +3805,19 @@ export interface DescribeInstanceRefreshesType {
3757
3805
  * <p>One or more instance refresh IDs.</p>
3758
3806
  * @public
3759
3807
  */
3760
- InstanceRefreshIds?: string[];
3808
+ InstanceRefreshIds?: string[] | undefined;
3761
3809
  /**
3762
3810
  * <p>The token for the next set of items to return. (You received this token from a
3763
3811
  * previous call.)</p>
3764
3812
  * @public
3765
3813
  */
3766
- NextToken?: string;
3814
+ NextToken?: string | undefined;
3767
3815
  /**
3768
3816
  * <p>The maximum number of items to return with this call. The default value is
3769
3817
  * <code>50</code> and the maximum value is <code>100</code>.</p>
3770
3818
  * @public
3771
3819
  */
3772
- MaxRecords?: number;
3820
+ MaxRecords?: number | undefined;
3773
3821
  }
3774
3822
  /**
3775
3823
  * @public
@@ -3781,19 +3829,19 @@ export interface LaunchConfigurationNamesType {
3781
3829
  * <p>Array Members: Maximum number of 50 items.</p>
3782
3830
  * @public
3783
3831
  */
3784
- LaunchConfigurationNames?: string[];
3832
+ LaunchConfigurationNames?: string[] | undefined;
3785
3833
  /**
3786
3834
  * <p>The token for the next set of items to return. (You received this token from a
3787
3835
  * previous call.)</p>
3788
3836
  * @public
3789
3837
  */
3790
- NextToken?: string;
3838
+ NextToken?: string | undefined;
3791
3839
  /**
3792
3840
  * <p>The maximum number of items to return with this call. The default value is
3793
3841
  * <code>50</code> and the maximum value is <code>100</code>.</p>
3794
3842
  * @public
3795
3843
  */
3796
- MaxRecords?: number;
3844
+ MaxRecords?: number | undefined;
3797
3845
  }
3798
3846
  /**
3799
3847
  * <p>Describes a launch configuration.</p>
@@ -3809,7 +3857,7 @@ export interface LaunchConfiguration {
3809
3857
  * <p>The Amazon Resource Name (ARN) of the launch configuration.</p>
3810
3858
  * @public
3811
3859
  */
3812
- LaunchConfigurationARN?: string;
3860
+ LaunchConfigurationARN?: string | undefined;
3813
3861
  /**
3814
3862
  * <p>The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. For more
3815
3863
  * information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/finding-an-ami.html">Find a Linux AMI</a> in the
@@ -3823,7 +3871,7 @@ export interface LaunchConfiguration {
3823
3871
  * instances</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
3824
3872
  * @public
3825
3873
  */
3826
- KeyName?: string;
3874
+ KeyName?: string | undefined;
3827
3875
  /**
3828
3876
  * <p>A list that contains the security groups to assign to the instances in the Auto Scaling group.
3829
3877
  * For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/vpc-security-groups.html">Control traffic to your Amazon Web Services
@@ -3831,17 +3879,17 @@ export interface LaunchConfiguration {
3831
3879
  * Cloud User Guide</i>.</p>
3832
3880
  * @public
3833
3881
  */
3834
- SecurityGroups?: string[];
3882
+ SecurityGroups?: string[] | undefined;
3835
3883
  /**
3836
3884
  * <p>Available for backward compatibility.</p>
3837
3885
  * @public
3838
3886
  */
3839
- ClassicLinkVPCId?: string;
3887
+ ClassicLinkVPCId?: string | undefined;
3840
3888
  /**
3841
3889
  * <p>Available for backward compatibility.</p>
3842
3890
  * @public
3843
3891
  */
3844
- ClassicLinkVPCSecurityGroups?: string[];
3892
+ ClassicLinkVPCSecurityGroups?: string[] | undefined;
3845
3893
  /**
3846
3894
  * <p>The user data to make available to the launched EC2 instances. For more information,
3847
3895
  * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html">Instance metadata and user data</a> (Linux) and <a href="https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ec2-instance-metadata.html">Instance metadata and
@@ -3850,7 +3898,7 @@ export interface LaunchConfiguration {
3850
3898
  * base64-encoded text. User data is limited to 16 KB.</p>
3851
3899
  * @public
3852
3900
  */
3853
- UserData?: string;
3901
+ UserData?: string | undefined;
3854
3902
  /**
3855
3903
  * <p>The instance type for the instances. For information about available instance types,
3856
3904
  * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html#AvailableInstanceTypes">Available
@@ -3862,12 +3910,12 @@ export interface LaunchConfiguration {
3862
3910
  * <p>The ID of the kernel associated with the AMI.</p>
3863
3911
  * @public
3864
3912
  */
3865
- KernelId?: string;
3913
+ KernelId?: string | undefined;
3866
3914
  /**
3867
3915
  * <p>The ID of the RAM disk associated with the AMI.</p>
3868
3916
  * @public
3869
3917
  */
3870
- RamdiskId?: string;
3918
+ RamdiskId?: string | undefined;
3871
3919
  /**
3872
3920
  * <p>The block device mapping entries that define the block devices to attach to the
3873
3921
  * instances at launch. By default, the block devices specified in the block device mapping
@@ -3875,7 +3923,7 @@ export interface LaunchConfiguration {
3875
3923
  * mappings</a> in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
3876
3924
  * @public
3877
3925
  */
3878
- BlockDeviceMappings?: BlockDeviceMapping[];
3926
+ BlockDeviceMappings?: BlockDeviceMapping[] | undefined;
3879
3927
  /**
3880
3928
  * <p>Controls whether instances in this group are launched with detailed
3881
3929
  * (<code>true</code>) or basic (<code>false</code>) monitoring.</p>
@@ -3884,7 +3932,7 @@ export interface LaunchConfiguration {
3884
3932
  * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
3885
3933
  * @public
3886
3934
  */
3887
- InstanceMonitoring?: InstanceMonitoring;
3935
+ InstanceMonitoring?: InstanceMonitoring | undefined;
3888
3936
  /**
3889
3937
  * <p>The maximum hourly price to be paid for any Spot Instance launched to fulfill the
3890
3938
  * request. Spot Instances are launched when the price you specify exceeds the current Spot
@@ -3892,7 +3940,7 @@ export interface LaunchConfiguration {
3892
3940
  * Instances for fault-tolerant and flexible applications</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
3893
3941
  * @public
3894
3942
  */
3895
- SpotPrice?: string;
3943
+ SpotPrice?: string | undefined;
3896
3944
  /**
3897
3945
  * <p>The name or the Amazon Resource Name (ARN) of the instance profile associated with the
3898
3946
  * IAM role for the instance. The instance profile contains the IAM role. For more
@@ -3900,7 +3948,7 @@ export interface LaunchConfiguration {
3900
3948
  * on Amazon EC2 instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
3901
3949
  * @public
3902
3950
  */
3903
- IamInstanceProfile?: string;
3951
+ IamInstanceProfile?: string | undefined;
3904
3952
  /**
3905
3953
  * <p>The creation date and time for the launch configuration.</p>
3906
3954
  * @public
@@ -3912,7 +3960,7 @@ export interface LaunchConfiguration {
3912
3960
  * <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
3913
3961
  * @public
3914
3962
  */
3915
- EbsOptimized?: boolean;
3963
+ EbsOptimized?: boolean | undefined;
3916
3964
  /**
3917
3965
  * <p>Specifies whether to assign a public IPv4 address to the group's instances. If the
3918
3966
  * instance is launched into a default subnet, the default is to assign a public IPv4
@@ -3924,20 +3972,20 @@ export interface LaunchConfiguration {
3924
3972
  * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
3925
3973
  * @public
3926
3974
  */
3927
- AssociatePublicIpAddress?: boolean;
3975
+ AssociatePublicIpAddress?: boolean | undefined;
3928
3976
  /**
3929
3977
  * <p>The tenancy of the instance, either <code>default</code> or <code>dedicated</code>. An
3930
3978
  * instance with <code>dedicated</code> tenancy runs on isolated, single-tenant hardware
3931
3979
  * and can only be launched into a VPC.</p>
3932
3980
  * @public
3933
3981
  */
3934
- PlacementTenancy?: string;
3982
+ PlacementTenancy?: string | undefined;
3935
3983
  /**
3936
3984
  * <p>The metadata options for the instances. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-config.html#launch-configurations-imds">Configure the instance metadata options</a> in the
3937
3985
  * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
3938
3986
  * @public
3939
3987
  */
3940
- MetadataOptions?: InstanceMetadataOptions;
3988
+ MetadataOptions?: InstanceMetadataOptions | undefined;
3941
3989
  }
3942
3990
  /**
3943
3991
  * @public
@@ -3955,7 +4003,7 @@ export interface LaunchConfigurationsType {
3955
4003
  * null when there are no more items to return.</p>
3956
4004
  * @public
3957
4005
  */
3958
- NextToken?: string;
4006
+ NextToken?: string | undefined;
3959
4007
  }
3960
4008
  /**
3961
4009
  * <p>Describes a lifecycle hook. A lifecycle hook lets you create solutions that are aware
@@ -3969,12 +4017,12 @@ export interface LifecycleHook {
3969
4017
  * <p>The name of the lifecycle hook.</p>
3970
4018
  * @public
3971
4019
  */
3972
- LifecycleHookName?: string;
4020
+ LifecycleHookName?: string | undefined;
3973
4021
  /**
3974
4022
  * <p>The name of the Auto Scaling group for the lifecycle hook.</p>
3975
4023
  * @public
3976
4024
  */
3977
- AutoScalingGroupName?: string;
4025
+ AutoScalingGroupName?: string | undefined;
3978
4026
  /**
3979
4027
  * <p>The lifecycle transition.</p>
3980
4028
  * <p>Valid values: <code>autoscaling:EC2_INSTANCE_LAUNCHING</code> |
@@ -3982,39 +4030,39 @@ export interface LifecycleHook {
3982
4030
  * </p>
3983
4031
  * @public
3984
4032
  */
3985
- LifecycleTransition?: string;
4033
+ LifecycleTransition?: string | undefined;
3986
4034
  /**
3987
4035
  * <p>The ARN of the target that Amazon EC2 Auto Scaling sends notifications to when an instance is in a
3988
4036
  * wait state for the lifecycle hook.</p>
3989
4037
  * @public
3990
4038
  */
3991
- NotificationTargetARN?: string;
4039
+ NotificationTargetARN?: string | undefined;
3992
4040
  /**
3993
4041
  * <p>The ARN of the IAM role that allows the Auto Scaling group to publish to the specified
3994
4042
  * notification target (an Amazon SNS topic or an Amazon SQS queue).</p>
3995
4043
  * @public
3996
4044
  */
3997
- RoleARN?: string;
4045
+ RoleARN?: string | undefined;
3998
4046
  /**
3999
4047
  * <p>Additional information that is included any time Amazon EC2 Auto Scaling sends a message to the
4000
4048
  * notification target.</p>
4001
4049
  * @public
4002
4050
  */
4003
- NotificationMetadata?: string;
4051
+ NotificationMetadata?: string | undefined;
4004
4052
  /**
4005
4053
  * <p>The maximum time, in seconds, that can elapse before the lifecycle hook times out. If
4006
4054
  * the lifecycle hook times out, Amazon EC2 Auto Scaling performs the action that you specified in the
4007
4055
  * <code>DefaultResult</code> property.</p>
4008
4056
  * @public
4009
4057
  */
4010
- HeartbeatTimeout?: number;
4058
+ HeartbeatTimeout?: number | undefined;
4011
4059
  /**
4012
4060
  * <p>The maximum time, in seconds, that an instance can remain in a wait state. The maximum
4013
4061
  * is 172800 seconds (48 hours) or 100 times <code>HeartbeatTimeout</code>, whichever is
4014
4062
  * smaller.</p>
4015
4063
  * @public
4016
4064
  */
4017
- GlobalTimeout?: number;
4065
+ GlobalTimeout?: number | undefined;
4018
4066
  /**
4019
4067
  * <p>The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an
4020
4068
  * unexpected failure occurs.</p>
@@ -4022,7 +4070,7 @@ export interface LifecycleHook {
4022
4070
  * </p>
4023
4071
  * @public
4024
4072
  */
4025
- DefaultResult?: string;
4073
+ DefaultResult?: string | undefined;
4026
4074
  }
4027
4075
  /**
4028
4076
  * @public
@@ -4032,7 +4080,7 @@ export interface DescribeLifecycleHooksAnswer {
4032
4080
  * <p>The lifecycle hooks for the specified group.</p>
4033
4081
  * @public
4034
4082
  */
4035
- LifecycleHooks?: LifecycleHook[];
4083
+ LifecycleHooks?: LifecycleHook[] | undefined;
4036
4084
  }
4037
4085
  /**
4038
4086
  * @public
@@ -4048,7 +4096,7 @@ export interface DescribeLifecycleHooksType {
4048
4096
  * hooks are described.</p>
4049
4097
  * @public
4050
4098
  */
4051
- LifecycleHookNames?: string[];
4099
+ LifecycleHookNames?: string[] | undefined;
4052
4100
  }
4053
4101
  /**
4054
4102
  * @public
@@ -4058,7 +4106,7 @@ export interface DescribeLifecycleHookTypesAnswer {
4058
4106
  * <p>The lifecycle hook types.</p>
4059
4107
  * @public
4060
4108
  */
4061
- LifecycleHookTypes?: string[];
4109
+ LifecycleHookTypes?: string[] | undefined;
4062
4110
  }
4063
4111
  /**
4064
4112
  * @public
@@ -4074,13 +4122,13 @@ export interface DescribeLoadBalancersRequest {
4074
4122
  * previous call.)</p>
4075
4123
  * @public
4076
4124
  */
4077
- NextToken?: string;
4125
+ NextToken?: string | undefined;
4078
4126
  /**
4079
4127
  * <p>The maximum number of items to return with this call. The default value is
4080
4128
  * <code>100</code> and the maximum value is <code>100</code>.</p>
4081
4129
  * @public
4082
4130
  */
4083
- MaxRecords?: number;
4131
+ MaxRecords?: number | undefined;
4084
4132
  }
4085
4133
  /**
4086
4134
  * <p>Describes the state of a Classic Load Balancer.</p>
@@ -4091,7 +4139,7 @@ export interface LoadBalancerState {
4091
4139
  * <p>The name of the load balancer.</p>
4092
4140
  * @public
4093
4141
  */
4094
- LoadBalancerName?: string;
4142
+ LoadBalancerName?: string | undefined;
4095
4143
  /**
4096
4144
  * <p>One of the following load balancer states:</p>
4097
4145
  * <ul>
@@ -4124,7 +4172,7 @@ export interface LoadBalancerState {
4124
4172
  * </ul>
4125
4173
  * @public
4126
4174
  */
4127
- State?: string;
4175
+ State?: string | undefined;
4128
4176
  }
4129
4177
  /**
4130
4178
  * @public
@@ -4134,7 +4182,7 @@ export interface DescribeLoadBalancersResponse {
4134
4182
  * <p>The load balancers.</p>
4135
4183
  * @public
4136
4184
  */
4137
- LoadBalancers?: LoadBalancerState[];
4185
+ LoadBalancers?: LoadBalancerState[] | undefined;
4138
4186
  /**
4139
4187
  * <p>A string that indicates that the response contains more items than can be returned in
4140
4188
  * a single response. To receive additional items, specify this string for the
@@ -4142,7 +4190,7 @@ export interface DescribeLoadBalancersResponse {
4142
4190
  * null when there are no more items to return.</p>
4143
4191
  * @public
4144
4192
  */
4145
- NextToken?: string;
4193
+ NextToken?: string | undefined;
4146
4194
  }
4147
4195
  /**
4148
4196
  * @public
@@ -4158,13 +4206,13 @@ export interface DescribeLoadBalancerTargetGroupsRequest {
4158
4206
  * previous call.)</p>
4159
4207
  * @public
4160
4208
  */
4161
- NextToken?: string;
4209
+ NextToken?: string | undefined;
4162
4210
  /**
4163
4211
  * <p>The maximum number of items to return with this call. The default value is
4164
4212
  * <code>100</code> and the maximum value is <code>100</code>.</p>
4165
4213
  * @public
4166
4214
  */
4167
- MaxRecords?: number;
4215
+ MaxRecords?: number | undefined;
4168
4216
  }
4169
4217
  /**
4170
4218
  * <p>Describes the state of a target group.</p>
@@ -4175,7 +4223,7 @@ export interface LoadBalancerTargetGroupState {
4175
4223
  * <p>The Amazon Resource Name (ARN) of the target group.</p>
4176
4224
  * @public
4177
4225
  */
4178
- LoadBalancerTargetGroupARN?: string;
4226
+ LoadBalancerTargetGroupARN?: string | undefined;
4179
4227
  /**
4180
4228
  * <p>The state of the target group.</p>
4181
4229
  * <ul>
@@ -4208,7 +4256,7 @@ export interface LoadBalancerTargetGroupState {
4208
4256
  * </ul>
4209
4257
  * @public
4210
4258
  */
4211
- State?: string;
4259
+ State?: string | undefined;
4212
4260
  }
4213
4261
  /**
4214
4262
  * @public
@@ -4218,7 +4266,7 @@ export interface DescribeLoadBalancerTargetGroupsResponse {
4218
4266
  * <p>Information about the target groups.</p>
4219
4267
  * @public
4220
4268
  */
4221
- LoadBalancerTargetGroups?: LoadBalancerTargetGroupState[];
4269
+ LoadBalancerTargetGroups?: LoadBalancerTargetGroupState[] | undefined;
4222
4270
  /**
4223
4271
  * <p>A string that indicates that the response contains more items than can be returned in
4224
4272
  * a single response. To receive additional items, specify this string for the
@@ -4226,7 +4274,7 @@ export interface DescribeLoadBalancerTargetGroupsResponse {
4226
4274
  * null when there are no more items to return.</p>
4227
4275
  * @public
4228
4276
  */
4229
- NextToken?: string;
4277
+ NextToken?: string | undefined;
4230
4278
  }
4231
4279
  /**
4232
4280
  * <p>Describes a granularity of a metric.</p>
@@ -4237,7 +4285,7 @@ export interface MetricGranularityType {
4237
4285
  * <p>The granularity. The only valid value is <code>1Minute</code>.</p>
4238
4286
  * @public
4239
4287
  */
4240
- Granularity?: string;
4288
+ Granularity?: string | undefined;
4241
4289
  }
4242
4290
  /**
4243
4291
  * <p>Describes a metric.</p>
@@ -4350,7 +4398,7 @@ export interface MetricCollectionType {
4350
4398
  * </ul>
4351
4399
  * @public
4352
4400
  */
4353
- Metric?: string;
4401
+ Metric?: string | undefined;
4354
4402
  }
4355
4403
  /**
4356
4404
  * @public
@@ -4360,12 +4408,12 @@ export interface DescribeMetricCollectionTypesAnswer {
4360
4408
  * <p>The metrics.</p>
4361
4409
  * @public
4362
4410
  */
4363
- Metrics?: MetricCollectionType[];
4411
+ Metrics?: MetricCollectionType[] | undefined;
4364
4412
  /**
4365
4413
  * <p>The granularities for the metrics.</p>
4366
4414
  * @public
4367
4415
  */
4368
- Granularities?: MetricGranularityType[];
4416
+ Granularities?: MetricGranularityType[] | undefined;
4369
4417
  }
4370
4418
  /**
4371
4419
  * <p>Describes a notification.</p>
@@ -4376,12 +4424,12 @@ export interface NotificationConfiguration {
4376
4424
  * <p>The name of the Auto Scaling group.</p>
4377
4425
  * @public
4378
4426
  */
4379
- AutoScalingGroupName?: string;
4427
+ AutoScalingGroupName?: string | undefined;
4380
4428
  /**
4381
4429
  * <p>The Amazon Resource Name (ARN) of the Amazon SNS topic.</p>
4382
4430
  * @public
4383
4431
  */
4384
- TopicARN?: string;
4432
+ TopicARN?: string | undefined;
4385
4433
  /**
4386
4434
  * <p>One of the following event notification types:</p>
4387
4435
  * <ul>
@@ -4413,7 +4461,7 @@ export interface NotificationConfiguration {
4413
4461
  * </ul>
4414
4462
  * @public
4415
4463
  */
4416
- NotificationType?: string;
4464
+ NotificationType?: string | undefined;
4417
4465
  }
4418
4466
  /**
4419
4467
  * @public
@@ -4431,7 +4479,7 @@ export interface DescribeNotificationConfigurationsAnswer {
4431
4479
  * null when there are no more items to return.</p>
4432
4480
  * @public
4433
4481
  */
4434
- NextToken?: string;
4482
+ NextToken?: string | undefined;
4435
4483
  }
4436
4484
  /**
4437
4485
  * @public
@@ -4441,19 +4489,19 @@ export interface DescribeNotificationConfigurationsType {
4441
4489
  * <p>The name of the Auto Scaling group.</p>
4442
4490
  * @public
4443
4491
  */
4444
- AutoScalingGroupNames?: string[];
4492
+ AutoScalingGroupNames?: string[] | undefined;
4445
4493
  /**
4446
4494
  * <p>The token for the next set of items to return. (You received this token from a
4447
4495
  * previous call.)</p>
4448
4496
  * @public
4449
4497
  */
4450
- NextToken?: string;
4498
+ NextToken?: string | undefined;
4451
4499
  /**
4452
4500
  * <p>The maximum number of items to return with this call. The default value is
4453
4501
  * <code>50</code> and the maximum value is <code>100</code>.</p>
4454
4502
  * @public
4455
4503
  */
4456
- MaxRecords?: number;
4504
+ MaxRecords?: number | undefined;
4457
4505
  }
4458
4506
  /**
4459
4507
  * @public
@@ -4463,7 +4511,7 @@ export interface DescribePoliciesType {
4463
4511
  * <p>The name of the Auto Scaling group.</p>
4464
4512
  * @public
4465
4513
  */
4466
- AutoScalingGroupName?: string;
4514
+ AutoScalingGroupName?: string | undefined;
4467
4515
  /**
4468
4516
  * <p>The names of one or more policies. If you omit this property, all policies are
4469
4517
  * described. If a group name is provided, the results are limited to that group. If you
@@ -4471,26 +4519,26 @@ export interface DescribePoliciesType {
4471
4519
  * <p>Array Members: Maximum number of 50 items.</p>
4472
4520
  * @public
4473
4521
  */
4474
- PolicyNames?: string[];
4522
+ PolicyNames?: string[] | undefined;
4475
4523
  /**
4476
4524
  * <p>One or more policy types. The valid values are <code>SimpleScaling</code>,
4477
4525
  * <code>StepScaling</code>, <code>TargetTrackingScaling</code>, and
4478
4526
  * <code>PredictiveScaling</code>.</p>
4479
4527
  * @public
4480
4528
  */
4481
- PolicyTypes?: string[];
4529
+ PolicyTypes?: string[] | undefined;
4482
4530
  /**
4483
4531
  * <p>The token for the next set of items to return. (You received this token from a
4484
4532
  * previous call.)</p>
4485
4533
  * @public
4486
4534
  */
4487
- NextToken?: string;
4535
+ NextToken?: string | undefined;
4488
4536
  /**
4489
4537
  * <p>The maximum number of items to be returned with each call. The default value is
4490
4538
  * <code>50</code> and the maximum value is <code>100</code>.</p>
4491
4539
  * @public
4492
4540
  */
4493
- MaxRecords?: number;
4541
+ MaxRecords?: number | undefined;
4494
4542
  }
4495
4543
  /**
4496
4544
  * @public
@@ -4546,7 +4594,7 @@ export interface Metric {
4546
4594
  * dimensions in your scaling policy.</p>
4547
4595
  * @public
4548
4596
  */
4549
- Dimensions?: MetricDimension[];
4597
+ Dimensions?: MetricDimension[] | undefined;
4550
4598
  }
4551
4599
  /**
4552
4600
  * <p>This structure defines the CloudWatch metric to return, along with the statistic and
@@ -4576,7 +4624,7 @@ export interface MetricStat {
4576
4624
  * data type in the <i>Amazon CloudWatch API Reference</i>.</p>
4577
4625
  * @public
4578
4626
  */
4579
- Unit?: string;
4627
+ Unit?: string | undefined;
4580
4628
  }
4581
4629
  /**
4582
4630
  * <p>The metric data to return. Also defines whether this call is returning data for one
@@ -4607,20 +4655,20 @@ export interface MetricDataQuery {
4607
4655
  * <code>Expression</code> or <code>MetricStat</code>, but not both.</p>
4608
4656
  * @public
4609
4657
  */
4610
- Expression?: string;
4658
+ Expression?: string | undefined;
4611
4659
  /**
4612
4660
  * <p>Information about the metric data to return.</p>
4613
4661
  * <p>Conditional: Within each <code>MetricDataQuery</code> object, you must specify either
4614
4662
  * <code>Expression</code> or <code>MetricStat</code>, but not both.</p>
4615
4663
  * @public
4616
4664
  */
4617
- MetricStat?: MetricStat;
4665
+ MetricStat?: MetricStat | undefined;
4618
4666
  /**
4619
4667
  * <p>A human-readable label for this metric or expression. This is especially useful if
4620
4668
  * this is a math expression, so that you know what the value represents.</p>
4621
4669
  * @public
4622
4670
  */
4623
- Label?: string;
4671
+ Label?: string | undefined;
4624
4672
  /**
4625
4673
  * <p>Indicates whether to return the timestamps and raw data values of this metric. </p>
4626
4674
  * <p>If you use any math expressions, specify <code>true</code> for this value for only the
@@ -4632,7 +4680,7 @@ export interface MetricDataQuery {
4632
4680
  * (<code>true</code>).</p>
4633
4681
  * @public
4634
4682
  */
4635
- ReturnData?: boolean;
4683
+ ReturnData?: boolean | undefined;
4636
4684
  }
4637
4685
  /**
4638
4686
  * <p>Describes a customized capacity metric for a predictive scaling policy.</p>
@@ -4724,7 +4772,7 @@ export interface PredictiveScalingPredefinedLoadMetric {
4724
4772
  * the <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html">DescribeTargetGroups</a> API operation.</p>
4725
4773
  * @public
4726
4774
  */
4727
- ResourceLabel?: string;
4775
+ ResourceLabel?: string | undefined;
4728
4776
  }
4729
4777
  /**
4730
4778
  * @public
@@ -4777,7 +4825,7 @@ export interface PredictiveScalingPredefinedMetricPair {
4777
4825
  * the <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html">DescribeTargetGroups</a> API operation.</p>
4778
4826
  * @public
4779
4827
  */
4780
- ResourceLabel?: string;
4828
+ ResourceLabel?: string | undefined;
4781
4829
  }
4782
4830
  /**
4783
4831
  * @public
@@ -4830,7 +4878,7 @@ export interface PredictiveScalingPredefinedScalingMetric {
4830
4878
  * the <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html">DescribeTargetGroups</a> API operation.</p>
4831
4879
  * @public
4832
4880
  */
4833
- ResourceLabel?: string;
4881
+ ResourceLabel?: string | undefined;
4834
4882
  }
4835
4883
  /**
4836
4884
  * <p>This structure specifies the metrics and target utilization settings for a predictive
@@ -4897,32 +4945,32 @@ export interface PredictiveScalingMetricSpecification {
4897
4945
  * appropriate scaling metric and load metric to use.</p>
4898
4946
  * @public
4899
4947
  */
4900
- PredefinedMetricPairSpecification?: PredictiveScalingPredefinedMetricPair;
4948
+ PredefinedMetricPairSpecification?: PredictiveScalingPredefinedMetricPair | undefined;
4901
4949
  /**
4902
4950
  * <p>The predefined scaling metric specification.</p>
4903
4951
  * @public
4904
4952
  */
4905
- PredefinedScalingMetricSpecification?: PredictiveScalingPredefinedScalingMetric;
4953
+ PredefinedScalingMetricSpecification?: PredictiveScalingPredefinedScalingMetric | undefined;
4906
4954
  /**
4907
4955
  * <p>The predefined load metric specification.</p>
4908
4956
  * @public
4909
4957
  */
4910
- PredefinedLoadMetricSpecification?: PredictiveScalingPredefinedLoadMetric;
4958
+ PredefinedLoadMetricSpecification?: PredictiveScalingPredefinedLoadMetric | undefined;
4911
4959
  /**
4912
4960
  * <p>The customized scaling metric specification.</p>
4913
4961
  * @public
4914
4962
  */
4915
- CustomizedScalingMetricSpecification?: PredictiveScalingCustomizedScalingMetric;
4963
+ CustomizedScalingMetricSpecification?: PredictiveScalingCustomizedScalingMetric | undefined;
4916
4964
  /**
4917
4965
  * <p>The customized load metric specification.</p>
4918
4966
  * @public
4919
4967
  */
4920
- CustomizedLoadMetricSpecification?: PredictiveScalingCustomizedLoadMetric;
4968
+ CustomizedLoadMetricSpecification?: PredictiveScalingCustomizedLoadMetric | undefined;
4921
4969
  /**
4922
4970
  * <p>The customized capacity metric specification.</p>
4923
4971
  * @public
4924
4972
  */
4925
- CustomizedCapacityMetricSpecification?: PredictiveScalingCustomizedCapacityMetric;
4973
+ CustomizedCapacityMetricSpecification?: PredictiveScalingCustomizedCapacityMetric | undefined;
4926
4974
  }
4927
4975
  /**
4928
4976
  * @public
@@ -4955,7 +5003,7 @@ export interface PredictiveScalingConfiguration {
4955
5003
  * specified.</p>
4956
5004
  * @public
4957
5005
  */
4958
- Mode?: PredictiveScalingMode;
5006
+ Mode?: PredictiveScalingMode | undefined;
4959
5007
  /**
4960
5008
  * <p>The amount of time, in seconds, by which the instance launch time can be advanced. For
4961
5009
  * example, the forecast says to add capacity at 10:00 AM, and you choose to pre-launch
@@ -4967,7 +5015,7 @@ export interface PredictiveScalingConfiguration {
4967
5015
  * minutes). Defaults to 300 seconds if not specified. </p>
4968
5016
  * @public
4969
5017
  */
4970
- SchedulingBufferTime?: number;
5018
+ SchedulingBufferTime?: number | undefined;
4971
5019
  /**
4972
5020
  * <p>Defines the behavior that should be applied if the forecast capacity approaches or
4973
5021
  * exceeds the maximum capacity of the Auto Scaling group. Defaults to
@@ -4998,7 +5046,7 @@ export interface PredictiveScalingConfiguration {
4998
5046
  * </important>
4999
5047
  * @public
5000
5048
  */
5001
- MaxCapacityBreachBehavior?: PredictiveScalingMaxCapacityBreachBehavior;
5049
+ MaxCapacityBreachBehavior?: PredictiveScalingMaxCapacityBreachBehavior | undefined;
5002
5050
  /**
5003
5051
  * <p>The size of the capacity buffer to use when the forecast capacity is close to or
5004
5052
  * exceeds the maximum capacity. The value is specified as a percentage relative to the
@@ -5011,7 +5059,7 @@ export interface PredictiveScalingConfiguration {
5011
5059
  * <code>IncreaseMaxCapacity</code>, and cannot be used otherwise.</p>
5012
5060
  * @public
5013
5061
  */
5014
- MaxCapacityBuffer?: number;
5062
+ MaxCapacityBuffer?: number | undefined;
5015
5063
  }
5016
5064
  /**
5017
5065
  * <p>Describes information used to create a step adjustment for a step scaling
@@ -5060,7 +5108,7 @@ export interface StepAdjustment {
5060
5108
  * value indicates negative infinity.</p>
5061
5109
  * @public
5062
5110
  */
5063
- MetricIntervalLowerBound?: number;
5111
+ MetricIntervalLowerBound?: number | undefined;
5064
5112
  /**
5065
5113
  * <p>The upper bound for the difference between the alarm threshold and the CloudWatch metric. If
5066
5114
  * the metric value is above the breach threshold, the upper bound is exclusive (the metric
@@ -5070,7 +5118,7 @@ export interface StepAdjustment {
5070
5118
  * <p>The upper bound must be greater than the lower bound.</p>
5071
5119
  * @public
5072
5120
  */
5073
- MetricIntervalUpperBound?: number;
5121
+ MetricIntervalUpperBound?: number | undefined;
5074
5122
  /**
5075
5123
  * <p>The amount by which to scale, based on the specified adjustment type. A positive value
5076
5124
  * adds to the current capacity while a negative number removes from the current capacity.
@@ -5105,7 +5153,7 @@ export interface TargetTrackingMetricStat {
5105
5153
  * data type in the <i>Amazon CloudWatch API Reference</i>.</p>
5106
5154
  * @public
5107
5155
  */
5108
- Unit?: string;
5156
+ Unit?: string | undefined;
5109
5157
  }
5110
5158
  /**
5111
5159
  * <p>The metric data to return. Also defines whether this call is returning data for one
@@ -5134,20 +5182,20 @@ export interface TargetTrackingMetricDataQuery {
5134
5182
  * specify either <code>Expression</code> or <code>MetricStat</code>, but not both.</p>
5135
5183
  * @public
5136
5184
  */
5137
- Expression?: string;
5185
+ Expression?: string | undefined;
5138
5186
  /**
5139
5187
  * <p>Information about the metric data to return.</p>
5140
5188
  * <p>Conditional: Within each <code>TargetTrackingMetricDataQuery</code> object, you must
5141
5189
  * specify either <code>Expression</code> or <code>MetricStat</code>, but not both.</p>
5142
5190
  * @public
5143
5191
  */
5144
- MetricStat?: TargetTrackingMetricStat;
5192
+ MetricStat?: TargetTrackingMetricStat | undefined;
5145
5193
  /**
5146
5194
  * <p>A human-readable label for this metric or expression. This is especially useful if
5147
5195
  * this is a math expression, so that you know what the value represents.</p>
5148
5196
  * @public
5149
5197
  */
5150
- Label?: string;
5198
+ Label?: string | undefined;
5151
5199
  /**
5152
5200
  * <p>Indicates whether to return the timestamps and raw data values of this metric. </p>
5153
5201
  * <p>If you use any math expressions, specify <code>true</code> for this value for only the
@@ -5159,7 +5207,7 @@ export interface TargetTrackingMetricDataQuery {
5159
5207
  * (<code>true</code>).</p>
5160
5208
  * @public
5161
5209
  */
5162
- ReturnData?: boolean;
5210
+ ReturnData?: boolean | undefined;
5163
5211
  }
5164
5212
  /**
5165
5213
  * @public
@@ -5211,37 +5259,37 @@ export interface CustomizedMetricSpecification {
5211
5259
  * that is returned by a call to <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html">ListMetrics</a>.</p>
5212
5260
  * @public
5213
5261
  */
5214
- MetricName?: string;
5262
+ MetricName?: string | undefined;
5215
5263
  /**
5216
5264
  * <p>The namespace of the metric.</p>
5217
5265
  * @public
5218
5266
  */
5219
- Namespace?: string;
5267
+ Namespace?: string | undefined;
5220
5268
  /**
5221
5269
  * <p>The dimensions of the metric.</p>
5222
5270
  * <p>Conditional: If you published your metric with dimensions, you must specify the same
5223
5271
  * dimensions in your scaling policy.</p>
5224
5272
  * @public
5225
5273
  */
5226
- Dimensions?: MetricDimension[];
5274
+ Dimensions?: MetricDimension[] | undefined;
5227
5275
  /**
5228
5276
  * <p>The statistic of the metric.</p>
5229
5277
  * @public
5230
5278
  */
5231
- Statistic?: MetricStatistic;
5279
+ Statistic?: MetricStatistic | undefined;
5232
5280
  /**
5233
5281
  * <p>The unit of the metric. For a complete list of the units that CloudWatch supports, see the
5234
5282
  * <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html">MetricDatum</a>
5235
5283
  * data type in the <i>Amazon CloudWatch API Reference</i>.</p>
5236
5284
  * @public
5237
5285
  */
5238
- Unit?: string;
5286
+ Unit?: string | undefined;
5239
5287
  /**
5240
5288
  * <p>The metrics to include in the target tracking scaling policy, as a metric data query.
5241
5289
  * This can include both raw metric and metric math expressions.</p>
5242
5290
  * @public
5243
5291
  */
5244
- Metrics?: TargetTrackingMetricDataQuery[];
5292
+ Metrics?: TargetTrackingMetricDataQuery[] | undefined;
5245
5293
  }
5246
5294
  /**
5247
5295
  * @public
@@ -5314,7 +5362,7 @@ export interface PredefinedMetricSpecification {
5314
5362
  * the <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_DescribeTargetGroups.html">DescribeTargetGroups</a> API operation.</p>
5315
5363
  * @public
5316
5364
  */
5317
- ResourceLabel?: string;
5365
+ ResourceLabel?: string | undefined;
5318
5366
  }
5319
5367
  /**
5320
5368
  * <p>Represents a target tracking scaling policy configuration to use with Amazon EC2 Auto Scaling.</p>
@@ -5326,13 +5374,13 @@ export interface TargetTrackingConfiguration {
5326
5374
  * metric.</p>
5327
5375
  * @public
5328
5376
  */
5329
- PredefinedMetricSpecification?: PredefinedMetricSpecification;
5377
+ PredefinedMetricSpecification?: PredefinedMetricSpecification | undefined;
5330
5378
  /**
5331
5379
  * <p>A customized metric. You must specify either a predefined metric or a customized
5332
5380
  * metric.</p>
5333
5381
  * @public
5334
5382
  */
5335
- CustomizedMetricSpecification?: CustomizedMetricSpecification;
5383
+ CustomizedMetricSpecification?: CustomizedMetricSpecification | undefined;
5336
5384
  /**
5337
5385
  * <p>The target value for the metric.</p>
5338
5386
  * <note>
@@ -5352,7 +5400,7 @@ export interface TargetTrackingConfiguration {
5352
5400
  * the Auto Scaling group. The default is <code>false</code>.</p>
5353
5401
  * @public
5354
5402
  */
5355
- DisableScaleIn?: boolean;
5403
+ DisableScaleIn?: boolean | undefined;
5356
5404
  }
5357
5405
  /**
5358
5406
  * <p>Describes a scaling policy.</p>
@@ -5363,17 +5411,17 @@ export interface ScalingPolicy {
5363
5411
  * <p>The name of the Auto Scaling group.</p>
5364
5412
  * @public
5365
5413
  */
5366
- AutoScalingGroupName?: string;
5414
+ AutoScalingGroupName?: string | undefined;
5367
5415
  /**
5368
5416
  * <p>The name of the scaling policy.</p>
5369
5417
  * @public
5370
5418
  */
5371
- PolicyName?: string;
5419
+ PolicyName?: string | undefined;
5372
5420
  /**
5373
5421
  * <p>The Amazon Resource Name (ARN) of the policy.</p>
5374
5422
  * @public
5375
5423
  */
5376
- PolicyARN?: string;
5424
+ PolicyARN?: string | undefined;
5377
5425
  /**
5378
5426
  * <p>One of the following policy types: </p>
5379
5427
  * <ul>
@@ -5402,14 +5450,14 @@ export interface ScalingPolicy {
5402
5450
  * policies</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
5403
5451
  * @public
5404
5452
  */
5405
- PolicyType?: string;
5453
+ PolicyType?: string | undefined;
5406
5454
  /**
5407
5455
  * <p>Specifies how the scaling adjustment is interpreted (for example, an absolute number
5408
5456
  * or a percentage). The valid values are <code>ChangeInCapacity</code>,
5409
5457
  * <code>ExactCapacity</code>, and <code>PercentChangeInCapacity</code>.</p>
5410
5458
  * @public
5411
5459
  */
5412
- AdjustmentType?: string;
5460
+ AdjustmentType?: string | undefined;
5413
5461
  /**
5414
5462
  * @deprecated
5415
5463
  *
@@ -5417,64 +5465,64 @@ export interface ScalingPolicy {
5417
5465
  * instead.</p>
5418
5466
  * @public
5419
5467
  */
5420
- MinAdjustmentStep?: number;
5468
+ MinAdjustmentStep?: number | undefined;
5421
5469
  /**
5422
5470
  * <p>The minimum value to scale by when the adjustment type is
5423
5471
  * <code>PercentChangeInCapacity</code>. </p>
5424
5472
  * @public
5425
5473
  */
5426
- MinAdjustmentMagnitude?: number;
5474
+ MinAdjustmentMagnitude?: number | undefined;
5427
5475
  /**
5428
5476
  * <p>The amount by which to scale, based on the specified adjustment type. A positive value
5429
5477
  * adds to the current capacity while a negative number removes from the current
5430
5478
  * capacity.</p>
5431
5479
  * @public
5432
5480
  */
5433
- ScalingAdjustment?: number;
5481
+ ScalingAdjustment?: number | undefined;
5434
5482
  /**
5435
5483
  * <p>The duration of the policy's cooldown period, in seconds.</p>
5436
5484
  * @public
5437
5485
  */
5438
- Cooldown?: number;
5486
+ Cooldown?: number | undefined;
5439
5487
  /**
5440
5488
  * <p>A set of adjustments that enable you to scale based on the size of the alarm
5441
5489
  * breach.</p>
5442
5490
  * @public
5443
5491
  */
5444
- StepAdjustments?: StepAdjustment[];
5492
+ StepAdjustments?: StepAdjustment[] | undefined;
5445
5493
  /**
5446
5494
  * <p>The aggregation type for the CloudWatch metrics. The valid values are <code>Minimum</code>,
5447
5495
  * <code>Maximum</code>, and <code>Average</code>.</p>
5448
5496
  * @public
5449
5497
  */
5450
- MetricAggregationType?: string;
5498
+ MetricAggregationType?: string | undefined;
5451
5499
  /**
5452
5500
  * <p>The estimated time, in seconds, until a newly launched instance can contribute to the
5453
5501
  * CloudWatch metrics.</p>
5454
5502
  * @public
5455
5503
  */
5456
- EstimatedInstanceWarmup?: number;
5504
+ EstimatedInstanceWarmup?: number | undefined;
5457
5505
  /**
5458
5506
  * <p>The CloudWatch alarms related to the policy.</p>
5459
5507
  * @public
5460
5508
  */
5461
- Alarms?: Alarm[];
5509
+ Alarms?: Alarm[] | undefined;
5462
5510
  /**
5463
5511
  * <p>A target tracking scaling policy.</p>
5464
5512
  * @public
5465
5513
  */
5466
- TargetTrackingConfiguration?: TargetTrackingConfiguration;
5514
+ TargetTrackingConfiguration?: TargetTrackingConfiguration | undefined;
5467
5515
  /**
5468
5516
  * <p>Indicates whether the policy is enabled (<code>true</code>) or disabled
5469
5517
  * (<code>false</code>).</p>
5470
5518
  * @public
5471
5519
  */
5472
- Enabled?: boolean;
5520
+ Enabled?: boolean | undefined;
5473
5521
  /**
5474
5522
  * <p>A predictive scaling policy.</p>
5475
5523
  * @public
5476
5524
  */
5477
- PredictiveScalingConfiguration?: PredictiveScalingConfiguration;
5525
+ PredictiveScalingConfiguration?: PredictiveScalingConfiguration | undefined;
5478
5526
  }
5479
5527
  /**
5480
5528
  * @public
@@ -5484,7 +5532,7 @@ export interface PoliciesType {
5484
5532
  * <p>The scaling policies.</p>
5485
5533
  * @public
5486
5534
  */
5487
- ScalingPolicies?: ScalingPolicy[];
5535
+ ScalingPolicies?: ScalingPolicy[] | undefined;
5488
5536
  /**
5489
5537
  * <p>A string that indicates that the response contains more items than can be returned in
5490
5538
  * a single response. To receive additional items, specify this string for the
@@ -5492,7 +5540,7 @@ export interface PoliciesType {
5492
5540
  * null when there are no more items to return.</p>
5493
5541
  * @public
5494
5542
  */
5495
- NextToken?: string;
5543
+ NextToken?: string | undefined;
5496
5544
  }
5497
5545
  /**
5498
5546
  * @public
@@ -5506,29 +5554,29 @@ export interface DescribeScalingActivitiesType {
5506
5554
  * <p>Array Members: Maximum number of 50 IDs.</p>
5507
5555
  * @public
5508
5556
  */
5509
- ActivityIds?: string[];
5557
+ ActivityIds?: string[] | undefined;
5510
5558
  /**
5511
5559
  * <p>The name of the Auto Scaling group.</p>
5512
5560
  * @public
5513
5561
  */
5514
- AutoScalingGroupName?: string;
5562
+ AutoScalingGroupName?: string | undefined;
5515
5563
  /**
5516
5564
  * <p>Indicates whether to include scaling activity from deleted Auto Scaling groups.</p>
5517
5565
  * @public
5518
5566
  */
5519
- IncludeDeletedGroups?: boolean;
5567
+ IncludeDeletedGroups?: boolean | undefined;
5520
5568
  /**
5521
5569
  * <p>The maximum number of items to return with this call. The default value is
5522
5570
  * <code>100</code> and the maximum value is <code>100</code>.</p>
5523
5571
  * @public
5524
5572
  */
5525
- MaxRecords?: number;
5573
+ MaxRecords?: number | undefined;
5526
5574
  /**
5527
5575
  * <p>The token for the next set of items to return. (You received this token from a
5528
5576
  * previous call.)</p>
5529
5577
  * @public
5530
5578
  */
5531
- NextToken?: string;
5579
+ NextToken?: string | undefined;
5532
5580
  }
5533
5581
  /**
5534
5582
  * <p>Describes a process type.</p>
@@ -5598,7 +5646,7 @@ export interface ProcessesType {
5598
5646
  * <p>The names of the process types.</p>
5599
5647
  * @public
5600
5648
  */
5601
- Processes?: ProcessType[];
5649
+ Processes?: ProcessType[] | undefined;
5602
5650
  }
5603
5651
  /**
5604
5652
  * @public
@@ -5608,7 +5656,7 @@ export interface DescribeScheduledActionsType {
5608
5656
  * <p>The name of the Auto Scaling group.</p>
5609
5657
  * @public
5610
5658
  */
5611
- AutoScalingGroupName?: string;
5659
+ AutoScalingGroupName?: string | undefined;
5612
5660
  /**
5613
5661
  * <p>The names of one or more scheduled actions. If you omit this property, all scheduled
5614
5662
  * actions are described. If you specify an unknown scheduled action, it is ignored with no
@@ -5616,31 +5664,31 @@ export interface DescribeScheduledActionsType {
5616
5664
  * <p>Array Members: Maximum number of 50 actions.</p>
5617
5665
  * @public
5618
5666
  */
5619
- ScheduledActionNames?: string[];
5667
+ ScheduledActionNames?: string[] | undefined;
5620
5668
  /**
5621
5669
  * <p>The earliest scheduled start time to return. If scheduled action names are provided,
5622
5670
  * this property is ignored.</p>
5623
5671
  * @public
5624
5672
  */
5625
- StartTime?: Date;
5673
+ StartTime?: Date | undefined;
5626
5674
  /**
5627
5675
  * <p>The latest scheduled start time to return. If scheduled action names are provided,
5628
5676
  * this property is ignored.</p>
5629
5677
  * @public
5630
5678
  */
5631
- EndTime?: Date;
5679
+ EndTime?: Date | undefined;
5632
5680
  /**
5633
5681
  * <p>The token for the next set of items to return. (You received this token from a
5634
5682
  * previous call.)</p>
5635
5683
  * @public
5636
5684
  */
5637
- NextToken?: string;
5685
+ NextToken?: string | undefined;
5638
5686
  /**
5639
5687
  * <p>The maximum number of items to return with this call. The default value is
5640
5688
  * <code>50</code> and the maximum value is <code>100</code>.</p>
5641
5689
  * @public
5642
5690
  */
5643
- MaxRecords?: number;
5691
+ MaxRecords?: number | undefined;
5644
5692
  }
5645
5693
  /**
5646
5694
  * <p>Describes a scheduled scaling
@@ -5652,34 +5700,34 @@ export interface ScheduledUpdateGroupAction {
5652
5700
  * <p>The name of the Auto Scaling group.</p>
5653
5701
  * @public
5654
5702
  */
5655
- AutoScalingGroupName?: string;
5703
+ AutoScalingGroupName?: string | undefined;
5656
5704
  /**
5657
5705
  * <p>The name of the scheduled action.</p>
5658
5706
  * @public
5659
5707
  */
5660
- ScheduledActionName?: string;
5708
+ ScheduledActionName?: string | undefined;
5661
5709
  /**
5662
5710
  * <p>The Amazon Resource Name (ARN) of the scheduled action.</p>
5663
5711
  * @public
5664
5712
  */
5665
- ScheduledActionARN?: string;
5713
+ ScheduledActionARN?: string | undefined;
5666
5714
  /**
5667
5715
  * <p>This property is no longer used.</p>
5668
5716
  * @public
5669
5717
  */
5670
- Time?: Date;
5718
+ Time?: Date | undefined;
5671
5719
  /**
5672
5720
  * <p>The date and time in UTC for this action to start. For example,
5673
5721
  * <code>"2019-06-01T00:00:00Z"</code>. </p>
5674
5722
  * @public
5675
5723
  */
5676
- StartTime?: Date;
5724
+ StartTime?: Date | undefined;
5677
5725
  /**
5678
5726
  * <p>The date and time in UTC for the recurring schedule to end. For example,
5679
5727
  * <code>"2019-06-01T00:00:00Z"</code>. </p>
5680
5728
  * @public
5681
5729
  */
5682
- EndTime?: Date;
5730
+ EndTime?: Date | undefined;
5683
5731
  /**
5684
5732
  * <p>The recurring schedule for the action, in Unix cron syntax format.</p>
5685
5733
  * <p>When <code>StartTime</code> and <code>EndTime</code> are specified with
@@ -5687,28 +5735,28 @@ export interface ScheduledUpdateGroupAction {
5687
5735
  * starts and stops.</p>
5688
5736
  * @public
5689
5737
  */
5690
- Recurrence?: string;
5738
+ Recurrence?: string | undefined;
5691
5739
  /**
5692
5740
  * <p>The minimum size of the Auto Scaling group.</p>
5693
5741
  * @public
5694
5742
  */
5695
- MinSize?: number;
5743
+ MinSize?: number | undefined;
5696
5744
  /**
5697
5745
  * <p>The maximum size of the Auto Scaling group.</p>
5698
5746
  * @public
5699
5747
  */
5700
- MaxSize?: number;
5748
+ MaxSize?: number | undefined;
5701
5749
  /**
5702
5750
  * <p>The desired capacity is the initial capacity of the Auto Scaling group after the scheduled
5703
5751
  * action runs and the capacity it attempts to maintain.</p>
5704
5752
  * @public
5705
5753
  */
5706
- DesiredCapacity?: number;
5754
+ DesiredCapacity?: number | undefined;
5707
5755
  /**
5708
5756
  * <p>The time zone for the cron expression.</p>
5709
5757
  * @public
5710
5758
  */
5711
- TimeZone?: string;
5759
+ TimeZone?: string | undefined;
5712
5760
  }
5713
5761
  /**
5714
5762
  * @public
@@ -5718,7 +5766,7 @@ export interface ScheduledActionsType {
5718
5766
  * <p>The scheduled actions.</p>
5719
5767
  * @public
5720
5768
  */
5721
- ScheduledUpdateGroupActions?: ScheduledUpdateGroupAction[];
5769
+ ScheduledUpdateGroupActions?: ScheduledUpdateGroupAction[] | undefined;
5722
5770
  /**
5723
5771
  * <p>A string that indicates that the response contains more items than can be returned in
5724
5772
  * a single response. To receive additional items, specify this string for the
@@ -5726,7 +5774,7 @@ export interface ScheduledActionsType {
5726
5774
  * null when there are no more items to return.</p>
5727
5775
  * @public
5728
5776
  */
5729
- NextToken?: string;
5777
+ NextToken?: string | undefined;
5730
5778
  }
5731
5779
  /**
5732
5780
  * @public
@@ -5737,19 +5785,19 @@ export interface DescribeTagsType {
5737
5785
  * filter type (for example, <code>auto-scaling-group</code>) is 1000.</p>
5738
5786
  * @public
5739
5787
  */
5740
- Filters?: Filter[];
5788
+ Filters?: Filter[] | undefined;
5741
5789
  /**
5742
5790
  * <p>The token for the next set of items to return. (You received this token from a
5743
5791
  * previous call.)</p>
5744
5792
  * @public
5745
5793
  */
5746
- NextToken?: string;
5794
+ NextToken?: string | undefined;
5747
5795
  /**
5748
5796
  * <p>The maximum number of items to return with this call. The default value is
5749
5797
  * <code>50</code> and the maximum value is <code>100</code>.</p>
5750
5798
  * @public
5751
5799
  */
5752
- MaxRecords?: number;
5800
+ MaxRecords?: number | undefined;
5753
5801
  }
5754
5802
  /**
5755
5803
  * @public
@@ -5759,7 +5807,7 @@ export interface TagsType {
5759
5807
  * <p>One or more tags.</p>
5760
5808
  * @public
5761
5809
  */
5762
- Tags?: TagDescription[];
5810
+ Tags?: TagDescription[] | undefined;
5763
5811
  /**
5764
5812
  * <p>A string that indicates that the response contains more items than can be returned in
5765
5813
  * a single response. To receive additional items, specify this string for the
@@ -5767,7 +5815,7 @@ export interface TagsType {
5767
5815
  * null when there are no more items to return.</p>
5768
5816
  * @public
5769
5817
  */
5770
- NextToken?: string;
5818
+ NextToken?: string | undefined;
5771
5819
  }
5772
5820
  /**
5773
5821
  * @public
@@ -5780,7 +5828,7 @@ export interface DescribeTerminationPolicyTypesAnswer {
5780
5828
  * <code>OldestLaunchTemplate</code>, and <code>AllocationStrategy</code>.</p>
5781
5829
  * @public
5782
5830
  */
5783
- TerminationPolicyTypes?: string[];
5831
+ TerminationPolicyTypes?: string[] | undefined;
5784
5832
  }
5785
5833
  /**
5786
5834
  * @public
@@ -5810,19 +5858,19 @@ export interface DescribeTrafficSourcesRequest {
5810
5858
  * </ul>
5811
5859
  * @public
5812
5860
  */
5813
- TrafficSourceType?: string;
5861
+ TrafficSourceType?: string | undefined;
5814
5862
  /**
5815
5863
  * <p>The token for the next set of items to return. (You received this token from a
5816
5864
  * previous call.)</p>
5817
5865
  * @public
5818
5866
  */
5819
- NextToken?: string;
5867
+ NextToken?: string | undefined;
5820
5868
  /**
5821
5869
  * <p>The maximum number of items to return with this call. The maximum value is
5822
5870
  * <code>50</code>.</p>
5823
5871
  * @public
5824
5872
  */
5825
- MaxRecords?: number;
5873
+ MaxRecords?: number | undefined;
5826
5874
  }
5827
5875
  /**
5828
5876
  * <p>Describes the state of a traffic source.</p>
@@ -5835,7 +5883,7 @@ export interface TrafficSourceState {
5835
5883
  * <p>This is replaced by <code>Identifier</code>.</p>
5836
5884
  * @public
5837
5885
  */
5838
- TrafficSource?: string;
5886
+ TrafficSource?: string | undefined;
5839
5887
  /**
5840
5888
  * <p>Describes the current state of a traffic source.</p>
5841
5889
  * <p>The state values are as follows:</p>
@@ -5871,12 +5919,12 @@ export interface TrafficSourceState {
5871
5919
  * </ul>
5872
5920
  * @public
5873
5921
  */
5874
- State?: string;
5922
+ State?: string | undefined;
5875
5923
  /**
5876
5924
  * <p>The unique identifier of the traffic source.</p>
5877
5925
  * @public
5878
5926
  */
5879
- Identifier?: string;
5927
+ Identifier?: string | undefined;
5880
5928
  /**
5881
5929
  * <p>Provides additional context for the value of <code>Identifier</code>.</p>
5882
5930
  * <p>The following lists the valid values:</p>
@@ -5899,7 +5947,7 @@ export interface TrafficSourceState {
5899
5947
  * <p>Required if the identifier is the name of a Classic Load Balancer.</p>
5900
5948
  * @public
5901
5949
  */
5902
- Type?: string;
5950
+ Type?: string | undefined;
5903
5951
  }
5904
5952
  /**
5905
5953
  * @public
@@ -5909,7 +5957,7 @@ export interface DescribeTrafficSourcesResponse {
5909
5957
  * <p>Information about the traffic sources.</p>
5910
5958
  * @public
5911
5959
  */
5912
- TrafficSources?: TrafficSourceState[];
5960
+ TrafficSources?: TrafficSourceState[] | undefined;
5913
5961
  /**
5914
5962
  * <p>This string indicates that the response contains more items than can be returned in a
5915
5963
  * single response. To receive additional items, specify this string for the
@@ -5917,7 +5965,7 @@ export interface DescribeTrafficSourcesResponse {
5917
5965
  * null when there are no more items to return.</p>
5918
5966
  * @public
5919
5967
  */
5920
- NextToken?: string;
5968
+ NextToken?: string | undefined;
5921
5969
  }
5922
5970
  /**
5923
5971
  * @public
@@ -5927,12 +5975,12 @@ export interface DescribeWarmPoolAnswer {
5927
5975
  * <p>The warm pool configuration details. </p>
5928
5976
  * @public
5929
5977
  */
5930
- WarmPoolConfiguration?: WarmPoolConfiguration;
5978
+ WarmPoolConfiguration?: WarmPoolConfiguration | undefined;
5931
5979
  /**
5932
5980
  * <p>The instances that are currently in the warm pool.</p>
5933
5981
  * @public
5934
5982
  */
5935
- Instances?: Instance[];
5983
+ Instances?: Instance[] | undefined;
5936
5984
  /**
5937
5985
  * <p>This string indicates that the response contains more items than can be returned in a
5938
5986
  * single response. To receive additional items, specify this string for the
@@ -5940,7 +5988,7 @@ export interface DescribeWarmPoolAnswer {
5940
5988
  * null when there are no more items to return.</p>
5941
5989
  * @public
5942
5990
  */
5943
- NextToken?: string;
5991
+ NextToken?: string | undefined;
5944
5992
  }
5945
5993
  /**
5946
5994
  * @public
@@ -5956,13 +6004,13 @@ export interface DescribeWarmPoolType {
5956
6004
  * <code>50</code>.</p>
5957
6005
  * @public
5958
6006
  */
5959
- MaxRecords?: number;
6007
+ MaxRecords?: number | undefined;
5960
6008
  /**
5961
6009
  * <p>The token for the next set of instances to return. (You received this token from a
5962
6010
  * previous call.)</p>
5963
6011
  * @public
5964
6012
  */
5965
- NextToken?: string;
6013
+ NextToken?: string | undefined;
5966
6014
  }
5967
6015
  /**
5968
6016
  * @public
@@ -5972,7 +6020,7 @@ export interface DetachInstancesAnswer {
5972
6020
  * <p>The activities related to detaching the instances from the Auto Scaling group.</p>
5973
6021
  * @public
5974
6022
  */
5975
- Activities?: Activity[];
6023
+ Activities?: Activity[] | undefined;
5976
6024
  }
5977
6025
  /**
5978
6026
  * @public
@@ -5982,7 +6030,7 @@ export interface DetachInstancesQuery {
5982
6030
  * <p>The IDs of the instances. You can specify up to 20 instances.</p>
5983
6031
  * @public
5984
6032
  */
5985
- InstanceIds?: string[];
6033
+ InstanceIds?: string[] | undefined;
5986
6034
  /**
5987
6035
  * <p>The name of the Auto Scaling group.</p>
5988
6036
  * @public
@@ -6176,7 +6224,7 @@ export interface DisableMetricsCollectionQuery {
6176
6224
  * Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
6177
6225
  * @public
6178
6226
  */
6179
- Metrics?: string[];
6227
+ Metrics?: string[] | undefined;
6180
6228
  }
6181
6229
  /**
6182
6230
  * @public
@@ -6298,7 +6346,7 @@ export interface EnableMetricsCollectionQuery {
6298
6346
  * Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
6299
6347
  * @public
6300
6348
  */
6301
- Metrics?: string[];
6349
+ Metrics?: string[] | undefined;
6302
6350
  /**
6303
6351
  * <p>The frequency at which Amazon EC2 Auto Scaling sends aggregated data to CloudWatch. The only valid value is
6304
6352
  * <code>1Minute</code>.</p>
@@ -6314,7 +6362,7 @@ export interface EnterStandbyAnswer {
6314
6362
  * <p>The activities related to moving instances into <code>Standby</code> mode.</p>
6315
6363
  * @public
6316
6364
  */
6317
- Activities?: Activity[];
6365
+ Activities?: Activity[] | undefined;
6318
6366
  }
6319
6367
  /**
6320
6368
  * @public
@@ -6324,7 +6372,7 @@ export interface EnterStandbyQuery {
6324
6372
  * <p>The IDs of the instances. You can specify up to 20 instances.</p>
6325
6373
  * @public
6326
6374
  */
6327
- InstanceIds?: string[];
6375
+ InstanceIds?: string[] | undefined;
6328
6376
  /**
6329
6377
  * <p>The name of the Auto Scaling group.</p>
6330
6378
  * @public
@@ -6345,7 +6393,7 @@ export interface ExecutePolicyType {
6345
6393
  * <p>The name of the Auto Scaling group.</p>
6346
6394
  * @public
6347
6395
  */
6348
- AutoScalingGroupName?: string;
6396
+ AutoScalingGroupName?: string | undefined;
6349
6397
  /**
6350
6398
  * <p>The name or ARN of the policy.</p>
6351
6399
  * @public
@@ -6359,7 +6407,7 @@ export interface ExecutePolicyType {
6359
6407
  * cooldowns for Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
6360
6408
  * @public
6361
6409
  */
6362
- HonorCooldown?: boolean;
6410
+ HonorCooldown?: boolean | undefined;
6363
6411
  /**
6364
6412
  * <p>The metric value to compare to <code>BreachThreshold</code>. This enables you to
6365
6413
  * execute a policy of type <code>StepScaling</code> and determine which step adjustment to
@@ -6372,14 +6420,14 @@ export interface ExecutePolicyType {
6372
6420
  * otherwise.</p>
6373
6421
  * @public
6374
6422
  */
6375
- MetricValue?: number;
6423
+ MetricValue?: number | undefined;
6376
6424
  /**
6377
6425
  * <p>The breach threshold for the alarm.</p>
6378
6426
  * <p>Required if the policy type is <code>StepScaling</code> and not supported
6379
6427
  * otherwise.</p>
6380
6428
  * @public
6381
6429
  */
6382
- BreachThreshold?: number;
6430
+ BreachThreshold?: number | undefined;
6383
6431
  }
6384
6432
  /**
6385
6433
  * @public
@@ -6389,7 +6437,7 @@ export interface ExitStandbyAnswer {
6389
6437
  * <p>The activities related to moving instances out of <code>Standby</code> mode.</p>
6390
6438
  * @public
6391
6439
  */
6392
- Activities?: Activity[];
6440
+ Activities?: Activity[] | undefined;
6393
6441
  }
6394
6442
  /**
6395
6443
  * @public
@@ -6399,7 +6447,7 @@ export interface ExitStandbyQuery {
6399
6447
  * <p>The IDs of the instances. You can specify up to 20 instances.</p>
6400
6448
  * @public
6401
6449
  */
6402
- InstanceIds?: string[];
6450
+ InstanceIds?: string[] | undefined;
6403
6451
  /**
6404
6452
  * <p>The name of the Auto Scaling group.</p>
6405
6453
  * @public
@@ -6533,7 +6581,7 @@ export interface PutLifecycleHookType {
6533
6581
  * <p>Required for new lifecycle hooks, but optional when updating existing hooks.</p>
6534
6582
  * @public
6535
6583
  */
6536
- LifecycleTransition?: string;
6584
+ LifecycleTransition?: string | undefined;
6537
6585
  /**
6538
6586
  * <p>The ARN of the IAM role that allows the Auto Scaling group to publish to the specified
6539
6587
  * notification target.</p>
@@ -6541,7 +6589,7 @@ export interface PutLifecycleHookType {
6541
6589
  * for new lifecycle hooks, but optional when updating existing hooks.</p>
6542
6590
  * @public
6543
6591
  */
6544
- RoleARN?: string;
6592
+ RoleARN?: string | undefined;
6545
6593
  /**
6546
6594
  * <p>The Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto Scaling uses to notify
6547
6595
  * you when an instance is in a wait state for the lifecycle hook. You can specify either
@@ -6554,20 +6602,20 @@ export interface PutLifecycleHookType {
6554
6602
  * "autoscaling:TEST_NOTIFICATION"</code>.</p>
6555
6603
  * @public
6556
6604
  */
6557
- NotificationTargetARN?: string;
6605
+ NotificationTargetARN?: string | undefined;
6558
6606
  /**
6559
6607
  * <p>Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to
6560
6608
  * the notification target.</p>
6561
6609
  * @public
6562
6610
  */
6563
- NotificationMetadata?: string;
6611
+ NotificationMetadata?: string | undefined;
6564
6612
  /**
6565
6613
  * <p>The maximum time, in seconds, that can elapse before the lifecycle hook times out. The
6566
6614
  * range is from <code>30</code> to <code>7200</code> seconds. The default value is
6567
6615
  * <code>3600</code> seconds (1 hour).</p>
6568
6616
  * @public
6569
6617
  */
6570
- HeartbeatTimeout?: number;
6618
+ HeartbeatTimeout?: number | undefined;
6571
6619
  /**
6572
6620
  * <p>The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an
6573
6621
  * unexpected failure occurs. The default value is <code>ABANDON</code>.</p>
@@ -6575,7 +6623,7 @@ export interface PutLifecycleHookType {
6575
6623
  * </p>
6576
6624
  * @public
6577
6625
  */
6578
- DefaultResult?: string;
6626
+ DefaultResult?: string | undefined;
6579
6627
  }
6580
6628
  /**
6581
6629
  * @public
@@ -6607,12 +6655,12 @@ export interface PolicyARNType {
6607
6655
  * <p>The Amazon Resource Name (ARN) of the policy.</p>
6608
6656
  * @public
6609
6657
  */
6610
- PolicyARN?: string;
6658
+ PolicyARN?: string | undefined;
6611
6659
  /**
6612
6660
  * <p>The CloudWatch alarms created for the target tracking scaling policy.</p>
6613
6661
  * @public
6614
6662
  */
6615
- Alarms?: Alarm[];
6663
+ Alarms?: Alarm[] | undefined;
6616
6664
  }
6617
6665
  /**
6618
6666
  * @public
@@ -6653,7 +6701,7 @@ export interface PutScalingPolicyType {
6653
6701
  * </ul>
6654
6702
  * @public
6655
6703
  */
6656
- PolicyType?: string;
6704
+ PolicyType?: string | undefined;
6657
6705
  /**
6658
6706
  * <p>Specifies how the scaling adjustment is interpreted (for example, an absolute number
6659
6707
  * or a percentage). The valid values are <code>ChangeInCapacity</code>,
@@ -6662,7 +6710,7 @@ export interface PutScalingPolicyType {
6662
6710
  * For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html#as-scaling-adjustment">Scaling adjustment types</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
6663
6711
  * @public
6664
6712
  */
6665
- AdjustmentType?: string;
6713
+ AdjustmentType?: string | undefined;
6666
6714
  /**
6667
6715
  * @deprecated
6668
6716
  *
@@ -6670,7 +6718,7 @@ export interface PutScalingPolicyType {
6670
6718
  * instead.</p>
6671
6719
  * @public
6672
6720
  */
6673
- MinAdjustmentStep?: number;
6721
+ MinAdjustmentStep?: number | undefined;
6674
6722
  /**
6675
6723
  * <p>The minimum value to scale by when the adjustment type is
6676
6724
  * <code>PercentChangeInCapacity</code>. For example, suppose that you create a step
@@ -6689,7 +6737,7 @@ export interface PutScalingPolicyType {
6689
6737
  * </note>
6690
6738
  * @public
6691
6739
  */
6692
- MinAdjustmentMagnitude?: number;
6740
+ MinAdjustmentMagnitude?: number | undefined;
6693
6741
  /**
6694
6742
  * <p>The amount by which to scale, based on the specified adjustment type. A positive value
6695
6743
  * adds to the current capacity while a negative number removes from the current capacity.
@@ -6698,7 +6746,7 @@ export interface PutScalingPolicyType {
6698
6746
  * policy type.) </p>
6699
6747
  * @public
6700
6748
  */
6701
- ScalingAdjustment?: number;
6749
+ ScalingAdjustment?: number | undefined;
6702
6750
  /**
6703
6751
  * <p>A cooldown period, in seconds, that applies to a specific simple scaling policy. When
6704
6752
  * a cooldown period is specified here, it overrides the default cooldown.</p>
@@ -6708,7 +6756,7 @@ export interface PutScalingPolicyType {
6708
6756
  * <p>Default: None</p>
6709
6757
  * @public
6710
6758
  */
6711
- Cooldown?: number;
6759
+ Cooldown?: number | undefined;
6712
6760
  /**
6713
6761
  * <p>The aggregation type for the CloudWatch metrics. The valid values are <code>Minimum</code>,
6714
6762
  * <code>Maximum</code>, and <code>Average</code>. If the aggregation type is null, the
@@ -6716,7 +6764,7 @@ export interface PutScalingPolicyType {
6716
6764
  * <p>Valid only if the policy type is <code>StepScaling</code>.</p>
6717
6765
  * @public
6718
6766
  */
6719
- MetricAggregationType?: string;
6767
+ MetricAggregationType?: string | undefined;
6720
6768
  /**
6721
6769
  * <p>A set of adjustments that enable you to scale based on the size of the alarm
6722
6770
  * breach.</p>
@@ -6724,7 +6772,7 @@ export interface PutScalingPolicyType {
6724
6772
  * policy type.) </p>
6725
6773
  * @public
6726
6774
  */
6727
- StepAdjustments?: StepAdjustment[];
6775
+ StepAdjustments?: StepAdjustment[] | undefined;
6728
6776
  /**
6729
6777
  * <p>
6730
6778
  * <i>Not needed if the default instance warmup is defined for the
@@ -6743,7 +6791,7 @@ export interface PutScalingPolicyType {
6743
6791
  * </note>
6744
6792
  * @public
6745
6793
  */
6746
- EstimatedInstanceWarmup?: number;
6794
+ EstimatedInstanceWarmup?: number | undefined;
6747
6795
  /**
6748
6796
  * <p>A target tracking scaling policy. Provides support for predefined or custom
6749
6797
  * metrics.</p>
@@ -6778,7 +6826,7 @@ export interface PutScalingPolicyType {
6778
6826
  * <p>Required if the policy type is <code>TargetTrackingScaling</code>.</p>
6779
6827
  * @public
6780
6828
  */
6781
- TargetTrackingConfiguration?: TargetTrackingConfiguration;
6829
+ TargetTrackingConfiguration?: TargetTrackingConfiguration | undefined;
6782
6830
  /**
6783
6831
  * <p>Indicates whether the scaling policy is enabled or disabled. The default is enabled.
6784
6832
  * For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-enable-disable-scaling-policy.html">Disable a
@@ -6786,7 +6834,7 @@ export interface PutScalingPolicyType {
6786
6834
  * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
6787
6835
  * @public
6788
6836
  */
6789
- Enabled?: boolean;
6837
+ Enabled?: boolean | undefined;
6790
6838
  /**
6791
6839
  * <p>A predictive scaling policy. Provides support for predefined and custom
6792
6840
  * metrics.</p>
@@ -6797,7 +6845,7 @@ export interface PutScalingPolicyType {
6797
6845
  * <p>Required if the policy type is <code>PredictiveScaling</code>.</p>
6798
6846
  * @public
6799
6847
  */
6800
- PredictiveScalingConfiguration?: PredictiveScalingConfiguration;
6848
+ PredictiveScalingConfiguration?: PredictiveScalingConfiguration | undefined;
6801
6849
  }
6802
6850
  /**
6803
6851
  * @public
@@ -6817,7 +6865,7 @@ export interface PutScheduledUpdateGroupActionType {
6817
6865
  * <p>This property is no longer used.</p>
6818
6866
  * @public
6819
6867
  */
6820
- Time?: Date;
6868
+ Time?: Date | undefined;
6821
6869
  /**
6822
6870
  * <p>The date and time for this action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT
6823
6871
  * only and in quotes (for example, <code>"2021-06-01T00:00:00Z"</code>).</p>
@@ -6826,13 +6874,13 @@ export interface PutScheduledUpdateGroupActionType {
6826
6874
  * recurrence.</p>
6827
6875
  * @public
6828
6876
  */
6829
- StartTime?: Date;
6877
+ StartTime?: Date | undefined;
6830
6878
  /**
6831
6879
  * <p>The date and time for the recurring schedule to end, in UTC. For example,
6832
6880
  * <code>"2021-06-01T00:00:00Z"</code>.</p>
6833
6881
  * @public
6834
6882
  */
6835
- EndTime?: Date;
6883
+ EndTime?: Date | undefined;
6836
6884
  /**
6837
6885
  * <p>The recurring schedule for this action. This format consists of five fields separated
6838
6886
  * by white spaces: [Minute] [Hour] [Day_of_Month] [Month_of_Year] [Day_of_Week]. The value
@@ -6844,17 +6892,17 @@ export interface PutScheduledUpdateGroupActionType {
6844
6892
  * <p>Cron expressions use Universal Coordinated Time (UTC) by default.</p>
6845
6893
  * @public
6846
6894
  */
6847
- Recurrence?: string;
6895
+ Recurrence?: string | undefined;
6848
6896
  /**
6849
6897
  * <p>The minimum size of the Auto Scaling group.</p>
6850
6898
  * @public
6851
6899
  */
6852
- MinSize?: number;
6900
+ MinSize?: number | undefined;
6853
6901
  /**
6854
6902
  * <p>The maximum size of the Auto Scaling group.</p>
6855
6903
  * @public
6856
6904
  */
6857
- MaxSize?: number;
6905
+ MaxSize?: number | undefined;
6858
6906
  /**
6859
6907
  * <p>The desired capacity is the initial capacity of the Auto Scaling group after the scheduled
6860
6908
  * action runs and the capacity it attempts to maintain. It can scale beyond this capacity
@@ -6865,7 +6913,7 @@ export interface PutScheduledUpdateGroupActionType {
6865
6913
  * </note>
6866
6914
  * @public
6867
6915
  */
6868
- DesiredCapacity?: number;
6916
+ DesiredCapacity?: number | undefined;
6869
6917
  /**
6870
6918
  * <p>Specifies the time zone for a cron expression. If a time zone is not provided, UTC is
6871
6919
  * used by default. </p>
@@ -6874,7 +6922,7 @@ export interface PutScheduledUpdateGroupActionType {
6874
6922
  * more information, see <a href="https://en.wikipedia.org/wiki/List_of_tz_database_time_zones">https://en.wikipedia.org/wiki/List_of_tz_database_time_zones</a>.</p>
6875
6923
  * @public
6876
6924
  */
6877
- TimeZone?: string;
6925
+ TimeZone?: string | undefined;
6878
6926
  }
6879
6927
  /**
6880
6928
  * @public
@@ -6911,27 +6959,27 @@ export interface PutWarmPoolType {
6911
6959
  * include the property but specify -1 for the value. </p>
6912
6960
  * @public
6913
6961
  */
6914
- MaxGroupPreparedCapacity?: number;
6962
+ MaxGroupPreparedCapacity?: number | undefined;
6915
6963
  /**
6916
6964
  * <p>Specifies the minimum number of instances to maintain in the warm pool. This helps you
6917
6965
  * to ensure that there is always a certain number of warmed instances available to handle
6918
6966
  * traffic spikes. Defaults to 0 if not specified.</p>
6919
6967
  * @public
6920
6968
  */
6921
- MinSize?: number;
6969
+ MinSize?: number | undefined;
6922
6970
  /**
6923
6971
  * <p>Sets the instance state to transition to after the lifecycle actions are complete.
6924
6972
  * Default is <code>Stopped</code>.</p>
6925
6973
  * @public
6926
6974
  */
6927
- PoolState?: WarmPoolState;
6975
+ PoolState?: WarmPoolState | undefined;
6928
6976
  /**
6929
6977
  * <p>Indicates whether instances in the Auto Scaling group can be returned to the warm pool on
6930
6978
  * scale in. The default is to terminate instances in the Auto Scaling group when the group scales
6931
6979
  * in.</p>
6932
6980
  * @public
6933
6981
  */
6934
- InstanceReusePolicy?: InstanceReusePolicy;
6982
+ InstanceReusePolicy?: InstanceReusePolicy | undefined;
6935
6983
  }
6936
6984
  /**
6937
6985
  * @public
@@ -6958,12 +7006,12 @@ export interface RecordLifecycleActionHeartbeatType {
6958
7006
  * you created the lifecycle hook.</p>
6959
7007
  * @public
6960
7008
  */
6961
- LifecycleActionToken?: string;
7009
+ LifecycleActionToken?: string | undefined;
6962
7010
  /**
6963
7011
  * <p>The ID of the instance.</p>
6964
7012
  * @public
6965
7013
  */
6966
- InstanceId?: string;
7014
+ InstanceId?: string | undefined;
6967
7015
  }
6968
7016
  /**
6969
7017
  * @public
@@ -7026,7 +7074,7 @@ export interface ScalingProcessQuery {
7026
7074
  * <p>If you omit this property, all processes are specified.</p>
7027
7075
  * @public
7028
7076
  */
7029
- ScalingProcesses?: string[];
7077
+ ScalingProcesses?: string[] | undefined;
7030
7078
  }
7031
7079
  /**
7032
7080
  * <p>The request failed because a desired configuration was not found or an incompatible
@@ -7052,7 +7100,7 @@ export interface RollbackInstanceRefreshAnswer {
7052
7100
  * the instance refresh when it was started.</p>
7053
7101
  * @public
7054
7102
  */
7055
- InstanceRefreshId?: string;
7103
+ InstanceRefreshId?: string | undefined;
7056
7104
  }
7057
7105
  /**
7058
7106
  * @public
@@ -7085,7 +7133,7 @@ export interface SetDesiredCapacityType {
7085
7133
  * not honor the cooldown period during manual scaling activities.</p>
7086
7134
  * @public
7087
7135
  */
7088
- HonorCooldown?: boolean;
7136
+ HonorCooldown?: boolean | undefined;
7089
7137
  }
7090
7138
  /**
7091
7139
  * @public
@@ -7112,7 +7160,7 @@ export interface SetInstanceHealthQuery {
7112
7160
  * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
7113
7161
  * @public
7114
7162
  */
7115
- ShouldRespectGracePeriod?: boolean;
7163
+ ShouldRespectGracePeriod?: boolean | undefined;
7116
7164
  }
7117
7165
  /**
7118
7166
  * @public
@@ -7161,7 +7209,7 @@ export interface StartInstanceRefreshAnswer {
7161
7209
  * <p>A unique ID for tracking the progress of the instance refresh.</p>
7162
7210
  * @public
7163
7211
  */
7164
- InstanceRefreshId?: string;
7212
+ InstanceRefreshId?: string | undefined;
7165
7213
  }
7166
7214
  /**
7167
7215
  * @public
@@ -7188,7 +7236,7 @@ export interface StartInstanceRefreshType {
7188
7236
  * <code>Rolling</code>.</p>
7189
7237
  * @public
7190
7238
  */
7191
- Strategy?: RefreshStrategy;
7239
+ Strategy?: RefreshStrategy | undefined;
7192
7240
  /**
7193
7241
  * <p>The desired configuration. For example, the desired configuration can specify a new
7194
7242
  * launch template or a new version of the current launch template.</p>
@@ -7204,7 +7252,7 @@ export interface StartInstanceRefreshType {
7204
7252
  * </note>
7205
7253
  * @public
7206
7254
  */
7207
- DesiredConfiguration?: DesiredConfiguration;
7255
+ DesiredConfiguration?: DesiredConfiguration | undefined;
7208
7256
  /**
7209
7257
  * <p>Sets your preferences for the instance refresh so that it performs as expected when
7210
7258
  * you start it. Includes the instance warmup time, the minimum and maximum healthy
@@ -7230,7 +7278,7 @@ export interface StartInstanceRefreshType {
7230
7278
  * </ul>
7231
7279
  * @public
7232
7280
  */
7233
- Preferences?: RefreshPreferences;
7281
+ Preferences?: RefreshPreferences | undefined;
7234
7282
  }
7235
7283
  /**
7236
7284
  * @public
@@ -7263,26 +7311,26 @@ export interface UpdateAutoScalingGroupType {
7263
7311
  * <code>LaunchTemplate</code> or <code>MixedInstancesPolicy</code>.</p>
7264
7312
  * @public
7265
7313
  */
7266
- LaunchConfigurationName?: string;
7314
+ LaunchConfigurationName?: string | undefined;
7267
7315
  /**
7268
7316
  * <p>The launch template and version to use to specify the updates. If you specify
7269
7317
  * <code>LaunchTemplate</code> in your update request, you can't specify
7270
7318
  * <code>LaunchConfigurationName</code> or <code>MixedInstancesPolicy</code>.</p>
7271
7319
  * @public
7272
7320
  */
7273
- LaunchTemplate?: LaunchTemplateSpecification;
7321
+ LaunchTemplate?: LaunchTemplateSpecification | undefined;
7274
7322
  /**
7275
7323
  * <p>The mixed instances policy. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-mixed-instances-groups.html">Auto Scaling
7276
7324
  * groups with multiple instance types and purchase options</a> in the
7277
7325
  * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
7278
7326
  * @public
7279
7327
  */
7280
- MixedInstancesPolicy?: MixedInstancesPolicy;
7328
+ MixedInstancesPolicy?: MixedInstancesPolicy | undefined;
7281
7329
  /**
7282
7330
  * <p>The minimum size of the Auto Scaling group.</p>
7283
7331
  * @public
7284
7332
  */
7285
- MinSize?: number;
7333
+ MinSize?: number | undefined;
7286
7334
  /**
7287
7335
  * <p>The maximum size of the Auto Scaling group.</p>
7288
7336
  * <note>
@@ -7294,7 +7342,7 @@ export interface UpdateAutoScalingGroupType {
7294
7342
  * </note>
7295
7343
  * @public
7296
7344
  */
7297
- MaxSize?: number;
7345
+ MaxSize?: number | undefined;
7298
7346
  /**
7299
7347
  * <p>The desired capacity is the initial capacity of the Auto Scaling group after this operation
7300
7348
  * completes and the capacity it attempts to maintain. This number must be greater than or
@@ -7302,7 +7350,7 @@ export interface UpdateAutoScalingGroupType {
7302
7350
  * group.</p>
7303
7351
  * @public
7304
7352
  */
7305
- DesiredCapacity?: number;
7353
+ DesiredCapacity?: number | undefined;
7306
7354
  /**
7307
7355
  * <p>
7308
7356
  * <i>Only needed if you use simple scaling policies.</i>
@@ -7312,12 +7360,12 @@ export interface UpdateAutoScalingGroupType {
7312
7360
  * cooldowns for Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
7313
7361
  * @public
7314
7362
  */
7315
- DefaultCooldown?: number;
7363
+ DefaultCooldown?: number | undefined;
7316
7364
  /**
7317
7365
  * <p>One or more Availability Zones for the group.</p>
7318
7366
  * @public
7319
7367
  */
7320
- AvailabilityZones?: string[];
7368
+ AvailabilityZones?: string[] | undefined;
7321
7369
  /**
7322
7370
  * <p>A comma-separated value string of one or more health check types.</p>
7323
7371
  * <p>The valid values are <code>EC2</code>, <code>EBS</code>, <code>ELB</code>, and
@@ -7329,7 +7377,7 @@ export interface UpdateAutoScalingGroupType {
7329
7377
  * set.</p>
7330
7378
  * @public
7331
7379
  */
7332
- HealthCheckType?: string;
7380
+ HealthCheckType?: string | undefined;
7333
7381
  /**
7334
7382
  * <p>The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status
7335
7383
  * of an EC2 instance that has come into service and marking it unhealthy due to a failed
@@ -7340,7 +7388,7 @@ export interface UpdateAutoScalingGroupType {
7340
7388
  * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
7341
7389
  * @public
7342
7390
  */
7343
- HealthCheckGracePeriod?: number;
7391
+ HealthCheckGracePeriod?: number | undefined;
7344
7392
  /**
7345
7393
  * <p>The name of an existing placement group into which to launch your instances. To remove the placement group setting, pass an empty string for <code>placement-group</code>. For more
7346
7394
  * information about placement groups, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html">Placement groups</a> in the
@@ -7352,14 +7400,14 @@ export interface UpdateAutoScalingGroupType {
7352
7400
  * </note>
7353
7401
  * @public
7354
7402
  */
7355
- PlacementGroup?: string;
7403
+ PlacementGroup?: string | undefined;
7356
7404
  /**
7357
7405
  * <p>A comma-separated list of subnet IDs for a virtual private cloud (VPC). If you specify
7358
7406
  * <code>VPCZoneIdentifier</code> with <code>AvailabilityZones</code>, the subnets that
7359
7407
  * you specify must reside in those Availability Zones.</p>
7360
7408
  * @public
7361
7409
  */
7362
- VPCZoneIdentifier?: string;
7410
+ VPCZoneIdentifier?: string | undefined;
7363
7411
  /**
7364
7412
  * <p>A policy or a list of policies that are used to select the instances to terminate. The
7365
7413
  * policies are executed in the order that you list them. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-termination-policies.html">Configure
@@ -7373,7 +7421,7 @@ export interface UpdateAutoScalingGroupType {
7373
7421
  * </p>
7374
7422
  * @public
7375
7423
  */
7376
- TerminationPolicies?: string[];
7424
+ TerminationPolicies?: string[] | undefined;
7377
7425
  /**
7378
7426
  * <p>Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling
7379
7427
  * when scaling in. For more information about preventing instances from terminating on
@@ -7382,14 +7430,14 @@ export interface UpdateAutoScalingGroupType {
7382
7430
  * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
7383
7431
  * @public
7384
7432
  */
7385
- NewInstancesProtectedFromScaleIn?: boolean;
7433
+ NewInstancesProtectedFromScaleIn?: boolean | undefined;
7386
7434
  /**
7387
7435
  * <p>The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to
7388
7436
  * call other Amazon Web Services on your behalf. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-service-linked-role.html">Service-linked
7389
7437
  * roles</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
7390
7438
  * @public
7391
7439
  */
7392
- ServiceLinkedRoleARN?: string;
7440
+ ServiceLinkedRoleARN?: string | undefined;
7393
7441
  /**
7394
7442
  * <p>The maximum amount of time, in seconds, that an instance can be in service. The
7395
7443
  * default is null. If specified, the value must be either 0 or a number equal to or
@@ -7399,18 +7447,18 @@ export interface UpdateAutoScalingGroupType {
7399
7447
  * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
7400
7448
  * @public
7401
7449
  */
7402
- MaxInstanceLifetime?: number;
7450
+ MaxInstanceLifetime?: number | undefined;
7403
7451
  /**
7404
7452
  * <p>Enables or disables Capacity Rebalancing. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-capacity-rebalancing.html">Use Capacity
7405
7453
  * Rebalancing to handle Amazon EC2 Spot Interruptions</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
7406
7454
  * @public
7407
7455
  */
7408
- CapacityRebalance?: boolean;
7456
+ CapacityRebalance?: boolean | undefined;
7409
7457
  /**
7410
7458
  * <p>Reserved.</p>
7411
7459
  * @public
7412
7460
  */
7413
- Context?: string;
7461
+ Context?: string | undefined;
7414
7462
  /**
7415
7463
  * <p>The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling
7416
7464
  * supports <code>DesiredCapacityType</code> for attribute-based instance type selection
@@ -7422,7 +7470,7 @@ export interface UpdateAutoScalingGroupType {
7422
7470
  * </p>
7423
7471
  * @public
7424
7472
  */
7425
- DesiredCapacityType?: string;
7473
+ DesiredCapacityType?: string | undefined;
7426
7474
  /**
7427
7475
  * <p>The amount of time, in seconds, until a new instance is considered to have finished
7428
7476
  * initializing and resource consumption to become stable after it enters the
@@ -7444,11 +7492,18 @@ export interface UpdateAutoScalingGroupType {
7444
7492
  * </important>
7445
7493
  * @public
7446
7494
  */
7447
- DefaultInstanceWarmup?: number;
7495
+ DefaultInstanceWarmup?: number | undefined;
7448
7496
  /**
7449
7497
  * <p>An instance maintenance policy. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-auto-scaling-instance-maintenance-policy.html">Set instance maintenance policy</a> in the
7450
7498
  * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
7451
7499
  * @public
7452
7500
  */
7453
- InstanceMaintenancePolicy?: InstanceMaintenancePolicy;
7501
+ InstanceMaintenancePolicy?: InstanceMaintenancePolicy | undefined;
7502
+ /**
7503
+ * <p>
7504
+ * The instance capacity distribution across Availability Zones.
7505
+ * </p>
7506
+ * @public
7507
+ */
7508
+ AvailabilityZoneDistribution?: AvailabilityZoneDistribution | undefined;
7454
7509
  }