aws-sdk-s3 1.150.0 → 1.160.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 +65 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/access_grants_credentials_provider.rb +12 -3
- data/lib/aws-sdk-s3/bucket.rb +89 -26
- data/lib/aws-sdk-s3/bucket_acl.rb +3 -3
- data/lib/aws-sdk-s3/bucket_cors.rb +4 -4
- data/lib/aws-sdk-s3/bucket_lifecycle.rb +4 -4
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +4 -4
- data/lib/aws-sdk-s3/bucket_logging.rb +3 -3
- data/lib/aws-sdk-s3/bucket_notification.rb +3 -3
- data/lib/aws-sdk-s3/bucket_policy.rb +4 -4
- data/lib/aws-sdk-s3/bucket_request_payment.rb +3 -3
- data/lib/aws-sdk-s3/bucket_tagging.rb +4 -4
- data/lib/aws-sdk-s3/bucket_versioning.rb +5 -5
- data/lib/aws-sdk-s3/bucket_website.rb +4 -4
- data/lib/aws-sdk-s3/client.rb +632 -351
- data/lib/aws-sdk-s3/client_api.rb +27 -3
- data/lib/aws-sdk-s3/customizations/bucket.rb +1 -1
- data/lib/aws-sdk-s3/customizations/object.rb +5 -5
- data/lib/aws-sdk-s3/encryption/client.rb +2 -2
- data/lib/aws-sdk-s3/encryption/kms_cipher_provider.rb +2 -2
- data/lib/aws-sdk-s3/encryptionV2/client.rb +2 -2
- data/lib/aws-sdk-s3/encryptionV2/kms_cipher_provider.rb +2 -2
- data/lib/aws-sdk-s3/endpoint_parameters.rb +8 -0
- data/lib/aws-sdk-s3/endpoint_provider.rb +1 -0
- data/lib/aws-sdk-s3/endpoints.rb +100 -1
- data/lib/aws-sdk-s3/file_downloader.rb +1 -1
- data/lib/aws-sdk-s3/file_uploader.rb +1 -1
- data/lib/aws-sdk-s3/multipart_stream_uploader.rb +1 -1
- data/lib/aws-sdk-s3/multipart_upload.rb +24 -4
- data/lib/aws-sdk-s3/multipart_upload_part.rb +3 -3
- data/lib/aws-sdk-s3/object.rb +66 -16
- data/lib/aws-sdk-s3/object_acl.rb +3 -3
- data/lib/aws-sdk-s3/object_copier.rb +1 -1
- data/lib/aws-sdk-s3/object_summary.rb +38 -10
- data/lib/aws-sdk-s3/object_version.rb +40 -9
- data/lib/aws-sdk-s3/plugins/access_grants.rb +75 -5
- data/lib/aws-sdk-s3/plugins/express_session_auth.rb +7 -1
- data/lib/aws-sdk-s3/plugins/http_200_errors.rb +53 -16
- data/lib/aws-sdk-s3/resource.rb +12 -10
- data/lib/aws-sdk-s3/types.rb +340 -62
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +1 -0
- data/sig/client.rbs +27 -1
- data/sig/multipart_upload.rbs +1 -0
- data/sig/object.rbs +7 -0
- data/sig/object_summary.rbs +1 -0
- data/sig/object_version.rbs +6 -0
- data/sig/resource.rbs +4 -1
- data/sig/types.rbs +15 -0
- data/sig/waiters.rbs +12 -0
- metadata +6 -6
@@ -76,7 +76,7 @@ module Aws::S3
|
|
76
76
|
#
|
77
77
|
# @return [self]
|
78
78
|
def load
|
79
|
-
resp = Aws::Plugins::UserAgent.
|
79
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
80
80
|
@client.get_bucket_website(bucket: @bucket_name)
|
81
81
|
end
|
82
82
|
@data = resp.data
|
@@ -193,7 +193,7 @@ module Aws::S3
|
|
193
193
|
:retry
|
194
194
|
end
|
195
195
|
end
|
196
|
-
Aws::Plugins::UserAgent.
|
196
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
197
197
|
Aws::Waiters::Waiter.new(options).wait({})
|
198
198
|
end
|
199
199
|
end
|
@@ -213,7 +213,7 @@ module Aws::S3
|
|
213
213
|
# @return [EmptyStructure]
|
214
214
|
def delete(options = {})
|
215
215
|
options = options.merge(bucket: @bucket_name)
|
216
|
-
resp = Aws::Plugins::UserAgent.
|
216
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
217
217
|
@client.delete_bucket_website(options)
|
218
218
|
end
|
219
219
|
resp.data
|
@@ -290,7 +290,7 @@ module Aws::S3
|
|
290
290
|
# @return [EmptyStructure]
|
291
291
|
def put(options = {})
|
292
292
|
options = options.merge(bucket: @bucket_name)
|
293
|
-
resp = Aws::Plugins::UserAgent.
|
293
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
294
294
|
@client.put_bucket_website(options)
|
295
295
|
end
|
296
296
|
resp.data
|