aws-sdk-autoscaling 1.68.0 → 1.72.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a92785e6e1492d2c48922939fc57bba0535bc509b42db9ecc5e2af93b6e76494
4
- data.tar.gz: 7daa2b547b42cf14c049d36ac8d1ce56d7e1e79b4050dacfe2c18977134b0dbc
3
+ metadata.gz: 1a1b8446d644705c7a68723ba5fa371db873fdef04322f87349b04350507a336
4
+ data.tar.gz: 7bd01fccf418fda614337fa135b2ae6ba1a31b684b36e9185187294d82c7f0ae
5
5
  SHA512:
6
- metadata.gz: 54f6c3f1bb13b5907edc40c68a8b948ed17dc57c6f17e31f2764079cbbb615d7ecb6d04564452fced0c1c5a7b251b22b49a6e89298fadf0629c3c74dd1df1354
7
- data.tar.gz: 62ff57bfa7531bd9a78cf489a2c59bb39a6997c921e73b0b4649cd1ae9e940c8c33b607345cde7f379fc99342a868397147bf03d187efba8f198b351fda5f1d4
6
+ metadata.gz: 5b5f0d6cb80daa90f140d18d7e5765b20cbe34faccf43b92023777d192c394ef1b1c64aa1ea387eb3a278115dd86d2653d478ed86be25fb20dcd9d65d812ab43
7
+ data.tar.gz: d52012a326ea5ca454cc6b0dd5ae702d2ade2cafaaac0c8ac08c71b55a2308a7ef29026b8d9b3802ad72010d8844add3ed0819c10ed05b4ae55a9d65746d1c3a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.72.0 (2021-11-04)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.71.0 (2021-10-27)
10
+ ------------------
11
+
12
+ * Feature - This release adds support for attribute-based instance type selection, a new EC2 Auto Scaling feature that lets customers express their instance requirements as a set of attributes, such as vCPU, memory, and storage.
13
+
14
+ 1.70.0 (2021-10-18)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.69.0 (2021-10-14)
20
+ ------------------
21
+
22
+ * Feature - Amazon EC2 Auto Scaling now supports filtering describe Auto Scaling groups API using tags
23
+
4
24
  1.68.0 (2021-09-01)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.68.0
1
+ 1.72.0
@@ -218,6 +218,25 @@ module Aws::AutoScaling
218
218
  data[:context]
219
219
  end
220
220
 
221
+ # The unit of measurement for the value specified for desired capacity.
222
+ # Amazon EC2 Auto Scaling supports `DesiredCapacityType` for
223
+ # attribute-based instance type selection only. For more information,
224
+ # see [Creating an Auto Scaling group using attribute-based instance
225
+ # type selection][1] in the *Amazon EC2 Auto Scaling User Guide*.
226
+ #
227
+ # By default, Amazon EC2 Auto Scaling specifies `units`, which
228
+ # translates into number of instances.
229
+ #
230
+ # Valid values: `units` \| `vcpu` \| `memory-mib`
231
+ #
232
+ #
233
+ #
234
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html
235
+ # @return [String]
236
+ def desired_capacity_type
237
+ data[:desired_capacity_type]
238
+ end
239
+
221
240
  # @!endgroup
222
241
 
223
242
  # @return [Client]
@@ -1011,6 +1030,53 @@ module Aws::AutoScaling
1011
1030
  # launch_template_name: "LaunchTemplateName",
1012
1031
  # version: "XmlStringMaxLen255",
1013
1032
  # },
1033
+ # instance_requirements: {
1034
+ # v_cpu_count: { # required
1035
+ # min: 1, # required
1036
+ # max: 1,
1037
+ # },
1038
+ # memory_mi_b: { # required
1039
+ # min: 1, # required
1040
+ # max: 1,
1041
+ # },
1042
+ # cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
1043
+ # memory_gi_b_per_v_cpu: {
1044
+ # min: 1.0,
1045
+ # max: 1.0,
1046
+ # },
1047
+ # excluded_instance_types: ["ExcludedInstance"],
1048
+ # instance_generations: ["current"], # accepts current, previous
1049
+ # spot_max_price_percentage_over_lowest_price: 1,
1050
+ # on_demand_max_price_percentage_over_lowest_price: 1,
1051
+ # bare_metal: "included", # accepts included, excluded, required
1052
+ # burstable_performance: "included", # accepts included, excluded, required
1053
+ # require_hibernate_support: false,
1054
+ # network_interface_count: {
1055
+ # min: 1,
1056
+ # max: 1,
1057
+ # },
1058
+ # local_storage: "included", # accepts included, excluded, required
1059
+ # local_storage_types: ["hdd"], # accepts hdd, ssd
1060
+ # total_local_storage_gb: {
1061
+ # min: 1.0,
1062
+ # max: 1.0,
1063
+ # },
1064
+ # baseline_ebs_bandwidth_mbps: {
1065
+ # min: 1,
1066
+ # max: 1,
1067
+ # },
1068
+ # accelerator_types: ["gpu"], # accepts gpu, fpga, inference
1069
+ # accelerator_count: {
1070
+ # min: 1,
1071
+ # max: 1,
1072
+ # },
1073
+ # accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
1074
+ # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
1075
+ # accelerator_total_memory_mi_b: {
1076
+ # min: 1,
1077
+ # max: 1,
1078
+ # },
1079
+ # },
1014
1080
  # },
1015
1081
  # ],
1016
1082
  # },
@@ -1038,6 +1104,7 @@ module Aws::AutoScaling
1038
1104
  # max_instance_lifetime: 1,
1039
1105
  # capacity_rebalance: false,
1040
1106
  # context: "Context",
1107
+ # desired_capacity_type: "XmlStringMaxLen255",
1041
1108
  # })
1042
1109
  # @param [Hash] options ({})
1043
1110
  # @option options [String] :launch_configuration_name
@@ -1049,11 +1116,9 @@ module Aws::AutoScaling
1049
1116
  # specify `LaunchTemplate` in your update request, you can't specify
1050
1117
  # `LaunchConfigurationName` or `MixedInstancesPolicy`.
1051
1118
  # @option options [Types::MixedInstancesPolicy] :mixed_instances_policy
1052
- # An embedded object that specifies a mixed instances policy. When you
1053
- # make changes to an existing policy, all optional properties are left
1054
- # unchanged if not specified. For more information, see [Auto Scaling
1055
- # groups with multiple instance types and purchase options][1] in the
1056
- # *Amazon EC2 Auto Scaling User Guide*.
1119
+ # An embedded object that specifies a mixed instances policy. For more
1120
+ # information, see [Auto Scaling groups with multiple instance types and
1121
+ # purchase options][1] in the *Amazon EC2 Auto Scaling User Guide*.
1057
1122
  #
1058
1123
  #
1059
1124
  #
@@ -1173,6 +1238,21 @@ module Aws::AutoScaling
1173
1238
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/capacity-rebalance.html
1174
1239
  # @option options [String] :context
1175
1240
  # Reserved.
1241
+ # @option options [String] :desired_capacity_type
1242
+ # The unit of measurement for the value specified for desired capacity.
1243
+ # Amazon EC2 Auto Scaling supports `DesiredCapacityType` for
1244
+ # attribute-based instance type selection only. For more information,
1245
+ # see [Creating an Auto Scaling group using attribute-based instance
1246
+ # type selection][1] in the *Amazon EC2 Auto Scaling User Guide*.
1247
+ #
1248
+ # By default, Amazon EC2 Auto Scaling specifies `units`, which
1249
+ # translates into number of instances.
1250
+ #
1251
+ # Valid values: `units` \| `vcpu` \| `memory-mib`
1252
+ #
1253
+ #
1254
+ #
1255
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html
1176
1256
  # @return [AutoScalingGroup]
1177
1257
  def update(options = {})
1178
1258
  options = options.merge(auto_scaling_group_name: @name)
@@ -275,6 +275,15 @@ module Aws::AutoScaling
275
275
  # ** Please note ** When response stubbing is enabled, no HTTP
276
276
  # requests are made, and retries are disabled.
277
277
  #
278
+ # @option options [Boolean] :use_dualstack_endpoint
279
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
280
+ # will be used if available.
281
+ #
282
+ # @option options [Boolean] :use_fips_endpoint
283
+ # When set to `true`, fips compatible endpoints will be used if available.
284
+ # When a `fips` region is used, the region is normalized and this config
285
+ # is set to `true`.
286
+ #
278
287
  # @option options [Boolean] :validate_params (true)
279
288
  # When `true`, request parameters are validated before
280
289
  # sending the request.
@@ -790,20 +799,11 @@ module Aws::AutoScaling
790
799
  # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-launch-template.html
791
800
  #
792
801
  # @option params [Types::MixedInstancesPolicy] :mixed_instances_policy
793
- # An embedded object that specifies a mixed instances policy. The
794
- # required properties must be specified. If optional properties are
795
- # unspecified, their default values are used.
796
- #
797
- # The policy includes properties that not only define the distribution
798
- # of On-Demand Instances and Spot Instances, the maximum price to pay
799
- # for Spot Instances, and how the Auto Scaling group allocates instance
800
- # types to fulfill On-Demand and Spot capacities, but also the
801
- # properties that specify the instance configuration information—the
802
- # launch template and instance types. The policy can also include a
803
- # weight for each instance type and different launch templates for
804
- # individual instance types. For more information, see [Auto Scaling
805
- # groups with multiple instance types and purchase options][1] in the
806
- # *Amazon EC2 Auto Scaling User Guide*.
802
+ # An embedded object that specifies a mixed instances policy.
803
+ #
804
+ # For more information, see [Auto Scaling groups with multiple instance
805
+ # types and purchase options][1] in the *Amazon EC2 Auto Scaling User
806
+ # Guide*.
807
807
  #
808
808
  #
809
809
  #
@@ -1011,6 +1011,22 @@ module Aws::AutoScaling
1011
1011
  # @option params [String] :context
1012
1012
  # Reserved.
1013
1013
  #
1014
+ # @option params [String] :desired_capacity_type
1015
+ # The unit of measurement for the value specified for desired capacity.
1016
+ # Amazon EC2 Auto Scaling supports `DesiredCapacityType` for
1017
+ # attribute-based instance type selection only. For more information,
1018
+ # see [Creating an Auto Scaling group using attribute-based instance
1019
+ # type selection][1] in the *Amazon EC2 Auto Scaling User Guide*.
1020
+ #
1021
+ # By default, Amazon EC2 Auto Scaling specifies `units`, which
1022
+ # translates into number of instances.
1023
+ #
1024
+ # Valid values: `units` \| `vcpu` \| `memory-mib`
1025
+ #
1026
+ #
1027
+ #
1028
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html
1029
+ #
1014
1030
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1015
1031
  #
1016
1032
  #
@@ -1117,6 +1133,53 @@ module Aws::AutoScaling
1117
1133
  # launch_template_name: "LaunchTemplateName",
1118
1134
  # version: "XmlStringMaxLen255",
1119
1135
  # },
1136
+ # instance_requirements: {
1137
+ # v_cpu_count: { # required
1138
+ # min: 1, # required
1139
+ # max: 1,
1140
+ # },
1141
+ # memory_mi_b: { # required
1142
+ # min: 1, # required
1143
+ # max: 1,
1144
+ # },
1145
+ # cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
1146
+ # memory_gi_b_per_v_cpu: {
1147
+ # min: 1.0,
1148
+ # max: 1.0,
1149
+ # },
1150
+ # excluded_instance_types: ["ExcludedInstance"],
1151
+ # instance_generations: ["current"], # accepts current, previous
1152
+ # spot_max_price_percentage_over_lowest_price: 1,
1153
+ # on_demand_max_price_percentage_over_lowest_price: 1,
1154
+ # bare_metal: "included", # accepts included, excluded, required
1155
+ # burstable_performance: "included", # accepts included, excluded, required
1156
+ # require_hibernate_support: false,
1157
+ # network_interface_count: {
1158
+ # min: 1,
1159
+ # max: 1,
1160
+ # },
1161
+ # local_storage: "included", # accepts included, excluded, required
1162
+ # local_storage_types: ["hdd"], # accepts hdd, ssd
1163
+ # total_local_storage_gb: {
1164
+ # min: 1.0,
1165
+ # max: 1.0,
1166
+ # },
1167
+ # baseline_ebs_bandwidth_mbps: {
1168
+ # min: 1,
1169
+ # max: 1,
1170
+ # },
1171
+ # accelerator_types: ["gpu"], # accepts gpu, fpga, inference
1172
+ # accelerator_count: {
1173
+ # min: 1,
1174
+ # max: 1,
1175
+ # },
1176
+ # accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
1177
+ # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
1178
+ # accelerator_total_memory_mi_b: {
1179
+ # min: 1,
1180
+ # max: 1,
1181
+ # },
1182
+ # },
1120
1183
  # },
1121
1184
  # ],
1122
1185
  # },
@@ -1167,6 +1230,7 @@ module Aws::AutoScaling
1167
1230
  # service_linked_role_arn: "ResourceName",
1168
1231
  # max_instance_lifetime: 1,
1169
1232
  # context: "Context",
1233
+ # desired_capacity_type: "XmlStringMaxLen255",
1170
1234
  # })
1171
1235
  #
1172
1236
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/CreateAutoScalingGroup AWS API Documentation
@@ -1375,7 +1439,7 @@ module Aws::AutoScaling
1375
1439
  # provide optimal I/O performance. This optimization is not available
1376
1440
  # with all instance types. Additional fees are incurred when you enable
1377
1441
  # EBS optimization for an instance type that is not EBS-optimized by
1378
- # default. For more information, see [Amazon EBS-Optimized Instances][1]
1442
+ # default. For more information, see [Amazon EBS-optimized instances][1]
1379
1443
  # in the *Amazon EC2 User Guide for Linux Instances*.
1380
1444
  #
1381
1445
  # The default value is `false`.
@@ -1917,11 +1981,11 @@ module Aws::AutoScaling
1917
1981
  # Describes the current Amazon EC2 Auto Scaling resource quotas for your
1918
1982
  # account.
1919
1983
  #
1920
- # When you establish an account, the account has initial quotas on the
1921
- # maximum number of Auto Scaling groups and launch configurations that
1922
- # you can create in a given Region. For more information, see [Amazon
1923
- # EC2 Auto Scaling service quotas][1] in the *Amazon EC2 Auto Scaling
1924
- # User Guide*.
1984
+ # When you establish an Amazon Web Services account, the account has
1985
+ # initial quotas on the maximum number of Auto Scaling groups and launch
1986
+ # configurations that you can create in a given Region. For more
1987
+ # information, see [Amazon EC2 Auto Scaling service quotas][1] in the
1988
+ # *Amazon EC2 Auto Scaling User Guide*.
1925
1989
  #
1926
1990
  #
1927
1991
  #
@@ -2021,9 +2085,16 @@ module Aws::AutoScaling
2021
2085
  # Gets information about the Auto Scaling groups in the account and
2022
2086
  # Region.
2023
2087
  #
2024
- # This operation returns information about instances in Auto Scaling
2025
- # groups. To retrieve information about the instances in a warm pool,
2026
- # you must call the DescribeWarmPool API.
2088
+ # If you specify Auto Scaling group names, the output includes
2089
+ # information for only the specified Auto Scaling groups. If you specify
2090
+ # filters, the output includes information for only those Auto Scaling
2091
+ # groups that meet the filter criteria. If you do not specify group
2092
+ # names or filters, the output includes information for all Auto Scaling
2093
+ # groups.
2094
+ #
2095
+ # This operation also returns information about instances in Auto
2096
+ # Scaling groups. To retrieve information about the instances in a warm
2097
+ # pool, you must call the DescribeWarmPool API.
2027
2098
  #
2028
2099
  # @option params [Array<String>] :auto_scaling_group_names
2029
2100
  # The names of the Auto Scaling groups. By default, you can only specify
@@ -2040,6 +2111,9 @@ module Aws::AutoScaling
2040
2111
  # The maximum number of items to return with this call. The default
2041
2112
  # value is `50` and the maximum value is `100`.
2042
2113
  #
2114
+ # @option params [Array<Types::Filter>] :filters
2115
+ # One or more filters to limit the results based on specific tags.
2116
+ #
2043
2117
  # @return [Types::AutoScalingGroupsType] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2044
2118
  #
2045
2119
  # * {Types::AutoScalingGroupsType#auto_scaling_groups #auto_scaling_groups} => Array&lt;Types::AutoScalingGroup&gt;
@@ -2108,6 +2182,12 @@ module Aws::AutoScaling
2108
2182
  # auto_scaling_group_names: ["XmlStringMaxLen255"],
2109
2183
  # next_token: "XmlString",
2110
2184
  # max_records: 1,
2185
+ # filters: [
2186
+ # {
2187
+ # name: "XmlString",
2188
+ # values: ["XmlString"],
2189
+ # },
2190
+ # ],
2111
2191
  # })
2112
2192
  #
2113
2193
  # @example Response structure
@@ -2128,6 +2208,42 @@ module Aws::AutoScaling
2128
2208
  # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].launch_template_specification.launch_template_id #=> String
2129
2209
  # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].launch_template_specification.launch_template_name #=> String
2130
2210
  # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].launch_template_specification.version #=> String
2211
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.v_cpu_count.min #=> Integer
2212
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.v_cpu_count.max #=> Integer
2213
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.memory_mi_b.min #=> Integer
2214
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.memory_mi_b.max #=> Integer
2215
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.cpu_manufacturers #=> Array
2216
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services"
2217
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.memory_gi_b_per_v_cpu.min #=> Float
2218
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.memory_gi_b_per_v_cpu.max #=> Float
2219
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.excluded_instance_types #=> Array
2220
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.excluded_instance_types[0] #=> String
2221
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.instance_generations #=> Array
2222
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.instance_generations[0] #=> String, one of "current", "previous"
2223
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.spot_max_price_percentage_over_lowest_price #=> Integer
2224
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.on_demand_max_price_percentage_over_lowest_price #=> Integer
2225
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.bare_metal #=> String, one of "included", "excluded", "required"
2226
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.burstable_performance #=> String, one of "included", "excluded", "required"
2227
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.require_hibernate_support #=> Boolean
2228
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.network_interface_count.min #=> Integer
2229
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.network_interface_count.max #=> Integer
2230
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.local_storage #=> String, one of "included", "excluded", "required"
2231
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.local_storage_types #=> Array
2232
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.local_storage_types[0] #=> String, one of "hdd", "ssd"
2233
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.total_local_storage_gb.min #=> Float
2234
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.total_local_storage_gb.max #=> Float
2235
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.baseline_ebs_bandwidth_mbps.min #=> Integer
2236
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.baseline_ebs_bandwidth_mbps.max #=> Integer
2237
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_types #=> Array
2238
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_types[0] #=> String, one of "gpu", "fpga", "inference"
2239
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_count.min #=> Integer
2240
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_count.max #=> Integer
2241
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_manufacturers #=> Array
2242
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_manufacturers[0] #=> String, one of "nvidia", "amd", "amazon-web-services", "xilinx"
2243
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_names #=> Array
2244
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p"
2245
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
2246
+ # resp.auto_scaling_groups[0].mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
2131
2247
  # resp.auto_scaling_groups[0].mixed_instances_policy.instances_distribution.on_demand_allocation_strategy #=> String
2132
2248
  # resp.auto_scaling_groups[0].mixed_instances_policy.instances_distribution.on_demand_base_capacity #=> Integer
2133
2249
  # resp.auto_scaling_groups[0].mixed_instances_policy.instances_distribution.on_demand_percentage_above_base_capacity #=> Integer
@@ -2187,6 +2303,7 @@ module Aws::AutoScaling
2187
2303
  # resp.auto_scaling_groups[0].warm_pool_configuration.status #=> String, one of "PendingDelete"
2188
2304
  # resp.auto_scaling_groups[0].warm_pool_size #=> Integer
2189
2305
  # resp.auto_scaling_groups[0].context #=> String
2306
+ # resp.auto_scaling_groups[0].desired_capacity_type #=> String
2190
2307
  # resp.next_token #=> String
2191
2308
  #
2192
2309
  #
@@ -2458,6 +2575,42 @@ module Aws::AutoScaling
2458
2575
  # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].launch_template_specification.launch_template_id #=> String
2459
2576
  # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].launch_template_specification.launch_template_name #=> String
2460
2577
  # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].launch_template_specification.version #=> String
2578
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.v_cpu_count.min #=> Integer
2579
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.v_cpu_count.max #=> Integer
2580
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.memory_mi_b.min #=> Integer
2581
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.memory_mi_b.max #=> Integer
2582
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.cpu_manufacturers #=> Array
2583
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.cpu_manufacturers[0] #=> String, one of "intel", "amd", "amazon-web-services"
2584
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.memory_gi_b_per_v_cpu.min #=> Float
2585
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.memory_gi_b_per_v_cpu.max #=> Float
2586
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.excluded_instance_types #=> Array
2587
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.excluded_instance_types[0] #=> String
2588
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.instance_generations #=> Array
2589
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.instance_generations[0] #=> String, one of "current", "previous"
2590
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.spot_max_price_percentage_over_lowest_price #=> Integer
2591
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.on_demand_max_price_percentage_over_lowest_price #=> Integer
2592
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.bare_metal #=> String, one of "included", "excluded", "required"
2593
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.burstable_performance #=> String, one of "included", "excluded", "required"
2594
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.require_hibernate_support #=> Boolean
2595
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.network_interface_count.min #=> Integer
2596
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.network_interface_count.max #=> Integer
2597
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.local_storage #=> String, one of "included", "excluded", "required"
2598
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.local_storage_types #=> Array
2599
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.local_storage_types[0] #=> String, one of "hdd", "ssd"
2600
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.total_local_storage_gb.min #=> Float
2601
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.total_local_storage_gb.max #=> Float
2602
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.baseline_ebs_bandwidth_mbps.min #=> Integer
2603
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.baseline_ebs_bandwidth_mbps.max #=> Integer
2604
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_types #=> Array
2605
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_types[0] #=> String, one of "gpu", "fpga", "inference"
2606
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_count.min #=> Integer
2607
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_count.max #=> Integer
2608
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_manufacturers #=> Array
2609
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_manufacturers[0] #=> String, one of "nvidia", "amd", "amazon-web-services", "xilinx"
2610
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_names #=> Array
2611
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_names[0] #=> String, one of "a100", "v100", "k80", "t4", "m60", "radeon-pro-v520", "vu9p"
2612
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_total_memory_mi_b.min #=> Integer
2613
+ # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.launch_template.overrides[0].instance_requirements.accelerator_total_memory_mi_b.max #=> Integer
2461
2614
  # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.instances_distribution.on_demand_allocation_strategy #=> String
2462
2615
  # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.instances_distribution.on_demand_base_capacity #=> Integer
2463
2616
  # resp.instance_refreshes[0].desired_configuration.mixed_instances_policy.instances_distribution.on_demand_percentage_above_base_capacity #=> Integer
@@ -5495,6 +5648,53 @@ module Aws::AutoScaling
5495
5648
  # launch_template_name: "LaunchTemplateName",
5496
5649
  # version: "XmlStringMaxLen255",
5497
5650
  # },
5651
+ # instance_requirements: {
5652
+ # v_cpu_count: { # required
5653
+ # min: 1, # required
5654
+ # max: 1,
5655
+ # },
5656
+ # memory_mi_b: { # required
5657
+ # min: 1, # required
5658
+ # max: 1,
5659
+ # },
5660
+ # cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
5661
+ # memory_gi_b_per_v_cpu: {
5662
+ # min: 1.0,
5663
+ # max: 1.0,
5664
+ # },
5665
+ # excluded_instance_types: ["ExcludedInstance"],
5666
+ # instance_generations: ["current"], # accepts current, previous
5667
+ # spot_max_price_percentage_over_lowest_price: 1,
5668
+ # on_demand_max_price_percentage_over_lowest_price: 1,
5669
+ # bare_metal: "included", # accepts included, excluded, required
5670
+ # burstable_performance: "included", # accepts included, excluded, required
5671
+ # require_hibernate_support: false,
5672
+ # network_interface_count: {
5673
+ # min: 1,
5674
+ # max: 1,
5675
+ # },
5676
+ # local_storage: "included", # accepts included, excluded, required
5677
+ # local_storage_types: ["hdd"], # accepts hdd, ssd
5678
+ # total_local_storage_gb: {
5679
+ # min: 1.0,
5680
+ # max: 1.0,
5681
+ # },
5682
+ # baseline_ebs_bandwidth_mbps: {
5683
+ # min: 1,
5684
+ # max: 1,
5685
+ # },
5686
+ # accelerator_types: ["gpu"], # accepts gpu, fpga, inference
5687
+ # accelerator_count: {
5688
+ # min: 1,
5689
+ # max: 1,
5690
+ # },
5691
+ # accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
5692
+ # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
5693
+ # accelerator_total_memory_mi_b: {
5694
+ # min: 1,
5695
+ # max: 1,
5696
+ # },
5697
+ # },
5498
5698
  # },
5499
5699
  # ],
5500
5700
  # },
@@ -5742,11 +5942,9 @@ module Aws::AutoScaling
5742
5942
  # `LaunchConfigurationName` or `MixedInstancesPolicy`.
5743
5943
  #
5744
5944
  # @option params [Types::MixedInstancesPolicy] :mixed_instances_policy
5745
- # An embedded object that specifies a mixed instances policy. When you
5746
- # make changes to an existing policy, all optional properties are left
5747
- # unchanged if not specified. For more information, see [Auto Scaling
5748
- # groups with multiple instance types and purchase options][1] in the
5749
- # *Amazon EC2 Auto Scaling User Guide*.
5945
+ # An embedded object that specifies a mixed instances policy. For more
5946
+ # information, see [Auto Scaling groups with multiple instance types and
5947
+ # purchase options][1] in the *Amazon EC2 Auto Scaling User Guide*.
5750
5948
  #
5751
5949
  #
5752
5950
  #
@@ -5882,6 +6080,22 @@ module Aws::AutoScaling
5882
6080
  # @option params [String] :context
5883
6081
  # Reserved.
5884
6082
  #
6083
+ # @option params [String] :desired_capacity_type
6084
+ # The unit of measurement for the value specified for desired capacity.
6085
+ # Amazon EC2 Auto Scaling supports `DesiredCapacityType` for
6086
+ # attribute-based instance type selection only. For more information,
6087
+ # see [Creating an Auto Scaling group using attribute-based instance
6088
+ # type selection][1] in the *Amazon EC2 Auto Scaling User Guide*.
6089
+ #
6090
+ # By default, Amazon EC2 Auto Scaling specifies `units`, which
6091
+ # translates into number of instances.
6092
+ #
6093
+ # Valid values: `units` \| `vcpu` \| `memory-mib`
6094
+ #
6095
+ #
6096
+ #
6097
+ # [1]: https://docs.aws.amazon.com/autoscaling/ec2/userguide/create-asg-instance-type-requirements.html
6098
+ #
5885
6099
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
5886
6100
  #
5887
6101
  #
@@ -5939,6 +6153,53 @@ module Aws::AutoScaling
5939
6153
  # launch_template_name: "LaunchTemplateName",
5940
6154
  # version: "XmlStringMaxLen255",
5941
6155
  # },
6156
+ # instance_requirements: {
6157
+ # v_cpu_count: { # required
6158
+ # min: 1, # required
6159
+ # max: 1,
6160
+ # },
6161
+ # memory_mi_b: { # required
6162
+ # min: 1, # required
6163
+ # max: 1,
6164
+ # },
6165
+ # cpu_manufacturers: ["intel"], # accepts intel, amd, amazon-web-services
6166
+ # memory_gi_b_per_v_cpu: {
6167
+ # min: 1.0,
6168
+ # max: 1.0,
6169
+ # },
6170
+ # excluded_instance_types: ["ExcludedInstance"],
6171
+ # instance_generations: ["current"], # accepts current, previous
6172
+ # spot_max_price_percentage_over_lowest_price: 1,
6173
+ # on_demand_max_price_percentage_over_lowest_price: 1,
6174
+ # bare_metal: "included", # accepts included, excluded, required
6175
+ # burstable_performance: "included", # accepts included, excluded, required
6176
+ # require_hibernate_support: false,
6177
+ # network_interface_count: {
6178
+ # min: 1,
6179
+ # max: 1,
6180
+ # },
6181
+ # local_storage: "included", # accepts included, excluded, required
6182
+ # local_storage_types: ["hdd"], # accepts hdd, ssd
6183
+ # total_local_storage_gb: {
6184
+ # min: 1.0,
6185
+ # max: 1.0,
6186
+ # },
6187
+ # baseline_ebs_bandwidth_mbps: {
6188
+ # min: 1,
6189
+ # max: 1,
6190
+ # },
6191
+ # accelerator_types: ["gpu"], # accepts gpu, fpga, inference
6192
+ # accelerator_count: {
6193
+ # min: 1,
6194
+ # max: 1,
6195
+ # },
6196
+ # accelerator_manufacturers: ["nvidia"], # accepts nvidia, amd, amazon-web-services, xilinx
6197
+ # accelerator_names: ["a100"], # accepts a100, v100, k80, t4, m60, radeon-pro-v520, vu9p
6198
+ # accelerator_total_memory_mi_b: {
6199
+ # min: 1,
6200
+ # max: 1,
6201
+ # },
6202
+ # },
5942
6203
  # },
5943
6204
  # ],
5944
6205
  # },
@@ -5966,6 +6227,7 @@ module Aws::AutoScaling
5966
6227
  # max_instance_lifetime: 1,
5967
6228
  # capacity_rebalance: false,
5968
6229
  # context: "Context",
6230
+ # desired_capacity_type: "XmlStringMaxLen255",
5969
6231
  # })
5970
6232
  #
5971
6233
  # @see http://docs.aws.amazon.com/goto/WebAPI/autoscaling-2011-01-01/UpdateAutoScalingGroup AWS API Documentation
@@ -5990,7 +6252,7 @@ module Aws::AutoScaling
5990
6252
  params: params,
5991
6253
  config: config)
5992
6254
  context[:gem_name] = 'aws-sdk-autoscaling'
5993
- context[:gem_version] = '1.68.0'
6255
+ context[:gem_version] = '1.72.0'
5994
6256
  Seahorse::Client::Request.new(handlers, context)
5995
6257
  end
5996
6258