aws-sdk 1.6.9 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -1,4 +1,4 @@
1
- = Getting Started with the AWS SDK for Ruby
1
+ = Getting Started with the AWS SDK for Ruby {<img src="https://secure.travis-ci.org/amazonwebservices/aws-sdk-for-ruby.png?branch=master" alt="Build Status" />}[http://travis-ci.org/amazonwebservices/aws-sdk-for-ruby]
2
2
 
3
3
  The AWS SDK for Ruby helps you to get started building applications
4
4
  using AWS infrastructure services, including Amazon Simple Storage
data/lib/aws.rb CHANGED
@@ -15,12 +15,16 @@ require 'aws/core'
15
15
 
16
16
  require 'aws/auto_scaling/config'
17
17
  require 'aws/cloud_formation/config'
18
+ require 'aws/cloud_search/config'
18
19
  require 'aws/cloud_watch/config'
19
20
  require 'aws/dynamo_db/config'
20
21
  require 'aws/ec2/config'
22
+ require 'aws/elasticache/config'
23
+ require 'aws/elastic_beanstalk/config'
21
24
  require 'aws/emr/config'
22
25
  require 'aws/elb/config'
23
26
  require 'aws/iam/config'
27
+ require 'aws/rds/config'
24
28
  require 'aws/route_53/config'
25
29
  require 'aws/s3/config'
26
30
  require 'aws/simple_db/config'
@@ -34,12 +38,16 @@ module AWS
34
38
  register_autoloads(self) do
35
39
  autoload :AutoScaling, 'auto_scaling'
36
40
  autoload :CloudFormation, 'cloud_formation'
41
+ autoload :CloudSearch, 'cloud_search'
37
42
  autoload :CloudWatch, 'cloud_watch'
38
43
  autoload :DynamoDB, 'dynamo_db'
39
44
  autoload :EC2, 'ec2'
45
+ autoload :ElastiCache, 'elasticache'
46
+ autoload :ElasticBeanstalk, 'elastic_beanstalk'
40
47
  autoload :EMR, 'emr'
41
48
  autoload :ELB, 'elb'
42
49
  autoload :IAM, 'iam'
50
+ autoload :RDS, 'rds'
43
51
  autoload :Route53, 'route_53'
44
52
  autoload :S3, 's3'
45
53
  autoload :SimpleDB, 'simple_db'
@@ -0,0 +1,681 @@
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
+ ---
15
+ :api_version: '2011-02-01'
16
+ :operations:
17
+ - :name: CreateDomain
18
+ :method: :create_domain
19
+ :inputs:
20
+ DomainName:
21
+ - :string
22
+ - :required
23
+ :outputs:
24
+ :children:
25
+ CreateDomainResult:
26
+ :ignore: true
27
+ :children:
28
+ DomainStatus:
29
+ :children:
30
+ Created:
31
+ :type: :boolean
32
+ Deleted:
33
+ :type: :boolean
34
+ NumSearchableDocs:
35
+ :type: :integer
36
+ RequiresIndexDocuments:
37
+ :type: :boolean
38
+ Processing:
39
+ :type: :boolean
40
+ SearchPartitionCount:
41
+ :type: :integer
42
+ SearchInstanceCount:
43
+ :type: :integer
44
+ - :name: DefineIndexField
45
+ :method: :define_index_field
46
+ :inputs:
47
+ DomainName:
48
+ - :string
49
+ - :required
50
+ IndexField:
51
+ - :structure:
52
+ IndexFieldName:
53
+ - :string
54
+ - :required
55
+ IndexFieldType:
56
+ - :string
57
+ - :required
58
+ UIntOptions:
59
+ - :structure:
60
+ DefaultValue:
61
+ - :integer
62
+ LiteralOptions:
63
+ - :structure:
64
+ DefaultValue:
65
+ - :string
66
+ SearchEnabled:
67
+ - :boolean
68
+ FacetEnabled:
69
+ - :boolean
70
+ ResultEnabled:
71
+ - :boolean
72
+ TextOptions:
73
+ - :structure:
74
+ DefaultValue:
75
+ - :string
76
+ FacetEnabled:
77
+ - :boolean
78
+ ResultEnabled:
79
+ - :boolean
80
+ SourceAttributes:
81
+ - :membered_list:
82
+ - :structure:
83
+ SourceDataFunction:
84
+ - :string
85
+ - :required
86
+ SourceDataCopy:
87
+ - :structure:
88
+ SourceName:
89
+ - :string
90
+ - :required
91
+ DefaultValue:
92
+ - :string
93
+ SourceDataTrimTitle:
94
+ - :structure:
95
+ SourceName:
96
+ - :string
97
+ - :required
98
+ DefaultValue:
99
+ - :string
100
+ Separator:
101
+ - :string
102
+ Language:
103
+ - :string
104
+ SourceDataMap:
105
+ - :structure:
106
+ SourceName:
107
+ - :string
108
+ - :required
109
+ DefaultValue:
110
+ - :string
111
+ Cases:
112
+ - :map:
113
+ :key:
114
+ - :string
115
+ :value:
116
+ - :string
117
+ - :required
118
+ :outputs:
119
+ :children:
120
+ DefineIndexFieldResult:
121
+ :ignore: true
122
+ :children:
123
+ IndexField:
124
+ :children:
125
+ Options:
126
+ :children:
127
+ UIntOptions:
128
+ :children:
129
+ DefaultValue:
130
+ :type: :integer
131
+ LiteralOptions:
132
+ :children:
133
+ SearchEnabled:
134
+ :type: :boolean
135
+ FacetEnabled:
136
+ :type: :boolean
137
+ ResultEnabled:
138
+ :type: :boolean
139
+ TextOptions:
140
+ :children:
141
+ FacetEnabled:
142
+ :type: :boolean
143
+ ResultEnabled:
144
+ :type: :boolean
145
+ SourceAttributes:
146
+ :ignore: true
147
+ :children:
148
+ member:
149
+ :rename: :source_attributes
150
+ :list: true
151
+ :children:
152
+ SourceDataMap:
153
+ :children:
154
+ Cases:
155
+ :ignore: true
156
+ :children:
157
+ entry:
158
+ :rename: :cases
159
+ :map:
160
+ - key
161
+ - value
162
+ Status:
163
+ :children:
164
+ CreationDate:
165
+ :type: :time
166
+ UpdateDate:
167
+ :type: :time
168
+ UpdateVersion:
169
+ :type: :integer
170
+ - :name: DefineRankExpression
171
+ :method: :define_rank_expression
172
+ :inputs:
173
+ DomainName:
174
+ - :string
175
+ - :required
176
+ RankExpression:
177
+ - :structure:
178
+ RankName:
179
+ - :string
180
+ - :required
181
+ RankExpression:
182
+ - :string
183
+ - :required
184
+ - :required
185
+ :outputs:
186
+ :children:
187
+ DefineRankExpressionResult:
188
+ :ignore: true
189
+ :children:
190
+ RankExpression:
191
+ :children:
192
+ Status:
193
+ :children:
194
+ CreationDate:
195
+ :type: :time
196
+ UpdateDate:
197
+ :type: :time
198
+ UpdateVersion:
199
+ :type: :integer
200
+ - :name: DeleteDomain
201
+ :method: :delete_domain
202
+ :inputs:
203
+ DomainName:
204
+ - :string
205
+ - :required
206
+ :outputs:
207
+ :children:
208
+ DeleteDomainResult:
209
+ :ignore: true
210
+ :children:
211
+ DomainStatus:
212
+ :children:
213
+ Created:
214
+ :type: :boolean
215
+ Deleted:
216
+ :type: :boolean
217
+ NumSearchableDocs:
218
+ :type: :integer
219
+ RequiresIndexDocuments:
220
+ :type: :boolean
221
+ Processing:
222
+ :type: :boolean
223
+ SearchPartitionCount:
224
+ :type: :integer
225
+ SearchInstanceCount:
226
+ :type: :integer
227
+ - :name: DeleteIndexField
228
+ :method: :delete_index_field
229
+ :inputs:
230
+ DomainName:
231
+ - :string
232
+ - :required
233
+ IndexFieldName:
234
+ - :string
235
+ - :required
236
+ :outputs:
237
+ :children:
238
+ DeleteIndexFieldResult:
239
+ :ignore: true
240
+ :children:
241
+ IndexField:
242
+ :children:
243
+ Options:
244
+ :children:
245
+ UIntOptions:
246
+ :children:
247
+ DefaultValue:
248
+ :type: :integer
249
+ LiteralOptions:
250
+ :children:
251
+ SearchEnabled:
252
+ :type: :boolean
253
+ FacetEnabled:
254
+ :type: :boolean
255
+ ResultEnabled:
256
+ :type: :boolean
257
+ TextOptions:
258
+ :children:
259
+ FacetEnabled:
260
+ :type: :boolean
261
+ ResultEnabled:
262
+ :type: :boolean
263
+ SourceAttributes:
264
+ :ignore: true
265
+ :children:
266
+ member:
267
+ :rename: :source_attributes
268
+ :list: true
269
+ :children:
270
+ SourceDataMap:
271
+ :children:
272
+ Cases:
273
+ :ignore: true
274
+ :children:
275
+ entry:
276
+ :rename: :cases
277
+ :map:
278
+ - key
279
+ - value
280
+ Status:
281
+ :children:
282
+ CreationDate:
283
+ :type: :time
284
+ UpdateDate:
285
+ :type: :time
286
+ UpdateVersion:
287
+ :type: :integer
288
+ - :name: DeleteRankExpression
289
+ :method: :delete_rank_expression
290
+ :inputs:
291
+ DomainName:
292
+ - :string
293
+ - :required
294
+ RankName:
295
+ - :string
296
+ - :required
297
+ :outputs:
298
+ :children:
299
+ DeleteRankExpressionResult:
300
+ :ignore: true
301
+ :children:
302
+ RankExpression:
303
+ :children:
304
+ Status:
305
+ :children:
306
+ CreationDate:
307
+ :type: :time
308
+ UpdateDate:
309
+ :type: :time
310
+ UpdateVersion:
311
+ :type: :integer
312
+ - :name: DescribeDefaultSearchField
313
+ :method: :describe_default_search_field
314
+ :inputs:
315
+ DomainName:
316
+ - :string
317
+ - :required
318
+ :outputs:
319
+ :children:
320
+ DescribeDefaultSearchFieldResult:
321
+ :ignore: true
322
+ :children:
323
+ DefaultSearchField:
324
+ :children:
325
+ Status:
326
+ :children:
327
+ CreationDate:
328
+ :type: :time
329
+ UpdateDate:
330
+ :type: :time
331
+ UpdateVersion:
332
+ :type: :integer
333
+ - :name: DescribeDomains
334
+ :method: :describe_domains
335
+ :inputs:
336
+ DomainNames:
337
+ - :membered_list:
338
+ - :string
339
+ :outputs:
340
+ :children:
341
+ DescribeDomainsResult:
342
+ :ignore: true
343
+ :children:
344
+ DomainStatusList:
345
+ :ignore: true
346
+ :children:
347
+ member:
348
+ :rename: :domain_status_list
349
+ :list: true
350
+ :children:
351
+ Created:
352
+ :type: :boolean
353
+ Deleted:
354
+ :type: :boolean
355
+ NumSearchableDocs:
356
+ :type: :integer
357
+ RequiresIndexDocuments:
358
+ :type: :boolean
359
+ Processing:
360
+ :type: :boolean
361
+ SearchPartitionCount:
362
+ :type: :integer
363
+ SearchInstanceCount:
364
+ :type: :integer
365
+ - :name: DescribeIndexFields
366
+ :method: :describe_index_fields
367
+ :inputs:
368
+ DomainName:
369
+ - :string
370
+ - :required
371
+ FieldNames:
372
+ - :membered_list:
373
+ - :string
374
+ :outputs:
375
+ :children:
376
+ DescribeIndexFieldsResult:
377
+ :ignore: true
378
+ :children:
379
+ IndexFields:
380
+ :ignore: true
381
+ :children:
382
+ member:
383
+ :rename: :index_fields
384
+ :list: true
385
+ :children:
386
+ Options:
387
+ :children:
388
+ UIntOptions:
389
+ :children:
390
+ DefaultValue:
391
+ :type: :integer
392
+ LiteralOptions:
393
+ :children:
394
+ SearchEnabled:
395
+ :type: :boolean
396
+ FacetEnabled:
397
+ :type: :boolean
398
+ ResultEnabled:
399
+ :type: :boolean
400
+ TextOptions:
401
+ :children:
402
+ FacetEnabled:
403
+ :type: :boolean
404
+ ResultEnabled:
405
+ :type: :boolean
406
+ SourceAttributes:
407
+ :ignore: true
408
+ :children:
409
+ member:
410
+ :rename: :source_attributes
411
+ :list: true
412
+ :children:
413
+ SourceDataMap:
414
+ :children:
415
+ Cases:
416
+ :ignore: true
417
+ :children:
418
+ entry:
419
+ :rename: :cases
420
+ :map:
421
+ - key
422
+ - value
423
+ Status:
424
+ :children:
425
+ CreationDate:
426
+ :type: :time
427
+ UpdateDate:
428
+ :type: :time
429
+ UpdateVersion:
430
+ :type: :integer
431
+ - :name: DescribeRankExpressions
432
+ :method: :describe_rank_expressions
433
+ :inputs:
434
+ DomainName:
435
+ - :string
436
+ - :required
437
+ RankNames:
438
+ - :membered_list:
439
+ - :string
440
+ :outputs:
441
+ :children:
442
+ DescribeRankExpressionsResult:
443
+ :ignore: true
444
+ :children:
445
+ RankExpressions:
446
+ :ignore: true
447
+ :children:
448
+ member:
449
+ :rename: :rank_expressions
450
+ :list: true
451
+ :children:
452
+ Status:
453
+ :children:
454
+ CreationDate:
455
+ :type: :time
456
+ UpdateDate:
457
+ :type: :time
458
+ UpdateVersion:
459
+ :type: :integer
460
+ - :name: DescribeServiceAccessPolicies
461
+ :method: :describe_service_access_policies
462
+ :inputs:
463
+ DomainName:
464
+ - :string
465
+ - :required
466
+ :outputs:
467
+ :children:
468
+ DescribeServiceAccessPoliciesResult:
469
+ :ignore: true
470
+ :children:
471
+ AccessPolicies:
472
+ :children:
473
+ Status:
474
+ :children:
475
+ CreationDate:
476
+ :type: :time
477
+ UpdateDate:
478
+ :type: :time
479
+ UpdateVersion:
480
+ :type: :integer
481
+ - :name: DescribeStemmingOptions
482
+ :method: :describe_stemming_options
483
+ :inputs:
484
+ DomainName:
485
+ - :string
486
+ - :required
487
+ :outputs:
488
+ :children:
489
+ DescribeStemmingOptionsResult:
490
+ :ignore: true
491
+ :children:
492
+ Stems:
493
+ :children:
494
+ Status:
495
+ :children:
496
+ CreationDate:
497
+ :type: :time
498
+ UpdateDate:
499
+ :type: :time
500
+ UpdateVersion:
501
+ :type: :integer
502
+ - :name: DescribeStopwordOptions
503
+ :method: :describe_stopword_options
504
+ :inputs:
505
+ DomainName:
506
+ - :string
507
+ - :required
508
+ :outputs:
509
+ :children:
510
+ DescribeStopwordOptionsResult:
511
+ :ignore: true
512
+ :children:
513
+ Stopwords:
514
+ :children:
515
+ Status:
516
+ :children:
517
+ CreationDate:
518
+ :type: :time
519
+ UpdateDate:
520
+ :type: :time
521
+ UpdateVersion:
522
+ :type: :integer
523
+ - :name: DescribeSynonymOptions
524
+ :method: :describe_synonym_options
525
+ :inputs:
526
+ DomainName:
527
+ - :string
528
+ - :required
529
+ :outputs:
530
+ :children:
531
+ DescribeSynonymOptionsResult:
532
+ :ignore: true
533
+ :children:
534
+ Synonyms:
535
+ :children:
536
+ Status:
537
+ :children:
538
+ CreationDate:
539
+ :type: :time
540
+ UpdateDate:
541
+ :type: :time
542
+ UpdateVersion:
543
+ :type: :integer
544
+ - :name: IndexDocuments
545
+ :method: :index_documents
546
+ :inputs:
547
+ DomainName:
548
+ - :string
549
+ - :required
550
+ - :required
551
+ :outputs:
552
+ :children:
553
+ IndexDocumentsResult:
554
+ :ignore: true
555
+ :children:
556
+ FieldNames:
557
+ :ignore: true
558
+ :children:
559
+ member:
560
+ :rename: :field_names
561
+ :list: true
562
+ - :name: UpdateDefaultSearchField
563
+ :method: :update_default_search_field
564
+ :inputs:
565
+ DomainName:
566
+ - :string
567
+ - :required
568
+ DefaultSearchField:
569
+ - :string
570
+ - :required
571
+ :outputs:
572
+ :children:
573
+ UpdateDefaultSearchFieldResult:
574
+ :ignore: true
575
+ :children:
576
+ DefaultSearchField:
577
+ :children:
578
+ Status:
579
+ :children:
580
+ CreationDate:
581
+ :type: :time
582
+ UpdateDate:
583
+ :type: :time
584
+ UpdateVersion:
585
+ :type: :integer
586
+ - :name: UpdateServiceAccessPolicies
587
+ :method: :update_service_access_policies
588
+ :inputs:
589
+ DomainName:
590
+ - :string
591
+ - :required
592
+ AccessPolicies:
593
+ - :string
594
+ - :required
595
+ :outputs:
596
+ :children:
597
+ UpdateServiceAccessPoliciesResult:
598
+ :ignore: true
599
+ :children:
600
+ AccessPolicies:
601
+ :children:
602
+ Status:
603
+ :children:
604
+ CreationDate:
605
+ :type: :time
606
+ UpdateDate:
607
+ :type: :time
608
+ UpdateVersion:
609
+ :type: :integer
610
+ - :name: UpdateStemmingOptions
611
+ :method: :update_stemming_options
612
+ :inputs:
613
+ DomainName:
614
+ - :string
615
+ - :required
616
+ Stems:
617
+ - :string
618
+ - :required
619
+ :outputs:
620
+ :children:
621
+ UpdateStemmingOptionsResult:
622
+ :ignore: true
623
+ :children:
624
+ Stems:
625
+ :children:
626
+ Status:
627
+ :children:
628
+ CreationDate:
629
+ :type: :time
630
+ UpdateDate:
631
+ :type: :time
632
+ UpdateVersion:
633
+ :type: :integer
634
+ - :name: UpdateStopwordOptions
635
+ :method: :update_stopword_options
636
+ :inputs:
637
+ DomainName:
638
+ - :string
639
+ - :required
640
+ Stopwords:
641
+ - :string
642
+ - :required
643
+ :outputs:
644
+ :children:
645
+ UpdateStopwordOptionsResult:
646
+ :ignore: true
647
+ :children:
648
+ Stopwords:
649
+ :children:
650
+ Status:
651
+ :children:
652
+ CreationDate:
653
+ :type: :time
654
+ UpdateDate:
655
+ :type: :time
656
+ UpdateVersion:
657
+ :type: :integer
658
+ - :name: UpdateSynonymOptions
659
+ :method: :update_synonym_options
660
+ :inputs:
661
+ DomainName:
662
+ - :string
663
+ - :required
664
+ Synonyms:
665
+ - :string
666
+ - :required
667
+ :outputs:
668
+ :children:
669
+ UpdateSynonymOptionsResult:
670
+ :ignore: true
671
+ :children:
672
+ Synonyms:
673
+ :children:
674
+ Status:
675
+ :children:
676
+ CreationDate:
677
+ :type: :time
678
+ UpdateDate:
679
+ :type: :time
680
+ UpdateVersion:
681
+ :type: :integer