forked from aws/aws-sdk-ruby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
4554 lines (3645 loc) · 198 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2013-07-05 Trevor Rowe <[email protected]>
* spec/aws/config_spec.rb, spec/aws/core/client_spec.rb,
spec/aws/core/region_spec.rb: Updated specs to use the new AWS::SERVICES
format.
* lib/aws/dynamo_db/client.rb, lib/aws/dynamo_db/client_v2.rb: Updated
client API documentation for both Amazon DynamoDB clients.
* lib/aws/dynamo_db/client.rb: Added whitespace in client documentation to
ensure nested lists render correctly.
2013-07-03 Trevor Rowe <[email protected]>
* lib/aws/core.rb, lib/aws/core/region.rb, tasks/docs.rake: Updated
documentation for service helpers.
* lib/aws/core.rb, lib/aws/core/configuration.rb, lib/aws/core/region.rb,
tasks/docs.rake: Renamed helper methods for AWS::SimpleEmailService and
AWS::SimpleWorkflow.
To be consistent with other services that use the official service
abbreviation,
the helper methods on `AWS` and `AWS::Core::Region` now use the short names
for
`AWS::SimpleEmailService` and `AWS::SimpleWorkflow`.
# new methods
AWS.ses
AWS.swf
AWS.regions['us-west-2'].ses
AWS.regions['us-west-2'].swf
# deprecated methods
AWS.simple_email_service
AWS.simple_workflow
AWS.regions['us-west-2'].simple_email_service
AWS.regions['us-west-2'].simple_workflow
Additionally global configuration options use the short name.
AWS.config(:ses => {...})
AWS.config(:swf => {...})
* lib/aws/core/configuration.rb, spec/aws/core/client_spec.rb: You can now
specify endpoint, region and port per service via AWS.config(:svc => { ...
})
You can specify global options per service now using the new configuration
options.
Example:
AWS.config(:s3 => { :region => 'us-west-2' })
AWS::S3.new.config.s3_region
#=> 'us-west-2'
* lib/aws/core/configuration.rb, spec/aws/config_spec.rb: Each service now
hash a top-level configuration entry.
Each service now has a config option, for example:
AWS.config.s3
#=> {}
You can specify the value like any other configuration option:
AWS.config(:s3 => { 'abc' => 'xyz' })
These values are not yet used anywhere. They will eventually
be merged with the root level configuration options when building
a client.
* lib/aws/route_53/resource_record_set.rb: Don't nuke attributes on
ResourceRecordSet update
Previously, if you were not changing the name, type, or set identifier, they
would be destructively removed from the ResourceRecordSet on update.
* lib/aws/route_53/resource_record_set.rb: Add failover and health check
attributes
* features/sns/message.feature, features/sqs/step_definitions/messages.rb:
Added integration tests for AWS::SNS::Message#authentic?
References #61
* spec/aws/sns/message_spec.rb: Made the pending test for
AWS::SNS::Message#authentic? pass.
References #61
* lib/aws/sns/message.rb: AWS::SNS::Message now uses Net::HTTP instead of
HTTParty.
HTTParty is no longer a dependency of the SDK.
References #61
* lib/aws/s3/encryption_utils.rb: Minor changes to address feedback in #259.
* lib/aws/core/http/net_http_handler.rb,
spec/aws/core/http/net_http_handler_spec.rb: Disable retries as soon as any
data has been yielded
* spec/require_test_3.rb: Replaced usage of === with == when checking for
nil.
* lib/aws/core.rb: Updated the documentation for eager_autoload! to a void
return.
2013-07-04 Tung Nguyen <[email protected]>
* lib/aws/core.rb: add AWS.reset_memoization method
* lib/aws/sns/message.rb, spec/aws/sns/message_spec.rb:
AWS::SNS::Message#authentic? no longer flattens errors.
Errors raised when trying to validate the SNS message were
getting replaced with a generic message and a StandardError.
If it fails 3 times, the original error will now raise through.
* lib/aws/sns/message.rb: Resolved an issue with AWS::SNS::Mesage and Ruby
versions < 2.0.
2013-06-27 Gustav Munkby <[email protected]>
* spec/aws/core/http/net_http_handler_spec.rb: Pending specs for more
reasonable streaming behaviour
Previously, errors in subsequent chunks were caught and then the whole
request was retried, yielding (possibly) repeated chunks to the
read_block, without any indication (in the block) of this being done.
The outer client method would also not report any errors for a consumer
to check.
* spec/aws/core/http/net_http_handler_spec.rb: Add specs for streaming http
responses
2013-07-02 Trevor Rowe <[email protected]>
* spec/aws_spec.rb: Updated unit tests to not rely on return value from
`eager_autoload!`.
* Gemfile: Use HTTPS when talking to rubygems.org.
* lib/aws/route_53/change_batch.rb: Expose failover + health check id in
ChangeRequest
* lib/aws/core.rb, spec/require_test_3.rb: Reverted the return value from
AWS.eager_autoload!
* lib/aws/iam/virtual_mfa_device.rb,
spec/aws/iam/virtual_mfa_device_spec.rb: Resolved an issue with
AWS::IAM::VirtualMFADevice#enable.
Passing in string values for a code like '099999' were raising
runtime errors from sprintf. This change prevents string values
from getting passed through sprintf. Added a test to cover this
behavior.
Fixes #288
* lib/aws/core/http/net_http_handler.rb,
spec/aws/core/http/net_http_handler_spec.rb: Capture OpenSSL errors, to
allow retry for those as well
2013-07-01 Katie Zhu <[email protected]>
* samples/sqs/get_queue_list.rb: Adds simple example to list SQS queues.
* samples/sqs/add_queue_message.rb: Fixes LoadError. Properly load AWS
config.
* lib/aws/cloud_watch/metric_collection.rb,
spec/aws/cloud_watch/metric_collection_spec.rb: Fixed issue with
AWS::CloudWatch::MetricCollection#with_dimensions.
Dimensions were getting lost before being passed to #filter.
Added specs for this feature as well.
Fixes #286.
2013-06-28 Bob Potter <[email protected]>
* lib/aws/core/http/curb_handler.rb: Curb Performance: Use an array of
strings instead of a StringIO object.
* lib/aws/core/http/curb_handler.rb: Remove Request#proxy_uri references
from CurbHandler. #proxy_uri is no longer defined on Request
2013-06-26 Gustav Munkby <[email protected]>
* lib/aws/core/http/net_http_handler.rb: Change HTTP handler to whitelist
network errors
Instead of (dangerously) whitelisting errors to reraise, this changes
the HTTP handler to explicitly list the raised exceptions for which the
exceptions should be swallowed.
Fundamentally, this changes handling of unknown errors (such as any Java
error in JRuby) to not be swallowed.
* lib/aws/simple_email_service.rb, spec/aws/simple_email_service_spec.rb:
Added test for setting message id on raw messages.
When calling `AWS::SimpleEmailService#send_raw_message` with an
object that responds to `#message_id=`, then the message ID
from the SES response will be set on the raw message.
Added a missing test and corrected the `#responds_to?` check.
Fixes #261
2013-06-25 Trevor Rowe <[email protected]>
* lib/aws/core.rb, spec/aws_spec.rb, spec/fixtures/autoload_target.rb,
spec/fixtures/nested_autoload_target.rb, spec/require_test_3.rb: Removed the
need to specify modules by crawling all constants when eager autoloading.
* lib/aws/core.rb, spec/require_test_3.rb, tasks/rspec.rake:
AWS.eager_autoload! now autolaods all of AWS::Core.
Fixes #279
2013-06-24 Trevor Rowe <[email protected]>
* features/extra/common.rb: Running integration tests without a config now
marks affected tests as pending.
Previously these would fail with an unhelpful message. They now are skipped
as pending with a message about what test configuration option needs to
be set.
* lib/aws/core/configuration.rb: doc typo
2013-06-21 Alex Wood <[email protected]>
* lib/aws/auto_scaling/group.rb: Fix missing attribute for
termination_options
* features/auto_scaling/step_definitions/groups.rb,
features/ec2/snapshots.feature, features/ec2/volume_attributes.feature,
features/ec2/volumes.feature, features/ec2/zones.feature,
features/elb/availability_zones.feature,
features/elb/load_balancers.feature,
features/elb/step_definitions/load_balancers.rb: Make Cucumber tests work
for users unable to use us-east-1a
Some AWS users cannot access the AZ us-east-1a, making them
unable to run our full Cucumber test suite. This change
removes us-east-1a from the Cucumber integration tests, replacing
with us-east-1b or other AZs as appropriate.
* features/auto_scaling/step_definitions/groups.rb,
lib/aws/auto_scaling/group_options.rb,
spec/aws/auto_scaling/group_collection_spec.rb: Add termination_options to
Auto Scaling group creation.
Adds the optional parameter :termination_options to
AWS::AutoScaling::GroupCollection "create" method.
Includes documentation of the parameter, integration
tests, and a spec test.
Fixes #275
2013-06-19 Trevor Rowe <[email protected]>
* lib/aws/s3/client.rb, spec/aws/s3/client_spec.rb: AWS::S3::Client now
retries 400 RequestTimeout errors.
* lib/aws/core/configuration.rb, spec/aws/config_spec.rb: Reduced
:http_idle_timeout default from 60 to 5 seconds.
* features/s3/high_level/objects.feature,
features/s3/high_level/step_definitions/objects.rb,
lib/aws/s3/object_collection.rb, spec/aws/s3/object_collection_spec.rb,
spec/shared/s3/paginated_collection_examples.rb: Fixed issue with pagination
in S3.
The next_markers method in object_collection.rb for S3 did not reference the
"next_marker" property, causing issues when the contents.last value was
missing.
Added Cucumber/RSpec tests to cover this case, added a check for next_marker
to object_collection.rb, and refactored the marker selection logic to be
more
readable.
Fixes #247
2013-06-18 Trevor Rowe <[email protected]>
* ChangeLog, lib/aws/version.rb: Bump version to 1.11.3
* spec/aws/sns/request_spec.rb: Removed v2 specs from SNS client, now using
v4 signer.
* lib/aws/sns/request.rb: Moved the SNS client from sigv2 to sigv4.
2013-06-14 Trevor Rowe <[email protected]>
* spec/aws/s3/access_control_list_spec.rb,
spec/aws/s3/presigned_post_spec.rb, spec/spec_helper.rb, tasks/rspec.rake:
Added a task to run each spec file in its own process.
Updated a few specs that were failing when run directly.
* spec/require_test_1.rb, spec/require_test_2.rb, tasks/rspec.rake: Added
addition tests around loading the SDK.
Because the SDK uses autoload, it is necessary to run these
tests in separate processes.
* lib/aws/ec2/instance.rb, spec/aws/ec2/instance_spec.rb: Resolved an issue
with AWS::EC2::Instance#console_output
When the output xml element is missing from the response to
GetConsoleOutput then this method was raising an error. This
now returns +nil+ indicating the output is not available.
Fixes #272
2013-06-12 Trevor Rowe <[email protected]>
* aws-sdk.gemspec, bin/aws-rb, bin/aws-sdk-repl: Renamed the aws-sdk-repl to
aws-rb.
* Renamed the script
* Updated the gem specification executables
* Renamed the ENV prefix from AWS_SDK_REPL to AWSRB
* bin/aws-sdk-repl: Changed the usage banner to match the (current)
executable name.
* bin/aws-sdk-repl: Modified the repl include and require options.
* Now requiring the aws-sdk gem after the $LOAD_PATH
has been amended. This allows the user to point
the repl to a different version of the SDK.
* Now requiring any files specified via -r. This happens
after the SDK has been loaded and configured. This
alows the required library to make use of the SDK.
* bin/aws-sdk-repl: Corrected spelling error in comment.
* .gitignore, Gemfile, aws-sdk.gemspec, bin/aws-sdk-repl: Added a basic repl
executable as aws-sdk-repl.
This repl will default to pry when available, but will
fall back to irb when not available. It accepts a number
of runtime configuration options and defaults can be exported
to ENV.
By default client requests are logged (in color). A quick
example:
aws-sdk-repl
AWS> s3.buckets['aws-sdk'].objects['key'].content_length
[AWS S3 200 0.875184 0 retries]
head_object(:bucket_name=>"aws-sdk",:key=>"key")
=> 5242881
You can use all methods of the AWS module directly when using Pry.
2013-06-10 Trevor Rowe <[email protected]>
* lib/aws/auto_scaling/client.rb, lib/aws/cloud_formation/client.rb,
lib/aws/cloud_front/client.rb, lib/aws/cloud_search/client.rb,
lib/aws/cloud_watch/client.rb, lib/aws/data_pipeline/client.rb,
lib/aws/direct_connect/client.rb, lib/aws/ec2/client.rb,
lib/aws/elastic_beanstalk/client.rb, lib/aws/elastic_transcoder/client.rb,
lib/aws/elasticache/client.rb, lib/aws/elb/client.rb, lib/aws/emr/client.rb,
lib/aws/glacier/client.rb, lib/aws/iam/client.rb,
lib/aws/import_export/client.rb, lib/aws/ops_works/client.rb,
lib/aws/rds/client.rb, lib/aws/redshift/client.rb,
lib/aws/route_53/client.rb, lib/aws/simple_db/client.rb,
lib/aws/simple_email_service/client.rb, lib/aws/simple_workflow/client.rb,
lib/aws/sns/client.rb, lib/aws/sqs/client.rb,
lib/aws/storage_gateway/client.rb, lib/aws/sts/client.rb,
lib/aws/support/client.rb: Reformatted client API documentation to fix
rendered html for nested params.
2013-06-11 Trevor Rowe <[email protected]>
* lib/aws/s3/s3_object.rb: Removed incorrect documentation about SSE and
Amazon S3.
Fixes #269
* spec/aws/s3/client_spec.rb: Fix indentation.
* lib/aws/s3/client.rb, spec/aws/s3/client_spec.rb: Resolved an issue with
errors with empty response bodies.
When the response body was the empty string, instead of nil, we would not
properly map to helpful error types. This change fixes the empty string
case.
Fixes #260
2013-06-09 Trevor Rowe <[email protected]>
* ChangeLog, lib/aws/version.rb: Bump version to 1.11.2
2013-06-08 Trevor Rowe <[email protected]>
* aws-sdk.gemspec: Updated nokogiri dependency (< 1.6) so we can continue to
support Ruby 1.8.7
* ChangeLog, lib/aws/version.rb: Bump version to 1.11.1
2013-06-07 Lane LaRue <[email protected]>
* lib/aws/sqs/queue.rb: update dcos on max message delay
2013-06-06 James Smith <[email protected]>
* lib/aws/simple_email_service.rb: Make sure raw_message responds to
message_id before setting it
2013-06-04 James Smith <[email protected]>
* lib/aws/simple_email_service.rb: Add compatibility with deliver!
* lib/aws/simple_email_service.rb: Add suffix to message_id
* lib/aws/simple_email_service.rb: Add the AWS-generated message_id to the
ruby message object
2013-06-01 Kevin Butler <[email protected]>
* spec/aws/s3/s3_object_encrypt_spec.rb: Cleaned up encryption keys in the
tests so there are no warning when running tests
* lib/aws/s3/encryption_utils.rb, spec/aws/s3/s3_object_encrypt_spec.rb:
Added warning when calling EncryptionUtils.encrypt with data longer than
keylength
2013-05-30 Trevor Rowe <[email protected]>
* spec/aws/core/http/net_http_handler_spec.rb: Fixed unit test for the net
http handler.
* features/dynamo_db/step_definitions/crc32.rb,
lib/aws/core/http/net_http_handler.rb: Resolved issue with crc32 checks and
Ruby 2.0.0
Fixes #243
* lib/aws/core/configuration.rb: The ":region" attribute is a bit out of
place, as
none of the other attributes are referred to by
symbol. I've corrected this.
* lib/aws/dynamo_db/item_collection.rb,
spec/aws/dynamo_db/item_collection_spec.rb:
AWS::DynamoDB::ItemCollection#query now accepts :attributes_to_get.
Fixes #252
2013-05-29 Eron Hennessey <[email protected]>
* lib/aws/simple_workflow/activity_task.rb: Added documentation for
ActivityTask#respond
2013-05-28 Trevor Rowe <[email protected]>
* ChangeLog, lib/aws/version.rb: Bump version to 1.11.0
* lib/aws/ec2/instance_collection.rb: Fix example for instance collection to
correspond documentation
2013-05-24 Trevor Rowe <[email protected]>
* lib/aws/core/option_grammar.rb: Fixed a spelling error.
2013-05-23 Trevor Rowe <[email protected]>
* features/cloud_search/client.feature,
features/cloud_search/step_definitions/client.rb,
features/cloud_search/step_definitions/cloud_search.rb,
features/sqs/queues.feature, features/sqs/step_definitions/queues.rb,
lib/aws/api_config/SQS-2012-11-05.yml, lib/aws/core/option_grammar.rb: Added
support for non-flattened maps for query requests.
* features/direct_connect/client.feature: Removed a superfluous tag.
2013-05-16 Trevor Rowe <[email protected]>
* lib/aws/rds/request.rb: Moved AWS::RDS to signature version 4.
2013-05-15 Trevor Rowe <[email protected]>
* ChangeLog, lib/aws/version.rb: Bump version to 1.10.0
* lib/aws/api_config/ElasticTranscoder-2012-09-25.yml,
lib/aws/elastic_transcoder/client.rb: AWS Elastic Transcoder update.
2013-05-14 Trevor Rowe <[email protected]>
* lib/aws/api_config/OpsWorks-2013-02-18.yml, lib/aws/ops_works/client.rb:
Added support for ELBs to AWS::OpsWorks::Client
* lib/aws/api_config/STS-2011-06-15.yml, lib/aws/sts/client.rb: Add
AWS::STS::Client#assume_role_with_web_identity
* lib/aws/api_config/DynamoDB-2012-08-10.yml,
lib/aws/dynamo_db/client_v2.rb: Added parallel scan to
AWS::DynamoDB::Client#scan
* features/s3/high_level/multipart_copy.feature: Reformatted whitespace in
test scenario.
* features/s3/high_level/multipart_copy.feature,
features/s3/high_level/step_definitions/multipart_copy.rb: Renamed a test
step definition for clarity.
* features/s3/high_level/multipart_copy.feature,
features/s3/high_level/step_definitions/multipart_copy.rb,
lib/aws/s3/s3_object.rb: Added integration tests for multipart copy.
References #187
* lib/aws/api_config/EC2-2013-02-01.yml: Fixed an issue in
RequestSpotInstances
Fixes #248
2013-05-13 Trevor Rowe <[email protected]>
* lib/aws/core.rb: Fixed an issue with service-specific configuration
options.
Resolved an issue where service-specific configuration options
where not getting defined until the service class was autoloaded.
For example:
require 'aws-sdk'
AWS.config(:dynamo_db_crc_32_check => false) # oops, wont apply
AWS::DynamoDB # autoload dynamo db service interface
AWS.config(:dynamo_db_crc_32_check => false) # now it works
All service configurations are loaded up front now.
References #243
* features/s3/high_level/step_definitions/urls.rb,
features/s3/high_level/urls.feature, lib/aws/s3/s3_object.rb: Added support
for :content_type and :content_md5 to AWS:S3::S3Object#url_for.
The S3 signature requries the content-md5 and content-type headers to be
signed. The #url_for helper method previously did not accept these two
values and therefore was only good for requests where these values
were not specified.
You can now specify them like so:
s3.buckets['bucket-name'].objects['key'].url_for(:write, {
# both of these are optional
:content_type => 'text/plain',
:content_md5 => '...',
})
Fixes #207
* lib/aws/ec2/security_group.rb: Fixed documentation typo.
2013-05-09 Trevor Rowe <[email protected]>
* lib/aws/core/configuration.rb, spec/aws/core/configuration_spec.rb,
spec/spec_helper.rb: Added support for configuring region via
ENV['AWS_REGION'].
* lib/aws/s3/client.rb: Removed documentation for deprecated interface for
AWS::S3::Client#put_object.
* lib/aws/ec2.rb, lib/aws/ec2/instance.rb, lib/aws/s3.rb,
lib/aws/s3/s3_object.rb: Updated documentation examples to open files in
binary mode.
2013-05-07 Trevor Rowe <[email protected]>
* lib/aws/s3/multipart_upload.rb, lib/aws/s3/uploaded_part.rb,
lib/aws/s3/uploaded_part_collection.rb,
spec/aws/s3/multipart_upload_spec.rb,
spec/aws/s3/uploaded_part_collection_spec.rb: Fixed an issue multipart
uploads to S3 > 5GB.
Resolved an issue where `AWS::S3::MultipartUpload#complete` would only
send the first 1k parts in the request to complete the upload. This
only happened when the `:remote_parts` flag was set.
* lib/aws/dynamo_db/client_v2.rb: Reverted changed to DynamoDBV2 client.
* lib/aws/ec2/instance.rb: Added documentation for
AWS::EC2::Instance#source_dest_check.
* lib/aws/auto_scaling/client.rb, lib/aws/cloud_formation/client.rb,
lib/aws/cloud_front/client.rb, lib/aws/cloud_search/client.rb,
lib/aws/cloud_watch/client.rb, lib/aws/data_pipeline/client.rb,
lib/aws/direct_connect/client.rb, lib/aws/dynamo_db/client.rb,
lib/aws/dynamo_db/client_v2.rb, lib/aws/ec2/client.rb,
lib/aws/elastic_beanstalk/client.rb, lib/aws/elastic_transcoder/client.rb,
lib/aws/elasticache/client.rb, lib/aws/elb/client.rb, lib/aws/emr/client.rb,
lib/aws/glacier/client.rb, lib/aws/iam/client.rb,
lib/aws/import_export/client.rb, lib/aws/ops_works/client.rb,
lib/aws/rds/client.rb, lib/aws/redshift/client.rb,
lib/aws/route_53/client.rb, lib/aws/simple_db/client.rb,
lib/aws/simple_email_service/client.rb, lib/aws/simple_workflow/client.rb,
lib/aws/sns/client.rb, lib/aws/sqs/client.rb,
lib/aws/storage_gateway/client.rb, lib/aws/sts/client.rb: Corrected an issue
with markdown structure in docs.
The client response method were not getting formatted
because the bulleted list was not spaced or indented.
Added a blank line to each client method to correct this.
2013-05-06 Trevor Rowe <[email protected]>
* lib/aws/s3/s3_object.rb: Fixed formatting for S3Object class-level docs.
2013-05-01 Loren Segal <[email protected]>
* ChangeLog, lib/aws/version.rb: Bump version to 1.9.5
* lib/aws/support/client.rb: Fix documentation formatting
* README.md, endpoints.json, features/extra/common.rb,
features/support/client.feature, features/support/common.rb,
features/support/step_definitions/client.rb,
features/support/step_definitions/support.rb,
lib/aws/api_config/Support-2013-04-15.yml, lib/aws/core.rb,
lib/aws/support.rb, lib/aws/support/client.rb, lib/aws/support/config.rb,
lib/aws/support/errors.rb, lib/aws/support/request.rb: Add support for AWS
Support (AWS::Support)
2013-04-30 Manuel Meurer <[email protected]>
* README.md: Add missing apostrophe
2013-04-29 Trevor Rowe <[email protected]>
* ChangeLog, lib/aws/version.rb: Bump version to 1.9.3
2013-04-28 Trevor Rowe <[email protected]>
* lib/aws/route_53/hosted_zone_collection.rb,
spec/aws/route_53/hosted_zone_collection_spec.rb: Resolved an issue with
AWS::Route53::HostedZoneCollection#create.
The comment option was getting duplicated before getting
passed to the client create method.
Fixes #240
2013-04-26 Trevor Rowe <[email protected]>
* lib/aws/record.rb, lib/aws/record/exceptions.rb: Resolved an
eager_autoload! bug.
Fixes #237
* lib/aws/glacier/client.rb, lib/aws/glacier/request.rb: Removed
customizations from AWS::Glacier::Request.
* lib/aws/core/client.rb, lib/aws/sqs/client.rb, lib/aws/sqs/request.rb,
spec/aws/sqs/queue_spec.rb, spec/aws/sqs/received_message_spec.rb,
spec/aws/sqs/request_spec.rb: Removed customizations from AWS::SQS::Request.
This is the next step in removing service specific
hooks from the http request classes.
2013-04-25 Trevor Rowe <[email protected]>
* lib/aws/core/client.rb, lib/aws/core/http/request.rb,
lib/aws/simple_workflow/client.rb, lib/aws/simple_workflow/request.rb:
Simplified how http read timeouts are handled.
Deprecated #default_read_timeout on AWS::Core::Http::Request.
SWF is the only service that (currently) needs to modify
the read timeout (for long polling operations). Now using
the #read_timeout attribute exclusively to deal with this.
* lib/aws/cloud_watch.rb: fix interface name in documentation
2013-04-24 Trevor Rowe <[email protected]>
* lib/aws/core.rb, tasks/apis.rake: Added a rake task that lists the
supported API versions.
* aws-sdk.gemspec: Fixed the gemspec (was referencing README.rdoc which is
now README.md).
* ChangeLog, lib/aws/version.rb: Bump version to 1.9.2
* lib/aws/core/deprecations.rb: Deprecated methods now only issue a single
warning instead of one per call.
* lib/aws/ec2/subnet.rb: Fixed an issue with
AWS::EC2::Subnet#network_acl_association
The #network_acl_association had a bug that caused it to always
return the first association from the vpc the subnet belongs to.
2013-04-23 Trevor Rowe <[email protected]>
* lib/aws/core/client.rb: Deprecated AWS::Core::Client#http_read_timeout.
The #http_read_timeout is a property of the configuration
and is not consumed by the client. It should instead
be retrieved from the client configuration is needed.
Example:
# given
ec2 = AWS::EC2::Client.new
# deprecated
ec2.http_read_timeout
# prefered
ec2.config.http_read_timeout
* lib/aws/core.rb, lib/aws/core/deprecations.rb: Added a module for marking
methods as deprecated.
2013-04-22 Trevor Rowe <[email protected]>
* lib/aws/elastic_beanstalk.rb, lib/aws/elastic_transcoder.rb,
spec/aws/core/region_spec.rb: Fixed a few test issues with the new service
shortcuts.
* lib/aws/core.rb, tasks/docs.rake: Added service shortcuts from AWS.
You can now create service interfaces directly from AWS like so:
ec2 = AWS.ec2
You can pass configuration options to this instance as well:
ec2 = AWS.ec2(:region => 'us-west-2')
Updated docs rake task to document these magic methods.
* README.md: Updated README examples.
* lib/aws/core.rb, tasks/docs.rake: Added additional rake tasks for updating
docs.
The API documentation contains lists of supported
services and service classes. A pair of rake tasks
have been added that will update these lists when
docs are built to ensure they do not get stale.
* README.md, README.rdoc: Translated README from rdoc to markdown,
restructured content.
2013-04-18 Trevor Rowe <[email protected]>
* lib/aws-sdk.rb, lib/aws/core.rb, lib/aws/core/configuration.rb,
lib/aws/core/region.rb: DRY'd code that had to be done for each service.
* Registering autoloads for service interfaces
* Adding service helper methods to Region
* lib/aws/api_config/CloudFront-2012-05-05.yml,
lib/aws/api_config/ElastiCache-2012-03-09.yml,
lib/aws/api_config/RDS-2012-09-17.yml,
lib/aws/api_config/Route53-2012-02-29.yml: Removed some older/unused API
versions for four different services.
* ChangeLog, lib/aws/version.rb: Bump version to 1.9.1
* lib/aws/core/http/connection_pool.rb,
lib/aws/core/http/net_http_handler.rb: Fixed a bug introduced in 1.9.0
related to http continue timeouts.
Ruby < 1.9.3 does not support setting the continue timeout on
a `Net::HTTP session`. Now guarding that attribute assignment
with a `responds_to?` check.
Fixes #232
* .yardopts, Gemfile, lib/aws/auto_scaling/activity.rb,
lib/aws/auto_scaling/activity_collection.rb, lib/aws/auto_scaling/client.rb,
lib/aws/auto_scaling/group_options.rb, lib/aws/auto_scaling/instance.rb,
lib/aws/auto_scaling/launch_configuration.rb,
lib/aws/auto_scaling/notification_configuration.rb,
lib/aws/auto_scaling/notification_configuration_collection.rb,
lib/aws/auto_scaling/request.rb, lib/aws/auto_scaling/scaling_policy.rb,
lib/aws/auto_scaling/scaling_policy_options.rb,
lib/aws/auto_scaling/scheduled_action.rb,
lib/aws/auto_scaling/scheduled_action_collection.rb,
lib/aws/auto_scaling/tag.rb, lib/aws/auto_scaling/tag_collection.rb,
lib/aws/cloud_formation/client.rb, lib/aws/cloud_formation/request.rb,
lib/aws/cloud_formation/stack.rb,
lib/aws/cloud_formation/stack_collection.rb,
lib/aws/cloud_formation/stack_event.rb,
lib/aws/cloud_formation/stack_options.rb,
lib/aws/cloud_formation/stack_output.rb,
lib/aws/cloud_formation/stack_resource.rb,
lib/aws/cloud_formation/stack_summary_collection.rb,
lib/aws/cloud_front/client.rb, lib/aws/cloud_front/request.rb,
lib/aws/cloud_search/client.rb, lib/aws/cloud_search/request.rb,
lib/aws/cloud_watch/alarm.rb, lib/aws/cloud_watch/alarm_history_item.rb,
lib/aws/cloud_watch/alarm_history_item_collection.rb,
lib/aws/cloud_watch/client.rb,
lib/aws/cloud_watch/metric_alarm_collection.rb,
lib/aws/cloud_watch/metric_collection.rb, lib/aws/cloud_watch/request.rb,
lib/aws/core.rb, lib/aws/core/cacheable.rb, lib/aws/core/client.rb,
lib/aws/core/configuration.rb, lib/aws/core/credential_providers.rb,
lib/aws/core/data.rb, lib/aws/core/http/connection_pool.rb,
lib/aws/core/http/curb_handler.rb, lib/aws/core/http/handler.rb,
lib/aws/core/http/net_http_handler.rb, lib/aws/core/http/patch.rb,
lib/aws/core/http/request.rb, lib/aws/core/indifferent_hash.rb,
lib/aws/core/inflection.rb, lib/aws/core/json_parser.rb,
lib/aws/core/json_request_builder.rb, lib/aws/core/json_response_parser.rb,
lib/aws/core/lazy_error_classes.rb, lib/aws/core/log_formatter.rb,
lib/aws/core/managed_file.rb, lib/aws/core/meta_utils.rb,
lib/aws/core/model.rb, lib/aws/core/naming.rb,
lib/aws/core/option_grammar.rb, lib/aws/core/policy.rb,
lib/aws/core/query_error_parser.rb, lib/aws/core/query_request_builder.rb,
lib/aws/core/query_response_parser.rb, lib/aws/core/region_collection.rb,
lib/aws/core/resource.rb, lib/aws/core/resource_cache.rb,
lib/aws/core/response.rb, lib/aws/core/response_cache.rb,
lib/aws/core/rest_error_parser.rb, lib/aws/core/rest_request_builder.rb,
lib/aws/core/rest_response_parser.rb, lib/aws/core/service_interface.rb,
lib/aws/core/xml/frame_stack.rb, lib/aws/data_pipeline/client.rb,
lib/aws/data_pipeline/request.rb, lib/aws/direct_connect/client.rb,
lib/aws/direct_connect/errors.rb, lib/aws/direct_connect/request.rb,
lib/aws/dynamo_db/attribute_collection.rb, lib/aws/dynamo_db/item.rb,
lib/aws/dynamo_db/item_collection.rb, lib/aws/dynamo_db/keys.rb,
lib/aws/dynamo_db/request.rb, lib/aws/dynamo_db/resource.rb,
lib/aws/dynamo_db/table.rb, lib/aws/dynamo_db/table_collection.rb,
lib/aws/dynamo_db/types.rb, lib/aws/ec2/attachment.rb,
lib/aws/ec2/attachment_collection.rb,
lib/aws/ec2/availability_zone_collection.rb,
lib/aws/ec2/block_device_mappings.rb, lib/aws/ec2/client.rb,
lib/aws/ec2/config_transform.rb, lib/aws/ec2/customer_gateway.rb,
lib/aws/ec2/dhcp_options.rb, lib/aws/ec2/elastic_ip.rb,
lib/aws/ec2/errors.rb, lib/aws/ec2/export_task.rb,
lib/aws/ec2/filtered_collection.rb, lib/aws/ec2/image.rb,
lib/aws/ec2/image_collection.rb, lib/aws/ec2/instance.rb,
lib/aws/ec2/instance_collection.rb,
lib/aws/ec2/internet_gateway/attachment.rb,
lib/aws/ec2/key_pair_collection.rb, lib/aws/ec2/permission_collection.rb,
lib/aws/ec2/region_collection.rb, lib/aws/ec2/request.rb,
lib/aws/ec2/resource.rb, lib/aws/ec2/resource_tag_collection.rb,
lib/aws/ec2/route_table/association.rb, lib/aws/ec2/security_group.rb,
lib/aws/ec2/snapshot.rb, lib/aws/ec2/snapshot_collection.rb,
lib/aws/ec2/tag.rb, lib/aws/ec2/tag_collection.rb,
lib/aws/ec2/tagged_item.rb, lib/aws/ec2/volume.rb,
lib/aws/ec2/volume_collection.rb, lib/aws/ec2/vpn_connection.rb,
lib/aws/ec2/vpn_gateway/attachment.rb, lib/aws/elastic_beanstalk/client.rb,
lib/aws/elastic_beanstalk/request.rb, lib/aws/elastic_transcoder/client.rb,
lib/aws/elastic_transcoder/request.rb, lib/aws/elasticache/client.rb,
lib/aws/elasticache/request.rb, lib/aws/elb/client.rb,
lib/aws/elb/listener.rb, lib/aws/elb/listener_opts.rb,
lib/aws/elb/load_balancer_policy.rb, lib/aws/elb/request.rb,
lib/aws/emr/client.rb, lib/aws/emr/instance_group.rb,
lib/aws/emr/instance_group_collection.rb, lib/aws/emr/job_flow.rb,
lib/aws/emr/job_flow_collection.rb, lib/aws/emr/request.rb,
lib/aws/errors.rb, lib/aws/glacier/client.rb, lib/aws/glacier/request.rb,
lib/aws/glacier/resource.rb, lib/aws/iam.rb, lib/aws/iam/access_key.rb,
lib/aws/iam/access_key_collection.rb,
lib/aws/iam/account_alias_collection.rb, lib/aws/iam/client.rb,
lib/aws/iam/collection.rb, lib/aws/iam/group.rb,
lib/aws/iam/group_collection.rb, lib/aws/iam/group_policy_collection.rb,
lib/aws/iam/group_user_collection.rb, lib/aws/iam/login_profile.rb,
lib/aws/iam/mfa_device_collection.rb, lib/aws/iam/request.rb,
lib/aws/iam/resource.rb, lib/aws/iam/server_certificate.rb,
lib/aws/iam/server_certificate_collection.rb,
lib/aws/iam/signing_certificate.rb,
lib/aws/iam/signing_certificate_collection.rb, lib/aws/iam/user.rb,
lib/aws/iam/user_collection.rb, lib/aws/iam/user_group_collection.rb,
lib/aws/iam/user_policy.rb, lib/aws/iam/virtual_mfa_device.rb,
lib/aws/import_export/client.rb, lib/aws/import_export/request.rb,
lib/aws/ops_works/client.rb, lib/aws/ops_works/request.rb, lib/aws/rails.rb,
lib/aws/rds/client.rb, lib/aws/rds/db_snapshot_collection.rb,
lib/aws/rds/request.rb, lib/aws/record.rb, lib/aws/record/abstract_base.rb,
lib/aws/record/attributes.rb, lib/aws/record/conversion.rb,
lib/aws/record/dirty_tracking.rb, lib/aws/record/exceptions.rb,
lib/aws/record/hash_model.rb, lib/aws/record/model.rb,
lib/aws/record/model/scope.rb, lib/aws/record/naming.rb,
lib/aws/record/scope.rb, lib/aws/record/validations.rb,
lib/aws/record/validator.rb, lib/aws/record/validators/acceptance.rb,
lib/aws/record/validators/block.rb,
lib/aws/record/validators/confirmation.rb,
lib/aws/record/validators/count.rb, lib/aws/record/validators/exclusion.rb,
lib/aws/record/validators/format.rb, lib/aws/record/validators/inclusion.rb,
lib/aws/record/validators/length.rb, lib/aws/record/validators/method.rb,
lib/aws/record/validators/numericality.rb,
lib/aws/record/validators/presence.rb, lib/aws/redshift/client.rb,
lib/aws/redshift/request.rb, lib/aws/route_53/change_batch.rb,
lib/aws/route_53/change_info.rb, lib/aws/route_53/client.rb,
lib/aws/route_53/hosted_zone.rb, lib/aws/route_53/hosted_zone_collection.rb,
lib/aws/route_53/request.rb, lib/aws/route_53/resource_record_set.rb,
lib/aws/route_53/resource_record_set_collection.rb,
lib/aws/s3/access_control_list.rb, lib/aws/s3/acl_object.rb,
lib/aws/s3/acl_options.rb, lib/aws/s3/bucket.rb,
lib/aws/s3/bucket_collection.rb,
lib/aws/s3/bucket_lifecycle_configuration.rb,
lib/aws/s3/bucket_tag_collection.rb,
lib/aws/s3/bucket_version_collection.rb, lib/aws/s3/cipher_io.rb,
lib/aws/s3/client.rb, lib/aws/s3/client/xml.rb, lib/aws/s3/data_options.rb,
lib/aws/s3/encryption_utils.rb, lib/aws/s3/errors.rb,
lib/aws/s3/multipart_upload.rb, lib/aws/s3/multipart_upload_collection.rb,
lib/aws/s3/object_collection.rb, lib/aws/s3/object_upload_collection.rb,
lib/aws/s3/object_version.rb, lib/aws/s3/paginated_collection.rb,
lib/aws/s3/prefix_and_delimiter_collection.rb,
lib/aws/s3/prefixed_collection.rb, lib/aws/s3/presigned_post.rb,
lib/aws/s3/request.rb, lib/aws/s3/s3_object.rb,
lib/aws/s3/tree/branch_node.rb, lib/aws/s3/tree/child_collection.rb,
lib/aws/s3/tree/leaf_node.rb, lib/aws/s3/tree/node.rb,
lib/aws/s3/tree/parent.rb, lib/aws/s3/uploaded_part.rb,
lib/aws/s3/uploaded_part_collection.rb, lib/aws/s3/website_configuration.rb,
lib/aws/simple_db.rb, lib/aws/simple_db/attribute.rb,
lib/aws/simple_db/client.rb, lib/aws/simple_db/consistent_read_option.rb,
lib/aws/simple_db/delete_attributes.rb, lib/aws/simple_db/domain.rb,
lib/aws/simple_db/domain_metadata.rb, lib/aws/simple_db/errors.rb,
lib/aws/simple_db/expect_condition_option.rb,
lib/aws/simple_db/item_collection.rb, lib/aws/simple_db/item_data.rb,
lib/aws/simple_db/put_attributes.rb, lib/aws/simple_db/request.rb,
lib/aws/simple_email_service.rb, lib/aws/simple_email_service/client.rb,
lib/aws/simple_email_service/identity.rb,
lib/aws/simple_email_service/identity_collection.rb,
lib/aws/simple_email_service/quotas.rb,
lib/aws/simple_email_service/request.rb,
lib/aws/simple_workflow/activity_task.rb,
lib/aws/simple_workflow/activity_task_collection.rb,
lib/aws/simple_workflow/client.rb, lib/aws/simple_workflow/count.rb,
lib/aws/simple_workflow/decision_task.rb,
lib/aws/simple_workflow/decision_task_collection.rb,
lib/aws/simple_workflow/domain.rb, lib/aws/simple_workflow/history_event.rb,
lib/aws/simple_workflow/option_formatters.rb,
lib/aws/simple_workflow/request.rb, lib/aws/simple_workflow/resource.rb,
lib/aws/simple_workflow/type_collection.rb,
lib/aws/simple_workflow/workflow_execution_collection.rb,
lib/aws/sns/client.rb, lib/aws/sns/request.rb, lib/aws/sns/subscription.rb,
lib/aws/sns/topic.rb, lib/aws/sns/topic_subscription_collection.rb,
lib/aws/sqs/client.rb, lib/aws/sqs/errors.rb, lib/aws/sqs/queue.rb,
lib/aws/sqs/queue_collection.rb, lib/aws/sqs/received_message.rb,
lib/aws/sqs/request.rb, lib/aws/storage_gateway/client.rb,
lib/aws/storage_gateway/request.rb, lib/aws/sts/client.rb,
lib/aws/sts/federated_session.rb, lib/aws/sts/request.rb,
lib/aws/sts/session.rb: Switched from yard @private tags to @api private
tags.
2013-04-17 Loren Segal <[email protected]>
* ChangeLog, lib/aws/version.rb: Bump version to 1.9.0
2013-04-05 Trevor Rowe <[email protected]>
* lib/aws/api_config/DynamoDB-2012-08-10.yml, lib/aws/core/client.rb,
lib/aws/dynamo_db.rb, lib/aws/dynamo_db/client.rb,
lib/aws/dynamo_db/client_base.rb, lib/aws/dynamo_db/client_v2.rb: Added a
second client to AWS::DyanmoDB to support the new API version.
* lib/aws/core.rb: Added a few missing services to the list of supported AWS
services in the API documentation.
* lib/aws/core.rb: Added a few missing services to the list of supported AWS
services in the API documentation.
2013-04-16 Trevor Rowe <[email protected]>
* lib/aws/core/client.rb: Loosened expired credential error matching to
catch both ExpiredToken and RequestExpired.
* lib/aws/core/http/patch.rb: Fixed namespace bug in http patch (after
move).
* features/direct_connect/client.feature,
features/direct_connect/step_definitions/client.rb,
features/direct_connect/step_definitions/direct_connect.rb,
features/s3/100_continue.feature, lib/aws-sdk.rb,
lib/aws/api_config/DirectConnect-2012-10-25.yml, lib/aws/core.rb,
lib/aws/direct_connect.rb, lib/aws/direct_connect/client.rb,
lib/aws/direct_connect/config.rb, lib/aws/direct_connect/errors.rb,
lib/aws/direct_connect/request.rb, lib/aws/import_export.rb: Added support
for AWS Direct Connect (2012-10-25).
* lib/aws/data_pipeline/client.rb: Updated some documentation in
AWS::DataPipeline::Client.
* lib/aws/ec2/network_interface.rb: Added
AWS::EC2::NetworkInterface#private_ip_addresses.
Resolves #230
* lib/aws/core/client.rb: Improved retry logic for throttling errors and
expired credentials.
* Added additional error types to the list of throttling errors.
* Added invalid credential errors to those that need to be
retried as expired creds
When account credentials are rotated they (the old/invalid) credentials
return a different error than when session credentials expire. Now
catching invalid account credential errors and retrying them once
(after asking the credential provider to refresh).