aws-sdk-ec2 1.459.0 → 1.460.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -73,7 +73,7 @@ module Aws::EC2
73
73
  #
74
74
  # @return [self]
75
75
  def load
76
- resp = Aws::Plugins::UserAgent.feature('resource') do
76
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
77
77
  @client.describe_route_tables(route_table_ids: [@id])
78
78
  end
79
79
  @data = resp.route_tables[0]
@@ -190,7 +190,7 @@ module Aws::EC2
190
190
  :retry
191
191
  end
192
192
  end
193
- Aws::Plugins::UserAgent.feature('resource') do
193
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
194
194
  Aws::Waiters::Waiter.new(options).wait({})
195
195
  end
196
196
  end
@@ -217,7 +217,7 @@ module Aws::EC2
217
217
  # @return [RouteTableAssociation]
218
218
  def associate_with_subnet(options = {})
219
219
  options = options.merge(route_table_id: @id)
220
- resp = Aws::Plugins::UserAgent.feature('resource') do
220
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
221
221
  @client.associate_route_table(options)
222
222
  end
223
223
  RouteTableAssociation.new(
@@ -293,7 +293,7 @@ module Aws::EC2
293
293
  # @return [Route]
294
294
  def create_route(options = {})
295
295
  options = options.merge(route_table_id: @id)
296
- Aws::Plugins::UserAgent.feature('resource') do
296
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
297
297
  @client.create_route(options)
298
298
  end
299
299
  Route.new(
@@ -328,7 +328,7 @@ module Aws::EC2
328
328
  def create_tags(options = {})
329
329
  batch = []
330
330
  options = Aws::Util.deep_merge(options, resources: [@id])
331
- resp = Aws::Plugins::UserAgent.feature('resource') do
331
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
332
332
  @client.create_tags(options)
333
333
  end
334
334
  options[:tags].each do |t|
@@ -375,7 +375,7 @@ module Aws::EC2
375
375
  def delete_tags(options = {})
376
376
  batch = []
377
377
  options = Aws::Util.deep_merge(options, resources: [@id])
378
- resp = Aws::Plugins::UserAgent.feature('resource') do
378
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
379
379
  @client.delete_tags(options)
380
380
  end
381
381
  options[:tags].each do |t|
@@ -403,7 +403,7 @@ module Aws::EC2
403
403
  # @return [EmptyStructure]
404
404
  def delete(options = {})
405
405
  options = options.merge(route_table_id: @id)
406
- resp = Aws::Plugins::UserAgent.feature('resource') do
406
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
407
407
  @client.delete_route_table(options)
408
408
  end
409
409
  resp.data
@@ -190,7 +190,7 @@ module Aws::EC2
190
190
  :retry
191
191
  end
192
192
  end
193
- Aws::Plugins::UserAgent.feature('resource') do
193
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
194
194
  Aws::Waiters::Waiter.new(options).wait({})
195
195
  end
196
196
  end
@@ -211,7 +211,7 @@ module Aws::EC2
211
211
  # @return [EmptyStructure]
212
212
  def delete(options = {})
213
213
  options = options.merge(association_id: @id)
214
- resp = Aws::Plugins::UserAgent.feature('resource') do
214
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
215
215
  @client.disassociate_route_table(options)
216
216
  end
217
217
  resp.data
@@ -234,7 +234,7 @@ module Aws::EC2
234
234
  # @return [RouteTableAssociation]
235
235
  def replace_subnet(options = {})
236
236
  options = options.merge(association_id: @id)
237
- resp = Aws::Plugins::UserAgent.feature('resource') do
237
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
238
238
  @client.replace_route_table_association(options)
239
239
  end
240
240
  RouteTableAssociation.new(
@@ -91,7 +91,7 @@ module Aws::EC2
91
91
  #
92
92
  # @return [self]
93
93
  def load
94
- resp = Aws::Plugins::UserAgent.feature('resource') do
94
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
95
95
  @client.describe_security_groups(group_ids: [@id])
96
96
  end
97
97
  @data = resp.security_groups[0]
@@ -208,7 +208,7 @@ module Aws::EC2
208
208
  :retry
209
209
  end
210
210
  end
211
- Aws::Plugins::UserAgent.feature('resource') do
211
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
212
212
  Aws::Waiters::Waiter.new(options).wait({})
213
213
  end
214
214
  end
@@ -298,7 +298,7 @@ module Aws::EC2
298
298
  # @return [Types::AuthorizeSecurityGroupEgressResult]
299
299
  def authorize_egress(options = {})
300
300
  options = options.merge(group_id: @id)
301
- resp = Aws::Plugins::UserAgent.feature('resource') do
301
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
302
302
  @client.authorize_security_group_egress(options)
303
303
  end
304
304
  resp.data
@@ -430,7 +430,7 @@ module Aws::EC2
430
430
  # @return [Types::AuthorizeSecurityGroupIngressResult]
431
431
  def authorize_ingress(options = {})
432
432
  options = options.merge(group_id: @id)
433
- resp = Aws::Plugins::UserAgent.feature('resource') do
433
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
434
434
  @client.authorize_security_group_ingress(options)
435
435
  end
436
436
  resp.data
@@ -461,7 +461,7 @@ module Aws::EC2
461
461
  def create_tags(options = {})
462
462
  batch = []
463
463
  options = Aws::Util.deep_merge(options, resources: [@id])
464
- resp = Aws::Plugins::UserAgent.feature('resource') do
464
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
465
465
  @client.create_tags(options)
466
466
  end
467
467
  options[:tags].each do |t|
@@ -508,7 +508,7 @@ module Aws::EC2
508
508
  def delete_tags(options = {})
509
509
  batch = []
510
510
  options = Aws::Util.deep_merge(options, resources: [@id])
511
- resp = Aws::Plugins::UserAgent.feature('resource') do
511
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
512
512
  @client.delete_tags(options)
513
513
  end
514
514
  options[:tags].each do |t|
@@ -541,7 +541,7 @@ module Aws::EC2
541
541
  # @return [EmptyStructure]
542
542
  def delete(options = {})
543
543
  options = options.merge(group_id: @id)
544
- resp = Aws::Plugins::UserAgent.feature('resource') do
544
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
545
545
  @client.delete_security_group(options)
546
546
  end
547
547
  resp.data
@@ -624,7 +624,7 @@ module Aws::EC2
624
624
  # @return [Types::RevokeSecurityGroupEgressResult]
625
625
  def revoke_egress(options = {})
626
626
  options = options.merge(group_id: @id)
627
- resp = Aws::Plugins::UserAgent.feature('resource') do
627
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
628
628
  @client.revoke_security_group_egress(options)
629
629
  end
630
630
  resp.data
@@ -723,7 +723,7 @@ module Aws::EC2
723
723
  # @return [Types::RevokeSecurityGroupIngressResult]
724
724
  def revoke_ingress(options = {})
725
725
  options = options.merge(group_id: @id)
726
- resp = Aws::Plugins::UserAgent.feature('resource') do
726
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
727
727
  @client.revoke_security_group_ingress(options)
728
728
  end
729
729
  resp.data
@@ -178,7 +178,7 @@ module Aws::EC2
178
178
  #
179
179
  # @return [self]
180
180
  def load
181
- resp = Aws::Plugins::UserAgent.feature('resource') do
181
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
182
182
  @client.describe_snapshots(snapshot_ids: [@id])
183
183
  end
184
184
  @data = resp.snapshots[0]
@@ -211,7 +211,7 @@ module Aws::EC2
211
211
  options, params = separate_params_and_options(options)
212
212
  waiter = Waiters::SnapshotCompleted.new(options)
213
213
  yield_waiter_and_warn(waiter, &block) if block_given?
214
- resp = Aws::Plugins::UserAgent.feature('resource') do
214
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
215
215
  waiter.wait(params.merge(snapshot_ids: [@id]))
216
216
  end
217
217
  Snapshot.new({
@@ -315,7 +315,7 @@ module Aws::EC2
315
315
  :retry
316
316
  end
317
317
  end
318
- Aws::Plugins::UserAgent.feature('resource') do
318
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
319
319
  Aws::Waiters::Waiter.new(options).wait({})
320
320
  end
321
321
  end
@@ -437,7 +437,7 @@ module Aws::EC2
437
437
  # @return [Types::CopySnapshotResult]
438
438
  def copy(options = {})
439
439
  options = options.merge(source_snapshot_id: @id)
440
- resp = Aws::Plugins::UserAgent.feature('resource') do
440
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
441
441
  @client.copy_snapshot(options)
442
442
  end
443
443
  resp.data
@@ -468,7 +468,7 @@ module Aws::EC2
468
468
  def create_tags(options = {})
469
469
  batch = []
470
470
  options = Aws::Util.deep_merge(options, resources: [@id])
471
- resp = Aws::Plugins::UserAgent.feature('resource') do
471
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
472
472
  @client.create_tags(options)
473
473
  end
474
474
  options[:tags].each do |t|
@@ -515,7 +515,7 @@ module Aws::EC2
515
515
  def delete_tags(options = {})
516
516
  batch = []
517
517
  options = Aws::Util.deep_merge(options, resources: [@id])
518
- resp = Aws::Plugins::UserAgent.feature('resource') do
518
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
519
519
  @client.delete_tags(options)
520
520
  end
521
521
  options[:tags].each do |t|
@@ -543,7 +543,7 @@ module Aws::EC2
543
543
  # @return [EmptyStructure]
544
544
  def delete(options = {})
545
545
  options = options.merge(snapshot_id: @id)
546
- resp = Aws::Plugins::UserAgent.feature('resource') do
546
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
547
547
  @client.delete_snapshot(options)
548
548
  end
549
549
  resp.data
@@ -566,7 +566,7 @@ module Aws::EC2
566
566
  # @return [Types::DescribeSnapshotAttributeResult]
567
567
  def describe_attribute(options = {})
568
568
  options = options.merge(snapshot_id: @id)
569
- resp = Aws::Plugins::UserAgent.feature('resource') do
569
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
570
570
  @client.describe_snapshot_attribute(options)
571
571
  end
572
572
  resp.data
@@ -615,7 +615,7 @@ module Aws::EC2
615
615
  # @return [EmptyStructure]
616
616
  def modify_attribute(options = {})
617
617
  options = options.merge(snapshot_id: @id)
618
- resp = Aws::Plugins::UserAgent.feature('resource') do
618
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
619
619
  @client.modify_snapshot_attribute(options)
620
620
  end
621
621
  resp.data
@@ -639,7 +639,7 @@ module Aws::EC2
639
639
  # @return [EmptyStructure]
640
640
  def reset_attribute(options = {})
641
641
  options = options.merge(snapshot_id: @id)
642
- resp = Aws::Plugins::UserAgent.feature('resource') do
642
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
643
643
  @client.reset_snapshot_attribute(options)
644
644
  end
645
645
  resp.data
@@ -191,7 +191,7 @@ module Aws::EC2
191
191
  #
192
192
  # @return [self]
193
193
  def load
194
- resp = Aws::Plugins::UserAgent.feature('resource') do
194
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
195
195
  @client.describe_subnets(subnet_ids: [@id])
196
196
  end
197
197
  @data = resp.subnets[0]
@@ -308,7 +308,7 @@ module Aws::EC2
308
308
  :retry
309
309
  end
310
310
  end
311
- Aws::Plugins::UserAgent.feature('resource') do
311
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
312
312
  Aws::Waiters::Waiter.new(options).wait({})
313
313
  end
314
314
  end
@@ -852,7 +852,7 @@ module Aws::EC2
852
852
  def create_instances(options = {})
853
853
  batch = []
854
854
  options = options.merge(subnet_id: @id)
855
- resp = Aws::Plugins::UserAgent.feature('resource') do
855
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
856
856
  @client.run_instances(options)
857
857
  end
858
858
  resp.data.instances.each do |i|
@@ -1028,7 +1028,7 @@ module Aws::EC2
1028
1028
  # @return [NetworkInterface]
1029
1029
  def create_network_interface(options = {})
1030
1030
  options = options.merge(subnet_id: @id)
1031
- resp = Aws::Plugins::UserAgent.feature('resource') do
1031
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
1032
1032
  @client.create_network_interface(options)
1033
1033
  end
1034
1034
  NetworkInterface.new(
@@ -1063,7 +1063,7 @@ module Aws::EC2
1063
1063
  def create_tags(options = {})
1064
1064
  batch = []
1065
1065
  options = Aws::Util.deep_merge(options, resources: [@id])
1066
- resp = Aws::Plugins::UserAgent.feature('resource') do
1066
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
1067
1067
  @client.create_tags(options)
1068
1068
  end
1069
1069
  options[:tags].each do |t|
@@ -1110,7 +1110,7 @@ module Aws::EC2
1110
1110
  def delete_tags(options = {})
1111
1111
  batch = []
1112
1112
  options = Aws::Util.deep_merge(options, resources: [@id])
1113
- resp = Aws::Plugins::UserAgent.feature('resource') do
1113
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
1114
1114
  @client.delete_tags(options)
1115
1115
  end
1116
1116
  options[:tags].each do |t|
@@ -1138,7 +1138,7 @@ module Aws::EC2
1138
1138
  # @return [EmptyStructure]
1139
1139
  def delete(options = {})
1140
1140
  options = options.merge(subnet_id: @id)
1141
- resp = Aws::Plugins::UserAgent.feature('resource') do
1141
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
1142
1142
  @client.delete_subnet(options)
1143
1143
  end
1144
1144
  resp.data
@@ -1600,7 +1600,7 @@ module Aws::EC2
1600
1600
  name: "subnet-id",
1601
1601
  values: [@id]
1602
1602
  }])
1603
- resp = Aws::Plugins::UserAgent.feature('resource') do
1603
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
1604
1604
  @client.describe_instances(options)
1605
1605
  end
1606
1606
  resp.each_page do |page|
@@ -1668,7 +1668,7 @@ module Aws::EC2
1668
1668
  name: "subnet-id",
1669
1669
  values: [@id]
1670
1670
  }])
1671
- resp = Aws::Plugins::UserAgent.feature('resource') do
1671
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
1672
1672
  @client.describe_nat_gateways(options)
1673
1673
  end
1674
1674
  resp.each_page do |page|
@@ -1830,7 +1830,7 @@ module Aws::EC2
1830
1830
  name: "subnet-id",
1831
1831
  values: [@id]
1832
1832
  }])
1833
- resp = Aws::Plugins::UserAgent.feature('resource') do
1833
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
1834
1834
  @client.describe_network_interfaces(options)
1835
1835
  end
1836
1836
  resp.each_page do |page|
@@ -70,7 +70,7 @@ module Aws::EC2
70
70
  #
71
71
  # @return [self]
72
72
  def load
73
- resp = Aws::Plugins::UserAgent.feature('resource') do
73
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
74
74
  @client.describe_tags(filters: [
75
75
  {
76
76
  name: "key",
@@ -196,7 +196,7 @@ module Aws::EC2
196
196
  :retry
197
197
  end
198
198
  end
199
- Aws::Plugins::UserAgent.feature('resource') do
199
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
200
200
  Aws::Waiters::Waiter.new(options).wait({})
201
201
  end
202
202
  end
@@ -241,7 +241,7 @@ module Aws::EC2
241
241
  value: @value
242
242
  }]
243
243
  )
244
- resp = Aws::Plugins::UserAgent.feature('resource') do
244
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
245
245
  @client.delete_tags(options)
246
246
  end
247
247
  resp.data
@@ -321,7 +321,7 @@ module Aws::EC2
321
321
  value: item.value
322
322
  }
323
323
  end
324
- Aws::Plugins::UserAgent.feature('resource') do
324
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
325
325
  batch[0].client.delete_tags(params)
326
326
  end
327
327
  end
@@ -162,7 +162,7 @@ module Aws::EC2
162
162
  #
163
163
  # @return [self]
164
164
  def load
165
- resp = Aws::Plugins::UserAgent.feature('resource') do
165
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
166
166
  @client.describe_volumes(volume_ids: [@id])
167
167
  end
168
168
  @data = resp.volumes[0]
@@ -279,7 +279,7 @@ module Aws::EC2
279
279
  :retry
280
280
  end
281
281
  end
282
- Aws::Plugins::UserAgent.feature('resource') do
282
+ Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
283
283
  Aws::Waiters::Waiter.new(options).wait({})
284
284
  end
285
285
  end
@@ -306,7 +306,7 @@ module Aws::EC2
306
306
  # @return [Types::VolumeAttachment]
307
307
  def attach_to_instance(options = {})
308
308
  options = options.merge(volume_id: @id)
309
- resp = Aws::Plugins::UserAgent.feature('resource') do
309
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
310
310
  @client.attach_volume(options)
311
311
  end
312
312
  resp.data
@@ -364,7 +364,7 @@ module Aws::EC2
364
364
  # @return [Snapshot]
365
365
  def create_snapshot(options = {})
366
366
  options = options.merge(volume_id: @id)
367
- resp = Aws::Plugins::UserAgent.feature('resource') do
367
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
368
368
  @client.create_snapshot(options)
369
369
  end
370
370
  Snapshot.new(
@@ -399,7 +399,7 @@ module Aws::EC2
399
399
  def create_tags(options = {})
400
400
  batch = []
401
401
  options = Aws::Util.deep_merge(options, resources: [@id])
402
- resp = Aws::Plugins::UserAgent.feature('resource') do
402
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
403
403
  @client.create_tags(options)
404
404
  end
405
405
  options[:tags].each do |t|
@@ -446,7 +446,7 @@ module Aws::EC2
446
446
  def delete_tags(options = {})
447
447
  batch = []
448
448
  options = Aws::Util.deep_merge(options, resources: [@id])
449
- resp = Aws::Plugins::UserAgent.feature('resource') do
449
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
450
450
  @client.delete_tags(options)
451
451
  end
452
452
  options[:tags].each do |t|
@@ -474,7 +474,7 @@ module Aws::EC2
474
474
  # @return [EmptyStructure]
475
475
  def delete(options = {})
476
476
  options = options.merge(volume_id: @id)
477
- resp = Aws::Plugins::UserAgent.feature('resource') do
477
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
478
478
  @client.delete_volume(options)
479
479
  end
480
480
  resp.data
@@ -497,7 +497,7 @@ module Aws::EC2
497
497
  # @return [Types::DescribeVolumeAttributeResult]
498
498
  def describe_attribute(options = {})
499
499
  options = options.merge(volume_id: @id)
500
- resp = Aws::Plugins::UserAgent.feature('resource') do
500
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
501
501
  @client.describe_volume_attribute(options)
502
502
  end
503
503
  resp.data
@@ -574,7 +574,7 @@ module Aws::EC2
574
574
  # @return [Types::DescribeVolumeStatusResult]
575
575
  def describe_status(options = {})
576
576
  options = Aws::Util.deep_merge(options, volume_ids: [@id])
577
- resp = Aws::Plugins::UserAgent.feature('resource') do
577
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
578
578
  @client.describe_volume_status(options)
579
579
  end
580
580
  resp.data
@@ -611,7 +611,7 @@ module Aws::EC2
611
611
  # @return [Types::VolumeAttachment]
612
612
  def detach_from_instance(options = {})
613
613
  options = options.merge(volume_id: @id)
614
- resp = Aws::Plugins::UserAgent.feature('resource') do
614
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
615
615
  @client.detach_volume(options)
616
616
  end
617
617
  resp.data
@@ -631,7 +631,7 @@ module Aws::EC2
631
631
  # @return [EmptyStructure]
632
632
  def enable_io(options = {})
633
633
  options = options.merge(volume_id: @id)
634
- resp = Aws::Plugins::UserAgent.feature('resource') do
634
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
635
635
  @client.enable_volume_io(options)
636
636
  end
637
637
  resp.data
@@ -657,7 +657,7 @@ module Aws::EC2
657
657
  # @return [EmptyStructure]
658
658
  def modify_attribute(options = {})
659
659
  options = options.merge(volume_id: @id)
660
- resp = Aws::Plugins::UserAgent.feature('resource') do
660
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
661
661
  @client.modify_volume_attribute(options)
662
662
  end
663
663
  resp.data
@@ -746,7 +746,7 @@ module Aws::EC2
746
746
  name: "volume-id",
747
747
  values: [@id]
748
748
  }])
749
- resp = Aws::Plugins::UserAgent.feature('resource') do
749
+ resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
750
750
  @client.describe_snapshots(options)
751
751
  end
752
752
  resp.each_page do |page|