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/subnet.rbs CHANGED
@@ -18,39 +18,18 @@ module Aws
18
18
  def id: () -> String
19
19
  alias subnet_id id
20
20
 
21
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#availability_zone-instance_method
22
- def availability_zone: () -> ::String
23
-
24
21
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#availability_zone_id-instance_method
25
22
  def availability_zone_id: () -> ::String
26
23
 
27
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#available_ip_address_count-instance_method
28
- def available_ip_address_count: () -> ::Integer
29
-
30
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#cidr_block-instance_method
31
- def cidr_block: () -> ::String
32
-
33
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#default_for_az-instance_method
34
- def default_for_az: () -> bool
35
-
36
24
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#enable_lni_at_device_index-instance_method
37
25
  def enable_lni_at_device_index: () -> ::Integer
38
26
 
39
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#map_public_ip_on_launch-instance_method
40
- def map_public_ip_on_launch: () -> bool
41
-
42
27
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#map_customer_owned_ip_on_launch-instance_method
43
28
  def map_customer_owned_ip_on_launch: () -> bool
44
29
 
45
30
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#customer_owned_ipv_4_pool-instance_method
46
31
  def customer_owned_ipv_4_pool: () -> ::String
47
32
 
48
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#state-instance_method
49
- def state: () -> ("pending" | "available" | "unavailable")
50
-
51
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#vpc_id-instance_method
52
- def vpc_id: () -> ::String
53
-
54
33
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#owner_id-instance_method
55
34
  def owner_id: () -> ::String
56
35
 
@@ -78,6 +57,27 @@ module Aws
78
57
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#private_dns_name_options_on_launch-instance_method
79
58
  def private_dns_name_options_on_launch: () -> Types::PrivateDnsNameOptionsOnLaunch
80
59
 
60
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#state-instance_method
61
+ def state: () -> ("pending" | "available" | "unavailable")
62
+
63
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#vpc_id-instance_method
64
+ def vpc_id: () -> ::String
65
+
66
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#cidr_block-instance_method
67
+ def cidr_block: () -> ::String
68
+
69
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#available_ip_address_count-instance_method
70
+ def available_ip_address_count: () -> ::Integer
71
+
72
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#availability_zone-instance_method
73
+ def availability_zone: () -> ::String
74
+
75
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#default_for_az-instance_method
76
+ def default_for_az: () -> bool
77
+
78
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#map_public_ip_on_launch-instance_method
79
+ def map_public_ip_on_launch: () -> bool
80
+
81
81
  def client: () -> Client
82
82
 
83
83
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#load-instance_method
@@ -95,8 +95,6 @@ module Aws
95
95
  def create_instances: (
96
96
  ?block_device_mappings: Array[
97
97
  {
98
- device_name: ::String?,
99
- virtual_name: ::String?,
100
98
  ebs: {
101
99
  delete_on_termination: bool?,
102
100
  iops: ::Integer?,
@@ -108,7 +106,9 @@ module Aws
108
106
  outpost_arn: ::String?,
109
107
  encrypted: bool?
110
108
  }?,
111
- no_device: ::String?
109
+ no_device: ::String?,
110
+ device_name: ::String?,
111
+ virtual_name: ::String?
112
112
  },
113
113
  ],
114
114
  ?image_id: ::String,
@@ -128,7 +128,6 @@ module Aws
128
128
  enabled: bool
129
129
  },
130
130
  ?placement: {
131
- availability_zone: ::String?,
132
131
  affinity: ::String?,
133
132
  group_name: ::String?,
134
133
  partition_number: ::Integer?,
@@ -136,76 +135,13 @@ module Aws
136
135
  tenancy: ("default" | "dedicated" | "host")?,
137
136
  spread_domain: ::String?,
138
137
  host_resource_group_arn: ::String?,
139
- group_id: ::String?
138
+ group_id: ::String?,
139
+ availability_zone: ::String?
140
140
  },
141
141
  ?ramdisk_id: ::String,
142
142
  ?security_group_ids: Array[::String],
143
143
  ?security_groups: Array[::String],
144
144
  ?user_data: ::String,
145
- ?additional_info: ::String,
146
- ?client_token: ::String,
147
- ?disable_api_termination: bool,
148
- ?dry_run: bool,
149
- ?ebs_optimized: bool,
150
- ?iam_instance_profile: {
151
- arn: ::String?,
152
- name: ::String?
153
- },
154
- ?instance_initiated_shutdown_behavior: ("stop" | "terminate"),
155
- ?network_interfaces: Array[
156
- {
157
- associate_public_ip_address: bool?,
158
- delete_on_termination: bool?,
159
- description: ::String?,
160
- device_index: ::Integer?,
161
- groups: Array[::String]?,
162
- ipv_6_address_count: ::Integer?,
163
- ipv_6_addresses: Array[
164
- {
165
- ipv_6_address: ::String?,
166
- is_primary_ipv_6: bool?
167
- },
168
- ]?,
169
- network_interface_id: ::String?,
170
- private_ip_address: ::String?,
171
- private_ip_addresses: Array[
172
- {
173
- primary: bool?,
174
- private_ip_address: ::String?
175
- },
176
- ]?,
177
- secondary_private_ip_address_count: ::Integer?,
178
- subnet_id: ::String?,
179
- associate_carrier_ip_address: bool?,
180
- interface_type: ::String?,
181
- network_card_index: ::Integer?,
182
- ipv_4_prefixes: Array[
183
- {
184
- ipv_4_prefix: ::String?
185
- },
186
- ]?,
187
- ipv_4_prefix_count: ::Integer?,
188
- ipv_6_prefixes: Array[
189
- {
190
- ipv_6_prefix: ::String?
191
- },
192
- ]?,
193
- ipv_6_prefix_count: ::Integer?,
194
- primary_ipv_6: bool?,
195
- ena_srd_specification: {
196
- ena_srd_enabled: bool?,
197
- ena_srd_udp_specification: {
198
- ena_srd_udp_enabled: bool?
199
- }?
200
- }?,
201
- connection_tracking_specification: {
202
- tcp_established_timeout: ::Integer?,
203
- udp_stream_timeout: ::Integer?,
204
- udp_timeout: ::Integer?
205
- }?
206
- },
207
- ],
208
- ?private_ip_address: ::String,
209
145
  ?elastic_gpu_specification: Array[
210
146
  {
211
147
  type: ::String
@@ -285,30 +221,76 @@ module Aws
285
221
  auto_recovery: ("disabled" | "default")?
286
222
  },
287
223
  ?disable_api_stop: bool,
288
- ?enable_primary_ipv_6: bool
224
+ ?enable_primary_ipv_6: bool,
225
+ ?dry_run: bool,
226
+ ?disable_api_termination: bool,
227
+ ?instance_initiated_shutdown_behavior: ("stop" | "terminate"),
228
+ ?private_ip_address: ::String,
229
+ ?client_token: ::String,
230
+ ?additional_info: ::String,
231
+ ?network_interfaces: Array[
232
+ {
233
+ associate_public_ip_address: bool?,
234
+ delete_on_termination: bool?,
235
+ description: ::String?,
236
+ device_index: ::Integer?,
237
+ groups: Array[::String]?,
238
+ ipv_6_address_count: ::Integer?,
239
+ ipv_6_addresses: Array[
240
+ {
241
+ ipv_6_address: ::String?,
242
+ is_primary_ipv_6: bool?
243
+ },
244
+ ]?,
245
+ network_interface_id: ::String?,
246
+ private_ip_address: ::String?,
247
+ private_ip_addresses: Array[
248
+ {
249
+ primary: bool?,
250
+ private_ip_address: ::String?
251
+ },
252
+ ]?,
253
+ secondary_private_ip_address_count: ::Integer?,
254
+ subnet_id: ::String?,
255
+ associate_carrier_ip_address: bool?,
256
+ interface_type: ::String?,
257
+ network_card_index: ::Integer?,
258
+ ipv_4_prefixes: Array[
259
+ {
260
+ ipv_4_prefix: ::String?
261
+ },
262
+ ]?,
263
+ ipv_4_prefix_count: ::Integer?,
264
+ ipv_6_prefixes: Array[
265
+ {
266
+ ipv_6_prefix: ::String?
267
+ },
268
+ ]?,
269
+ ipv_6_prefix_count: ::Integer?,
270
+ primary_ipv_6: bool?,
271
+ ena_srd_specification: {
272
+ ena_srd_enabled: bool?,
273
+ ena_srd_udp_specification: {
274
+ ena_srd_udp_enabled: bool?
275
+ }?
276
+ }?,
277
+ connection_tracking_specification: {
278
+ tcp_established_timeout: ::Integer?,
279
+ udp_stream_timeout: ::Integer?,
280
+ udp_timeout: ::Integer?
281
+ }?
282
+ },
283
+ ],
284
+ ?iam_instance_profile: {
285
+ arn: ::String?,
286
+ name: ::String?
287
+ },
288
+ ?ebs_optimized: bool
289
289
  ) -> Instance::Collection
290
290
  | (?Hash[Symbol, untyped]) -> Instance::Collection
291
291
 
292
292
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#create_network_interface-instance_method
293
293
  def create_network_interface: (
294
- ?description: ::String,
295
- ?dry_run: bool,
296
- ?groups: Array[::String],
297
- ?ipv_6_address_count: ::Integer,
298
- ?ipv_6_addresses: Array[
299
- {
300
- ipv_6_address: ::String?,
301
- is_primary_ipv_6: bool?
302
- },
303
- ],
304
- ?private_ip_address: ::String,
305
- ?private_ip_addresses: Array[
306
- {
307
- primary: bool?,
308
- private_ip_address: ::String?
309
- },
310
- ],
311
- ?secondary_private_ip_address_count: ::Integer,
312
294
  ?ipv_4_prefixes: Array[
313
295
  {
314
296
  ipv_4_prefix: ::String?
@@ -339,7 +321,25 @@ module Aws
339
321
  tcp_established_timeout: ::Integer?,
340
322
  udp_stream_timeout: ::Integer?,
341
323
  udp_timeout: ::Integer?
342
- }
324
+ },
325
+ ?description: ::String,
326
+ ?private_ip_address: ::String,
327
+ ?groups: Array[::String],
328
+ ?private_ip_addresses: Array[
329
+ {
330
+ primary: bool?,
331
+ private_ip_address: ::String?
332
+ },
333
+ ],
334
+ ?secondary_private_ip_address_count: ::Integer,
335
+ ?ipv_6_addresses: Array[
336
+ {
337
+ ipv_6_address: ::String?,
338
+ is_primary_ipv_6: bool?
339
+ },
340
+ ],
341
+ ?ipv_6_address_count: ::Integer,
342
+ ?dry_run: bool
343
343
  ) -> NetworkInterface
344
344
  | (?Hash[Symbol, untyped]) -> NetworkInterface
345
345
 
@@ -375,14 +375,14 @@ module Aws
375
375
 
376
376
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#instances-instance_method
377
377
  def instances: (
378
+ ?instance_ids: Array[::String],
379
+ ?dry_run: bool,
378
380
  ?filters: Array[
379
381
  {
380
382
  name: ::String?,
381
383
  values: Array[::String]?
382
384
  },
383
- ],
384
- ?instance_ids: Array[::String],
385
- ?dry_run: bool
385
+ ]
386
386
  ) -> Instance::Collection
387
387
  | (?Hash[Symbol, untyped]) -> Instance::Collection
388
388
 
@@ -401,14 +401,14 @@ module Aws
401
401
 
402
402
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Subnet.html#network_interfaces-instance_method
403
403
  def network_interfaces: (
404
+ ?dry_run: bool,
405
+ ?network_interface_ids: Array[::String],
404
406
  ?filters: Array[
405
407
  {
406
408
  name: ::String?,
407
409
  values: Array[::String]?
408
410
  },
409
- ],
410
- ?dry_run: bool,
411
- ?network_interface_ids: Array[::String]
411
+ ]
412
412
  ) -> NetworkInterface::Collection
413
413
  | (?Hash[Symbol, untyped]) -> NetworkInterface::Collection
414
414