aws-sdk-ec2 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-ec2.rb +1 -1
- data/lib/aws-sdk-ec2/client.rb +1 -1
- data/lib/aws-sdk-ec2/instance.rb +7 -21
- data/lib/aws-sdk-ec2/tag.rb +1 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 388195b30ceb0cbeb2456c1de89b15baf7e6b085
|
4
|
+
data.tar.gz: 30118558eaafa522c29200fd3d6adfed70314e31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f5ca3912b0aafb24c37e62fc38c0da2a2ed60ebe960b73576a42db09a1970093460e7546adbad03942362bc9fe681918bfdf5e42697037f25679ed1a926e546
|
7
|
+
data.tar.gz: 619d54435328fb9fd455a25b2d23ab7611ede6d6a7c75d9c3fd574876a370ae88689c2b397541e9dc16a45fe8458501163efa55b1cfe7088522c0aa2298bc5a0
|
data/lib/aws-sdk-ec2.rb
CHANGED
data/lib/aws-sdk-ec2/client.rb
CHANGED
@@ -21156,7 +21156,7 @@ module Aws::EC2
|
|
21156
21156
|
params: params,
|
21157
21157
|
config: config)
|
21158
21158
|
context[:gem_name] = 'aws-sdk-ec2'
|
21159
|
-
context[:gem_version] = '1.
|
21159
|
+
context[:gem_version] = '1.3.0'
|
21160
21160
|
Seahorse::Client::Request.new(handlers, context)
|
21161
21161
|
end
|
21162
21162
|
|
data/lib/aws-sdk-ec2/instance.rb
CHANGED
@@ -1399,9 +1399,7 @@ module Aws::EC2
|
|
1399
1399
|
params = Aws::Util.copy_hash(options)
|
1400
1400
|
params[:resources] ||= []
|
1401
1401
|
batch.each do |item|
|
1402
|
-
params[:resources] <<
|
1403
|
-
id: item.id
|
1404
|
-
}
|
1402
|
+
params[:resources] << item.id
|
1405
1403
|
end
|
1406
1404
|
batch[0].client.create_tags(params)
|
1407
1405
|
end
|
@@ -1425,9 +1423,7 @@ module Aws::EC2
|
|
1425
1423
|
params = Aws::Util.copy_hash(options)
|
1426
1424
|
params[:instance_ids] ||= []
|
1427
1425
|
batch.each do |item|
|
1428
|
-
params[:instance_ids] <<
|
1429
|
-
id: item.id
|
1430
|
-
}
|
1426
|
+
params[:instance_ids] << item.id
|
1431
1427
|
end
|
1432
1428
|
batch[0].client.monitor_instances(params)
|
1433
1429
|
end
|
@@ -1451,9 +1447,7 @@ module Aws::EC2
|
|
1451
1447
|
params = Aws::Util.copy_hash(options)
|
1452
1448
|
params[:instance_ids] ||= []
|
1453
1449
|
batch.each do |item|
|
1454
|
-
params[:instance_ids] <<
|
1455
|
-
id: item.id
|
1456
|
-
}
|
1450
|
+
params[:instance_ids] << item.id
|
1457
1451
|
end
|
1458
1452
|
batch[0].client.reboot_instances(params)
|
1459
1453
|
end
|
@@ -1480,9 +1474,7 @@ module Aws::EC2
|
|
1480
1474
|
params = Aws::Util.copy_hash(options)
|
1481
1475
|
params[:instance_ids] ||= []
|
1482
1476
|
batch.each do |item|
|
1483
|
-
params[:instance_ids] <<
|
1484
|
-
id: item.id
|
1485
|
-
}
|
1477
|
+
params[:instance_ids] << item.id
|
1486
1478
|
end
|
1487
1479
|
batch[0].client.start_instances(params)
|
1488
1480
|
end
|
@@ -1514,9 +1506,7 @@ module Aws::EC2
|
|
1514
1506
|
params = Aws::Util.copy_hash(options)
|
1515
1507
|
params[:instance_ids] ||= []
|
1516
1508
|
batch.each do |item|
|
1517
|
-
params[:instance_ids] <<
|
1518
|
-
id: item.id
|
1519
|
-
}
|
1509
|
+
params[:instance_ids] << item.id
|
1520
1510
|
end
|
1521
1511
|
batch[0].client.stop_instances(params)
|
1522
1512
|
end
|
@@ -1540,9 +1530,7 @@ module Aws::EC2
|
|
1540
1530
|
params = Aws::Util.copy_hash(options)
|
1541
1531
|
params[:instance_ids] ||= []
|
1542
1532
|
batch.each do |item|
|
1543
|
-
params[:instance_ids] <<
|
1544
|
-
id: item.id
|
1545
|
-
}
|
1533
|
+
params[:instance_ids] << item.id
|
1546
1534
|
end
|
1547
1535
|
batch[0].client.terminate_instances(params)
|
1548
1536
|
end
|
@@ -1566,9 +1554,7 @@ module Aws::EC2
|
|
1566
1554
|
params = Aws::Util.copy_hash(options)
|
1567
1555
|
params[:instance_ids] ||= []
|
1568
1556
|
batch.each do |item|
|
1569
|
-
params[:instance_ids] <<
|
1570
|
-
id: item.id
|
1571
|
-
}
|
1557
|
+
params[:instance_ids] << item.id
|
1572
1558
|
end
|
1573
1559
|
batch[0].client.unmonitor_instances(params)
|
1574
1560
|
end
|
data/lib/aws-sdk-ec2/tag.rb
CHANGED
@@ -203,9 +203,7 @@ module Aws::EC2
|
|
203
203
|
params[:resources] ||= []
|
204
204
|
params[:tags] ||= []
|
205
205
|
batch.each do |item|
|
206
|
-
params[:resources] <<
|
207
|
-
resource_id: item.resource_id
|
208
|
-
}
|
206
|
+
params[:resources] << item.resource_id
|
209
207
|
params[:tags] << {
|
210
208
|
key: item.key,
|
211
209
|
value: item.value
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-09-
|
11
|
+
date: 2017-09-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sigv4
|