aws-sdk-s3 1.121.0 → 1.123.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +48 -25
- data/lib/aws-sdk-s3/bucket_acl.rb +9 -3
- data/lib/aws-sdk-s3/bucket_cors.rb +12 -4
- data/lib/aws-sdk-s3/bucket_lifecycle.rb +12 -4
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +12 -4
- data/lib/aws-sdk-s3/bucket_logging.rb +9 -3
- data/lib/aws-sdk-s3/bucket_notification.rb +9 -3
- data/lib/aws-sdk-s3/bucket_policy.rb +12 -4
- data/lib/aws-sdk-s3/bucket_request_payment.rb +9 -3
- data/lib/aws-sdk-s3/bucket_tagging.rb +12 -4
- data/lib/aws-sdk-s3/bucket_versioning.rb +15 -5
- data/lib/aws-sdk-s3/bucket_website.rb +12 -4
- data/lib/aws-sdk-s3/client.rb +1547 -1300
- data/lib/aws-sdk-s3/customizations/bucket.rb +3 -1
- data/lib/aws-sdk-s3/customizations/object.rb +28 -18
- data/lib/aws-sdk-s3/encryption/client.rb +6 -2
- data/lib/aws-sdk-s3/encryption/kms_cipher_provider.rb +13 -9
- data/lib/aws-sdk-s3/encryptionV2/client.rb +6 -2
- data/lib/aws-sdk-s3/encryptionV2/kms_cipher_provider.rb +10 -6
- data/lib/aws-sdk-s3/file_downloader.rb +14 -12
- data/lib/aws-sdk-s3/file_uploader.rb +8 -6
- data/lib/aws-sdk-s3/multipart_stream_uploader.rb +5 -3
- data/lib/aws-sdk-s3/multipart_upload.rb +12 -4
- data/lib/aws-sdk-s3/multipart_upload_part.rb +9 -3
- data/lib/aws-sdk-s3/object.rb +77 -48
- data/lib/aws-sdk-s3/object_acl.rb +9 -3
- data/lib/aws-sdk-s3/object_copier.rb +7 -5
- data/lib/aws-sdk-s3/object_summary.rb +63 -37
- data/lib/aws-sdk-s3/object_version.rb +21 -9
- data/lib/aws-sdk-s3/resource.rb +6 -2
- data/lib/aws-sdk-s3/types.rb +403 -263
- data/lib/aws-sdk-s3.rb +1 -1
- metadata +4 -4
@@ -76,7 +76,9 @@ module Aws::S3
|
|
76
76
|
#
|
77
77
|
# @return [self]
|
78
78
|
def load
|
79
|
-
resp =
|
79
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
80
|
+
@client.get_bucket_website(bucket: @bucket_name)
|
81
|
+
end
|
80
82
|
@data = resp.data
|
81
83
|
self
|
82
84
|
end
|
@@ -191,7 +193,9 @@ module Aws::S3
|
|
191
193
|
:retry
|
192
194
|
end
|
193
195
|
end
|
194
|
-
Aws::
|
196
|
+
Aws::Plugins::UserAgent.feature('resource') do
|
197
|
+
Aws::Waiters::Waiter.new(options).wait({})
|
198
|
+
end
|
195
199
|
end
|
196
200
|
|
197
201
|
# @!group Actions
|
@@ -209,7 +213,9 @@ module Aws::S3
|
|
209
213
|
# @return [EmptyStructure]
|
210
214
|
def delete(options = {})
|
211
215
|
options = options.merge(bucket: @bucket_name)
|
212
|
-
resp =
|
216
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
217
|
+
@client.delete_bucket_website(options)
|
218
|
+
end
|
213
219
|
resp.data
|
214
220
|
end
|
215
221
|
|
@@ -284,7 +290,9 @@ module Aws::S3
|
|
284
290
|
# @return [EmptyStructure]
|
285
291
|
def put(options = {})
|
286
292
|
options = options.merge(bucket: @bucket_name)
|
287
|
-
resp =
|
293
|
+
resp = Aws::Plugins::UserAgent.feature('resource') do
|
294
|
+
@client.put_bucket_website(options)
|
295
|
+
end
|
288
296
|
resp.data
|
289
297
|
end
|
290
298
|
|