aws-sdk-ec2 1.479.0 → 1.480.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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/volume.rbs CHANGED
@@ -18,33 +18,9 @@ module Aws
18
18
  def id: () -> String
19
19
  alias volume_id id
20
20
 
21
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#attachments-instance_method
22
- def attachments: () -> ::Array[Types::VolumeAttachment]
23
-
24
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#availability_zone-instance_method
25
- def availability_zone: () -> ::String
26
-
27
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#create_time-instance_method
28
- def create_time: () -> ::Time
29
-
30
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#encrypted-instance_method
31
- def encrypted: () -> bool
32
-
33
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#kms_key_id-instance_method
34
- def kms_key_id: () -> ::String
35
-
36
21
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#outpost_arn-instance_method
37
22
  def outpost_arn: () -> ::String
38
23
 
39
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#size-instance_method
40
- def size: () -> ::Integer
41
-
42
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#snapshot_id-instance_method
43
- def snapshot_id: () -> ::String
44
-
45
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#state-instance_method
46
- def state: () -> ("creating" | "available" | "in-use" | "deleting" | "deleted" | "error")
47
-
48
24
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#iops-instance_method
49
25
  def iops: () -> ::Integer
50
26
 
@@ -66,6 +42,30 @@ module Aws
66
42
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#sse_type-instance_method
67
43
  def sse_type: () -> ("sse-ebs" | "sse-kms" | "none")
68
44
 
45
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#size-instance_method
46
+ def size: () -> ::Integer
47
+
48
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#snapshot_id-instance_method
49
+ def snapshot_id: () -> ::String
50
+
51
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#availability_zone-instance_method
52
+ def availability_zone: () -> ::String
53
+
54
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#state-instance_method
55
+ def state: () -> ("creating" | "available" | "in-use" | "deleting" | "deleted" | "error")
56
+
57
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#create_time-instance_method
58
+ def create_time: () -> ::Time
59
+
60
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#attachments-instance_method
61
+ def attachments: () -> ::Array[Types::VolumeAttachment]
62
+
63
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#encrypted-instance_method
64
+ def encrypted: () -> bool
65
+
66
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#kms_key_id-instance_method
67
+ def kms_key_id: () -> ::String
68
+
69
69
  def client: () -> Client
70
70
 
71
71
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#load-instance_method
@@ -145,15 +145,15 @@ module Aws
145
145
 
146
146
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#describe_status-instance_method
147
147
  def describe_status: (
148
+ ?max_results: ::Integer,
149
+ ?next_token: ::String,
150
+ ?dry_run: bool,
148
151
  ?filters: Array[
149
152
  {
150
153
  name: ::String?,
151
154
  values: Array[::String]?
152
155
  },
153
- ],
154
- ?max_results: ::Integer,
155
- ?next_token: ::String,
156
- ?dry_run: bool
156
+ ]
157
157
  ) -> Types::DescribeVolumeStatusResult
158
158
  | (?Hash[Symbol, untyped]) -> Types::DescribeVolumeStatusResult
159
159
 
@@ -183,16 +183,16 @@ module Aws
183
183
 
184
184
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Volume.html#snapshots-instance_method
185
185
  def snapshots: (
186
+ ?owner_ids: Array[::String],
187
+ ?restorable_by_user_ids: Array[::String],
188
+ ?snapshot_ids: Array[::String],
189
+ ?dry_run: bool,
186
190
  ?filters: Array[
187
191
  {
188
192
  name: ::String?,
189
193
  values: Array[::String]?
190
194
  },
191
- ],
192
- ?owner_ids: Array[::String],
193
- ?restorable_by_user_ids: Array[::String],
194
- ?snapshot_ids: Array[::String],
195
- ?dry_run: bool
195
+ ]
196
196
  ) -> Snapshot::Collection
197
197
  | (?Hash[Symbol, untyped]) -> Snapshot::Collection
198
198
 
data/sig/vpc.rbs CHANGED
@@ -18,15 +18,6 @@ module Aws
18
18
  def id: () -> String
19
19
  alias vpc_id id
20
20
 
21
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#cidr_block-instance_method
22
- def cidr_block: () -> ::String
23
-
24
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#dhcp_options_id-instance_method
25
- def dhcp_options_id: () -> ::String
26
-
27
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#state-instance_method
28
- def state: () -> ("pending" | "available")
29
-
30
21
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#owner_id-instance_method
31
22
  def owner_id: () -> ::String
32
23
 
@@ -45,6 +36,15 @@ module Aws
45
36
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#tags-instance_method
46
37
  def tags: () -> ::Array[Types::Tag]
47
38
 
39
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#state-instance_method
40
+ def state: () -> ("pending" | "available")
41
+
42
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#cidr_block-instance_method
43
+ def cidr_block: () -> ::String
44
+
45
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#dhcp_options_id-instance_method
46
+ def dhcp_options_id: () -> ::String
47
+
48
48
  def client: () -> Client
49
49
 
50
50
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#load-instance_method
@@ -79,8 +79,8 @@ module Aws
79
79
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#attach_classic_link_instance-instance_method
80
80
  def attach_classic_link_instance: (
81
81
  ?dry_run: bool,
82
- groups: Array[::String],
83
- instance_id: ::String
82
+ instance_id: ::String,
83
+ groups: Array[::String]
84
84
  ) -> Types::AttachClassicLinkVpcResult
85
85
  | (?Hash[Symbol, untyped]) -> Types::AttachClassicLinkVpcResult
86
86
 
@@ -93,7 +93,6 @@ module Aws
93
93
 
94
94
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#create_network_acl-instance_method
95
95
  def create_network_acl: (
96
- ?dry_run: bool,
97
96
  ?tag_specifications: Array[
98
97
  {
99
98
  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")?,
@@ -105,13 +104,13 @@ module Aws
105
104
  ]?
106
105
  },
107
106
  ],
108
- ?client_token: ::String
107
+ ?client_token: ::String,
108
+ ?dry_run: bool
109
109
  ) -> NetworkAcl
110
110
  | (?Hash[Symbol, untyped]) -> NetworkAcl
111
111
 
112
112
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#create_route_table-instance_method
113
113
  def create_route_table: (
114
- ?dry_run: bool,
115
114
  ?tag_specifications: Array[
116
115
  {
117
116
  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")?,
@@ -123,7 +122,8 @@ module Aws
123
122
  ]?
124
123
  },
125
124
  ],
126
- ?client_token: ::String
125
+ ?client_token: ::String,
126
+ ?dry_run: bool
127
127
  ) -> RouteTable
128
128
  | (?Hash[Symbol, untyped]) -> RouteTable
129
129
 
@@ -164,12 +164,12 @@ module Aws
164
164
  ?cidr_block: ::String,
165
165
  ?ipv_6_cidr_block: ::String,
166
166
  ?outpost_arn: ::String,
167
- ?dry_run: bool,
168
167
  ?ipv_6_native: bool,
169
168
  ?ipv_4_ipam_pool_id: ::String,
170
169
  ?ipv_4_netmask_length: ::Integer,
171
170
  ?ipv_6_ipam_pool_id: ::String,
172
- ?ipv_6_netmask_length: ::Integer
171
+ ?ipv_6_netmask_length: ::Integer,
172
+ ?dry_run: bool
173
173
  ) -> Subnet
174
174
  | (?Hash[Symbol, untyped]) -> Subnet
175
175
 
@@ -252,9 +252,6 @@ module Aws
252
252
 
253
253
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#request_vpc_peering_connection-instance_method
254
254
  def request_vpc_peering_connection: (
255
- ?dry_run: bool,
256
- ?peer_owner_id: ::String,
257
- ?peer_vpc_id: ::String,
258
255
  ?peer_region: ::String,
259
256
  ?tag_specifications: Array[
260
257
  {
@@ -266,20 +263,23 @@ module Aws
266
263
  },
267
264
  ]?
268
265
  },
269
- ]
266
+ ],
267
+ ?dry_run: bool,
268
+ ?peer_vpc_id: ::String,
269
+ ?peer_owner_id: ::String
270
270
  ) -> VpcPeeringConnection
271
271
  | (?Hash[Symbol, untyped]) -> VpcPeeringConnection
272
272
 
273
273
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#accepted_vpc_peering_connections-instance_method
274
274
  def accepted_vpc_peering_connections: (
275
+ ?dry_run: bool,
276
+ ?vpc_peering_connection_ids: Array[::String],
275
277
  ?filters: Array[
276
278
  {
277
279
  name: ::String?,
278
280
  values: Array[::String]?
279
281
  },
280
- ],
281
- ?dry_run: bool,
282
- ?vpc_peering_connection_ids: Array[::String]
282
+ ]
283
283
  ) -> VpcPeeringConnection::Collection
284
284
  | (?Hash[Symbol, untyped]) -> VpcPeeringConnection::Collection
285
285
 
@@ -288,93 +288,93 @@ module Aws
288
288
 
289
289
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#instances-instance_method
290
290
  def instances: (
291
+ ?instance_ids: Array[::String],
292
+ ?dry_run: bool,
291
293
  ?filters: Array[
292
294
  {
293
295
  name: ::String?,
294
296
  values: Array[::String]?
295
297
  },
296
- ],
297
- ?instance_ids: Array[::String],
298
- ?dry_run: bool
298
+ ]
299
299
  ) -> Instance::Collection
300
300
  | (?Hash[Symbol, untyped]) -> Instance::Collection
301
301
 
302
302
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#internet_gateways-instance_method
303
303
  def internet_gateways: (
304
+ ?dry_run: bool,
305
+ ?internet_gateway_ids: Array[::String],
304
306
  ?filters: Array[
305
307
  {
306
308
  name: ::String?,
307
309
  values: Array[::String]?
308
310
  },
309
- ],
310
- ?dry_run: bool,
311
- ?internet_gateway_ids: Array[::String]
311
+ ]
312
312
  ) -> InternetGateway::Collection
313
313
  | (?Hash[Symbol, untyped]) -> InternetGateway::Collection
314
314
 
315
315
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#network_acls-instance_method
316
316
  def network_acls: (
317
+ ?dry_run: bool,
318
+ ?network_acl_ids: Array[::String],
317
319
  ?filters: Array[
318
320
  {
319
321
  name: ::String?,
320
322
  values: Array[::String]?
321
323
  },
322
- ],
323
- ?dry_run: bool,
324
- ?network_acl_ids: Array[::String]
324
+ ]
325
325
  ) -> NetworkAcl::Collection
326
326
  | (?Hash[Symbol, untyped]) -> NetworkAcl::Collection
327
327
 
328
328
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#network_interfaces-instance_method
329
329
  def network_interfaces: (
330
+ ?dry_run: bool,
331
+ ?network_interface_ids: Array[::String],
330
332
  ?filters: Array[
331
333
  {
332
334
  name: ::String?,
333
335
  values: Array[::String]?
334
336
  },
335
- ],
336
- ?dry_run: bool,
337
- ?network_interface_ids: Array[::String]
337
+ ]
338
338
  ) -> NetworkInterface::Collection
339
339
  | (?Hash[Symbol, untyped]) -> NetworkInterface::Collection
340
340
 
341
341
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#requested_vpc_peering_connections-instance_method
342
342
  def requested_vpc_peering_connections: (
343
+ ?dry_run: bool,
344
+ ?vpc_peering_connection_ids: Array[::String],
343
345
  ?filters: Array[
344
346
  {
345
347
  name: ::String?,
346
348
  values: Array[::String]?
347
349
  },
348
- ],
349
- ?dry_run: bool,
350
- ?vpc_peering_connection_ids: Array[::String]
350
+ ]
351
351
  ) -> VpcPeeringConnection::Collection
352
352
  | (?Hash[Symbol, untyped]) -> VpcPeeringConnection::Collection
353
353
 
354
354
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#route_tables-instance_method
355
355
  def route_tables: (
356
+ ?dry_run: bool,
357
+ ?route_table_ids: Array[::String],
356
358
  ?filters: Array[
357
359
  {
358
360
  name: ::String?,
359
361
  values: Array[::String]?
360
362
  },
361
- ],
362
- ?dry_run: bool,
363
- ?route_table_ids: Array[::String]
363
+ ]
364
364
  ) -> RouteTable::Collection
365
365
  | (?Hash[Symbol, untyped]) -> RouteTable::Collection
366
366
 
367
367
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/Vpc.html#security_groups-instance_method
368
368
  def security_groups: (
369
+ ?group_ids: Array[::String],
370
+ ?group_names: Array[::String],
371
+ ?dry_run: bool,
369
372
  ?filters: Array[
370
373
  {
371
374
  name: ::String?,
372
375
  values: Array[::String]?
373
376
  },
374
- ],
375
- ?group_ids: Array[::String],
376
- ?group_names: Array[::String],
377
- ?dry_run: bool
377
+ ]
378
378
  ) -> SecurityGroup::Collection
379
379
  | (?Hash[Symbol, untyped]) -> SecurityGroup::Collection
380
380
 
data/sig/vpc_address.rbs CHANGED
@@ -17,12 +17,6 @@ module Aws
17
17
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#allocation_id-instance_method
18
18
  def allocation_id: () -> String
19
19
 
20
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#instance_id-instance_method
21
- def instance_id: () -> ::String
22
-
23
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#public_ip-instance_method
24
- def public_ip: () -> ::String
25
-
26
20
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#association_id-instance_method
27
21
  def association_id: () -> ::String
28
22
 
@@ -56,6 +50,12 @@ module Aws
56
50
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#carrier_ip-instance_method
57
51
  def carrier_ip: () -> ::String
58
52
 
53
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#instance_id-instance_method
54
+ def instance_id: () -> ::String
55
+
56
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#public_ip-instance_method
57
+ def public_ip: () -> ::String
58
+
59
59
  def client: () -> Client
60
60
 
61
61
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EC2/VpcAddress.html#load-instance_method
@@ -73,10 +73,10 @@ module Aws
73
73
  def associate: (
74
74
  ?instance_id: ::String,
75
75
  ?public_ip: ::String,
76
- ?allow_reassociation: bool,
77
76
  ?dry_run: bool,
78
77
  ?network_interface_id: ::String,
79
- ?private_ip_address: ::String
78
+ ?private_ip_address: ::String,
79
+ ?allow_reassociation: bool
80
80
  ) -> Types::AssociateAddressResult
81
81
  | (?Hash[Symbol, untyped]) -> Types::AssociateAddressResult
82
82