aws-sdk-s3 1.22.0 → 1.23.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: 043bc1a87c926560bc93862b19600c455a33cb1e
4
- data.tar.gz: 93c9e1a7dec56dfec76bbf5d7383eedd1ef4778a
3
+ metadata.gz: d0ed9e7a99495dccd31ba122af637ccd2bb2b0f3
4
+ data.tar.gz: '0169601078bef3eb0ce0cd0c04cfcaa17af2327f'
5
5
  SHA512:
6
- metadata.gz: 9a75511ecd1e2fb4f39ee6c78d7ede205990780c17ad394e15d3ac65f84cccc8e0c09368bbc05e7a60d6b0ad97c1861ba91de55a1149f2c5dd1deedc955f6306
7
- data.tar.gz: b3c887f6edd4b604a3e085f3a84d1b9d671fa87bfea7bb1a3f5c173dfca5b60cb19c5eee644563c8364efbb2a8989662889e3c38c9a2e10022d746b4a178f160
6
+ metadata.gz: c8f6dbb6902fd893e40c1c6189f4e20fd4317392b994aaa8fe54517270b5ec83d78e977a9175a07dee21341e6914f6b06b126d5303c518879311293eb35473f0
7
+ data.tar.gz: c516ce65f15d6d9824c683723be5c9ba49507ac95dedf581ed664b097a2fa1c4073ef8203663d846bad2030bcad39794055a4f18670949e4413bc6123a0b820e
@@ -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.22.0'
66
+ GEM_VERSION = '1.23.0'
67
67
 
68
68
  end
@@ -82,152 +82,154 @@ module Aws::S3
82
82
  add_plugin(Aws::S3::Plugins::BucketNameRestrictions)
83
83
  add_plugin(Aws::Plugins::EventStreamConfiguration)
84
84
 
85
- # @option options [required, Aws::CredentialProvider] :credentials
86
- # Your AWS credentials. This can be an instance of any one of the
87
- # following classes:
88
- #
89
- # * `Aws::Credentials` - Used for configuring static, non-refreshing
90
- # credentials.
85
+ # @overload initialize(options)
86
+ # @param [Hash] options
87
+ # @option options [required, Aws::CredentialProvider] :credentials
88
+ # Your AWS credentials. This can be an instance of any one of the
89
+ # following classes:
90
+ #
91
+ # * `Aws::Credentials` - Used for configuring static, non-refreshing
92
+ # credentials.
93
+ #
94
+ # * `Aws::InstanceProfileCredentials` - Used for loading credentials
95
+ # from an EC2 IMDS on an EC2 instance.
96
+ #
97
+ # * `Aws::SharedCredentials` - Used for loading credentials from a
98
+ # shared file, such as `~/.aws/config`.
91
99
  #
92
- # * `Aws::InstanceProfileCredentials` - Used for loading credentials
93
- # from an EC2 IMDS on an EC2 instance.
100
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
101
+ #
102
+ # When `:credentials` are not configured directly, the following
103
+ # locations will be searched for credentials:
104
+ #
105
+ # * `Aws.config[:credentials]`
106
+ # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
107
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
108
+ # * `~/.aws/credentials`
109
+ # * `~/.aws/config`
110
+ # * EC2 IMDS instance profile - When used by default, the timeouts are
111
+ # very aggressive. Construct and pass an instance of
112
+ # `Aws::InstanceProfileCredentails` to enable retries and extended
113
+ # timeouts.
94
114
  #
95
- # * `Aws::SharedCredentials` - Used for loading credentials from a
96
- # shared file, such as `~/.aws/config`.
115
+ # @option options [required, String] :region
116
+ # The AWS region to connect to. The configured `:region` is
117
+ # used to determine the service `:endpoint`. When not passed,
118
+ # a default `:region` is search for in the following locations:
97
119
  #
98
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
120
+ # * `Aws.config[:region]`
121
+ # * `ENV['AWS_REGION']`
122
+ # * `ENV['AMAZON_REGION']`
123
+ # * `ENV['AWS_DEFAULT_REGION']`
124
+ # * `~/.aws/credentials`
125
+ # * `~/.aws/config`
99
126
  #
100
- # When `:credentials` are not configured directly, the following
101
- # locations will be searched for credentials:
127
+ # @option options [String] :access_key_id
128
+ #
129
+ # @option options [Boolean] :client_side_monitoring (false)
130
+ # When `true`, client-side metrics will be collected for all API requests from
131
+ # this client.
132
+ #
133
+ # @option options [String] :client_side_monitoring_client_id ("")
134
+ # Allows you to provide an identifier for this client which will be attached to
135
+ # all generated client side metrics. Defaults to an empty string.
102
136
  #
103
- # * `Aws.config[:credentials]`
104
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
105
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
106
- # * `~/.aws/credentials`
107
- # * `~/.aws/config`
108
- # * EC2 IMDS instance profile - When used by default, the timeouts are
109
- # very aggressive. Construct and pass an instance of
110
- # `Aws::InstanceProfileCredentails` to enable retries and extended
111
- # timeouts.
137
+ # @option options [Integer] :client_side_monitoring_port (31000)
138
+ # Required for publishing client metrics. The port that the client side monitoring
139
+ # agent is running on, where client metrics will be published via UDP.
112
140
  #
113
- # @option options [required, String] :region
114
- # The AWS region to connect to. The configured `:region` is
115
- # used to determine the service `:endpoint`. When not passed,
116
- # a default `:region` is search for in the following locations:
141
+ # @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
142
+ # Allows you to provide a custom client-side monitoring publisher class. By default,
143
+ # will use the Client Side Monitoring Agent Publisher.
117
144
  #
118
- # * `Aws.config[:region]`
119
- # * `ENV['AWS_REGION']`
120
- # * `ENV['AMAZON_REGION']`
121
- # * `ENV['AWS_DEFAULT_REGION']`
122
- # * `~/.aws/credentials`
123
- # * `~/.aws/config`
145
+ # @option options [Boolean] :compute_checksums (true)
146
+ # When `true` a MD5 checksum will be computed for every request that
147
+ # sends a body. When `false`, MD5 checksums will only be computed
148
+ # for operations that require them. Checksum errors returned by Amazon
149
+ # S3 are automatically retried up to `:retry_limit` times.
124
150
  #
125
- # @option options [String] :access_key_id
151
+ # @option options [Boolean] :convert_params (true)
152
+ # When `true`, an attempt is made to coerce request parameters into
153
+ # the required types.
126
154
  #
127
- # @option options [Boolean] :client_side_monitoring (false)
128
- # When `true`, client-side metrics will be collected for all API requests from
129
- # this client.
155
+ # @option options [String] :endpoint
156
+ # The client endpoint is normally constructed from the `:region`
157
+ # option. You should only configure an `:endpoint` when connecting
158
+ # to test endpoints. This should be avalid HTTP(S) URI.
130
159
  #
131
- # @option options [String] :client_side_monitoring_client_id ("")
132
- # Allows you to provide an identifier for this client which will be attached to
133
- # all generated client side metrics. Defaults to an empty string.
160
+ # @option options [Proc] :event_stream_handler
161
+ # When an EventStream or Proc object is provided, it will be used as callback for each chunk of event stream response received along the way.
134
162
  #
135
- # @option options [Integer] :client_side_monitoring_port (31000)
136
- # Required for publishing client metrics. The port that the client side monitoring
137
- # agent is running on, where client metrics will be published via UDP.
163
+ # @option options [Boolean] :follow_redirects (true)
164
+ # When `true`, this client will follow 307 redirects returned
165
+ # by Amazon S3.
138
166
  #
139
- # @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
140
- # Allows you to provide a custom client-side monitoring publisher class. By default,
141
- # will use the Client Side Monitoring Agent Publisher.
167
+ # @option options [Boolean] :force_path_style (false)
168
+ # When set to `true`, the bucket name is always left in the
169
+ # request URI and never moved to the host as a sub-domain.
142
170
  #
143
- # @option options [Boolean] :compute_checksums (true)
144
- # When `true` a MD5 checksum will be computed for every request that
145
- # sends a body. When `false`, MD5 checksums will only be computed
146
- # for operations that require them. Checksum errors returned by Amazon
147
- # S3 are automatically retried up to `:retry_limit` times.
171
+ # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
172
+ # The log formatter.
148
173
  #
149
- # @option options [Boolean] :convert_params (true)
150
- # When `true`, an attempt is made to coerce request parameters into
151
- # the required types.
174
+ # @option options [Symbol] :log_level (:info)
175
+ # The log level to send messages to the `:logger` at.
152
176
  #
153
- # @option options [String] :endpoint
154
- # The client endpoint is normally constructed from the `:region`
155
- # option. You should only configure an `:endpoint` when connecting
156
- # to test endpoints. This should be avalid HTTP(S) URI.
177
+ # @option options [Logger] :logger
178
+ # The Logger instance to send log messages to. If this option
179
+ # is not set, logging will be disabled.
157
180
  #
158
- # @option options [Proc] :event_stream_handler
159
- # When an EventStream or Proc object is provided, it will be used as callback for each chunk of event stream response received along the way.
181
+ # @option options [String] :profile ("default")
182
+ # Used when loading credentials from the shared credentials file
183
+ # at HOME/.aws/credentials. When not specified, 'default' is used.
160
184
  #
161
- # @option options [Boolean] :follow_redirects (true)
162
- # When `true`, this client will follow 307 redirects returned
163
- # by Amazon S3.
185
+ # @option options [Boolean] :require_https_for_sse_cpk (true)
186
+ # When `true`, the endpoint **must** be HTTPS for all operations
187
+ # where server-side-encryption is used with customer-provided keys.
188
+ # This should only be disabled for local testing.
164
189
  #
165
- # @option options [Boolean] :force_path_style (false)
166
- # When set to `true`, the bucket name is always left in the
167
- # request URI and never moved to the host as a sub-domain.
190
+ # @option options [Float] :retry_base_delay (0.3)
191
+ # The base delay in seconds used by the default backoff function.
168
192
  #
169
- # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
170
- # The log formatter.
193
+ # @option options [Symbol] :retry_jitter (:none)
194
+ # 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.
171
195
  #
172
- # @option options [Symbol] :log_level (:info)
173
- # The log level to send messages to the `:logger` at.
196
+ # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
174
197
  #
175
- # @option options [Logger] :logger
176
- # The Logger instance to send log messages to. If this option
177
- # is not set, logging will be disabled.
198
+ # @option options [Integer] :retry_limit (3)
199
+ # The maximum number of times to retry failed requests. Only
200
+ # ~ 500 level server errors and certain ~ 400 level client errors
201
+ # are retried. Generally, these are throttling errors, data
202
+ # checksum errors, networking errors, timeout errors and auth
203
+ # errors from expired credentials.
178
204
  #
179
- # @option options [String] :profile ("default")
180
- # Used when loading credentials from the shared credentials file
181
- # at HOME/.aws/credentials. When not specified, 'default' is used.
205
+ # @option options [Integer] :retry_max_delay (0)
206
+ # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
182
207
  #
183
- # @option options [Boolean] :require_https_for_sse_cpk (true)
184
- # When `true`, the endpoint **must** be HTTPS for all operations
185
- # where server-side-encryption is used with customer-provided keys.
186
- # This should only be disabled for local testing.
208
+ # @option options [String] :secret_access_key
187
209
  #
188
- # @option options [Float] :retry_base_delay (0.3)
189
- # The base delay in seconds used by the default backoff function.
210
+ # @option options [String] :session_token
190
211
  #
191
- # @option options [Symbol] :retry_jitter (:none)
192
- # 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.
212
+ # @option options [Boolean] :stub_responses (false)
213
+ # Causes the client to return stubbed responses. By default
214
+ # fake responses are generated and returned. You can specify
215
+ # the response data to return or errors to raise by calling
216
+ # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
193
217
  #
194
- # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
218
+ # ** Please note ** When response stubbing is enabled, no HTTP
219
+ # requests are made, and retries are disabled.
195
220
  #
196
- # @option options [Integer] :retry_limit (3)
197
- # The maximum number of times to retry failed requests. Only
198
- # ~ 500 level server errors and certain ~ 400 level client errors
199
- # are retried. Generally, these are throttling errors, data
200
- # checksum errors, networking errors, timeout errors and auth
201
- # errors from expired credentials.
221
+ # @option options [Boolean] :use_accelerate_endpoint (false)
222
+ # When set to `true`, accelerated bucket endpoints will be used
223
+ # for all object operations. You must first enable accelerate for
224
+ # each bucket. [Go here for more information](http://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html).
202
225
  #
203
- # @option options [Integer] :retry_max_delay (0)
204
- # The maximum number of seconds to delay between retries (0 for no limit) used by the default backoff function.
226
+ # @option options [Boolean] :use_dualstack_endpoint (false)
227
+ # When set to `true`, IPv6-compatible bucket endpoints will be used
228
+ # for all operations.
205
229
  #
206
- # @option options [String] :secret_access_key
207
- #
208
- # @option options [String] :session_token
209
- #
210
- # @option options [Boolean] :stub_responses (false)
211
- # Causes the client to return stubbed responses. By default
212
- # fake responses are generated and returned. You can specify
213
- # the response data to return or errors to raise by calling
214
- # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
215
- #
216
- # ** Please note ** When response stubbing is enabled, no HTTP
217
- # requests are made, and retries are disabled.
218
- #
219
- # @option options [Boolean] :use_accelerate_endpoint (false)
220
- # When set to `true`, accelerated bucket endpoints will be used
221
- # for all object operations. You must first enable accelerate for
222
- # each bucket. [Go here for more information](http://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html).
223
- #
224
- # @option options [Boolean] :use_dualstack_endpoint (false)
225
- # When set to `true`, IPv6-compatible bucket endpoints will be used
226
- # for all operations.
227
- #
228
- # @option options [Boolean] :validate_params (true)
229
- # When `true`, request parameters are validated before
230
- # sending the request.
230
+ # @option options [Boolean] :validate_params (true)
231
+ # When `true`, request parameters are validated before
232
+ # sending the request.
231
233
  #
232
234
  def initialize(*args)
233
235
  super
@@ -6450,7 +6452,7 @@ module Aws::S3
6450
6452
  params: params,
6451
6453
  config: config)
6452
6454
  context[:gem_name] = 'aws-sdk-s3'
6453
- context[:gem_version] = '1.22.0'
6455
+ context[:gem_version] = '1.23.0'
6454
6456
  Seahorse::Client::Request.new(handlers, context)
6455
6457
  end
6456
6458
 
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.22.0
4
+ version: 1.23.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-10-23 00:00:00.000000000 Z
11
+ date: 2018-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-kms