aws-sdk-s3 1.14.0 → 1.15.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ebf985aabc5276f0257be4b38c436b5261e133aa
4
- data.tar.gz: eb740e2166050fd5b48daf78d95797c167fc5d5b
3
+ metadata.gz: 2345872e7163a15b156496caadd3521fb3625ce4
4
+ data.tar.gz: f44c14590d4fed6fb154cd530e8df4adf7869731
5
5
  SHA512:
6
- metadata.gz: 5de1c034a92b407852bd6b268d42c3ecb8593f0d1c27ea0056e6b83f09263f42a4e8bfdfa3df18f01f0435bf1206a6f779c7d34e3c23d36a3e21510345a0da1e
7
- data.tar.gz: 4a6d12d6dd43abb6064fd45b8ce703c98f46ffa51d220cd2b67a7f35e4ac1bcf00c0876874359f623db56b2f6ad95ff355b8669e967830bdd912a23868a7268f
6
+ metadata.gz: 0f9d8722c25b2e814dd6fe58c73f1af1c0eb08361797a6e39e25ffa2fda7f2f0e4fb2e2ea62a9c9b6bb299914488bfa99111ddf5243e8900716c10084cb1901d
7
+ data.tar.gz: da12904e8321a0380ca9472d9cab0bd1568b81dff01b85129edc08819cebd9bc89b31f8a57a251a905e8c529f1ba1df61d0484ed8cd14f5aff8c6719b96fd4f2
@@ -63,6 +63,6 @@ require_relative 'aws-sdk-s3/event_streams'
63
63
  # @service
64
64
  module Aws::S3
65
65
 
66
- GEM_VERSION = '1.14.0'
66
+ GEM_VERSION = '1.15.0'
67
67
 
68
68
  end
@@ -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.14.0'
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.upload_file do |write_stream|
227
- # 10.times { write_stream << 'hello' }
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
@@ -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: {
@@ -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.14.0
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-13 00:00:00.000000000 Z
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