aws-sdk-s3 1.14.0 → 1.15.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.
- checksums.yaml +4 -4
- data/lib/aws-sdk-s3.rb +1 -1
- data/lib/aws-sdk-s3/client.rb +14 -1
- data/lib/aws-sdk-s3/client_api.rb +2 -0
- data/lib/aws-sdk-s3/customizations/object.rb +10 -2
- data/lib/aws-sdk-s3/object.rb +1 -0
- data/lib/aws-sdk-s3/object_summary.rb +1 -0
- data/lib/aws-sdk-s3/types.rb +14 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2345872e7163a15b156496caadd3521fb3625ce4
|
4
|
+
data.tar.gz: f44c14590d4fed6fb154cd530e8df4adf7869731
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f9d8722c25b2e814dd6fe58c73f1af1c0eb08361797a6e39e25ffa2fda7f2f0e4fb2e2ea62a9c9b6bb299914488bfa99111ddf5243e8900716c10084cb1901d
|
7
|
+
data.tar.gz: da12904e8321a0380ca9472d9cab0bd1568b81dff01b85129edc08819cebd9bc89b31f8a57a251a905e8c529f1ba1df61d0484ed8cd14f5aff8c6719b96fd4f2
|
data/lib/aws-sdk-s3.rb
CHANGED
data/lib/aws-sdk-s3/client.rb
CHANGED
@@ -165,6 +165,14 @@ module Aws::S3
|
|
165
165
|
# where server-side-encryption is used with customer-provided keys.
|
166
166
|
# This should only be disabled for local testing.
|
167
167
|
#
|
168
|
+
# @option options [Float] :retry_base_delay (0.3)
|
169
|
+
# The base delay in seconds used by the default backoff function.
|
170
|
+
#
|
171
|
+
# @option options [Symbol] :retry_jitter (:none)
|
172
|
+
# A delay randomiser function used by the default backoff function. Some predefined functions can be referenced by name - :none, :equal, :full, otherwise a Proc that takes and returns a number.
|
173
|
+
#
|
174
|
+
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
175
|
+
#
|
168
176
|
# @option options [Integer] :retry_limit (3)
|
169
177
|
# The maximum number of times to retry failed requests. Only
|
170
178
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
@@ -172,6 +180,9 @@ module Aws::S3
|
|
172
180
|
# checksum errors, networking errors, timeout errors and auth
|
173
181
|
# errors from expired credentials.
|
174
182
|
#
|
183
|
+
# @option options [Integer] :retry_max_delay (0)
|
184
|
+
# The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
|
185
|
+
#
|
175
186
|
# @option options [String] :secret_access_key
|
176
187
|
#
|
177
188
|
# @option options [String] :session_token
|
@@ -5717,6 +5728,7 @@ module Aws::S3
|
|
5717
5728
|
# record_delimiter: "RecordDelimiter",
|
5718
5729
|
# field_delimiter: "FieldDelimiter",
|
5719
5730
|
# quote_character: "QuoteCharacter",
|
5731
|
+
# allow_quoted_record_delimiter: false,
|
5720
5732
|
# },
|
5721
5733
|
# compression_type: "NONE", # accepts NONE, GZIP
|
5722
5734
|
# json: {
|
@@ -5996,6 +6008,7 @@ module Aws::S3
|
|
5996
6008
|
# record_delimiter: "RecordDelimiter",
|
5997
6009
|
# field_delimiter: "FieldDelimiter",
|
5998
6010
|
# quote_character: "QuoteCharacter",
|
6011
|
+
# allow_quoted_record_delimiter: false,
|
5999
6012
|
# },
|
6000
6013
|
# compression_type: "NONE", # accepts NONE, GZIP
|
6001
6014
|
# json: {
|
@@ -6371,7 +6384,7 @@ module Aws::S3
|
|
6371
6384
|
params: params,
|
6372
6385
|
config: config)
|
6373
6386
|
context[:gem_name] = 'aws-sdk-s3'
|
6374
|
-
context[:gem_version] = '1.
|
6387
|
+
context[:gem_version] = '1.15.0'
|
6375
6388
|
Seahorse::Client::Request.new(handlers, context)
|
6376
6389
|
end
|
6377
6390
|
|
@@ -21,6 +21,7 @@ module Aws::S3
|
|
21
21
|
AccessControlPolicy = Shapes::StructureShape.new(name: 'AccessControlPolicy')
|
22
22
|
AccessControlTranslation = Shapes::StructureShape.new(name: 'AccessControlTranslation')
|
23
23
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
24
|
+
AllowQuotedRecordDelimiter = Shapes::BooleanShape.new(name: 'AllowQuotedRecordDelimiter')
|
24
25
|
AllowedHeader = Shapes::StringShape.new(name: 'AllowedHeader')
|
25
26
|
AllowedHeaders = Shapes::ListShape.new(name: 'AllowedHeaders', flattened: true)
|
26
27
|
AllowedMethod = Shapes::StringShape.new(name: 'AllowedMethod')
|
@@ -558,6 +559,7 @@ module Aws::S3
|
|
558
559
|
CSVInput.add_member(:record_delimiter, Shapes::ShapeRef.new(shape: RecordDelimiter, location_name: "RecordDelimiter"))
|
559
560
|
CSVInput.add_member(:field_delimiter, Shapes::ShapeRef.new(shape: FieldDelimiter, location_name: "FieldDelimiter"))
|
560
561
|
CSVInput.add_member(:quote_character, Shapes::ShapeRef.new(shape: QuoteCharacter, location_name: "QuoteCharacter"))
|
562
|
+
CSVInput.add_member(:allow_quoted_record_delimiter, Shapes::ShapeRef.new(shape: AllowQuotedRecordDelimiter, location_name: "AllowQuotedRecordDelimiter"))
|
561
563
|
CSVInput.struct_class = Types::CSVInput
|
562
564
|
|
563
565
|
CSVOutput.add_member(:quote_fields, Shapes::ShapeRef.new(shape: QuoteFields, location_name: "QuoteFields"))
|
@@ -223,8 +223,16 @@ module Aws
|
|
223
223
|
# Note that this is known to have issues in JRuby until jruby-9.1.15.0, so avoid using this with older versions of JRuby.
|
224
224
|
#
|
225
225
|
# @example Streaming chunks of data
|
226
|
-
# obj.
|
227
|
-
# 10.times { write_stream << '
|
226
|
+
# obj.upload_stream do |write_stream|
|
227
|
+
# 10.times { write_stream << 'foo' }
|
228
|
+
# end
|
229
|
+
# @example Streaming chunks of data
|
230
|
+
# obj.upload_stream do |write_stream|
|
231
|
+
# IO.copy_stream(IO.popen('ls'), write_stream)
|
232
|
+
# end
|
233
|
+
# @example Streaming chunks of data
|
234
|
+
# obj.upload_stream do |write_stream|
|
235
|
+
# IO.copy_stream(STDIN, write_stream)
|
228
236
|
# end
|
229
237
|
#
|
230
238
|
# @option options [Integer] :thread_count
|
data/lib/aws-sdk-s3/object.rb
CHANGED
@@ -898,6 +898,7 @@ module Aws::S3
|
|
898
898
|
# record_delimiter: "RecordDelimiter",
|
899
899
|
# field_delimiter: "FieldDelimiter",
|
900
900
|
# quote_character: "QuoteCharacter",
|
901
|
+
# allow_quoted_record_delimiter: false,
|
901
902
|
# },
|
902
903
|
# compression_type: "NONE", # accepts NONE, GZIP
|
903
904
|
# json: {
|
@@ -741,6 +741,7 @@ module Aws::S3
|
|
741
741
|
# record_delimiter: "RecordDelimiter",
|
742
742
|
# field_delimiter: "FieldDelimiter",
|
743
743
|
# quote_character: "QuoteCharacter",
|
744
|
+
# allow_quoted_record_delimiter: false,
|
744
745
|
# },
|
745
746
|
# compression_type: "NONE", # accepts NONE, GZIP
|
746
747
|
# json: {
|
data/lib/aws-sdk-s3/types.rb
CHANGED
@@ -549,6 +549,7 @@ module Aws::S3
|
|
549
549
|
# record_delimiter: "RecordDelimiter",
|
550
550
|
# field_delimiter: "FieldDelimiter",
|
551
551
|
# quote_character: "QuoteCharacter",
|
552
|
+
# allow_quoted_record_delimiter: false,
|
552
553
|
# }
|
553
554
|
#
|
554
555
|
# @!attribute [rw] file_header_info
|
@@ -578,6 +579,12 @@ module Aws::S3
|
|
578
579
|
# value.
|
579
580
|
# @return [String]
|
580
581
|
#
|
582
|
+
# @!attribute [rw] allow_quoted_record_delimiter
|
583
|
+
# Specifies that CSV field values may contain quoted record delimiters
|
584
|
+
# and such records should be allowed. Default value is FALSE. Setting
|
585
|
+
# this value to TRUE may lower performance.
|
586
|
+
# @return [Boolean]
|
587
|
+
#
|
581
588
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CSVInput AWS API Documentation
|
582
589
|
#
|
583
590
|
class CSVInput < Struct.new(
|
@@ -586,7 +593,8 @@ module Aws::S3
|
|
586
593
|
:quote_escape_character,
|
587
594
|
:record_delimiter,
|
588
595
|
:field_delimiter,
|
589
|
-
:quote_character
|
596
|
+
:quote_character,
|
597
|
+
:allow_quoted_record_delimiter)
|
590
598
|
include Aws::Structure
|
591
599
|
end
|
592
600
|
|
@@ -3632,6 +3640,7 @@ module Aws::S3
|
|
3632
3640
|
# record_delimiter: "RecordDelimiter",
|
3633
3641
|
# field_delimiter: "FieldDelimiter",
|
3634
3642
|
# quote_character: "QuoteCharacter",
|
3643
|
+
# allow_quoted_record_delimiter: false,
|
3635
3644
|
# },
|
3636
3645
|
# compression_type: "NONE", # accepts NONE, GZIP
|
3637
3646
|
# json: {
|
@@ -7518,6 +7527,7 @@ module Aws::S3
|
|
7518
7527
|
# record_delimiter: "RecordDelimiter",
|
7519
7528
|
# field_delimiter: "FieldDelimiter",
|
7520
7529
|
# quote_character: "QuoteCharacter",
|
7530
|
+
# allow_quoted_record_delimiter: false,
|
7521
7531
|
# },
|
7522
7532
|
# compression_type: "NONE", # accepts NONE, GZIP
|
7523
7533
|
# json: {
|
@@ -7636,6 +7646,7 @@ module Aws::S3
|
|
7636
7646
|
# record_delimiter: "RecordDelimiter",
|
7637
7647
|
# field_delimiter: "FieldDelimiter",
|
7638
7648
|
# quote_character: "QuoteCharacter",
|
7649
|
+
# allow_quoted_record_delimiter: false,
|
7639
7650
|
# },
|
7640
7651
|
# compression_type: "NONE", # accepts NONE, GZIP
|
7641
7652
|
# json: {
|
@@ -8061,6 +8072,7 @@ module Aws::S3
|
|
8061
8072
|
# record_delimiter: "RecordDelimiter",
|
8062
8073
|
# field_delimiter: "FieldDelimiter",
|
8063
8074
|
# quote_character: "QuoteCharacter",
|
8075
|
+
# allow_quoted_record_delimiter: false,
|
8064
8076
|
# },
|
8065
8077
|
# compression_type: "NONE", # accepts NONE, GZIP
|
8066
8078
|
# json: {
|
@@ -8170,6 +8182,7 @@ module Aws::S3
|
|
8170
8182
|
# record_delimiter: "RecordDelimiter",
|
8171
8183
|
# field_delimiter: "FieldDelimiter",
|
8172
8184
|
# quote_character: "QuoteCharacter",
|
8185
|
+
# allow_quoted_record_delimiter: false,
|
8173
8186
|
# },
|
8174
8187
|
# compression_type: "NONE", # accepts NONE, GZIP
|
8175
8188
|
# json: {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-s3
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-06-
|
11
|
+
date: 2018-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-kms
|