aws-sdk-ec2 1.459.0 → 1.461.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/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ec2/classic_address.rb +5 -5
- data/lib/aws-sdk-ec2/client.rb +575 -483
- data/lib/aws-sdk-ec2/client_api.rb +31 -0
- data/lib/aws-sdk-ec2/customizations/instance.rb +1 -1
- data/lib/aws-sdk-ec2/customizations/resource.rb +1 -1
- data/lib/aws-sdk-ec2/dhcp_options.rb +6 -6
- data/lib/aws-sdk-ec2/endpoints.rb +14 -0
- data/lib/aws-sdk-ec2/image.rb +9 -9
- data/lib/aws-sdk-ec2/instance.rb +41 -41
- data/lib/aws-sdk-ec2/internet_gateway.rb +7 -7
- data/lib/aws-sdk-ec2/key_pair.rb +2 -2
- data/lib/aws-sdk-ec2/key_pair_info.rb +3 -3
- data/lib/aws-sdk-ec2/nat_gateway.rb +7 -8
- data/lib/aws-sdk-ec2/network_acl.rb +10 -10
- data/lib/aws-sdk-ec2/network_interface.rb +13 -13
- data/lib/aws-sdk-ec2/network_interface_association.rb +3 -3
- data/lib/aws-sdk-ec2/placement_group.rb +8 -4
- data/lib/aws-sdk-ec2/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-ec2/resource.rb +97 -105
- data/lib/aws-sdk-ec2/route.rb +3 -3
- data/lib/aws-sdk-ec2/route_table.rb +7 -7
- data/lib/aws-sdk-ec2/route_table_association.rb +3 -3
- data/lib/aws-sdk-ec2/security_group.rb +11 -11
- data/lib/aws-sdk-ec2/snapshot.rb +24 -27
- data/lib/aws-sdk-ec2/subnet.rb +42 -41
- data/lib/aws-sdk-ec2/tag.rb +4 -4
- data/lib/aws-sdk-ec2/types.rb +421 -395
- data/lib/aws-sdk-ec2/volume.rb +17 -21
- data/lib/aws-sdk-ec2/vpc.rb +43 -43
- data/lib/aws-sdk-ec2/vpc_address.rb +4 -4
- data/lib/aws-sdk-ec2/vpc_peering_connection.rb +6 -6
- data/lib/aws-sdk-ec2.rb +1 -1
- data/sig/client.rbs +121 -89
- data/sig/instance.rbs +1 -1
- data/sig/resource.rbs +17 -17
- data/sig/security_group.rbs +2 -2
- data/sig/snapshot.rbs +1 -1
- data/sig/subnet.rbs +2 -2
- data/sig/tag.rbs +1 -1
- data/sig/types.rbs +23 -5
- data/sig/volume.rbs +1 -1
- data/sig/vpc.rbs +5 -5
- 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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
341
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
342
342
|
@client.detach_internet_gateway(options)
|
343
343
|
end
|
344
344
|
resp.data
|
data/lib/aws-sdk-ec2/key_pair.rb
CHANGED
@@ -188,7 +188,7 @@ module Aws::EC2
|
|
188
188
|
:retry
|
189
189
|
end
|
190
190
|
end
|
191
|
-
Aws::Plugins::UserAgent.
|
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.
|
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.
|
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.
|
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.
|
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
|
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-
|
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.
|
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.
|
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.
|
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.
|
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.
|
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
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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
|