aws-sdk 1.6.3 → 1.6.4

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.
Files changed (73) hide show
  1. data/lib/aws/api_config/AutoScaling-2011-01-01.yml +1 -0
  2. data/lib/aws/api_config/CloudFormation-2010-05-15.yml +1 -0
  3. data/lib/aws/api_config/CloudFront-2012-05-05.yml +2137 -0
  4. data/lib/aws/api_config/CloudWatch-2010-08-01.yml +9 -0
  5. data/lib/aws/api_config/DynamoDB-2011-12-05.yml +616 -0
  6. data/lib/aws/api_config/EC2-2012-07-20.yml +1 -0
  7. data/lib/aws/api_config/ELB-2012-06-01.yml +1 -0
  8. data/lib/aws/api_config/EMR-2009-03-31.yml +1 -0
  9. data/lib/aws/api_config/IAM-2010-05-08.yml +1 -0
  10. data/lib/aws/api_config/Route53-2012-02-29.yml +350 -349
  11. data/lib/aws/api_config/SNS-2010-03-31.yml +1 -0
  12. data/lib/aws/api_config/SQS-2011-10-01.yml +1 -0
  13. data/lib/aws/api_config/STS-2011-06-15.yml +1 -0
  14. data/lib/aws/api_config/SimpleDB-2009-04-15.yml +1 -0
  15. data/lib/aws/api_config/SimpleEmailService-2010-12-01.yml +62 -0
  16. data/lib/aws/api_config/SimpleWorkflow-2012-01-25.yml +1637 -0
  17. data/lib/aws/auto_scaling/client.rb +2 -37
  18. data/lib/aws/cloud_formation/client.rb +2 -17
  19. data/lib/aws/cloud_watch/client.rb +2 -15
  20. data/lib/aws/core.rb +24 -4
  21. data/lib/aws/core/client.rb +115 -46
  22. data/lib/aws/core/configuration.rb +6 -0
  23. data/lib/aws/core/credential_providers.rb +1 -0
  24. data/lib/aws/core/http/curb_handler.rb +3 -3
  25. data/lib/aws/core/http/httparty_handler.rb +15 -15
  26. data/lib/aws/core/json_client.rb +19 -77
  27. data/lib/aws/core/json_error_parser.rb +25 -0
  28. data/lib/aws/core/json_request_builder.rb +34 -0
  29. data/lib/aws/core/json_response_parser.rb +81 -0
  30. data/lib/aws/core/log_formatter.rb +25 -25
  31. data/lib/aws/core/option_grammar.rb +123 -115
  32. data/lib/aws/core/options/xml_serializer.rb +13 -9
  33. data/lib/aws/core/query_client.rb +13 -104
  34. data/lib/aws/core/query_error_parser.rb +24 -0
  35. data/lib/aws/core/query_request_builder.rb +47 -0
  36. data/lib/aws/core/query_response_parser.rb +35 -0
  37. data/lib/aws/core/rest_client.rb +13 -62
  38. data/lib/aws/core/rest_error_parser.rb +24 -0
  39. data/lib/aws/core/rest_request_builder.rb +124 -0
  40. data/lib/aws/core/rest_response_parser.rb +48 -0
  41. data/lib/aws/core/xml/parser.rb +2 -2
  42. data/lib/aws/core/xml/root_frame.rb +1 -1
  43. data/lib/aws/dynamo_db.rb +10 -9
  44. data/lib/aws/dynamo_db/binary.rb +35 -0
  45. data/lib/aws/dynamo_db/client.rb +103 -20
  46. data/lib/aws/dynamo_db/config.rb +2 -0
  47. data/lib/aws/dynamo_db/item.rb +3 -0
  48. data/lib/aws/dynamo_db/primary_key_element.rb +2 -1
  49. data/lib/aws/dynamo_db/table.rb +32 -36
  50. data/lib/aws/dynamo_db/table_collection.rb +13 -13
  51. data/lib/aws/dynamo_db/types.rb +34 -9
  52. data/lib/aws/ec2/client.rb +884 -344
  53. data/lib/aws/ec2/filtered_collection.rb +2 -3
  54. data/lib/aws/elb/client.rb +59 -45
  55. data/lib/aws/emr/client.rb +2 -11
  56. data/lib/aws/iam/client.rb +9 -80
  57. data/lib/aws/record/hash_model/attributes.rb +28 -13
  58. data/lib/aws/route_53/client.rb +6 -16
  59. data/lib/aws/s3/client.rb +2 -1
  60. data/lib/aws/s3/encryption_utils.rb +2 -7
  61. data/lib/aws/s3/s3_object.rb +5 -0
  62. data/lib/aws/simple_db/client.rb +2 -14
  63. data/lib/aws/simple_email_service/client.rb +35 -19
  64. data/lib/aws/simple_email_service/identity.rb +49 -10
  65. data/lib/aws/simple_email_service/identity_collection.rb +4 -4
  66. data/lib/aws/simple_workflow/client.rb +2 -38
  67. data/lib/aws/sns/client.rb +2 -19
  68. data/lib/aws/sqs/client.rb +2 -19
  69. data/lib/aws/sqs/errors.rb +5 -5
  70. data/lib/aws/sts/client.rb +2 -6
  71. metadata +14 -5
  72. data/lib/aws/core/rest_client/input_handler.rb +0 -145
  73. data/lib/aws/core/rest_client/output_handler.rb +0 -53
@@ -17,4 +17,6 @@ AWS::Core::Configuration.module_eval do
17
17
 
18
18
  add_option :dynamo_db_retry_throughput_errors, true, :boolean => true
19
19
 
20
+ add_option :dynamo_db_big_decimals, true, :boolean => true
21
+
20
22
  end
@@ -102,6 +102,9 @@ module AWS
102
102
 
103
103
  # @private
104
104
  def self.new_from(op, response_object, table, *args)
105
+
106
+ config = args.last.is_a?(Hash) ? args.last : AWS.config
107
+
105
108
  table.assert_schema!
106
109
  hash_value =
107
110
  value_from_response(response_object[table.hash_key.name])
@@ -21,7 +21,8 @@ module AWS
21
21
 
22
22
  ATTRIBUTE_TYPES = {
23
23
  "S" => :string,
24
- "N" => :number
24
+ "N" => :number,
25
+ "B" => :binary,
25
26
  }
26
27
 
27
28
  def initialize(hash)
@@ -18,13 +18,13 @@ module AWS
18
18
  #
19
19
  # == Working with Tables
20
20
  #
21
- # Dynamo DB allows you to organize data into tables. Tables have a
21
+ # Dynamo DB allows you to organize data into tables. Tables have a
22
22
  # unique name and a key schema. A key schema is comprised of a
23
- # hash key and an optional range key.
23
+ # hash key and an optional range key.
24
24
  #
25
- # Dynamo DB automatically partitions the data contained in a table
26
- # across multiple nodes so that the data throughput is not constrained
27
- # by the scale of a single box. You can reserve the required throughput
25
+ # Dynamo DB automatically partitions the data contained in a table
26
+ # across multiple nodes so that the data throughput is not constrained
27
+ # by the scale of a single box. You can reserve the required throughput
28
28
  # by specifying a number of reads and writes per second to support.
29
29
  #
30
30
  # == Creating a Table
@@ -40,9 +40,9 @@ module AWS
40
40
  #
41
41
  # dynamo_db.tables.create('comments', 10, 5,
42
42
  # :hash_key => { :blog_post_id => :number },
43
- # :range_key => { :comment_id => :number }
43
+ # :range_key => { :comment_id => :number }
44
44
  # )
45
- #
45
+ #
46
46
  # == Provisioning Throughput
47
47
  #
48
48
  # You must specify the desired read and write capacity when
@@ -56,12 +56,12 @@ module AWS
56
56
  #
57
57
  # table.provision_throughput :read_capacity_units => 100, :write_capacity_units => 100
58
58
  #
59
- # Please note that provisioned throughput can be decreased only once
59
+ # Please note that provisioned throughput can be decreased only once
60
60
  # within a 24 hour period.
61
61
  #
62
62
  # == Table Status
63
63
  #
64
- # When you create or update a table the changes can take some time to
64
+ # When you create or update a table the changes can take some time to
65
65
  # apply. You can query the status of your table at any time:
66
66
  #
67
67
  # # creating a table can be a *very* slow operation
@@ -71,7 +71,7 @@ module AWS
71
71
  #
72
72
  # @attr_reader [Time] created_at When the table was first creatd.
73
73
  #
74
- # @attr_reader [Symbol] status
74
+ # @attr_reader [Symbol] status
75
75
  #
76
76
  # @attr [Integer] read_capacity_units
77
77
  #
@@ -80,12 +80,12 @@ module AWS
80
80
  # @attr [Time] throughput_last_increased_at
81
81
  #
82
82
  # @attr [Time] throughput_last_decreased_at
83
- #
83
+ #
84
84
  # @attr [PrimaryKeyElement] hash_key Returns the hash key element
85
85
  # for this table.
86
86
  #
87
87
  # @attr [PrimaryKeyElement,nil] range_key Returns the range key
88
- # element for this table, or nil if the table does not have a range
88
+ # element for this table, or nil if the table does not have a range
89
89
  # key.
90
90
  #
91
91
  class Table < Resource
@@ -99,19 +99,15 @@ module AWS
99
99
  # @return [String] The name of this table.
100
100
  attr_reader :name
101
101
 
102
- attribute :creation_date_time, :timestamp => true, :static => true
102
+ attribute :creation_date_time, :static => true
103
103
 
104
104
  alias_method :created_at, :creation_date_time
105
105
 
106
106
  attribute :status, :from => 'TableStatus', :to_sym => true
107
107
 
108
- attribute :throughput_last_increased_at,
109
- :from => 'LastIncreaseDateTime',
110
- :timestamp => true
108
+ attribute :throughput_last_increased_at, :from => 'LastIncreaseDateTime'
111
109
 
112
- attribute :throughput_last_decreased_at,
113
- :from => 'LastDecreaseDateTime',
114
- :timestamp => true
110
+ attribute :throughput_last_decreased_at, :from => 'LastDecreaseDateTime'
115
111
 
116
112
  attribute :read_capacity_units
117
113
 
@@ -186,7 +182,7 @@ module AWS
186
182
  provision_throughput(:write_capacity_units => write_capacity_units)
187
183
  end
188
184
 
189
- # @return [Boolean] Returns true if the table has a hash key and no
185
+ # @return [Boolean] Returns true if the table has a hash key and no
190
186
  # range key.
191
187
  def simple_key?
192
188
  range_key.nil?
@@ -251,7 +247,7 @@ module AWS
251
247
  # @param description A description of the hash key element. If
252
248
  # this is a hash, it may contain a single mapping; the key is
253
249
  # the name of the hash key attribute and the value is the type
254
- # (+:string+ or +:number+). If it is an array, the first
250
+ # (+:string+, +:number+ or +:binary+). If it is an array, the first
255
251
  # element is the name and the second element is the type.
256
252
  #
257
253
  def hash_key= description
@@ -273,7 +269,7 @@ module AWS
273
269
  # @param description A description of the range key element. If
274
270
  # this is a hash, it may contain a single mapping; the key is
275
271
  # the name of the hash key attribute and the value is the type
276
- # (+:string+ or +:number+). If it is an array, the first
272
+ # (+:string+, +:number+ or +:binary+). If it is an array, the first
277
273
  # element is the name and the second element is the type.
278
274
  #
279
275
  def range_key= description
@@ -295,7 +291,7 @@ module AWS
295
291
  nil
296
292
  end
297
293
 
298
- # @return [ItemCollection] Returns an object representing all the
294
+ # @return [ItemCollection] Returns an object representing all the
299
295
  # items in the table.
300
296
  def items
301
297
  ItemCollection.new(self)
@@ -318,7 +314,7 @@ module AWS
318
314
  # multiple tables, see {DynamoDB#batch_get}.
319
315
  #
320
316
  # You can call this method in two forms:
321
- #
317
+ #
322
318
  # # block form
323
319
  # table.batch_get(:all, items) do |attributes|
324
320
  # # yeilds one hash of attribute names/values for each item
@@ -336,7 +332,7 @@ module AWS
336
332
  # == Attributes
337
333
  #
338
334
  # You can specify the list of attributes to request in 3 ways:
339
- #
335
+ #
340
336
  # * The symbol +:all+ (to recieve all attributes)
341
337
  # * A single attribute name (e.g. 'size')
342
338
  # * An array of attribute names (e.g. ['size', 'color'])
@@ -363,7 +359,7 @@ module AWS
363
359
  #
364
360
  # Here are a few examples:
365
361
  #
366
- # # items as a list of hash key values
362
+ # # items as a list of hash key values
367
363
  # items = %w(hashkey1 hashkey2 hashkey3)
368
364
  # table.batch_get(:all, items)
369
365
  #
@@ -376,11 +372,11 @@ module AWS
376
372
  # items << Item.new(table, 'hashkey1')
377
373
  # items << Item.new(table, 'hashkey2')
378
374
  # table.batch_get(:all, items)
379
- #
375
+ #
380
376
  # Please note that you must provide both hash and range keys for tables
381
377
  # that include a range key in the schema.
382
378
  #
383
- # @param [:all, String, Array<String>] attributes The list of
379
+ # @param [:all, String, Array<String>] attributes The list of
384
380
  # attributes you want to fetch for each item. +attributes+ may be:
385
381
  #
386
382
  # * the symbol +:all+
@@ -389,14 +385,14 @@ module AWS
389
385
  #
390
386
  # @param [Mixed] items A list of 2 or more items to fetch attributes
391
387
  # for. You may provide +items+ as:
392
- #
388
+ #
393
389
  # * an array of hash key value strings
394
390
  # * an array of hash and range key value pairs (nested arrays)
395
391
  # * an array of {Item} objects
396
392
  #
397
393
  # @yield [Hash] Yields a hash of attributes for each item.
398
394
  #
399
- # @return [Enumerable] Returns an enumerable object that yields
395
+ # @return [Enumerable] Returns an enumerable object that yields
400
396
  # hashes of attributes.
401
397
  #
402
398
  def batch_get attributes, items, &block
@@ -415,11 +411,11 @@ module AWS
415
411
  # ])
416
412
  #
417
413
  # @param [Array<Hash>] items A list of item attributes to put.
418
- # The hash must contain the table hash key element and range key
414
+ # The hash must contain the table hash key element and range key
419
415
  # element (if one is defined).
420
416
  #
421
417
  # @return (see BatchWrite#process!)
422
- #
418
+ #
423
419
  def batch_put items
424
420
  batch = BatchWrite.new(:config => config)
425
421
  batch.put(self, items)
@@ -443,7 +439,7 @@ module AWS
443
439
  # @option options (BatchWrite#write)
444
440
  #
445
441
  # @return (see BatchWrite#process!)
446
- #
442
+ #
447
443
  def batch_write options = {}
448
444
  batch = BatchWrite.new(:config => config)
449
445
  batch.write(self, options)
@@ -454,19 +450,19 @@ module AWS
454
450
  #
455
451
  # table.batch_delete(%w(id1 id2 id3 id4 id5))
456
452
  #
457
- # @param [Array<String>,Array<Array>] items A list of item keys to
453
+ # @param [Array<String>,Array<Array>] items A list of item keys to
458
454
  # delete. For tables without a range key, items should be an array
459
455
  # of hash key strings.
460
456
  #
461
457
  # batch.delete('table-name', ['hk1', 'hk2', 'hk3'])
462
458
  #
463
- # For tables with a range key, items should be an array of
459
+ # For tables with a range key, items should be an array of
464
460
  # hash key and range key pairs.
465
461
  #
466
462
  # batch.delete('table-name', [['hk1', 'rk1'], ['hk1', 'rk2']])
467
463
  #
468
464
  # @return (see BatchWrite#process!)
469
- #
465
+ #
470
466
  def batch_delete items
471
467
  batch = BatchWrite.new(:config => config)
472
468
  batch.delete(self, items)
@@ -20,7 +20,7 @@ module AWS
20
20
  # == Schemas
21
21
  #
22
22
  # Before you can operate on items in a table you must specify the schema.
23
- # You do this by calling #hash_key= (and optionally #range_key=) on
23
+ # You do this by calling #hash_key= (and optionally #range_key=) on
24
24
  # a table.
25
25
  #
26
26
  # table = dynamo_db.tables['mytable']
@@ -44,19 +44,19 @@ module AWS
44
44
  # table = dynamo_db.tables.create('mytable', 25, 25,
45
45
  # :hash_key => { :id => :string })
46
46
  #
47
- # @note Creating a table is an eventualy consistent operation. You
48
- # can not interact with the table until its status
47
+ # @note Creating a table is an eventualy consistent operation. You
48
+ # can not interact with the table until its status
49
49
  # ({Table#status}) is +:active+.
50
50
  #
51
51
  # @param [String] name The name of the table.
52
52
  #
53
- # @param [Integer] read_capacity_units Sets the minimum
53
+ # @param [Integer] read_capacity_units Sets the minimum
54
54
  # number of reads supported before read requests are throttled.
55
55
  #
56
- # @param [Integer] write_capacity_units Sets the minimum
56
+ # @param [Integer] write_capacity_units Sets the minimum
57
57
  # number of writes supported before writes requests are throttled.
58
58
  #
59
- # @param [Hash] options
59
+ # @param [Hash] options
60
60
  #
61
61
  # @option options [Hash] :hash_key A hash key is a combination
62
62
  # of an attribute name and type. If you want to have the
@@ -65,20 +65,20 @@ module AWS
65
65
  #
66
66
  # :hash_key => { :username => :string }
67
67
  #
68
- # The other supported type is +:number+. If you wanted to
69
- # set the hash key on a numeric (integer) attribute then you
68
+ # The other supported types are +:number+ and +:binary+. If you
69
+ # wanted to set the hash key on a numeric (integer) attribute then you
70
70
  # could call #create with:
71
71
  #
72
72
  # :hash_key => { :id => :number }
73
73
  #
74
- # All tables require a hash key. If +:hash_key+ is not provided
74
+ # All tables require a hash key. If +:hash_key+ is not provided
75
75
  # then a default hash key will be provided. The default hash
76
76
  # key is:
77
- #
77
+ #
78
78
  # :hash_key => { :id => :string }
79
79
  #
80
80
  # @option options [String] :range_key You can setup a table to use
81
- # composite keys by providing a +:range_key+. Range keys are
81
+ # composite keys by providing a +:range_key+. Range keys are
82
82
  # configured the same way as hash keys. They are useful
83
83
  # for ordering items that share the same hash key.
84
84
  #
@@ -149,8 +149,8 @@ module AWS
149
149
 
150
150
  (name, type) = desc.to_a.first
151
151
 
152
- unless type == :string or type == :number
153
- msg = "invalid #{key_type} key type, expected :string or :number"
152
+ unless [:string, :number, :binary].include?(type)
153
+ msg = "invalid #{key_type} key type, expected :string, :number or :binary"
154
154
  raise ArgumentError, msg
155
155
  end
156
156
 
@@ -13,6 +13,7 @@
13
13
 
14
14
  require 'bigdecimal'
15
15
  require 'set'
16
+ require 'base64'
16
17
 
17
18
  module AWS
18
19
  class DynamoDB
@@ -20,7 +21,7 @@ module AWS
20
21
  # @private
21
22
  module Types
22
23
 
23
- def value_from_response(hash)
24
+ def value_from_response(hash, options = {})
24
25
  (type, value) = hash.to_a.first
25
26
  case type
26
27
  when "S", :s
@@ -28,31 +29,56 @@ module AWS
28
29
  when "SS", :ss
29
30
  Set[*value]
30
31
  when "N", :n
31
- BigDecimal(value.to_s)
32
+ cast_number(value, options)
32
33
  when "NS", :ns
33
- Set[*value.map { |v| BigDecimal(v.to_s) }]
34
+ Set[*value.map {|v| cast_number(v, options) }]
35
+ when "B", :b
36
+ cast_binary(value)
37
+ when "BS", :bs
38
+ Set[*value.map{|v| cast_binary(v) }]
34
39
  end
35
40
  end
36
41
 
37
- def values_from_response_hash(hash)
42
+ def values_from_response_hash(hash, options = {})
38
43
  hash.inject({}) do |h, (key, value_hash)|
39
44
  h.update(key => value_from_response(value_hash))
40
45
  end
41
46
  end
42
47
 
43
48
  def format_attribute_value(value, context = nil)
49
+
44
50
  indicator = type_indicator(value, context)
45
51
 
46
- value = [] if value == :empty_number_set
47
- value = value.to_s if indicator == :n
48
- value = value.map(&:to_s) if indicator == :ns
52
+ value =
53
+ case
54
+ when value == :empty_number_set then []
55
+ when indicator == :n then value.to_s
56
+ when indicator == :ns then value.map(&:to_s)
57
+ else value
58
+ end
59
+
60
+ { indicator => value }
49
61
 
50
- Hash[[[indicator, value]]]
51
62
  end
52
63
 
53
64
  protected
65
+
66
+ def cast_number number, options = {}
67
+
68
+ cfg = self.respond_to?(:config) ? self.config :
69
+ (options[:config] || AWS.config)
70
+
71
+ cfg.dynamo_db_big_decimals ? BigDecimal.new(number) : number.to_f
72
+
73
+ end
74
+
75
+ def cast_binary data
76
+ DynamoDB::Binary.new(data)
77
+ end
78
+
54
79
  def type_indicator(value, context)
55
80
  case
81
+ when value.kind_of?(DynamoDB::Binary) then :b
56
82
  when value.respond_to?(:to_str) then :s
57
83
  when value.kind_of?(Numeric) then :n
58
84
  when value.respond_to?(:each)
@@ -74,7 +100,6 @@ module AWS
74
100
  end
75
101
  end
76
102
 
77
- protected
78
103
  def raise_error(msg, context)
79
104
  msg = "#{msg} in #{context}" if context
80
105
  raise ArgumentError, msg
@@ -15,11 +15,9 @@ module AWS
15
15
  class EC2
16
16
 
17
17
  # Client class for Amazon Elastic Compute Cloud (EC2).
18
- class Client < Core::Client
18
+ class Client < Core::QueryClient
19
19
 
20
- API_VERSION = '2012-07-20'
21
-
22
- extend Core::QueryClient
20
+ define_client_methods('2012-07-20')
23
21
 
24
22
  # @private
25
23
  CACHEABLE_REQUESTS = Set[
@@ -70,7 +68,6 @@ module AWS
70
68
  # * +:capacity+ - *required* - (Integer) Specifies the additional
71
69
  # number of licenses to activate.
72
70
  # @return [Core::Response]
73
- define_client_method :activate_license, 'ActivateLicense'
74
71
 
75
72
  # Calls the AllocateAddress API operation.
76
73
  # @method allocate_address(options = {})
@@ -78,17 +75,11 @@ module AWS
78
75
  # * +:domain+ - (String) Set to vpc to allocate the address to your
79
76
  # VPC. By default, will allocate to EC2.
80
77
  # @return [Core::Response]
81
- define_client_method :allocate_address, 'AllocateAddress'
82
-
83
- # Calls the AssignPrivateIpAddresses API operation.
84
- # @method assign_private_ip_addresses(options = {})
85
- # @param [Hash] options
86
- # * +:network_interface_id+ - *required* - (String)
87
- # * +:private_ip_addresses+ - (Array<String>)
88
- # * +:secondary_private_ip_address_count+ - (Integer)
89
- # * +:allow_reassignment+ - (Boolean)
90
- # @return [Core::Response]
91
- define_client_method :assign_private_ip_addresses, 'AssignPrivateIpAddresses'
78
+ # The #data method of the response object returns
79
+ # a hash with the following structure:
80
+ # * +:public_ip+ - (String)
81
+ # * +:domain+ - (String)
82
+ # * +:allocation_id+ - (String)
92
83
 
93
84
  # Calls the AssociateAddress API operation.
94
85
  # @method associate_address(options = {})
@@ -100,10 +91,10 @@ module AWS
100
91
  # * +:allocation_id+ - (String) The allocation ID that AWS returned
101
92
  # when you allocated the elastic IP address for use with Amazon VPC.
102
93
  # * +:network_interface_id+ - (String)
103
- # * +:private_ip_address+ - (String)
104
- # * +:allow_reassociation+ - (Boolean)
105
94
  # @return [Core::Response]
106
- define_client_method :associate_address, 'AssociateAddress'
95
+ # The #data method of the response object returns
96
+ # a hash with the following structure:
97
+ # * +:association_id+ - (String)
107
98
 
108
99
  # Calls the AssociateDhcpOptions API operation.
109
100
  # @method associate_dhcp_options(options = {})
@@ -114,7 +105,6 @@ module AWS
114
105
  # * +:vpc_id+ - *required* - (String) The ID of the VPC to associate
115
106
  # the DHCP options with.
116
107
  # @return [Core::Response]
117
- define_client_method :associate_dhcp_options, 'AssociateDhcpOptions'
118
108
 
119
109
  # Calls the AssociateRouteTable API operation.
120
110
  # @method associate_route_table(options = {})
@@ -123,7 +113,9 @@ module AWS
123
113
  # * +:route_table_id+ - *required* - (String) The ID of the route
124
114
  # table.
125
115
  # @return [Core::Response]
126
- define_client_method :associate_route_table, 'AssociateRouteTable'
116
+ # The #data method of the response object returns
117
+ # a hash with the following structure:
118
+ # * +:association_id+ - (String)
127
119
 
128
120
  # Calls the AttachInternetGateway API operation.
129
121
  # @method attach_internet_gateway(options = {})
@@ -132,7 +124,6 @@ module AWS
132
124
  # Internet gateway to attach.
133
125
  # * +:vpc_id+ - *required* - (String) The ID of the VPC.
134
126
  # @return [Core::Response]
135
- define_client_method :attach_internet_gateway, 'AttachInternetGateway'
136
127
 
137
128
  # Calls the AttachNetworkInterface API operation.
138
129
  # @method attach_network_interface(options = {})
@@ -141,7 +132,9 @@ module AWS
141
132
  # * +:instance_id+ - *required* - (String)
142
133
  # * +:device_index+ - *required* - (Integer)
143
134
  # @return [Core::Response]
144
- define_client_method :attach_network_interface, 'AttachNetworkInterface'
135
+ # The #data method of the response object returns
136
+ # a hash with the following structure:
137
+ # * +:attachment_id+ - (String)
145
138
 
146
139
  # Calls the AttachVolume API operation.
147
140
  # @method attach_volume(options = {})
@@ -157,9 +150,12 @@ module AWS
157
150
  # @return [Core::Response]
158
151
  # The #data method of the response object returns
159
152
  # a hash with the following structure:
153
+ # * +:volume_id+ - (String)
154
+ # * +:instance_id+ - (String)
155
+ # * +:device+ - (String)
156
+ # * +:status+ - (String)
160
157
  # * +:attach_time+ - (Time)
161
158
  # * +:delete_on_termination+ - (Boolean)
162
- define_client_method :attach_volume, 'AttachVolume'
163
159
 
164
160
  # Calls the AttachVpnGateway API operation.
165
161
  # @method attach_vpn_gateway(options = {})
@@ -169,7 +165,11 @@ module AWS
169
165
  # * +:vpc_id+ - *required* - (String) The ID of the VPC to attach to
170
166
  # the VPN gateway.
171
167
  # @return [Core::Response]
172
- define_client_method :attach_vpn_gateway, 'AttachVpnGateway'
168
+ # The #data method of the response object returns
169
+ # a hash with the following structure:
170
+ # * +:attachment+ - (Hash)
171
+ # * +:vpc_id+ - (String)
172
+ # * +:state+ - (String)
173
173
 
174
174
  # Calls the AuthorizeSecurityGroupEgress API operation.
175
175
  # @method authorize_security_group_egress(options = {})
@@ -207,7 +207,6 @@ module AWS
207
207
  # in this permission.
208
208
  # * +:cidr_ip+ - (String) The list of CIDR IP ranges.
209
209
  # @return [Core::Response]
210
- define_client_method :authorize_security_group_egress, 'AuthorizeSecurityGroupEgress'
211
210
 
212
211
  # Calls the AuthorizeSecurityGroupIngress API operation.
213
212
  # @method authorize_security_group_ingress(options = {})
@@ -250,7 +249,6 @@ module AWS
250
249
  # in this permission.
251
250
  # * +:cidr_ip+ - (String) The list of CIDR IP ranges.
252
251
  # @return [Core::Response]
253
- define_client_method :authorize_security_group_ingress, 'AuthorizeSecurityGroupIngress'
254
252
 
255
253
  # Calls the BundleInstance API operation.
256
254
  # @method bundle_instance(options = {})
@@ -277,9 +275,22 @@ module AWS
277
275
  # The #data method of the response object returns
278
276
  # a hash with the following structure:
279
277
  # * +:bundle_instance_task+ - (Hash)
278
+ # * +:instance_id+ - (String)
279
+ # * +:bundle_id+ - (String)
280
+ # * +:state+ - (String)
280
281
  # * +:start_time+ - (Time)
281
282
  # * +:update_time+ - (Time)
282
- define_client_method :bundle_instance, 'BundleInstance'
283
+ # * +:storage+ - (Hash)
284
+ # * +:s3+ - (Hash)
285
+ # * +:bucket+ - (String)
286
+ # * +:prefix+ - (String)
287
+ # * +:aws_access_key_id+ - (String)
288
+ # * +:upload_policy+ - (String)
289
+ # * +:upload_policy_signature+ - (String)
290
+ # * +:progress+ - (String)
291
+ # * +:error+ - (Hash)
292
+ # * +:code+ - (String)
293
+ # * +:message+ - (String)
283
294
 
284
295
  # Calls the CancelBundleTask API operation.
285
296
  # @method cancel_bundle_task(options = {})
@@ -290,9 +301,22 @@ module AWS
290
301
  # The #data method of the response object returns
291
302
  # a hash with the following structure:
292
303
  # * +:bundle_instance_task+ - (Hash)
304
+ # * +:instance_id+ - (String)
305
+ # * +:bundle_id+ - (String)
306
+ # * +:state+ - (String)
293
307
  # * +:start_time+ - (Time)
294
308
  # * +:update_time+ - (Time)
295
- define_client_method :cancel_bundle_task, 'CancelBundleTask'
309
+ # * +:storage+ - (Hash)
310
+ # * +:s3+ - (Hash)
311
+ # * +:bucket+ - (String)
312
+ # * +:prefix+ - (String)
313
+ # * +:aws_access_key_id+ - (String)
314
+ # * +:upload_policy+ - (String)
315
+ # * +:upload_policy_signature+ - (String)
316
+ # * +:progress+ - (String)
317
+ # * +:error+ - (Hash)
318
+ # * +:code+ - (String)
319
+ # * +:message+ - (String)
296
320
 
297
321
  # Calls the CancelConversionTask API operation.
298
322
  # @method cancel_conversion_task(options = {})
@@ -300,14 +324,6 @@ module AWS
300
324
  # * +:conversion_task_id+ - *required* - (String)
301
325
  # * +:reason_message+ - (String)
302
326
  # @return [Core::Response]
303
- define_client_method :cancel_conversion_task, 'CancelConversionTask'
304
-
305
- # Calls the CancelExportTask API operation.
306
- # @method cancel_export_task(options = {})
307
- # @param [Hash] options
308
- # * +:export_task_id+ - *required* - (String)
309
- # @return [Core::Response]
310
- define_client_method :cancel_export_task, 'CancelExportTask'
311
327
 
312
328
  # Calls the CancelSpotInstanceRequests API operation.
313
329
  # @method cancel_spot_instance_requests(options = {})
@@ -317,8 +333,9 @@ module AWS
317
333
  # @return [Core::Response]
318
334
  # The #data method of the response object returns
319
335
  # a hash with the following structure:
320
- # * +:spot_instance_request_set+ - (Array<>)
321
- define_client_method :cancel_spot_instance_requests, 'CancelSpotInstanceRequests'
336
+ # * +:spot_instance_request_set+ - (Array<Hash>)
337
+ # * +:spot_instance_request_id+ - (String)
338
+ # * +:state+ - (String)
322
339
 
323
340
  # Calls the ConfirmProductInstance API operation.
324
341
  # @method confirm_product_instance(options = {})
@@ -328,7 +345,9 @@ module AWS
328
345
  # * +:instance_id+ - *required* - (String) The ID of the instance to
329
346
  # confirm.
330
347
  # @return [Core::Response]
331
- define_client_method :confirm_product_instance, 'ConfirmProductInstance'
348
+ # The #data method of the response object returns
349
+ # a hash with the following structure:
350
+ # * +:owner_id+ - (String)
332
351
 
333
352
  # Calls the CreateCustomerGateway API operation.
334
353
  # @method create_customer_gateway(options = {})
@@ -344,8 +363,14 @@ module AWS
344
363
  # The #data method of the response object returns
345
364
  # a hash with the following structure:
346
365
  # * +:customer_gateway+ - (Hash)
347
- # * +:tag_set+ - (Array<>)
348
- define_client_method :create_customer_gateway, 'CreateCustomerGateway'
366
+ # * +:customer_gateway_id+ - (String)
367
+ # * +:state+ - (String)
368
+ # * +:type+ - (String)
369
+ # * +:ip_address+ - (String)
370
+ # * +:bgp_asn+ - (String)
371
+ # * +:tag_set+ - (Array<Hash>)
372
+ # * +:key+ - (String)
373
+ # * +:value+ - (String)
349
374
 
350
375
  # Calls the CreateDhcpOptions API operation.
351
376
  # @method create_dhcp_options(options = {})
@@ -359,10 +384,13 @@ module AWS
359
384
  # The #data method of the response object returns
360
385
  # a hash with the following structure:
361
386
  # * +:dhcp_options+ - (Hash)
387
+ # * +:dhcp_options_id+ - (String)
362
388
  # * +:dhcp_configuration_set+ - (Array<Hash>)
363
- # * +:value_set+ - (Array<>)
364
- # * +:tag_set+ - (Array<>)
365
- define_client_method :create_dhcp_options, 'CreateDhcpOptions'
389
+ # * +:key+ - (String)
390
+ # * +:value_set+ - (Array<String>)
391
+ # * +:tag_set+ - (Array<Hash>)
392
+ # * +:key+ - (String)
393
+ # * +:value+ - (String)
366
394
 
367
395
  # Calls the CreateImage API operation.
368
396
  # @method create_image(options = {})
@@ -379,38 +407,10 @@ module AWS
379
407
  # to +true+ , Amazon EC2 will not shut down the instance before
380
408
  # creating the image. When this option is used, file system integrity
381
409
  # on the created image cannot be guaranteed.
382
- # * +:block_device_mappings+ - (Array<Hash>)
383
- # * +:virtual_name+ - (String) Specifies the virtual device name.
384
- # * +:device_name+ - (String) Specifies the device name (e.g.,
385
- # /dev/sdh).
386
- # * +:ebs+ - (Hash) Specifies parameters used to automatically setup
387
- # Amazon EBS volumes when the instance is launched.
388
- # * +:snapshot_id+ - (String) The ID of the snapshot from which the
389
- # volume will be created.
390
- # * +:volume_size+ - (Integer) The size of the volume, in
391
- # gigabytes.
392
- # * +:delete_on_termination+ - (Boolean) Specifies whether the
393
- # Amazon EBS volume is deleted on instance termination.
394
- # * +:volume_type+ - (String)
395
- # * +:iops+ - (Integer)
396
- # * +:no_device+ - (String) Specifies the device name to suppress
397
- # during instance launch.
398
- # @return [Core::Response]
399
- define_client_method :create_image, 'CreateImage'
400
-
401
- # Calls the CreateInstanceExportTask API operation.
402
- # @method create_instance_export_task(options = {})
403
- # @param [Hash] options
404
- # * +:description+ - (String)
405
- # * +:instance_id+ - *required* - (String)
406
- # * +:target_environment+ - (String)
407
- # * +:export_to_s3_task+ - (Hash)
408
- # * +:disk_image_format+ - (String)
409
- # * +:container_format+ - (String)
410
- # * +:s3_bucket+ - (String)
411
- # * +:s3_prefix+ - (String)
412
410
  # @return [Core::Response]
413
- define_client_method :create_instance_export_task, 'CreateInstanceExportTask'
411
+ # The #data method of the response object returns
412
+ # a hash with the following structure:
413
+ # * +:image_id+ - (String)
414
414
 
415
415
  # Calls the CreateInternetGateway API operation.
416
416
  # @method create_internet_gateway(options = {})
@@ -419,9 +419,13 @@ module AWS
419
419
  # The #data method of the response object returns
420
420
  # a hash with the following structure:
421
421
  # * +:internet_gateway+ - (Hash)
422
- # * +:attachment_set+ - (Array<>)
423
- # * +:tag_set+ - (Array<>)
424
- define_client_method :create_internet_gateway, 'CreateInternetGateway'
422
+ # * +:internet_gateway_id+ - (String)
423
+ # * +:attachment_set+ - (Array<Hash>)
424
+ # * +:vpc_id+ - (String)
425
+ # * +:state+ - (String)
426
+ # * +:tag_set+ - (Array<Hash>)
427
+ # * +:key+ - (String)
428
+ # * +:value+ - (String)
425
429
 
426
430
  # Calls the CreateKeyPair API operation.
427
431
  # @method create_key_pair(options = {})
@@ -429,7 +433,12 @@ module AWS
429
433
  # * +:key_name+ - *required* - (String) The unique name for the new key
430
434
  # pair.
431
435
  # @return [Core::Response]
432
- define_client_method :create_key_pair, 'CreateKeyPair'
436
+ # The #data method of the response object returns
437
+ # a hash with the following structure:
438
+ # * +:key_pair+ - (Hash)
439
+ # * +:key_name+ - (String)
440
+ # * +:key_fingerprint+ - (String)
441
+ # * +:key_material+ - (String)
433
442
 
434
443
  # Calls the CreateNetworkAcl API operation.
435
444
  # @method create_network_acl(options = {})
@@ -440,19 +449,28 @@ module AWS
440
449
  # The #data method of the response object returns
441
450
  # a hash with the following structure:
442
451
  # * +:network_acl+ - (Hash)
452
+ # * +:network_acl_id+ - (String)
453
+ # * +:vpc_id+ - (String)
443
454
  # * +:default+ - (Boolean)
444
455
  # * +:entry_set+ - (Array<Hash>)
445
456
  # * +:rule_number+ - (Integer)
457
+ # * +:protocol+ - (String)
458
+ # * +:rule_action+ - (String)
446
459
  # * +:egress+ - (Boolean)
460
+ # * +:cidr_block+ - (String)
447
461
  # * +:icmp_type_code+ - (Hash)
448
462
  # * +:type+ - (Integer)
449
463
  # * +:code+ - (Integer)
450
464
  # * +:port_range+ - (Hash)
451
465
  # * +:from+ - (Integer)
452
466
  # * +:to+ - (Integer)
453
- # * +:association_set+ - (Array<>)
454
- # * +:tag_set+ - (Array<>)
455
- define_client_method :create_network_acl, 'CreateNetworkAcl'
467
+ # * +:association_set+ - (Array<Hash>)
468
+ # * +:network_acl_association_id+ - (String)
469
+ # * +:network_acl_id+ - (String)
470
+ # * +:subnet_id+ - (String)
471
+ # * +:tag_set+ - (Array<Hash>)
472
+ # * +:key+ - (String)
473
+ # * +:value+ - (String)
456
474
 
457
475
  # Calls the CreateNetworkAclEntry API operation.
458
476
  # @method create_network_acl_entry(options = {})
@@ -484,7 +502,6 @@ module AWS
484
502
  # * +:to+ - (Integer) The last port in the range. Required if
485
503
  # specifying tcp or udp for the protocol.
486
504
  # @return [Core::Response]
487
- define_client_method :create_network_acl_entry, 'CreateNetworkAclEntry'
488
505
 
489
506
  # Calls the CreateNetworkInterface API operation.
490
507
  # @method create_network_interface(options = {})
@@ -493,25 +510,42 @@ module AWS
493
510
  # * +:description+ - (String)
494
511
  # * +:private_ip_address+ - (String)
495
512
  # * +:groups+ - (Array<String>)
496
- # * +:private_ip_addresses+ - (Array<Hash>)
497
- # * +:private_ip_address+ - *required* - (String)
498
- # * +:primary+ - (Boolean)
499
- # * +:secondary_private_ip_address_count+ - (Integer)
500
513
  # @return [Core::Response]
501
514
  # The #data method of the response object returns
502
515
  # a hash with the following structure:
503
516
  # * +:network_interface+ - (Hash)
517
+ # * +:network_interface_id+ - (String)
518
+ # * +:subnet_id+ - (String)
519
+ # * +:vpc_id+ - (String)
520
+ # * +:availability_zone+ - (String)
521
+ # * +:description+ - (String)
522
+ # * +:owner_id+ - (String)
523
+ # * +:requester_id+ - (String)
504
524
  # * +:requester_managed+ - (Boolean)
525
+ # * +:status+ - (String)
526
+ # * +:mac_address+ - (String)
527
+ # * +:private_ip_address+ - (String)
528
+ # * +:private_dns_name+ - (String)
505
529
  # * +:source_dest_check+ - (Boolean)
506
- # * +:group_set+ - (Array<>)
530
+ # * +:group_set+ - (Array<Hash>)
531
+ # * +:group_name+ - (String)
532
+ # * +:group_id+ - (String)
507
533
  # * +:attachment+ - (Hash)
534
+ # * +:attachment_id+ - (String)
535
+ # * +:instance_id+ - (String)
536
+ # * +:instance_owner_id+ - (String)
508
537
  # * +:device_index+ - (Integer)
538
+ # * +:status+ - (String)
509
539
  # * +:attach_time+ - (Time)
510
540
  # * +:delete_on_termination+ - (Boolean)
511
- # * +:tag_set+ - (Array<>)
512
- # * +:private_ip_addresses_set+ - (Array<Hash>)
513
- # * +:primary+ - (Boolean)
514
- define_client_method :create_network_interface, 'CreateNetworkInterface'
541
+ # * +:association+ - (Hash)
542
+ # * +:public_ip+ - (String)
543
+ # * +:ip_owner_id+ - (String)
544
+ # * +:allocation_id+ - (String)
545
+ # * +:association_id+ - (String)
546
+ # * +:tag_set+ - (Array<Hash>)
547
+ # * +:key+ - (String)
548
+ # * +:value+ - (String)
515
549
 
516
550
  # Calls the CreatePlacementGroup API operation.
517
551
  # @method create_placement_group(options = {})
@@ -520,7 +554,6 @@ module AWS
520
554
  # PlacementGroup.
521
555
  # * +:strategy+ - *required* - (String) The PlacementGroup strategy.
522
556
  # @return [Core::Response]
523
- define_client_method :create_placement_group, 'CreatePlacementGroup'
524
557
 
525
558
  # Calls the CreateRoute API operation.
526
559
  # @method create_route(options = {})
@@ -537,7 +570,6 @@ module AWS
537
570
  # must provide either GatewayId or InstanceId, but not both.
538
571
  # * +:network_interface_id+ - (String)
539
572
  # @return [Core::Response]
540
- define_client_method :create_route, 'CreateRoute'
541
573
 
542
574
  # Calls the CreateRouteTable API operation.
543
575
  # @method create_route_table(options = {})
@@ -548,11 +580,23 @@ module AWS
548
580
  # The #data method of the response object returns
549
581
  # a hash with the following structure:
550
582
  # * +:route_table+ - (Hash)
551
- # * +:route_set+ - (Array<>)
583
+ # * +:route_table_id+ - (String)
584
+ # * +:vpc_id+ - (String)
585
+ # * +:route_set+ - (Array<Hash>)
586
+ # * +:destination_cidr_block+ - (String)
587
+ # * +:gateway_id+ - (String)
588
+ # * +:instance_id+ - (String)
589
+ # * +:instance_owner_id+ - (String)
590
+ # * +:network_interface_id+ - (String)
591
+ # * +:state+ - (String)
552
592
  # * +:association_set+ - (Array<Hash>)
593
+ # * +:route_table_association_id+ - (String)
594
+ # * +:route_table_id+ - (String)
595
+ # * +:subnet_id+ - (String)
553
596
  # * +:main+ - (Boolean)
554
- # * +:tag_set+ - (Array<>)
555
- define_client_method :create_route_table, 'CreateRouteTable'
597
+ # * +:tag_set+ - (Array<Hash>)
598
+ # * +:key+ - (String)
599
+ # * +:value+ - (String)
556
600
 
557
601
  # Calls the CreateSecurityGroup API operation.
558
602
  # @method create_security_group(options = {})
@@ -562,7 +606,9 @@ module AWS
562
606
  # This is informational only.
563
607
  # * +:vpc_id+ - (String) ID of the VPC.
564
608
  # @return [Core::Response]
565
- define_client_method :create_security_group, 'CreateSecurityGroup'
609
+ # The #data method of the response object returns
610
+ # a hash with the following structure:
611
+ # * +:group_id+ - (String)
566
612
 
567
613
  # Calls the CreateSnapshot API operation.
568
614
  # @method create_snapshot(options = {})
@@ -573,10 +619,18 @@ module AWS
573
619
  # @return [Core::Response]
574
620
  # The #data method of the response object returns
575
621
  # a hash with the following structure:
622
+ # * +:snapshot_id+ - (String)
623
+ # * +:volume_id+ - (String)
624
+ # * +:status+ - (String)
576
625
  # * +:start_time+ - (Time)
626
+ # * +:progress+ - (String)
627
+ # * +:owner_id+ - (String)
628
+ # * +:description+ - (String)
577
629
  # * +:volume_size+ - (Integer)
578
- # * +:tag_set+ - (Array<>)
579
- define_client_method :create_snapshot, 'CreateSnapshot'
630
+ # * +:owner_alias+ - (String)
631
+ # * +:tag_set+ - (Array<Hash>)
632
+ # * +:key+ - (String)
633
+ # * +:value+ - (String)
580
634
 
581
635
  # Calls the CreateSpotDatafeedSubscription API operation.
582
636
  # @method create_spot_datafeed_subscription(options = {})
@@ -586,7 +640,16 @@ module AWS
586
640
  # * +:prefix+ - (String) The prefix that is prepended to datafeed
587
641
  # files.
588
642
  # @return [Core::Response]
589
- define_client_method :create_spot_datafeed_subscription, 'CreateSpotDatafeedSubscription'
643
+ # The #data method of the response object returns
644
+ # a hash with the following structure:
645
+ # * +:spot_datafeed_subscription+ - (Hash)
646
+ # * +:owner_id+ - (String)
647
+ # * +:bucket+ - (String)
648
+ # * +:prefix+ - (String)
649
+ # * +:state+ - (String)
650
+ # * +:fault+ - (Hash)
651
+ # * +:code+ - (String)
652
+ # * +:message+ - (String)
590
653
 
591
654
  # Calls the CreateSubnet API operation.
592
655
  # @method create_subnet(options = {})
@@ -601,9 +664,15 @@ module AWS
601
664
  # The #data method of the response object returns
602
665
  # a hash with the following structure:
603
666
  # * +:subnet+ - (Hash)
667
+ # * +:subnet_id+ - (String)
668
+ # * +:state+ - (String)
669
+ # * +:vpc_id+ - (String)
670
+ # * +:cidr_block+ - (String)
604
671
  # * +:available_ip_address_count+ - (Integer)
605
- # * +:tag_set+ - (Array<>)
606
- define_client_method :create_subnet, 'CreateSubnet'
672
+ # * +:availability_zone+ - (String)
673
+ # * +:tag_set+ - (Array<Hash>)
674
+ # * +:key+ - (String)
675
+ # * +:value+ - (String)
607
676
 
608
677
  # Calls the CreateTags API operation.
609
678
  # @method create_tags(options = {})
@@ -617,7 +686,6 @@ module AWS
617
686
  # * +:key+ - (String) The tag's key.
618
687
  # * +:value+ - (String) The tag's value.
619
688
  # @return [Core::Response]
620
- define_client_method :create_tags, 'CreateTags'
621
689
 
622
690
  # Calls the CreateVolume API operation.
623
691
  # @method create_volume(options = {})
@@ -629,18 +697,28 @@ module AWS
629
697
  # * +:availability_zone+ - *required* - (String) The Availability Zone
630
698
  # in which to create the new volume.
631
699
  # * +:volume_type+ - (String)
632
- # * +:iops+ - (Integer)
700
+ # * +:iops+ - (String)
633
701
  # @return [Core::Response]
634
702
  # The #data method of the response object returns
635
703
  # a hash with the following structure:
704
+ # * +:volume_id+ - (String)
636
705
  # * +:size+ - (Integer)
706
+ # * +:snapshot_id+ - (String)
707
+ # * +:availability_zone+ - (String)
708
+ # * +:status+ - (String)
637
709
  # * +:create_time+ - (Time)
638
710
  # * +:attachment_set+ - (Array<Hash>)
711
+ # * +:volume_id+ - (String)
712
+ # * +:instance_id+ - (String)
713
+ # * +:device+ - (String)
714
+ # * +:status+ - (String)
639
715
  # * +:attach_time+ - (Time)
640
716
  # * +:delete_on_termination+ - (Boolean)
641
- # * +:tag_set+ - (Array<>)
642
- # * +:iops+ - (Integer)
643
- define_client_method :create_volume, 'CreateVolume'
717
+ # * +:tag_set+ - (Array<Hash>)
718
+ # * +:key+ - (String)
719
+ # * +:value+ - (String)
720
+ # * +:volume_type+ - (String)
721
+ # * +:iops+ - (String)
644
722
 
645
723
  # Calls the CreateVpc API operation.
646
724
  # @method create_vpc(options = {})
@@ -654,8 +732,14 @@ module AWS
654
732
  # The #data method of the response object returns
655
733
  # a hash with the following structure:
656
734
  # * +:vpc+ - (Hash)
657
- # * +:tag_set+ - (Array<>)
658
- define_client_method :create_vpc, 'CreateVpc'
735
+ # * +:vpc_id+ - (String)
736
+ # * +:state+ - (String)
737
+ # * +:cidr_block+ - (String)
738
+ # * +:dhcp_options_id+ - (String)
739
+ # * +:tag_set+ - (Array<Hash>)
740
+ # * +:key+ - (String)
741
+ # * +:value+ - (String)
742
+ # * +:instance_tenancy+ - (String)
659
743
 
660
744
  # Calls the CreateVpnConnection API operation.
661
745
  # @method create_vpn_connection(options = {})
@@ -669,11 +753,21 @@ module AWS
669
753
  # The #data method of the response object returns
670
754
  # a hash with the following structure:
671
755
  # * +:vpn_connection+ - (Hash)
672
- # * +:tag_set+ - (Array<>)
756
+ # * +:vpn_connection_id+ - (String)
757
+ # * +:state+ - (String)
758
+ # * +:customer_gateway_configuration+ - (String)
759
+ # * +:type+ - (String)
760
+ # * +:customer_gateway_id+ - (String)
761
+ # * +:vpn_gateway_id+ - (String)
762
+ # * +:tag_set+ - (Array<Hash>)
763
+ # * +:key+ - (String)
764
+ # * +:value+ - (String)
673
765
  # * +:vgw_telemetry+ - (Array<Hash>)
766
+ # * +:outside_ip_address+ - (String)
767
+ # * +:status+ - (String)
674
768
  # * +:last_status_change+ - (Time)
769
+ # * +:status_message+ - (String)
675
770
  # * +:accepted_route_count+ - (Integer)
676
- define_client_method :create_vpn_connection, 'CreateVpnConnection'
677
771
 
678
772
  # Calls the CreateVpnGateway API operation.
679
773
  # @method create_vpn_gateway(options = {})
@@ -686,10 +780,16 @@ module AWS
686
780
  # The #data method of the response object returns
687
781
  # a hash with the following structure:
688
782
  # * +:vpn_gateway+ - (Hash)
689
- # * +:attachments+ - (Array<>)
690
- # * +:tag_set+ - (Array<>)
783
+ # * +:vpn_gateway_id+ - (String)
784
+ # * +:state+ - (String)
691
785
  # * +:vpn_type+ - (String)
692
- define_client_method :create_vpn_gateway, 'CreateVpnGateway'
786
+ # * +:availability_zone+ - (String)
787
+ # * +:attachments+ - (Array<Hash>)
788
+ # * +:vpc_id+ - (String)
789
+ # * +:state+ - (String)
790
+ # * +:tag_set+ - (Array<Hash>)
791
+ # * +:key+ - (String)
792
+ # * +:value+ - (String)
693
793
 
694
794
  # Calls the DeactivateLicense API operation.
695
795
  # @method deactivate_license(options = {})
@@ -699,7 +799,6 @@ module AWS
699
799
  # * +:capacity+ - *required* - (Integer) Specifies the amount of
700
800
  # capacity to deactivate against the license.
701
801
  # @return [Core::Response]
702
- define_client_method :deactivate_license, 'DeactivateLicense'
703
802
 
704
803
  # Calls the DeleteCustomerGateway API operation.
705
804
  # @method delete_customer_gateway(options = {})
@@ -707,7 +806,6 @@ module AWS
707
806
  # * +:customer_gateway_id+ - *required* - (String) The ID of the
708
807
  # customer gateway to delete.
709
808
  # @return [Core::Response]
710
- define_client_method :delete_customer_gateway, 'DeleteCustomerGateway'
711
809
 
712
810
  # Calls the DeleteDhcpOptions API operation.
713
811
  # @method delete_dhcp_options(options = {})
@@ -715,7 +813,6 @@ module AWS
715
813
  # * +:dhcp_options_id+ - *required* - (String) The ID of the DHCP
716
814
  # options set to delete.
717
815
  # @return [Core::Response]
718
- define_client_method :delete_dhcp_options, 'DeleteDhcpOptions'
719
816
 
720
817
  # Calls the DeleteInternetGateway API operation.
721
818
  # @method delete_internet_gateway(options = {})
@@ -723,7 +820,6 @@ module AWS
723
820
  # * +:internet_gateway_id+ - *required* - (String) The ID of the
724
821
  # Internet gateway to be deleted.
725
822
  # @return [Core::Response]
726
- define_client_method :delete_internet_gateway, 'DeleteInternetGateway'
727
823
 
728
824
  # Calls the DeleteKeyPair API operation.
729
825
  # @method delete_key_pair(options = {})
@@ -731,7 +827,6 @@ module AWS
731
827
  # * +:key_name+ - *required* - (String) The name of the Amazon EC2 key
732
828
  # pair to delete.
733
829
  # @return [Core::Response]
734
- define_client_method :delete_key_pair, 'DeleteKeyPair'
735
830
 
736
831
  # Calls the DeleteNetworkAcl API operation.
737
832
  # @method delete_network_acl(options = {})
@@ -739,7 +834,6 @@ module AWS
739
834
  # * +:network_acl_id+ - *required* - (String) The ID of the network ACL
740
835
  # to be deleted.
741
836
  # @return [Core::Response]
742
- define_client_method :delete_network_acl, 'DeleteNetworkAcl'
743
837
 
744
838
  # Calls the DeleteNetworkAclEntry API operation.
745
839
  # @method delete_network_acl_entry(options = {})
@@ -750,14 +844,12 @@ module AWS
750
844
  # * +:egress+ - *required* - (Boolean) Whether the rule to delete is an
751
845
  # egress rule ( +true+ ) or ingress rule ( +false+ ).
752
846
  # @return [Core::Response]
753
- define_client_method :delete_network_acl_entry, 'DeleteNetworkAclEntry'
754
847
 
755
848
  # Calls the DeleteNetworkInterface API operation.
756
849
  # @method delete_network_interface(options = {})
757
850
  # @param [Hash] options
758
851
  # * +:network_interface_id+ - *required* - (String)
759
852
  # @return [Core::Response]
760
- define_client_method :delete_network_interface, 'DeleteNetworkInterface'
761
853
 
762
854
  # Calls the DeletePlacementGroup API operation.
763
855
  # @method delete_placement_group(options = {})
@@ -765,7 +857,6 @@ module AWS
765
857
  # * +:group_name+ - *required* - (String) The name of the
766
858
  # PlacementGroup to delete.
767
859
  # @return [Core::Response]
768
- define_client_method :delete_placement_group, 'DeletePlacementGroup'
769
860
 
770
861
  # Calls the DeleteRoute API operation.
771
862
  # @method delete_route(options = {})
@@ -776,7 +867,6 @@ module AWS
776
867
  # for the route you want to delete. The value you specify must
777
868
  # exactly match the CIDR for the route you want to delete.
778
869
  # @return [Core::Response]
779
- define_client_method :delete_route, 'DeleteRoute'
780
870
 
781
871
  # Calls the DeleteRouteTable API operation.
782
872
  # @method delete_route_table(options = {})
@@ -784,7 +874,6 @@ module AWS
784
874
  # * +:route_table_id+ - *required* - (String) The ID of the route table
785
875
  # to be deleted.
786
876
  # @return [Core::Response]
787
- define_client_method :delete_route_table, 'DeleteRouteTable'
788
877
 
789
878
  # Calls the DeleteSecurityGroup API operation.
790
879
  # @method delete_security_group(options = {})
@@ -794,7 +883,6 @@ module AWS
794
883
  # * +:group_id+ - (String) The ID of the Amazon EC2 security group to
795
884
  # delete.
796
885
  # @return [Core::Response]
797
- define_client_method :delete_security_group, 'DeleteSecurityGroup'
798
886
 
799
887
  # Calls the DeleteSnapshot API operation.
800
888
  # @method delete_snapshot(options = {})
@@ -802,13 +890,11 @@ module AWS
802
890
  # * +:snapshot_id+ - *required* - (String) The ID of the snapshot to
803
891
  # delete.
804
892
  # @return [Core::Response]
805
- define_client_method :delete_snapshot, 'DeleteSnapshot'
806
893
 
807
894
  # Calls the DeleteSpotDatafeedSubscription API operation.
808
895
  # @method delete_spot_datafeed_subscription(options = {})
809
896
  # @param [Hash] options
810
897
  # @return [Core::Response]
811
- define_client_method :delete_spot_datafeed_subscription, 'DeleteSpotDatafeedSubscription'
812
898
 
813
899
  # Calls the DeleteSubnet API operation.
814
900
  # @method delete_subnet(options = {})
@@ -816,7 +902,6 @@ module AWS
816
902
  # * +:subnet_id+ - *required* - (String) The ID of the subnet you want
817
903
  # to delete.
818
904
  # @return [Core::Response]
819
- define_client_method :delete_subnet, 'DeleteSubnet'
820
905
 
821
906
  # Calls the DeleteTags API operation.
822
907
  # @method delete_tags(options = {})
@@ -831,7 +916,6 @@ module AWS
831
916
  # * +:key+ - (String) The tag's key.
832
917
  # * +:value+ - (String) The tag's value.
833
918
  # @return [Core::Response]
834
- define_client_method :delete_tags, 'DeleteTags'
835
919
 
836
920
  # Calls the DeleteVolume API operation.
837
921
  # @method delete_volume(options = {})
@@ -839,7 +923,6 @@ module AWS
839
923
  # * +:volume_id+ - *required* - (String) The ID of the EBS volume to
840
924
  # delete.
841
925
  # @return [Core::Response]
842
- define_client_method :delete_volume, 'DeleteVolume'
843
926
 
844
927
  # Calls the DeleteVpc API operation.
845
928
  # @method delete_vpc(options = {})
@@ -847,7 +930,6 @@ module AWS
847
930
  # * +:vpc_id+ - *required* - (String) The ID of the VPC you want to
848
931
  # delete.
849
932
  # @return [Core::Response]
850
- define_client_method :delete_vpc, 'DeleteVpc'
851
933
 
852
934
  # Calls the DeleteVpnConnection API operation.
853
935
  # @method delete_vpn_connection(options = {})
@@ -855,7 +937,6 @@ module AWS
855
937
  # * +:vpn_connection_id+ - *required* - (String) The ID of the VPN
856
938
  # connection to delete
857
939
  # @return [Core::Response]
858
- define_client_method :delete_vpn_connection, 'DeleteVpnConnection'
859
940
 
860
941
  # Calls the DeleteVpnGateway API operation.
861
942
  # @method delete_vpn_gateway(options = {})
@@ -863,7 +944,6 @@ module AWS
863
944
  # * +:vpn_gateway_id+ - *required* - (String) The ID of the VPN gateway
864
945
  # to delete.
865
946
  # @return [Core::Response]
866
- define_client_method :delete_vpn_gateway, 'DeleteVpnGateway'
867
947
 
868
948
  # Calls the DeregisterImage API operation.
869
949
  # @method deregister_image(options = {})
@@ -871,7 +951,6 @@ module AWS
871
951
  # * +:image_id+ - *required* - (String) The ID of the AMI to
872
952
  # deregister.
873
953
  # @return [Core::Response]
874
- define_client_method :deregister_image, 'DeregisterImage'
875
954
 
876
955
  # Calls the DescribeAddresses API operation.
877
956
  # @method describe_addresses(options = {})
@@ -888,8 +967,14 @@ module AWS
888
967
  # @return [Core::Response]
889
968
  # The #data method of the response object returns
890
969
  # a hash with the following structure:
891
- # * +:addresses_set+ - (Array<>)
892
- define_client_method :describe_addresses, 'DescribeAddresses'
970
+ # * +:addresses_set+ - (Array<Hash>)
971
+ # * +:instance_id+ - (String)
972
+ # * +:public_ip+ - (String)
973
+ # * +:allocation_id+ - (String)
974
+ # * +:association_id+ - (String)
975
+ # * +:domain+ - (String)
976
+ # * +:network_interface_id+ - (String)
977
+ # * +:network_interface_owner_id+ - (String)
893
978
 
894
979
  # Calls the DescribeAvailabilityZones API operation.
895
980
  # @method describe_availability_zones(options = {})
@@ -907,8 +992,11 @@ module AWS
907
992
  # The #data method of the response object returns
908
993
  # a hash with the following structure:
909
994
  # * +:availability_zone_info+ - (Array<Hash>)
910
- # * +:message_set+ - (Array<>)
911
- define_client_method :describe_availability_zones, 'DescribeAvailabilityZones'
995
+ # * +:zone_name+ - (String)
996
+ # * +:zone_state+ - (String)
997
+ # * +:region_name+ - (String)
998
+ # * +:message_set+ - (Array<Hash>)
999
+ # * +:message+ - (String)
912
1000
 
913
1001
  # Calls the DescribeBundleTasks API operation.
914
1002
  # @method describe_bundle_tasks(options = {})
@@ -926,9 +1014,22 @@ module AWS
926
1014
  # The #data method of the response object returns
927
1015
  # a hash with the following structure:
928
1016
  # * +:bundle_instance_tasks_set+ - (Array<Hash>)
1017
+ # * +:instance_id+ - (String)
1018
+ # * +:bundle_id+ - (String)
1019
+ # * +:state+ - (String)
929
1020
  # * +:start_time+ - (Time)
930
1021
  # * +:update_time+ - (Time)
931
- define_client_method :describe_bundle_tasks, 'DescribeBundleTasks'
1022
+ # * +:storage+ - (Hash)
1023
+ # * +:s3+ - (Hash)
1024
+ # * +:bucket+ - (String)
1025
+ # * +:prefix+ - (String)
1026
+ # * +:aws_access_key_id+ - (String)
1027
+ # * +:upload_policy+ - (String)
1028
+ # * +:upload_policy_signature+ - (String)
1029
+ # * +:progress+ - (String)
1030
+ # * +:error+ - (Hash)
1031
+ # * +:code+ - (String)
1032
+ # * +:message+ - (String)
932
1033
 
933
1034
  # Calls the DescribeConversionTasks API operation.
934
1035
  # @method describe_conversion_tasks(options = {})
@@ -942,21 +1043,43 @@ module AWS
942
1043
  # The #data method of the response object returns
943
1044
  # a hash with the following structure:
944
1045
  # * +:conversion_tasks+ - (Array<Hash>)
1046
+ # * +:conversion_task_id+ - (String)
1047
+ # * +:expiration_time+ - (String)
945
1048
  # * +:import_instance+ - (Hash)
946
1049
  # * +:volumes+ - (Array<Hash>)
947
1050
  # * +:bytes_converted+ - (Integer)
1051
+ # * +:availability_zone+ - (String)
948
1052
  # * +:image+ - (Hash)
1053
+ # * +:format+ - (String)
949
1054
  # * +:size+ - (Integer)
1055
+ # * +:import_manifest_url+ - (String)
1056
+ # * +:checksum+ - (String)
950
1057
  # * +:volume+ - (Hash)
951
1058
  # * +:size+ - (Integer)
1059
+ # * +:id+ - (String)
1060
+ # * +:status+ - (String)
1061
+ # * +:status_message+ - (String)
1062
+ # * +:description+ - (String)
1063
+ # * +:instance_id+ - (String)
1064
+ # * +:platform+ - (String)
1065
+ # * +:description+ - (String)
952
1066
  # * +:import_volume+ - (Hash)
953
1067
  # * +:bytes_converted+ - (Integer)
1068
+ # * +:availability_zone+ - (String)
1069
+ # * +:description+ - (String)
954
1070
  # * +:image+ - (Hash)
1071
+ # * +:format+ - (String)
955
1072
  # * +:size+ - (Integer)
1073
+ # * +:import_manifest_url+ - (String)
1074
+ # * +:checksum+ - (String)
956
1075
  # * +:volume+ - (Hash)
957
1076
  # * +:size+ - (Integer)
958
- # * +:tag_set+ - (Array<>)
959
- define_client_method :describe_conversion_tasks, 'DescribeConversionTasks'
1077
+ # * +:id+ - (String)
1078
+ # * +:state+ - (String)
1079
+ # * +:status_message+ - (String)
1080
+ # * +:tag_set+ - (Array<Hash>)
1081
+ # * +:key+ - (String)
1082
+ # * +:value+ - (String)
960
1083
 
961
1084
  # Calls the DescribeCustomerGateways API operation.
962
1085
  # @method describe_customer_gateways(options = {})
@@ -974,9 +1097,14 @@ module AWS
974
1097
  # The #data method of the response object returns
975
1098
  # a hash with the following structure:
976
1099
  # * +:customer_gateway_set+ - (Array<Hash>)
977
- # * +:tag_set+ - (Array<>)
1100
+ # * +:customer_gateway_id+ - (String)
1101
+ # * +:state+ - (String)
978
1102
  # * +:vpn_type+ - (String)
979
- define_client_method :describe_customer_gateways, 'DescribeCustomerGateways'
1103
+ # * +:ip_address+ - (String)
1104
+ # * +:bgp_asn+ - (String)
1105
+ # * +:tag_set+ - (Array<Hash>)
1106
+ # * +:key+ - (String)
1107
+ # * +:value+ - (String)
980
1108
 
981
1109
  # Calls the DescribeDhcpOptions API operation.
982
1110
  # @method describe_dhcp_options(options = {})
@@ -993,20 +1121,13 @@ module AWS
993
1121
  # The #data method of the response object returns
994
1122
  # a hash with the following structure:
995
1123
  # * +:dhcp_options_set+ - (Array<Hash>)
1124
+ # * +:dhcp_options_id+ - (String)
996
1125
  # * +:dhcp_configuration_set+ - (Array<Hash>)
997
- # * +:value_set+ - (Array<>)
998
- # * +:tag_set+ - (Array<>)
999
- define_client_method :describe_dhcp_options, 'DescribeDhcpOptions'
1000
-
1001
- # Calls the DescribeExportTasks API operation.
1002
- # @method describe_export_tasks(options = {})
1003
- # @param [Hash] options
1004
- # * +:export_task_ids+ - (Array<String>)
1005
- # @return [Core::Response]
1006
- # The #data method of the response object returns
1007
- # a hash with the following structure:
1008
- # * +:export_task_set+ - (Array<>)
1009
- define_client_method :describe_export_tasks, 'DescribeExportTasks'
1126
+ # * +:key+ - (String)
1127
+ # * +:value_set+ - (Array<String>)
1128
+ # * +:tag_set+ - (Array<Hash>)
1129
+ # * +:key+ - (String)
1130
+ # * +:value+ - (String)
1010
1131
 
1011
1132
  # Calls the DescribeImageAttribute API operation.
1012
1133
  # @method describe_image_attribute(options = {})
@@ -1019,14 +1140,27 @@ module AWS
1019
1140
  # @return [Core::Response]
1020
1141
  # The #data method of the response object returns
1021
1142
  # a hash with the following structure:
1022
- # * +:launch_permission+ - (Array<>)
1023
- # * +:product_codes+ - (Array<>)
1143
+ # * +:image_id+ - (String)
1144
+ # * +:launch_permission+ - (Array<Hash>)
1145
+ # * +:user_id+ - (String)
1146
+ # * +:group+ - (String)
1147
+ # * +:product_codes+ - (Array<Hash>)
1148
+ # * +:product_code+ - (String)
1149
+ # * +:type+ - (String)
1150
+ # * +:kernel+ - (Hash)
1151
+ # * +:value+ - (String)
1152
+ # * +:ramdisk+ - (Hash)
1153
+ # * +:value+ - (String)
1154
+ # * +:description+ - (Hash)
1155
+ # * +:value+ - (String)
1024
1156
  # * +:block_device_mapping+ - (Array<Hash>)
1157
+ # * +:virtual_name+ - (String)
1158
+ # * +:device_name+ - (String)
1025
1159
  # * +:ebs+ - (Hash)
1160
+ # * +:snapshot_id+ - (String)
1026
1161
  # * +:volume_size+ - (Integer)
1027
1162
  # * +:delete_on_termination+ - (Boolean)
1028
- # * +:iops+ - (Integer)
1029
- define_client_method :describe_image_attribute, 'DescribeImageAttribute'
1163
+ # * +:no_device+ - (String)
1030
1164
 
1031
1165
  # Calls the DescribeImages API operation.
1032
1166
  # @method describe_images(options = {})
@@ -1052,15 +1186,40 @@ module AWS
1052
1186
  # The #data method of the response object returns
1053
1187
  # a hash with the following structure:
1054
1188
  # * +:images_set+ - (Array<Hash>)
1189
+ # * +:image_id+ - (String)
1190
+ # * +:image_location+ - (String)
1191
+ # * +:image_state+ - (String)
1192
+ # * +:image_owner_id+ - (String)
1055
1193
  # * +:is_public+ - (Boolean)
1056
- # * +:product_codes+ - (Array<>)
1194
+ # * +:product_codes+ - (Array<Hash>)
1195
+ # * +:product_code+ - (String)
1196
+ # * +:type+ - (String)
1197
+ # * +:architecture+ - (String)
1198
+ # * +:image_type+ - (String)
1199
+ # * +:kernel_id+ - (String)
1200
+ # * +:ramdisk_id+ - (String)
1201
+ # * +:platform+ - (String)
1202
+ # * +:state_reason+ - (Hash)
1203
+ # * +:code+ - (String)
1204
+ # * +:message+ - (String)
1205
+ # * +:image_owner_alias+ - (String)
1206
+ # * +:name+ - (String)
1207
+ # * +:description+ - (String)
1208
+ # * +:root_device_type+ - (String)
1209
+ # * +:root_device_name+ - (String)
1057
1210
  # * +:block_device_mapping+ - (Array<Hash>)
1211
+ # * +:virtual_name+ - (String)
1212
+ # * +:device_name+ - (String)
1058
1213
  # * +:ebs+ - (Hash)
1214
+ # * +:snapshot_id+ - (String)
1059
1215
  # * +:volume_size+ - (Integer)
1060
1216
  # * +:delete_on_termination+ - (Boolean)
1061
- # * +:iops+ - (Integer)
1062
- # * +:tag_set+ - (Array<>)
1063
- define_client_method :describe_images, 'DescribeImages'
1217
+ # * +:no_device+ - (String)
1218
+ # * +:virtualization_type+ - (String)
1219
+ # * +:tag_set+ - (Array<Hash>)
1220
+ # * +:key+ - (String)
1221
+ # * +:value+ - (String)
1222
+ # * +:hypervisor+ - (String)
1064
1223
 
1065
1224
  # Calls the DescribeInstanceAttribute API operation.
1066
1225
  # @method describe_instance_attribute(options = {})
@@ -1074,16 +1233,28 @@ module AWS
1074
1233
  # @return [Core::Response]
1075
1234
  # The #data method of the response object returns
1076
1235
  # a hash with the following structure:
1236
+ # * +:instance_id+ - (String)
1237
+ # * +:instance_type+ - (Hash)
1238
+ # * +:value+ - (String)
1239
+ # * +:kernel+ - (Hash)
1240
+ # * +:value+ - (String)
1241
+ # * +:ramdisk+ - (Hash)
1242
+ # * +:value+ - (String)
1243
+ # * +:user_data+ - (Hash)
1244
+ # * +:value+ - (String)
1077
1245
  # * +:disable_api_termination+ - (Hash)
1078
1246
  # * +:value+ - (Boolean)
1247
+ # * +:instance_initiated_shutdown_behavior+ - (Hash)
1248
+ # * +:value+ - (String)
1249
+ # * +:root_device_name+ - (Hash)
1250
+ # * +:value+ - (String)
1079
1251
  # * +:block_device_mapping+ - (Array<Hash>)
1252
+ # * +:device_name+ - (String)
1080
1253
  # * +:ebs+ - (Hash)
1254
+ # * +:volume_id+ - (String)
1255
+ # * +:status+ - (String)
1081
1256
  # * +:attach_time+ - (Time)
1082
1257
  # * +:delete_on_termination+ - (Boolean)
1083
- # * +:product_codes+ - (Array<>)
1084
- # * +:ebs_optimized+ - (Hash)
1085
- # * +:value+ - (Boolean)
1086
- define_client_method :describe_instance_attribute, 'DescribeInstanceAttribute'
1087
1258
 
1088
1259
  # Calls the DescribeInstanceStatus API operation.
1089
1260
  # @method describe_instance_status(options = {})
@@ -1099,23 +1270,31 @@ module AWS
1099
1270
  # of results to return.
1100
1271
  # * +:max_results+ - (Integer) The maximum number of paginated instance
1101
1272
  # items per response.
1102
- # * +:include_all_instances+ - (Boolean)
1103
1273
  # @return [Core::Response]
1104
1274
  # The #data method of the response object returns
1105
1275
  # a hash with the following structure:
1106
1276
  # * +:instance_status_set+ - (Array<Hash>)
1277
+ # * +:instance_id+ - (String)
1278
+ # * +:availability_zone+ - (String)
1107
1279
  # * +:events_set+ - (Array<Hash>)
1280
+ # * +:code+ - (String)
1281
+ # * +:description+ - (String)
1108
1282
  # * +:not_before+ - (Time)
1109
1283
  # * +:not_after+ - (Time)
1110
1284
  # * +:instance_state+ - (Hash)
1111
1285
  # * +:code+ - (Integer)
1286
+ # * +:name+ - (String)
1112
1287
  # * +:system_status+ - (Hash)
1288
+ # * +:status+ - (String)
1113
1289
  # * +:details+ - (Array<Hash>)
1114
- # * +:impaired_since+ - (Time)
1290
+ # * +:name+ - (String)
1291
+ # * +:status+ - (String)
1115
1292
  # * +:instance_status+ - (Hash)
1293
+ # * +:status+ - (String)
1116
1294
  # * +:details+ - (Array<Hash>)
1117
- # * +:impaired_since+ - (Time)
1118
- define_client_method :describe_instance_status, 'DescribeInstanceStatus'
1295
+ # * +:name+ - (String)
1296
+ # * +:status+ - (String)
1297
+ # * +:next_token+ - (String)
1119
1298
 
1120
1299
  # Calls the DescribeInstances API operation.
1121
1300
  # @method describe_instances(options = {})
@@ -1132,29 +1311,90 @@ module AWS
1132
1311
  # The #data method of the response object returns
1133
1312
  # a hash with the following structure:
1134
1313
  # * +:reservation_set+ - (Array<Hash>)
1135
- # * +:group_set+ - (Array<>)
1314
+ # * +:reservation_id+ - (String)
1315
+ # * +:owner_id+ - (String)
1316
+ # * +:requester_id+ - (String)
1317
+ # * +:group_set+ - (Array<Hash>)
1318
+ # * +:group_name+ - (String)
1319
+ # * +:group_id+ - (String)
1136
1320
  # * +:instances_set+ - (Array<Hash>)
1321
+ # * +:instance_id+ - (String)
1322
+ # * +:image_id+ - (String)
1137
1323
  # * +:instance_state+ - (Hash)
1138
1324
  # * +:code+ - (Integer)
1325
+ # * +:name+ - (String)
1326
+ # * +:private_dns_name+ - (String)
1327
+ # * +:dns_name+ - (String)
1328
+ # * +:reason+ - (String)
1329
+ # * +:key_name+ - (String)
1139
1330
  # * +:ami_launch_index+ - (Integer)
1140
- # * +:product_codes+ - (Array<>)
1331
+ # * +:product_codes+ - (Array<Hash>)
1332
+ # * +:product_code+ - (String)
1333
+ # * +:type+ - (String)
1334
+ # * +:instance_type+ - (String)
1141
1335
  # * +:launch_time+ - (Time)
1336
+ # * +:placement+ - (Hash)
1337
+ # * +:availability_zone+ - (String)
1338
+ # * +:group_name+ - (String)
1339
+ # * +:tenancy+ - (String)
1340
+ # * +:kernel_id+ - (String)
1341
+ # * +:ramdisk_id+ - (String)
1342
+ # * +:platform+ - (String)
1343
+ # * +:monitoring+ - (Hash)
1344
+ # * +:state+ - (String)
1345
+ # * +:subnet_id+ - (String)
1346
+ # * +:vpc_id+ - (String)
1347
+ # * +:private_ip_address+ - (String)
1348
+ # * +:ip_address+ - (String)
1349
+ # * +:state_reason+ - (Hash)
1350
+ # * +:code+ - (String)
1351
+ # * +:message+ - (String)
1352
+ # * +:architecture+ - (String)
1353
+ # * +:root_device_type+ - (String)
1354
+ # * +:root_device_name+ - (String)
1142
1355
  # * +:block_device_mapping+ - (Array<Hash>)
1356
+ # * +:device_name+ - (String)
1143
1357
  # * +:ebs+ - (Hash)
1358
+ # * +:volume_id+ - (String)
1359
+ # * +:status+ - (String)
1144
1360
  # * +:attach_time+ - (Time)
1145
1361
  # * +:delete_on_termination+ - (Boolean)
1146
- # * +:tag_set+ - (Array<>)
1147
- # * +:group_set+ - (Array<>)
1362
+ # * +:virtualization_type+ - (String)
1363
+ # * +:instance_lifecycle+ - (String)
1364
+ # * +:spot_instance_request_id+ - (String)
1365
+ # * +:license+ - (Hash)
1366
+ # * +:pool+ - (String)
1367
+ # * +:client_token+ - (String)
1368
+ # * +:tag_set+ - (Array<Hash>)
1369
+ # * +:key+ - (String)
1370
+ # * +:value+ - (String)
1371
+ # * +:group_set+ - (Array<Hash>)
1372
+ # * +:group_name+ - (String)
1373
+ # * +:group_id+ - (String)
1148
1374
  # * +:source_dest_check+ - (Boolean)
1375
+ # * +:hypervisor+ - (String)
1149
1376
  # * +:network_interface_set+ - (Array<Hash>)
1377
+ # * +:network_interface_id+ - (String)
1378
+ # * +:subnet_id+ - (String)
1379
+ # * +:vpc_id+ - (String)
1380
+ # * +:description+ - (String)
1381
+ # * +:owner_id+ - (String)
1382
+ # * +:status+ - (String)
1383
+ # * +:private_ip_address+ - (String)
1384
+ # * +:private_dns_name+ - (String)
1150
1385
  # * +:source_dest_check+ - (Boolean)
1151
- # * +:group_set+ - (Array<>)
1386
+ # * +:group_set+ - (Array<Hash>)
1387
+ # * +:group_name+ - (String)
1388
+ # * +:group_id+ - (String)
1152
1389
  # * +:attachment+ - (Hash)
1390
+ # * +:attachment_id+ - (String)
1153
1391
  # * +:device_index+ - (Integer)
1392
+ # * +:status+ - (String)
1154
1393
  # * +:attach_time+ - (Time)
1155
1394
  # * +:delete_on_termination+ - (Boolean)
1156
- # * +:ebs_optimized+ - (Boolean)
1157
- define_client_method :describe_instances, 'DescribeInstances'
1395
+ # * +:association+ - (Hash)
1396
+ # * +:public_ip+ - (String)
1397
+ # * +:ip_owner_id+ - (String)
1158
1398
 
1159
1399
  # Calls the DescribeInternetGateways API operation.
1160
1400
  # @method describe_internet_gateways(options = {})
@@ -1172,9 +1412,13 @@ module AWS
1172
1412
  # The #data method of the response object returns
1173
1413
  # a hash with the following structure:
1174
1414
  # * +:internet_gateway_set+ - (Array<Hash>)
1175
- # * +:attachment_set+ - (Array<>)
1176
- # * +:tag_set+ - (Array<>)
1177
- define_client_method :describe_internet_gateways, 'DescribeInternetGateways'
1415
+ # * +:internet_gateway_id+ - (String)
1416
+ # * +:attachment_set+ - (Array<Hash>)
1417
+ # * +:vpc_id+ - (String)
1418
+ # * +:state+ - (String)
1419
+ # * +:tag_set+ - (Array<Hash>)
1420
+ # * +:key+ - (String)
1421
+ # * +:value+ - (String)
1178
1422
 
1179
1423
  # Calls the DescribeKeyPairs API operation.
1180
1424
  # @method describe_key_pairs(options = {})
@@ -1190,8 +1434,9 @@ module AWS
1190
1434
  # @return [Core::Response]
1191
1435
  # The #data method of the response object returns
1192
1436
  # a hash with the following structure:
1193
- # * +:key_set+ - (Array<>)
1194
- define_client_method :describe_key_pairs, 'DescribeKeyPairs'
1437
+ # * +:key_set+ - (Array<Hash>)
1438
+ # * +:key_name+ - (String)
1439
+ # * +:key_fingerprint+ - (String)
1195
1440
 
1196
1441
  # Calls the DescribeLicenses API operation.
1197
1442
  # @method describe_licenses(options = {})
@@ -1208,12 +1453,17 @@ module AWS
1208
1453
  # The #data method of the response object returns
1209
1454
  # a hash with the following structure:
1210
1455
  # * +:license_set+ - (Array<Hash>)
1456
+ # * +:license_id+ - (String)
1457
+ # * +:type+ - (String)
1458
+ # * +:pool+ - (String)
1211
1459
  # * +:capacity_set+ - (Array<Hash>)
1212
1460
  # * +:capacity+ - (Integer)
1213
1461
  # * +:instance_capacity+ - (Integer)
1462
+ # * +:state+ - (String)
1214
1463
  # * +:earliest_allowed_deactivation_time+ - (Time)
1215
- # * +:tag_set+ - (Array<>)
1216
- define_client_method :describe_licenses, 'DescribeLicenses'
1464
+ # * +:tag_set+ - (Array<Hash>)
1465
+ # * +:key+ - (String)
1466
+ # * +:value+ - (String)
1217
1467
 
1218
1468
  # Calls the DescribeNetworkAcls API operation.
1219
1469
  # @method describe_network_acls(options = {})
@@ -1230,19 +1480,28 @@ module AWS
1230
1480
  # The #data method of the response object returns
1231
1481
  # a hash with the following structure:
1232
1482
  # * +:network_acl_set+ - (Array<Hash>)
1483
+ # * +:network_acl_id+ - (String)
1484
+ # * +:vpc_id+ - (String)
1233
1485
  # * +:default+ - (Boolean)
1234
1486
  # * +:entry_set+ - (Array<Hash>)
1235
1487
  # * +:rule_number+ - (Integer)
1488
+ # * +:protocol+ - (String)
1489
+ # * +:rule_action+ - (String)
1236
1490
  # * +:egress+ - (Boolean)
1491
+ # * +:cidr_block+ - (String)
1237
1492
  # * +:icmp_type_code+ - (Hash)
1238
1493
  # * +:type+ - (Integer)
1239
1494
  # * +:code+ - (Integer)
1240
1495
  # * +:port_range+ - (Hash)
1241
1496
  # * +:from+ - (Integer)
1242
1497
  # * +:to+ - (Integer)
1243
- # * +:association_set+ - (Array<>)
1244
- # * +:tag_set+ - (Array<>)
1245
- define_client_method :describe_network_acls, 'DescribeNetworkAcls'
1498
+ # * +:association_set+ - (Array<Hash>)
1499
+ # * +:network_acl_association_id+ - (String)
1500
+ # * +:network_acl_id+ - (String)
1501
+ # * +:subnet_id+ - (String)
1502
+ # * +:tag_set+ - (Array<Hash>)
1503
+ # * +:key+ - (String)
1504
+ # * +:value+ - (String)
1246
1505
 
1247
1506
  # Calls the DescribeNetworkInterfaceAttribute API operation.
1248
1507
  # @method describe_network_interface_attribute(options = {})
@@ -1255,14 +1514,22 @@ module AWS
1255
1514
  # @return [Core::Response]
1256
1515
  # The #data method of the response object returns
1257
1516
  # a hash with the following structure:
1517
+ # * +:network_interface_id+ - (String)
1518
+ # * +:description+ - (Hash)
1519
+ # * +:value+ - (String)
1258
1520
  # * +:source_dest_check+ - (Hash)
1259
1521
  # * +:value+ - (Boolean)
1260
- # * +:group_set+ - (Array<>)
1522
+ # * +:group_set+ - (Array<Hash>)
1523
+ # * +:group_name+ - (String)
1524
+ # * +:group_id+ - (String)
1261
1525
  # * +:attachment+ - (Hash)
1526
+ # * +:attachment_id+ - (String)
1527
+ # * +:instance_id+ - (String)
1528
+ # * +:instance_owner_id+ - (String)
1262
1529
  # * +:device_index+ - (Integer)
1530
+ # * +:status+ - (String)
1263
1531
  # * +:attach_time+ - (Time)
1264
1532
  # * +:delete_on_termination+ - (Boolean)
1265
- define_client_method :describe_network_interface_attribute, 'DescribeNetworkInterfaceAttribute'
1266
1533
 
1267
1534
  # Calls the DescribeNetworkInterfaces API operation.
1268
1535
  # @method describe_network_interfaces(options = {})
@@ -1276,17 +1543,38 @@ module AWS
1276
1543
  # The #data method of the response object returns
1277
1544
  # a hash with the following structure:
1278
1545
  # * +:network_interface_set+ - (Array<Hash>)
1546
+ # * +:network_interface_id+ - (String)
1547
+ # * +:subnet_id+ - (String)
1548
+ # * +:vpc_id+ - (String)
1549
+ # * +:availability_zone+ - (String)
1550
+ # * +:description+ - (String)
1551
+ # * +:owner_id+ - (String)
1552
+ # * +:requester_id+ - (String)
1279
1553
  # * +:requester_managed+ - (Boolean)
1554
+ # * +:status+ - (String)
1555
+ # * +:mac_address+ - (String)
1556
+ # * +:private_ip_address+ - (String)
1557
+ # * +:private_dns_name+ - (String)
1280
1558
  # * +:source_dest_check+ - (Boolean)
1281
- # * +:groups+ - (Array<>)
1559
+ # * +:groups+ - (Array<Hash>)
1560
+ # * +:group_name+ - (String)
1561
+ # * +:group_id+ - (String)
1282
1562
  # * +:attachment+ - (Hash)
1563
+ # * +:attachment_id+ - (String)
1564
+ # * +:instance_id+ - (String)
1565
+ # * +:instance_owner_id+ - (String)
1283
1566
  # * +:device_index+ - (Integer)
1567
+ # * +:status+ - (String)
1284
1568
  # * +:attach_time+ - (Time)
1285
1569
  # * +:delete_on_termination+ - (Boolean)
1286
- # * +:tag_set+ - (Array<>)
1287
- # * +:private_ip_addresses_set+ - (Array<Hash>)
1288
- # * +:primary+ - (Boolean)
1289
- define_client_method :describe_network_interfaces, 'DescribeNetworkInterfaces'
1570
+ # * +:association+ - (Hash)
1571
+ # * +:public_ip+ - (String)
1572
+ # * +:ip_owner_id+ - (String)
1573
+ # * +:allocation_id+ - (String)
1574
+ # * +:association_id+ - (String)
1575
+ # * +:tag_set+ - (Array<Hash>)
1576
+ # * +:key+ - (String)
1577
+ # * +:value+ - (String)
1290
1578
 
1291
1579
  # Calls the DescribePlacementGroups API operation.
1292
1580
  # @method describe_placement_groups(options = {})
@@ -1302,8 +1590,10 @@ module AWS
1302
1590
  # @return [Core::Response]
1303
1591
  # The #data method of the response object returns
1304
1592
  # a hash with the following structure:
1305
- # * +:placement_group_set+ - (Array<>)
1306
- define_client_method :describe_placement_groups, 'DescribePlacementGroups'
1593
+ # * +:placement_group_set+ - (Array<Hash>)
1594
+ # * +:group_name+ - (String)
1595
+ # * +:strategy+ - (String)
1596
+ # * +:state+ - (String)
1307
1597
 
1308
1598
  # Calls the DescribeRegions API operation.
1309
1599
  # @method describe_regions(options = {})
@@ -1319,8 +1609,9 @@ module AWS
1319
1609
  # @return [Core::Response]
1320
1610
  # The #data method of the response object returns
1321
1611
  # a hash with the following structure:
1322
- # * +:region_info+ - (Array<>)
1323
- define_client_method :describe_regions, 'DescribeRegions'
1612
+ # * +:region_info+ - (Array<Hash>)
1613
+ # * +:region_name+ - (String)
1614
+ # * +:region_endpoint+ - (String)
1324
1615
 
1325
1616
  # Calls the DescribeReservedInstances API operation.
1326
1617
  # @method describe_reserved_instances(options = {})
@@ -1339,15 +1630,25 @@ module AWS
1339
1630
  # The #data method of the response object returns
1340
1631
  # a hash with the following structure:
1341
1632
  # * +:reserved_instances_set+ - (Array<Hash>)
1633
+ # * +:reserved_instances_id+ - (String)
1634
+ # * +:instance_type+ - (String)
1635
+ # * +:availability_zone+ - (String)
1342
1636
  # * +:start+ - (Time)
1343
1637
  # * +:duration+ - (Integer)
1344
1638
  # * +:usage_price+ - (Numeric)
1345
1639
  # * +:fixed_price+ - (Numeric)
1346
1640
  # * +:instance_count+ - (Integer)
1347
- # * +:tag_set+ - (Array<>)
1641
+ # * +:product_description+ - (String)
1642
+ # * +:state+ - (String)
1643
+ # * +:tag_set+ - (Array<Hash>)
1644
+ # * +:key+ - (String)
1645
+ # * +:value+ - (String)
1646
+ # * +:instance_tenancy+ - (String)
1647
+ # * +:currency_code+ - (String)
1648
+ # * +:offering_type+ - (String)
1348
1649
  # * +:recurring_charges+ - (Array<Hash>)
1650
+ # * +:frequency+ - (String)
1349
1651
  # * +:amount+ - (Numeric)
1350
- define_client_method :describe_reserved_instances, 'DescribeReservedInstances'
1351
1652
 
1352
1653
  # Calls the DescribeReservedInstancesOfferings API operation.
1353
1654
  # @method describe_reserved_instances_offerings(options = {})
@@ -1376,12 +1677,19 @@ module AWS
1376
1677
  # The #data method of the response object returns
1377
1678
  # a hash with the following structure:
1378
1679
  # * +:reserved_instances_offerings_set+ - (Array<Hash>)
1680
+ # * +:reserved_instances_offering_id+ - (String)
1681
+ # * +:instance_type+ - (String)
1682
+ # * +:availability_zone+ - (String)
1379
1683
  # * +:duration+ - (Integer)
1380
1684
  # * +:usage_price+ - (Numeric)
1381
1685
  # * +:fixed_price+ - (Numeric)
1686
+ # * +:product_description+ - (String)
1687
+ # * +:instance_tenancy+ - (String)
1688
+ # * +:currency_code+ - (String)
1689
+ # * +:offering_type+ - (String)
1382
1690
  # * +:recurring_charges+ - (Array<Hash>)
1691
+ # * +:frequency+ - (String)
1383
1692
  # * +:amount+ - (Numeric)
1384
- define_client_method :describe_reserved_instances_offerings, 'DescribeReservedInstancesOfferings'
1385
1693
 
1386
1694
  # Calls the DescribeRouteTables API operation.
1387
1695
  # @method describe_route_tables(options = {})
@@ -1398,11 +1706,23 @@ module AWS
1398
1706
  # The #data method of the response object returns
1399
1707
  # a hash with the following structure:
1400
1708
  # * +:route_table_set+ - (Array<Hash>)
1401
- # * +:route_set+ - (Array<>)
1709
+ # * +:route_table_id+ - (String)
1710
+ # * +:vpc_id+ - (String)
1711
+ # * +:route_set+ - (Array<Hash>)
1712
+ # * +:destination_cidr_block+ - (String)
1713
+ # * +:gateway_id+ - (String)
1714
+ # * +:instance_id+ - (String)
1715
+ # * +:instance_owner_id+ - (String)
1716
+ # * +:network_interface_id+ - (String)
1717
+ # * +:state+ - (String)
1402
1718
  # * +:association_set+ - (Array<Hash>)
1719
+ # * +:route_table_association_id+ - (String)
1720
+ # * +:route_table_id+ - (String)
1721
+ # * +:subnet_id+ - (String)
1403
1722
  # * +:main+ - (Boolean)
1404
- # * +:tag_set+ - (Array<>)
1405
- define_client_method :describe_route_tables, 'DescribeRouteTables'
1723
+ # * +:tag_set+ - (Array<Hash>)
1724
+ # * +:key+ - (String)
1725
+ # * +:value+ - (String)
1406
1726
 
1407
1727
  # Calls the DescribeSecurityGroups API operation.
1408
1728
  # @method describe_security_groups(options = {})
@@ -1421,19 +1741,34 @@ module AWS
1421
1741
  # The #data method of the response object returns
1422
1742
  # a hash with the following structure:
1423
1743
  # * +:security_group_info+ - (Array<Hash>)
1744
+ # * +:owner_id+ - (String)
1745
+ # * +:group_name+ - (String)
1746
+ # * +:group_id+ - (String)
1747
+ # * +:group_description+ - (String)
1424
1748
  # * +:ip_permissions+ - (Array<Hash>)
1749
+ # * +:ip_protocol+ - (String)
1425
1750
  # * +:from_port+ - (Integer)
1426
1751
  # * +:to_port+ - (Integer)
1427
- # * +:groups+ - (Array<>)
1428
- # * +:ip_ranges+ - (Array<>)
1429
- # * +:ip_protocol+ - (String)
1752
+ # * +:groups+ - (Array<Hash>)
1753
+ # * +:user_id+ - (String)
1754
+ # * +:group_name+ - (String)
1755
+ # * +:group_id+ - (String)
1756
+ # * +:ip_ranges+ - (Array<Hash>)
1757
+ # * +:cidr_ip+ - (String)
1430
1758
  # * +:ip_permissions_egress+ - (Array<Hash>)
1759
+ # * +:ip_protocol+ - (String)
1431
1760
  # * +:from_port+ - (Integer)
1432
1761
  # * +:to_port+ - (Integer)
1433
- # * +:groups+ - (Array<>)
1434
- # * +:ip_ranges+ - (Array<>)
1435
- # * +:tag_set+ - (Array<>)
1436
- define_client_method :describe_security_groups, 'DescribeSecurityGroups'
1762
+ # * +:groups+ - (Array<Hash>)
1763
+ # * +:user_id+ - (String)
1764
+ # * +:group_name+ - (String)
1765
+ # * +:group_id+ - (String)
1766
+ # * +:ip_ranges+ - (Array<Hash>)
1767
+ # * +:cidr_ip+ - (String)
1768
+ # * +:vpc_id+ - (String)
1769
+ # * +:tag_set+ - (Array<Hash>)
1770
+ # * +:key+ - (String)
1771
+ # * +:value+ - (String)
1437
1772
 
1438
1773
  # Calls the DescribeSnapshotAttribute API operation.
1439
1774
  # @method describe_snapshot_attribute(options = {})
@@ -1445,9 +1780,10 @@ module AWS
1445
1780
  # @return [Core::Response]
1446
1781
  # The #data method of the response object returns
1447
1782
  # a hash with the following structure:
1448
- # * +:create_volume_permission+ - (Array<>)
1449
- # * +:product_codes+ - (Array<>)
1450
- define_client_method :describe_snapshot_attribute, 'DescribeSnapshotAttribute'
1783
+ # * +:snapshot_id+ - (String)
1784
+ # * +:create_volume_permission+ - (Array<Hash>)
1785
+ # * +:user_id+ - (String)
1786
+ # * +:group+ - (String)
1451
1787
 
1452
1788
  # Calls the DescribeSnapshots API operation.
1453
1789
  # @method describe_snapshots(options = {})
@@ -1469,16 +1805,33 @@ module AWS
1469
1805
  # The #data method of the response object returns
1470
1806
  # a hash with the following structure:
1471
1807
  # * +:snapshot_set+ - (Array<Hash>)
1808
+ # * +:snapshot_id+ - (String)
1809
+ # * +:volume_id+ - (String)
1810
+ # * +:status+ - (String)
1472
1811
  # * +:start_time+ - (Time)
1812
+ # * +:progress+ - (String)
1813
+ # * +:owner_id+ - (String)
1814
+ # * +:description+ - (String)
1473
1815
  # * +:volume_size+ - (Integer)
1474
- # * +:tag_set+ - (Array<>)
1475
- define_client_method :describe_snapshots, 'DescribeSnapshots'
1816
+ # * +:owner_alias+ - (String)
1817
+ # * +:tag_set+ - (Array<Hash>)
1818
+ # * +:key+ - (String)
1819
+ # * +:value+ - (String)
1476
1820
 
1477
1821
  # Calls the DescribeSpotDatafeedSubscription API operation.
1478
1822
  # @method describe_spot_datafeed_subscription(options = {})
1479
1823
  # @param [Hash] options
1480
1824
  # @return [Core::Response]
1481
- define_client_method :describe_spot_datafeed_subscription, 'DescribeSpotDatafeedSubscription'
1825
+ # The #data method of the response object returns
1826
+ # a hash with the following structure:
1827
+ # * +:spot_datafeed_subscription+ - (Hash)
1828
+ # * +:owner_id+ - (String)
1829
+ # * +:bucket+ - (String)
1830
+ # * +:prefix+ - (String)
1831
+ # * +:state+ - (String)
1832
+ # * +:fault+ - (Hash)
1833
+ # * +:code+ - (String)
1834
+ # * +:message+ - (String)
1482
1835
 
1483
1836
  # Calls the DescribeSpotInstanceRequests API operation.
1484
1837
  # @method describe_spot_instance_requests(options = {})
@@ -1496,27 +1849,56 @@ module AWS
1496
1849
  # The #data method of the response object returns
1497
1850
  # a hash with the following structure:
1498
1851
  # * +:spot_instance_request_set+ - (Array<Hash>)
1852
+ # * +:spot_instance_request_id+ - (String)
1853
+ # * +:spot_price+ - (String)
1854
+ # * +:type+ - (String)
1855
+ # * +:state+ - (String)
1856
+ # * +:fault+ - (Hash)
1857
+ # * +:code+ - (String)
1858
+ # * +:message+ - (String)
1499
1859
  # * +:valid_from+ - (Time)
1500
1860
  # * +:valid_until+ - (Time)
1861
+ # * +:launch_group+ - (String)
1862
+ # * +:availability_zone_group+ - (String)
1501
1863
  # * +:launch_specification+ - (Hash)
1502
- # * +:group_set+ - (Array<>)
1864
+ # * +:image_id+ - (String)
1865
+ # * +:key_name+ - (String)
1866
+ # * +:group_set+ - (Array<Hash>)
1867
+ # * +:group_name+ - (String)
1868
+ # * +:group_id+ - (String)
1869
+ # * +:user_data+ - (String)
1870
+ # * +:addressing_type+ - (String)
1871
+ # * +:instance_type+ - (String)
1872
+ # * +:placement+ - (Hash)
1873
+ # * +:availability_zone+ - (String)
1874
+ # * +:group_name+ - (String)
1875
+ # * +:kernel_id+ - (String)
1876
+ # * +:ramdisk_id+ - (String)
1503
1877
  # * +:block_device_mapping+ - (Array<Hash>)
1878
+ # * +:virtual_name+ - (String)
1879
+ # * +:device_name+ - (String)
1504
1880
  # * +:ebs+ - (Hash)
1881
+ # * +:snapshot_id+ - (String)
1505
1882
  # * +:volume_size+ - (Integer)
1506
1883
  # * +:delete_on_termination+ - (Boolean)
1507
- # * +:iops+ - (Integer)
1884
+ # * +:no_device+ - (String)
1508
1885
  # * +:monitoring_enabled+ - (Boolean)
1886
+ # * +:subnet_id+ - (String)
1509
1887
  # * +:network_interface_set+ - (Array<Hash>)
1888
+ # * +:network_interface_id+ - (String)
1510
1889
  # * +:device_index+ - (Integer)
1511
- # * +:security_group_id+ - (Array<>)
1890
+ # * +:subnet_id+ - (String)
1891
+ # * +:description+ - (String)
1892
+ # * +:private_ip_address+ - (String)
1893
+ # * +:security_group_id+ - (Array<String>)
1512
1894
  # * +:delete_on_termination+ - (Boolean)
1513
- # * +:private_ip_addresses_set+ - (Array<Hash>)
1514
- # * +:primary+ - (Boolean)
1515
- # * +:secondary_private_ip_address_count+ - (Integer)
1516
- # * +:ebs_optimized+ - (Boolean)
1895
+ # * +:instance_id+ - (String)
1517
1896
  # * +:create_time+ - (Time)
1518
- # * +:tag_set+ - (Array<>)
1519
- define_client_method :describe_spot_instance_requests, 'DescribeSpotInstanceRequests'
1897
+ # * +:product_description+ - (String)
1898
+ # * +:tag_set+ - (Array<Hash>)
1899
+ # * +:key+ - (String)
1900
+ # * +:value+ - (String)
1901
+ # * +:launched_availability_zone+ - (String)
1520
1902
 
1521
1903
  # Calls the DescribeSpotPriceHistory API operation.
1522
1904
  # @method describe_spot_price_history(options = {})
@@ -1544,8 +1926,12 @@ module AWS
1544
1926
  # The #data method of the response object returns
1545
1927
  # a hash with the following structure:
1546
1928
  # * +:spot_price_history_set+ - (Array<Hash>)
1929
+ # * +:instance_type+ - (String)
1930
+ # * +:product_description+ - (String)
1931
+ # * +:spot_price+ - (String)
1547
1932
  # * +:timestamp+ - (Time)
1548
- define_client_method :describe_spot_price_history, 'DescribeSpotPriceHistory'
1933
+ # * +:availability_zone+ - (String)
1934
+ # * +:next_token+ - (String)
1549
1935
 
1550
1936
  # Calls the DescribeSubnets API operation.
1551
1937
  # @method describe_subnets(options = {})
@@ -1561,9 +1947,15 @@ module AWS
1561
1947
  # The #data method of the response object returns
1562
1948
  # a hash with the following structure:
1563
1949
  # * +:subnet_set+ - (Array<Hash>)
1950
+ # * +:subnet_id+ - (String)
1951
+ # * +:state+ - (String)
1952
+ # * +:vpc_id+ - (String)
1953
+ # * +:cidr_block+ - (String)
1564
1954
  # * +:available_ip_address_count+ - (Integer)
1565
- # * +:tag_set+ - (Array<>)
1566
- define_client_method :describe_subnets, 'DescribeSubnets'
1955
+ # * +:availability_zone+ - (String)
1956
+ # * +:tag_set+ - (Array<Hash>)
1957
+ # * +:key+ - (String)
1958
+ # * +:value+ - (String)
1567
1959
 
1568
1960
  # Calls the DescribeTags API operation.
1569
1961
  # @method describe_tags(options = {})
@@ -1576,8 +1968,11 @@ module AWS
1576
1968
  # @return [Core::Response]
1577
1969
  # The #data method of the response object returns
1578
1970
  # a hash with the following structure:
1579
- # * +:tag_set+ - (Array<>)
1580
- define_client_method :describe_tags, 'DescribeTags'
1971
+ # * +:tag_set+ - (Array<Hash>)
1972
+ # * +:resource_id+ - (String)
1973
+ # * +:resource_type+ - (String)
1974
+ # * +:key+ - (String)
1975
+ # * +:value+ - (String)
1581
1976
 
1582
1977
  # Calls the DescribeVolumeAttribute API operation.
1583
1978
  # @method describe_volume_attribute(options = {})
@@ -1587,10 +1982,9 @@ module AWS
1587
1982
  # @return [Core::Response]
1588
1983
  # The #data method of the response object returns
1589
1984
  # a hash with the following structure:
1985
+ # * +:volume_id+ - (String)
1590
1986
  # * +:auto_enable_io+ - (Hash)
1591
1987
  # * +:value+ - (Boolean)
1592
- # * +:product_codes+ - (Array<>)
1593
- define_client_method :describe_volume_attribute, 'DescribeVolumeAttribute'
1594
1988
 
1595
1989
  # Calls the DescribeVolumeStatus API operation.
1596
1990
  # @method describe_volume_status(options = {})
@@ -1606,13 +2000,25 @@ module AWS
1606
2000
  # The #data method of the response object returns
1607
2001
  # a hash with the following structure:
1608
2002
  # * +:volume_status_set+ - (Array<Hash>)
2003
+ # * +:volume_id+ - (String)
2004
+ # * +:availability_zone+ - (String)
1609
2005
  # * +:volume_status+ - (Hash)
1610
- # * +:details+ - (Array<>)
2006
+ # * +:status+ - (String)
2007
+ # * +:details+ - (Array<Hash>)
2008
+ # * +:name+ - (String)
2009
+ # * +:status+ - (String)
1611
2010
  # * +:events_set+ - (Array<Hash>)
2011
+ # * +:event_type+ - (String)
2012
+ # * +:description+ - (String)
1612
2013
  # * +:not_before+ - (Time)
1613
2014
  # * +:not_after+ - (Time)
1614
- # * +:actions_set+ - (Array<>)
1615
- define_client_method :describe_volume_status, 'DescribeVolumeStatus'
2015
+ # * +:event_id+ - (String)
2016
+ # * +:actions_set+ - (Array<Hash>)
2017
+ # * +:code+ - (String)
2018
+ # * +:description+ - (String)
2019
+ # * +:event_type+ - (String)
2020
+ # * +:event_id+ - (String)
2021
+ # * +:next_token+ - (String)
1616
2022
 
1617
2023
  # Calls the DescribeVolumes API operation.
1618
2024
  # @method describe_volumes(options = {})
@@ -1629,14 +2035,24 @@ module AWS
1629
2035
  # The #data method of the response object returns
1630
2036
  # a hash with the following structure:
1631
2037
  # * +:volume_set+ - (Array<Hash>)
2038
+ # * +:volume_id+ - (String)
1632
2039
  # * +:size+ - (Integer)
2040
+ # * +:snapshot_id+ - (String)
2041
+ # * +:availability_zone+ - (String)
2042
+ # * +:status+ - (String)
1633
2043
  # * +:create_time+ - (Time)
1634
2044
  # * +:attachment_set+ - (Array<Hash>)
2045
+ # * +:volume_id+ - (String)
2046
+ # * +:instance_id+ - (String)
2047
+ # * +:device+ - (String)
2048
+ # * +:status+ - (String)
1635
2049
  # * +:attach_time+ - (Time)
1636
2050
  # * +:delete_on_termination+ - (Boolean)
1637
- # * +:tag_set+ - (Array<>)
1638
- # * +:iops+ - (Integer)
1639
- define_client_method :describe_volumes, 'DescribeVolumes'
2051
+ # * +:tag_set+ - (Array<Hash>)
2052
+ # * +:key+ - (String)
2053
+ # * +:value+ - (String)
2054
+ # * +:volume_type+ - (String)
2055
+ # * +:iops+ - (String)
1640
2056
 
1641
2057
  # Calls the DescribeVpcs API operation.
1642
2058
  # @method describe_vpcs(options = {})
@@ -1653,8 +2069,14 @@ module AWS
1653
2069
  # The #data method of the response object returns
1654
2070
  # a hash with the following structure:
1655
2071
  # * +:vpc_set+ - (Array<Hash>)
1656
- # * +:tag_set+ - (Array<>)
1657
- define_client_method :describe_vpcs, 'DescribeVpcs'
2072
+ # * +:vpc_id+ - (String)
2073
+ # * +:state+ - (String)
2074
+ # * +:cidr_block+ - (String)
2075
+ # * +:dhcp_options_id+ - (String)
2076
+ # * +:tag_set+ - (Array<Hash>)
2077
+ # * +:key+ - (String)
2078
+ # * +:value+ - (String)
2079
+ # * +:instance_tenancy+ - (String)
1658
2080
 
1659
2081
  # Calls the DescribeVpnConnections API operation.
1660
2082
  # @method describe_vpn_connections(options = {})
@@ -1672,12 +2094,21 @@ module AWS
1672
2094
  # The #data method of the response object returns
1673
2095
  # a hash with the following structure:
1674
2096
  # * +:vpn_connection_set+ - (Array<Hash>)
1675
- # * +:tag_set+ - (Array<>)
2097
+ # * +:vpn_connection_id+ - (String)
2098
+ # * +:state+ - (String)
2099
+ # * +:customer_gateway_configuration+ - (String)
2100
+ # * +:vpn_type+ - (String)
2101
+ # * +:customer_gateway_id+ - (String)
2102
+ # * +:vpn_gateway_id+ - (String)
2103
+ # * +:tag_set+ - (Array<Hash>)
2104
+ # * +:key+ - (String)
2105
+ # * +:value+ - (String)
1676
2106
  # * +:vgw_telemetry+ - (Array<Hash>)
2107
+ # * +:outside_ip_address+ - (String)
2108
+ # * +:status+ - (String)
1677
2109
  # * +:last_status_change+ - (Time)
2110
+ # * +:status_message+ - (String)
1678
2111
  # * +:accepted_route_count+ - (Integer)
1679
- # * +:vpn_type+ - (String)
1680
- define_client_method :describe_vpn_connections, 'DescribeVpnConnections'
1681
2112
 
1682
2113
  # Calls the DescribeVpnGateways API operation.
1683
2114
  # @method describe_vpn_gateways(options = {})
@@ -1697,10 +2128,16 @@ module AWS
1697
2128
  # The #data method of the response object returns
1698
2129
  # a hash with the following structure:
1699
2130
  # * +:vpn_gateway_set+ - (Array<Hash>)
1700
- # * +:attachments+ - (Array<>)
1701
- # * +:tag_set+ - (Array<>)
2131
+ # * +:vpn_gateway_id+ - (String)
2132
+ # * +:state+ - (String)
1702
2133
  # * +:vpn_type+ - (String)
1703
- define_client_method :describe_vpn_gateways, 'DescribeVpnGateways'
2134
+ # * +:availability_zone+ - (String)
2135
+ # * +:attachments+ - (Array<Hash>)
2136
+ # * +:vpc_id+ - (String)
2137
+ # * +:state+ - (String)
2138
+ # * +:tag_set+ - (Array<Hash>)
2139
+ # * +:key+ - (String)
2140
+ # * +:value+ - (String)
1704
2141
 
1705
2142
  # Calls the DetachInternetGateway API operation.
1706
2143
  # @method detach_internet_gateway(options = {})
@@ -1709,7 +2146,6 @@ module AWS
1709
2146
  # Internet gateway to detach.
1710
2147
  # * +:vpc_id+ - *required* - (String) The ID of the VPC.
1711
2148
  # @return [Core::Response]
1712
- define_client_method :detach_internet_gateway, 'DetachInternetGateway'
1713
2149
 
1714
2150
  # Calls the DetachNetworkInterface API operation.
1715
2151
  # @method detach_network_interface(options = {})
@@ -1717,7 +2153,6 @@ module AWS
1717
2153
  # * +:attachment_id+ - *required* - (String)
1718
2154
  # * +:force+ - (Boolean)
1719
2155
  # @return [Core::Response]
1720
- define_client_method :detach_network_interface, 'DetachNetworkInterface'
1721
2156
 
1722
2157
  # Calls the DetachVolume API operation.
1723
2158
  # @method detach_volume(options = {})
@@ -1739,9 +2174,12 @@ module AWS
1739
2174
  # @return [Core::Response]
1740
2175
  # The #data method of the response object returns
1741
2176
  # a hash with the following structure:
2177
+ # * +:volume_id+ - (String)
2178
+ # * +:instance_id+ - (String)
2179
+ # * +:device+ - (String)
2180
+ # * +:status+ - (String)
1742
2181
  # * +:attach_time+ - (Time)
1743
2182
  # * +:delete_on_termination+ - (Boolean)
1744
- define_client_method :detach_volume, 'DetachVolume'
1745
2183
 
1746
2184
  # Calls the DetachVpnGateway API operation.
1747
2185
  # @method detach_vpn_gateway(options = {})
@@ -1751,7 +2189,6 @@ module AWS
1751
2189
  # * +:vpc_id+ - *required* - (String) The ID of the VPC to detach the
1752
2190
  # VPN gateway from.
1753
2191
  # @return [Core::Response]
1754
- define_client_method :detach_vpn_gateway, 'DetachVpnGateway'
1755
2192
 
1756
2193
  # Calls the DisassociateAddress API operation.
1757
2194
  # @method disassociate_address(options = {})
@@ -1761,7 +2198,6 @@ module AWS
1761
2198
  # * +:association_id+ - (String) Association ID corresponding to the
1762
2199
  # VPC elastic IP address you want to disassociate.
1763
2200
  # @return [Core::Response]
1764
- define_client_method :disassociate_address, 'DisassociateAddress'
1765
2201
 
1766
2202
  # Calls the DisassociateRouteTable API operation.
1767
2203
  # @method disassociate_route_table(options = {})
@@ -1770,14 +2206,12 @@ module AWS
1770
2206
  # representing the current association between the route table and
1771
2207
  # subnet.
1772
2208
  # @return [Core::Response]
1773
- define_client_method :disassociate_route_table, 'DisassociateRouteTable'
1774
2209
 
1775
2210
  # Calls the EnableVolumeIO API operation.
1776
2211
  # @method enable_volume_io(options = {})
1777
2212
  # @param [Hash] options
1778
2213
  # * +:volume_id+ - *required* - (String)
1779
2214
  # @return [Core::Response]
1780
- define_client_method :enable_volume_io, 'EnableVolumeIO'
1781
2215
 
1782
2216
  # Calls the GetConsoleOutput API operation.
1783
2217
  # @method get_console_output(options = {})
@@ -1787,8 +2221,9 @@ module AWS
1787
2221
  # @return [Core::Response]
1788
2222
  # The #data method of the response object returns
1789
2223
  # a hash with the following structure:
2224
+ # * +:instance_id+ - (String)
1790
2225
  # * +:timestamp+ - (Time)
1791
- define_client_method :get_console_output, 'GetConsoleOutput'
2226
+ # * +:output+ - (String)
1792
2227
 
1793
2228
  # Calls the GetPasswordData API operation.
1794
2229
  # @method get_password_data(options = {})
@@ -1798,8 +2233,9 @@ module AWS
1798
2233
  # @return [Core::Response]
1799
2234
  # The #data method of the response object returns
1800
2235
  # a hash with the following structure:
2236
+ # * +:instance_id+ - (String)
1801
2237
  # * +:timestamp+ - (Time)
1802
- define_client_method :get_password_data, 'GetPasswordData'
2238
+ # * +:password_data+ - (String)
1803
2239
 
1804
2240
  # Calls the ImportInstance API operation.
1805
2241
  # @method import_instance(options = {})
@@ -1836,8 +2272,6 @@ module AWS
1836
2272
  # gigabytes.
1837
2273
  # * +:delete_on_termination+ - (Boolean) Specifies whether the
1838
2274
  # Amazon EBS volume is deleted on instance termination.
1839
- # * +:volume_type+ - (String)
1840
- # * +:iops+ - (Integer)
1841
2275
  # * +:no_device+ - (String) Specifies the device name to suppress
1842
2276
  # during instance launch.
1843
2277
  # * +:monitoring+ - (Boolean)
@@ -1858,21 +2292,43 @@ module AWS
1858
2292
  # The #data method of the response object returns
1859
2293
  # a hash with the following structure:
1860
2294
  # * +:conversion_task+ - (Hash)
2295
+ # * +:conversion_task_id+ - (String)
2296
+ # * +:expiration_time+ - (String)
1861
2297
  # * +:import_instance+ - (Hash)
1862
2298
  # * +:volumes+ - (Array<Hash>)
1863
2299
  # * +:bytes_converted+ - (Integer)
2300
+ # * +:availability_zone+ - (String)
1864
2301
  # * +:image+ - (Hash)
2302
+ # * +:format+ - (String)
1865
2303
  # * +:size+ - (Integer)
2304
+ # * +:import_manifest_url+ - (String)
2305
+ # * +:checksum+ - (String)
1866
2306
  # * +:volume+ - (Hash)
1867
2307
  # * +:size+ - (Integer)
2308
+ # * +:id+ - (String)
2309
+ # * +:status+ - (String)
2310
+ # * +:status_message+ - (String)
2311
+ # * +:description+ - (String)
2312
+ # * +:instance_id+ - (String)
2313
+ # * +:platform+ - (String)
2314
+ # * +:description+ - (String)
1868
2315
  # * +:import_volume+ - (Hash)
1869
2316
  # * +:bytes_converted+ - (Integer)
2317
+ # * +:availability_zone+ - (String)
2318
+ # * +:description+ - (String)
1870
2319
  # * +:image+ - (Hash)
2320
+ # * +:format+ - (String)
1871
2321
  # * +:size+ - (Integer)
2322
+ # * +:import_manifest_url+ - (String)
2323
+ # * +:checksum+ - (String)
1872
2324
  # * +:volume+ - (Hash)
1873
2325
  # * +:size+ - (Integer)
1874
- # * +:tag_set+ - (Array<>)
1875
- define_client_method :import_instance, 'ImportInstance'
2326
+ # * +:id+ - (String)
2327
+ # * +:state+ - (String)
2328
+ # * +:status_message+ - (String)
2329
+ # * +:tag_set+ - (Array<Hash>)
2330
+ # * +:key+ - (String)
2331
+ # * +:value+ - (String)
1876
2332
 
1877
2333
  # Calls the ImportKeyPair API operation.
1878
2334
  # @method import_key_pair(options = {})
@@ -1882,7 +2338,10 @@ module AWS
1882
2338
  # * +:public_key_material+ - *required* - (String) The public key
1883
2339
  # portion of the key pair being imported.
1884
2340
  # @return [Core::Response]
1885
- define_client_method :import_key_pair, 'ImportKeyPair'
2341
+ # The #data method of the response object returns
2342
+ # a hash with the following structure:
2343
+ # * +:key_name+ - (String)
2344
+ # * +:key_fingerprint+ - (String)
1886
2345
 
1887
2346
  # Calls the ImportVolume API operation.
1888
2347
  # @method import_volume(options = {})
@@ -1899,21 +2358,43 @@ module AWS
1899
2358
  # The #data method of the response object returns
1900
2359
  # a hash with the following structure:
1901
2360
  # * +:conversion_task+ - (Hash)
2361
+ # * +:conversion_task_id+ - (String)
2362
+ # * +:expiration_time+ - (String)
1902
2363
  # * +:import_instance+ - (Hash)
1903
2364
  # * +:volumes+ - (Array<Hash>)
1904
2365
  # * +:bytes_converted+ - (Integer)
2366
+ # * +:availability_zone+ - (String)
1905
2367
  # * +:image+ - (Hash)
2368
+ # * +:format+ - (String)
1906
2369
  # * +:size+ - (Integer)
2370
+ # * +:import_manifest_url+ - (String)
2371
+ # * +:checksum+ - (String)
1907
2372
  # * +:volume+ - (Hash)
1908
2373
  # * +:size+ - (Integer)
2374
+ # * +:id+ - (String)
2375
+ # * +:status+ - (String)
2376
+ # * +:status_message+ - (String)
2377
+ # * +:description+ - (String)
2378
+ # * +:instance_id+ - (String)
2379
+ # * +:platform+ - (String)
2380
+ # * +:description+ - (String)
1909
2381
  # * +:import_volume+ - (Hash)
1910
2382
  # * +:bytes_converted+ - (Integer)
2383
+ # * +:availability_zone+ - (String)
2384
+ # * +:description+ - (String)
1911
2385
  # * +:image+ - (Hash)
2386
+ # * +:format+ - (String)
1912
2387
  # * +:size+ - (Integer)
2388
+ # * +:import_manifest_url+ - (String)
2389
+ # * +:checksum+ - (String)
1913
2390
  # * +:volume+ - (Hash)
1914
2391
  # * +:size+ - (Integer)
1915
- # * +:tag_set+ - (Array<>)
1916
- define_client_method :import_volume, 'ImportVolume'
2392
+ # * +:id+ - (String)
2393
+ # * +:state+ - (String)
2394
+ # * +:status_message+ - (String)
2395
+ # * +:tag_set+ - (Array<Hash>)
2396
+ # * +:key+ - (String)
2397
+ # * +:value+ - (String)
1917
2398
 
1918
2399
  # Calls the ModifyImageAttribute API operation.
1919
2400
  # @method modify_image_attribute(options = {})
@@ -1951,7 +2432,6 @@ module AWS
1951
2432
  # * +:description+ - (Hash)
1952
2433
  # * +:value+ - (String) String value
1953
2434
  # @return [Core::Response]
1954
- define_client_method :modify_image_attribute, 'ModifyImageAttribute'
1955
2435
 
1956
2436
  # Calls the ModifyInstanceAttribute API operation.
1957
2437
  # @method modify_instance_attribute(options = {})
@@ -1998,10 +2478,7 @@ module AWS
1998
2478
  # * +:instance_initiated_shutdown_behavior+ - (Hash)
1999
2479
  # * +:value+ - (String) String value
2000
2480
  # * +:groups+ - (Array<String>)
2001
- # * +:ebs_optimized+ - (Hash)
2002
- # * +:value+ - (Boolean) Boolean value
2003
2481
  # @return [Core::Response]
2004
- define_client_method :modify_instance_attribute, 'ModifyInstanceAttribute'
2005
2482
 
2006
2483
  # Calls the ModifyNetworkInterfaceAttribute API operation.
2007
2484
  # @method modify_network_interface_attribute(options = {})
@@ -2016,7 +2493,6 @@ module AWS
2016
2493
  # * +:attachment_id+ - (String)
2017
2494
  # * +:delete_on_termination+ - (Boolean)
2018
2495
  # @return [Core::Response]
2019
- define_client_method :modify_network_interface_attribute, 'ModifyNetworkInterfaceAttribute'
2020
2496
 
2021
2497
  # Calls the ModifySnapshotAttribute API operation.
2022
2498
  # @method modify_snapshot_attribute(options = {})
@@ -2047,7 +2523,6 @@ module AWS
2047
2523
  # * +:group+ - (String) The group that is allowed to create volumes
2048
2524
  # from the snapshot (currently supports "all").
2049
2525
  # @return [Core::Response]
2050
- define_client_method :modify_snapshot_attribute, 'ModifySnapshotAttribute'
2051
2526
 
2052
2527
  # Calls the ModifyVolumeAttribute API operation.
2053
2528
  # @method modify_volume_attribute(options = {})
@@ -2055,7 +2530,6 @@ module AWS
2055
2530
  # * +:volume_id+ - *required* - (String)
2056
2531
  # * +:auto_enable_io+ - (Boolean)
2057
2532
  # @return [Core::Response]
2058
- define_client_method :modify_volume_attribute, 'ModifyVolumeAttribute'
2059
2533
 
2060
2534
  # Calls the MonitorInstances API operation.
2061
2535
  # @method monitor_instances(options = {})
@@ -2065,8 +2539,10 @@ module AWS
2065
2539
  # @return [Core::Response]
2066
2540
  # The #data method of the response object returns
2067
2541
  # a hash with the following structure:
2068
- # * +:instances_set+ - (Array<>)
2069
- define_client_method :monitor_instances, 'MonitorInstances'
2542
+ # * +:instances_set+ - (Array<Hash>)
2543
+ # * +:instance_id+ - (String)
2544
+ # * +:monitoring+ - (Hash)
2545
+ # * +:state+ - (String)
2070
2546
 
2071
2547
  # Calls the PurchaseReservedInstancesOffering API operation.
2072
2548
  # @method purchase_reserved_instances_offering(options = {})
@@ -2076,7 +2552,9 @@ module AWS
2076
2552
  # * +:instance_count+ - *required* - (Integer) The number of Reserved
2077
2553
  # Instances to purchase.
2078
2554
  # @return [Core::Response]
2079
- define_client_method :purchase_reserved_instances_offering, 'PurchaseReservedInstancesOffering'
2555
+ # The #data method of the response object returns
2556
+ # a hash with the following structure:
2557
+ # * +:reserved_instances_id+ - (String)
2080
2558
 
2081
2559
  # Calls the RebootInstances API operation.
2082
2560
  # @method reboot_instances(options = {})
@@ -2084,7 +2562,6 @@ module AWS
2084
2562
  # * +:instance_ids+ - *required* - (Array<String>) The list of
2085
2563
  # instances to terminate.
2086
2564
  # @return [Core::Response]
2087
- define_client_method :reboot_instances, 'RebootInstances'
2088
2565
 
2089
2566
  # Calls the RegisterImage API operation.
2090
2567
  # @method register_image(options = {})
@@ -2120,12 +2597,12 @@ module AWS
2120
2597
  # gigabytes.
2121
2598
  # * +:delete_on_termination+ - (Boolean) Specifies whether the
2122
2599
  # Amazon EBS volume is deleted on instance termination.
2123
- # * +:volume_type+ - (String)
2124
- # * +:iops+ - (Integer)
2125
2600
  # * +:no_device+ - (String) Specifies the device name to suppress
2126
2601
  # during instance launch.
2127
2602
  # @return [Core::Response]
2128
- define_client_method :register_image, 'RegisterImage'
2603
+ # The #data method of the response object returns
2604
+ # a hash with the following structure:
2605
+ # * +:image_id+ - (String)
2129
2606
 
2130
2607
  # Calls the ReleaseAddress API operation.
2131
2608
  # @method release_address(options = {})
@@ -2135,7 +2612,6 @@ module AWS
2135
2612
  # * +:allocation_id+ - (String) The allocation ID that AWS provided
2136
2613
  # when you allocated the address for use with Amazon VPC.
2137
2614
  # @return [Core::Response]
2138
- define_client_method :release_address, 'ReleaseAddress'
2139
2615
 
2140
2616
  # Calls the ReplaceNetworkAclAssociation API operation.
2141
2617
  # @method replace_network_acl_association(options = {})
@@ -2146,7 +2622,9 @@ module AWS
2146
2622
  # * +:network_acl_id+ - *required* - (String) The ID of the new ACL to
2147
2623
  # associate with the subnet.
2148
2624
  # @return [Core::Response]
2149
- define_client_method :replace_network_acl_association, 'ReplaceNetworkAclAssociation'
2625
+ # The #data method of the response object returns
2626
+ # a hash with the following structure:
2627
+ # * +:new_association_id+ - (String)
2150
2628
 
2151
2629
  # Calls the ReplaceNetworkAclEntry API operation.
2152
2630
  # @method replace_network_acl_entry(options = {})
@@ -2177,7 +2655,6 @@ module AWS
2177
2655
  # * +:to+ - (Integer) The last port in the range. Required if
2178
2656
  # specifying tcp or udp for the protocol.
2179
2657
  # @return [Core::Response]
2180
- define_client_method :replace_network_acl_entry, 'ReplaceNetworkAclEntry'
2181
2658
 
2182
2659
  # Calls the ReplaceRoute API operation.
2183
2660
  # @method replace_route(options = {})
@@ -2193,7 +2670,6 @@ module AWS
2193
2670
  # * +:instance_id+ - (String) The ID of a NAT instance in your VPC.
2194
2671
  # * +:network_interface_id+ - (String)
2195
2672
  # @return [Core::Response]
2196
- define_client_method :replace_route, 'ReplaceRoute'
2197
2673
 
2198
2674
  # Calls the ReplaceRouteTableAssociation API operation.
2199
2675
  # @method replace_route_table_association(options = {})
@@ -2204,7 +2680,9 @@ module AWS
2204
2680
  # * +:route_table_id+ - *required* - (String) The ID of the new route
2205
2681
  # table to associate with the subnet.
2206
2682
  # @return [Core::Response]
2207
- define_client_method :replace_route_table_association, 'ReplaceRouteTableAssociation'
2683
+ # The #data method of the response object returns
2684
+ # a hash with the following structure:
2685
+ # * +:new_association_id+ - (String)
2208
2686
 
2209
2687
  # Calls the ReportInstanceStatus API operation.
2210
2688
  # @method report_instance_status(options = {})
@@ -2216,7 +2694,6 @@ module AWS
2216
2694
  # * +:reason_codes+ - (Array<String>)
2217
2695
  # * +:description+ - (String)
2218
2696
  # @return [Core::Response]
2219
- define_client_method :report_instance_status, 'ReportInstanceStatus'
2220
2697
 
2221
2698
  # Calls the RequestSpotInstances API operation.
2222
2699
  # @method request_spot_instances(options = {})
@@ -2283,8 +2760,6 @@ module AWS
2283
2760
  # gigabytes.
2284
2761
  # * +:delete_on_termination+ - (Boolean) Specifies whether the
2285
2762
  # Amazon EBS volume is deleted on instance termination.
2286
- # * +:volume_type+ - (String)
2287
- # * +:iops+ - (Integer)
2288
2763
  # * +:no_device+ - (String) Specifies the device name to suppress
2289
2764
  # during instance launch.
2290
2765
  # * +:monitoring_enabled+ - (Boolean) Enables monitoring for the
@@ -2299,39 +2774,60 @@ module AWS
2299
2774
  # * +:private_ip_address+ - (String)
2300
2775
  # * +:groups+ - (Array<String>)
2301
2776
  # * +:delete_on_termination+ - (Boolean)
2302
- # * +:private_ip_addresses+ - (Array<Hash>)
2303
- # * +:private_ip_address+ - *required* - (String)
2304
- # * +:primary+ - (Boolean)
2305
- # * +:secondary_private_ip_address_count+ - (Integer)
2306
- # * +:iam_instance_profile+ - (Hash)
2307
- # * +:arn+ - (String)
2308
- # * +:name+ - (String)
2309
- # * +:ebs_optimized+ - (Boolean)
2310
2777
  # @return [Core::Response]
2311
2778
  # The #data method of the response object returns
2312
2779
  # a hash with the following structure:
2313
2780
  # * +:spot_instance_request_set+ - (Array<Hash>)
2781
+ # * +:spot_instance_request_id+ - (String)
2782
+ # * +:spot_price+ - (String)
2783
+ # * +:type+ - (String)
2784
+ # * +:state+ - (String)
2785
+ # * +:fault+ - (Hash)
2786
+ # * +:code+ - (String)
2787
+ # * +:message+ - (String)
2314
2788
  # * +:valid_from+ - (Time)
2315
2789
  # * +:valid_until+ - (Time)
2790
+ # * +:launch_group+ - (String)
2791
+ # * +:availability_zone_group+ - (String)
2316
2792
  # * +:launch_specification+ - (Hash)
2317
- # * +:group_set+ - (Array<>)
2793
+ # * +:image_id+ - (String)
2794
+ # * +:key_name+ - (String)
2795
+ # * +:group_set+ - (Array<Hash>)
2796
+ # * +:group_name+ - (String)
2797
+ # * +:group_id+ - (String)
2798
+ # * +:user_data+ - (String)
2799
+ # * +:addressing_type+ - (String)
2800
+ # * +:instance_type+ - (String)
2801
+ # * +:placement+ - (Hash)
2802
+ # * +:availability_zone+ - (String)
2803
+ # * +:group_name+ - (String)
2804
+ # * +:kernel_id+ - (String)
2805
+ # * +:ramdisk_id+ - (String)
2318
2806
  # * +:block_device_mapping+ - (Array<Hash>)
2807
+ # * +:virtual_name+ - (String)
2808
+ # * +:device_name+ - (String)
2319
2809
  # * +:ebs+ - (Hash)
2810
+ # * +:snapshot_id+ - (String)
2320
2811
  # * +:volume_size+ - (Integer)
2321
2812
  # * +:delete_on_termination+ - (Boolean)
2322
- # * +:iops+ - (Integer)
2813
+ # * +:no_device+ - (String)
2323
2814
  # * +:monitoring_enabled+ - (Boolean)
2815
+ # * +:subnet_id+ - (String)
2324
2816
  # * +:network_interface_set+ - (Array<Hash>)
2817
+ # * +:network_interface_id+ - (String)
2325
2818
  # * +:device_index+ - (Integer)
2326
- # * +:security_group_id+ - (Array<>)
2819
+ # * +:subnet_id+ - (String)
2820
+ # * +:description+ - (String)
2821
+ # * +:private_ip_address+ - (String)
2822
+ # * +:security_group_id+ - (Array<String>)
2327
2823
  # * +:delete_on_termination+ - (Boolean)
2328
- # * +:private_ip_addresses_set+ - (Array<Hash>)
2329
- # * +:primary+ - (Boolean)
2330
- # * +:secondary_private_ip_address_count+ - (Integer)
2331
- # * +:ebs_optimized+ - (Boolean)
2824
+ # * +:instance_id+ - (String)
2332
2825
  # * +:create_time+ - (Time)
2333
- # * +:tag_set+ - (Array<>)
2334
- define_client_method :request_spot_instances, 'RequestSpotInstances'
2826
+ # * +:product_description+ - (String)
2827
+ # * +:tag_set+ - (Array<Hash>)
2828
+ # * +:key+ - (String)
2829
+ # * +:value+ - (String)
2830
+ # * +:launched_availability_zone+ - (String)
2335
2831
 
2336
2832
  # Calls the ResetImageAttribute API operation.
2337
2833
  # @method reset_image_attribute(options = {})
@@ -2341,7 +2837,6 @@ module AWS
2341
2837
  # * +:attribute+ - *required* - (String) The name of the attribute
2342
2838
  # being reset. Available attribute names: launchPermission
2343
2839
  # @return [Core::Response]
2344
- define_client_method :reset_image_attribute, 'ResetImageAttribute'
2345
2840
 
2346
2841
  # Calls the ResetInstanceAttribute API operation.
2347
2842
  # @method reset_instance_attribute(options = {})
@@ -2351,7 +2846,6 @@ module AWS
2351
2846
  # * +:attribute+ - *required* - (String) The name of the attribute
2352
2847
  # being reset. Available attribute names: kernel, ramdisk
2353
2848
  # @return [Core::Response]
2354
- define_client_method :reset_instance_attribute, 'ResetInstanceAttribute'
2355
2849
 
2356
2850
  # Calls the ResetNetworkInterfaceAttribute API operation.
2357
2851
  # @method reset_network_interface_attribute(options = {})
@@ -2359,7 +2853,6 @@ module AWS
2359
2853
  # * +:network_interface_id+ - *required* - (String)
2360
2854
  # * +:source_dest_check+ - (String)
2361
2855
  # @return [Core::Response]
2362
- define_client_method :reset_network_interface_attribute, 'ResetNetworkInterfaceAttribute'
2363
2856
 
2364
2857
  # Calls the ResetSnapshotAttribute API operation.
2365
2858
  # @method reset_snapshot_attribute(options = {})
@@ -2369,7 +2862,6 @@ module AWS
2369
2862
  # * +:attribute+ - *required* - (String) The name of the attribute
2370
2863
  # being reset. Available attribute names: createVolumePermission
2371
2864
  # @return [Core::Response]
2372
- define_client_method :reset_snapshot_attribute, 'ResetSnapshotAttribute'
2373
2865
 
2374
2866
  # Calls the RevokeSecurityGroupEgress API operation.
2375
2867
  # @method revoke_security_group_egress(options = {})
@@ -2407,7 +2899,6 @@ module AWS
2407
2899
  # in this permission.
2408
2900
  # * +:cidr_ip+ - (String) The list of CIDR IP ranges.
2409
2901
  # @return [Core::Response]
2410
- define_client_method :revoke_security_group_egress, 'RevokeSecurityGroupEgress'
2411
2902
 
2412
2903
  # Calls the RevokeSecurityGroupIngress API operation.
2413
2904
  # @method revoke_security_group_ingress(options = {})
@@ -2452,7 +2943,6 @@ module AWS
2452
2943
  # in this permission.
2453
2944
  # * +:cidr_ip+ - (String) The list of CIDR IP ranges.
2454
2945
  # @return [Core::Response]
2455
- define_client_method :revoke_security_group_ingress, 'RevokeSecurityGroupIngress'
2456
2946
 
2457
2947
  # Calls the RunInstances API operation.
2458
2948
  # @method run_instances(options = {})
@@ -2510,8 +3000,6 @@ module AWS
2510
3000
  # gigabytes.
2511
3001
  # * +:delete_on_termination+ - (Boolean) Specifies whether the
2512
3002
  # Amazon EBS volume is deleted on instance termination.
2513
- # * +:volume_type+ - (String)
2514
- # * +:iops+ - (Integer)
2515
3003
  # * +:no_device+ - (String) Specifies the device name to suppress
2516
3004
  # during instance launch.
2517
3005
  # * +:monitoring+ - (Hash) Enables monitoring for the instance.
@@ -2546,56 +3034,110 @@ module AWS
2546
3034
  # * +:private_ip_address+ - (String)
2547
3035
  # * +:groups+ - (Array<String>)
2548
3036
  # * +:delete_on_termination+ - (Boolean)
2549
- # * +:private_ip_addresses+ - (Array<Hash>)
2550
- # * +:private_ip_address+ - *required* - (String)
2551
- # * +:primary+ - (Boolean)
2552
- # * +:secondary_private_ip_address_count+ - (Integer)
2553
- # * +:iam_instance_profile+ - (Hash)
2554
- # * +:arn+ - (String)
2555
- # * +:name+ - (String)
2556
- # * +:ebs_optimized+ - (Boolean)
2557
3037
  # @return [Core::Response]
2558
3038
  # The #data method of the response object returns
2559
3039
  # a hash with the following structure:
2560
- # * +:group_set+ - (Array<>)
3040
+ # * +:reservation_id+ - (String)
3041
+ # * +:owner_id+ - (String)
3042
+ # * +:requester_id+ - (String)
3043
+ # * +:group_set+ - (Array<Hash>)
3044
+ # * +:group_name+ - (String)
3045
+ # * +:group_id+ - (String)
2561
3046
  # * +:instances_set+ - (Array<Hash>)
3047
+ # * +:instance_id+ - (String)
3048
+ # * +:image_id+ - (String)
2562
3049
  # * +:instance_state+ - (Hash)
2563
3050
  # * +:code+ - (Integer)
3051
+ # * +:name+ - (String)
3052
+ # * +:private_dns_name+ - (String)
3053
+ # * +:dns_name+ - (String)
3054
+ # * +:reason+ - (String)
3055
+ # * +:key_name+ - (String)
2564
3056
  # * +:ami_launch_index+ - (Integer)
2565
- # * +:product_codes+ - (Array<>)
3057
+ # * +:product_codes+ - (Array<Hash>)
3058
+ # * +:product_code+ - (String)
3059
+ # * +:type+ - (String)
3060
+ # * +:instance_type+ - (String)
2566
3061
  # * +:launch_time+ - (Time)
3062
+ # * +:placement+ - (Hash)
3063
+ # * +:availability_zone+ - (String)
3064
+ # * +:group_name+ - (String)
3065
+ # * +:tenancy+ - (String)
3066
+ # * +:kernel_id+ - (String)
3067
+ # * +:ramdisk_id+ - (String)
3068
+ # * +:platform+ - (String)
3069
+ # * +:monitoring+ - (Hash)
3070
+ # * +:state+ - (String)
3071
+ # * +:subnet_id+ - (String)
3072
+ # * +:vpc_id+ - (String)
3073
+ # * +:private_ip_address+ - (String)
3074
+ # * +:ip_address+ - (String)
3075
+ # * +:state_reason+ - (Hash)
3076
+ # * +:code+ - (String)
3077
+ # * +:message+ - (String)
3078
+ # * +:architecture+ - (String)
3079
+ # * +:root_device_type+ - (String)
3080
+ # * +:root_device_name+ - (String)
2567
3081
  # * +:block_device_mapping+ - (Array<Hash>)
3082
+ # * +:device_name+ - (String)
2568
3083
  # * +:ebs+ - (Hash)
3084
+ # * +:volume_id+ - (String)
3085
+ # * +:status+ - (String)
2569
3086
  # * +:attach_time+ - (Time)
2570
3087
  # * +:delete_on_termination+ - (Boolean)
2571
- # * +:tag_set+ - (Array<>)
2572
- # * +:group_set+ - (Array<>)
3088
+ # * +:virtualization_type+ - (String)
3089
+ # * +:instance_lifecycle+ - (String)
3090
+ # * +:spot_instance_request_id+ - (String)
3091
+ # * +:license+ - (Hash)
3092
+ # * +:pool+ - (String)
3093
+ # * +:client_token+ - (String)
3094
+ # * +:tag_set+ - (Array<Hash>)
3095
+ # * +:key+ - (String)
3096
+ # * +:value+ - (String)
3097
+ # * +:group_set+ - (Array<Hash>)
3098
+ # * +:group_name+ - (String)
3099
+ # * +:group_id+ - (String)
2573
3100
  # * +:source_dest_check+ - (Boolean)
3101
+ # * +:hypervisor+ - (String)
2574
3102
  # * +:network_interface_set+ - (Array<Hash>)
3103
+ # * +:network_interface_id+ - (String)
3104
+ # * +:subnet_id+ - (String)
3105
+ # * +:vpc_id+ - (String)
3106
+ # * +:description+ - (String)
3107
+ # * +:owner_id+ - (String)
3108
+ # * +:status+ - (String)
3109
+ # * +:private_ip_address+ - (String)
3110
+ # * +:private_dns_name+ - (String)
2575
3111
  # * +:source_dest_check+ - (Boolean)
2576
- # * +:group_set+ - (Array<>)
3112
+ # * +:group_set+ - (Array<Hash>)
3113
+ # * +:group_name+ - (String)
3114
+ # * +:group_id+ - (String)
2577
3115
  # * +:attachment+ - (Hash)
3116
+ # * +:attachment_id+ - (String)
2578
3117
  # * +:device_index+ - (Integer)
3118
+ # * +:status+ - (String)
2579
3119
  # * +:attach_time+ - (Time)
2580
3120
  # * +:delete_on_termination+ - (Boolean)
2581
- # * +:ebs_optimized+ - (Boolean)
2582
- define_client_method :run_instances, 'RunInstances'
3121
+ # * +:association+ - (Hash)
3122
+ # * +:public_ip+ - (String)
3123
+ # * +:ip_owner_id+ - (String)
2583
3124
 
2584
3125
  # Calls the StartInstances API operation.
2585
3126
  # @method start_instances(options = {})
2586
3127
  # @param [Hash] options
2587
3128
  # * +:instance_ids+ - *required* - (Array<String>) The list of Amazon
2588
3129
  # EC2 instances to start.
2589
- # * +:additional_info+ - (String)
2590
3130
  # @return [Core::Response]
2591
3131
  # The #data method of the response object returns
2592
3132
  # a hash with the following structure:
2593
3133
  # * +:instances_set+ - (Array<Hash>)
3134
+ # * +:instance_id+ - (String)
2594
3135
  # * +:current_state+ - (Hash)
2595
3136
  # * +:code+ - (Integer)
3137
+ # * +:name+ - (String)
2596
3138
  # * +:previous_state+ - (Hash)
2597
3139
  # * +:code+ - (Integer)
2598
- define_client_method :start_instances, 'StartInstances'
3140
+ # * +:name+ - (String)
2599
3141
 
2600
3142
  # Calls the StopInstances API operation.
2601
3143
  # @method stop_instances(options = {})
@@ -2611,11 +3153,13 @@ module AWS
2611
3153
  # The #data method of the response object returns
2612
3154
  # a hash with the following structure:
2613
3155
  # * +:instances_set+ - (Array<Hash>)
3156
+ # * +:instance_id+ - (String)
2614
3157
  # * +:current_state+ - (Hash)
2615
3158
  # * +:code+ - (Integer)
3159
+ # * +:name+ - (String)
2616
3160
  # * +:previous_state+ - (Hash)
2617
3161
  # * +:code+ - (Integer)
2618
- define_client_method :stop_instances, 'StopInstances'
3162
+ # * +:name+ - (String)
2619
3163
 
2620
3164
  # Calls the TerminateInstances API operation.
2621
3165
  # @method terminate_instances(options = {})
@@ -2626,19 +3170,13 @@ module AWS
2626
3170
  # The #data method of the response object returns
2627
3171
  # a hash with the following structure:
2628
3172
  # * +:instances_set+ - (Array<Hash>)
3173
+ # * +:instance_id+ - (String)
2629
3174
  # * +:current_state+ - (Hash)
2630
3175
  # * +:code+ - (Integer)
3176
+ # * +:name+ - (String)
2631
3177
  # * +:previous_state+ - (Hash)
2632
3178
  # * +:code+ - (Integer)
2633
- define_client_method :terminate_instances, 'TerminateInstances'
2634
-
2635
- # Calls the UnassignPrivateIpAddresses API operation.
2636
- # @method unassign_private_ip_addresses(options = {})
2637
- # @param [Hash] options
2638
- # * +:network_interface_id+ - *required* - (String)
2639
- # * +:private_ip_addresses+ - *required* - (Array<String>)
2640
- # @return [Core::Response]
2641
- define_client_method :unassign_private_ip_addresses, 'UnassignPrivateIpAddresses'
3179
+ # * +:name+ - (String)
2642
3180
 
2643
3181
  # Calls the UnmonitorInstances API operation.
2644
3182
  # @method unmonitor_instances(options = {})
@@ -2648,8 +3186,10 @@ module AWS
2648
3186
  # @return [Core::Response]
2649
3187
  # The #data method of the response object returns
2650
3188
  # a hash with the following structure:
2651
- # * +:instances_set+ - (Array<>)
2652
- define_client_method :unmonitor_instances, 'UnmonitorInstances'
3189
+ # * +:instances_set+ - (Array<Hash>)
3190
+ # * +:instance_id+ - (String)
3191
+ # * +:monitoring+ - (Hash)
3192
+ # * +:state+ - (String)
2653
3193
 
2654
3194
  ## end client methods ##
2655
3195