aws-sdk-s3 1.146.1 → 1.148.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
  SHA256:
3
- metadata.gz: bbfba787c46b0e8ec4dc57e11a20f0d16d38925d08577e77f5537abdd64789b1
4
- data.tar.gz: c77ad5e5aae75f9a2407054547768a22ded163a45914de729ceb3a675e876ec8
3
+ metadata.gz: c817bc8207d8500bc9331e8198e5fcee84802db7a7befa3373f80a79b938b8d2
4
+ data.tar.gz: f3075c172289429810da25563688c1bd707087dd144ab91ff9a8c9b22d6187ac
5
5
  SHA512:
6
- metadata.gz: e1356cafb64aaf42508333251d59c9c2130ac30be57b6a7cb78554a1df241921c5f037d03879b023582292adaade4e2de9b807192f828eb59f7c25e52dd49208
7
- data.tar.gz: 209a46f38d9169197d85990df7403321cb9f18945567f8826fb01c9e8d8e955041d40d44d710eb773f1d102bfff5cbad3f0eb609131923de185521eadec844ce
6
+ metadata.gz: 6518f064b5d92e529bb21882b4fda44335ff8eaaa07785c9148269557a1137f81a09e07fe6b613098875160c68e9b4224930607e6bf16bf8f4394070402a4926
7
+ data.tar.gz: 3f02bef2de6fda4e5353bfad855bf97322cd92ce5d0f1d37f5ecbb4ba425600c3c8f731bd29adb24dea4e14f81c921fc536014b26af48753ee3d71917a14a466
data/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.148.0 (2024-04-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.147.0 (2024-04-16)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ * Issue - Omit `ContentType` plugin when generating presigned url.
15
+
4
16
  1.146.1 (2024-03-28)
5
17
  ------------------
6
18
 
@@ -26,6 +38,7 @@ Unreleased Changes
26
38
 
27
39
  * Issue - Include original part errors in message when aborting multipart upload fails (#2990).
28
40
 
41
+
29
42
  1.143.0 (2024-01-26)
30
43
  ------------------
31
44
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.146.1
1
+ 1.148.0
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
22
  require 'aws-sdk-core/plugins/response_paging.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
25
26
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
27
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
28
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
@@ -92,6 +93,7 @@ module Aws::S3
92
93
  add_plugin(Aws::Plugins::ResponsePaging)
93
94
  add_plugin(Aws::Plugins::StubResponses)
94
95
  add_plugin(Aws::Plugins::IdempotencyToken)
96
+ add_plugin(Aws::Plugins::InvocationId)
95
97
  add_plugin(Aws::Plugins::JsonvalueConverter)
96
98
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
97
99
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
@@ -246,10 +248,17 @@ module Aws::S3
246
248
  # @option options [Boolean] :disable_s3_express_session_auth
247
249
  # Parameter to indicate whether S3Express session auth should be disabled
248
250
  #
249
- # @option options [String] :endpoint
250
- # The client endpoint is normally constructed from the `:region`
251
- # option. You should only configure an `:endpoint` when connecting
252
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
251
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
252
+ # Normally you should not configure the `:endpoint` option
253
+ # directly. This is normally constructed from the `:region`
254
+ # option. Configuring `:endpoint` is normally reserved for
255
+ # connecting to test or custom endpoints. The endpoint should
256
+ # be a URI formatted like:
257
+ #
258
+ # 'http://example.com'
259
+ # 'https://example.com'
260
+ # 'http://example.com:123'
261
+ #
253
262
  #
254
263
  # @option options [Integer] :endpoint_cache_max_entries (1000)
255
264
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -432,50 +441,65 @@ module Aws::S3
432
441
  # @option options [Aws::S3::EndpointProvider] :endpoint_provider
433
442
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::S3::EndpointParameters`
434
443
  #
435
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
436
- # requests through. Formatted like 'http://proxy.com:123'.
437
- #
438
- # @option options [Float] :http_open_timeout (15) The number of
439
- # seconds to wait when opening a HTTP session before raising a
440
- # `Timeout::Error`.
441
- #
442
- # @option options [Float] :http_read_timeout (60) The default
443
- # number of seconds to wait for response data. This value can
444
- # safely be set per-request on the session.
445
- #
446
- # @option options [Float] :http_idle_timeout (5) The number of
447
- # seconds a connection is allowed to sit idle before it is
448
- # considered stale. Stale connections are closed and removed
449
- # from the pool before making a request.
450
- #
451
- # @option options [Float] :http_continue_timeout (1) The number of
452
- # seconds to wait for a 100-continue response before sending the
453
- # request body. This option has no effect unless the request has
454
- # "Expect" header set to "100-continue". Defaults to `nil` which
455
- # disables this behaviour. This value can safely be set per
456
- # request on the session.
457
- #
458
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
459
- # in seconds.
444
+ # @option options [Float] :http_continue_timeout (1)
445
+ # The number of seconds to wait for a 100-continue response before sending the
446
+ # request body. This option has no effect unless the request has "Expect"
447
+ # header set to "100-continue". Defaults to `nil` which disables this
448
+ # behaviour. This value can safely be set per request on the session.
449
+ #
450
+ # @option options [Float] :http_idle_timeout (5)
451
+ # The number of seconds a connection is allowed to sit idle before it
452
+ # is considered stale. Stale connections are closed and removed from the
453
+ # pool before making a request.
454
+ #
455
+ # @option options [Float] :http_open_timeout (15)
456
+ # The default number of seconds to wait for response data.
457
+ # This value can safely be set per-request on the session.
458
+ #
459
+ # @option options [URI::HTTP,String] :http_proxy
460
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
461
+ #
462
+ # @option options [Float] :http_read_timeout (60)
463
+ # The default number of seconds to wait for response data.
464
+ # This value can safely be set per-request on the session.
465
+ #
466
+ # @option options [Boolean] :http_wire_trace (false)
467
+ # When `true`, HTTP debug output will be sent to the `:logger`.
468
+ #
469
+ # @option options [Proc] :on_chunk_received
470
+ # When a Proc object is provided, it will be used as callback when each chunk
471
+ # of the response body is received. It provides three arguments: the chunk,
472
+ # the number of bytes received, and the total number of
473
+ # bytes in the response (or nil if the server did not send a `content-length`).
474
+ #
475
+ # @option options [Proc] :on_chunk_sent
476
+ # When a Proc object is provided, it will be used as callback when each chunk
477
+ # of the request body is sent. It provides three arguments: the chunk,
478
+ # the number of bytes read from the body, and the total number of
479
+ # bytes in the body.
480
+ #
481
+ # @option options [Boolean] :raise_response_errors (true)
482
+ # When `true`, response errors are raised.
483
+ #
484
+ # @option options [String] :ssl_ca_bundle
485
+ # Full path to the SSL certificate authority bundle file that should be used when
486
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
487
+ # `:ssl_ca_directory` the the system default will be used if available.
488
+ #
489
+ # @option options [String] :ssl_ca_directory
490
+ # Full path of the directory that contains the unbundled SSL certificate
491
+ # authority files for verifying peer certificates. If you do
492
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
493
+ # default will be used if available.
460
494
  #
461
- # @option options [Boolean] :http_wire_trace (false) When `true`,
462
- # HTTP debug output will be sent to the `:logger`.
495
+ # @option options [String] :ssl_ca_store
496
+ # Sets the X509::Store to verify peer certificate.
463
497
  #
464
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
465
- # SSL peer certificates are verified when establishing a
466
- # connection.
498
+ # @option options [Float] :ssl_timeout
499
+ # Sets the SSL timeout in seconds
467
500
  #
468
- # @option options [String] :ssl_ca_bundle Full path to the SSL
469
- # certificate authority bundle file that should be used when
470
- # verifying peer certificates. If you do not pass
471
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
472
- # will be used if available.
473
- #
474
- # @option options [String] :ssl_ca_directory Full path of the
475
- # directory that contains the unbundled SSL certificate
476
- # authority files for verifying peer certificates. If you do
477
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
478
- # system default will be used if available.
501
+ # @option options [Boolean] :ssl_verify_peer (true)
502
+ # When `true`, SSL peer certificates are verified when establishing a connection.
479
503
  #
480
504
  def initialize(*args)
481
505
  super
@@ -17206,22 +17230,22 @@ module Aws::S3
17206
17230
  #
17207
17231
  # @example EventStream Operation Example
17208
17232
  #
17209
- # You can process event once it arrives immediately, or wait until
17210
- # full response complete and iterate through eventstream enumerator.
17233
+ # You can process the event once it arrives immediately, or wait until the
17234
+ # full response is complete and iterate through the eventstream enumerator.
17211
17235
  #
17212
17236
  # To interact with event immediately, you need to register #select_object_content
17213
- # with callbacks, callbacks can be register for specifc events or for all events,
17214
- # callback for errors in the event stream is also available for register.
17237
+ # with callbacks. Callbacks can be registered for specific events or for all
17238
+ # events, including error events.
17215
17239
  #
17216
- # Callbacks can be passed in by `:event_stream_handler` option or within block
17217
- # statement attached to #select_object_content call directly. Hybrid pattern of both
17218
- # is also supported.
17240
+ # Callbacks can be passed into the `:event_stream_handler` option or within a
17241
+ # block statement attached to the #select_object_content call directly. Hybrid
17242
+ # pattern of both is also supported.
17219
17243
  #
17220
- # `:event_stream_handler` option takes in either Proc object or
17244
+ # `:event_stream_handler` option takes in either a Proc object or
17221
17245
  # Aws::S3::EventStreams::SelectObjectContentEventStream object.
17222
17246
  #
17223
- # Usage pattern a): callbacks with a block attached to #select_object_content
17224
- # Example for registering callbacks for all event types and error event
17247
+ # Usage pattern a): Callbacks with a block attached to #select_object_content
17248
+ # Example for registering callbacks for all event types and an error event
17225
17249
  #
17226
17250
  # client.select_object_content( # params input# ) do |stream|
17227
17251
  # stream.on_error_event do |event|
@@ -17241,9 +17265,9 @@ module Aws::S3
17241
17265
  #
17242
17266
  # end
17243
17267
  #
17244
- # Usage pattern b): pass in `:event_stream_handler` for #select_object_content
17268
+ # Usage pattern b): Pass in `:event_stream_handler` for #select_object_content
17245
17269
  #
17246
- # 1) create a Aws::S3::EventStreams::SelectObjectContentEventStream object
17270
+ # 1) Create a Aws::S3::EventStreams::SelectObjectContentEventStream object
17247
17271
  # Example for registering callbacks with specific events
17248
17272
  #
17249
17273
  # handler = Aws::S3::EventStreams::SelectObjectContentEventStream.new
@@ -17265,7 +17289,7 @@ module Aws::S3
17265
17289
  #
17266
17290
  # client.select_object_content( # params input #, event_stream_handler: handler)
17267
17291
  #
17268
- # 2) use a Ruby Proc object
17292
+ # 2) Use a Ruby Proc object
17269
17293
  # Example for registering callbacks with specific events
17270
17294
  #
17271
17295
  # handler = Proc.new do |stream|
@@ -17288,7 +17312,7 @@ module Aws::S3
17288
17312
  #
17289
17313
  # client.select_object_content( # params input #, event_stream_handler: handler)
17290
17314
  #
17291
- # Usage pattern c): hybird pattern of a) and b)
17315
+ # Usage pattern c): Hybrid pattern of a) and b)
17292
17316
  #
17293
17317
  # handler = Aws::S3::EventStreams::SelectObjectContentEventStream.new
17294
17318
  # handler.on_records_event do |event|
@@ -17318,8 +17342,7 @@ module Aws::S3
17318
17342
  # end
17319
17343
  # end
17320
17344
  #
17321
- # Besides above usage patterns for process events when they arrive immediately, you can also
17322
- # iterate through events after response complete.
17345
+ # You can also iterate through events after the response complete.
17323
17346
  #
17324
17347
  # Events are available at resp.payload # => Enumerator
17325
17348
  # For parameter input example, please refer to following request syntax
@@ -18792,7 +18815,7 @@ module Aws::S3
18792
18815
  params: params,
18793
18816
  config: config)
18794
18817
  context[:gem_name] = 'aws-sdk-s3'
18795
- context[:gem_version] = '1.146.1'
18818
+ context[:gem_version] = '1.148.0'
18796
18819
  Seahorse::Client::Request.new(handlers, context)
18797
18820
  end
18798
18821
 
@@ -440,7 +440,7 @@ module Aws::S3
440
440
  PartNumber = Shapes::IntegerShape.new(name: 'PartNumber')
441
441
  PartNumberMarker = Shapes::IntegerShape.new(name: 'PartNumberMarker')
442
442
  PartitionDateSource = Shapes::StringShape.new(name: 'PartitionDateSource')
443
- PartitionedPrefix = Shapes::StructureShape.new(name: 'PartitionedPrefix')
443
+ PartitionedPrefix = Shapes::StructureShape.new(name: 'PartitionedPrefix', locationName: "PartitionedPrefix")
444
444
  Parts = Shapes::ListShape.new(name: 'Parts', flattened: true)
445
445
  PartsCount = Shapes::IntegerShape.new(name: 'PartsCount')
446
446
  PartsList = Shapes::ListShape.new(name: 'PartsList', flattened: true)
@@ -546,10 +546,10 @@ module Aws::S3
546
546
  SSECustomerAlgorithm = Shapes::StringShape.new(name: 'SSECustomerAlgorithm')
547
547
  SSECustomerKey = Shapes::StringShape.new(name: 'SSECustomerKey')
548
548
  SSECustomerKeyMD5 = Shapes::StringShape.new(name: 'SSECustomerKeyMD5')
549
- SSEKMS = Shapes::StructureShape.new(name: 'SSEKMS')
549
+ SSEKMS = Shapes::StructureShape.new(name: 'SSEKMS', locationName: "SSE-KMS")
550
550
  SSEKMSEncryptionContext = Shapes::StringShape.new(name: 'SSEKMSEncryptionContext')
551
551
  SSEKMSKeyId = Shapes::StringShape.new(name: 'SSEKMSKeyId')
552
- SSES3 = Shapes::StructureShape.new(name: 'SSES3')
552
+ SSES3 = Shapes::StructureShape.new(name: 'SSES3', locationName: "SSE-S3")
553
553
  ScanRange = Shapes::StructureShape.new(name: 'ScanRange')
554
554
  SelectObjectContentEventStream = Shapes::StructureShape.new(name: 'SelectObjectContentEventStream')
555
555
  SelectObjectContentOutput = Shapes::StructureShape.new(name: 'SelectObjectContentOutput')
@@ -565,7 +565,7 @@ module Aws::S3
565
565
  SessionExpiration = Shapes::TimestampShape.new(name: 'SessionExpiration')
566
566
  SessionMode = Shapes::StringShape.new(name: 'SessionMode')
567
567
  Setting = Shapes::BooleanShape.new(name: 'Setting')
568
- SimplePrefix = Shapes::StructureShape.new(name: 'SimplePrefix')
568
+ SimplePrefix = Shapes::StructureShape.new(name: 'SimplePrefix', locationName: "SimplePrefix")
569
569
  Size = Shapes::IntegerShape.new(name: 'Size')
570
570
  SkipValidation = Shapes::BooleanShape.new(name: 'SkipValidation')
571
571
  SourceSelectionCriteria = Shapes::StructureShape.new(name: 'SourceSelectionCriteria')
@@ -199,6 +199,8 @@ module Aws
199
199
  req.handlers.remove(Aws::S3::Plugins::S3Signer::LegacyHandler)
200
200
  req.handlers.remove(Aws::Plugins::Sign::Handler)
201
201
  req.handlers.remove(Seahorse::Client::Plugins::ContentLength::Handler)
202
+ req.handlers.remove(Aws::Rest::ContentTypeHandler)
203
+ req.handlers.remove(Aws::Plugins::InvocationId::Handler)
202
204
 
203
205
  req.handle(step: :send) do |context|
204
206
  # if an endpoint was not provided, force secure or insecure
data/lib/aws-sdk-s3.rb CHANGED
@@ -73,6 +73,6 @@ require_relative 'aws-sdk-s3/event_streams'
73
73
  # @!group service
74
74
  module Aws::S3
75
75
 
76
- GEM_VERSION = '1.146.1'
76
+ GEM_VERSION = '1.148.0'
77
77
 
78
78
  end
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.146.1
4
+ version: 1.148.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: 2024-03-28 00:00:00.000000000 Z
11
+ date: 2024-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-kms
@@ -47,7 +47,7 @@ dependencies:
47
47
  version: '3'
48
48
  - - ">="
49
49
  - !ruby/object:Gem::Version
50
- version: 3.191.0
50
+ version: 3.193.0
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
@@ -57,7 +57,7 @@ dependencies:
57
57
  version: '3'
58
58
  - - ">="
59
59
  - !ruby/object:Gem::Version
60
- version: 3.191.0
60
+ version: 3.193.0
61
61
  description: Official AWS Ruby gem for Amazon Simple Storage Service (Amazon S3).
62
62
  This gem is part of the AWS SDK for Ruby.
63
63
  email: