aws-sdk-s3 1.183.0 → 1.186.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/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/client.rb +118 -113
- data/lib/aws-sdk-s3/client_api.rb +162 -162
- data/lib/aws-sdk-s3/endpoint_provider.rb +134 -134
- data/lib/aws-sdk-s3.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 19666bc9138c7fc657115eb675f1c46b170c18aa53d9304ce83e359244e5837b
|
4
|
+
data.tar.gz: 0f3c295fa25bf720226c4a1050baacd6ed446d48663c5ea8005637bb4642990c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4aebed9bdf712cf27aa46d8497c01be15d29bdc7c85f2b055c230d8d4917d6a4da56c0cd2228be9544725164288a58e717f989d443b4ae0fde80725d4eeb76f
|
7
|
+
data.tar.gz: cda031dbe1f6ce1a9c2769f5fa674dc623ae9f72baedfeae3875887b775cab1550e892b89bf648e1e4d8a40379689a303a90c58e95fbf9e88f266f5952bd345d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.186.0 (2025-05-12)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.185.0 (2025-05-01)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
14
|
+
1.184.0 (2025-04-28)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.183.0 (2025-03-31)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.186.0
|
data/lib/aws-sdk-s3/client.rb
CHANGED
@@ -256,8 +256,7 @@ module Aws::S3
|
|
256
256
|
# accepted modes and the configuration defaults that are included.
|
257
257
|
#
|
258
258
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
259
|
-
#
|
260
|
-
# to default service endpoint when available.
|
259
|
+
# When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
|
261
260
|
#
|
262
261
|
# @option options [Boolean] :disable_request_compression (false)
|
263
262
|
# When set to 'true' the request body will not be compressed
|
@@ -18980,122 +18979,128 @@ module Aws::S3
|
|
18980
18979
|
#
|
18981
18980
|
# @example EventStream Operation Example
|
18982
18981
|
#
|
18983
|
-
# You can process the event once it arrives immediately, or wait until the
|
18984
|
-
# full response is complete and iterate through the eventstream enumerator.
|
18985
|
-
#
|
18986
|
-
# To interact with event immediately, you need to register
|
18987
|
-
# with callbacks. Callbacks can be registered for specific events or for all
|
18988
|
-
# events, including error events.
|
18989
|
-
#
|
18990
|
-
# Callbacks can be passed into the `:event_stream_handler` option or within a
|
18991
|
-
# block statement attached to the #select_object_content call directly. Hybrid
|
18992
|
-
# pattern of both is also supported.
|
18993
|
-
#
|
18994
|
-
# `:event_stream_handler` option takes in either a Proc object or
|
18995
|
-
# Aws::S3::EventStreams::SelectObjectContentEventStream object.
|
18996
|
-
#
|
18997
|
-
# Usage pattern a): Callbacks with a block attached to #select_object_content
|
18998
|
-
#
|
18999
|
-
#
|
19000
|
-
#
|
19001
|
-
#
|
19002
|
-
#
|
19003
|
-
#
|
19004
|
-
#
|
19005
|
-
#
|
19006
|
-
#
|
19007
|
-
#
|
19008
|
-
#
|
19009
|
-
#
|
19010
|
-
# stream.on_event do |event|
|
19011
|
-
# # process all events arrive
|
19012
|
-
# puts event.event_type
|
19013
|
-
# ...
|
19014
|
-
# end
|
19015
|
-
#
|
18982
|
+
# # You can process the event once it arrives immediately, or wait until the
|
18983
|
+
# # full response is complete and iterate through the eventstream enumerator.
|
18984
|
+
#
|
18985
|
+
# # To interact with event immediately, you need to register select_object_content
|
18986
|
+
# # with callbacks. Callbacks can be registered for specific events or for all
|
18987
|
+
# # events, including error events.
|
18988
|
+
#
|
18989
|
+
# # Callbacks can be passed into the `:event_stream_handler` option or within a
|
18990
|
+
# # block statement attached to the #select_object_content call directly. Hybrid
|
18991
|
+
# # pattern of both is also supported.
|
18992
|
+
#
|
18993
|
+
# # `:event_stream_handler` option takes in either a Proc object or
|
18994
|
+
# # Aws::S3::EventStreams::SelectObjectContentEventStream object.
|
18995
|
+
#
|
18996
|
+
# # Usage pattern a): Callbacks with a block attached to #select_object_content
|
18997
|
+
# # Example for registering callbacks for all event types and an error event
|
18998
|
+
# client.select_object_content(
|
18999
|
+
# # params input
|
19000
|
+
# ) do |stream|
|
19001
|
+
# stream.on_error_event do |event|
|
19002
|
+
# # catch unmodeled error event in the stream
|
19003
|
+
# raise event
|
19004
|
+
# # => Aws::Errors::EventError
|
19005
|
+
# # event.event_type => :error
|
19006
|
+
# # event.error_code => String
|
19007
|
+
# # event.error_message => String
|
19016
19008
|
# end
|
19017
19009
|
#
|
19018
|
-
#
|
19010
|
+
# stream.on_event do |event|
|
19011
|
+
# # process all events arrive
|
19012
|
+
# puts event.event_type
|
19013
|
+
# # ...
|
19014
|
+
# end
|
19015
|
+
# end
|
19019
19016
|
#
|
19020
|
-
#
|
19021
|
-
#
|
19017
|
+
# # Usage pattern b): Pass in `:event_stream_handler` for #select_object_content
|
19018
|
+
# # 1) Create a Aws::S3::EventStreams::SelectObjectContentEventStream object
|
19019
|
+
# # Example for registering callbacks with specific events
|
19022
19020
|
#
|
19023
|
-
#
|
19024
|
-
#
|
19025
|
-
#
|
19026
|
-
#
|
19027
|
-
#
|
19028
|
-
#
|
19029
|
-
#
|
19030
|
-
#
|
19031
|
-
#
|
19032
|
-
#
|
19033
|
-
#
|
19034
|
-
#
|
19035
|
-
#
|
19036
|
-
#
|
19037
|
-
#
|
19038
|
-
#
|
19039
|
-
#
|
19040
|
-
# client.select_object_content( # params input #, event_stream_handler: handler)
|
19021
|
+
# handler = Aws::S3::EventStreams::SelectObjectContentEventStream.new
|
19022
|
+
# handler.on_records_event do |event|
|
19023
|
+
# event # => Aws::S3::Types::Records
|
19024
|
+
# end
|
19025
|
+
# handler.on_stats_event do |event|
|
19026
|
+
# event # => Aws::S3::Types::Stats
|
19027
|
+
# end
|
19028
|
+
# handler.on_progress_event do |event|
|
19029
|
+
# event # => Aws::S3::Types::Progress
|
19030
|
+
# end
|
19031
|
+
# handler.on_cont_event do |event|
|
19032
|
+
# event # => Aws::S3::Types::Cont
|
19033
|
+
# end
|
19034
|
+
# handler.on_end_event do |event|
|
19035
|
+
# event # => Aws::S3::Types::End
|
19036
|
+
# end
|
19041
19037
|
#
|
19042
|
-
#
|
19043
|
-
#
|
19038
|
+
# client.select_object_content(
|
19039
|
+
# # params inputs
|
19040
|
+
# event_stream_handler: handler
|
19041
|
+
# )
|
19044
19042
|
#
|
19045
|
-
#
|
19046
|
-
#
|
19047
|
-
#
|
19048
|
-
#
|
19049
|
-
#
|
19050
|
-
# event # => Aws::S3::Types::Stats
|
19051
|
-
# end
|
19052
|
-
# stream.on_progress_event do |event|
|
19053
|
-
# event # => Aws::S3::Types::Progress
|
19054
|
-
# end
|
19055
|
-
# stream.on_cont_event do |event|
|
19056
|
-
# event # => Aws::S3::Types::Cont
|
19057
|
-
# end
|
19058
|
-
# stream.on_end_event do |event|
|
19059
|
-
# event # => Aws::S3::Types::End
|
19060
|
-
# end
|
19043
|
+
# # 2) Use a Ruby Proc object
|
19044
|
+
# # Example for registering callbacks with specific events
|
19045
|
+
# handler = Proc.new do |stream|
|
19046
|
+
# stream.on_records_event do |event|
|
19047
|
+
# event # => Aws::S3::Types::Records
|
19061
19048
|
# end
|
19049
|
+
# stream.on_stats_event do |event|
|
19050
|
+
# event # => Aws::S3::Types::Stats
|
19051
|
+
# end
|
19052
|
+
# stream.on_progress_event do |event|
|
19053
|
+
# event # => Aws::S3::Types::Progress
|
19054
|
+
# end
|
19055
|
+
# stream.on_cont_event do |event|
|
19056
|
+
# event # => Aws::S3::Types::Cont
|
19057
|
+
# end
|
19058
|
+
# stream.on_end_event do |event|
|
19059
|
+
# event # => Aws::S3::Types::End
|
19060
|
+
# end
|
19061
|
+
# end
|
19062
19062
|
#
|
19063
|
-
#
|
19064
|
-
#
|
19065
|
-
#
|
19063
|
+
# client.select_object_content(
|
19064
|
+
# # params inputs
|
19065
|
+
# event_stream_handler: handler
|
19066
|
+
# )
|
19066
19067
|
#
|
19067
|
-
#
|
19068
|
-
#
|
19069
|
-
#
|
19070
|
-
#
|
19071
|
-
#
|
19072
|
-
#
|
19073
|
-
#
|
19074
|
-
#
|
19075
|
-
#
|
19076
|
-
#
|
19077
|
-
#
|
19078
|
-
#
|
19079
|
-
#
|
19080
|
-
#
|
19081
|
-
#
|
19082
|
-
#
|
19068
|
+
# # Usage pattern c): Hybrid pattern of a) and b)
|
19069
|
+
# handler = Aws::S3::EventStreams::SelectObjectContentEventStream.new
|
19070
|
+
# handler.on_records_event do |event|
|
19071
|
+
# event # => Aws::S3::Types::Records
|
19072
|
+
# end
|
19073
|
+
# handler.on_stats_event do |event|
|
19074
|
+
# event # => Aws::S3::Types::Stats
|
19075
|
+
# end
|
19076
|
+
# handler.on_progress_event do |event|
|
19077
|
+
# event # => Aws::S3::Types::Progress
|
19078
|
+
# end
|
19079
|
+
# handler.on_cont_event do |event|
|
19080
|
+
# event # => Aws::S3::Types::Cont
|
19081
|
+
# end
|
19082
|
+
# handler.on_end_event do |event|
|
19083
|
+
# event # => Aws::S3::Types::End
|
19084
|
+
# end
|
19083
19085
|
#
|
19084
|
-
#
|
19085
|
-
#
|
19086
|
-
#
|
19087
|
-
#
|
19088
|
-
#
|
19089
|
-
#
|
19090
|
-
#
|
19091
|
-
#
|
19092
|
-
#
|
19086
|
+
# client.select_object_content(
|
19087
|
+
# # params input
|
19088
|
+
# event_stream_handler: handler
|
19089
|
+
# ) do |stream|
|
19090
|
+
# stream.on_error_event do |event|
|
19091
|
+
# # catch unmodeled error event in the stream
|
19092
|
+
# raise event
|
19093
|
+
# # => Aws::Errors::EventError
|
19094
|
+
# # event.event_type => :error
|
19095
|
+
# # event.error_code => String
|
19096
|
+
# # event.error_message => String
|
19093
19097
|
# end
|
19098
|
+
# end
|
19094
19099
|
#
|
19095
|
-
# You can also iterate through events after the response complete.
|
19096
|
-
#
|
19097
|
-
#
|
19098
|
-
# For parameter input example, please refer to following request syntax
|
19100
|
+
# # You can also iterate through events after the response complete.
|
19101
|
+
# # Events are available at
|
19102
|
+
# resp.payload # => Enumerator
|
19103
|
+
# # For parameter input example, please refer to following request syntax.
|
19099
19104
|
#
|
19100
19105
|
# @example Request syntax with placeholder values
|
19101
19106
|
#
|
@@ -19148,26 +19153,26 @@ module Aws::S3
|
|
19148
19153
|
#
|
19149
19154
|
# @example Response structure
|
19150
19155
|
#
|
19151
|
-
# All events are available at resp.payload:
|
19156
|
+
# # All events are available at resp.payload:
|
19152
19157
|
# resp.payload #=> Enumerator
|
19153
19158
|
# resp.payload.event_types #=> [:records, :stats, :progress, :cont, :end]
|
19154
19159
|
#
|
19155
|
-
# For :records event available at #on_records_event callback and response eventstream enumerator:
|
19160
|
+
# # For :records event available at #on_records_event callback and response eventstream enumerator:
|
19156
19161
|
# event.payload #=> IO
|
19157
19162
|
#
|
19158
|
-
# For :stats event available at #on_stats_event callback and response eventstream enumerator:
|
19163
|
+
# # For :stats event available at #on_stats_event callback and response eventstream enumerator:
|
19159
19164
|
# event.details.bytes_scanned #=> Integer
|
19160
19165
|
# event.details.bytes_processed #=> Integer
|
19161
19166
|
# event.details.bytes_returned #=> Integer
|
19162
19167
|
#
|
19163
|
-
# For :progress event available at #on_progress_event callback and response eventstream enumerator:
|
19168
|
+
# # For :progress event available at #on_progress_event callback and response eventstream enumerator:
|
19164
19169
|
# event.details.bytes_scanned #=> Integer
|
19165
19170
|
# event.details.bytes_processed #=> Integer
|
19166
19171
|
# event.details.bytes_returned #=> Integer
|
19167
19172
|
#
|
19168
|
-
# For :cont event available at #on_cont_event callback and response eventstream enumerator:
|
19173
|
+
# # For :cont event available at #on_cont_event callback and response eventstream enumerator:
|
19169
19174
|
# #=> EmptyStruct
|
19170
|
-
# For :end event available at #on_end_event callback and response eventstream enumerator:
|
19175
|
+
# # For :end event available at #on_end_event callback and response eventstream enumerator:
|
19171
19176
|
# #=> EmptyStruct
|
19172
19177
|
#
|
19173
19178
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SelectObjectContent AWS API Documentation
|
@@ -20675,7 +20680,7 @@ module Aws::S3
|
|
20675
20680
|
tracer: tracer
|
20676
20681
|
)
|
20677
20682
|
context[:gem_name] = 'aws-sdk-s3'
|
20678
|
-
context[:gem_version] = '1.
|
20683
|
+
context[:gem_version] = '1.186.0'
|
20679
20684
|
Seahorse::Client::Request.new(handlers, context)
|
20680
20685
|
end
|
20681
20686
|
|