aws-sdk-ec2 1.140.0 → 1.145.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.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +430 -331
- data/lib/aws-sdk-ec2/client_api.rb +385 -258
- data/lib/aws-sdk-ec2/dhcp_options.rb +43 -0
- data/lib/aws-sdk-ec2/image.rb +53 -8
- data/lib/aws-sdk-ec2/instance.rb +93 -2
- data/lib/aws-sdk-ec2/internet_gateway.rb +43 -0
- data/lib/aws-sdk-ec2/nat_gateway.rb +43 -0
- data/lib/aws-sdk-ec2/network_acl.rb +43 -0
- data/lib/aws-sdk-ec2/network_interface.rb +45 -2
- data/lib/aws-sdk-ec2/placement_group.rb +2 -1
- data/lib/aws-sdk-ec2/resource.rb +97 -41
- data/lib/aws-sdk-ec2/route.rb +2 -2
- data/lib/aws-sdk-ec2/route_table.rb +47 -4
- data/lib/aws-sdk-ec2/security_group.rb +46 -3
- data/lib/aws-sdk-ec2/snapshot.rb +45 -2
- data/lib/aws-sdk-ec2/subnet.rb +59 -12
- data/lib/aws-sdk-ec2/types.rb +585 -413
- data/lib/aws-sdk-ec2/volume.rb +52 -2
- data/lib/aws-sdk-ec2/vpc.rb +53 -9
- metadata +2 -2
@@ -240,6 +240,49 @@ module Aws::EC2
|
|
240
240
|
Tag::Collection.new([batch], size: batch.size)
|
241
241
|
end
|
242
242
|
|
243
|
+
# @example Request syntax with placeholder values
|
244
|
+
#
|
245
|
+
# tag = dhcp_options.delete_tags({
|
246
|
+
# dry_run: false,
|
247
|
+
# tags: [
|
248
|
+
# {
|
249
|
+
# key: "String",
|
250
|
+
# value: "String",
|
251
|
+
# },
|
252
|
+
# ],
|
253
|
+
# })
|
254
|
+
# @param [Hash] options ({})
|
255
|
+
# @option options [Boolean] :dry_run
|
256
|
+
# Checks whether you have the required permissions for the action,
|
257
|
+
# without actually making the request, and provides an error response.
|
258
|
+
# If you have the required permissions, the error response is
|
259
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
260
|
+
# @option options [Array<Types::Tag>] :tags
|
261
|
+
# The tags to delete. Specify a tag key and an optional tag value to
|
262
|
+
# delete specific tags. If you specify a tag key without a tag value, we
|
263
|
+
# delete any tag with this key regardless of its value. If you specify a
|
264
|
+
# tag key with an empty string as the tag value, we delete the tag only
|
265
|
+
# if its value is an empty string.
|
266
|
+
#
|
267
|
+
# If you omit this parameter, we delete all user-defined tags for the
|
268
|
+
# specified resources. We do not delete AWS-generated tags (tags that
|
269
|
+
# have the `aws:` prefix).
|
270
|
+
# @return [Tag::Collection]
|
271
|
+
def delete_tags(options = {})
|
272
|
+
batch = []
|
273
|
+
options = Aws::Util.deep_merge(options, resources: [@id])
|
274
|
+
resp = @client.delete_tags(options)
|
275
|
+
options[:tags].each do |t|
|
276
|
+
batch << Tag.new(
|
277
|
+
resource_id: @id,
|
278
|
+
key: t[:key],
|
279
|
+
value: t[:value],
|
280
|
+
client: @client
|
281
|
+
)
|
282
|
+
end
|
283
|
+
Tag::Collection.new([batch], size: batch.size)
|
284
|
+
end
|
285
|
+
|
243
286
|
# @example Request syntax with placeholder values
|
244
287
|
#
|
245
288
|
# dhcp_options.delete({
|
data/lib/aws-sdk-ec2/image.rb
CHANGED
@@ -85,27 +85,29 @@ module Aws::EC2
|
|
85
85
|
end
|
86
86
|
|
87
87
|
# The platform details associated with the billing code of the AMI. For
|
88
|
-
# more information, see [
|
89
|
-
# Elastic Compute Cloud User Guide*.
|
88
|
+
# more information, see [Obtaining Billing Information][1] in the
|
89
|
+
# *Amazon Elastic Compute Cloud User Guide*.
|
90
90
|
#
|
91
91
|
#
|
92
92
|
#
|
93
|
-
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info.html
|
93
|
+
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html
|
94
94
|
# @return [String]
|
95
95
|
def platform_details
|
96
96
|
data[:platform_details]
|
97
97
|
end
|
98
98
|
|
99
|
-
# The operation of the Amazon EC2 instance and the billing code
|
99
|
+
# The operation of the Amazon EC2 instance and the billing code that is
|
100
100
|
# associated with the AMI. `usageOperation` corresponds to the
|
101
|
-
# [lineitem/Operation][1] column on your AWS Cost and Usage Report
|
102
|
-
#
|
103
|
-
#
|
101
|
+
# [lineitem/Operation][1] column on your AWS Cost and Usage Report and
|
102
|
+
# in the [AWS Price List API][2]. For the list of `UsageOperation`
|
103
|
+
# codes, see [Platform Details and Usage Operation Billing Codes][3] in
|
104
|
+
# the *Amazon Elastic Compute Cloud User Guide*.
|
104
105
|
#
|
105
106
|
#
|
106
107
|
#
|
107
108
|
# [1]: https://docs.aws.amazon.com/cur/latest/userguide/Lineitem-columns.html#Lineitem-details-O-Operation
|
108
|
-
# [2]: https://docs.aws.amazon.com/
|
109
|
+
# [2]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html
|
110
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html#billing-info
|
109
111
|
# @return [String]
|
110
112
|
def usage_operation
|
111
113
|
data[:usage_operation]
|
@@ -407,6 +409,49 @@ module Aws::EC2
|
|
407
409
|
Tag::Collection.new([batch], size: batch.size)
|
408
410
|
end
|
409
411
|
|
412
|
+
# @example Request syntax with placeholder values
|
413
|
+
#
|
414
|
+
# tag = image.delete_tags({
|
415
|
+
# dry_run: false,
|
416
|
+
# tags: [
|
417
|
+
# {
|
418
|
+
# key: "String",
|
419
|
+
# value: "String",
|
420
|
+
# },
|
421
|
+
# ],
|
422
|
+
# })
|
423
|
+
# @param [Hash] options ({})
|
424
|
+
# @option options [Boolean] :dry_run
|
425
|
+
# Checks whether you have the required permissions for the action,
|
426
|
+
# without actually making the request, and provides an error response.
|
427
|
+
# If you have the required permissions, the error response is
|
428
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
429
|
+
# @option options [Array<Types::Tag>] :tags
|
430
|
+
# The tags to delete. Specify a tag key and an optional tag value to
|
431
|
+
# delete specific tags. If you specify a tag key without a tag value, we
|
432
|
+
# delete any tag with this key regardless of its value. If you specify a
|
433
|
+
# tag key with an empty string as the tag value, we delete the tag only
|
434
|
+
# if its value is an empty string.
|
435
|
+
#
|
436
|
+
# If you omit this parameter, we delete all user-defined tags for the
|
437
|
+
# specified resources. We do not delete AWS-generated tags (tags that
|
438
|
+
# have the `aws:` prefix).
|
439
|
+
# @return [Tag::Collection]
|
440
|
+
def delete_tags(options = {})
|
441
|
+
batch = []
|
442
|
+
options = Aws::Util.deep_merge(options, resources: [@id])
|
443
|
+
resp = @client.delete_tags(options)
|
444
|
+
options[:tags].each do |t|
|
445
|
+
batch << Tag.new(
|
446
|
+
resource_id: @id,
|
447
|
+
key: t[:key],
|
448
|
+
value: t[:value],
|
449
|
+
client: @client
|
450
|
+
)
|
451
|
+
end
|
452
|
+
Tag::Collection.new([batch], size: batch.size)
|
453
|
+
end
|
454
|
+
|
410
455
|
# @example Request syntax with placeholder values
|
411
456
|
#
|
412
457
|
# image.deregister({
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -195,7 +195,8 @@ module Aws::EC2
|
|
195
195
|
data[:ena_support]
|
196
196
|
end
|
197
197
|
|
198
|
-
# The hypervisor type of the instance.
|
198
|
+
# The hypervisor type of the instance. The value `xen` is used for both
|
199
|
+
# Xen and Nitro hypervisors.
|
199
200
|
# @return [String]
|
200
201
|
def hypervisor
|
201
202
|
data[:hypervisor]
|
@@ -718,6 +719,49 @@ module Aws::EC2
|
|
718
719
|
Tag::Collection.new([batch], size: batch.size)
|
719
720
|
end
|
720
721
|
|
722
|
+
# @example Request syntax with placeholder values
|
723
|
+
#
|
724
|
+
# tag = instance.delete_tags({
|
725
|
+
# dry_run: false,
|
726
|
+
# tags: [
|
727
|
+
# {
|
728
|
+
# key: "String",
|
729
|
+
# value: "String",
|
730
|
+
# },
|
731
|
+
# ],
|
732
|
+
# })
|
733
|
+
# @param [Hash] options ({})
|
734
|
+
# @option options [Boolean] :dry_run
|
735
|
+
# Checks whether you have the required permissions for the action,
|
736
|
+
# without actually making the request, and provides an error response.
|
737
|
+
# If you have the required permissions, the error response is
|
738
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
739
|
+
# @option options [Array<Types::Tag>] :tags
|
740
|
+
# The tags to delete. Specify a tag key and an optional tag value to
|
741
|
+
# delete specific tags. If you specify a tag key without a tag value, we
|
742
|
+
# delete any tag with this key regardless of its value. If you specify a
|
743
|
+
# tag key with an empty string as the tag value, we delete the tag only
|
744
|
+
# if its value is an empty string.
|
745
|
+
#
|
746
|
+
# If you omit this parameter, we delete all user-defined tags for the
|
747
|
+
# specified resources. We do not delete AWS-generated tags (tags that
|
748
|
+
# have the `aws:` prefix).
|
749
|
+
# @return [Tag::Collection]
|
750
|
+
def delete_tags(options = {})
|
751
|
+
batch = []
|
752
|
+
options = Aws::Util.deep_merge(options, resources: [@id])
|
753
|
+
resp = @client.delete_tags(options)
|
754
|
+
options[:tags].each do |t|
|
755
|
+
batch << Tag.new(
|
756
|
+
resource_id: @id,
|
757
|
+
key: t[:key],
|
758
|
+
value: t[:value],
|
759
|
+
client: @client
|
760
|
+
)
|
761
|
+
end
|
762
|
+
Tag::Collection.new([batch], size: batch.size)
|
763
|
+
end
|
764
|
+
|
721
765
|
# @example Request syntax with placeholder values
|
722
766
|
#
|
723
767
|
# instance.describe_attribute({
|
@@ -1314,7 +1358,7 @@ module Aws::EC2
|
|
1314
1358
|
# values: ["String"],
|
1315
1359
|
# },
|
1316
1360
|
# ],
|
1317
|
-
# volume_ids: ["
|
1361
|
+
# volume_ids: ["VolumeId"],
|
1318
1362
|
# dry_run: false,
|
1319
1363
|
# })
|
1320
1364
|
# @param [Hash] options ({})
|
@@ -1344,6 +1388,13 @@ module Aws::EC2
|
|
1344
1388
|
# * `encrypted` - Indicates whether the volume is encrypted (`true` \|
|
1345
1389
|
# `false`)
|
1346
1390
|
#
|
1391
|
+
# * `multi-attach-enabled` - Indicates whether the volume is enabled for
|
1392
|
+
# Multi-Attach (`true` \| `false`)
|
1393
|
+
#
|
1394
|
+
# * `fast-restored` - Indicates whether the volume was created from a
|
1395
|
+
# snapshot that is enabled for fast snapshot restore (`true` \|
|
1396
|
+
# `false`).
|
1397
|
+
#
|
1347
1398
|
# * `size` - The size of the volume, in GiB.
|
1348
1399
|
#
|
1349
1400
|
# * `snapshot-id` - The snapshot from which the volume was created.
|
@@ -1573,6 +1624,46 @@ module Aws::EC2
|
|
1573
1624
|
nil
|
1574
1625
|
end
|
1575
1626
|
|
1627
|
+
# @example Request syntax with placeholder values
|
1628
|
+
#
|
1629
|
+
# instance.batch_delete_tags!({
|
1630
|
+
# dry_run: false,
|
1631
|
+
# tags: [
|
1632
|
+
# {
|
1633
|
+
# key: "String",
|
1634
|
+
# value: "String",
|
1635
|
+
# },
|
1636
|
+
# ],
|
1637
|
+
# })
|
1638
|
+
# @param options ({})
|
1639
|
+
# @option options [Boolean] :dry_run
|
1640
|
+
# Checks whether you have the required permissions for the action,
|
1641
|
+
# without actually making the request, and provides an error response.
|
1642
|
+
# If you have the required permissions, the error response is
|
1643
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
1644
|
+
# @option options [Array<Types::Tag>] :tags
|
1645
|
+
# The tags to delete. Specify a tag key and an optional tag value to
|
1646
|
+
# delete specific tags. If you specify a tag key without a tag value, we
|
1647
|
+
# delete any tag with this key regardless of its value. If you specify a
|
1648
|
+
# tag key with an empty string as the tag value, we delete the tag only
|
1649
|
+
# if its value is an empty string.
|
1650
|
+
#
|
1651
|
+
# If you omit this parameter, we delete all user-defined tags for the
|
1652
|
+
# specified resources. We do not delete AWS-generated tags (tags that
|
1653
|
+
# have the `aws:` prefix).
|
1654
|
+
# @return [void]
|
1655
|
+
def batch_delete_tags!(options = {})
|
1656
|
+
batch_enum.each do |batch|
|
1657
|
+
params = Aws::Util.copy_hash(options)
|
1658
|
+
params[:resources] ||= []
|
1659
|
+
batch.each do |item|
|
1660
|
+
params[:resources] << item.id
|
1661
|
+
end
|
1662
|
+
batch[0].client.delete_tags(params)
|
1663
|
+
end
|
1664
|
+
nil
|
1665
|
+
end
|
1666
|
+
|
1576
1667
|
# @example Request syntax with placeholder values
|
1577
1668
|
#
|
1578
1669
|
# instance.batch_monitor({
|
@@ -240,6 +240,49 @@ module Aws::EC2
|
|
240
240
|
Tag::Collection.new([batch], size: batch.size)
|
241
241
|
end
|
242
242
|
|
243
|
+
# @example Request syntax with placeholder values
|
244
|
+
#
|
245
|
+
# tag = internet_gateway.delete_tags({
|
246
|
+
# dry_run: false,
|
247
|
+
# tags: [
|
248
|
+
# {
|
249
|
+
# key: "String",
|
250
|
+
# value: "String",
|
251
|
+
# },
|
252
|
+
# ],
|
253
|
+
# })
|
254
|
+
# @param [Hash] options ({})
|
255
|
+
# @option options [Boolean] :dry_run
|
256
|
+
# Checks whether you have the required permissions for the action,
|
257
|
+
# without actually making the request, and provides an error response.
|
258
|
+
# If you have the required permissions, the error response is
|
259
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
260
|
+
# @option options [Array<Types::Tag>] :tags
|
261
|
+
# The tags to delete. Specify a tag key and an optional tag value to
|
262
|
+
# delete specific tags. If you specify a tag key without a tag value, we
|
263
|
+
# delete any tag with this key regardless of its value. If you specify a
|
264
|
+
# tag key with an empty string as the tag value, we delete the tag only
|
265
|
+
# if its value is an empty string.
|
266
|
+
#
|
267
|
+
# If you omit this parameter, we delete all user-defined tags for the
|
268
|
+
# specified resources. We do not delete AWS-generated tags (tags that
|
269
|
+
# have the `aws:` prefix).
|
270
|
+
# @return [Tag::Collection]
|
271
|
+
def delete_tags(options = {})
|
272
|
+
batch = []
|
273
|
+
options = Aws::Util.deep_merge(options, resources: [@id])
|
274
|
+
resp = @client.delete_tags(options)
|
275
|
+
options[:tags].each do |t|
|
276
|
+
batch << Tag.new(
|
277
|
+
resource_id: @id,
|
278
|
+
key: t[:key],
|
279
|
+
value: t[:value],
|
280
|
+
client: @client
|
281
|
+
)
|
282
|
+
end
|
283
|
+
Tag::Collection.new([batch], size: batch.size)
|
284
|
+
end
|
285
|
+
|
243
286
|
# @example Request syntax with placeholder values
|
244
287
|
#
|
245
288
|
# internet_gateway.delete({
|
@@ -308,6 +308,49 @@ module Aws::EC2
|
|
308
308
|
Tag::Collection.new([batch], size: batch.size)
|
309
309
|
end
|
310
310
|
|
311
|
+
# @example Request syntax with placeholder values
|
312
|
+
#
|
313
|
+
# tag = nat_gateway.delete_tags({
|
314
|
+
# dry_run: false,
|
315
|
+
# tags: [
|
316
|
+
# {
|
317
|
+
# key: "String",
|
318
|
+
# value: "String",
|
319
|
+
# },
|
320
|
+
# ],
|
321
|
+
# })
|
322
|
+
# @param [Hash] options ({})
|
323
|
+
# @option options [Boolean] :dry_run
|
324
|
+
# Checks whether you have the required permissions for the action,
|
325
|
+
# without actually making the request, and provides an error response.
|
326
|
+
# If you have the required permissions, the error response is
|
327
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
328
|
+
# @option options [Array<Types::Tag>] :tags
|
329
|
+
# The tags to delete. Specify a tag key and an optional tag value to
|
330
|
+
# delete specific tags. If you specify a tag key without a tag value, we
|
331
|
+
# delete any tag with this key regardless of its value. If you specify a
|
332
|
+
# tag key with an empty string as the tag value, we delete the tag only
|
333
|
+
# if its value is an empty string.
|
334
|
+
#
|
335
|
+
# If you omit this parameter, we delete all user-defined tags for the
|
336
|
+
# specified resources. We do not delete AWS-generated tags (tags that
|
337
|
+
# have the `aws:` prefix).
|
338
|
+
# @return [Tag::Collection]
|
339
|
+
def delete_tags(options = {})
|
340
|
+
batch = []
|
341
|
+
options = Aws::Util.deep_merge(options, resources: [@id])
|
342
|
+
resp = @client.delete_tags(options)
|
343
|
+
options[:tags].each do |t|
|
344
|
+
batch << Tag.new(
|
345
|
+
resource_id: @id,
|
346
|
+
key: t[:key],
|
347
|
+
value: t[:value],
|
348
|
+
client: @client
|
349
|
+
)
|
350
|
+
end
|
351
|
+
Tag::Collection.new([batch], size: batch.size)
|
352
|
+
end
|
353
|
+
|
311
354
|
# @example Request syntax with placeholder values
|
312
355
|
#
|
313
356
|
# nat_gateway.delete()
|
@@ -302,6 +302,49 @@ module Aws::EC2
|
|
302
302
|
Tag::Collection.new([batch], size: batch.size)
|
303
303
|
end
|
304
304
|
|
305
|
+
# @example Request syntax with placeholder values
|
306
|
+
#
|
307
|
+
# tag = network_acl.delete_tags({
|
308
|
+
# dry_run: false,
|
309
|
+
# tags: [
|
310
|
+
# {
|
311
|
+
# key: "String",
|
312
|
+
# value: "String",
|
313
|
+
# },
|
314
|
+
# ],
|
315
|
+
# })
|
316
|
+
# @param [Hash] options ({})
|
317
|
+
# @option options [Boolean] :dry_run
|
318
|
+
# Checks whether you have the required permissions for the action,
|
319
|
+
# without actually making the request, and provides an error response.
|
320
|
+
# If you have the required permissions, the error response is
|
321
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
322
|
+
# @option options [Array<Types::Tag>] :tags
|
323
|
+
# The tags to delete. Specify a tag key and an optional tag value to
|
324
|
+
# delete specific tags. If you specify a tag key without a tag value, we
|
325
|
+
# delete any tag with this key regardless of its value. If you specify a
|
326
|
+
# tag key with an empty string as the tag value, we delete the tag only
|
327
|
+
# if its value is an empty string.
|
328
|
+
#
|
329
|
+
# If you omit this parameter, we delete all user-defined tags for the
|
330
|
+
# specified resources. We do not delete AWS-generated tags (tags that
|
331
|
+
# have the `aws:` prefix).
|
332
|
+
# @return [Tag::Collection]
|
333
|
+
def delete_tags(options = {})
|
334
|
+
batch = []
|
335
|
+
options = Aws::Util.deep_merge(options, resources: [@id])
|
336
|
+
resp = @client.delete_tags(options)
|
337
|
+
options[:tags].each do |t|
|
338
|
+
batch << Tag.new(
|
339
|
+
resource_id: @id,
|
340
|
+
key: t[:key],
|
341
|
+
value: t[:value],
|
342
|
+
client: @client
|
343
|
+
)
|
344
|
+
end
|
345
|
+
Tag::Collection.new([batch], size: batch.size)
|
346
|
+
end
|
347
|
+
|
305
348
|
# @example Request syntax with placeholder values
|
306
349
|
#
|
307
350
|
# network_acl.delete({
|
@@ -370,6 +370,49 @@ module Aws::EC2
|
|
370
370
|
Tag::Collection.new([batch], size: batch.size)
|
371
371
|
end
|
372
372
|
|
373
|
+
# @example Request syntax with placeholder values
|
374
|
+
#
|
375
|
+
# tag = network_interface.delete_tags({
|
376
|
+
# dry_run: false,
|
377
|
+
# tags: [
|
378
|
+
# {
|
379
|
+
# key: "String",
|
380
|
+
# value: "String",
|
381
|
+
# },
|
382
|
+
# ],
|
383
|
+
# })
|
384
|
+
# @param [Hash] options ({})
|
385
|
+
# @option options [Boolean] :dry_run
|
386
|
+
# Checks whether you have the required permissions for the action,
|
387
|
+
# without actually making the request, and provides an error response.
|
388
|
+
# If you have the required permissions, the error response is
|
389
|
+
# `DryRunOperation`. Otherwise, it is `UnauthorizedOperation`.
|
390
|
+
# @option options [Array<Types::Tag>] :tags
|
391
|
+
# The tags to delete. Specify a tag key and an optional tag value to
|
392
|
+
# delete specific tags. If you specify a tag key without a tag value, we
|
393
|
+
# delete any tag with this key regardless of its value. If you specify a
|
394
|
+
# tag key with an empty string as the tag value, we delete the tag only
|
395
|
+
# if its value is an empty string.
|
396
|
+
#
|
397
|
+
# If you omit this parameter, we delete all user-defined tags for the
|
398
|
+
# specified resources. We do not delete AWS-generated tags (tags that
|
399
|
+
# have the `aws:` prefix).
|
400
|
+
# @return [Tag::Collection]
|
401
|
+
def delete_tags(options = {})
|
402
|
+
batch = []
|
403
|
+
options = Aws::Util.deep_merge(options, resources: [@id])
|
404
|
+
resp = @client.delete_tags(options)
|
405
|
+
options[:tags].each do |t|
|
406
|
+
batch << Tag.new(
|
407
|
+
resource_id: @id,
|
408
|
+
key: t[:key],
|
409
|
+
value: t[:value],
|
410
|
+
client: @client
|
411
|
+
)
|
412
|
+
end
|
413
|
+
Tag::Collection.new([batch], size: batch.size)
|
414
|
+
end
|
415
|
+
|
373
416
|
# @example Request syntax with placeholder values
|
374
417
|
#
|
375
418
|
# network_interface.delete({
|
@@ -454,12 +497,12 @@ module Aws::EC2
|
|
454
497
|
#
|
455
498
|
# network_interface.modify_attribute({
|
456
499
|
# attachment: {
|
457
|
-
# attachment_id: "
|
500
|
+
# attachment_id: "NetworkInterfaceAttachmentId",
|
458
501
|
# delete_on_termination: false,
|
459
502
|
# },
|
460
503
|
# description: "value", # value <Hash,Array,String,Numeric,Boolean,IO,Set,nil>
|
461
504
|
# dry_run: false,
|
462
|
-
# groups: ["
|
505
|
+
# groups: ["SecurityGroupId"],
|
463
506
|
# source_dest_check: {
|
464
507
|
# value: false,
|
465
508
|
# },
|