aws-sdk-ec2 1.479.0 → 1.480.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/VERSION +1 -1
  4. data/lib/aws-sdk-ec2/classic_address.rb +11 -11
  5. data/lib/aws-sdk-ec2/client.rb +2723 -2713
  6. data/lib/aws-sdk-ec2/client_api.rb +438 -436
  7. data/lib/aws-sdk-ec2/dhcp_options.rb +6 -6
  8. data/lib/aws-sdk-ec2/image.rb +82 -82
  9. data/lib/aws-sdk-ec2/instance.rb +285 -285
  10. data/lib/aws-sdk-ec2/key_pair.rb +12 -12
  11. data/lib/aws-sdk-ec2/key_pair_info.rb +27 -27
  12. data/lib/aws-sdk-ec2/network_acl.rb +60 -60
  13. data/lib/aws-sdk-ec2/network_interface.rb +65 -65
  14. data/lib/aws-sdk-ec2/placement_group.rb +11 -11
  15. data/lib/aws-sdk-ec2/resource.rb +597 -597
  16. data/lib/aws-sdk-ec2/route.rb +30 -30
  17. data/lib/aws-sdk-ec2/route_table.rb +37 -37
  18. data/lib/aws-sdk-ec2/security_group.rb +137 -137
  19. data/lib/aws-sdk-ec2/snapshot.rb +77 -77
  20. data/lib/aws-sdk-ec2/subnet.rb +276 -276
  21. data/lib/aws-sdk-ec2/types.rb +3284 -3291
  22. data/lib/aws-sdk-ec2/volume.rb +93 -93
  23. data/lib/aws-sdk-ec2/vpc.rb +143 -143
  24. data/lib/aws-sdk-ec2/vpc_address.rb +17 -17
  25. data/lib/aws-sdk-ec2.rb +1 -1
  26. data/sig/classic_address.rbs +5 -5
  27. data/sig/client.rbs +872 -872
  28. data/sig/dhcp_options.rbs +3 -3
  29. data/sig/image.rbs +41 -41
  30. data/sig/instance.rbs +108 -108
  31. data/sig/key_pair.rbs +6 -6
  32. data/sig/key_pair_info.rbs +3 -3
  33. data/sig/network_acl.rbs +16 -16
  34. data/sig/network_interface.rbs +22 -22
  35. data/sig/placement_group.rbs +3 -3
  36. data/sig/resource.rbs +201 -201
  37. data/sig/route.rbs +9 -9
  38. data/sig/route_table.rbs +10 -10
  39. data/sig/security_group.rbs +110 -110
  40. data/sig/snapshot.rbs +34 -34
  41. data/sig/subnet.rbs +116 -116
  42. data/sig/types.rbs +438 -437
  43. data/sig/volume.rbs +33 -33
  44. data/sig/vpc.rbs +46 -46
  45. data/sig/vpc_address.rbs +8 -8
  46. data/sig/waiters.rbs +113 -113
  47. metadata +2 -2
data/sig/resource.rbs CHANGED
@@ -104,8 +104,6 @@ module Aws
104
104
  def create_instances: (
105
105
  ?block_device_mappings: Array[
106
106
  {
107
- device_name: ::String?,
108
- virtual_name: ::String?,
109
107
  ebs: {
110
108
  delete_on_termination: bool?,
111
109
  iops: ::Integer?,
@@ -117,7 +115,9 @@ module Aws
117
115
  outpost_arn: ::String?,
118
116
  encrypted: bool?
119
117
  }?,
120
- no_device: ::String?
118
+ no_device: ::String?,
119
+ device_name: ::String?,
120
+ virtual_name: ::String?
121
121
  },
122
122
  ],
123
123
  ?image_id: ::String,
@@ -137,7 +137,6 @@ module Aws
137
137
  enabled: bool
138
138
  },
139
139
  ?placement: {
140
- availability_zone: ::String?,
141
140
  affinity: ::String?,
142
141
  group_name: ::String?,
143
142
  partition_number: ::Integer?,
@@ -145,77 +144,14 @@ module Aws
145
144
  tenancy: ("default" | "dedicated" | "host")?,
146
145
  spread_domain: ::String?,
147
146
  host_resource_group_arn: ::String?,
148
- group_id: ::String?
147
+ group_id: ::String?,
148
+ availability_zone: ::String?
149
149
  },
150
150
  ?ramdisk_id: ::String,
151
151
  ?security_group_ids: Array[::String],
152
152
  ?security_groups: Array[::String],
153
153
  ?subnet_id: ::String,
154
154
  ?user_data: ::String,
155
- ?additional_info: ::String,
156
- ?client_token: ::String,
157
- ?disable_api_termination: bool,
158
- ?dry_run: bool,
159
- ?ebs_optimized: bool,
160
- ?iam_instance_profile: {
161
- arn: ::String?,
162
- name: ::String?
163
- },
164
- ?instance_initiated_shutdown_behavior: ("stop" | "terminate"),
165
- ?network_interfaces: Array[
166
- {
167
- associate_public_ip_address: bool?,
168
- delete_on_termination: bool?,
169
- description: ::String?,
170
- device_index: ::Integer?,
171
- groups: Array[::String]?,
172
- ipv_6_address_count: ::Integer?,
173
- ipv_6_addresses: Array[
174
- {
175
- ipv_6_address: ::String?,
176
- is_primary_ipv_6: bool?
177
- },
178
- ]?,
179
- network_interface_id: ::String?,
180
- private_ip_address: ::String?,
181
- private_ip_addresses: Array[
182
- {
183
- primary: bool?,
184
- private_ip_address: ::String?
185
- },
186
- ]?,
187
- secondary_private_ip_address_count: ::Integer?,
188
- subnet_id: ::String?,
189
- associate_carrier_ip_address: bool?,
190
- interface_type: ::String?,
191
- network_card_index: ::Integer?,
192
- ipv_4_prefixes: Array[
193
- {
194
- ipv_4_prefix: ::String?
195
- },
196
- ]?,
197
- ipv_4_prefix_count: ::Integer?,
198
- ipv_6_prefixes: Array[
199
- {
200
- ipv_6_prefix: ::String?
201
- },
202
- ]?,
203
- ipv_6_prefix_count: ::Integer?,
204
- primary_ipv_6: bool?,
205
- ena_srd_specification: {
206
- ena_srd_enabled: bool?,
207
- ena_srd_udp_specification: {
208
- ena_srd_udp_enabled: bool?
209
- }?
210
- }?,
211
- connection_tracking_specification: {
212
- tcp_established_timeout: ::Integer?,
213
- udp_stream_timeout: ::Integer?,
214
- udp_timeout: ::Integer?
215
- }?
216
- },
217
- ],
218
- ?private_ip_address: ::String,
219
155
  ?elastic_gpu_specification: Array[
220
156
  {
221
157
  type: ::String
@@ -295,7 +231,71 @@ module Aws
295
231
  auto_recovery: ("disabled" | "default")?
296
232
  },
297
233
  ?disable_api_stop: bool,
298
- ?enable_primary_ipv_6: bool
234
+ ?enable_primary_ipv_6: bool,
235
+ ?dry_run: bool,
236
+ ?disable_api_termination: bool,
237
+ ?instance_initiated_shutdown_behavior: ("stop" | "terminate"),
238
+ ?private_ip_address: ::String,
239
+ ?client_token: ::String,
240
+ ?additional_info: ::String,
241
+ ?network_interfaces: Array[
242
+ {
243
+ associate_public_ip_address: bool?,
244
+ delete_on_termination: bool?,
245
+ description: ::String?,
246
+ device_index: ::Integer?,
247
+ groups: Array[::String]?,
248
+ ipv_6_address_count: ::Integer?,
249
+ ipv_6_addresses: Array[
250
+ {
251
+ ipv_6_address: ::String?,
252
+ is_primary_ipv_6: bool?
253
+ },
254
+ ]?,
255
+ network_interface_id: ::String?,
256
+ private_ip_address: ::String?,
257
+ private_ip_addresses: Array[
258
+ {
259
+ primary: bool?,
260
+ private_ip_address: ::String?
261
+ },
262
+ ]?,
263
+ secondary_private_ip_address_count: ::Integer?,
264
+ subnet_id: ::String?,
265
+ associate_carrier_ip_address: bool?,
266
+ interface_type: ::String?,
267
+ network_card_index: ::Integer?,
268
+ ipv_4_prefixes: Array[
269
+ {
270
+ ipv_4_prefix: ::String?
271
+ },
272
+ ]?,
273
+ ipv_4_prefix_count: ::Integer?,
274
+ ipv_6_prefixes: Array[
275
+ {
276
+ ipv_6_prefix: ::String?
277
+ },
278
+ ]?,
279
+ ipv_6_prefix_count: ::Integer?,
280
+ primary_ipv_6: bool?,
281
+ ena_srd_specification: {
282
+ ena_srd_enabled: bool?,
283
+ ena_srd_udp_specification: {
284
+ ena_srd_udp_enabled: bool?
285
+ }?
286
+ }?,
287
+ connection_tracking_specification: {
288
+ tcp_established_timeout: ::Integer?,
289
+ udp_stream_timeout: ::Integer?,
290
+ udp_timeout: ::Integer?
291
+ }?
292
+ },
293
+ ],
294
+ ?iam_instance_profile: {
295
+ arn: ::String?,
296
+ name: ::String?
297
+ },
298
+ ?ebs_optimized: bool
299
299
  ) -> Instance::Collection
300
300
  | (?Hash[Symbol, untyped]) -> Instance::Collection
301
301
 
@@ -319,7 +319,6 @@ module Aws
319
319
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#create_key_pair-instance_method
320
320
  def create_key_pair: (
321
321
  key_name: ::String,
322
- ?dry_run: bool,
323
322
  ?key_type: ("rsa" | "ed25519"),
324
323
  ?tag_specifications: Array[
325
324
  {
@@ -332,7 +331,8 @@ module Aws
332
331
  ]?
333
332
  },
334
333
  ],
335
- ?key_format: ("pem" | "ppk")
334
+ ?key_format: ("pem" | "ppk"),
335
+ ?dry_run: bool
336
336
  ) -> KeyPair
337
337
  | (?Hash[Symbol, untyped]) -> KeyPair
338
338
 
@@ -363,8 +363,6 @@ module Aws
363
363
 
364
364
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#create_network_acl-instance_method
365
365
  def create_network_acl: (
366
- ?dry_run: bool,
367
- vpc_id: ::String,
368
366
  ?tag_specifications: Array[
369
367
  {
370
368
  resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint" | "ipam-external-resource-verification-token")?,
@@ -376,30 +374,14 @@ module Aws
376
374
  ]?
377
375
  },
378
376
  ],
379
- ?client_token: ::String
377
+ ?client_token: ::String,
378
+ ?dry_run: bool,
379
+ vpc_id: ::String
380
380
  ) -> NetworkAcl
381
381
  | (?Hash[Symbol, untyped]) -> NetworkAcl
382
382
 
383
383
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#create_network_interface-instance_method
384
384
  def create_network_interface: (
385
- ?description: ::String,
386
- ?dry_run: bool,
387
- ?groups: Array[::String],
388
- ?ipv_6_address_count: ::Integer,
389
- ?ipv_6_addresses: Array[
390
- {
391
- ipv_6_address: ::String?,
392
- is_primary_ipv_6: bool?
393
- },
394
- ],
395
- ?private_ip_address: ::String,
396
- ?private_ip_addresses: Array[
397
- {
398
- primary: bool?,
399
- private_ip_address: ::String?
400
- },
401
- ],
402
- ?secondary_private_ip_address_count: ::Integer,
403
385
  ?ipv_4_prefixes: Array[
404
386
  {
405
387
  ipv_4_prefix: ::String?
@@ -413,7 +395,6 @@ module Aws
413
395
  ],
414
396
  ?ipv_6_prefix_count: ::Integer,
415
397
  ?interface_type: ("efa" | "branch" | "trunk"),
416
- subnet_id: ::String,
417
398
  ?tag_specifications: Array[
418
399
  {
419
400
  resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint" | "ipam-external-resource-verification-token")?,
@@ -431,15 +412,31 @@ module Aws
431
412
  tcp_established_timeout: ::Integer?,
432
413
  udp_stream_timeout: ::Integer?,
433
414
  udp_timeout: ::Integer?
434
- }
415
+ },
416
+ subnet_id: ::String,
417
+ ?description: ::String,
418
+ ?private_ip_address: ::String,
419
+ ?groups: Array[::String],
420
+ ?private_ip_addresses: Array[
421
+ {
422
+ primary: bool?,
423
+ private_ip_address: ::String?
424
+ },
425
+ ],
426
+ ?secondary_private_ip_address_count: ::Integer,
427
+ ?ipv_6_addresses: Array[
428
+ {
429
+ ipv_6_address: ::String?,
430
+ is_primary_ipv_6: bool?
431
+ },
432
+ ],
433
+ ?ipv_6_address_count: ::Integer,
434
+ ?dry_run: bool
435
435
  ) -> NetworkInterface
436
436
  | (?Hash[Symbol, untyped]) -> NetworkInterface
437
437
 
438
438
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#create_placement_group-instance_method
439
439
  def create_placement_group: (
440
- ?dry_run: bool,
441
- ?group_name: ::String,
442
- ?strategy: ("cluster" | "spread" | "partition"),
443
440
  ?partition_count: ::Integer,
444
441
  ?tag_specifications: Array[
445
442
  {
@@ -452,14 +449,15 @@ module Aws
452
449
  ]?
453
450
  },
454
451
  ],
455
- ?spread_level: ("host" | "rack")
452
+ ?spread_level: ("host" | "rack"),
453
+ ?dry_run: bool,
454
+ ?group_name: ::String,
455
+ ?strategy: ("cluster" | "spread" | "partition")
456
456
  ) -> PlacementGroup
457
457
  | (?Hash[Symbol, untyped]) -> PlacementGroup
458
458
 
459
459
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#create_route_table-instance_method
460
460
  def create_route_table: (
461
- ?dry_run: bool,
462
- vpc_id: ::String,
463
461
  ?tag_specifications: Array[
464
462
  {
465
463
  resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint" | "ipam-external-resource-verification-token")?,
@@ -471,7 +469,9 @@ module Aws
471
469
  ]?
472
470
  },
473
471
  ],
474
- ?client_token: ::String
472
+ ?client_token: ::String,
473
+ ?dry_run: bool,
474
+ vpc_id: ::String
475
475
  ) -> RouteTable
476
476
  | (?Hash[Symbol, untyped]) -> RouteTable
477
477
 
@@ -534,12 +534,12 @@ module Aws
534
534
  ?ipv_6_cidr_block: ::String,
535
535
  ?outpost_arn: ::String,
536
536
  vpc_id: ::String,
537
- ?dry_run: bool,
538
537
  ?ipv_6_native: bool,
539
538
  ?ipv_4_ipam_pool_id: ::String,
540
539
  ?ipv_4_netmask_length: ::Integer,
541
540
  ?ipv_6_ipam_pool_id: ::String,
542
- ?ipv_6_netmask_length: ::Integer
541
+ ?ipv_6_netmask_length: ::Integer,
542
+ ?dry_run: bool
543
543
  ) -> Subnet
544
544
  | (?Hash[Symbol, untyped]) -> Subnet
545
545
 
@@ -579,7 +579,6 @@ module Aws
579
579
  ?size: ::Integer,
580
580
  ?snapshot_id: ::String,
581
581
  ?volume_type: ("standard" | "io1" | "io2" | "gp2" | "sc1" | "st1" | "gp3"),
582
- ?dry_run: bool,
583
582
  ?tag_specifications: Array[
584
583
  {
585
584
  resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint" | "ipam-external-resource-verification-token")?,
@@ -593,22 +592,20 @@ module Aws
593
592
  ],
594
593
  ?multi_attach_enabled: bool,
595
594
  ?throughput: ::Integer,
596
- ?client_token: ::String
595
+ ?client_token: ::String,
596
+ ?dry_run: bool
597
597
  ) -> Volume
598
598
  | (?Hash[Symbol, untyped]) -> Volume
599
599
 
600
600
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#create_vpc-instance_method
601
601
  def create_vpc: (
602
602
  ?cidr_block: ::String,
603
- ?amazon_provided_ipv_6_cidr_block: bool,
604
603
  ?ipv_6_pool: ::String,
605
604
  ?ipv_6_cidr_block: ::String,
606
605
  ?ipv_4_ipam_pool_id: ::String,
607
606
  ?ipv_4_netmask_length: ::Integer,
608
607
  ?ipv_6_ipam_pool_id: ::String,
609
608
  ?ipv_6_netmask_length: ::Integer,
610
- ?dry_run: bool,
611
- ?instance_tenancy: ("default" | "dedicated" | "host"),
612
609
  ?ipv_6_cidr_block_network_border_group: ::String,
613
610
  ?tag_specifications: Array[
614
611
  {
@@ -620,16 +617,15 @@ module Aws
620
617
  },
621
618
  ]?
622
619
  },
623
- ]
620
+ ],
621
+ ?dry_run: bool,
622
+ ?instance_tenancy: ("default" | "dedicated" | "host"),
623
+ ?amazon_provided_ipv_6_cidr_block: bool
624
624
  ) -> Vpc
625
625
  | (?Hash[Symbol, untyped]) -> Vpc
626
626
 
627
627
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#create_vpc_peering_connection-instance_method
628
628
  def create_vpc_peering_connection: (
629
- ?dry_run: bool,
630
- ?peer_owner_id: ::String,
631
- ?peer_vpc_id: ::String,
632
- vpc_id: ::String,
633
629
  ?peer_region: ::String,
634
630
  ?tag_specifications: Array[
635
631
  {
@@ -641,22 +637,23 @@ module Aws
641
637
  },
642
638
  ]?
643
639
  },
644
- ]
640
+ ],
641
+ ?dry_run: bool,
642
+ vpc_id: ::String,
643
+ ?peer_vpc_id: ::String,
644
+ ?peer_owner_id: ::String
645
645
  ) -> VpcPeeringConnection
646
646
  | (?Hash[Symbol, untyped]) -> VpcPeeringConnection
647
647
 
648
648
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#disassociate_route_table-instance_method
649
649
  def disassociate_route_table: (
650
- association_id: ::String,
651
- ?dry_run: bool
650
+ ?dry_run: bool,
651
+ association_id: ::String
652
652
  ) -> ::Aws::EmptyStructure
653
653
  | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
654
654
 
655
655
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#import_key_pair-instance_method
656
656
  def import_key_pair: (
657
- ?dry_run: bool,
658
- key_name: ::String,
659
- public_key_material: ::String,
660
657
  ?tag_specifications: Array[
661
658
  {
662
659
  resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint" | "ipam-external-resource-verification-token")?,
@@ -667,18 +664,41 @@ module Aws
667
664
  },
668
665
  ]?
669
666
  },
670
- ]
667
+ ],
668
+ ?dry_run: bool,
669
+ key_name: ::String,
670
+ public_key_material: ::String
671
671
  ) -> KeyPairInfo
672
672
  | (?Hash[Symbol, untyped]) -> KeyPairInfo
673
673
 
674
674
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#register_image-instance_method
675
675
  def register_image: (
676
676
  ?image_location: ::String,
677
+ ?billing_products: Array[::String],
678
+ ?boot_mode: ("legacy-bios" | "uefi" | "uefi-preferred"),
679
+ ?tpm_support: ("v2.0"),
680
+ ?uefi_data: ::String,
681
+ ?imds_support: ("v2.0"),
682
+ ?tag_specifications: Array[
683
+ {
684
+ resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint" | "ipam-external-resource-verification-token")?,
685
+ tags: Array[
686
+ {
687
+ key: ::String?,
688
+ value: ::String?
689
+ },
690
+ ]?
691
+ },
692
+ ],
693
+ ?dry_run: bool,
694
+ name: ::String,
695
+ ?description: ::String,
677
696
  ?architecture: ("i386" | "x86_64" | "arm64" | "x86_64_mac" | "arm64_mac"),
697
+ ?kernel_id: ::String,
698
+ ?ramdisk_id: ::String,
699
+ ?root_device_name: ::String,
678
700
  ?block_device_mappings: Array[
679
701
  {
680
- device_name: ::String?,
681
- virtual_name: ::String?,
682
702
  ebs: {
683
703
  delete_on_termination: bool?,
684
704
  iops: ::Integer?,
@@ -690,49 +710,29 @@ module Aws
690
710
  outpost_arn: ::String?,
691
711
  encrypted: bool?
692
712
  }?,
693
- no_device: ::String?
713
+ no_device: ::String?,
714
+ device_name: ::String?,
715
+ virtual_name: ::String?
694
716
  },
695
717
  ],
696
- ?description: ::String,
697
- ?dry_run: bool,
698
- ?ena_support: bool,
699
- ?kernel_id: ::String,
700
- name: ::String,
701
- ?billing_products: Array[::String],
702
- ?ramdisk_id: ::String,
703
- ?root_device_name: ::String,
704
- ?sriov_net_support: ::String,
705
718
  ?virtualization_type: ::String,
706
- ?boot_mode: ("legacy-bios" | "uefi" | "uefi-preferred"),
707
- ?tpm_support: ("v2.0"),
708
- ?uefi_data: ::String,
709
- ?imds_support: ("v2.0"),
710
- ?tag_specifications: Array[
711
- {
712
- resource_type: ("capacity-reservation" | "client-vpn-endpoint" | "customer-gateway" | "carrier-gateway" | "coip-pool" | "dedicated-host" | "dhcp-options" | "egress-only-internet-gateway" | "elastic-ip" | "elastic-gpu" | "export-image-task" | "export-instance-task" | "fleet" | "fpga-image" | "host-reservation" | "image" | "import-image-task" | "import-snapshot-task" | "instance" | "instance-event-window" | "internet-gateway" | "ipam" | "ipam-pool" | "ipam-scope" | "ipv4pool-ec2" | "ipv6pool-ec2" | "key-pair" | "launch-template" | "local-gateway" | "local-gateway-route-table" | "local-gateway-virtual-interface" | "local-gateway-virtual-interface-group" | "local-gateway-route-table-vpc-association" | "local-gateway-route-table-virtual-interface-group-association" | "natgateway" | "network-acl" | "network-interface" | "network-insights-analysis" | "network-insights-path" | "network-insights-access-scope" | "network-insights-access-scope-analysis" | "placement-group" | "prefix-list" | "replace-root-volume-task" | "reserved-instances" | "route-table" | "security-group" | "security-group-rule" | "snapshot" | "spot-fleet-request" | "spot-instances-request" | "subnet" | "subnet-cidr-reservation" | "traffic-mirror-filter" | "traffic-mirror-session" | "traffic-mirror-target" | "transit-gateway" | "transit-gateway-attachment" | "transit-gateway-connect-peer" | "transit-gateway-multicast-domain" | "transit-gateway-policy-table" | "transit-gateway-route-table" | "transit-gateway-route-table-announcement" | "volume" | "vpc" | "vpc-endpoint" | "vpc-endpoint-connection" | "vpc-endpoint-service" | "vpc-endpoint-service-permission" | "vpc-peering-connection" | "vpn-connection" | "vpn-gateway" | "vpc-flow-log" | "capacity-reservation-fleet" | "traffic-mirror-filter-rule" | "vpc-endpoint-connection-device-type" | "verified-access-instance" | "verified-access-group" | "verified-access-endpoint" | "verified-access-policy" | "verified-access-trust-provider" | "vpn-connection-device-type" | "vpc-block-public-access-exclusion" | "ipam-resource-discovery" | "ipam-resource-discovery-association" | "instance-connect-endpoint" | "ipam-external-resource-verification-token")?,
713
- tags: Array[
714
- {
715
- key: ::String?,
716
- value: ::String?
717
- },
718
- ]?
719
- },
720
- ]
719
+ ?sriov_net_support: ::String,
720
+ ?ena_support: bool
721
721
  ) -> Image
722
722
  | (?Hash[Symbol, untyped]) -> Image
723
723
 
724
724
 
725
725
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#classic_addresses-instance_method
726
726
  def classic_addresses: (
727
+ ?public_ips: Array[::String],
728
+ ?dry_run: bool,
727
729
  ?filters: Array[
728
730
  {
729
731
  name: ::String?,
730
732
  values: Array[::String]?
731
733
  },
732
734
  ],
733
- ?public_ips: Array[::String],
734
- ?allocation_ids: Array[::String],
735
- ?dry_run: bool
735
+ ?allocation_ids: Array[::String]
736
736
  ) -> ClassicAddress::Collection
737
737
  | (?Hash[Symbol, untyped]) -> ClassicAddress::Collection
738
738
 
@@ -742,13 +742,13 @@ module Aws
742
742
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#dhcp_options_sets-instance_method
743
743
  def dhcp_options_sets: (
744
744
  ?dhcp_options_ids: Array[::String],
745
+ ?dry_run: bool,
745
746
  ?filters: Array[
746
747
  {
747
748
  name: ::String?,
748
749
  values: Array[::String]?
749
750
  },
750
- ],
751
- ?dry_run: bool
751
+ ]
752
752
  ) -> DhcpOptions::Collection
753
753
  | (?Hash[Symbol, untyped]) -> DhcpOptions::Collection
754
754
 
@@ -758,17 +758,17 @@ module Aws
758
758
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#images-instance_method
759
759
  def images: (
760
760
  ?executable_users: Array[::String],
761
+ ?image_ids: Array[::String],
762
+ ?owners: Array[::String],
763
+ ?include_deprecated: bool,
764
+ ?include_disabled: bool,
765
+ ?dry_run: bool,
761
766
  ?filters: Array[
762
767
  {
763
768
  name: ::String?,
764
769
  values: Array[::String]?
765
770
  },
766
- ],
767
- ?image_ids: Array[::String],
768
- ?owners: Array[::String],
769
- ?include_deprecated: bool,
770
- ?include_disabled: bool,
771
- ?dry_run: bool
771
+ ]
772
772
  ) -> Image::Collection
773
773
  | (?Hash[Symbol, untyped]) -> Image::Collection
774
774
 
@@ -777,14 +777,14 @@ module Aws
777
777
 
778
778
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#instances-instance_method
779
779
  def instances: (
780
+ ?instance_ids: Array[::String],
781
+ ?dry_run: bool,
780
782
  ?filters: Array[
781
783
  {
782
784
  name: ::String?,
783
785
  values: Array[::String]?
784
786
  },
785
- ],
786
- ?instance_ids: Array[::String],
787
- ?dry_run: bool
787
+ ]
788
788
  ) -> Instance::Collection
789
789
  | (?Hash[Symbol, untyped]) -> Instance::Collection
790
790
 
@@ -793,14 +793,14 @@ module Aws
793
793
 
794
794
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#internet_gateways-instance_method
795
795
  def internet_gateways: (
796
+ ?dry_run: bool,
797
+ ?internet_gateway_ids: Array[::String],
796
798
  ?filters: Array[
797
799
  {
798
800
  name: ::String?,
799
801
  values: Array[::String]?
800
802
  },
801
- ],
802
- ?dry_run: bool,
803
- ?internet_gateway_ids: Array[::String]
803
+ ]
804
804
  ) -> InternetGateway::Collection
805
805
  | (?Hash[Symbol, untyped]) -> InternetGateway::Collection
806
806
 
@@ -809,16 +809,16 @@ module Aws
809
809
 
810
810
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#key_pairs-instance_method
811
811
  def key_pairs: (
812
+ ?key_names: Array[::String],
813
+ ?key_pair_ids: Array[::String],
814
+ ?include_public_key: bool,
815
+ ?dry_run: bool,
812
816
  ?filters: Array[
813
817
  {
814
818
  name: ::String?,
815
819
  values: Array[::String]?
816
820
  },
817
- ],
818
- ?key_names: Array[::String],
819
- ?key_pair_ids: Array[::String],
820
- ?dry_run: bool,
821
- ?include_public_key: bool
821
+ ]
822
822
  ) -> KeyPairInfo::Collection
823
823
  | (?Hash[Symbol, untyped]) -> KeyPairInfo::Collection
824
824
 
@@ -843,14 +843,14 @@ module Aws
843
843
 
844
844
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#network_acls-instance_method
845
845
  def network_acls: (
846
+ ?dry_run: bool,
847
+ ?network_acl_ids: Array[::String],
846
848
  ?filters: Array[
847
849
  {
848
850
  name: ::String?,
849
851
  values: Array[::String]?
850
852
  },
851
- ],
852
- ?dry_run: bool,
853
- ?network_acl_ids: Array[::String]
853
+ ]
854
854
  ) -> NetworkAcl::Collection
855
855
  | (?Hash[Symbol, untyped]) -> NetworkAcl::Collection
856
856
 
@@ -859,14 +859,14 @@ module Aws
859
859
 
860
860
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#network_interfaces-instance_method
861
861
  def network_interfaces: (
862
+ ?dry_run: bool,
863
+ ?network_interface_ids: Array[::String],
862
864
  ?filters: Array[
863
865
  {
864
866
  name: ::String?,
865
867
  values: Array[::String]?
866
868
  },
867
- ],
868
- ?dry_run: bool,
869
- ?network_interface_ids: Array[::String]
869
+ ]
870
870
  ) -> NetworkInterface::Collection
871
871
  | (?Hash[Symbol, untyped]) -> NetworkInterface::Collection
872
872
 
@@ -875,15 +875,15 @@ module Aws
875
875
 
876
876
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#placement_groups-instance_method
877
877
  def placement_groups: (
878
+ ?group_ids: Array[::String],
879
+ ?dry_run: bool,
880
+ ?group_names: Array[::String],
878
881
  ?filters: Array[
879
882
  {
880
883
  name: ::String?,
881
884
  values: Array[::String]?
882
885
  },
883
- ],
884
- ?dry_run: bool,
885
- ?group_names: Array[::String],
886
- ?group_ids: Array[::String]
886
+ ]
887
887
  ) -> PlacementGroup::Collection
888
888
  | (?Hash[Symbol, untyped]) -> PlacementGroup::Collection
889
889
 
@@ -895,14 +895,14 @@ module Aws
895
895
 
896
896
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#route_tables-instance_method
897
897
  def route_tables: (
898
+ ?dry_run: bool,
899
+ ?route_table_ids: Array[::String],
898
900
  ?filters: Array[
899
901
  {
900
902
  name: ::String?,
901
903
  values: Array[::String]?
902
904
  },
903
- ],
904
- ?dry_run: bool,
905
- ?route_table_ids: Array[::String]
905
+ ]
906
906
  ) -> RouteTable::Collection
907
907
  | (?Hash[Symbol, untyped]) -> RouteTable::Collection
908
908
 
@@ -911,15 +911,15 @@ module Aws
911
911
 
912
912
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#security_groups-instance_method
913
913
  def security_groups: (
914
+ ?group_ids: Array[::String],
915
+ ?group_names: Array[::String],
916
+ ?dry_run: bool,
914
917
  ?filters: Array[
915
918
  {
916
919
  name: ::String?,
917
920
  values: Array[::String]?
918
921
  },
919
- ],
920
- ?group_ids: Array[::String],
921
- ?group_names: Array[::String],
922
- ?dry_run: bool
922
+ ]
923
923
  ) -> SecurityGroup::Collection
924
924
  | (?Hash[Symbol, untyped]) -> SecurityGroup::Collection
925
925
 
@@ -928,16 +928,16 @@ module Aws
928
928
 
929
929
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#snapshots-instance_method
930
930
  def snapshots: (
931
+ ?owner_ids: Array[::String],
932
+ ?restorable_by_user_ids: Array[::String],
933
+ ?snapshot_ids: Array[::String],
934
+ ?dry_run: bool,
931
935
  ?filters: Array[
932
936
  {
933
937
  name: ::String?,
934
938
  values: Array[::String]?
935
939
  },
936
- ],
937
- ?owner_ids: Array[::String],
938
- ?restorable_by_user_ids: Array[::String],
939
- ?snapshot_ids: Array[::String],
940
- ?dry_run: bool
940
+ ]
941
941
  ) -> Snapshot::Collection
942
942
  | (?Hash[Symbol, untyped]) -> Snapshot::Collection
943
943
 
@@ -962,14 +962,14 @@ module Aws
962
962
 
963
963
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#volumes-instance_method
964
964
  def volumes: (
965
+ ?volume_ids: Array[::String],
966
+ ?dry_run: bool,
965
967
  ?filters: Array[
966
968
  {
967
969
  name: ::String?,
968
970
  values: Array[::String]?
969
971
  },
970
- ],
971
- ?volume_ids: Array[::String],
972
- ?dry_run: bool
972
+ ]
973
973
  ) -> Volume::Collection
974
974
  | (?Hash[Symbol, untyped]) -> Volume::Collection
975
975
 
@@ -978,15 +978,15 @@ module Aws
978
978
 
979
979
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#vpc_addresses-instance_method
980
980
  def vpc_addresses: (
981
+ ?public_ips: Array[::String],
982
+ ?dry_run: bool,
981
983
  ?filters: Array[
982
984
  {
983
985
  name: ::String?,
984
986
  values: Array[::String]?
985
987
  },
986
988
  ],
987
- ?public_ips: Array[::String],
988
- ?allocation_ids: Array[::String],
989
- ?dry_run: bool
989
+ ?allocation_ids: Array[::String]
990
990
  ) -> VpcAddress::Collection
991
991
  | (?Hash[Symbol, untyped]) -> VpcAddress::Collection
992
992
 
@@ -995,14 +995,14 @@ module Aws
995
995
 
996
996
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Resource.html#vpc_peering_connections-instance_method
997
997
  def vpc_peering_connections: (
998
+ ?dry_run: bool,
999
+ ?vpc_peering_connection_ids: Array[::String],
998
1000
  ?filters: Array[
999
1001
  {
1000
1002
  name: ::String?,
1001
1003
  values: Array[::String]?
1002
1004
  },
1003
- ],
1004
- ?dry_run: bool,
1005
- ?vpc_peering_connection_ids: Array[::String]
1005
+ ]
1006
1006
  ) -> VpcPeeringConnection::Collection
1007
1007
  | (?Hash[Symbol, untyped]) -> VpcPeeringConnection::Collection
1008
1008