aws-sdk-ec2 1.491.0 → 1.492.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs CHANGED
@@ -1467,7 +1467,7 @@ module Aws
1467
1467
  min: ::Integer,
1468
1468
  max: ::Integer?
1469
1469
  },
1470
- cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
1470
+ cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services" | "apple")]?,
1471
1471
  memory_gi_b_per_v_cpu: {
1472
1472
  min: ::Float?,
1473
1473
  max: ::Float?
@@ -1509,7 +1509,16 @@ module Aws
1509
1509
  max: ::Float?
1510
1510
  }?,
1511
1511
  allowed_instance_types: Array[::String]?,
1512
- max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?
1512
+ max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
1513
+ baseline_performance_factors: {
1514
+ cpu: {
1515
+ references: Array[
1516
+ {
1517
+ instance_family: ::String?
1518
+ },
1519
+ ]?
1520
+ }?
1521
+ }?
1513
1522
  }?,
1514
1523
  image_id: ::String?
1515
1524
  },
@@ -2095,7 +2104,7 @@ module Aws
2095
2104
  amd_sev_snp: ("enabled" | "disabled")?
2096
2105
  }?,
2097
2106
  capacity_reservation_specification: {
2098
- capacity_reservation_preference: ("open" | "none")?,
2107
+ capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")?,
2099
2108
  capacity_reservation_target: {
2100
2109
  capacity_reservation_id: ::String?,
2101
2110
  capacity_reservation_resource_group_arn: ::String?
@@ -2128,7 +2137,7 @@ module Aws
2128
2137
  min: ::Integer,
2129
2138
  max: ::Integer?
2130
2139
  },
2131
- cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
2140
+ cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services" | "apple")]?,
2132
2141
  memory_gi_b_per_v_cpu: {
2133
2142
  min: ::Float?,
2134
2143
  max: ::Float?
@@ -2170,7 +2179,16 @@ module Aws
2170
2179
  max: ::Float?
2171
2180
  }?,
2172
2181
  allowed_instance_types: Array[::String]?,
2173
- max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?
2182
+ max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
2183
+ baseline_performance_factors: {
2184
+ cpu: {
2185
+ references: Array[
2186
+ {
2187
+ instance_family: ::String?
2188
+ },
2189
+ ]?
2190
+ }?
2191
+ }?
2174
2192
  }?,
2175
2193
  private_dns_name_options: {
2176
2194
  hostname_type: ("ip-name" | "resource-name")?,
@@ -2355,7 +2373,7 @@ module Aws
2355
2373
  amd_sev_snp: ("enabled" | "disabled")?
2356
2374
  }?,
2357
2375
  capacity_reservation_specification: {
2358
- capacity_reservation_preference: ("open" | "none")?,
2376
+ capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")?,
2359
2377
  capacity_reservation_target: {
2360
2378
  capacity_reservation_id: ::String?,
2361
2379
  capacity_reservation_resource_group_arn: ::String?
@@ -2388,7 +2406,7 @@ module Aws
2388
2406
  min: ::Integer,
2389
2407
  max: ::Integer?
2390
2408
  },
2391
- cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
2409
+ cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services" | "apple")]?,
2392
2410
  memory_gi_b_per_v_cpu: {
2393
2411
  min: ::Float?,
2394
2412
  max: ::Float?
@@ -2430,7 +2448,16 @@ module Aws
2430
2448
  max: ::Float?
2431
2449
  }?,
2432
2450
  allowed_instance_types: Array[::String]?,
2433
- max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?
2451
+ max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
2452
+ baseline_performance_factors: {
2453
+ cpu: {
2454
+ references: Array[
2455
+ {
2456
+ instance_family: ::String?
2457
+ },
2458
+ ]?
2459
+ }?
2460
+ }?
2434
2461
  }?,
2435
2462
  private_dns_name_options: {
2436
2463
  hostname_type: ("ip-name" | "resource-name")?,
@@ -9008,7 +9035,7 @@ module Aws
9008
9035
  min: ::Integer,
9009
9036
  max: ::Integer?
9010
9037
  },
9011
- cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
9038
+ cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services" | "apple")]?,
9012
9039
  memory_gi_b_per_v_cpu: {
9013
9040
  min: ::Float?,
9014
9041
  max: ::Float?
@@ -9050,7 +9077,16 @@ module Aws
9050
9077
  max: ::Float?
9051
9078
  }?,
9052
9079
  allowed_instance_types: Array[::String]?,
9053
- max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?
9080
+ max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
9081
+ baseline_performance_factors: {
9082
+ cpu: {
9083
+ references: Array[
9084
+ {
9085
+ instance_family: ::String?
9086
+ },
9087
+ ]?
9088
+ }?
9089
+ }?
9054
9090
  },
9055
9091
  ?max_results: ::Integer,
9056
9092
  ?next_token: ::String
@@ -9389,7 +9425,7 @@ module Aws
9389
9425
  min: ::Integer,
9390
9426
  max: ::Integer?
9391
9427
  },
9392
- cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
9428
+ cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services" | "apple")]?,
9393
9429
  memory_gi_b_per_v_cpu: {
9394
9430
  min: ::Float?,
9395
9431
  max: ::Float?
@@ -9431,7 +9467,16 @@ module Aws
9431
9467
  max: ::Float?
9432
9468
  }?,
9433
9469
  allowed_instance_types: Array[::String]?,
9434
- max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?
9470
+ max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
9471
+ baseline_performance_factors: {
9472
+ cpu: {
9473
+ references: Array[
9474
+ {
9475
+ instance_family: ::String?
9476
+ },
9477
+ ]?
9478
+ }?
9479
+ }?
9435
9480
  }?
9436
9481
  },
9437
9482
  ?dry_run: bool,
@@ -10097,7 +10142,7 @@ module Aws
10097
10142
  min: ::Integer,
10098
10143
  max: ::Integer?
10099
10144
  },
10100
- cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
10145
+ cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services" | "apple")]?,
10101
10146
  memory_gi_b_per_v_cpu: {
10102
10147
  min: ::Float?,
10103
10148
  max: ::Float?
@@ -10139,7 +10184,16 @@ module Aws
10139
10184
  max: ::Float?
10140
10185
  }?,
10141
10186
  allowed_instance_types: Array[::String]?,
10142
- max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?
10187
+ max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
10188
+ baseline_performance_factors: {
10189
+ cpu: {
10190
+ references: Array[
10191
+ {
10192
+ instance_family: ::String?
10193
+ },
10194
+ ]?
10195
+ }?
10196
+ }?
10143
10197
  }?,
10144
10198
  image_id: ::String?
10145
10199
  },
@@ -10308,7 +10362,7 @@ module Aws
10308
10362
  def modify_instance_capacity_reservation_attributes: (
10309
10363
  instance_id: ::String,
10310
10364
  capacity_reservation_specification: {
10311
- capacity_reservation_preference: ("open" | "none")?,
10365
+ capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")?,
10312
10366
  capacity_reservation_target: {
10313
10367
  capacity_reservation_id: ::String?,
10314
10368
  capacity_reservation_resource_group_arn: ::String?
@@ -10760,7 +10814,7 @@ module Aws
10760
10814
  min: ::Integer?,
10761
10815
  max: ::Integer?
10762
10816
  }?,
10763
- cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
10817
+ cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services" | "apple")]?,
10764
10818
  memory_gi_b_per_v_cpu: {
10765
10819
  min: ::Float?,
10766
10820
  max: ::Float?
@@ -10802,7 +10856,16 @@ module Aws
10802
10856
  max: ::Float?
10803
10857
  }?,
10804
10858
  allowed_instance_types: Array[::String]?,
10805
- max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?
10859
+ max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
10860
+ baseline_performance_factors: {
10861
+ cpu: {
10862
+ references: Array[
10863
+ {
10864
+ instance_family: ::String?
10865
+ },
10866
+ ]?
10867
+ }?
10868
+ }?
10806
10869
  }?
10807
10870
  },
10808
10871
  ]?
@@ -12090,7 +12153,7 @@ module Aws
12090
12153
  min: ::Integer?,
12091
12154
  max: ::Integer?
12092
12155
  }?,
12093
- cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
12156
+ cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services" | "apple")]?,
12094
12157
  memory_gi_b_per_v_cpu: {
12095
12158
  min: ::Float?,
12096
12159
  max: ::Float?
@@ -12132,7 +12195,16 @@ module Aws
12132
12195
  max: ::Float?
12133
12196
  }?,
12134
12197
  allowed_instance_types: Array[::String]?,
12135
- max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?
12198
+ max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
12199
+ baseline_performance_factors: {
12200
+ cpu: {
12201
+ references: Array[
12202
+ {
12203
+ instance_family: ::String?
12204
+ },
12205
+ ]?
12206
+ }?
12207
+ }?
12136
12208
  }?,
12137
12209
  security_groups: Array[
12138
12210
  {
@@ -12166,7 +12238,7 @@ module Aws
12166
12238
  min: ::Integer?,
12167
12239
  max: ::Integer?
12168
12240
  }?,
12169
- cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services")]?,
12241
+ cpu_manufacturers: Array[("intel" | "amd" | "amazon-web-services" | "apple")]?,
12170
12242
  memory_gi_b_per_v_cpu: {
12171
12243
  min: ::Float?,
12172
12244
  max: ::Float?
@@ -12208,7 +12280,16 @@ module Aws
12208
12280
  max: ::Float?
12209
12281
  }?,
12210
12282
  allowed_instance_types: Array[::String]?,
12211
- max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?
12283
+ max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer?,
12284
+ baseline_performance_factors: {
12285
+ cpu: {
12286
+ references: Array[
12287
+ {
12288
+ instance_family: ::String?
12289
+ },
12290
+ ]?
12291
+ }?
12292
+ }?
12212
12293
  }?
12213
12294
  },
12214
12295
  ]?
@@ -12758,7 +12839,7 @@ module Aws
12758
12839
  amd_sev_snp: ("enabled" | "disabled")?
12759
12840
  },
12760
12841
  ?capacity_reservation_specification: {
12761
- capacity_reservation_preference: ("open" | "none")?,
12842
+ capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")?,
12762
12843
  capacity_reservation_target: {
12763
12844
  capacity_reservation_id: ::String?,
12764
12845
  capacity_reservation_resource_group_arn: ::String?
data/sig/resource.rbs CHANGED
@@ -198,7 +198,7 @@ module Aws
198
198
  amd_sev_snp: ("enabled" | "disabled")?
199
199
  },
200
200
  ?capacity_reservation_specification: {
201
- capacity_reservation_preference: ("open" | "none")?,
201
+ capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")?,
202
202
  capacity_reservation_target: {
203
203
  capacity_reservation_id: ::String?,
204
204
  capacity_reservation_resource_group_arn: ::String?
data/sig/subnet.rbs CHANGED
@@ -191,7 +191,7 @@ module Aws
191
191
  amd_sev_snp: ("enabled" | "disabled")?
192
192
  },
193
193
  ?capacity_reservation_specification: {
194
- capacity_reservation_preference: ("open" | "none")?,
194
+ capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")?,
195
195
  capacity_reservation_target: {
196
196
  capacity_reservation_id: ::String?,
197
197
  capacity_reservation_resource_group_arn: ::String?
data/sig/types.rbs CHANGED
@@ -934,6 +934,16 @@ module Aws::EC2
934
934
  SENSITIVE: []
935
935
  end
936
936
 
937
+ class BaselinePerformanceFactors
938
+ attr_accessor cpu: Types::CpuPerformanceFactor
939
+ SENSITIVE: []
940
+ end
941
+
942
+ class BaselinePerformanceFactorsRequest
943
+ attr_accessor cpu: Types::CpuPerformanceFactorRequest
944
+ SENSITIVE: []
945
+ end
946
+
937
947
  class BlobAttributeValue
938
948
  attr_accessor value: ::String
939
949
  SENSITIVE: []
@@ -1243,13 +1253,13 @@ module Aws::EC2
1243
1253
  end
1244
1254
 
1245
1255
  class CapacityReservationSpecification
1246
- attr_accessor capacity_reservation_preference: ("open" | "none")
1256
+ attr_accessor capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")
1247
1257
  attr_accessor capacity_reservation_target: Types::CapacityReservationTarget
1248
1258
  SENSITIVE: []
1249
1259
  end
1250
1260
 
1251
1261
  class CapacityReservationSpecificationResponse
1252
- attr_accessor capacity_reservation_preference: ("open" | "none")
1262
+ attr_accessor capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")
1253
1263
  attr_accessor capacity_reservation_target: Types::CapacityReservationTargetResponse
1254
1264
  SENSITIVE: []
1255
1265
  end
@@ -1645,6 +1655,16 @@ module Aws::EC2
1645
1655
  SENSITIVE: []
1646
1656
  end
1647
1657
 
1658
+ class CpuPerformanceFactor
1659
+ attr_accessor references: ::Array[Types::PerformanceFactorReference]
1660
+ SENSITIVE: []
1661
+ end
1662
+
1663
+ class CpuPerformanceFactorRequest
1664
+ attr_accessor references: ::Array[Types::PerformanceFactorReferenceRequest]
1665
+ SENSITIVE: []
1666
+ end
1667
+
1648
1668
  class CreateCapacityReservationBySplittingRequest
1649
1669
  attr_accessor dry_run: bool
1650
1670
  attr_accessor client_token: ::String
@@ -9349,7 +9369,7 @@ module Aws::EC2
9349
9369
  class InstanceRequirements
9350
9370
  attr_accessor v_cpu_count: Types::VCpuCountRange
9351
9371
  attr_accessor memory_mi_b: Types::MemoryMiB
9352
- attr_accessor cpu_manufacturers: ::Array[("intel" | "amd" | "amazon-web-services")]
9372
+ attr_accessor cpu_manufacturers: ::Array[("intel" | "amd" | "amazon-web-services" | "apple")]
9353
9373
  attr_accessor memory_gi_b_per_v_cpu: Types::MemoryGiBPerVCpu
9354
9374
  attr_accessor excluded_instance_types: ::Array[::String]
9355
9375
  attr_accessor instance_generations: ::Array[("current" | "previous")]
@@ -9371,13 +9391,14 @@ module Aws::EC2
9371
9391
  attr_accessor network_bandwidth_gbps: Types::NetworkBandwidthGbps
9372
9392
  attr_accessor allowed_instance_types: ::Array[::String]
9373
9393
  attr_accessor max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer
9394
+ attr_accessor baseline_performance_factors: Types::BaselinePerformanceFactors
9374
9395
  SENSITIVE: []
9375
9396
  end
9376
9397
 
9377
9398
  class InstanceRequirementsRequest
9378
9399
  attr_accessor v_cpu_count: Types::VCpuCountRangeRequest
9379
9400
  attr_accessor memory_mi_b: Types::MemoryMiBRequest
9380
- attr_accessor cpu_manufacturers: ::Array[("intel" | "amd" | "amazon-web-services")]
9401
+ attr_accessor cpu_manufacturers: ::Array[("intel" | "amd" | "amazon-web-services" | "apple")]
9381
9402
  attr_accessor memory_gi_b_per_v_cpu: Types::MemoryGiBPerVCpuRequest
9382
9403
  attr_accessor excluded_instance_types: ::Array[::String]
9383
9404
  attr_accessor instance_generations: ::Array[("current" | "previous")]
@@ -9399,6 +9420,7 @@ module Aws::EC2
9399
9420
  attr_accessor network_bandwidth_gbps: Types::NetworkBandwidthGbpsRequest
9400
9421
  attr_accessor allowed_instance_types: ::Array[::String]
9401
9422
  attr_accessor max_spot_price_as_percentage_of_optimal_on_demand_price: ::Integer
9423
+ attr_accessor baseline_performance_factors: Types::BaselinePerformanceFactorsRequest
9402
9424
  SENSITIVE: []
9403
9425
  end
9404
9426
 
@@ -10000,13 +10022,13 @@ module Aws::EC2
10000
10022
  end
10001
10023
 
10002
10024
  class LaunchTemplateCapacityReservationSpecificationRequest
10003
- attr_accessor capacity_reservation_preference: ("open" | "none")
10025
+ attr_accessor capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")
10004
10026
  attr_accessor capacity_reservation_target: Types::CapacityReservationTarget
10005
10027
  SENSITIVE: []
10006
10028
  end
10007
10029
 
10008
10030
  class LaunchTemplateCapacityReservationSpecificationResponse
10009
- attr_accessor capacity_reservation_preference: ("open" | "none")
10031
+ attr_accessor capacity_reservation_preference: ("capacity-reservations-only" | "open" | "none")
10010
10032
  attr_accessor capacity_reservation_target: Types::CapacityReservationTargetResponse
10011
10033
  SENSITIVE: []
10012
10034
  end
@@ -12157,6 +12179,16 @@ module Aws::EC2
12157
12179
  SENSITIVE: []
12158
12180
  end
12159
12181
 
12182
+ class PerformanceFactorReference
12183
+ attr_accessor instance_family: ::String
12184
+ SENSITIVE: []
12185
+ end
12186
+
12187
+ class PerformanceFactorReferenceRequest
12188
+ attr_accessor instance_family: ::String
12189
+ SENSITIVE: []
12190
+ end
12191
+
12160
12192
  class Phase1DHGroupNumbersListValue
12161
12193
  attr_accessor value: ::Integer
12162
12194
  SENSITIVE: []
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-ec2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.491.0
4
+ version: 1.492.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-19 00:00:00.000000000 Z
11
+ date: 2024-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core