aws-sdk-ec2 1.459.0 → 1.461.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +10 -0
  3. data/VERSION +1 -1
  4. data/lib/aws-sdk-ec2/classic_address.rb +5 -5
  5. data/lib/aws-sdk-ec2/client.rb +575 -483
  6. data/lib/aws-sdk-ec2/client_api.rb +31 -0
  7. data/lib/aws-sdk-ec2/customizations/instance.rb +1 -1
  8. data/lib/aws-sdk-ec2/customizations/resource.rb +1 -1
  9. data/lib/aws-sdk-ec2/dhcp_options.rb +6 -6
  10. data/lib/aws-sdk-ec2/endpoints.rb +14 -0
  11. data/lib/aws-sdk-ec2/image.rb +9 -9
  12. data/lib/aws-sdk-ec2/instance.rb +41 -41
  13. data/lib/aws-sdk-ec2/internet_gateway.rb +7 -7
  14. data/lib/aws-sdk-ec2/key_pair.rb +2 -2
  15. data/lib/aws-sdk-ec2/key_pair_info.rb +3 -3
  16. data/lib/aws-sdk-ec2/nat_gateway.rb +7 -8
  17. data/lib/aws-sdk-ec2/network_acl.rb +10 -10
  18. data/lib/aws-sdk-ec2/network_interface.rb +13 -13
  19. data/lib/aws-sdk-ec2/network_interface_association.rb +3 -3
  20. data/lib/aws-sdk-ec2/placement_group.rb +8 -4
  21. data/lib/aws-sdk-ec2/plugins/endpoints.rb +2 -0
  22. data/lib/aws-sdk-ec2/resource.rb +97 -105
  23. data/lib/aws-sdk-ec2/route.rb +3 -3
  24. data/lib/aws-sdk-ec2/route_table.rb +7 -7
  25. data/lib/aws-sdk-ec2/route_table_association.rb +3 -3
  26. data/lib/aws-sdk-ec2/security_group.rb +11 -11
  27. data/lib/aws-sdk-ec2/snapshot.rb +24 -27
  28. data/lib/aws-sdk-ec2/subnet.rb +42 -41
  29. data/lib/aws-sdk-ec2/tag.rb +4 -4
  30. data/lib/aws-sdk-ec2/types.rb +421 -395
  31. data/lib/aws-sdk-ec2/volume.rb +17 -21
  32. data/lib/aws-sdk-ec2/vpc.rb +43 -43
  33. data/lib/aws-sdk-ec2/vpc_address.rb +4 -4
  34. data/lib/aws-sdk-ec2/vpc_peering_connection.rb +6 -6
  35. data/lib/aws-sdk-ec2.rb +1 -1
  36. data/sig/client.rbs +121 -89
  37. data/sig/instance.rbs +1 -1
  38. data/sig/resource.rbs +17 -17
  39. data/sig/security_group.rbs +2 -2
  40. data/sig/snapshot.rbs +1 -1
  41. data/sig/subnet.rbs +2 -2
  42. data/sig/tag.rbs +1 -1
  43. data/sig/types.rbs +23 -5
  44. data/sig/volume.rbs +1 -1
  45. data/sig/vpc.rbs +5 -5
  46. metadata +4 -4
@@ -68,7 +68,7 @@ module Aws::EC2
68
68
  #
69
69
  # @return [self]
70
70
  def load
71
- resp = Aws::Plugins::UserAgent.feature('resource') do
71
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
72
72
  @client.describe_internet_gateways(internet_gateway_ids: [@id])
73
73
  end
74
74
  @data = resp.internet_gateways[0]
@@ -185,7 +185,7 @@ module Aws::EC2
185
185
  :retry
186
186
  end
187
187
  end
188
- Aws::Plugins::UserAgent.feature('resource') do
188
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
189
189
  Aws::Waiters::Waiter.new(options).wait({})
190
190
  end
191
191
  end
@@ -209,7 +209,7 @@ module Aws::EC2
209
209
  # @return [EmptyStructure]
210
210
  def attach_to_vpc(options = {})
211
211
  options = options.merge(internet_gateway_id: @id)
212
- resp = Aws::Plugins::UserAgent.feature('resource') do
212
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
213
213
  @client.attach_internet_gateway(options)
214
214
  end
215
215
  resp.data
@@ -240,7 +240,7 @@ module Aws::EC2
240
240
  def create_tags(options = {})
241
241
  batch = []
242
242
  options = Aws::Util.deep_merge(options, resources: [@id])
243
- resp = Aws::Plugins::UserAgent.feature('resource') do
243
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
244
244
  @client.create_tags(options)
245
245
  end
246
246
  options[:tags].each do |t|
@@ -287,7 +287,7 @@ module Aws::EC2
287
287
  def delete_tags(options = {})
288
288
  batch = []
289
289
  options = Aws::Util.deep_merge(options, resources: [@id])
290
- resp = Aws::Plugins::UserAgent.feature('resource') do
290
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
291
291
  @client.delete_tags(options)
292
292
  end
293
293
  options[:tags].each do |t|
@@ -315,7 +315,7 @@ module Aws::EC2
315
315
  # @return [EmptyStructure]
316
316
  def delete(options = {})
317
317
  options = options.merge(internet_gateway_id: @id)
318
- resp = Aws::Plugins::UserAgent.feature('resource') do
318
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
319
319
  @client.delete_internet_gateway(options)
320
320
  end
321
321
  resp.data
@@ -338,7 +338,7 @@ module Aws::EC2
338
338
  # @return [EmptyStructure]
339
339
  def detach_from_vpc(options = {})
340
340
  options = options.merge(internet_gateway_id: @id)
341
- resp = Aws::Plugins::UserAgent.feature('resource') do
341
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
342
342
  @client.detach_internet_gateway(options)
343
343
  end
344
344
  resp.data
@@ -188,7 +188,7 @@ module Aws::EC2
188
188
  :retry
189
189
  end
190
190
  end
191
- Aws::Plugins::UserAgent.feature('resource') do
191
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
192
192
  Aws::Waiters::Waiter.new(options).wait({})
193
193
  end
194
194
  end
@@ -212,7 +212,7 @@ module Aws::EC2
212
212
  # @return [Types::DeleteKeyPairResult]
213
213
  def delete(options = {})
214
214
  options = options.merge(key_name: @name)
215
- resp = Aws::Plugins::UserAgent.feature('resource') do
215
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
216
216
  @client.delete_key_pair(options)
217
217
  end
218
218
  resp.data
@@ -116,7 +116,7 @@ module Aws::EC2
116
116
  #
117
117
  # @return [self]
118
118
  def load
119
- resp = Aws::Plugins::UserAgent.feature('resource') do
119
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
120
120
  @client.describe_key_pairs(key_names: [@name])
121
121
  end
122
122
  @data = resp.key_pairs[0]
@@ -233,7 +233,7 @@ module Aws::EC2
233
233
  :retry
234
234
  end
235
235
  end
236
- Aws::Plugins::UserAgent.feature('resource') do
236
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
237
237
  Aws::Waiters::Waiter.new(options).wait({})
238
238
  end
239
239
  end
@@ -257,7 +257,7 @@ module Aws::EC2
257
257
  # @return [Types::DeleteKeyPairResult]
258
258
  def delete(options = {})
259
259
  options = options.merge(key_name: @name)
260
- resp = Aws::Plugins::UserAgent.feature('resource') do
260
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
261
261
  @client.delete_key_pair(options)
262
262
  end
263
263
  resp.data
@@ -91,12 +91,11 @@ module Aws::EC2
91
91
  end
92
92
 
93
93
  # Reserved. If you need to sustain traffic greater than the [documented
94
- # limits][1], contact us through the [Support Center][2].
94
+ # limits][1], contact Amazon Web Services Support.
95
95
  #
96
96
  #
97
97
  #
98
- # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/vpc-nat-gateway.html
99
- # [2]: https://console.aws.amazon.com/support/home?
98
+ # [1]: https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html#vpc-limits-gateways
100
99
  # @return [Types::ProvisionedBandwidth]
101
100
  def provisioned_bandwidth
102
101
  data[:provisioned_bandwidth]
@@ -163,7 +162,7 @@ module Aws::EC2
163
162
  #
164
163
  # @return [self]
165
164
  def load
166
- resp = Aws::Plugins::UserAgent.feature('resource') do
165
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
167
166
  @client.describe_nat_gateways(nat_gateway_ids: [@id])
168
167
  end
169
168
  @data = resp.nat_gateways[0]
@@ -280,7 +279,7 @@ module Aws::EC2
280
279
  :retry
281
280
  end
282
281
  end
283
- Aws::Plugins::UserAgent.feature('resource') do
282
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
284
283
  Aws::Waiters::Waiter.new(options).wait({})
285
284
  end
286
285
  end
@@ -312,7 +311,7 @@ module Aws::EC2
312
311
  def create_tags(options = {})
313
312
  batch = []
314
313
  options = Aws::Util.deep_merge(options, resources: [@id])
315
- resp = Aws::Plugins::UserAgent.feature('resource') do
314
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
316
315
  @client.create_tags(options)
317
316
  end
318
317
  options[:tags].each do |t|
@@ -359,7 +358,7 @@ module Aws::EC2
359
358
  def delete_tags(options = {})
360
359
  batch = []
361
360
  options = Aws::Util.deep_merge(options, resources: [@id])
362
- resp = Aws::Plugins::UserAgent.feature('resource') do
361
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
363
362
  @client.delete_tags(options)
364
363
  end
365
364
  options[:tags].each do |t|
@@ -387,7 +386,7 @@ module Aws::EC2
387
386
  # @return [Types::DeleteNatGatewayResult]
388
387
  def delete(options = {})
389
388
  options = options.merge(nat_gateway_id: @id)
390
- resp = Aws::Plugins::UserAgent.feature('resource') do
389
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
391
390
  @client.delete_nat_gateway(options)
392
391
  end
393
392
  resp.data
@@ -35,7 +35,7 @@ module Aws::EC2
35
35
  end
36
36
  alias :network_acl_id :id
37
37
 
38
- # Any associations between the network ACL and one or more subnets
38
+ # Any associations between the network ACL and your subnets
39
39
  # @return [Array<Types::NetworkAclAssociation>]
40
40
  def associations
41
41
  data[:associations]
@@ -85,7 +85,7 @@ module Aws::EC2
85
85
  #
86
86
  # @return [self]
87
87
  def load
88
- resp = Aws::Plugins::UserAgent.feature('resource') do
88
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
89
89
  @client.describe_network_acls(network_acl_ids: [@id])
90
90
  end
91
91
  @data = resp.network_acls[0]
@@ -202,7 +202,7 @@ module Aws::EC2
202
202
  :retry
203
203
  end
204
204
  end
205
- Aws::Plugins::UserAgent.feature('resource') do
205
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
206
206
  Aws::Waiters::Waiter.new(options).wait({})
207
207
  end
208
208
  end
@@ -272,7 +272,7 @@ module Aws::EC2
272
272
  # @return [EmptyStructure]
273
273
  def create_entry(options = {})
274
274
  options = options.merge(network_acl_id: @id)
275
- resp = Aws::Plugins::UserAgent.feature('resource') do
275
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
276
276
  @client.create_network_acl_entry(options)
277
277
  end
278
278
  resp.data
@@ -303,7 +303,7 @@ module Aws::EC2
303
303
  def create_tags(options = {})
304
304
  batch = []
305
305
  options = Aws::Util.deep_merge(options, resources: [@id])
306
- resp = Aws::Plugins::UserAgent.feature('resource') do
306
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
307
307
  @client.create_tags(options)
308
308
  end
309
309
  options[:tags].each do |t|
@@ -350,7 +350,7 @@ module Aws::EC2
350
350
  def delete_tags(options = {})
351
351
  batch = []
352
352
  options = Aws::Util.deep_merge(options, resources: [@id])
353
- resp = Aws::Plugins::UserAgent.feature('resource') do
353
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
354
354
  @client.delete_tags(options)
355
355
  end
356
356
  options[:tags].each do |t|
@@ -378,7 +378,7 @@ module Aws::EC2
378
378
  # @return [EmptyStructure]
379
379
  def delete(options = {})
380
380
  options = options.merge(network_acl_id: @id)
381
- resp = Aws::Plugins::UserAgent.feature('resource') do
381
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
382
382
  @client.delete_network_acl(options)
383
383
  end
384
384
  resp.data
@@ -404,7 +404,7 @@ module Aws::EC2
404
404
  # @return [EmptyStructure]
405
405
  def delete_entry(options = {})
406
406
  options = options.merge(network_acl_id: @id)
407
- resp = Aws::Plugins::UserAgent.feature('resource') do
407
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
408
408
  @client.delete_network_acl_entry(options)
409
409
  end
410
410
  resp.data
@@ -428,7 +428,7 @@ module Aws::EC2
428
428
  # @return [Types::ReplaceNetworkAclAssociationResult]
429
429
  def replace_association(options = {})
430
430
  options = options.merge(network_acl_id: @id)
431
- resp = Aws::Plugins::UserAgent.feature('resource') do
431
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
432
432
  @client.replace_network_acl_association(options)
433
433
  end
434
434
  resp.data
@@ -492,7 +492,7 @@ module Aws::EC2
492
492
  # @return [EmptyStructure]
493
493
  def replace_entry(options = {})
494
494
  options = options.merge(network_acl_id: @id)
495
- resp = Aws::Plugins::UserAgent.feature('resource') do
495
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
496
496
  @client.replace_network_acl_entry(options)
497
497
  end
498
498
  resp.data
@@ -50,7 +50,7 @@ module Aws::EC2
50
50
  # A security group connection tracking configuration that enables you to
51
51
  # set the timeout for connection tracking on an Elastic network
52
52
  # interface. For more information, see [Connection tracking timeouts][1]
53
- # in the *Amazon Elastic Compute Cloud User Guide*.
53
+ # in the *Amazon EC2 User Guide*.
54
54
  #
55
55
  #
56
56
  #
@@ -215,7 +215,7 @@ module Aws::EC2
215
215
  #
216
216
  # @return [self]
217
217
  def load
218
- resp = Aws::Plugins::UserAgent.feature('resource') do
218
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
219
219
  @client.describe_network_interfaces(network_interface_ids: [@id])
220
220
  end
221
221
  @data = resp.network_interfaces[0]
@@ -332,7 +332,7 @@ module Aws::EC2
332
332
  :retry
333
333
  end
334
334
  end
335
- Aws::Plugins::UserAgent.feature('resource') do
335
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
336
336
  Aws::Waiters::Waiter.new(options).wait({})
337
337
  end
338
338
  end
@@ -374,7 +374,7 @@ module Aws::EC2
374
374
  # @return [Types::AssignPrivateIpAddressesResult]
375
375
  def assign_private_ip_addresses(options = {})
376
376
  options = options.merge(network_interface_id: @id)
377
- resp = Aws::Plugins::UserAgent.feature('resource') do
377
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
378
378
  @client.assign_private_ip_addresses(options)
379
379
  end
380
380
  resp.data
@@ -414,7 +414,7 @@ module Aws::EC2
414
414
  # @return [Types::AttachNetworkInterfaceResult]
415
415
  def attach(options = {})
416
416
  options = options.merge(network_interface_id: @id)
417
- resp = Aws::Plugins::UserAgent.feature('resource') do
417
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
418
418
  @client.attach_network_interface(options)
419
419
  end
420
420
  resp.data
@@ -445,7 +445,7 @@ module Aws::EC2
445
445
  def create_tags(options = {})
446
446
  batch = []
447
447
  options = Aws::Util.deep_merge(options, resources: [@id])
448
- resp = Aws::Plugins::UserAgent.feature('resource') do
448
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
449
449
  @client.create_tags(options)
450
450
  end
451
451
  options[:tags].each do |t|
@@ -492,7 +492,7 @@ module Aws::EC2
492
492
  def delete_tags(options = {})
493
493
  batch = []
494
494
  options = Aws::Util.deep_merge(options, resources: [@id])
495
- resp = Aws::Plugins::UserAgent.feature('resource') do
495
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
496
496
  @client.delete_tags(options)
497
497
  end
498
498
  options[:tags].each do |t|
@@ -520,7 +520,7 @@ module Aws::EC2
520
520
  # @return [EmptyStructure]
521
521
  def delete(options = {})
522
522
  options = options.merge(network_interface_id: @id)
523
- resp = Aws::Plugins::UserAgent.feature('resource') do
523
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
524
524
  @client.delete_network_interface(options)
525
525
  end
526
526
  resp.data
@@ -543,7 +543,7 @@ module Aws::EC2
543
543
  # @return [Types::DescribeNetworkInterfaceAttributeResult]
544
544
  def describe_attribute(options = {})
545
545
  options = options.merge(network_interface_id: @id)
546
- resp = Aws::Plugins::UserAgent.feature('resource') do
546
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
547
547
  @client.describe_network_interface_attribute(options)
548
548
  end
549
549
  resp.data
@@ -586,7 +586,7 @@ module Aws::EC2
586
586
  # @return [EmptyStructure]
587
587
  def detach(options = {})
588
588
  options = options.merge(attachment_id: data[:attachment][:attachment_id])
589
- resp = Aws::Plugins::UserAgent.feature('resource') do
589
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
590
590
  @client.detach_network_interface(options)
591
591
  end
592
592
  resp.data
@@ -671,7 +671,7 @@ module Aws::EC2
671
671
  # @return [EmptyStructure]
672
672
  def modify_attribute(options = {})
673
673
  options = options.merge(network_interface_id: @id)
674
- resp = Aws::Plugins::UserAgent.feature('resource') do
674
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
675
675
  @client.modify_network_interface_attribute(options)
676
676
  end
677
677
  resp.data
@@ -694,7 +694,7 @@ module Aws::EC2
694
694
  # @return [EmptyStructure]
695
695
  def reset_attribute(options = {})
696
696
  options = options.merge(network_interface_id: @id)
697
- resp = Aws::Plugins::UserAgent.feature('resource') do
697
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
698
698
  @client.reset_network_interface_attribute(options)
699
699
  end
700
700
  resp.data
@@ -716,7 +716,7 @@ module Aws::EC2
716
716
  # @return [EmptyStructure]
717
717
  def unassign_private_ip_addresses(options = {})
718
718
  options = options.merge(network_interface_id: @id)
719
- resp = Aws::Plugins::UserAgent.feature('resource') do
719
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
720
720
  @client.unassign_private_ip_addresses(options)
721
721
  end
722
722
  resp.data
@@ -79,7 +79,7 @@ module Aws::EC2
79
79
  #
80
80
  # @return [self]
81
81
  def load
82
- resp = Aws::Plugins::UserAgent.feature('resource') do
82
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
83
83
  @client.describe_network_interfaces(filters: [{
84
84
  name: "association.association-id",
85
85
  values: [@id]
@@ -199,7 +199,7 @@ module Aws::EC2
199
199
  :retry
200
200
  end
201
201
  end
202
- Aws::Plugins::UserAgent.feature('resource') do
202
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
203
203
  Aws::Waiters::Waiter.new(options).wait({})
204
204
  end
205
205
  end
@@ -223,7 +223,7 @@ module Aws::EC2
223
223
  # @return [EmptyStructure]
224
224
  def delete(options = {})
225
225
  options = options.merge(association_id: @id)
226
- resp = Aws::Plugins::UserAgent.feature('resource') do
226
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
227
227
  @client.disassociate_address(options)
228
228
  end
229
229
  resp.data
@@ -93,7 +93,7 @@ module Aws::EC2
93
93
  #
94
94
  # @return [self]
95
95
  def load
96
- resp = Aws::Plugins::UserAgent.feature('resource') do
96
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
97
97
  @client.describe_placement_groups(group_names: [@name])
98
98
  end
99
99
  @data = resp.placement_groups[0]
@@ -210,7 +210,7 @@ module Aws::EC2
210
210
  :retry
211
211
  end
212
212
  end
213
- Aws::Plugins::UserAgent.feature('resource') do
213
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
214
214
  Aws::Waiters::Waiter.new(options).wait({})
215
215
  end
216
216
  end
@@ -231,7 +231,7 @@ module Aws::EC2
231
231
  # @return [EmptyStructure]
232
232
  def delete(options = {})
233
233
  options = options.merge(group_name: @name)
234
- resp = Aws::Plugins::UserAgent.feature('resource') do
234
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
235
235
  @client.delete_placement_group(options)
236
236
  end
237
237
  resp.data
@@ -599,6 +599,10 @@ module Aws::EC2
599
599
  # (`ip-name` \| `resource-name`).
600
600
  #
601
601
  # * `private-ip-address` - The private IPv4 address of the instance.
602
+ # This can only be used to filter by the primary IP address of the
603
+ # network interface attached to the instance. To filter by additional
604
+ # IP addresses assigned to the network interface, use the filter
605
+ # `network-interface.addresses.private-ip-address`.
602
606
  #
603
607
  # * `product-code` - The product code associated with the AMI used to
604
608
  # launch the instance.
@@ -693,7 +697,7 @@ module Aws::EC2
693
697
  name: "placement-group-name",
694
698
  values: [@name]
695
699
  }])
696
- resp = Aws::Plugins::UserAgent.feature('resource') do
700
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
697
701
  @client.describe_instances(options)
698
702
  end
699
703
  resp.each_page do |page|
@@ -724,6 +724,8 @@ module Aws::EC2
724
724
  Aws::EC2::Endpoints::DescribeSubnets.build(context)
725
725
  when :describe_tags
726
726
  Aws::EC2::Endpoints::DescribeTags.build(context)
727
+ when :describe_traffic_mirror_filter_rules
728
+ Aws::EC2::Endpoints::DescribeTrafficMirrorFilterRules.build(context)
727
729
  when :describe_traffic_mirror_filters
728
730
  Aws::EC2::Endpoints::DescribeTrafficMirrorFilters.build(context)
729
731
  when :describe_traffic_mirror_sessions