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,7 +17,7 @@ module AWS
17
17
  module Record
18
18
  class HashModel
19
19
  class << self
20
-
20
+
21
21
  # Adds a string attribute to this class.
22
22
  #
23
23
  # @example A standard string attribute
@@ -36,7 +36,7 @@ module AWS
36
36
  # end
37
37
  #
38
38
  # recipe = Recipe.new(:tags => %w(popular dessert))
39
- # recipe.tags #=> #<Set: {"popular", "desert"}>
39
+ # recipe.tags #=> #<Set: {"popular", "desert"}>
40
40
  #
41
41
  # @param [Symbol] name The name of the attribute.
42
42
  # @param [Hash] options
@@ -45,7 +45,7 @@ module AWS
45
45
  def string_attr name, options = {}
46
46
  add_attribute(Attributes::StringAttr.new(name, options))
47
47
  end
48
-
48
+
49
49
  # Adds an integer attribute to this class.
50
50
  #
51
51
  # class Recipe < AWS::Record::HashModel
@@ -62,7 +62,7 @@ module AWS
62
62
  def integer_attr name, options = {}
63
63
  add_attribute(Attributes::IntegerAttr.new(name, options))
64
64
  end
65
-
65
+
66
66
  # Adds a float attribute to this class.
67
67
  #
68
68
  # class Listing < AWS::Record::HashModel
@@ -79,7 +79,7 @@ module AWS
79
79
  def float_attr name, options = {}
80
80
  add_attribute(Attributes::FloatAttr.new(name, options))
81
81
  end
82
-
82
+
83
83
  # Adds a boolean attribute to this class.
84
84
  #
85
85
  # @example
@@ -98,16 +98,16 @@ module AWS
98
98
  #
99
99
  # @param [Symbol] name The name of the attribute.
100
100
  def boolean_attr name, options = {}
101
-
101
+
102
102
  attr = add_attribute(Attributes::BooleanAttr.new(name, options))
103
-
103
+
104
104
  # add the boolean question mark method
105
105
  define_method("#{attr.name}?") do
106
106
  !!__send__(attr.name)
107
107
  end
108
-
108
+
109
109
  end
110
-
110
+
111
111
  # Adds a datetime attribute to this class.
112
112
  #
113
113
  # @example A standard datetime attribute
@@ -132,7 +132,7 @@ module AWS
132
132
  def datetime_attr name, options = {}
133
133
  add_attribute(Attributes::DateTimeAttr.new(name, options))
134
134
  end
135
-
135
+
136
136
  # Adds a date attribute to this class.
137
137
  #
138
138
  # @example A standard date attribute
@@ -155,7 +155,22 @@ module AWS
155
155
  def date_attr name, options = {}
156
156
  add_attribute(Attributes::DateAttr.new(name, options))
157
157
  end
158
-
158
+
159
+ # Adds a DynamoDB binary attribute to this class. A binary
160
+ # attribute acts the same as a string attribute, except
161
+ #
162
+ # @param [Symbol] name The name of the attribute.
163
+ #
164
+ # @param [Hash] options
165
+ #
166
+ # @option options [Boolean] :set (false) When true this attribute
167
+ # can have multiple values.
168
+ #
169
+ # @note This should not be used for large objects.
170
+ #
171
+ def binary_attr name, options = {}
172
+ end
173
+
159
174
  # A convenience method for adding the standard two datetime attributes
160
175
  # +:created_at+ and +:updated_at+.
161
176
  #
@@ -169,13 +184,13 @@ module AWS
169
184
  # recipe.save
170
185
  # recipe.created_at #=> <DateTime ...>
171
186
  # recipe.updated_at #=> <DateTime ...>
172
- #
187
+ #
173
188
  def timestamps
174
189
  c = datetime_attr :created_at
175
190
  u = datetime_attr :updated_at
176
191
  [c, u]
177
192
  end
178
-
193
+
179
194
  end
180
195
  end
181
196
  end
@@ -13,11 +13,9 @@
13
13
 
14
14
  module AWS
15
15
  class Route53
16
- class Client < Core::Client
16
+ class Client < Core::RESTClient
17
17
 
18
- API_VERSION = '2012-02-29'
19
-
20
- extend Core::RESTClient
18
+ define_client_methods('2012-02-29')
21
19
 
22
20
  # @private
23
21
  CACHEABLE_REQUESTS = Set[]
@@ -49,10 +47,10 @@ module AWS
49
47
  # resource record set.
50
48
  # * +:type+ - *required* - (String) The type of the current
51
49
  # resource record set.
52
- # * +:set_identifier+ - (String) Weighted resource record sets or
53
- # Regional resource record sets only: An identifier that
54
- # differentiates among multiple resource record sets that have
55
- # the same combination of DNS name and type.
50
+ # * +:set_identifier+ - (String) Weighted resource record sets
51
+ # only: An identifier that differentiates among multiple resource
52
+ # record sets that have the same combination of DNS name and
53
+ # type.
56
54
  # * +:weight+ - (Integer) Weighted resource record sets only: Among
57
55
  # resource record sets that have the same combination of DNS name
58
56
  # and type, a value that determines what portion of traffic for
@@ -96,7 +94,6 @@ module AWS
96
94
  # * +:status+ - (String)
97
95
  # * +:submitted_at+ - (Time)
98
96
  # * +:comment+ - (String)
99
- define_client_method :change_resource_record_sets, 'ChangeResourceRecordSets'
100
97
 
101
98
  # Calls the POST CreateHostedZone API operation.
102
99
  # @method create_hosted_zone(options = {})
@@ -141,7 +138,6 @@ module AWS
141
138
  # * +:comment+ - (String)
142
139
  # * +:delegation_set+ - (Hash)
143
140
  # * +:name_servers+ - (Array<String>)
144
- define_client_method :create_hosted_zone, 'CreateHostedZone'
145
141
 
146
142
  # Calls the DELETE DeleteHostedZone API operation.
147
143
  # @method delete_hosted_zone(options = {})
@@ -157,7 +153,6 @@ module AWS
157
153
  # * +:status+ - (String)
158
154
  # * +:submitted_at+ - (Time)
159
155
  # * +:comment+ - (String)
160
- define_client_method :delete_hosted_zone, 'DeleteHostedZone'
161
156
 
162
157
  # Calls the GET GetChange API operation.
163
158
  # @method get_change(options = {})
@@ -174,7 +169,6 @@ module AWS
174
169
  # * +:status+ - (String)
175
170
  # * +:submitted_at+ - (Time)
176
171
  # * +:comment+ - (String)
177
- define_client_method :get_change, 'GetChange'
178
172
 
179
173
  # Calls the GET GetHostedZone API operation.
180
174
  # @method get_hosted_zone(options = {})
@@ -193,7 +187,6 @@ module AWS
193
187
  # * +:resource_record_set_count+ - (Integer)
194
188
  # * +:delegation_set+ - (Hash)
195
189
  # * +:name_servers+ - (Array<String>)
196
- define_client_method :get_hosted_zone, 'GetHostedZone'
197
190
 
198
191
  # Calls the GET ListHostedZones API operation.
199
192
  # @method list_hosted_zones(options = {})
@@ -218,7 +211,6 @@ module AWS
218
211
  # * +:is_truncated+ - (Boolean)
219
212
  # * +:next_marker+ - (String)
220
213
  # * +:max_items+ - (Integer)
221
- define_client_method :list_hosted_zones, 'ListHostedZones'
222
214
 
223
215
  # Calls the GET ListResourceRecordSets API operation.
224
216
  # @method list_resource_record_sets(options = {})
@@ -231,7 +223,6 @@ module AWS
231
223
  # * +:start_record_type+ - (String) The DNS type at which to begin the
232
224
  # listing of resource record sets. Valid values: A | AAAA | CNAME | MX
233
225
  # | NS | PTR | SOA | SPF | SRV | TXT Values for Weighted Resource
234
- # Record Sets: A | AAAA | CNAME | TXT Values for Regional Resource
235
226
  # Record Sets: A | AAAA | CNAME | TXT Values for Alias Resource Record
236
227
  # Sets: A | AAAA Constraint: Specifying type without specifying name
237
228
  # returns an InvalidInput error.
@@ -263,7 +254,6 @@ module AWS
263
254
  # * +:next_record_type+ - (String)
264
255
  # * +:next_record_identifier+ - (String)
265
256
  # * +:max_items+ - (Integer)
266
- define_client_method :list_resource_record_sets, 'ListResourceRecordSets'
267
257
 
268
258
  ## end client methods ##
269
259
 
@@ -920,7 +920,7 @@ module AWS
920
920
  keys = options[:objects] || options[:keys]
921
921
 
922
922
  objects = keys.inject('') do |xml,o|
923
- xml << "<Object><Key>#{o[:key]}</Key>"
923
+ xml << "<Object><Key>#{REXML::Text.normalize(o[:key])}</Key>"
924
924
  xml << "<VersionId>#{o[:version_id]}</VersionId>" if o[:version_id]
925
925
  xml << "</Object>"
926
926
  end
@@ -1087,6 +1087,7 @@ module AWS
1087
1087
  :cache_control => 'Cache-Control',
1088
1088
  :metadata_directive => 'x-amz-metadata-directive',
1089
1089
  :content_type => 'Content-Type',
1090
+ :content_disposition => 'Content-Disposition',
1090
1091
  }) do
1091
1092
 
1092
1093
  configure_request do |req, options|
@@ -66,11 +66,6 @@ module AWS
66
66
 
67
67
  # Checks for any formatting problems for keys and initialization vectors
68
68
  # supported with EncryptionUtils.
69
- #
70
- # @param [OpenSSL::PKey::RSA, String] key Key used to encrypt.
71
- #
72
- # @param [String] data Data to be encrypted.
73
- #
74
69
  def check_encryption_materials mode, key
75
70
  rsa = OpenSSL::PKey::RSA
76
71
  case key
@@ -116,8 +111,8 @@ module AWS
116
111
  cipher
117
112
  end
118
113
 
119
- # @param [Fixnum] Size of data given.
120
- # @return [Fixnum] Returns the AES encrypted size based on a given size.
114
+ # @param [Integer] size Size of data given.
115
+ # @return [Integer] Returns the AES encrypted size based on a given size.
121
116
  def get_encrypted_size size
122
117
  # The next multiple of 16
123
118
  ((size / 16) + 1) * 16
@@ -809,6 +809,11 @@ module AWS
809
809
  end
810
810
  end
811
811
 
812
+ if options[:content_disposition]
813
+ copy_opts[:content_disposition] = options[:content_disposition]
814
+ copy_opts[:metadata_directive] = "REPLACE"
815
+ end
816
+
812
817
  if options[:content_type]
813
818
  copy_opts[:content_type] = options[:content_type]
814
819
  copy_opts[:metadata_directive] = "REPLACE"
@@ -15,11 +15,9 @@ module AWS
15
15
  class SimpleDB
16
16
 
17
17
  # Client class for Amazon SimpleDB.
18
- class Client < Core::Client
18
+ class Client < Core::QueryClient
19
19
 
20
- API_VERSION = '2009-04-15'
21
-
22
- extend Core::QueryClient
20
+ define_client_methods('2009-04-15')
23
21
 
24
22
  # @private
25
23
  REGION_US_E1 = 'sdb.amazonaws.com'
@@ -75,7 +73,6 @@ module AWS
75
73
  # * +:response_metadata+ - (Hash)
76
74
  # * +:box_usage+ - (Numeric)
77
75
  # * +:response_id+ - (String)
78
- define_client_method :batch_delete_attributes, 'BatchDeleteAttributes'
79
76
 
80
77
  # Calls the BatchPutAttributes API operation.
81
78
  # @method batch_put_attributes(options = {})
@@ -100,7 +97,6 @@ module AWS
100
97
  # * +:response_metadata+ - (Hash)
101
98
  # * +:box_usage+ - (Numeric)
102
99
  # * +:response_id+ - (String)
103
- define_client_method :batch_put_attributes, 'BatchPutAttributes'
104
100
 
105
101
  # Calls the CreateDomain API operation.
106
102
  # @method create_domain(options = {})
@@ -114,7 +110,6 @@ module AWS
114
110
  # * +:response_metadata+ - (Hash)
115
111
  # * +:box_usage+ - (Numeric)
116
112
  # * +:response_id+ - (String)
117
- define_client_method :create_domain, 'CreateDomain'
118
113
 
119
114
  # Calls the DeleteAttributes API operation.
120
115
  # @method delete_attributes(options = {})
@@ -149,7 +144,6 @@ module AWS
149
144
  # * +:response_metadata+ - (Hash)
150
145
  # * +:box_usage+ - (Numeric)
151
146
  # * +:response_id+ - (String)
152
- define_client_method :delete_attributes, 'DeleteAttributes'
153
147
 
154
148
  # Calls the DeleteDomain API operation.
155
149
  # @method delete_domain(options = {})
@@ -162,7 +156,6 @@ module AWS
162
156
  # * +:response_metadata+ - (Hash)
163
157
  # * +:box_usage+ - (Numeric)
164
158
  # * +:response_id+ - (String)
165
- define_client_method :delete_domain, 'DeleteDomain'
166
159
 
167
160
  # Calls the DomainMetadata API operation.
168
161
  # @method domain_metadata(options = {})
@@ -182,7 +175,6 @@ module AWS
182
175
  # * +:response_metadata+ - (Hash)
183
176
  # * +:box_usage+ - (Numeric)
184
177
  # * +:response_id+ - (String)
185
- define_client_method :domain_metadata, 'DomainMetadata'
186
178
 
187
179
  # Calls the GetAttributes API operation.
188
180
  # @method get_attributes(options = {})
@@ -207,7 +199,6 @@ module AWS
207
199
  # * +:response_metadata+ - (Hash)
208
200
  # * +:box_usage+ - (Numeric)
209
201
  # * +:response_id+ - (String)
210
- define_client_method :get_attributes, 'GetAttributes'
211
202
 
212
203
  # Calls the ListDomains API operation.
213
204
  # @method list_domains(options = {})
@@ -225,7 +216,6 @@ module AWS
225
216
  # * +:response_metadata+ - (Hash)
226
217
  # * +:box_usage+ - (Numeric)
227
218
  # * +:response_id+ - (String)
228
- define_client_method :list_domains, 'ListDomains'
229
219
 
230
220
  # Calls the PutAttributes API operation.
231
221
  # @method put_attributes(options = {})
@@ -261,7 +251,6 @@ module AWS
261
251
  # * +:response_metadata+ - (Hash)
262
252
  # * +:box_usage+ - (Numeric)
263
253
  # * +:response_id+ - (String)
264
- define_client_method :put_attributes, 'PutAttributes'
265
254
 
266
255
  # Calls the Select API operation.
267
256
  # @method select(options = {})
@@ -290,7 +279,6 @@ module AWS
290
279
  # * +:response_metadata+ - (Hash)
291
280
  # * +:box_usage+ - (Numeric)
292
281
  # * +:response_id+ - (String)
293
- define_client_method :select, 'Select'
294
282
 
295
283
  ## end client methods ##
296
284
 
@@ -15,11 +15,9 @@ module AWS
15
15
  class SimpleEmailService
16
16
 
17
17
  # Client class for Amazon Simple E-mail Service (SES).
18
- class Client < Core::Client
18
+ class Client < Core::QueryClient
19
19
 
20
- API_VERSION = '2010-12-01'
21
-
22
- extend Core::QueryClient
20
+ define_client_methods('2010-12-01')
23
21
 
24
22
  REGION_US_E1 = 'email.us-east-1.amazonaws.com'
25
23
 
@@ -34,7 +32,6 @@ module AWS
34
32
  # * +:identity+ - *required* - (String) The identity to be removed from
35
33
  # the list of identities for the AWS Account.
36
34
  # @return [Core::Response]
37
- define_client_method :delete_identity, 'DeleteIdentity'
38
35
 
39
36
  # Calls the DeleteVerifiedEmailAddress API operation.
40
37
  # @method delete_verified_email_address(options = {})
@@ -42,7 +39,19 @@ module AWS
42
39
  # * +:email_address+ - *required* - (String) An email address to be
43
40
  # removed from the list of verified addresses.
44
41
  # @return [Core::Response]
45
- define_client_method :delete_verified_email_address, 'DeleteVerifiedEmailAddress'
42
+
43
+ # Calls the GetIdentityDkimAttributes API operation.
44
+ # @method get_identity_dkim_attributes(options = {})
45
+ # @param [Hash] options
46
+ # * +:identities+ - *required* - (Array<String>) A list of one or more
47
+ # verified identities - email addresses, domains, or both.
48
+ # @return [Core::Response]
49
+ # The #data method of the response object returns
50
+ # a hash with the following structure:
51
+ # * +:dkim_attributes+ - (Hash<String,Hash>)
52
+ # * +:dkim_enabled+ - (Boolean)
53
+ # * +:dkim_verification_status+ - (String)
54
+ # * +:dkim_tokens+ - (Array<String>)
46
55
 
47
56
  # Calls the GetIdentityNotificationAttributes API operation.
48
57
  # @method get_identity_notification_attributes(options = {})
@@ -56,7 +65,6 @@ module AWS
56
65
  # * +:bounce_topic+ - (String)
57
66
  # * +:complaint_topic+ - (String)
58
67
  # * +:forwarding_enabled+ - (Boolean)
59
- define_client_method :get_identity_notification_attributes, 'GetIdentityNotificationAttributes'
60
68
 
61
69
  # Calls the GetIdentityVerificationAttributes API operation.
62
70
  # @method get_identity_verification_attributes(options = {})
@@ -68,7 +76,6 @@ module AWS
68
76
  # * +:verification_attributes+ - (Hash<String,Hash>)
69
77
  # * +:verification_status+ - (String)
70
78
  # * +:verification_token+ - (String)
71
- define_client_method :get_identity_verification_attributes, 'GetIdentityVerificationAttributes'
72
79
 
73
80
  # Calls the GetSendQuota API operation.
74
81
  # @method get_send_quota(options = {})
@@ -79,7 +86,6 @@ module AWS
79
86
  # * +:max_24_hour_send+ - (Numeric)
80
87
  # * +:max_send_rate+ - (Numeric)
81
88
  # * +:sent_last_24_hours+ - (Numeric)
82
- define_client_method :get_send_quota, 'GetSendQuota'
83
89
 
84
90
  # Calls the GetSendStatistics API operation.
85
91
  # @method get_send_statistics(options = {})
@@ -93,7 +99,6 @@ module AWS
93
99
  # * +:bounces+ - (Integer)
94
100
  # * +:complaints+ - (Integer)
95
101
  # * +:rejects+ - (Integer)
96
- define_client_method :get_send_statistics, 'GetSendStatistics'
97
102
 
98
103
  # Calls the ListIdentities API operation.
99
104
  # @method list_identities(options = {})
@@ -109,7 +114,6 @@ module AWS
109
114
  # a hash with the following structure:
110
115
  # * +:identities+ - (Array<String>)
111
116
  # * +:next_token+ - (String)
112
- define_client_method :list_identities, 'ListIdentities'
113
117
 
114
118
  # Calls the ListVerifiedEmailAddresses API operation.
115
119
  # @method list_verified_email_addresses(options = {})
@@ -118,7 +122,6 @@ module AWS
118
122
  # The #data method of the response object returns
119
123
  # a hash with the following structure:
120
124
  # * +:verified_email_addresses+ - (Array<String>)
121
- define_client_method :list_verified_email_addresses, 'ListVerifiedEmailAddresses'
122
125
 
123
126
  # Calls the SendEmail API operation.
124
127
  # @method send_email(options = {})
@@ -165,7 +168,6 @@ module AWS
165
168
  # The #data method of the response object returns
166
169
  # a hash with the following structure:
167
170
  # * +:message_id+ - (String)
168
- define_client_method :send_email, 'SendEmail'
169
171
 
170
172
  # Calls the SendRawEmail API operation.
171
173
  # @method send_raw_email(options = {})
@@ -194,7 +196,16 @@ module AWS
194
196
  # The #data method of the response object returns
195
197
  # a hash with the following structure:
196
198
  # * +:message_id+ - (String)
197
- define_client_method :send_raw_email, 'SendRawEmail'
199
+
200
+ # Calls the SetIdentityDkimEnabled API operation.
201
+ # @method set_identity_dkim_enabled(options = {})
202
+ # @param [Hash] options
203
+ # * +:identity+ - *required* - (String) The identity for which DKIM
204
+ # signing should be enabled or disabled.
205
+ # * +:dkim_enabled+ - *required* - (Boolean) Sets whether DKIM signing
206
+ # is enabled for an identity. Set to +true+ to enable DKIM signing
207
+ # for this identity; +false+ to disable it.
208
+ # @return [Core::Response]
198
209
 
199
210
  # Calls the SetIdentityFeedbackForwardingEnabled API operation.
200
211
  # @method set_identity_feedback_forwarding_enabled(options = {})
@@ -211,7 +222,6 @@ module AWS
211
222
  # to +false+ when topics are specified for both Bounce and Complaint
212
223
  # topic types.
213
224
  # @return [Core::Response]
214
- define_client_method :set_identity_feedback_forwarding_enabled, 'SetIdentityFeedbackForwardingEnabled'
215
225
 
216
226
  # Calls the SetIdentityNotificationTopic API operation.
217
227
  # @method set_identity_notification_topic(options = {})
@@ -225,7 +235,16 @@ module AWS
225
235
  # parameter is ommited from the request or a null value is passed,
226
236
  # the topic is cleared and publishing is disabled.
227
237
  # @return [Core::Response]
228
- define_client_method :set_identity_notification_topic, 'SetIdentityNotificationTopic'
238
+
239
+ # Calls the VerifyDomainDkim API operation.
240
+ # @method verify_domain_dkim(options = {})
241
+ # @param [Hash] options
242
+ # * +:domain+ - *required* - (String) The name of the domain to be
243
+ # verified for Easy DKIM signing.
244
+ # @return [Core::Response]
245
+ # The #data method of the response object returns
246
+ # a hash with the following structure:
247
+ # * +:dkim_tokens+ - (Array<String>)
229
248
 
230
249
  # Calls the VerifyDomainIdentity API operation.
231
250
  # @method verify_domain_identity(options = {})
@@ -235,7 +254,6 @@ module AWS
235
254
  # The #data method of the response object returns
236
255
  # a hash with the following structure:
237
256
  # * +:verification_token+ - (String)
238
- define_client_method :verify_domain_identity, 'VerifyDomainIdentity'
239
257
 
240
258
  # Calls the VerifyEmailAddress API operation.
241
259
  # @method verify_email_address(options = {})
@@ -243,7 +261,6 @@ module AWS
243
261
  # * +:email_address+ - *required* - (String) The email address to be
244
262
  # verified.
245
263
  # @return [Core::Response]
246
- define_client_method :verify_email_address, 'VerifyEmailAddress'
247
264
 
248
265
  # Calls the VerifyEmailIdentity API operation.
249
266
  # @method verify_email_identity(options = {})
@@ -251,7 +268,6 @@ module AWS
251
268
  # * +:email_address+ - *required* - (String) The email address to be
252
269
  # verified.
253
270
  # @return [Core::Response]
254
- define_client_method :verify_email_identity, 'VerifyEmailIdentity'
255
271
 
256
272
  ## end client methods ##
257
273