aws-sdk-s3 1.168.0 → 1.170.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/client.rb +1 -1
- data/lib/aws-sdk-s3/endpoint_parameters.rb +13 -18
- data/lib/aws-sdk-s3/endpoints.rb +405 -1405
- data/lib/aws-sdk-s3/plugins/endpoints.rb +1 -204
- data/lib/aws-sdk-s3/types.rb +1 -1
- data/lib/aws-sdk-s3.rb +1 -1
- metadata +4 -4
@@ -36,7 +36,7 @@ Parameter to indicate whether S3Express session auth should be disabled
|
|
36
36
|
class Handler < Seahorse::Client::Handler
|
37
37
|
def call(context)
|
38
38
|
unless context[:discovered_endpoint]
|
39
|
-
params = parameters_for_operation(context)
|
39
|
+
params = Aws::S3::Endpoints.parameters_for_operation(context)
|
40
40
|
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
41
41
|
|
42
42
|
context.http_request.endpoint = endpoint.url
|
@@ -76,209 +76,6 @@ Parameter to indicate whether S3Express session auth should be disabled
|
|
76
76
|
context.http_request.headers[key] = value
|
77
77
|
end
|
78
78
|
end
|
79
|
-
|
80
|
-
def parameters_for_operation(context)
|
81
|
-
case context.operation_name
|
82
|
-
when :abort_multipart_upload
|
83
|
-
Aws::S3::Endpoints::AbortMultipartUpload.build(context)
|
84
|
-
when :complete_multipart_upload
|
85
|
-
Aws::S3::Endpoints::CompleteMultipartUpload.build(context)
|
86
|
-
when :copy_object
|
87
|
-
Aws::S3::Endpoints::CopyObject.build(context)
|
88
|
-
when :create_bucket
|
89
|
-
Aws::S3::Endpoints::CreateBucket.build(context)
|
90
|
-
when :create_multipart_upload
|
91
|
-
Aws::S3::Endpoints::CreateMultipartUpload.build(context)
|
92
|
-
when :create_session
|
93
|
-
Aws::S3::Endpoints::CreateSession.build(context)
|
94
|
-
when :delete_bucket
|
95
|
-
Aws::S3::Endpoints::DeleteBucket.build(context)
|
96
|
-
when :delete_bucket_analytics_configuration
|
97
|
-
Aws::S3::Endpoints::DeleteBucketAnalyticsConfiguration.build(context)
|
98
|
-
when :delete_bucket_cors
|
99
|
-
Aws::S3::Endpoints::DeleteBucketCors.build(context)
|
100
|
-
when :delete_bucket_encryption
|
101
|
-
Aws::S3::Endpoints::DeleteBucketEncryption.build(context)
|
102
|
-
when :delete_bucket_intelligent_tiering_configuration
|
103
|
-
Aws::S3::Endpoints::DeleteBucketIntelligentTieringConfiguration.build(context)
|
104
|
-
when :delete_bucket_inventory_configuration
|
105
|
-
Aws::S3::Endpoints::DeleteBucketInventoryConfiguration.build(context)
|
106
|
-
when :delete_bucket_lifecycle
|
107
|
-
Aws::S3::Endpoints::DeleteBucketLifecycle.build(context)
|
108
|
-
when :delete_bucket_metrics_configuration
|
109
|
-
Aws::S3::Endpoints::DeleteBucketMetricsConfiguration.build(context)
|
110
|
-
when :delete_bucket_ownership_controls
|
111
|
-
Aws::S3::Endpoints::DeleteBucketOwnershipControls.build(context)
|
112
|
-
when :delete_bucket_policy
|
113
|
-
Aws::S3::Endpoints::DeleteBucketPolicy.build(context)
|
114
|
-
when :delete_bucket_replication
|
115
|
-
Aws::S3::Endpoints::DeleteBucketReplication.build(context)
|
116
|
-
when :delete_bucket_tagging
|
117
|
-
Aws::S3::Endpoints::DeleteBucketTagging.build(context)
|
118
|
-
when :delete_bucket_website
|
119
|
-
Aws::S3::Endpoints::DeleteBucketWebsite.build(context)
|
120
|
-
when :delete_object
|
121
|
-
Aws::S3::Endpoints::DeleteObject.build(context)
|
122
|
-
when :delete_object_tagging
|
123
|
-
Aws::S3::Endpoints::DeleteObjectTagging.build(context)
|
124
|
-
when :delete_objects
|
125
|
-
Aws::S3::Endpoints::DeleteObjects.build(context)
|
126
|
-
when :delete_public_access_block
|
127
|
-
Aws::S3::Endpoints::DeletePublicAccessBlock.build(context)
|
128
|
-
when :get_bucket_accelerate_configuration
|
129
|
-
Aws::S3::Endpoints::GetBucketAccelerateConfiguration.build(context)
|
130
|
-
when :get_bucket_acl
|
131
|
-
Aws::S3::Endpoints::GetBucketAcl.build(context)
|
132
|
-
when :get_bucket_analytics_configuration
|
133
|
-
Aws::S3::Endpoints::GetBucketAnalyticsConfiguration.build(context)
|
134
|
-
when :get_bucket_cors
|
135
|
-
Aws::S3::Endpoints::GetBucketCors.build(context)
|
136
|
-
when :get_bucket_encryption
|
137
|
-
Aws::S3::Endpoints::GetBucketEncryption.build(context)
|
138
|
-
when :get_bucket_intelligent_tiering_configuration
|
139
|
-
Aws::S3::Endpoints::GetBucketIntelligentTieringConfiguration.build(context)
|
140
|
-
when :get_bucket_inventory_configuration
|
141
|
-
Aws::S3::Endpoints::GetBucketInventoryConfiguration.build(context)
|
142
|
-
when :get_bucket_lifecycle
|
143
|
-
Aws::S3::Endpoints::GetBucketLifecycle.build(context)
|
144
|
-
when :get_bucket_lifecycle_configuration
|
145
|
-
Aws::S3::Endpoints::GetBucketLifecycleConfiguration.build(context)
|
146
|
-
when :get_bucket_location
|
147
|
-
Aws::S3::Endpoints::GetBucketLocation.build(context)
|
148
|
-
when :get_bucket_logging
|
149
|
-
Aws::S3::Endpoints::GetBucketLogging.build(context)
|
150
|
-
when :get_bucket_metrics_configuration
|
151
|
-
Aws::S3::Endpoints::GetBucketMetricsConfiguration.build(context)
|
152
|
-
when :get_bucket_notification
|
153
|
-
Aws::S3::Endpoints::GetBucketNotification.build(context)
|
154
|
-
when :get_bucket_notification_configuration
|
155
|
-
Aws::S3::Endpoints::GetBucketNotificationConfiguration.build(context)
|
156
|
-
when :get_bucket_ownership_controls
|
157
|
-
Aws::S3::Endpoints::GetBucketOwnershipControls.build(context)
|
158
|
-
when :get_bucket_policy
|
159
|
-
Aws::S3::Endpoints::GetBucketPolicy.build(context)
|
160
|
-
when :get_bucket_policy_status
|
161
|
-
Aws::S3::Endpoints::GetBucketPolicyStatus.build(context)
|
162
|
-
when :get_bucket_replication
|
163
|
-
Aws::S3::Endpoints::GetBucketReplication.build(context)
|
164
|
-
when :get_bucket_request_payment
|
165
|
-
Aws::S3::Endpoints::GetBucketRequestPayment.build(context)
|
166
|
-
when :get_bucket_tagging
|
167
|
-
Aws::S3::Endpoints::GetBucketTagging.build(context)
|
168
|
-
when :get_bucket_versioning
|
169
|
-
Aws::S3::Endpoints::GetBucketVersioning.build(context)
|
170
|
-
when :get_bucket_website
|
171
|
-
Aws::S3::Endpoints::GetBucketWebsite.build(context)
|
172
|
-
when :get_object
|
173
|
-
Aws::S3::Endpoints::GetObject.build(context)
|
174
|
-
when :get_object_acl
|
175
|
-
Aws::S3::Endpoints::GetObjectAcl.build(context)
|
176
|
-
when :get_object_attributes
|
177
|
-
Aws::S3::Endpoints::GetObjectAttributes.build(context)
|
178
|
-
when :get_object_legal_hold
|
179
|
-
Aws::S3::Endpoints::GetObjectLegalHold.build(context)
|
180
|
-
when :get_object_lock_configuration
|
181
|
-
Aws::S3::Endpoints::GetObjectLockConfiguration.build(context)
|
182
|
-
when :get_object_retention
|
183
|
-
Aws::S3::Endpoints::GetObjectRetention.build(context)
|
184
|
-
when :get_object_tagging
|
185
|
-
Aws::S3::Endpoints::GetObjectTagging.build(context)
|
186
|
-
when :get_object_torrent
|
187
|
-
Aws::S3::Endpoints::GetObjectTorrent.build(context)
|
188
|
-
when :get_public_access_block
|
189
|
-
Aws::S3::Endpoints::GetPublicAccessBlock.build(context)
|
190
|
-
when :head_bucket
|
191
|
-
Aws::S3::Endpoints::HeadBucket.build(context)
|
192
|
-
when :head_object
|
193
|
-
Aws::S3::Endpoints::HeadObject.build(context)
|
194
|
-
when :list_bucket_analytics_configurations
|
195
|
-
Aws::S3::Endpoints::ListBucketAnalyticsConfigurations.build(context)
|
196
|
-
when :list_bucket_intelligent_tiering_configurations
|
197
|
-
Aws::S3::Endpoints::ListBucketIntelligentTieringConfigurations.build(context)
|
198
|
-
when :list_bucket_inventory_configurations
|
199
|
-
Aws::S3::Endpoints::ListBucketInventoryConfigurations.build(context)
|
200
|
-
when :list_bucket_metrics_configurations
|
201
|
-
Aws::S3::Endpoints::ListBucketMetricsConfigurations.build(context)
|
202
|
-
when :list_buckets
|
203
|
-
Aws::S3::Endpoints::ListBuckets.build(context)
|
204
|
-
when :list_directory_buckets
|
205
|
-
Aws::S3::Endpoints::ListDirectoryBuckets.build(context)
|
206
|
-
when :list_multipart_uploads
|
207
|
-
Aws::S3::Endpoints::ListMultipartUploads.build(context)
|
208
|
-
when :list_object_versions
|
209
|
-
Aws::S3::Endpoints::ListObjectVersions.build(context)
|
210
|
-
when :list_objects
|
211
|
-
Aws::S3::Endpoints::ListObjects.build(context)
|
212
|
-
when :list_objects_v2
|
213
|
-
Aws::S3::Endpoints::ListObjectsV2.build(context)
|
214
|
-
when :list_parts
|
215
|
-
Aws::S3::Endpoints::ListParts.build(context)
|
216
|
-
when :put_bucket_accelerate_configuration
|
217
|
-
Aws::S3::Endpoints::PutBucketAccelerateConfiguration.build(context)
|
218
|
-
when :put_bucket_acl
|
219
|
-
Aws::S3::Endpoints::PutBucketAcl.build(context)
|
220
|
-
when :put_bucket_analytics_configuration
|
221
|
-
Aws::S3::Endpoints::PutBucketAnalyticsConfiguration.build(context)
|
222
|
-
when :put_bucket_cors
|
223
|
-
Aws::S3::Endpoints::PutBucketCors.build(context)
|
224
|
-
when :put_bucket_encryption
|
225
|
-
Aws::S3::Endpoints::PutBucketEncryption.build(context)
|
226
|
-
when :put_bucket_intelligent_tiering_configuration
|
227
|
-
Aws::S3::Endpoints::PutBucketIntelligentTieringConfiguration.build(context)
|
228
|
-
when :put_bucket_inventory_configuration
|
229
|
-
Aws::S3::Endpoints::PutBucketInventoryConfiguration.build(context)
|
230
|
-
when :put_bucket_lifecycle
|
231
|
-
Aws::S3::Endpoints::PutBucketLifecycle.build(context)
|
232
|
-
when :put_bucket_lifecycle_configuration
|
233
|
-
Aws::S3::Endpoints::PutBucketLifecycleConfiguration.build(context)
|
234
|
-
when :put_bucket_logging
|
235
|
-
Aws::S3::Endpoints::PutBucketLogging.build(context)
|
236
|
-
when :put_bucket_metrics_configuration
|
237
|
-
Aws::S3::Endpoints::PutBucketMetricsConfiguration.build(context)
|
238
|
-
when :put_bucket_notification
|
239
|
-
Aws::S3::Endpoints::PutBucketNotification.build(context)
|
240
|
-
when :put_bucket_notification_configuration
|
241
|
-
Aws::S3::Endpoints::PutBucketNotificationConfiguration.build(context)
|
242
|
-
when :put_bucket_ownership_controls
|
243
|
-
Aws::S3::Endpoints::PutBucketOwnershipControls.build(context)
|
244
|
-
when :put_bucket_policy
|
245
|
-
Aws::S3::Endpoints::PutBucketPolicy.build(context)
|
246
|
-
when :put_bucket_replication
|
247
|
-
Aws::S3::Endpoints::PutBucketReplication.build(context)
|
248
|
-
when :put_bucket_request_payment
|
249
|
-
Aws::S3::Endpoints::PutBucketRequestPayment.build(context)
|
250
|
-
when :put_bucket_tagging
|
251
|
-
Aws::S3::Endpoints::PutBucketTagging.build(context)
|
252
|
-
when :put_bucket_versioning
|
253
|
-
Aws::S3::Endpoints::PutBucketVersioning.build(context)
|
254
|
-
when :put_bucket_website
|
255
|
-
Aws::S3::Endpoints::PutBucketWebsite.build(context)
|
256
|
-
when :put_object
|
257
|
-
Aws::S3::Endpoints::PutObject.build(context)
|
258
|
-
when :put_object_acl
|
259
|
-
Aws::S3::Endpoints::PutObjectAcl.build(context)
|
260
|
-
when :put_object_legal_hold
|
261
|
-
Aws::S3::Endpoints::PutObjectLegalHold.build(context)
|
262
|
-
when :put_object_lock_configuration
|
263
|
-
Aws::S3::Endpoints::PutObjectLockConfiguration.build(context)
|
264
|
-
when :put_object_retention
|
265
|
-
Aws::S3::Endpoints::PutObjectRetention.build(context)
|
266
|
-
when :put_object_tagging
|
267
|
-
Aws::S3::Endpoints::PutObjectTagging.build(context)
|
268
|
-
when :put_public_access_block
|
269
|
-
Aws::S3::Endpoints::PutPublicAccessBlock.build(context)
|
270
|
-
when :restore_object
|
271
|
-
Aws::S3::Endpoints::RestoreObject.build(context)
|
272
|
-
when :select_object_content
|
273
|
-
Aws::S3::Endpoints::SelectObjectContent.build(context)
|
274
|
-
when :upload_part
|
275
|
-
Aws::S3::Endpoints::UploadPart.build(context)
|
276
|
-
when :upload_part_copy
|
277
|
-
Aws::S3::Endpoints::UploadPartCopy.build(context)
|
278
|
-
when :write_get_object_response
|
279
|
-
Aws::S3::Endpoints::WriteGetObjectResponse.build(context)
|
280
|
-
end
|
281
|
-
end
|
282
79
|
end
|
283
80
|
|
284
81
|
def add_handlers(handlers, _config)
|
data/lib/aws-sdk-s3/types.rb
CHANGED
@@ -16828,7 +16828,7 @@ module Aws::S3
|
|
16828
16828
|
#
|
16829
16829
|
# @!attribute [rw] simple_prefix
|
16830
16830
|
# To use the simple format for S3 keys for log objects. To specify
|
16831
|
-
# SimplePrefix format, set SimplePrefix to
|
16831
|
+
# SimplePrefix format, set SimplePrefix to \{}.
|
16832
16832
|
# @return [Types::SimplePrefix]
|
16833
16833
|
#
|
16834
16834
|
# @!attribute [rw] partitioned_prefix
|
data/lib/aws-sdk-s3.rb
CHANGED
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.
|
4
|
+
version: 1.170.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: 2024-
|
11
|
+
date: 2024-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-kms
|
@@ -47,7 +47,7 @@ dependencies:
|
|
47
47
|
version: '3'
|
48
48
|
- - ">="
|
49
49
|
- !ruby/object:Gem::Version
|
50
|
-
version: 3.
|
50
|
+
version: 3.210.0
|
51
51
|
type: :runtime
|
52
52
|
prerelease: false
|
53
53
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -57,7 +57,7 @@ dependencies:
|
|
57
57
|
version: '3'
|
58
58
|
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: 3.
|
60
|
+
version: 3.210.0
|
61
61
|
description: Official AWS Ruby gem for Amazon Simple Storage Service (Amazon S3).
|
62
62
|
This gem is part of the AWS SDK for Ruby.
|
63
63
|
email:
|