aws-sdk 1.6.4 → 1.6.5
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.
- data/lib/aws/auto_scaling/client.rb +2 -2
- data/lib/aws/cloud_formation/client.rb +2 -2
- data/lib/aws/cloud_watch/client.rb +2 -2
- data/lib/aws/core.rb +4 -1
- data/lib/aws/core/configuration.rb +3 -0
- data/lib/aws/core/options/xml_serializer.rb +7 -16
- data/lib/aws/dynamo_db/client.rb +2 -2
- data/lib/aws/ec2/client.rb +188 -5
- data/lib/aws/ec2/key_pair_collection.rb +1 -1
- data/lib/aws/ec2/security_group.rb +36 -31
- data/lib/aws/ec2/security_group/ip_permission.rb +7 -7
- data/lib/aws/elb/backend_server_policy_collection.rb +11 -12
- data/lib/aws/elb/client.rb +2 -2
- data/lib/aws/elb/instance_collection.rb +8 -9
- data/lib/aws/elb/listener.rb +16 -15
- data/lib/aws/elb/listener_collection.rb +20 -26
- data/lib/aws/elb/load_balancer.rb +97 -69
- data/lib/aws/elb/load_balancer_collection.rb +37 -24
- data/lib/aws/elb/load_balancer_policy.rb +1 -1
- data/lib/aws/elb/load_balancer_policy_collection.rb +9 -9
- data/lib/aws/emr/client.rb +2 -2
- data/lib/aws/iam/client.rb +2 -2
- data/lib/aws/route_53/client.rb +2 -2
- data/lib/aws/s3/bucket_lifecycle_configuration.rb +25 -24
- data/lib/aws/s3/s3_object.rb +6 -2
- data/lib/aws/simple_db/client.rb +2 -2
- data/lib/aws/simple_email_service/client.rb +2 -2
- data/lib/aws/simple_workflow/client.rb +2 -2
- data/lib/aws/sns/client.rb +2 -2
- data/lib/aws/sqs/client.rb +2 -2
- data/lib/aws/sts/client.rb +2 -2
- metadata +3 -5
- data/lib/aws/api_config/.document +0 -0
- data/lib/aws/core/json_error_parser.rb +0 -25
@@ -17,8 +17,6 @@ module AWS
|
|
17
17
|
# Client class for Auto Scaling.
|
18
18
|
class Client < Core::QueryClient
|
19
19
|
|
20
|
-
define_client_methods('2011-01-01')
|
21
|
-
|
22
20
|
# @private
|
23
21
|
CACHEABLE_REQUESTS = Set[
|
24
22
|
:describe_adjustment_types,
|
@@ -503,6 +501,8 @@ module AWS
|
|
503
501
|
|
504
502
|
## end client methods ##
|
505
503
|
|
504
|
+
define_client_methods('2011-01-01')
|
505
|
+
|
506
506
|
end
|
507
507
|
end
|
508
508
|
end
|
@@ -17,8 +17,6 @@ module AWS
|
|
17
17
|
# Client class for AWS CloudFormation.
|
18
18
|
class Client < Core::QueryClient
|
19
19
|
|
20
|
-
define_client_methods('2010-05-15')
|
21
|
-
|
22
20
|
# @private
|
23
21
|
CACHEABLE_REQUESTS = Set[
|
24
22
|
:describe_adjustment_types,
|
@@ -250,6 +248,8 @@ module AWS
|
|
250
248
|
|
251
249
|
## end client methods ##
|
252
250
|
|
251
|
+
define_client_methods('2010-05-15')
|
252
|
+
|
253
253
|
end
|
254
254
|
end
|
255
255
|
end
|
@@ -17,8 +17,6 @@ module AWS
|
|
17
17
|
# Client class for Cloud Watch
|
18
18
|
class Client < Core::QueryClient
|
19
19
|
|
20
|
-
define_client_methods('2010-08-01')
|
21
|
-
|
22
20
|
# @private
|
23
21
|
CACHEABLE_REQUESTS = Set[
|
24
22
|
:describe_alarm_history,
|
@@ -242,6 +240,8 @@ module AWS
|
|
242
240
|
|
243
241
|
## end client methods ##
|
244
242
|
|
243
|
+
define_client_methods('2010-08-01')
|
244
|
+
|
245
245
|
end
|
246
246
|
end
|
247
247
|
end
|
data/lib/aws/core.rb
CHANGED
@@ -69,7 +69,7 @@ require 'aws/core/autoloader'
|
|
69
69
|
module AWS
|
70
70
|
|
71
71
|
# Current version of the AWS SDK for Ruby
|
72
|
-
VERSION = "1.6.
|
72
|
+
VERSION = "1.6.5"
|
73
73
|
|
74
74
|
register_autoloads(self) do
|
75
75
|
autoload :Errors, 'errors'
|
@@ -223,6 +223,9 @@ module AWS
|
|
223
223
|
# @option options [String] :cloud_formation_endpoint ('cloudformation.us-east-1.amazonaws.com')
|
224
224
|
# The service endpoint for AWS CloudFormation.
|
225
225
|
#
|
226
|
+
# @option options [String] :cloud_watch_endpoint ('monitoring.us-east-1.amazonaws.com')
|
227
|
+
# The service endpoint for Amazon CloudWatch.
|
228
|
+
#
|
226
229
|
# @option options [Boolean] :dynamo_db_big_decimals (true) When +true+,
|
227
230
|
# {DynamoDB} will convert number values returned by {DynamoDB::Client}
|
228
231
|
# from strings to BigDecimal objects. If you set this to +false+,
|
@@ -69,6 +69,9 @@ module AWS
|
|
69
69
|
# @attr_reader [String] cloud_formation_endpoint ('cloudformation.us-east-1.amazonaws.com')
|
70
70
|
# The service endpoint for AWS CloudFormation.
|
71
71
|
#
|
72
|
+
# @attr_reader [String] cloud_watch_endpoint ('monitoring.us-east-1.amazonaws.com')
|
73
|
+
# The service endpoint for Amazon CloudWatch.
|
74
|
+
#
|
72
75
|
# @attr_reader [Boolean] dynamo_db_big_decimals (true) When +true+,
|
73
76
|
# {DynamoDB} will convert number values returned by {DynamoDB::Client}
|
74
77
|
# from strings to BigDecimal objects. If you set this to +false+,
|
@@ -50,24 +50,15 @@ module AWS
|
|
50
50
|
# @return [String] Returns an string of the request parameters
|
51
51
|
# serialized into XML.
|
52
52
|
def serialize request_options
|
53
|
-
xml =
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
hash_members_xml(request_options, rules, builder)
|
58
|
-
|
53
|
+
xml = Nokogiri::XML::Builder.new
|
54
|
+
xml.send("#{operation_name}Request", :xmlns => namespace) do |xml|
|
55
|
+
hash_members_xml(request_options, rules, xml)
|
59
56
|
end
|
60
|
-
xml.
|
57
|
+
xml.doc.root.to_xml
|
61
58
|
end
|
62
59
|
|
63
60
|
protected
|
64
61
|
|
65
|
-
# @param [Builder::XmlMarkup] builder An XML builder object that should
|
66
|
-
# be used to build the xml.
|
67
|
-
# @param [String,Symbol] opt_name The name of the input option.
|
68
|
-
# @param [Hash] rules The hash to XML conversion rules.
|
69
|
-
# @param [Mixed] value
|
70
|
-
# @return [String] Returns an XML string.
|
71
62
|
def to_xml builder, opt_name, rules, value
|
72
63
|
|
73
64
|
xml_name = rules[:name]
|
@@ -77,17 +68,17 @@ module AWS
|
|
77
68
|
case value
|
78
69
|
when Hash
|
79
70
|
|
80
|
-
builder.
|
71
|
+
builder.send(xml_name) do |builder|
|
81
72
|
hash_members_xml(value, rules[:members], builder)
|
82
73
|
end
|
83
74
|
|
84
75
|
when Array
|
85
|
-
builder.
|
76
|
+
builder.send(xml_name) do
|
86
77
|
value.each do |member_value|
|
87
78
|
to_xml(builder, 'member', rules[:members], member_value)
|
88
79
|
end
|
89
80
|
end
|
90
|
-
else builder.
|
81
|
+
else builder.send(xml_name, value)
|
91
82
|
end
|
92
83
|
|
93
84
|
end
|
data/lib/aws/dynamo_db/client.rb
CHANGED
@@ -17,8 +17,6 @@ module AWS
|
|
17
17
|
# Client class for Amazon DynamoDB.
|
18
18
|
class Client < Core::JSONClient
|
19
19
|
|
20
|
-
define_client_methods('2011-12-05')
|
21
|
-
|
22
20
|
# @private
|
23
21
|
REGION_US_E1 = 'dynamodb.us-east-1.amazonaws.com'
|
24
22
|
|
@@ -873,6 +871,8 @@ module AWS
|
|
873
871
|
|
874
872
|
end
|
875
873
|
|
874
|
+
define_client_methods('2011-12-05')
|
875
|
+
|
876
876
|
end
|
877
877
|
end
|
878
878
|
end
|
data/lib/aws/ec2/client.rb
CHANGED
@@ -17,8 +17,6 @@ module AWS
|
|
17
17
|
# Client class for Amazon Elastic Compute Cloud (EC2).
|
18
18
|
class Client < Core::QueryClient
|
19
19
|
|
20
|
-
define_client_methods('2012-07-20')
|
21
|
-
|
22
20
|
# @private
|
23
21
|
CACHEABLE_REQUESTS = Set[
|
24
22
|
:describe_addresses,
|
@@ -81,6 +79,15 @@ module AWS
|
|
81
79
|
# * +:domain+ - (String)
|
82
80
|
# * +:allocation_id+ - (String)
|
83
81
|
|
82
|
+
# Calls the AssignPrivateIpAddresses API operation.
|
83
|
+
# @method assign_private_ip_addresses(options = {})
|
84
|
+
# @param [Hash] options
|
85
|
+
# * +:network_interface_id+ - *required* - (String)
|
86
|
+
# * +:private_ip_addresses+ - (Array<String>)
|
87
|
+
# * +:secondary_private_ip_address_count+ - (Integer)
|
88
|
+
# * +:allow_reassignment+ - (Boolean)
|
89
|
+
# @return [Core::Response]
|
90
|
+
|
84
91
|
# Calls the AssociateAddress API operation.
|
85
92
|
# @method associate_address(options = {})
|
86
93
|
# @param [Hash] options
|
@@ -91,6 +98,8 @@ module AWS
|
|
91
98
|
# * +:allocation_id+ - (String) The allocation ID that AWS returned
|
92
99
|
# when you allocated the elastic IP address for use with Amazon VPC.
|
93
100
|
# * +:network_interface_id+ - (String)
|
101
|
+
# * +:private_ip_address+ - (String)
|
102
|
+
# * +:allow_reassociation+ - (Boolean)
|
94
103
|
# @return [Core::Response]
|
95
104
|
# The #data method of the response object returns
|
96
105
|
# a hash with the following structure:
|
@@ -325,6 +334,12 @@ module AWS
|
|
325
334
|
# * +:reason_message+ - (String)
|
326
335
|
# @return [Core::Response]
|
327
336
|
|
337
|
+
# Calls the CancelExportTask API operation.
|
338
|
+
# @method cancel_export_task(options = {})
|
339
|
+
# @param [Hash] options
|
340
|
+
# * +:export_task_id+ - *required* - (String)
|
341
|
+
# @return [Core::Response]
|
342
|
+
|
328
343
|
# Calls the CancelSpotInstanceRequests API operation.
|
329
344
|
# @method cancel_spot_instance_requests(options = {})
|
330
345
|
# @param [Hash] options
|
@@ -407,11 +422,55 @@ module AWS
|
|
407
422
|
# to +true+ , Amazon EC2 will not shut down the instance before
|
408
423
|
# creating the image. When this option is used, file system integrity
|
409
424
|
# on the created image cannot be guaranteed.
|
425
|
+
# * +:block_device_mappings+ - (Array<Hash>)
|
426
|
+
# * +:virtual_name+ - (String) Specifies the virtual device name.
|
427
|
+
# * +:device_name+ - (String) Specifies the device name (e.g.,
|
428
|
+
# /dev/sdh).
|
429
|
+
# * +:ebs+ - (Hash) Specifies parameters used to automatically setup
|
430
|
+
# Amazon EBS volumes when the instance is launched.
|
431
|
+
# * +:snapshot_id+ - (String) The ID of the snapshot from which the
|
432
|
+
# volume will be created.
|
433
|
+
# * +:volume_size+ - (Integer) The size of the volume, in
|
434
|
+
# gigabytes.
|
435
|
+
# * +:delete_on_termination+ - (Boolean) Specifies whether the
|
436
|
+
# Amazon EBS volume is deleted on instance termination.
|
437
|
+
# * +:volume_type+ - (String)
|
438
|
+
# * +:iops+ - (Integer)
|
439
|
+
# * +:no_device+ - (String) Specifies the device name to suppress
|
440
|
+
# during instance launch.
|
410
441
|
# @return [Core::Response]
|
411
442
|
# The #data method of the response object returns
|
412
443
|
# a hash with the following structure:
|
413
444
|
# * +:image_id+ - (String)
|
414
445
|
|
446
|
+
# Calls the CreateInstanceExportTask API operation.
|
447
|
+
# @method create_instance_export_task(options = {})
|
448
|
+
# @param [Hash] options
|
449
|
+
# * +:description+ - (String)
|
450
|
+
# * +:instance_id+ - *required* - (String)
|
451
|
+
# * +:target_environment+ - (String)
|
452
|
+
# * +:export_to_s3_task+ - (Hash)
|
453
|
+
# * +:disk_image_format+ - (String)
|
454
|
+
# * +:container_format+ - (String)
|
455
|
+
# * +:s3_bucket+ - (String)
|
456
|
+
# * +:s3_prefix+ - (String)
|
457
|
+
# @return [Core::Response]
|
458
|
+
# The #data method of the response object returns
|
459
|
+
# a hash with the following structure:
|
460
|
+
# * +:export_task+ - (Hash)
|
461
|
+
# * +:export_task_id+ - (String)
|
462
|
+
# * +:description+ - (String)
|
463
|
+
# * +:state+ - (String)
|
464
|
+
# * +:status_message+ - (String)
|
465
|
+
# * +:instance_export+ - (Hash)
|
466
|
+
# * +:instance_id+ - (String)
|
467
|
+
# * +:target_environment+ - (String)
|
468
|
+
# * +:export_to_s3+ - (Hash)
|
469
|
+
# * +:disk_image_format+ - (String)
|
470
|
+
# * +:container_format+ - (String)
|
471
|
+
# * +:s3_bucket+ - (String)
|
472
|
+
# * +:s3_key+ - (String)
|
473
|
+
|
415
474
|
# Calls the CreateInternetGateway API operation.
|
416
475
|
# @method create_internet_gateway(options = {})
|
417
476
|
# @param [Hash] options
|
@@ -510,6 +569,10 @@ module AWS
|
|
510
569
|
# * +:description+ - (String)
|
511
570
|
# * +:private_ip_address+ - (String)
|
512
571
|
# * +:groups+ - (Array<String>)
|
572
|
+
# * +:private_ip_addresses+ - (Array<Hash>)
|
573
|
+
# * +:private_ip_address+ - *required* - (String)
|
574
|
+
# * +:primary+ - (Boolean)
|
575
|
+
# * +:secondary_private_ip_address_count+ - (Integer)
|
513
576
|
# @return [Core::Response]
|
514
577
|
# The #data method of the response object returns
|
515
578
|
# a hash with the following structure:
|
@@ -546,6 +609,14 @@ module AWS
|
|
546
609
|
# * +:tag_set+ - (Array<Hash>)
|
547
610
|
# * +:key+ - (String)
|
548
611
|
# * +:value+ - (String)
|
612
|
+
# * +:private_ip_addresses_set+ - (Array<Hash>)
|
613
|
+
# * +:private_ip_address+ - (String)
|
614
|
+
# * +:primary+ - (Boolean)
|
615
|
+
# * +:association+ - (Hash)
|
616
|
+
# * +:public_ip+ - (String)
|
617
|
+
# * +:ip_owner_id+ - (String)
|
618
|
+
# * +:allocation_id+ - (String)
|
619
|
+
# * +:association_id+ - (String)
|
549
620
|
|
550
621
|
# Calls the CreatePlacementGroup API operation.
|
551
622
|
# @method create_placement_group(options = {})
|
@@ -697,7 +768,7 @@ module AWS
|
|
697
768
|
# * +:availability_zone+ - *required* - (String) The Availability Zone
|
698
769
|
# in which to create the new volume.
|
699
770
|
# * +:volume_type+ - (String)
|
700
|
-
# * +:iops+ - (
|
771
|
+
# * +:iops+ - (Integer)
|
701
772
|
# @return [Core::Response]
|
702
773
|
# The #data method of the response object returns
|
703
774
|
# a hash with the following structure:
|
@@ -718,7 +789,7 @@ module AWS
|
|
718
789
|
# * +:key+ - (String)
|
719
790
|
# * +:value+ - (String)
|
720
791
|
# * +:volume_type+ - (String)
|
721
|
-
# * +:iops+ - (
|
792
|
+
# * +:iops+ - (Integer)
|
722
793
|
|
723
794
|
# Calls the CreateVpc API operation.
|
724
795
|
# @method create_vpc(options = {})
|
@@ -975,6 +1046,7 @@ module AWS
|
|
975
1046
|
# * +:domain+ - (String)
|
976
1047
|
# * +:network_interface_id+ - (String)
|
977
1048
|
# * +:network_interface_owner_id+ - (String)
|
1049
|
+
# * +:private_ip_address+ - (String)
|
978
1050
|
|
979
1051
|
# Calls the DescribeAvailabilityZones API operation.
|
980
1052
|
# @method describe_availability_zones(options = {})
|
@@ -1129,6 +1201,27 @@ module AWS
|
|
1129
1201
|
# * +:key+ - (String)
|
1130
1202
|
# * +:value+ - (String)
|
1131
1203
|
|
1204
|
+
# Calls the DescribeExportTasks API operation.
|
1205
|
+
# @method describe_export_tasks(options = {})
|
1206
|
+
# @param [Hash] options
|
1207
|
+
# * +:export_task_ids+ - (Array<String>)
|
1208
|
+
# @return [Core::Response]
|
1209
|
+
# The #data method of the response object returns
|
1210
|
+
# a hash with the following structure:
|
1211
|
+
# * +:export_task_set+ - (Array<Hash>)
|
1212
|
+
# * +:export_task_id+ - (String)
|
1213
|
+
# * +:description+ - (String)
|
1214
|
+
# * +:state+ - (String)
|
1215
|
+
# * +:status_message+ - (String)
|
1216
|
+
# * +:instance_export+ - (Hash)
|
1217
|
+
# * +:instance_id+ - (String)
|
1218
|
+
# * +:target_environment+ - (String)
|
1219
|
+
# * +:export_to_s3+ - (Hash)
|
1220
|
+
# * +:disk_image_format+ - (String)
|
1221
|
+
# * +:container_format+ - (String)
|
1222
|
+
# * +:s3_bucket+ - (String)
|
1223
|
+
# * +:s3_key+ - (String)
|
1224
|
+
|
1132
1225
|
# Calls the DescribeImageAttribute API operation.
|
1133
1226
|
# @method describe_image_attribute(options = {})
|
1134
1227
|
# @param [Hash] options
|
@@ -1160,6 +1253,8 @@ module AWS
|
|
1160
1253
|
# * +:snapshot_id+ - (String)
|
1161
1254
|
# * +:volume_size+ - (Integer)
|
1162
1255
|
# * +:delete_on_termination+ - (Boolean)
|
1256
|
+
# * +:volume_type+ - (String)
|
1257
|
+
# * +:iops+ - (Integer)
|
1163
1258
|
# * +:no_device+ - (String)
|
1164
1259
|
|
1165
1260
|
# Calls the DescribeImages API operation.
|
@@ -1214,6 +1309,8 @@ module AWS
|
|
1214
1309
|
# * +:snapshot_id+ - (String)
|
1215
1310
|
# * +:volume_size+ - (Integer)
|
1216
1311
|
# * +:delete_on_termination+ - (Boolean)
|
1312
|
+
# * +:volume_type+ - (String)
|
1313
|
+
# * +:iops+ - (Integer)
|
1217
1314
|
# * +:no_device+ - (String)
|
1218
1315
|
# * +:virtualization_type+ - (String)
|
1219
1316
|
# * +:tag_set+ - (Array<Hash>)
|
@@ -1255,6 +1352,11 @@ module AWS
|
|
1255
1352
|
# * +:status+ - (String)
|
1256
1353
|
# * +:attach_time+ - (Time)
|
1257
1354
|
# * +:delete_on_termination+ - (Boolean)
|
1355
|
+
# * +:product_codes+ - (Array<Hash>)
|
1356
|
+
# * +:product_code+ - (String)
|
1357
|
+
# * +:type+ - (String)
|
1358
|
+
# * +:ebs_optimized+ - (Hash)
|
1359
|
+
# * +:value+ - (Boolean)
|
1258
1360
|
|
1259
1361
|
# Calls the DescribeInstanceStatus API operation.
|
1260
1362
|
# @method describe_instance_status(options = {})
|
@@ -1270,6 +1372,7 @@ module AWS
|
|
1270
1372
|
# of results to return.
|
1271
1373
|
# * +:max_results+ - (Integer) The maximum number of paginated instance
|
1272
1374
|
# items per response.
|
1375
|
+
# * +:include_all_instances+ - (Boolean)
|
1273
1376
|
# @return [Core::Response]
|
1274
1377
|
# The #data method of the response object returns
|
1275
1378
|
# a hash with the following structure:
|
@@ -1289,11 +1392,13 @@ module AWS
|
|
1289
1392
|
# * +:details+ - (Array<Hash>)
|
1290
1393
|
# * +:name+ - (String)
|
1291
1394
|
# * +:status+ - (String)
|
1395
|
+
# * +:impaired_since+ - (Time)
|
1292
1396
|
# * +:instance_status+ - (Hash)
|
1293
1397
|
# * +:status+ - (String)
|
1294
1398
|
# * +:details+ - (Array<Hash>)
|
1295
1399
|
# * +:name+ - (String)
|
1296
1400
|
# * +:status+ - (String)
|
1401
|
+
# * +:impaired_since+ - (Time)
|
1297
1402
|
# * +:next_token+ - (String)
|
1298
1403
|
|
1299
1404
|
# Calls the DescribeInstances API operation.
|
@@ -1395,6 +1500,10 @@ module AWS
|
|
1395
1500
|
# * +:association+ - (Hash)
|
1396
1501
|
# * +:public_ip+ - (String)
|
1397
1502
|
# * +:ip_owner_id+ - (String)
|
1503
|
+
# * +:iam_instance_profile+ - (Hash)
|
1504
|
+
# * +:arn+ - (String)
|
1505
|
+
# * +:id+ - (String)
|
1506
|
+
# * +:ebs_optimized+ - (Boolean)
|
1398
1507
|
|
1399
1508
|
# Calls the DescribeInternetGateways API operation.
|
1400
1509
|
# @method describe_internet_gateways(options = {})
|
@@ -1575,6 +1684,14 @@ module AWS
|
|
1575
1684
|
# * +:tag_set+ - (Array<Hash>)
|
1576
1685
|
# * +:key+ - (String)
|
1577
1686
|
# * +:value+ - (String)
|
1687
|
+
# * +:private_ip_addresses_set+ - (Array<Hash>)
|
1688
|
+
# * +:private_ip_address+ - (String)
|
1689
|
+
# * +:primary+ - (Boolean)
|
1690
|
+
# * +:association+ - (Hash)
|
1691
|
+
# * +:public_ip+ - (String)
|
1692
|
+
# * +:ip_owner_id+ - (String)
|
1693
|
+
# * +:allocation_id+ - (String)
|
1694
|
+
# * +:association_id+ - (String)
|
1578
1695
|
|
1579
1696
|
# Calls the DescribePlacementGroups API operation.
|
1580
1697
|
# @method describe_placement_groups(options = {})
|
@@ -1784,6 +1901,9 @@ module AWS
|
|
1784
1901
|
# * +:create_volume_permission+ - (Array<Hash>)
|
1785
1902
|
# * +:user_id+ - (String)
|
1786
1903
|
# * +:group+ - (String)
|
1904
|
+
# * +:product_codes+ - (Array<Hash>)
|
1905
|
+
# * +:product_code+ - (String)
|
1906
|
+
# * +:type+ - (String)
|
1787
1907
|
|
1788
1908
|
# Calls the DescribeSnapshots API operation.
|
1789
1909
|
# @method describe_snapshots(options = {})
|
@@ -1881,6 +2001,8 @@ module AWS
|
|
1881
2001
|
# * +:snapshot_id+ - (String)
|
1882
2002
|
# * +:volume_size+ - (Integer)
|
1883
2003
|
# * +:delete_on_termination+ - (Boolean)
|
2004
|
+
# * +:volume_type+ - (String)
|
2005
|
+
# * +:iops+ - (Integer)
|
1884
2006
|
# * +:no_device+ - (String)
|
1885
2007
|
# * +:monitoring_enabled+ - (Boolean)
|
1886
2008
|
# * +:subnet_id+ - (String)
|
@@ -1892,6 +2014,14 @@ module AWS
|
|
1892
2014
|
# * +:private_ip_address+ - (String)
|
1893
2015
|
# * +:security_group_id+ - (Array<String>)
|
1894
2016
|
# * +:delete_on_termination+ - (Boolean)
|
2017
|
+
# * +:private_ip_addresses_set+ - (Array<Hash>)
|
2018
|
+
# * +:private_ip_address+ - (String)
|
2019
|
+
# * +:primary+ - (Boolean)
|
2020
|
+
# * +:secondary_private_ip_address_count+ - (Integer)
|
2021
|
+
# * +:iam_instance_profile+ - (Hash)
|
2022
|
+
# * +:arn+ - (String)
|
2023
|
+
# * +:name+ - (String)
|
2024
|
+
# * +:ebs_optimized+ - (Boolean)
|
1895
2025
|
# * +:instance_id+ - (String)
|
1896
2026
|
# * +:create_time+ - (Time)
|
1897
2027
|
# * +:product_description+ - (String)
|
@@ -1985,6 +2115,9 @@ module AWS
|
|
1985
2115
|
# * +:volume_id+ - (String)
|
1986
2116
|
# * +:auto_enable_io+ - (Hash)
|
1987
2117
|
# * +:value+ - (Boolean)
|
2118
|
+
# * +:product_codes+ - (Array<Hash>)
|
2119
|
+
# * +:product_code+ - (String)
|
2120
|
+
# * +:type+ - (String)
|
1988
2121
|
|
1989
2122
|
# Calls the DescribeVolumeStatus API operation.
|
1990
2123
|
# @method describe_volume_status(options = {})
|
@@ -2052,7 +2185,7 @@ module AWS
|
|
2052
2185
|
# * +:key+ - (String)
|
2053
2186
|
# * +:value+ - (String)
|
2054
2187
|
# * +:volume_type+ - (String)
|
2055
|
-
# * +:iops+ - (
|
2188
|
+
# * +:iops+ - (Integer)
|
2056
2189
|
|
2057
2190
|
# Calls the DescribeVpcs API operation.
|
2058
2191
|
# @method describe_vpcs(options = {})
|
@@ -2272,6 +2405,8 @@ module AWS
|
|
2272
2405
|
# gigabytes.
|
2273
2406
|
# * +:delete_on_termination+ - (Boolean) Specifies whether the
|
2274
2407
|
# Amazon EBS volume is deleted on instance termination.
|
2408
|
+
# * +:volume_type+ - (String)
|
2409
|
+
# * +:iops+ - (Integer)
|
2275
2410
|
# * +:no_device+ - (String) Specifies the device name to suppress
|
2276
2411
|
# during instance launch.
|
2277
2412
|
# * +:monitoring+ - (Boolean)
|
@@ -2478,6 +2613,8 @@ module AWS
|
|
2478
2613
|
# * +:instance_initiated_shutdown_behavior+ - (Hash)
|
2479
2614
|
# * +:value+ - (String) String value
|
2480
2615
|
# * +:groups+ - (Array<String>)
|
2616
|
+
# * +:ebs_optimized+ - (Hash)
|
2617
|
+
# * +:value+ - (Boolean) Boolean value
|
2481
2618
|
# @return [Core::Response]
|
2482
2619
|
|
2483
2620
|
# Calls the ModifyNetworkInterfaceAttribute API operation.
|
@@ -2597,6 +2734,8 @@ module AWS
|
|
2597
2734
|
# gigabytes.
|
2598
2735
|
# * +:delete_on_termination+ - (Boolean) Specifies whether the
|
2599
2736
|
# Amazon EBS volume is deleted on instance termination.
|
2737
|
+
# * +:volume_type+ - (String)
|
2738
|
+
# * +:iops+ - (Integer)
|
2600
2739
|
# * +:no_device+ - (String) Specifies the device name to suppress
|
2601
2740
|
# during instance launch.
|
2602
2741
|
# @return [Core::Response]
|
@@ -2760,6 +2899,8 @@ module AWS
|
|
2760
2899
|
# gigabytes.
|
2761
2900
|
# * +:delete_on_termination+ - (Boolean) Specifies whether the
|
2762
2901
|
# Amazon EBS volume is deleted on instance termination.
|
2902
|
+
# * +:volume_type+ - (String)
|
2903
|
+
# * +:iops+ - (Integer)
|
2763
2904
|
# * +:no_device+ - (String) Specifies the device name to suppress
|
2764
2905
|
# during instance launch.
|
2765
2906
|
# * +:monitoring_enabled+ - (Boolean) Enables monitoring for the
|
@@ -2774,6 +2915,14 @@ module AWS
|
|
2774
2915
|
# * +:private_ip_address+ - (String)
|
2775
2916
|
# * +:groups+ - (Array<String>)
|
2776
2917
|
# * +:delete_on_termination+ - (Boolean)
|
2918
|
+
# * +:private_ip_addresses+ - (Array<Hash>)
|
2919
|
+
# * +:private_ip_address+ - *required* - (String)
|
2920
|
+
# * +:primary+ - (Boolean)
|
2921
|
+
# * +:secondary_private_ip_address_count+ - (Integer)
|
2922
|
+
# * +:iam_instance_profile+ - (Hash)
|
2923
|
+
# * +:arn+ - (String)
|
2924
|
+
# * +:name+ - (String)
|
2925
|
+
# * +:ebs_optimized+ - (Boolean)
|
2777
2926
|
# @return [Core::Response]
|
2778
2927
|
# The #data method of the response object returns
|
2779
2928
|
# a hash with the following structure:
|
@@ -2810,6 +2959,8 @@ module AWS
|
|
2810
2959
|
# * +:snapshot_id+ - (String)
|
2811
2960
|
# * +:volume_size+ - (Integer)
|
2812
2961
|
# * +:delete_on_termination+ - (Boolean)
|
2962
|
+
# * +:volume_type+ - (String)
|
2963
|
+
# * +:iops+ - (Integer)
|
2813
2964
|
# * +:no_device+ - (String)
|
2814
2965
|
# * +:monitoring_enabled+ - (Boolean)
|
2815
2966
|
# * +:subnet_id+ - (String)
|
@@ -2821,6 +2972,14 @@ module AWS
|
|
2821
2972
|
# * +:private_ip_address+ - (String)
|
2822
2973
|
# * +:security_group_id+ - (Array<String>)
|
2823
2974
|
# * +:delete_on_termination+ - (Boolean)
|
2975
|
+
# * +:private_ip_addresses_set+ - (Array<Hash>)
|
2976
|
+
# * +:private_ip_address+ - (String)
|
2977
|
+
# * +:primary+ - (Boolean)
|
2978
|
+
# * +:secondary_private_ip_address_count+ - (Integer)
|
2979
|
+
# * +:iam_instance_profile+ - (Hash)
|
2980
|
+
# * +:arn+ - (String)
|
2981
|
+
# * +:name+ - (String)
|
2982
|
+
# * +:ebs_optimized+ - (Boolean)
|
2824
2983
|
# * +:instance_id+ - (String)
|
2825
2984
|
# * +:create_time+ - (Time)
|
2826
2985
|
# * +:product_description+ - (String)
|
@@ -3000,6 +3159,8 @@ module AWS
|
|
3000
3159
|
# gigabytes.
|
3001
3160
|
# * +:delete_on_termination+ - (Boolean) Specifies whether the
|
3002
3161
|
# Amazon EBS volume is deleted on instance termination.
|
3162
|
+
# * +:volume_type+ - (String)
|
3163
|
+
# * +:iops+ - (Integer)
|
3003
3164
|
# * +:no_device+ - (String) Specifies the device name to suppress
|
3004
3165
|
# during instance launch.
|
3005
3166
|
# * +:monitoring+ - (Hash) Enables monitoring for the instance.
|
@@ -3034,6 +3195,14 @@ module AWS
|
|
3034
3195
|
# * +:private_ip_address+ - (String)
|
3035
3196
|
# * +:groups+ - (Array<String>)
|
3036
3197
|
# * +:delete_on_termination+ - (Boolean)
|
3198
|
+
# * +:private_ip_addresses+ - (Array<Hash>)
|
3199
|
+
# * +:private_ip_address+ - *required* - (String)
|
3200
|
+
# * +:primary+ - (Boolean)
|
3201
|
+
# * +:secondary_private_ip_address_count+ - (Integer)
|
3202
|
+
# * +:iam_instance_profile+ - (Hash)
|
3203
|
+
# * +:arn+ - (String)
|
3204
|
+
# * +:name+ - (String)
|
3205
|
+
# * +:ebs_optimized+ - (Boolean)
|
3037
3206
|
# @return [Core::Response]
|
3038
3207
|
# The #data method of the response object returns
|
3039
3208
|
# a hash with the following structure:
|
@@ -3121,12 +3290,17 @@ module AWS
|
|
3121
3290
|
# * +:association+ - (Hash)
|
3122
3291
|
# * +:public_ip+ - (String)
|
3123
3292
|
# * +:ip_owner_id+ - (String)
|
3293
|
+
# * +:iam_instance_profile+ - (Hash)
|
3294
|
+
# * +:arn+ - (String)
|
3295
|
+
# * +:id+ - (String)
|
3296
|
+
# * +:ebs_optimized+ - (Boolean)
|
3124
3297
|
|
3125
3298
|
# Calls the StartInstances API operation.
|
3126
3299
|
# @method start_instances(options = {})
|
3127
3300
|
# @param [Hash] options
|
3128
3301
|
# * +:instance_ids+ - *required* - (Array<String>) The list of Amazon
|
3129
3302
|
# EC2 instances to start.
|
3303
|
+
# * +:additional_info+ - (String)
|
3130
3304
|
# @return [Core::Response]
|
3131
3305
|
# The #data method of the response object returns
|
3132
3306
|
# a hash with the following structure:
|
@@ -3178,6 +3352,13 @@ module AWS
|
|
3178
3352
|
# * +:code+ - (Integer)
|
3179
3353
|
# * +:name+ - (String)
|
3180
3354
|
|
3355
|
+
# Calls the UnassignPrivateIpAddresses API operation.
|
3356
|
+
# @method unassign_private_ip_addresses(options = {})
|
3357
|
+
# @param [Hash] options
|
3358
|
+
# * +:network_interface_id+ - *required* - (String)
|
3359
|
+
# * +:private_ip_addresses+ - *required* - (Array<String>)
|
3360
|
+
# @return [Core::Response]
|
3361
|
+
|
3181
3362
|
# Calls the UnmonitorInstances API operation.
|
3182
3363
|
# @method unmonitor_instances(options = {})
|
3183
3364
|
# @param [Hash] options
|
@@ -3193,6 +3374,8 @@ module AWS
|
|
3193
3374
|
|
3194
3375
|
## end client methods ##
|
3195
3376
|
|
3377
|
+
define_client_methods('2012-07-20')
|
3378
|
+
|
3196
3379
|
end
|
3197
3380
|
end
|
3198
3381
|
end
|