aws-sdk-s3 1.151.0 → 1.152.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +10 -10
- 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 +61 -61
- data/lib/aws-sdk-s3/client_api.rb +2 -2
- 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 +4 -4
- data/lib/aws-sdk-s3/multipart_upload_part.rb +3 -3
- data/lib/aws-sdk-s3/object.rb +12 -12
- 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 +10 -10
- data/lib/aws-sdk-s3/object_version.rb +5 -5
- data/lib/aws-sdk-s3/plugins/access_grants.rb +7 -1
- data/lib/aws-sdk-s3/plugins/express_session_auth.rb +7 -1
- data/lib/aws-sdk-s3/resource.rb +2 -2
- data/lib/aws-sdk-s3.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f58eb23517500bb537d985b462dbe4e7260a24fd31cbbe1211c60e058b325e9
|
4
|
+
data.tar.gz: c4511cbafb037323c68e2cd009897783f2574ce36a7521beea2cd98b14226917
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2e085ebe17353842130b4a896d8ef99b1c847ddbd13c43c996d9469042c2f9c6c93b23cd205cf5312177de36f7d3a431c0ed902df9bf8fd3fd4ba9a06763d53
|
7
|
+
data.tar.gz: 53577dfee6c983413b911a1b45073f8e1e5b296bdd89f13395f9bfc1e1ddd2c8960271fef96301bf5384dc0cce2ee73e15d431b64c892c95dc0b72b9f4e0260c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.152.2 (2024-06-12)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Issue - Revert Handling of 200 errors for all S3 operations.
|
8
|
+
|
9
|
+
1.152.1 (2024-06-10)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Issue - Handle 200 errors for all S3 operations that do not have streaming responses.
|
13
|
+
|
14
|
+
1.152.0 (2024-06-05)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Added new params copySource and key to copyObject API for supporting S3 Access Grants plugin. These changes will not change any of the existing S3 API functionality.
|
18
|
+
|
4
19
|
1.151.0 (2024-05-14)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.152.2
|
data/lib/aws-sdk-s3/bucket.rb
CHANGED
@@ -95,7 +95,7 @@ module Aws::S3
|
|
95
95
|
options, params = separate_params_and_options(options)
|
96
96
|
waiter = Waiters::BucketExists.new(options)
|
97
97
|
yield_waiter_and_warn(waiter, &block) if block_given?
|
98
|
-
Aws::Plugins::UserAgent.
|
98
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
99
99
|
waiter.wait(params.merge(bucket: @name))
|
100
100
|
end
|
101
101
|
Bucket.new({
|
@@ -114,7 +114,7 @@ module Aws::S3
|
|
114
114
|
options, params = separate_params_and_options(options)
|
115
115
|
waiter = Waiters::BucketNotExists.new(options)
|
116
116
|
yield_waiter_and_warn(waiter, &block) if block_given?
|
117
|
-
Aws::Plugins::UserAgent.
|
117
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
118
118
|
waiter.wait(params.merge(bucket: @name))
|
119
119
|
end
|
120
120
|
Bucket.new({
|
@@ -217,7 +217,7 @@ module Aws::S3
|
|
217
217
|
:retry
|
218
218
|
end
|
219
219
|
end
|
220
|
-
Aws::Plugins::UserAgent.
|
220
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
221
221
|
Aws::Waiters::Waiter.new(options).wait({})
|
222
222
|
end
|
223
223
|
end
|
@@ -334,7 +334,7 @@ module Aws::S3
|
|
334
334
|
# @return [Types::CreateBucketOutput]
|
335
335
|
def create(options = {})
|
336
336
|
options = options.merge(bucket: @name)
|
337
|
-
resp = Aws::Plugins::UserAgent.
|
337
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
338
338
|
@client.create_bucket(options)
|
339
339
|
end
|
340
340
|
resp.data
|
@@ -359,7 +359,7 @@ module Aws::S3
|
|
359
359
|
# @return [EmptyStructure]
|
360
360
|
def delete(options = {})
|
361
361
|
options = options.merge(bucket: @name)
|
362
|
-
resp = Aws::Plugins::UserAgent.
|
362
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
363
363
|
@client.delete_bucket(options)
|
364
364
|
end
|
365
365
|
resp.data
|
@@ -473,7 +473,7 @@ module Aws::S3
|
|
473
473
|
# @return [Types::DeleteObjectsOutput]
|
474
474
|
def delete_objects(options = {})
|
475
475
|
options = options.merge(bucket: @name)
|
476
|
-
resp = Aws::Plugins::UserAgent.
|
476
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
477
477
|
@client.delete_objects(options)
|
478
478
|
end
|
479
479
|
resp.data
|
@@ -939,7 +939,7 @@ module Aws::S3
|
|
939
939
|
# @return [Object]
|
940
940
|
def put_object(options = {})
|
941
941
|
options = options.merge(bucket: @name)
|
942
|
-
Aws::Plugins::UserAgent.
|
942
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
943
943
|
@client.put_object(options)
|
944
944
|
end
|
945
945
|
Object.new(
|
@@ -1097,7 +1097,7 @@ module Aws::S3
|
|
1097
1097
|
def multipart_uploads(options = {})
|
1098
1098
|
batches = Enumerator.new do |y|
|
1099
1099
|
options = options.merge(bucket: @name)
|
1100
|
-
resp = Aws::Plugins::UserAgent.
|
1100
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
1101
1101
|
@client.list_multipart_uploads(options)
|
1102
1102
|
end
|
1103
1103
|
resp.each_page do |page|
|
@@ -1200,7 +1200,7 @@ module Aws::S3
|
|
1200
1200
|
def object_versions(options = {})
|
1201
1201
|
batches = Enumerator.new do |y|
|
1202
1202
|
options = options.merge(bucket: @name)
|
1203
|
-
resp = Aws::Plugins::UserAgent.
|
1203
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
1204
1204
|
@client.list_object_versions(options)
|
1205
1205
|
end
|
1206
1206
|
resp.each_page do |page|
|
@@ -1303,7 +1303,7 @@ module Aws::S3
|
|
1303
1303
|
def objects(options = {})
|
1304
1304
|
batches = Enumerator.new do |y|
|
1305
1305
|
options = options.merge(bucket: @name)
|
1306
|
-
resp = Aws::Plugins::UserAgent.
|
1306
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
1307
1307
|
@client.list_objects_v2(options)
|
1308
1308
|
end
|
1309
1309
|
resp.each_page do |page|
|
@@ -60,7 +60,7 @@ module Aws::S3
|
|
60
60
|
#
|
61
61
|
# @return [self]
|
62
62
|
def load
|
63
|
-
resp = Aws::Plugins::UserAgent.
|
63
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
64
64
|
@client.get_bucket_acl(bucket: @bucket_name)
|
65
65
|
end
|
66
66
|
@data = resp.data
|
@@ -177,7 +177,7 @@ module Aws::S3
|
|
177
177
|
:retry
|
178
178
|
end
|
179
179
|
end
|
180
|
-
Aws::Plugins::UserAgent.
|
180
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
181
181
|
Aws::Waiters::Waiter.new(options).wait({})
|
182
182
|
end
|
183
183
|
end
|
@@ -269,7 +269,7 @@ module Aws::S3
|
|
269
269
|
# @return [EmptyStructure]
|
270
270
|
def put(options = {})
|
271
271
|
options = options.merge(bucket: @bucket_name)
|
272
|
-
resp = Aws::Plugins::UserAgent.
|
272
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
273
273
|
@client.put_bucket_acl(options)
|
274
274
|
end
|
275
275
|
resp.data
|
@@ -55,7 +55,7 @@ module Aws::S3
|
|
55
55
|
#
|
56
56
|
# @return [self]
|
57
57
|
def load
|
58
|
-
resp = Aws::Plugins::UserAgent.
|
58
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
59
59
|
@client.get_bucket_cors(bucket: @bucket_name)
|
60
60
|
end
|
61
61
|
@data = resp.data
|
@@ -172,7 +172,7 @@ module Aws::S3
|
|
172
172
|
:retry
|
173
173
|
end
|
174
174
|
end
|
175
|
-
Aws::Plugins::UserAgent.
|
175
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
176
176
|
Aws::Waiters::Waiter.new(options).wait({})
|
177
177
|
end
|
178
178
|
end
|
@@ -192,7 +192,7 @@ module Aws::S3
|
|
192
192
|
# @return [EmptyStructure]
|
193
193
|
def delete(options = {})
|
194
194
|
options = options.merge(bucket: @bucket_name)
|
195
|
-
resp = Aws::Plugins::UserAgent.
|
195
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
196
196
|
@client.delete_bucket_cors(options)
|
197
197
|
end
|
198
198
|
resp.data
|
@@ -260,7 +260,7 @@ module Aws::S3
|
|
260
260
|
# @return [EmptyStructure]
|
261
261
|
def put(options = {})
|
262
262
|
options = options.merge(bucket: @bucket_name)
|
263
|
-
resp = Aws::Plugins::UserAgent.
|
263
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
264
264
|
@client.put_bucket_cors(options)
|
265
265
|
end
|
266
266
|
resp.data
|
@@ -54,7 +54,7 @@ module Aws::S3
|
|
54
54
|
#
|
55
55
|
# @return [self]
|
56
56
|
def load
|
57
|
-
resp = Aws::Plugins::UserAgent.
|
57
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
58
58
|
@client.get_bucket_lifecycle(bucket: @bucket_name)
|
59
59
|
end
|
60
60
|
@data = resp.data
|
@@ -171,7 +171,7 @@ module Aws::S3
|
|
171
171
|
:retry
|
172
172
|
end
|
173
173
|
end
|
174
|
-
Aws::Plugins::UserAgent.
|
174
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
175
175
|
Aws::Waiters::Waiter.new(options).wait({})
|
176
176
|
end
|
177
177
|
end
|
@@ -191,7 +191,7 @@ module Aws::S3
|
|
191
191
|
# @return [EmptyStructure]
|
192
192
|
def delete(options = {})
|
193
193
|
options = options.merge(bucket: @bucket_name)
|
194
|
-
resp = Aws::Plugins::UserAgent.
|
194
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
195
195
|
@client.delete_bucket_lifecycle(options)
|
196
196
|
end
|
197
197
|
resp.data
|
@@ -263,7 +263,7 @@ module Aws::S3
|
|
263
263
|
# @return [EmptyStructure]
|
264
264
|
def put(options = {})
|
265
265
|
options = options.merge(bucket: @bucket_name)
|
266
|
-
resp = Aws::Plugins::UserAgent.
|
266
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
267
267
|
@client.put_bucket_lifecycle(options)
|
268
268
|
end
|
269
269
|
resp.data
|
@@ -54,7 +54,7 @@ module Aws::S3
|
|
54
54
|
#
|
55
55
|
# @return [self]
|
56
56
|
def load
|
57
|
-
resp = Aws::Plugins::UserAgent.
|
57
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
58
58
|
@client.get_bucket_lifecycle_configuration(bucket: @bucket_name)
|
59
59
|
end
|
60
60
|
@data = resp.data
|
@@ -171,7 +171,7 @@ module Aws::S3
|
|
171
171
|
:retry
|
172
172
|
end
|
173
173
|
end
|
174
|
-
Aws::Plugins::UserAgent.
|
174
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
175
175
|
Aws::Waiters::Waiter.new(options).wait({})
|
176
176
|
end
|
177
177
|
end
|
@@ -191,7 +191,7 @@ module Aws::S3
|
|
191
191
|
# @return [EmptyStructure]
|
192
192
|
def delete(options = {})
|
193
193
|
options = options.merge(bucket: @bucket_name)
|
194
|
-
resp = Aws::Plugins::UserAgent.
|
194
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
195
195
|
@client.delete_bucket_lifecycle(options)
|
196
196
|
end
|
197
197
|
resp.data
|
@@ -283,7 +283,7 @@ module Aws::S3
|
|
283
283
|
# @return [EmptyStructure]
|
284
284
|
def put(options = {})
|
285
285
|
options = options.merge(bucket: @bucket_name)
|
286
|
-
resp = Aws::Plugins::UserAgent.
|
286
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
287
287
|
@client.put_bucket_lifecycle_configuration(options)
|
288
288
|
end
|
289
289
|
resp.data
|
@@ -60,7 +60,7 @@ module Aws::S3
|
|
60
60
|
#
|
61
61
|
# @return [self]
|
62
62
|
def load
|
63
|
-
resp = Aws::Plugins::UserAgent.
|
63
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
64
64
|
@client.get_bucket_logging(bucket: @bucket_name)
|
65
65
|
end
|
66
66
|
@data = resp.data
|
@@ -177,7 +177,7 @@ module Aws::S3
|
|
177
177
|
:retry
|
178
178
|
end
|
179
179
|
end
|
180
|
-
Aws::Plugins::UserAgent.
|
180
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
181
181
|
Aws::Waiters::Waiter.new(options).wait({})
|
182
182
|
end
|
183
183
|
end
|
@@ -247,7 +247,7 @@ module Aws::S3
|
|
247
247
|
# @return [EmptyStructure]
|
248
248
|
def put(options = {})
|
249
249
|
options = options.merge(bucket: @bucket_name)
|
250
|
-
resp = Aws::Plugins::UserAgent.
|
250
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
251
251
|
@client.put_bucket_logging(options)
|
252
252
|
end
|
253
253
|
resp.data
|
@@ -75,7 +75,7 @@ module Aws::S3
|
|
75
75
|
#
|
76
76
|
# @return [self]
|
77
77
|
def load
|
78
|
-
resp = Aws::Plugins::UserAgent.
|
78
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
79
79
|
@client.get_bucket_notification_configuration(bucket: @bucket_name)
|
80
80
|
end
|
81
81
|
@data = resp.data
|
@@ -192,7 +192,7 @@ module Aws::S3
|
|
192
192
|
:retry
|
193
193
|
end
|
194
194
|
end
|
195
|
-
Aws::Plugins::UserAgent.
|
195
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
196
196
|
Aws::Waiters::Waiter.new(options).wait({})
|
197
197
|
end
|
198
198
|
end
|
@@ -275,7 +275,7 @@ module Aws::S3
|
|
275
275
|
# @return [EmptyStructure]
|
276
276
|
def put(options = {})
|
277
277
|
options = options.merge(bucket: @bucket_name)
|
278
|
-
resp = Aws::Plugins::UserAgent.
|
278
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
279
279
|
@client.put_bucket_notification_configuration(options)
|
280
280
|
end
|
281
281
|
resp.data
|
@@ -54,7 +54,7 @@ module Aws::S3
|
|
54
54
|
#
|
55
55
|
# @return [self]
|
56
56
|
def load
|
57
|
-
resp = Aws::Plugins::UserAgent.
|
57
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
58
58
|
@client.get_bucket_policy(bucket: @bucket_name)
|
59
59
|
end
|
60
60
|
@data = resp.data
|
@@ -171,7 +171,7 @@ module Aws::S3
|
|
171
171
|
:retry
|
172
172
|
end
|
173
173
|
end
|
174
|
-
Aws::Plugins::UserAgent.
|
174
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
175
175
|
Aws::Waiters::Waiter.new(options).wait({})
|
176
176
|
end
|
177
177
|
end
|
@@ -197,7 +197,7 @@ module Aws::S3
|
|
197
197
|
# @return [EmptyStructure]
|
198
198
|
def delete(options = {})
|
199
199
|
options = options.merge(bucket: @bucket_name)
|
200
|
-
resp = Aws::Plugins::UserAgent.
|
200
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
201
201
|
@client.delete_bucket_policy(options)
|
202
202
|
end
|
203
203
|
resp.data
|
@@ -284,7 +284,7 @@ module Aws::S3
|
|
284
284
|
# @return [EmptyStructure]
|
285
285
|
def put(options = {})
|
286
286
|
options = options.merge(bucket: @bucket_name)
|
287
|
-
resp = Aws::Plugins::UserAgent.
|
287
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
288
288
|
@client.put_bucket_policy(options)
|
289
289
|
end
|
290
290
|
resp.data
|
@@ -54,7 +54,7 @@ module Aws::S3
|
|
54
54
|
#
|
55
55
|
# @return [self]
|
56
56
|
def load
|
57
|
-
resp = Aws::Plugins::UserAgent.
|
57
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
58
58
|
@client.get_bucket_request_payment(bucket: @bucket_name)
|
59
59
|
end
|
60
60
|
@data = resp.data
|
@@ -171,7 +171,7 @@ module Aws::S3
|
|
171
171
|
:retry
|
172
172
|
end
|
173
173
|
end
|
174
|
-
Aws::Plugins::UserAgent.
|
174
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
175
175
|
Aws::Waiters::Waiter.new(options).wait({})
|
176
176
|
end
|
177
177
|
end
|
@@ -225,7 +225,7 @@ module Aws::S3
|
|
225
225
|
# @return [EmptyStructure]
|
226
226
|
def put(options = {})
|
227
227
|
options = options.merge(bucket: @bucket_name)
|
228
|
-
resp = Aws::Plugins::UserAgent.
|
228
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
229
229
|
@client.put_bucket_request_payment(options)
|
230
230
|
end
|
231
231
|
resp.data
|
@@ -54,7 +54,7 @@ module Aws::S3
|
|
54
54
|
#
|
55
55
|
# @return [self]
|
56
56
|
def load
|
57
|
-
resp = Aws::Plugins::UserAgent.
|
57
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
58
58
|
@client.get_bucket_tagging(bucket: @bucket_name)
|
59
59
|
end
|
60
60
|
@data = resp.data
|
@@ -171,7 +171,7 @@ module Aws::S3
|
|
171
171
|
:retry
|
172
172
|
end
|
173
173
|
end
|
174
|
-
Aws::Plugins::UserAgent.
|
174
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
175
175
|
Aws::Waiters::Waiter.new(options).wait({})
|
176
176
|
end
|
177
177
|
end
|
@@ -191,7 +191,7 @@ module Aws::S3
|
|
191
191
|
# @return [EmptyStructure]
|
192
192
|
def delete(options = {})
|
193
193
|
options = options.merge(bucket: @bucket_name)
|
194
|
-
resp = Aws::Plugins::UserAgent.
|
194
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
195
195
|
@client.delete_bucket_tagging(options)
|
196
196
|
end
|
197
197
|
resp.data
|
@@ -249,7 +249,7 @@ module Aws::S3
|
|
249
249
|
# @return [EmptyStructure]
|
250
250
|
def put(options = {})
|
251
251
|
options = options.merge(bucket: @bucket_name)
|
252
|
-
resp = Aws::Plugins::UserAgent.
|
252
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
253
253
|
@client.put_bucket_tagging(options)
|
254
254
|
end
|
255
255
|
resp.data
|
@@ -63,7 +63,7 @@ module Aws::S3
|
|
63
63
|
#
|
64
64
|
# @return [self]
|
65
65
|
def load
|
66
|
-
resp = Aws::Plugins::UserAgent.
|
66
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
67
67
|
@client.get_bucket_versioning(bucket: @bucket_name)
|
68
68
|
end
|
69
69
|
@data = resp.data
|
@@ -180,7 +180,7 @@ module Aws::S3
|
|
180
180
|
:retry
|
181
181
|
end
|
182
182
|
end
|
183
|
-
Aws::Plugins::UserAgent.
|
183
|
+
Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
184
184
|
Aws::Waiters::Waiter.new(options).wait({})
|
185
185
|
end
|
186
186
|
end
|
@@ -239,7 +239,7 @@ module Aws::S3
|
|
239
239
|
status: "Enabled"
|
240
240
|
}
|
241
241
|
)
|
242
|
-
resp = Aws::Plugins::UserAgent.
|
242
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
243
243
|
@client.put_bucket_versioning(options)
|
244
244
|
end
|
245
245
|
resp.data
|
@@ -298,7 +298,7 @@ module Aws::S3
|
|
298
298
|
# @return [EmptyStructure]
|
299
299
|
def put(options = {})
|
300
300
|
options = options.merge(bucket: @bucket_name)
|
301
|
-
resp = Aws::Plugins::UserAgent.
|
301
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
302
302
|
@client.put_bucket_versioning(options)
|
303
303
|
end
|
304
304
|
resp.data
|
@@ -356,7 +356,7 @@ module Aws::S3
|
|
356
356
|
status: "Suspended"
|
357
357
|
}
|
358
358
|
)
|
359
|
-
resp = Aws::Plugins::UserAgent.
|
359
|
+
resp = Aws::Plugins::UserAgent.metric('RESOURCE_MODEL') do
|
360
360
|
@client.put_bucket_versioning(options)
|
361
361
|
end
|
362
362
|
resp.data
|
@@ -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
|