aws-sdk 1.6.9 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. data/README.rdoc +1 -1
  2. data/lib/aws.rb +8 -0
  3. data/lib/aws/api_config/CloudSearch-2011-02-01.yml +681 -0
  4. data/lib/aws/api_config/DynamoDB-2011-12-05.yml +4 -0
  5. data/lib/aws/api_config/EMR-2009-03-31.yml +18 -0
  6. data/lib/aws/api_config/ElastiCache-2012-03-09.yml +777 -0
  7. data/lib/aws/api_config/ElasticBeanstalk-2010-12-01.yml +823 -0
  8. data/lib/aws/api_config/RDS-2012-07-31.yml +1621 -0
  9. data/lib/aws/cloud_search.rb +31 -0
  10. data/lib/aws/cloud_search/client.rb +558 -0
  11. data/lib/aws/cloud_search/config.rb +18 -0
  12. data/lib/aws/cloud_search/errors.rb +22 -0
  13. data/lib/aws/cloud_search/request.rb +23 -0
  14. data/lib/aws/cloud_watch/alarm.rb +1 -1
  15. data/lib/aws/cloud_watch/metric.rb +3 -3
  16. data/lib/aws/core.rb +18 -3
  17. data/lib/aws/core/configuration.rb +11 -0
  18. data/lib/aws/core/inflection.rb +1 -0
  19. data/lib/aws/core/service_interface.rb +1 -1
  20. data/lib/aws/dynamo_db/batch_get.rb +19 -12
  21. data/lib/aws/dynamo_db/client.rb +27 -1
  22. data/lib/aws/dynamo_db/config.rb +2 -0
  23. data/lib/aws/dynamo_db/item_collection.rb +2 -2
  24. data/lib/aws/dynamo_db/table.rb +8 -2
  25. data/lib/aws/ec2/reserved_instances.rb +3 -0
  26. data/lib/aws/ec2/reserved_instances_offering.rb +3 -1
  27. data/lib/aws/elastic_beanstalk.rb +48 -0
  28. data/lib/aws/elastic_beanstalk/client.rb +867 -0
  29. data/lib/aws/elastic_beanstalk/config.rb +18 -0
  30. data/lib/aws/elastic_beanstalk/errors.rb +22 -0
  31. data/lib/aws/elastic_beanstalk/request.rb +23 -0
  32. data/lib/aws/elasticache.rb +48 -0
  33. data/lib/aws/elasticache/client.rb +758 -0
  34. data/lib/aws/elasticache/config.rb +18 -0
  35. data/lib/aws/elasticache/errors.rb +22 -0
  36. data/lib/aws/elasticache/request.rb +23 -0
  37. data/lib/aws/emr/client.rb +30 -6
  38. data/lib/aws/emr/job_flow.rb +10 -0
  39. data/lib/aws/rds.rb +69 -0
  40. data/lib/aws/rds/client.rb +1592 -0
  41. data/lib/aws/rds/config.rb +18 -0
  42. data/lib/aws/rds/db_instance.rb +201 -0
  43. data/lib/aws/rds/db_instance_collection.rb +75 -0
  44. data/lib/aws/rds/db_snapshot.rb +163 -0
  45. data/lib/aws/rds/db_snapshot_collection.rb +89 -0
  46. data/lib/aws/rds/errors.rb +22 -0
  47. data/lib/aws/rds/request.rb +23 -0
  48. data/lib/aws/s3/bucket_tag_collection.rb +1 -1
  49. data/lib/aws/s3/client.rb +4 -2
  50. data/lib/aws/s3/errors.rb +0 -1
  51. data/lib/aws/s3/object_collection.rb +40 -22
  52. data/lib/aws/s3/object_version.rb +7 -2
  53. data/lib/aws/s3/request.rb +1 -1
  54. data/lib/aws/s3/s3_object.rb +35 -11
  55. data/lib/aws/version.rb +1 -1
  56. metadata +33 -2
@@ -0,0 +1,31 @@
1
+ # Copyright 2011-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You
4
+ # may not use this file except in compliance with the License. A copy of
5
+ # the License is located at
6
+ #
7
+ # http://aws.amazon.com/apache2.0/
8
+ #
9
+ # or in the "license" file accompanying this file. This file is
10
+ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11
+ # ANY KIND, either express or implied. See the License for the specific
12
+ # language governing permissions and limitations under the License.
13
+
14
+ require 'aws/core'
15
+ require 'aws/cloud_search/config'
16
+
17
+ module AWS
18
+
19
+ class CloudSearch
20
+
21
+ AWS.register_autoloads(self, 'aws/cloud_search') do
22
+ autoload :Client, 'client'
23
+ autoload :Errors, 'errors'
24
+ autoload :Request, 'request'
25
+ end
26
+
27
+ include Core::ServiceInterface
28
+
29
+ end
30
+
31
+ end
@@ -0,0 +1,558 @@
1
+ # Copyright 2011-2012 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License"). You
4
+ # may not use this file except in compliance with the License. A copy of
5
+ # the License is located at
6
+ #
7
+ # http://aws.amazon.com/apache2.0/
8
+ #
9
+ # or in the "license" file accompanying this file. This file is
10
+ # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11
+ # ANY KIND, either express or implied. See the License for the specific
12
+ # language governing permissions and limitations under the License.
13
+
14
+ module AWS
15
+ class CloudSearch
16
+
17
+ # Client class for Amazon Cloud Search.
18
+ class Client < Core::QueryClient
19
+
20
+ define_client_methods('2011-02-01')
21
+
22
+ # @private
23
+ CACHEABLE_REQUESTS = Set[]
24
+
25
+ ## client methods ##
26
+
27
+ # @!method create_domain(options = {})
28
+ # Calls the CreateDomain API operation.
29
+ # @param [Hash] options
30
+ # * +:domain_name+ - *required* - (String)
31
+ # @return [Core::Response]
32
+ # The #data method of the response object returns
33
+ # a hash with the following structure:
34
+ # * +:domain_status+ - (Hash)
35
+ # * +:domain_id+ - (String)
36
+ # * +:domain_name+ - (String)
37
+ # * +:created+ - (Boolean)
38
+ # * +:deleted+ - (Boolean)
39
+ # * +:num_searchable_docs+ - (Integer)
40
+ # * +:doc_service+ - (Hash)
41
+ # * +:arn+ - (String)
42
+ # * +:endpoint+ - (String)
43
+ # * +:search_service+ - (Hash)
44
+ # * +:arn+ - (String)
45
+ # * +:endpoint+ - (String)
46
+ # * +:requires_index_documents+ - (Boolean)
47
+ # * +:processing+ - (Boolean)
48
+ # * +:search_instance_type+ - (String)
49
+ # * +:search_partition_count+ - (Integer)
50
+ # * +:search_instance_count+ - (Integer)
51
+
52
+ # @!method define_index_field(options = {})
53
+ # Calls the DefineIndexField API operation.
54
+ # @param [Hash] options
55
+ # * +:domain_name+ - *required* - (String)
56
+ # * +:index_field+ - *required* - (Hash)
57
+ # * +:index_field_name+ - *required* - (String) The name of a field
58
+ # in the search index. Field names must begin with a letter and can
59
+ # contain the following characters: a-z (lowercase), 0-9, and _
60
+ # (underscore). Uppercase letters and hyphens are not allowed. The
61
+ # names "body", "docid", and "text_relevance" are reserved and
62
+ # cannot be specified as field or rank expression names.
63
+ # * +:index_field_type+ - *required* - (String) The type of field.
64
+ # Based on this type, exactly one of the UIntOptions,
65
+ # LiteralOptions or TextOptions must be present.
66
+ # * +:u_int_options+ - (Hash) Options for an unsigned integer field.
67
+ # Present if IndexFieldType specifies the field is of type unsigned
68
+ # integer.
69
+ # * +:default_value+ - (Integer) The default value for an unsigned
70
+ # integer field.
71
+ # * +:literal_options+ - (Hash) Options for literal field. Present if
72
+ # IndexFieldType specifies the field is of type literal.
73
+ # * +:default_value+ - (String) The default value for a literal
74
+ # field.
75
+ # * +:search_enabled+ - (Boolean) Specifies whether search is
76
+ # enabled for this field.
77
+ # * +:facet_enabled+ - (Boolean) Specifies whether facets are
78
+ # enabled for this field.
79
+ # * +:result_enabled+ - (Boolean) Specifies whether values of this
80
+ # field can be returned in search results and used for ranking.
81
+ # * +:text_options+ - (Hash) Options for text field. Present if
82
+ # IndexFieldType specifies the field is of type text.
83
+ # * +:default_value+ - (String) The default value for a text field.
84
+ # * +:facet_enabled+ - (Boolean) Specifies whether facets are
85
+ # enabled for this field.
86
+ # * +:result_enabled+ - (Boolean) Specifies whether values of this
87
+ # field can be returned in search results and used for ranking.
88
+ # * +:source_attributes+ - (Array<Hash>) An optional list of source
89
+ # attributes that provide data for this index field. If not
90
+ # specified, the data is pulled from a source attribute with the
91
+ # same name as this IndexField. When one or more source attributes
92
+ # are specified, an optional data transformation can be applied to
93
+ # the source data when populating the index field. You can
94
+ # configure a maximum of 20 sources for an IndexField.
95
+ # * +:source_data_function+ - *required* - (String) Identifies the
96
+ # transformation to apply when copying data from a source
97
+ # attribute.
98
+ # * +:source_data_copy+ - (Hash) Copies data from a source document
99
+ # attribute to an IndexField.
100
+ # * +:source_name+ - *required* - (String) The name of the
101
+ # document source field to add to this IndexField.
102
+ # * +:default_value+ - (String)
103
+ # * +:source_data_trim_title+ - (Hash) Trims common title words
104
+ # from a source document attribute when populating an IndexField.
105
+ # This can be used to create an IndexField you can use for
106
+ # sorting.
107
+ # * +:source_name+ - *required* - (String) The name of the
108
+ # document source field to add to this IndexField.
109
+ # * +:default_value+ - (String)
110
+ # * +:separator+ - (String) The separator that follows the text
111
+ # to trim.
112
+ # * +:language+ - (String)
113
+ # * +:source_data_map+ - (Hash) Maps source document attribute
114
+ # values to new values when populating the IndexField.
115
+ # * +:source_name+ - *required* - (String) The name of the
116
+ # document source field to add to this IndexField.
117
+ # * +:default_value+ - (String)
118
+ # * +:cases+ - (Hash<String,String>) A map that translates source
119
+ # field values to custom values.
120
+ # @return [Core::Response]
121
+ # The #data method of the response object returns
122
+ # a hash with the following structure:
123
+ # * +:index_field+ - (Hash)
124
+ # * +:options+ - (Hash)
125
+ # * +:index_field_name+ - (String)
126
+ # * +:index_field_type+ - (String)
127
+ # * +:u_int_options+ - (Hash)
128
+ # * +:default_value+ - (Integer)
129
+ # * +:literal_options+ - (Hash)
130
+ # * +:default_value+ - (String)
131
+ # * +:search_enabled+ - (Boolean)
132
+ # * +:facet_enabled+ - (Boolean)
133
+ # * +:result_enabled+ - (Boolean)
134
+ # * +:text_options+ - (Hash)
135
+ # * +:default_value+ - (String)
136
+ # * +:facet_enabled+ - (Boolean)
137
+ # * +:result_enabled+ - (Boolean)
138
+ # * +:source_attributes+ - (Array<Hash>)
139
+ # * +:source_data_function+ - (String)
140
+ # * +:source_data_copy+ - (Hash)
141
+ # * +:source_name+ - (String)
142
+ # * +:default_value+ - (String)
143
+ # * +:source_data_trim_title+ - (Hash)
144
+ # * +:source_name+ - (String)
145
+ # * +:default_value+ - (String)
146
+ # * +:separator+ - (String)
147
+ # * +:language+ - (String)
148
+ # * +:source_data_map+ - (Hash)
149
+ # * +:source_name+ - (String)
150
+ # * +:default_value+ - (String)
151
+ # * +:cases+ - (Hash<String,String>)
152
+ # * +:status+ - (Hash)
153
+ # * +:creation_date+ - (Time)
154
+ # * +:update_date+ - (Time)
155
+ # * +:update_version+ - (Integer)
156
+ # * +:state+ - (String)
157
+
158
+ # @!method define_rank_expression(options = {})
159
+ # Calls the DefineRankExpression API operation.
160
+ # @param [Hash] options
161
+ # * +:domain_name+ - *required* - (String)
162
+ # * +:rank_expression+ - *required* - (Hash)
163
+ # * +:rank_name+ - *required* - (String) The name of a rank
164
+ # expression. Rank expression names must begin with a letter and
165
+ # can contain the following characters: a-z (lowercase), 0-9, and _
166
+ # (underscore). Uppercase letters and hyphens are not allowed. The
167
+ # names "body", "docid", and "text_relevance" are reserved and
168
+ # cannot be specified as field or rank expression names.
169
+ # * +:rank_expression+ - *required* - (String) The expression to
170
+ # evaluate for ranking or thresholding while processing a search
171
+ # request. The RankExpression syntax is based on JavaScript
172
+ # expressions and supports: Integer, floating point, hex and octal
173
+ # literals Shortcut evaluation of logical operators such that an
174
+ # expression a || b evaluates to the value a if a is +true+ without
175
+ # evaluting b at all JavaScript order of precendence for operators
176
+ # Arithmetic operators: + - * / % Boolean operators (including the
177
+ # ternary operator) Bitwise operators Comparison operators Common
178
+ # mathematic functions: abs ceil erf exp floor lgamma ln log2 log10
179
+ # max min sqrt pow Trigonometric library functions: acosh acos
180
+ # asinh asin atanh atan cosh cos sinh sin tanh tan Random
181
+ # generation of a number between 0 and 1: rand Current time in
182
+ # epoch: time The min max functions that operate on a variable
183
+ # argument list Intermediate results are calculated as double
184
+ # precision floating point values. The final return value of a
185
+ # RankExpression is automatically converted from floating point to
186
+ # a 32-bit unsigned integer by rounding to the nearest integer,
187
+ # with a natural floor of 0 and a ceiling of max(uint32_t),
188
+ # 4294967295. Mathematical errors such as dividing by 0 will fail
189
+ # during evaluation and return a value of 0. The source data for a
190
+ # RankExpression can be the name of an IndexField of type uint,
191
+ # another RankExpression or the reserved name text_relevance. The
192
+ # text_relevance source is defined to return an integer from 0 to
193
+ # 1000 (inclusive) to indicate how relevant a document is to the
194
+ # search request, taking into account repetition of search terms in
195
+ # the document and proximity of search terms to each other in each
196
+ # matching IndexField in the document. For more information about
197
+ # using rank expressions to customize ranking, see the Amazon
198
+ # CloudSearch Developer Guide.
199
+ # @return [Core::Response]
200
+ # The #data method of the response object returns
201
+ # a hash with the following structure:
202
+ # * +:rank_expression+ - (Hash)
203
+ # * +:options+ - (Hash)
204
+ # * +:rank_name+ - (String)
205
+ # * +:rank_expression+ - (String)
206
+ # * +:status+ - (Hash)
207
+ # * +:creation_date+ - (Time)
208
+ # * +:update_date+ - (Time)
209
+ # * +:update_version+ - (Integer)
210
+ # * +:state+ - (String)
211
+
212
+ # @!method delete_domain(options = {})
213
+ # Calls the DeleteDomain API operation.
214
+ # @param [Hash] options
215
+ # * +:domain_name+ - *required* - (String)
216
+ # @return [Core::Response]
217
+ # The #data method of the response object returns
218
+ # a hash with the following structure:
219
+ # * +:domain_status+ - (Hash)
220
+ # * +:domain_id+ - (String)
221
+ # * +:domain_name+ - (String)
222
+ # * +:created+ - (Boolean)
223
+ # * +:deleted+ - (Boolean)
224
+ # * +:num_searchable_docs+ - (Integer)
225
+ # * +:doc_service+ - (Hash)
226
+ # * +:arn+ - (String)
227
+ # * +:endpoint+ - (String)
228
+ # * +:search_service+ - (Hash)
229
+ # * +:arn+ - (String)
230
+ # * +:endpoint+ - (String)
231
+ # * +:requires_index_documents+ - (Boolean)
232
+ # * +:processing+ - (Boolean)
233
+ # * +:search_instance_type+ - (String)
234
+ # * +:search_partition_count+ - (Integer)
235
+ # * +:search_instance_count+ - (Integer)
236
+
237
+ # @!method delete_index_field(options = {})
238
+ # Calls the DeleteIndexField API operation.
239
+ # @param [Hash] options
240
+ # * +:domain_name+ - *required* - (String)
241
+ # * +:index_field_name+ - *required* - (String)
242
+ # @return [Core::Response]
243
+ # The #data method of the response object returns
244
+ # a hash with the following structure:
245
+ # * +:index_field+ - (Hash)
246
+ # * +:options+ - (Hash)
247
+ # * +:index_field_name+ - (String)
248
+ # * +:index_field_type+ - (String)
249
+ # * +:u_int_options+ - (Hash)
250
+ # * +:default_value+ - (Integer)
251
+ # * +:literal_options+ - (Hash)
252
+ # * +:default_value+ - (String)
253
+ # * +:search_enabled+ - (Boolean)
254
+ # * +:facet_enabled+ - (Boolean)
255
+ # * +:result_enabled+ - (Boolean)
256
+ # * +:text_options+ - (Hash)
257
+ # * +:default_value+ - (String)
258
+ # * +:facet_enabled+ - (Boolean)
259
+ # * +:result_enabled+ - (Boolean)
260
+ # * +:source_attributes+ - (Array<Hash>)
261
+ # * +:source_data_function+ - (String)
262
+ # * +:source_data_copy+ - (Hash)
263
+ # * +:source_name+ - (String)
264
+ # * +:default_value+ - (String)
265
+ # * +:source_data_trim_title+ - (Hash)
266
+ # * +:source_name+ - (String)
267
+ # * +:default_value+ - (String)
268
+ # * +:separator+ - (String)
269
+ # * +:language+ - (String)
270
+ # * +:source_data_map+ - (Hash)
271
+ # * +:source_name+ - (String)
272
+ # * +:default_value+ - (String)
273
+ # * +:cases+ - (Hash<String,String>)
274
+ # * +:status+ - (Hash)
275
+ # * +:creation_date+ - (Time)
276
+ # * +:update_date+ - (Time)
277
+ # * +:update_version+ - (Integer)
278
+ # * +:state+ - (String)
279
+
280
+ # @!method delete_rank_expression(options = {})
281
+ # Calls the DeleteRankExpression API operation.
282
+ # @param [Hash] options
283
+ # * +:domain_name+ - *required* - (String)
284
+ # * +:rank_name+ - *required* - (String) The name of the RankExpression
285
+ # to delete.
286
+ # @return [Core::Response]
287
+ # The #data method of the response object returns
288
+ # a hash with the following structure:
289
+ # * +:rank_expression+ - (Hash)
290
+ # * +:options+ - (Hash)
291
+ # * +:rank_name+ - (String)
292
+ # * +:rank_expression+ - (String)
293
+ # * +:status+ - (Hash)
294
+ # * +:creation_date+ - (Time)
295
+ # * +:update_date+ - (Time)
296
+ # * +:update_version+ - (Integer)
297
+ # * +:state+ - (String)
298
+
299
+ # @!method describe_default_search_field(options = {})
300
+ # Calls the DescribeDefaultSearchField API operation.
301
+ # @param [Hash] options
302
+ # * +:domain_name+ - *required* - (String)
303
+ # @return [Core::Response]
304
+ # The #data method of the response object returns
305
+ # a hash with the following structure:
306
+ # * +:default_search_field+ - (Hash)
307
+ # * +:options+ - (String)
308
+ # * +:status+ - (Hash)
309
+ # * +:creation_date+ - (Time)
310
+ # * +:update_date+ - (Time)
311
+ # * +:update_version+ - (Integer)
312
+ # * +:state+ - (String)
313
+
314
+ # @!method describe_domains(options = {})
315
+ # Calls the DescribeDomains API operation.
316
+ # @param [Hash] options
317
+ # * +:domain_names+ - (Array<String>) Limits the DescribeDomains
318
+ # response to the specified search domains.
319
+ # @return [Core::Response]
320
+ # The #data method of the response object returns
321
+ # a hash with the following structure:
322
+ # * +:domain_status_list+ - (Array<Hash>)
323
+ # * +:domain_id+ - (String)
324
+ # * +:domain_name+ - (String)
325
+ # * +:created+ - (Boolean)
326
+ # * +:deleted+ - (Boolean)
327
+ # * +:num_searchable_docs+ - (Integer)
328
+ # * +:doc_service+ - (Hash)
329
+ # * +:arn+ - (String)
330
+ # * +:endpoint+ - (String)
331
+ # * +:search_service+ - (Hash)
332
+ # * +:arn+ - (String)
333
+ # * +:endpoint+ - (String)
334
+ # * +:requires_index_documents+ - (Boolean)
335
+ # * +:processing+ - (Boolean)
336
+ # * +:search_instance_type+ - (String)
337
+ # * +:search_partition_count+ - (Integer)
338
+ # * +:search_instance_count+ - (Integer)
339
+
340
+ # @!method describe_index_fields(options = {})
341
+ # Calls the DescribeIndexFields API operation.
342
+ # @param [Hash] options
343
+ # * +:domain_name+ - *required* - (String)
344
+ # * +:field_names+ - (Array<String>) Limits the DescribeIndexFields
345
+ # response to the specified fields.
346
+ # @return [Core::Response]
347
+ # The #data method of the response object returns
348
+ # a hash with the following structure:
349
+ # * +:index_fields+ - (Array<Hash>)
350
+ # * +:options+ - (Hash)
351
+ # * +:index_field_name+ - (String)
352
+ # * +:index_field_type+ - (String)
353
+ # * +:u_int_options+ - (Hash)
354
+ # * +:default_value+ - (Integer)
355
+ # * +:literal_options+ - (Hash)
356
+ # * +:default_value+ - (String)
357
+ # * +:search_enabled+ - (Boolean)
358
+ # * +:facet_enabled+ - (Boolean)
359
+ # * +:result_enabled+ - (Boolean)
360
+ # * +:text_options+ - (Hash)
361
+ # * +:default_value+ - (String)
362
+ # * +:facet_enabled+ - (Boolean)
363
+ # * +:result_enabled+ - (Boolean)
364
+ # * +:source_attributes+ - (Array<Hash>)
365
+ # * +:source_data_function+ - (String)
366
+ # * +:source_data_copy+ - (Hash)
367
+ # * +:source_name+ - (String)
368
+ # * +:default_value+ - (String)
369
+ # * +:source_data_trim_title+ - (Hash)
370
+ # * +:source_name+ - (String)
371
+ # * +:default_value+ - (String)
372
+ # * +:separator+ - (String)
373
+ # * +:language+ - (String)
374
+ # * +:source_data_map+ - (Hash)
375
+ # * +:source_name+ - (String)
376
+ # * +:default_value+ - (String)
377
+ # * +:cases+ - (Hash<String,String>)
378
+ # * +:status+ - (Hash)
379
+ # * +:creation_date+ - (Time)
380
+ # * +:update_date+ - (Time)
381
+ # * +:update_version+ - (Integer)
382
+ # * +:state+ - (String)
383
+
384
+ # @!method describe_rank_expressions(options = {})
385
+ # Calls the DescribeRankExpressions API operation.
386
+ # @param [Hash] options
387
+ # * +:domain_name+ - *required* - (String)
388
+ # * +:rank_names+ - (Array<String>) Limits the DescribeRankExpressions
389
+ # response to the specified fields.
390
+ # @return [Core::Response]
391
+ # The #data method of the response object returns
392
+ # a hash with the following structure:
393
+ # * +:rank_expressions+ - (Array<Hash>)
394
+ # * +:options+ - (Hash)
395
+ # * +:rank_name+ - (String)
396
+ # * +:rank_expression+ - (String)
397
+ # * +:status+ - (Hash)
398
+ # * +:creation_date+ - (Time)
399
+ # * +:update_date+ - (Time)
400
+ # * +:update_version+ - (Integer)
401
+ # * +:state+ - (String)
402
+
403
+ # @!method describe_service_access_policies(options = {})
404
+ # Calls the DescribeServiceAccessPolicies API operation.
405
+ # @param [Hash] options
406
+ # * +:domain_name+ - *required* - (String)
407
+ # @return [Core::Response]
408
+ # The #data method of the response object returns
409
+ # a hash with the following structure:
410
+ # * +:access_policies+ - (Hash)
411
+ # * +:options+ - (String)
412
+ # * +:status+ - (Hash)
413
+ # * +:creation_date+ - (Time)
414
+ # * +:update_date+ - (Time)
415
+ # * +:update_version+ - (Integer)
416
+ # * +:state+ - (String)
417
+
418
+ # @!method describe_stemming_options(options = {})
419
+ # Calls the DescribeStemmingOptions API operation.
420
+ # @param [Hash] options
421
+ # * +:domain_name+ - *required* - (String)
422
+ # @return [Core::Response]
423
+ # The #data method of the response object returns
424
+ # a hash with the following structure:
425
+ # * +:stems+ - (Hash)
426
+ # * +:options+ - (String)
427
+ # * +:status+ - (Hash)
428
+ # * +:creation_date+ - (Time)
429
+ # * +:update_date+ - (Time)
430
+ # * +:update_version+ - (Integer)
431
+ # * +:state+ - (String)
432
+
433
+ # @!method describe_stopword_options(options = {})
434
+ # Calls the DescribeStopwordOptions API operation.
435
+ # @param [Hash] options
436
+ # * +:domain_name+ - *required* - (String)
437
+ # @return [Core::Response]
438
+ # The #data method of the response object returns
439
+ # a hash with the following structure:
440
+ # * +:stopwords+ - (Hash)
441
+ # * +:options+ - (String)
442
+ # * +:status+ - (Hash)
443
+ # * +:creation_date+ - (Time)
444
+ # * +:update_date+ - (Time)
445
+ # * +:update_version+ - (Integer)
446
+ # * +:state+ - (String)
447
+
448
+ # @!method describe_synonym_options(options = {})
449
+ # Calls the DescribeSynonymOptions API operation.
450
+ # @param [Hash] options
451
+ # * +:domain_name+ - *required* - (String)
452
+ # @return [Core::Response]
453
+ # The #data method of the response object returns
454
+ # a hash with the following structure:
455
+ # * +:synonyms+ - (Hash)
456
+ # * +:options+ - (String)
457
+ # * +:status+ - (Hash)
458
+ # * +:creation_date+ - (Time)
459
+ # * +:update_date+ - (Time)
460
+ # * +:update_version+ - (Integer)
461
+ # * +:state+ - (String)
462
+
463
+ # @!method index_documents(options = {})
464
+ # Calls the IndexDocuments API operation.
465
+ # @param [Hash] options
466
+ # * +:domain_name+ - *required* - (String)
467
+ # @return [Core::Response]
468
+ # The #data method of the response object returns
469
+ # a hash with the following structure:
470
+ # * +:field_names+ - (Array<String>)
471
+
472
+ # @!method update_default_search_field(options = {})
473
+ # Calls the UpdateDefaultSearchField API operation.
474
+ # @param [Hash] options
475
+ # * +:domain_name+ - *required* - (String)
476
+ # * +:default_search_field+ - *required* - (String) The IndexField to
477
+ # use for search requests issued with the q parameter. The default is
478
+ # an empty string, which automatically searches all text fields.
479
+ # @return [Core::Response]
480
+ # The #data method of the response object returns
481
+ # a hash with the following structure:
482
+ # * +:default_search_field+ - (Hash)
483
+ # * +:options+ - (String)
484
+ # * +:status+ - (Hash)
485
+ # * +:creation_date+ - (Time)
486
+ # * +:update_date+ - (Time)
487
+ # * +:update_version+ - (Integer)
488
+ # * +:state+ - (String)
489
+
490
+ # @!method update_service_access_policies(options = {})
491
+ # Calls the UpdateServiceAccessPolicies API operation.
492
+ # @param [Hash] options
493
+ # * +:domain_name+ - *required* - (String)
494
+ # * +:access_policies+ - *required* - (String)
495
+ # @return [Core::Response]
496
+ # The #data method of the response object returns
497
+ # a hash with the following structure:
498
+ # * +:access_policies+ - (Hash)
499
+ # * +:options+ - (String)
500
+ # * +:status+ - (Hash)
501
+ # * +:creation_date+ - (Time)
502
+ # * +:update_date+ - (Time)
503
+ # * +:update_version+ - (Integer)
504
+ # * +:state+ - (String)
505
+
506
+ # @!method update_stemming_options(options = {})
507
+ # Calls the UpdateStemmingOptions API operation.
508
+ # @param [Hash] options
509
+ # * +:domain_name+ - *required* - (String)
510
+ # * +:stems+ - *required* - (String)
511
+ # @return [Core::Response]
512
+ # The #data method of the response object returns
513
+ # a hash with the following structure:
514
+ # * +:stems+ - (Hash)
515
+ # * +:options+ - (String)
516
+ # * +:status+ - (Hash)
517
+ # * +:creation_date+ - (Time)
518
+ # * +:update_date+ - (Time)
519
+ # * +:update_version+ - (Integer)
520
+ # * +:state+ - (String)
521
+
522
+ # @!method update_stopword_options(options = {})
523
+ # Calls the UpdateStopwordOptions API operation.
524
+ # @param [Hash] options
525
+ # * +:domain_name+ - *required* - (String)
526
+ # * +:stopwords+ - *required* - (String)
527
+ # @return [Core::Response]
528
+ # The #data method of the response object returns
529
+ # a hash with the following structure:
530
+ # * +:stopwords+ - (Hash)
531
+ # * +:options+ - (String)
532
+ # * +:status+ - (Hash)
533
+ # * +:creation_date+ - (Time)
534
+ # * +:update_date+ - (Time)
535
+ # * +:update_version+ - (Integer)
536
+ # * +:state+ - (String)
537
+
538
+ # @!method update_synonym_options(options = {})
539
+ # Calls the UpdateSynonymOptions API operation.
540
+ # @param [Hash] options
541
+ # * +:domain_name+ - *required* - (String)
542
+ # * +:synonyms+ - *required* - (String)
543
+ # @return [Core::Response]
544
+ # The #data method of the response object returns
545
+ # a hash with the following structure:
546
+ # * +:synonyms+ - (Hash)
547
+ # * +:options+ - (String)
548
+ # * +:status+ - (Hash)
549
+ # * +:creation_date+ - (Time)
550
+ # * +:update_date+ - (Time)
551
+ # * +:update_version+ - (Integer)
552
+ # * +:state+ - (String)
553
+
554
+ ## end client methods ##
555
+
556
+ end
557
+ end
558
+ end