@aws-sdk/client-auto-scaling 3.37.0 → 3.41.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.
Files changed (99) hide show
  1. package/CHANGELOG.md +45 -0
  2. package/dist-cjs/commands/index.js +64 -0
  3. package/dist-cjs/endpoints.js +79 -5
  4. package/dist-cjs/index.js +5 -75
  5. package/dist-cjs/models/models_0.js +115 -4
  6. package/dist-cjs/pagination/index.js +12 -0
  7. package/dist-cjs/protocols/Aws_query.js +598 -0
  8. package/dist-cjs/runtimeConfig.browser.js +6 -3
  9. package/dist-cjs/runtimeConfig.js +5 -3
  10. package/dist-cjs/waiters/index.js +6 -0
  11. package/dist-es/commands/index.js +61 -0
  12. package/dist-es/endpoints.js +79 -5
  13. package/dist-es/index.js +5 -75
  14. package/dist-es/models/models_0.js +93 -0
  15. package/dist-es/pagination/index.js +9 -0
  16. package/dist-es/protocols/Aws_query.js +860 -169
  17. package/dist-es/runtimeConfig.browser.js +3 -2
  18. package/dist-es/runtimeConfig.js +3 -3
  19. package/dist-es/waiters/index.js +3 -0
  20. package/dist-types/AutoScalingClient.d.ts +8 -0
  21. package/dist-types/commands/AttachInstancesCommand.d.ts +1 -1
  22. package/dist-types/commands/AttachLoadBalancerTargetGroupsCommand.d.ts +1 -1
  23. package/dist-types/commands/AttachLoadBalancersCommand.d.ts +1 -1
  24. package/dist-types/commands/BatchDeleteScheduledActionCommand.d.ts +1 -1
  25. package/dist-types/commands/BatchPutScheduledUpdateGroupActionCommand.d.ts +1 -1
  26. package/dist-types/commands/CancelInstanceRefreshCommand.d.ts +1 -1
  27. package/dist-types/commands/CompleteLifecycleActionCommand.d.ts +1 -1
  28. package/dist-types/commands/CreateAutoScalingGroupCommand.d.ts +1 -1
  29. package/dist-types/commands/CreateLaunchConfigurationCommand.d.ts +1 -1
  30. package/dist-types/commands/CreateOrUpdateTagsCommand.d.ts +1 -1
  31. package/dist-types/commands/DeleteAutoScalingGroupCommand.d.ts +1 -1
  32. package/dist-types/commands/DeleteLaunchConfigurationCommand.d.ts +1 -1
  33. package/dist-types/commands/DeleteLifecycleHookCommand.d.ts +1 -1
  34. package/dist-types/commands/DeleteNotificationConfigurationCommand.d.ts +1 -1
  35. package/dist-types/commands/DeletePolicyCommand.d.ts +1 -1
  36. package/dist-types/commands/DeleteScheduledActionCommand.d.ts +1 -1
  37. package/dist-types/commands/DeleteTagsCommand.d.ts +1 -1
  38. package/dist-types/commands/DeleteWarmPoolCommand.d.ts +1 -1
  39. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -1
  40. package/dist-types/commands/DescribeAdjustmentTypesCommand.d.ts +1 -1
  41. package/dist-types/commands/DescribeAutoScalingGroupsCommand.d.ts +1 -1
  42. package/dist-types/commands/DescribeAutoScalingInstancesCommand.d.ts +1 -1
  43. package/dist-types/commands/DescribeAutoScalingNotificationTypesCommand.d.ts +1 -1
  44. package/dist-types/commands/DescribeInstanceRefreshesCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeLaunchConfigurationsCommand.d.ts +1 -1
  46. package/dist-types/commands/DescribeLifecycleHookTypesCommand.d.ts +1 -1
  47. package/dist-types/commands/DescribeLifecycleHooksCommand.d.ts +1 -1
  48. package/dist-types/commands/DescribeLoadBalancerTargetGroupsCommand.d.ts +1 -1
  49. package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +1 -1
  50. package/dist-types/commands/DescribeMetricCollectionTypesCommand.d.ts +1 -1
  51. package/dist-types/commands/DescribeNotificationConfigurationsCommand.d.ts +1 -1
  52. package/dist-types/commands/DescribePoliciesCommand.d.ts +1 -1
  53. package/dist-types/commands/DescribeScalingActivitiesCommand.d.ts +1 -1
  54. package/dist-types/commands/DescribeScalingProcessTypesCommand.d.ts +1 -1
  55. package/dist-types/commands/DescribeScheduledActionsCommand.d.ts +1 -1
  56. package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  57. package/dist-types/commands/DescribeTerminationPolicyTypesCommand.d.ts +1 -1
  58. package/dist-types/commands/DescribeWarmPoolCommand.d.ts +1 -1
  59. package/dist-types/commands/DetachInstancesCommand.d.ts +1 -1
  60. package/dist-types/commands/DetachLoadBalancerTargetGroupsCommand.d.ts +1 -1
  61. package/dist-types/commands/DetachLoadBalancersCommand.d.ts +1 -1
  62. package/dist-types/commands/DisableMetricsCollectionCommand.d.ts +1 -1
  63. package/dist-types/commands/EnableMetricsCollectionCommand.d.ts +1 -1
  64. package/dist-types/commands/EnterStandbyCommand.d.ts +1 -1
  65. package/dist-types/commands/ExecutePolicyCommand.d.ts +1 -1
  66. package/dist-types/commands/ExitStandbyCommand.d.ts +1 -1
  67. package/dist-types/commands/GetPredictiveScalingForecastCommand.d.ts +1 -1
  68. package/dist-types/commands/PutLifecycleHookCommand.d.ts +1 -1
  69. package/dist-types/commands/PutNotificationConfigurationCommand.d.ts +1 -1
  70. package/dist-types/commands/PutScalingPolicyCommand.d.ts +1 -1
  71. package/dist-types/commands/PutScheduledUpdateGroupActionCommand.d.ts +1 -1
  72. package/dist-types/commands/PutWarmPoolCommand.d.ts +1 -1
  73. package/dist-types/commands/RecordLifecycleActionHeartbeatCommand.d.ts +1 -1
  74. package/dist-types/commands/ResumeProcessesCommand.d.ts +1 -1
  75. package/dist-types/commands/SetDesiredCapacityCommand.d.ts +1 -1
  76. package/dist-types/commands/SetInstanceHealthCommand.d.ts +1 -1
  77. package/dist-types/commands/SetInstanceProtectionCommand.d.ts +1 -1
  78. package/dist-types/commands/StartInstanceRefreshCommand.d.ts +1 -1
  79. package/dist-types/commands/SuspendProcessesCommand.d.ts +1 -1
  80. package/dist-types/commands/TerminateInstanceInAutoScalingGroupCommand.d.ts +1 -1
  81. package/dist-types/commands/UpdateAutoScalingGroupCommand.d.ts +1 -1
  82. package/dist-types/commands/index.d.ts +61 -0
  83. package/dist-types/index.d.ts +5 -75
  84. package/dist-types/models/models_0.d.ts +590 -99
  85. package/dist-types/pagination/index.d.ts +9 -0
  86. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  87. package/dist-types/runtimeConfig.d.ts +2 -0
  88. package/dist-types/runtimeConfig.native.d.ts +2 -0
  89. package/dist-types/ts3.4/AutoScalingClient.d.ts +4 -0
  90. package/dist-types/ts3.4/commands/index.d.ts +61 -0
  91. package/dist-types/ts3.4/index.d.ts +5 -75
  92. package/dist-types/ts3.4/models/models_0.d.ts +193 -0
  93. package/dist-types/ts3.4/pagination/index.d.ts +9 -0
  94. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  95. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  96. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  97. package/dist-types/ts3.4/waiters/index.d.ts +3 -0
  98. package/dist-types/waiters/index.d.ts +3 -0
  99. package/package.json +27 -27
@@ -1,4 +1,64 @@
1
1
  import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
+ /**
3
+ * <p>Specifies the minimum and maximum for the <code>AcceleratorCount</code> object when
4
+ * you specify <a>InstanceRequirements</a> for an Auto Scaling group.</p>
5
+ */
6
+ export interface AcceleratorCountRequest {
7
+ /**
8
+ * <p>The minimum value.</p>
9
+ */
10
+ Min?: number;
11
+ /**
12
+ * <p>The maximum value.</p>
13
+ */
14
+ Max?: number;
15
+ }
16
+ export declare namespace AcceleratorCountRequest {
17
+ /**
18
+ * @internal
19
+ */
20
+ const filterSensitiveLog: (obj: AcceleratorCountRequest) => any;
21
+ }
22
+ export declare enum AcceleratorManufacturer {
23
+ AMAZON_WEB_SERVICES = "amazon-web-services",
24
+ AMD = "amd",
25
+ NVIDIA = "nvidia",
26
+ XILINX = "xilinx"
27
+ }
28
+ export declare enum AcceleratorName {
29
+ A100 = "a100",
30
+ K80 = "k80",
31
+ M60 = "m60",
32
+ RADEON_PRO_V520 = "radeon-pro-v520",
33
+ T4 = "t4",
34
+ V100 = "v100",
35
+ VU9P = "vu9p"
36
+ }
37
+ /**
38
+ * <p>Specifies the minimum and maximum for the <code>AcceleratorTotalMemoryMiB</code>
39
+ * object when you specify <a>InstanceRequirements</a> for an Auto Scaling group.</p>
40
+ */
41
+ export interface AcceleratorTotalMemoryMiBRequest {
42
+ /**
43
+ * <p>The memory minimum in MiB.</p>
44
+ */
45
+ Min?: number;
46
+ /**
47
+ * <p>The memory maximum in MiB.</p>
48
+ */
49
+ Max?: number;
50
+ }
51
+ export declare namespace AcceleratorTotalMemoryMiBRequest {
52
+ /**
53
+ * @internal
54
+ */
55
+ const filterSensitiveLog: (obj: AcceleratorTotalMemoryMiBRequest) => any;
56
+ }
57
+ export declare enum AcceleratorType {
58
+ FPGA = "fpga",
59
+ GPU = "gpu",
60
+ INFERENCE = "inference"
61
+ }
2
62
  /**
3
63
  * <p>The request failed because an active instance refresh for the specified Auto Scaling group was
4
64
  * not found. </p>
@@ -625,50 +685,46 @@ export declare namespace LifecycleHookSpecification {
625
685
  const filterSensitiveLog: (obj: LifecycleHookSpecification) => any;
626
686
  }
627
687
  /**
628
- * <p>Describes an instances distribution for an Auto Scaling group with a <a>MixedInstancesPolicy</a>.</p>
629
- * <p>The instances distribution specifies the distribution of On-Demand Instances and Spot
630
- * Instances, the maximum price to pay for Spot Instances, and how the Auto Scaling group allocates
631
- * instance types to fulfill On-Demand and Spot capacities.</p>
632
- * <p>When you modify <code>SpotAllocationStrategy</code>, <code>SpotInstancePools</code>,
633
- * or <code>SpotMaxPrice</code> in the <a>UpdateAutoScalingGroup</a> API call,
634
- * this update action does not deploy any changes across the running Amazon EC2 instances
635
- * in the group. Your existing Spot Instances continue to run as long as the maximum price
636
- * for those instances is higher than the current Spot price. When scale out occurs,
637
- * Amazon EC2 Auto Scaling launches instances based on the new settings. When scale in occurs, Amazon EC2 Auto Scaling
638
- * terminates instances according to the group's termination policies.</p>
688
+ * <p>Describes an instances distribution for an Auto Scaling group.</p>
639
689
  */
640
690
  export interface InstancesDistribution {
641
691
  /**
642
- * <p>Indicates how to allocate instance types to fulfill On-Demand capacity. The only valid
643
- * value is <code>prioritized</code>, which is also the default value. This strategy uses
644
- * the order of instance types in the <code>LaunchTemplateOverrides</code> to define the
645
- * launch priority of each instance type. The first instance type in the array is
646
- * prioritized higher than the last. If all your On-Demand capacity cannot be fulfilled
647
- * using your highest priority instance, then the Auto Scaling groups launches the remaining
648
- * capacity using the second priority instance type, and so on.</p>
692
+ * <p>The order of the launch template overrides to use in fulfilling On-Demand capacity. </p>
693
+ * <p>If you specify <code>lowest-price</code>, Amazon EC2 Auto Scaling uses price to determine the order,
694
+ * launching the lowest price first. </p>
695
+ * <p>If you specify <code>prioritized</code>, Amazon EC2 Auto Scaling uses the priority that you assigned
696
+ * to each launch template override, launching the highest priority first. If all your
697
+ * On-Demand capacity cannot be fulfilled using your highest priority instance, then
698
+ * Amazon EC2 Auto Scaling launches the remaining capacity using the second priority instance type, and so
699
+ * on.</p>
700
+ * <p>Default: <code>lowest-price</code> for Auto Scaling groups that specify <a>InstanceRequirements</a> in the overrides and <code>prioritized</code> for
701
+ * Auto Scaling groups that don't.</p>
649
702
  */
650
703
  OnDemandAllocationStrategy?: string;
651
704
  /**
652
705
  * <p>The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand
653
- * Instances. This base portion is provisioned first as your group scales. Defaults to 0 if
654
- * not specified. If you specify weights for the instance types in the overrides, set the
655
- * value of <code>OnDemandBaseCapacity</code> in terms of the number of capacity units, and
656
- * not the number of instances.</p>
706
+ * Instances. This base portion is launched first as your group scales.</p>
707
+ * <p>If you specify weights for the instance types in the overrides, the base capacity is
708
+ * measured in the same unit of measurement as the instance types. If you specify <a>InstanceRequirements</a> in the overrides, the base capacity is measured in
709
+ * the same unit of measurement as your group's desired capacity.</p>
710
+ * <p>Default: <code>0</code>
711
+ * </p>
657
712
  */
658
713
  OnDemandBaseCapacity?: number;
659
714
  /**
660
715
  * <p>Controls the percentages of On-Demand Instances and Spot Instances for your additional
661
716
  * capacity beyond <code>OnDemandBaseCapacity</code>. Expressed as a number (for example,
662
- * 20 specifies 20% On-Demand Instances, 80% Spot Instances). Defaults to 100 if not
663
- * specified. If set to 100, only On-Demand Instances are provisioned.</p>
717
+ * 20 specifies 20% On-Demand Instances, 80% Spot Instances). If set to 100, only On-Demand
718
+ * Instances are used.</p>
719
+ * <p>Default: <code>100</code>
720
+ * </p>
664
721
  */
665
722
  OnDemandPercentageAboveBaseCapacity?: number;
666
723
  /**
667
724
  * <p>Indicates how to allocate instances across Spot Instance pools. </p>
668
725
  * <p>If the allocation strategy is <code>lowest-price</code>, the Auto Scaling group launches
669
726
  * instances using the Spot pools with the lowest price, and evenly allocates your
670
- * instances across the number of Spot pools that you specify. Defaults to
671
- * <code>lowest-price</code> if not specified.</p>
727
+ * instances across the number of Spot pools that you specify. </p>
672
728
  * <p>If the allocation strategy is <code>capacity-optimized</code> (recommended), the Auto Scaling
673
729
  * group launches instances using Spot pools that are optimally chosen based on the
674
730
  * available Spot capacity. Alternatively, you can use
@@ -676,20 +732,24 @@ export interface InstancesDistribution {
676
732
  * the list of launch template overrides from highest to lowest priority (from first to
677
733
  * last in the list). Amazon EC2 Auto Scaling honors the instance type priorities on a best-effort basis
678
734
  * but optimizes for capacity first. </p>
735
+ * <p>Default: <code>lowest-price</code>
736
+ * </p>
679
737
  */
680
738
  SpotAllocationStrategy?: string;
681
739
  /**
682
740
  * <p>The number of Spot Instance pools across which to allocate your Spot Instances. The
683
741
  * Spot pools are determined from the different instance types in the overrides. Valid only
684
742
  * when the Spot allocation strategy is <code>lowest-price</code>. Value must be in the
685
- * range of 1 to 20. Defaults to 2 if not specified.</p>
743
+ * range of 120.</p>
744
+ * <p>Default: <code>2</code>
745
+ * </p>
686
746
  */
687
747
  SpotInstancePools?: number;
688
748
  /**
689
749
  * <p>The maximum price per unit hour that you are willing to pay for a Spot Instance. If
690
- * you leave the value at its default (empty), Amazon EC2 Auto Scaling uses the On-Demand price as the
691
- * maximum Spot price. To remove a value that you previously set, include the property but
692
- * specify an empty string ("") for the value.</p>
750
+ * you keep the value at its default (unspecified), Amazon EC2 Auto Scaling uses the On-Demand price as
751
+ * the maximum Spot price. To remove a value that you previously set, include the property
752
+ * but specify an empty string ("") for the value.</p>
693
753
  */
694
754
  SpotMaxPrice?: string;
695
755
  }
@@ -699,12 +759,405 @@ export declare namespace InstancesDistribution {
699
759
  */
700
760
  const filterSensitiveLog: (obj: InstancesDistribution) => any;
701
761
  }
762
+ export declare enum BareMetal {
763
+ EXCLUDED = "excluded",
764
+ INCLUDED = "included",
765
+ REQUIRED = "required"
766
+ }
702
767
  /**
703
- * <p>Describes an override for a launch template. The maximum number of instance types that
704
- * can be associated with an Auto Scaling group is 40. The maximum number of distinct launch
705
- * templates you can define for an Auto Scaling group is 20. For more information about configuring
706
- * overrides, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-override-options.html">Configuring
707
- * overrides</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
768
+ * <p>Specifies the minimum and maximum for the <code>BaselineEbsBandwidthMbps</code> object
769
+ * when you specify <a>InstanceRequirements</a> for an Auto Scaling group.</p>
770
+ */
771
+ export interface BaselineEbsBandwidthMbpsRequest {
772
+ /**
773
+ * <p>The minimum value in Mbps.</p>
774
+ */
775
+ Min?: number;
776
+ /**
777
+ * <p>The maximum value in Mbps.</p>
778
+ */
779
+ Max?: number;
780
+ }
781
+ export declare namespace BaselineEbsBandwidthMbpsRequest {
782
+ /**
783
+ * @internal
784
+ */
785
+ const filterSensitiveLog: (obj: BaselineEbsBandwidthMbpsRequest) => any;
786
+ }
787
+ export declare enum BurstablePerformance {
788
+ EXCLUDED = "excluded",
789
+ INCLUDED = "included",
790
+ REQUIRED = "required"
791
+ }
792
+ export declare enum CpuManufacturer {
793
+ AMAZON_WEB_SERVICES = "amazon-web-services",
794
+ AMD = "amd",
795
+ INTEL = "intel"
796
+ }
797
+ export declare enum InstanceGeneration {
798
+ CURRENT = "current",
799
+ PREVIOUS = "previous"
800
+ }
801
+ export declare enum LocalStorage {
802
+ EXCLUDED = "excluded",
803
+ INCLUDED = "included",
804
+ REQUIRED = "required"
805
+ }
806
+ export declare enum LocalStorageType {
807
+ HDD = "hdd",
808
+ SSD = "ssd"
809
+ }
810
+ /**
811
+ * <p>Specifies the minimum and maximum for the <code>MemoryGiBPerVCpu</code> object when
812
+ * you specify <a>InstanceRequirements</a> for an Auto Scaling group.</p>
813
+ */
814
+ export interface MemoryGiBPerVCpuRequest {
815
+ /**
816
+ * <p>The memory minimum in GiB.</p>
817
+ */
818
+ Min?: number;
819
+ /**
820
+ * <p>The memory maximum in GiB.</p>
821
+ */
822
+ Max?: number;
823
+ }
824
+ export declare namespace MemoryGiBPerVCpuRequest {
825
+ /**
826
+ * @internal
827
+ */
828
+ const filterSensitiveLog: (obj: MemoryGiBPerVCpuRequest) => any;
829
+ }
830
+ /**
831
+ * <p>Specifies the minimum and maximum for the <code>MemoryMiB</code> object when you
832
+ * specify <a>InstanceRequirements</a> for an Auto Scaling group.</p>
833
+ */
834
+ export interface MemoryMiBRequest {
835
+ /**
836
+ * <p>The memory minimum in MiB.</p>
837
+ */
838
+ Min: number | undefined;
839
+ /**
840
+ * <p>The memory maximum in MiB.</p>
841
+ */
842
+ Max?: number;
843
+ }
844
+ export declare namespace MemoryMiBRequest {
845
+ /**
846
+ * @internal
847
+ */
848
+ const filterSensitiveLog: (obj: MemoryMiBRequest) => any;
849
+ }
850
+ /**
851
+ * <p>Specifies the minimum and maximum for the <code>NetworkInterfaceCount</code> object
852
+ * when you specify <a>InstanceRequirements</a> for an Auto Scaling group.</p>
853
+ */
854
+ export interface NetworkInterfaceCountRequest {
855
+ /**
856
+ * <p>The minimum number of network interfaces.</p>
857
+ */
858
+ Min?: number;
859
+ /**
860
+ * <p>The maximum number of network interfaces.</p>
861
+ */
862
+ Max?: number;
863
+ }
864
+ export declare namespace NetworkInterfaceCountRequest {
865
+ /**
866
+ * @internal
867
+ */
868
+ const filterSensitiveLog: (obj: NetworkInterfaceCountRequest) => any;
869
+ }
870
+ /**
871
+ * <p>Specifies the minimum and maximum for the <code>TotalLocalStorageGB</code> object when
872
+ * you specify <a>InstanceRequirements</a> for an Auto Scaling group.</p>
873
+ */
874
+ export interface TotalLocalStorageGBRequest {
875
+ /**
876
+ * <p>The storage minimum in GB.</p>
877
+ */
878
+ Min?: number;
879
+ /**
880
+ * <p>The storage maximum in GB.</p>
881
+ */
882
+ Max?: number;
883
+ }
884
+ export declare namespace TotalLocalStorageGBRequest {
885
+ /**
886
+ * @internal
887
+ */
888
+ const filterSensitiveLog: (obj: TotalLocalStorageGBRequest) => any;
889
+ }
890
+ /**
891
+ * <p>Specifies the minimum and maximum for the <code>VCpuCount</code> object when you
892
+ * specify <a>InstanceRequirements</a> for an Auto Scaling group.</p>
893
+ */
894
+ export interface VCpuCountRequest {
895
+ /**
896
+ * <p>The minimum number of vCPUs.</p>
897
+ */
898
+ Min: number | undefined;
899
+ /**
900
+ * <p>The maximum number of vCPUs.</p>
901
+ */
902
+ Max?: number;
903
+ }
904
+ export declare namespace VCpuCountRequest {
905
+ /**
906
+ * @internal
907
+ */
908
+ const filterSensitiveLog: (obj: VCpuCountRequest) => any;
909
+ }
910
+ /**
911
+ * <p>When you specify multiple parameters, you get instance types that satisfy all of the
912
+ * specified parameters. If you specify multiple values for a parameter, you get instance
913
+ * types that satisfy any of the specified values.</p>
914
+ *
915
+ *
916
+ * <p>Represents requirements for the types of instances that can be launched. You
917
+ * must specify <code>VCpuCount</code> and <code>MemoryMiB</code>, but all other parameters
918
+ * are optional. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html">Creating
919
+ * an Auto Scaling group using attribute-based instance type selection</a> in the
920
+ * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
921
+ */
922
+ export interface InstanceRequirements {
923
+ /**
924
+ * <p>The minimum and maximum number of vCPUs for an instance type.</p>
925
+ */
926
+ VCpuCount: VCpuCountRequest | undefined;
927
+ /**
928
+ * <p>The minimum and maximum instance memory size for an instance type, in MiB.</p>
929
+ */
930
+ MemoryMiB: MemoryMiBRequest | undefined;
931
+ /**
932
+ * <p>Lists which specific CPU manufacturers to include.</p>
933
+ * <ul>
934
+ * <li>
935
+ * <p>For instance types with Intel CPUs, specify <code>intel</code>.</p>
936
+ * </li>
937
+ * <li>
938
+ * <p>For instance types with AMD CPUs, specify <code>amd</code>.</p>
939
+ * </li>
940
+ * <li>
941
+ * <p>For instance types with Amazon Web Services CPUs, specify
942
+ * <code>amazon-web-services</code>.</p>
943
+ * </li>
944
+ * </ul>
945
+ * <note>
946
+ * <p>Don't confuse the CPU hardware manufacturer with the CPU hardware architecture.
947
+ * Instances will be launched with a compatible CPU architecture based on the Amazon
948
+ * Machine Image (AMI) that you specify in your launch template. </p>
949
+ * </note>
950
+ * <p>Default: Any manufacturer</p>
951
+ */
952
+ CpuManufacturers?: (CpuManufacturer | string)[];
953
+ /**
954
+ * <p>The minimum and maximum amount of memory per vCPU for an instance type, in GiB.</p>
955
+ * <p>Default: No minimum or maximum</p>
956
+ */
957
+ MemoryGiBPerVCpu?: MemoryGiBPerVCpuRequest;
958
+ /**
959
+ * <p>Lists which instance types to exclude. You can use strings with one or more wild
960
+ * cards, represented by an asterisk (<code>*</code>). The following are examples:
961
+ * <code>c5*</code>, <code>m5a.*</code>, <code>r*</code>, <code>*3*</code>. </p>
962
+ * <p>For example, if you specify <code>c5*</code>, you are excluding the entire C5 instance
963
+ * family, which includes all C5a and C5n instance types. If you specify
964
+ * <code>m5a.*</code>, you are excluding all the M5a instance types, but not the M5n
965
+ * instance types.</p>
966
+ * <p>Default: No excluded instance types</p>
967
+ */
968
+ ExcludedInstanceTypes?: string[];
969
+ /**
970
+ * <p>Indicates whether current or previous generation instance types are included.</p>
971
+ * <ul>
972
+ * <li>
973
+ * <p>For current generation instance types, specify <code>current</code>. The
974
+ * current generation includes EC2 instance types currently recommended for use.
975
+ * This typically includes the latest two to three generations in each instance
976
+ * family. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-types.html">Instance types</a> in
977
+ * the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
978
+ * </li>
979
+ * <li>
980
+ * <p>For previous generation instance types, specify <code>previous</code>.</p>
981
+ * </li>
982
+ * </ul>
983
+ * <p>Default: Any current or previous generation</p>
984
+ */
985
+ InstanceGenerations?: (InstanceGeneration | string)[];
986
+ /**
987
+ * <p>The price protection threshold for Spot Instances. This is the maximum you’ll pay for
988
+ * a Spot Instance, expressed as a percentage higher than the cheapest M, C, or R instance
989
+ * type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your
990
+ * attributes, we will exclude instance types whose price is higher than your threshold.
991
+ * The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off
992
+ * price protection, specify a high value, such as <code>999999</code>. </p>
993
+ * <p>Default: <code>100</code>
994
+ * </p>
995
+ */
996
+ SpotMaxPricePercentageOverLowestPrice?: number;
997
+ /**
998
+ * <p>The price protection threshold for On-Demand Instances. This is the maximum you’ll pay
999
+ * for an On-Demand Instance, expressed as a percentage higher than the cheapest M, C, or R
1000
+ * instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with
1001
+ * your attributes, we will exclude instance types whose price is higher than your
1002
+ * threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage.
1003
+ * To turn off price protection, specify a high value, such as <code>999999</code>. </p>
1004
+ * <p>Default: <code>20</code>
1005
+ * </p>
1006
+ */
1007
+ OnDemandMaxPricePercentageOverLowestPrice?: number;
1008
+ /**
1009
+ * <p>Indicates whether bare metal instance types are included, excluded, or
1010
+ * required.</p>
1011
+ * <p>Default: <code>excluded</code>
1012
+ * </p>
1013
+ */
1014
+ BareMetal?: BareMetal | string;
1015
+ /**
1016
+ * <p>Indicates whether burstable performance instance types are included, excluded, or
1017
+ * required. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html">Burstable
1018
+ * performance instances</a> in the <i>Amazon EC2 User Guide for Linux
1019
+ * Instances</i>.</p>
1020
+ * <p>Default: <code>excluded</code>
1021
+ * </p>
1022
+ */
1023
+ BurstablePerformance?: BurstablePerformance | string;
1024
+ /**
1025
+ * <p>Indicates whether instance types must provide On-Demand Instance hibernation
1026
+ * support.</p>
1027
+ * <p>Default: <code>false</code>
1028
+ * </p>
1029
+ */
1030
+ RequireHibernateSupport?: boolean;
1031
+ /**
1032
+ * <p>The minimum and maximum number of network interfaces for an instance type.</p>
1033
+ * <p>Default: No minimum or maximum</p>
1034
+ */
1035
+ NetworkInterfaceCount?: NetworkInterfaceCountRequest;
1036
+ /**
1037
+ * <p>Indicates whether instance types with instance store volumes are included, excluded,
1038
+ * or required. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html">Amazon EC2 instance store</a> in
1039
+ * the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
1040
+ * <p>Default: <code>included</code>
1041
+ * </p>
1042
+ */
1043
+ LocalStorage?: LocalStorage | string;
1044
+ /**
1045
+ * <p>Indicates the type of local storage that is required.</p>
1046
+ * <ul>
1047
+ * <li>
1048
+ * <p>For instance types with hard disk drive (HDD) storage, specify
1049
+ * <code>hdd</code>.</p>
1050
+ * </li>
1051
+ * <li>
1052
+ * <p>For instance types with solid state drive (SSD) storage, specify
1053
+ * <code>sdd</code>.</p>
1054
+ * </li>
1055
+ * </ul>
1056
+ * <p>Default: Any local storage type</p>
1057
+ */
1058
+ LocalStorageTypes?: (LocalStorageType | string)[];
1059
+ /**
1060
+ * <p>The minimum and maximum total local storage size for an instance type, in GB.</p>
1061
+ * <p>Default: No minimum or maximum</p>
1062
+ */
1063
+ TotalLocalStorageGB?: TotalLocalStorageGBRequest;
1064
+ /**
1065
+ * <p>The minimum and maximum baseline bandwidth performance for an instance type, in Mbps.
1066
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-optimized.html">Amazon EBS–optimized instances</a>
1067
+ * in the <i>Amazon EC2 User Guide for Linux Instances</i>.</p>
1068
+ * <p>Default: No minimum or maximum</p>
1069
+ */
1070
+ BaselineEbsBandwidthMbps?: BaselineEbsBandwidthMbpsRequest;
1071
+ /**
1072
+ * <p>Lists the accelerator types that must be on an instance type.</p>
1073
+ * <ul>
1074
+ * <li>
1075
+ * <p>For instance types with GPU accelerators, specify <code>gpu</code>.</p>
1076
+ * </li>
1077
+ * <li>
1078
+ * <p>For instance types with FPGA accelerators, specify <code>fpga</code>.</p>
1079
+ * </li>
1080
+ * <li>
1081
+ * <p>For instance types with inference accelerators, specify
1082
+ * <code>inference</code>.</p>
1083
+ * </li>
1084
+ * </ul>
1085
+ * <p>Default: Any accelerator type</p>
1086
+ */
1087
+ AcceleratorTypes?: (AcceleratorType | string)[];
1088
+ /**
1089
+ * <p>The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web Services Inferentia
1090
+ * chips) for an instance type.</p>
1091
+ * <p>To exclude accelerator-enabled instance types, set <code>Max</code> to
1092
+ * <code>0</code>.</p>
1093
+ * <p>Default: No minimum or maximum</p>
1094
+ */
1095
+ AcceleratorCount?: AcceleratorCountRequest;
1096
+ /**
1097
+ * <p>Indicates whether instance types must have accelerators by specific
1098
+ * manufacturers.</p>
1099
+ * <ul>
1100
+ * <li>
1101
+ * <p>For instance types with NVIDIA devices, specify <code>nvidia</code>.</p>
1102
+ * </li>
1103
+ * <li>
1104
+ * <p>For instance types with AMD devices, specify <code>amd</code>.</p>
1105
+ * </li>
1106
+ * <li>
1107
+ * <p>For instance types with Amazon Web Services devices, specify
1108
+ * <code>amazon-web-services</code>.</p>
1109
+ * </li>
1110
+ * <li>
1111
+ * <p>For instance types with Xilinx devices, specify <code>xilinx</code>.</p>
1112
+ * </li>
1113
+ * </ul>
1114
+ * <p>Default: Any manufacturer</p>
1115
+ */
1116
+ AcceleratorManufacturers?: (AcceleratorManufacturer | string)[];
1117
+ /**
1118
+ * <p>Lists the accelerators that must be on an instance type.</p>
1119
+ * <ul>
1120
+ * <li>
1121
+ * <p>For instance types with NVIDIA A100 GPUs, specify <code>a100</code>.</p>
1122
+ * </li>
1123
+ * <li>
1124
+ * <p>For instance types with NVIDIA V100 GPUs, specify <code>v100</code>.</p>
1125
+ * </li>
1126
+ * <li>
1127
+ * <p>For instance types with NVIDIA K80 GPUs, specify <code>k80</code>.</p>
1128
+ * </li>
1129
+ * <li>
1130
+ * <p>For instance types with NVIDIA T4 GPUs, specify <code>t4</code>.</p>
1131
+ * </li>
1132
+ * <li>
1133
+ * <p>For instance types with NVIDIA M60 GPUs, specify <code>m60</code>.</p>
1134
+ * </li>
1135
+ * <li>
1136
+ * <p>For instance types with AMD Radeon Pro V520 GPUs, specify
1137
+ * <code>radeon-pro-v520</code>.</p>
1138
+ * </li>
1139
+ * <li>
1140
+ * <p>For instance types with Xilinx VU9P FPGAs, specify <code>vu9p</code>.</p>
1141
+ * </li>
1142
+ * </ul>
1143
+ * <p>Default: Any accelerator</p>
1144
+ */
1145
+ AcceleratorNames?: (AcceleratorName | string)[];
1146
+ /**
1147
+ * <p>The minimum and maximum total memory size for the accelerators on an instance type, in
1148
+ * MiB.</p>
1149
+ * <p>Default: No minimum or maximum</p>
1150
+ */
1151
+ AcceleratorTotalMemoryMiB?: AcceleratorTotalMemoryMiBRequest;
1152
+ }
1153
+ export declare namespace InstanceRequirements {
1154
+ /**
1155
+ * @internal
1156
+ */
1157
+ const filterSensitiveLog: (obj: InstanceRequirements) => any;
1158
+ }
1159
+ /**
1160
+ * <p>Describes an override for a launch template. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-override-options.html">Configuring overrides</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
708
1161
  */
709
1162
  export interface LaunchTemplateOverrides {
710
1163
  /**
@@ -715,26 +1168,35 @@ export interface LaunchTemplateOverrides {
715
1168
  */
716
1169
  InstanceType?: string;
717
1170
  /**
718
- * <p>The number of capacity units provided by the specified instance type in terms of
719
- * virtual CPUs, memory, storage, throughput, or other relative performance characteristic.
720
- * When a Spot or On-Demand Instance is provisioned, the capacity units count toward the
721
- * desired capacity. Amazon EC2 Auto Scaling provisions instances until the desired capacity is totally
722
- * fulfilled, even if this results in an overage. For example, if there are 2 units
723
- * remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only provision an instance with a
724
- * <code>WeightedCapacity</code> of 5 units, the instance is provisioned, and the
725
- * desired capacity is exceeded by 3 units. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-weighting.html">Instance weighting for Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.
726
- * Value must be in the range of 1 to 999.</p>
1171
+ * <p>The number of capacity units provided by the instance type specified in
1172
+ * <code>InstanceType</code> in terms of virtual CPUs, memory, storage, throughput, or
1173
+ * other relative performance characteristic. When a Spot or On-Demand Instance is
1174
+ * launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling launches
1175
+ * instances until the desired capacity is totally fulfilled, even if this results in an
1176
+ * overage. For example, if there are two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling
1177
+ * can only launch an instance with a <code>WeightedCapacity</code> of five units, the
1178
+ * instance is launched, and the desired capacity is exceeded by three units. For more
1179
+ * information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-instance-weighting.html">Instance weighting for
1180
+ * Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>. Value must be in the
1181
+ * range of 1–999.</p>
727
1182
  */
728
1183
  WeightedCapacity?: string;
729
1184
  /**
730
- * <p>Provides the launch template to be used when launching the instance type. For example,
731
- * some instance types might require a launch template with a different AMI. If not
732
- * provided, Amazon EC2 Auto Scaling uses the launch template that's defined for your mixed instances
733
- * policy. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-launch-template-overrides.html">Specifying a
1185
+ * <p>Provides the launch template to be used when launching the instance type specified in
1186
+ * <code>InstanceType</code>. For example, some instance types might require a launch
1187
+ * template with a different AMI. If not provided, Amazon EC2 Auto Scaling uses the launch template that's
1188
+ * defined for your mixed instances policy. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-launch-template-overrides.html">Specifying a
734
1189
  * different launch template for an instance type</a> in the
735
1190
  * <i>Amazon EC2 Auto Scaling User Guide</i>. </p>
736
1191
  */
737
1192
  LaunchTemplateSpecification?: LaunchTemplateSpecification;
1193
+ /**
1194
+ * <p>The instance requirements. When you specify instance requirements, Amazon EC2 Auto Scaling finds
1195
+ * instance types that satisfy your requirements, and then uses your On-Demand and Spot
1196
+ * allocation strategies to launch instances from these instance types, in the same way as
1197
+ * when you specify a list of specific instance types. </p>
1198
+ */
1199
+ InstanceRequirements?: InstanceRequirements;
738
1200
  }
739
1201
  export declare namespace LaunchTemplateOverrides {
740
1202
  /**
@@ -743,12 +1205,8 @@ export declare namespace LaunchTemplateOverrides {
743
1205
  const filterSensitiveLog: (obj: LaunchTemplateOverrides) => any;
744
1206
  }
745
1207
  /**
746
- * <p>Describes a launch template and overrides. </p>
747
- * <p>You specify these properties as part of a mixed instances policy. </p>
748
- * <p>When you update the launch template or overrides in the <a>UpdateAutoScalingGroup</a> API call, existing Amazon EC2 instances continue to
749
- * run. When scale out occurs, Amazon EC2 Auto Scaling launches instances to match the new settings. When
750
- * scale in occurs, Amazon EC2 Auto Scaling terminates instances according to the group's termination
751
- * policies.</p>
1208
+ * <p>Describes a launch template and overrides. You specify these properties as part of a
1209
+ * mixed instances policy. </p>
752
1210
  */
753
1211
  export interface LaunchTemplate {
754
1212
  /**
@@ -757,8 +1215,10 @@ export interface LaunchTemplate {
757
1215
  LaunchTemplateSpecification?: LaunchTemplateSpecification;
758
1216
  /**
759
1217
  * <p>Any properties that you specify override the same properties in the launch template.
760
- * If not provided, Amazon EC2 Auto Scaling uses the instance type specified in the launch template when
761
- * it launches an instance. </p>
1218
+ * If not provided, Amazon EC2 Auto Scaling uses the instance type or instance type requirements specified
1219
+ * in the launch template when it launches an instance.</p>
1220
+ * <p>The overrides can include either one or more instance types or a set of instance
1221
+ * requirements, but not both.</p>
762
1222
  */
763
1223
  Overrides?: LaunchTemplateOverrides[];
764
1224
  }
@@ -770,21 +1230,20 @@ export declare namespace LaunchTemplate {
770
1230
  }
771
1231
  /**
772
1232
  * <p>Describes a mixed instances policy. A mixed instances policy contains the instance
773
- * types Amazon EC2 Auto Scaling can launch, and other information Amazon EC2 Auto Scaling can use to launch instances to
774
- * help you optimize your costs. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html">Auto Scaling groups with multiple
775
- * instance types and purchase options</a> in the <i>Amazon EC2 Auto Scaling User
776
- * Guide</i>.</p>
1233
+ * types that Amazon EC2 Auto Scaling can launch and other information that Amazon EC2 Auto Scaling can use to launch
1234
+ * instances and help optimize your costs. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html">Auto Scaling
1235
+ * groups with multiple instance types and purchase options</a> in the
1236
+ * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
777
1237
  */
778
1238
  export interface MixedInstancesPolicy {
779
1239
  /**
780
1240
  * <p>Specifies the launch template to use and the instance types (overrides) that are used
781
- * to provision EC2 instances to fulfill On-Demand and Spot capacities. Required when
782
- * creating a mixed instances policy.</p>
1241
+ * to launch EC2 instances to fulfill On-Demand and Spot capacities. Required when creating
1242
+ * a mixed instances policy.</p>
783
1243
  */
784
1244
  LaunchTemplate?: LaunchTemplate;
785
1245
  /**
786
- * <p>Specifies the instances distribution. If not provided, the value for each property in
787
- * <code>InstancesDistribution</code> uses a default value.</p>
1246
+ * <p>Specifies the instances distribution.</p>
788
1247
  */
789
1248
  InstancesDistribution?: InstancesDistribution;
790
1249
  }
@@ -853,16 +1312,11 @@ export interface CreateAutoScalingGroupType {
853
1312
  */
854
1313
  LaunchTemplate?: LaunchTemplateSpecification;
855
1314
  /**
856
- * <p>An embedded object that specifies a mixed instances policy. The required properties
857
- * must be specified. If optional properties are unspecified, their default values are
858
- * used.</p>
859
- * <p>The policy includes properties that not only define the distribution of On-Demand
860
- * Instances and Spot Instances, the maximum price to pay for Spot Instances, and how the
861
- * Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities, but also
862
- * the properties that specify the instance configuration information—the launch template
863
- * and instance types. The policy can also include a weight for each instance type and
864
- * different launch templates for individual instance types. For more information, see
865
- * <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html">Auto Scaling groups with multiple
1315
+ * <p>An embedded object that specifies a mixed instances policy.</p>
1316
+ *
1317
+ *
1318
+ *
1319
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html">Auto Scaling groups with multiple
866
1320
  * instance types and purchase options</a> in the <i>Amazon EC2 Auto Scaling User
867
1321
  * Guide</i>.</p>
868
1322
  */
@@ -1018,6 +1472,19 @@ export interface CreateAutoScalingGroupType {
1018
1472
  * <p>Reserved.</p>
1019
1473
  */
1020
1474
  Context?: string;
1475
+ /**
1476
+ * <p>The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling
1477
+ * supports <code>DesiredCapacityType</code> for attribute-based instance type selection
1478
+ * only. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html">Creating
1479
+ * an Auto Scaling group using attribute-based instance type selection</a> in the
1480
+ * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
1481
+ * <p>By default, Amazon EC2 Auto Scaling specifies <code>units</code>, which translates into number of
1482
+ * instances.</p>
1483
+ *
1484
+ * <p>Valid values: <code>units</code> | <code>vcpu</code> | <code>memory-mib</code>
1485
+ * </p>
1486
+ */
1487
+ DesiredCapacityType?: string;
1021
1488
  }
1022
1489
  export declare namespace CreateAutoScalingGroupType {
1023
1490
  /**
@@ -1638,16 +2105,17 @@ export declare namespace DescribeAdjustmentTypesAnswer {
1638
2105
  /**
1639
2106
  * <p>Describes a filter that is used to return a more specific list of results from a
1640
2107
  * describe operation.</p>
1641
- * <p>If you specify multiple filters, the filters are joined with an <code>AND</code>, and
1642
- * the request returns only results that match all of the specified filters. </p>
2108
+ * <p>If you specify multiple filters, the filters are automatically logically joined with
2109
+ * an <code>AND</code>, and the request returns only the results that match all of the
2110
+ * specified filters. </p>
1643
2111
  * <p>For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-tagging.html">Tagging Auto Scaling groups and
1644
2112
  * instances</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
1645
2113
  */
1646
2114
  export interface Filter {
1647
2115
  /**
1648
2116
  * <p>The name of the filter.</p>
1649
- * <p>The valid values for <code>Name</code> depend on the API operation that you are
1650
- * including the filter in, <a>DescribeAutoScalingGroups</a> or <a>DescribeTags</a>.</p>
2117
+ * <p>The valid values for <code>Name</code> depend on which API operation you're using with
2118
+ * the filter (<a>DescribeAutoScalingGroups</a> or <a>DescribeTags</a>).</p>
1651
2119
  * <p>
1652
2120
  * <b>DescribeAutoScalingGroups</b>
1653
2121
  * </p>
@@ -1655,19 +2123,19 @@ export interface Filter {
1655
2123
  * <ul>
1656
2124
  * <li>
1657
2125
  * <p>
1658
- * <code>tag-key</code> - Accepts tag keys. The results will only include
1659
- * information about the Auto Scaling groups associated with these tag keys. </p>
2126
+ * <code>tag-key</code> - Accepts tag keys. The results only include information
2127
+ * about the Auto Scaling groups associated with these tag keys. </p>
1660
2128
  * </li>
1661
2129
  * <li>
1662
2130
  * <p>
1663
- * <code>tag-value</code> - Accepts tag values. The results will only include
2131
+ * <code>tag-value</code> - Accepts tag values. The results only include
1664
2132
  * information about the Auto Scaling groups associated with these tag values. </p>
1665
2133
  * </li>
1666
2134
  * <li>
1667
2135
  * <p>
1668
2136
  * <code>tag:<key></code> - Accepts the key/value combination of the tag.
1669
2137
  * Use the tag key in the filter name and the tag value as the filter value. The
1670
- * results will only include information about the Auto Scaling groups associated with the
2138
+ * results only include information about the Auto Scaling groups associated with the
1671
2139
  * specified key/value combination. </p>
1672
2140
  * </li>
1673
2141
  * </ul>
@@ -1679,33 +2147,33 @@ export interface Filter {
1679
2147
  * <li>
1680
2148
  * <p>
1681
2149
  * <code>auto-scaling-group</code> - Accepts the names of Auto Scaling groups. The
1682
- * results will only include information about the tags associated with these Auto Scaling
2150
+ * results only include information about the tags associated with these Auto Scaling
1683
2151
  * groups. </p>
1684
2152
  * </li>
1685
2153
  * <li>
1686
2154
  * <p>
1687
- * <code>key</code> - Accepts tag keys. The results will only include information
2155
+ * <code>key</code> - Accepts tag keys. The results only include information
1688
2156
  * about the tags associated with these tag keys. </p>
1689
2157
  * </li>
1690
2158
  * <li>
1691
2159
  * <p>
1692
- * <code>value</code> - Accepts tag values. The results will only include
1693
- * information about the tags associated with these tag values. </p>
2160
+ * <code>value</code> - Accepts tag values. The results only include information
2161
+ * about the tags associated with these tag values. </p>
1694
2162
  * </li>
1695
2163
  * <li>
1696
2164
  * <p>
1697
- * <code>propagate-at-launch</code> - Accepts a boolean value, which specifies
1698
- * whether tags propagate to instances at launch. The results will only include
1699
- * information about the tags associated with the specified boolean value. </p>
2165
+ * <code>propagate-at-launch</code> - Accepts a Boolean value, which specifies
2166
+ * whether tags propagate to instances at launch. The results only include
2167
+ * information about the tags associated with the specified Boolean value. </p>
1700
2168
  * </li>
1701
2169
  * </ul>
1702
2170
  */
1703
2171
  Name?: string;
1704
2172
  /**
1705
2173
  * <p>One or more filter values. Filter values are case-sensitive. </p>
1706
- * <p>If you specify multiple values for a filter, the values are joined with an
1707
- * <code>OR</code>, and the request returns all results that match any of the specified
1708
- * values. For example, specify "tag:environment" for the filter name and
2174
+ * <p>If you specify multiple values for a filter, the values are automatically logically
2175
+ * joined with an <code>OR</code>, and the request returns all results that match any of
2176
+ * the specified values. For example, specify "tag:environment" for the filter name and
1709
2177
  * "production,development" for the filter values to find Auto Scaling groups with the tag
1710
2178
  * "environment=production" or "environment=development".</p>
1711
2179
  */
@@ -2169,6 +2637,18 @@ export interface AutoScalingGroup {
2169
2637
  * <p>Reserved.</p>
2170
2638
  */
2171
2639
  Context?: string;
2640
+ /**
2641
+ * <p>The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling
2642
+ * supports <code>DesiredCapacityType</code> for attribute-based instance type selection
2643
+ * only. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html">Creating
2644
+ * an Auto Scaling group using attribute-based instance type selection</a> in the
2645
+ * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
2646
+ * <p>By default, Amazon EC2 Auto Scaling specifies <code>units</code>, which translates into number of
2647
+ * instances.</p>
2648
+ * <p>Valid values: <code>units</code> | <code>vcpu</code> | <code>memory-mib</code>
2649
+ * </p>
2650
+ */
2651
+ DesiredCapacityType?: string;
2172
2652
  }
2173
2653
  export declare namespace AutoScalingGroup {
2174
2654
  /**
@@ -2351,10 +2831,10 @@ export interface DesiredConfiguration {
2351
2831
  LaunchTemplate?: LaunchTemplateSpecification;
2352
2832
  /**
2353
2833
  * <p>Describes a mixed instances policy. A mixed instances policy contains the instance
2354
- * types Amazon EC2 Auto Scaling can launch, and other information Amazon EC2 Auto Scaling can use to launch instances to
2355
- * help you optimize your costs. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html">Auto Scaling groups with multiple
2356
- * instance types and purchase options</a> in the <i>Amazon EC2 Auto Scaling User
2357
- * Guide</i>.</p>
2834
+ * types that Amazon EC2 Auto Scaling can launch and other information that Amazon EC2 Auto Scaling can use to launch
2835
+ * instances and help optimize your costs. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html">Auto Scaling
2836
+ * groups with multiple instance types and purchase options</a> in the
2837
+ * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
2358
2838
  */
2359
2839
  MixedInstancesPolicy?: MixedInstancesPolicy;
2360
2840
  }
@@ -5579,9 +6059,8 @@ export interface UpdateAutoScalingGroupType {
5579
6059
  */
5580
6060
  LaunchTemplate?: LaunchTemplateSpecification;
5581
6061
  /**
5582
- * <p>An embedded object that specifies a mixed instances policy. When you make changes to
5583
- * an existing policy, all optional properties are left unchanged if not specified. For
5584
- * more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html">Auto Scaling groups with multiple
6062
+ * <p>An embedded object that specifies a mixed instances policy. For more information, see
6063
+ * <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/asg-purchase-options.html">Auto Scaling groups with multiple
5585
6064
  * instance types and purchase options</a> in the <i>Amazon EC2 Auto Scaling User
5586
6065
  * Guide</i>.</p>
5587
6066
  */
@@ -5686,6 +6165,18 @@ export interface UpdateAutoScalingGroupType {
5686
6165
  * <p>Reserved.</p>
5687
6166
  */
5688
6167
  Context?: string;
6168
+ /**
6169
+ * <p>The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling
6170
+ * supports <code>DesiredCapacityType</code> for attribute-based instance type selection
6171
+ * only. For more information, see <a href="https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html">Creating
6172
+ * an Auto Scaling group using attribute-based instance type selection</a> in the
6173
+ * <i>Amazon EC2 Auto Scaling User Guide</i>.</p>
6174
+ * <p>By default, Amazon EC2 Auto Scaling specifies <code>units</code>, which translates into number of
6175
+ * instances.</p>
6176
+ * <p>Valid values: <code>units</code> | <code>vcpu</code> | <code>memory-mib</code>
6177
+ * </p>
6178
+ */
6179
+ DesiredCapacityType?: string;
5689
6180
  }
5690
6181
  export declare namespace UpdateAutoScalingGroupType {
5691
6182
  /**