aws-sdk-s3 1.150.0 → 1.169.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 +110 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/access_grants_credentials_provider.rb +12 -3
- data/lib/aws-sdk-s3/bucket.rb +252 -88
- 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 +42 -5
- 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 +8 -8
- 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 +1685 -668
- data/lib/aws-sdk-s3/client_api.rb +49 -4
- data/lib/aws-sdk-s3/customizations/bucket.rb +1 -1
- data/lib/aws-sdk-s3/customizations/object.rb +11 -5
- data/lib/aws-sdk-s3/customizations/object_summary.rb +5 -0
- data/lib/aws-sdk-s3/customizations/object_version.rb +13 -0
- data/lib/aws-sdk-s3/customizations.rb +24 -38
- 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 +21 -18
- data/lib/aws-sdk-s3/endpoint_provider.rb +1 -0
- data/lib/aws-sdk-s3/endpoints.rb +416 -1614
- data/lib/aws-sdk-s3/errors.rb +3 -0
- 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 +31 -8
- data/lib/aws-sdk-s3/multipart_upload_part.rb +11 -11
- data/lib/aws-sdk-s3/object.rb +441 -158
- 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 +403 -134
- data/lib/aws-sdk-s3/object_version.rb +53 -13
- data/lib/aws-sdk-s3/plugins/access_grants.rb +75 -5
- data/lib/aws-sdk-s3/plugins/endpoints.rb +24 -212
- 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 +37 -11
- data/lib/aws-sdk-s3/types.rb +1106 -401
- data/lib/aws-sdk-s3.rb +35 -31
- data/sig/bucket.rbs +4 -0
- data/sig/bucket_lifecycle_configuration.rbs +7 -3
- data/sig/client.rbs +49 -5
- 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 +7 -1
- data/sig/types.rbs +36 -2
- data/sig/waiters.rbs +12 -0
- metadata +7 -6
data/lib/aws-sdk-s3.rb
CHANGED
@@ -12,36 +12,7 @@ require 'aws-sdk-kms'
|
|
12
12
|
require 'aws-sigv4'
|
13
13
|
require 'aws-sdk-core'
|
14
14
|
|
15
|
-
|
16
|
-
require_relative 'aws-sdk-s3/client_api'
|
17
|
-
require_relative 'aws-sdk-s3/plugins/endpoints.rb'
|
18
|
-
require_relative 'aws-sdk-s3/client'
|
19
|
-
require_relative 'aws-sdk-s3/errors'
|
20
|
-
require_relative 'aws-sdk-s3/waiters'
|
21
|
-
require_relative 'aws-sdk-s3/resource'
|
22
|
-
require_relative 'aws-sdk-s3/endpoint_parameters'
|
23
|
-
require_relative 'aws-sdk-s3/endpoint_provider'
|
24
|
-
require_relative 'aws-sdk-s3/endpoints'
|
25
|
-
require_relative 'aws-sdk-s3/bucket'
|
26
|
-
require_relative 'aws-sdk-s3/bucket_acl'
|
27
|
-
require_relative 'aws-sdk-s3/bucket_cors'
|
28
|
-
require_relative 'aws-sdk-s3/bucket_lifecycle'
|
29
|
-
require_relative 'aws-sdk-s3/bucket_lifecycle_configuration'
|
30
|
-
require_relative 'aws-sdk-s3/bucket_logging'
|
31
|
-
require_relative 'aws-sdk-s3/bucket_notification'
|
32
|
-
require_relative 'aws-sdk-s3/bucket_policy'
|
33
|
-
require_relative 'aws-sdk-s3/bucket_request_payment'
|
34
|
-
require_relative 'aws-sdk-s3/bucket_tagging'
|
35
|
-
require_relative 'aws-sdk-s3/bucket_versioning'
|
36
|
-
require_relative 'aws-sdk-s3/bucket_website'
|
37
|
-
require_relative 'aws-sdk-s3/multipart_upload'
|
38
|
-
require_relative 'aws-sdk-s3/multipart_upload_part'
|
39
|
-
require_relative 'aws-sdk-s3/object'
|
40
|
-
require_relative 'aws-sdk-s3/object_acl'
|
41
|
-
require_relative 'aws-sdk-s3/object_summary'
|
42
|
-
require_relative 'aws-sdk-s3/object_version'
|
43
|
-
require_relative 'aws-sdk-s3/customizations'
|
44
|
-
require_relative 'aws-sdk-s3/event_streams'
|
15
|
+
Aws::Plugins::GlobalConfiguration.add_identifier(:s3)
|
45
16
|
|
46
17
|
# This module provides support for Amazon Simple Storage Service. This module is available in the
|
47
18
|
# `aws-sdk-s3` gem.
|
@@ -72,7 +43,40 @@ require_relative 'aws-sdk-s3/event_streams'
|
|
72
43
|
#
|
73
44
|
# @!group service
|
74
45
|
module Aws::S3
|
46
|
+
autoload :Types, 'aws-sdk-s3/types'
|
47
|
+
autoload :ClientApi, 'aws-sdk-s3/client_api'
|
48
|
+
module Plugins
|
49
|
+
autoload :Endpoints, 'aws-sdk-s3/plugins/endpoints.rb'
|
50
|
+
end
|
51
|
+
autoload :Client, 'aws-sdk-s3/client'
|
52
|
+
autoload :Errors, 'aws-sdk-s3/errors'
|
53
|
+
autoload :Waiters, 'aws-sdk-s3/waiters'
|
54
|
+
autoload :Resource, 'aws-sdk-s3/resource'
|
55
|
+
autoload :EndpointParameters, 'aws-sdk-s3/endpoint_parameters'
|
56
|
+
autoload :EndpointProvider, 'aws-sdk-s3/endpoint_provider'
|
57
|
+
autoload :Endpoints, 'aws-sdk-s3/endpoints'
|
58
|
+
autoload :Bucket, 'aws-sdk-s3/bucket'
|
59
|
+
autoload :BucketAcl, 'aws-sdk-s3/bucket_acl'
|
60
|
+
autoload :BucketCors, 'aws-sdk-s3/bucket_cors'
|
61
|
+
autoload :BucketLifecycle, 'aws-sdk-s3/bucket_lifecycle'
|
62
|
+
autoload :BucketLifecycleConfiguration, 'aws-sdk-s3/bucket_lifecycle_configuration'
|
63
|
+
autoload :BucketLogging, 'aws-sdk-s3/bucket_logging'
|
64
|
+
autoload :BucketNotification, 'aws-sdk-s3/bucket_notification'
|
65
|
+
autoload :BucketPolicy, 'aws-sdk-s3/bucket_policy'
|
66
|
+
autoload :BucketRequestPayment, 'aws-sdk-s3/bucket_request_payment'
|
67
|
+
autoload :BucketTagging, 'aws-sdk-s3/bucket_tagging'
|
68
|
+
autoload :BucketVersioning, 'aws-sdk-s3/bucket_versioning'
|
69
|
+
autoload :BucketWebsite, 'aws-sdk-s3/bucket_website'
|
70
|
+
autoload :MultipartUpload, 'aws-sdk-s3/multipart_upload'
|
71
|
+
autoload :MultipartUploadPart, 'aws-sdk-s3/multipart_upload_part'
|
72
|
+
autoload :Object, 'aws-sdk-s3/object'
|
73
|
+
autoload :ObjectAcl, 'aws-sdk-s3/object_acl'
|
74
|
+
autoload :ObjectSummary, 'aws-sdk-s3/object_summary'
|
75
|
+
autoload :ObjectVersion, 'aws-sdk-s3/object_version'
|
76
|
+
autoload :EventStreams, 'aws-sdk-s3/event_streams'
|
75
77
|
|
76
|
-
GEM_VERSION = '1.
|
78
|
+
GEM_VERSION = '1.169.0'
|
77
79
|
|
78
80
|
end
|
81
|
+
|
82
|
+
require_relative 'aws-sdk-s3/customizations'
|
data/sig/bucket.rbs
CHANGED
@@ -20,6 +20,9 @@ module Aws
|
|
20
20
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Bucket.html#creation_date-instance_method
|
21
21
|
def creation_date: () -> ::Time
|
22
22
|
|
23
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Bucket.html#bucket_region-instance_method
|
24
|
+
def bucket_region: () -> ::String
|
25
|
+
|
23
26
|
def client: () -> Client
|
24
27
|
|
25
28
|
|
@@ -107,6 +110,7 @@ module Aws
|
|
107
110
|
?checksum_sha1: ::String,
|
108
111
|
?checksum_sha256: ::String,
|
109
112
|
?expires: ::Time,
|
113
|
+
?if_none_match: ::String,
|
110
114
|
?grant_full_control: ::String,
|
111
115
|
?grant_read: ::String,
|
112
116
|
?grant_read_acp: ::String,
|
@@ -20,6 +20,9 @@ module Aws
|
|
20
20
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/BucketLifecycleConfiguration.html#rules-instance_method
|
21
21
|
def rules: () -> ::Array[Types::LifecycleRule]
|
22
22
|
|
23
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/BucketLifecycleConfiguration.html#transition_default_minimum_object_size-instance_method
|
24
|
+
def transition_default_minimum_object_size: () -> ("varies_by_storage_class" | "all_storage_classes_128K")
|
25
|
+
|
23
26
|
def client: () -> Client
|
24
27
|
|
25
28
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/BucketLifecycleConfiguration.html#load-instance_method
|
@@ -97,9 +100,10 @@ module Aws
|
|
97
100
|
},
|
98
101
|
]
|
99
102
|
},
|
100
|
-
?expected_bucket_owner: ::String
|
101
|
-
|
102
|
-
|
103
|
+
?expected_bucket_owner: ::String,
|
104
|
+
?transition_default_minimum_object_size: ("varies_by_storage_class" | "all_storage_classes_128K")
|
105
|
+
) -> Types::PutBucketLifecycleConfigurationOutput
|
106
|
+
| (?Hash[Symbol, untyped]) -> Types::PutBucketLifecycleConfigurationOutput
|
103
107
|
|
104
108
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/BucketLifecycleConfiguration.html#bucket-instance_method
|
105
109
|
def bucket: () -> Bucket
|
data/sig/client.rbs
CHANGED
@@ -17,6 +17,7 @@ module Aws
|
|
17
17
|
?access_grants: bool,
|
18
18
|
?access_grants_credentials_provider: untyped,
|
19
19
|
?access_key_id: String,
|
20
|
+
?account_id: String,
|
20
21
|
?active_endpoint_cache: bool,
|
21
22
|
?adaptive_retry_wait_to_fill: bool,
|
22
23
|
?client_side_monitoring: bool,
|
@@ -62,7 +63,9 @@ module Aws
|
|
62
63
|
?sdk_ua_app_id: String,
|
63
64
|
?secret_access_key: String,
|
64
65
|
?session_token: String,
|
66
|
+
?sigv4a_signing_region_set: Array[String],
|
65
67
|
?stub_responses: untyped,
|
68
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
66
69
|
?token_provider: untyped,
|
67
70
|
?use_accelerate_endpoint: bool,
|
68
71
|
?use_dualstack_endpoint: bool,
|
@@ -141,6 +144,7 @@ module Aws
|
|
141
144
|
?checksum_sha256: ::String,
|
142
145
|
?request_payer: ("requester"),
|
143
146
|
?expected_bucket_owner: ::String,
|
147
|
+
?if_none_match: ::String,
|
144
148
|
?sse_customer_algorithm: ::String,
|
145
149
|
?sse_customer_key: ::String,
|
146
150
|
?sse_customer_key_md5: ::String
|
@@ -289,12 +293,20 @@ module Aws
|
|
289
293
|
|
290
294
|
interface _CreateSessionResponseSuccess
|
291
295
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateSessionOutput]
|
296
|
+
def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
|
297
|
+
def ssekms_key_id: () -> ::String
|
298
|
+
def ssekms_encryption_context: () -> ::String
|
299
|
+
def bucket_key_enabled: () -> bool
|
292
300
|
def credentials: () -> Types::SessionCredentials
|
293
301
|
end
|
294
302
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_session-instance_method
|
295
303
|
def create_session: (
|
296
304
|
?session_mode: ("ReadOnly" | "ReadWrite"),
|
297
|
-
bucket: ::String
|
305
|
+
bucket: ::String,
|
306
|
+
?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
|
307
|
+
?ssekms_key_id: ::String,
|
308
|
+
?ssekms_encryption_context: ::String,
|
309
|
+
?bucket_key_enabled: bool
|
298
310
|
) -> _CreateSessionResponseSuccess
|
299
311
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSessionResponseSuccess
|
300
312
|
|
@@ -552,6 +564,7 @@ module Aws
|
|
552
564
|
interface _GetBucketLifecycleConfigurationResponseSuccess
|
553
565
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketLifecycleConfigurationOutput]
|
554
566
|
def rules: () -> ::Array[Types::LifecycleRule]
|
567
|
+
def transition_default_minimum_object_size: () -> ("varies_by_storage_class" | "all_storage_classes_128K")
|
555
568
|
end
|
556
569
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_lifecycle_configuration-instance_method
|
557
570
|
def get_bucket_lifecycle_configuration: (
|
@@ -963,6 +976,12 @@ module Aws
|
|
963
976
|
?if_unmodified_since: ::Time,
|
964
977
|
key: ::String,
|
965
978
|
?range: ::String,
|
979
|
+
?response_cache_control: ::String,
|
980
|
+
?response_content_disposition: ::String,
|
981
|
+
?response_content_encoding: ::String,
|
982
|
+
?response_content_language: ::String,
|
983
|
+
?response_content_type: ::String,
|
984
|
+
?response_expires: ::Time,
|
966
985
|
?version_id: ::String,
|
967
986
|
?sse_customer_algorithm: ::String,
|
968
987
|
?sse_customer_key: ::String,
|
@@ -1037,9 +1056,16 @@ module Aws
|
|
1037
1056
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListBucketsOutput]
|
1038
1057
|
def buckets: () -> ::Array[Types::Bucket]
|
1039
1058
|
def owner: () -> Types::Owner
|
1059
|
+
def continuation_token: () -> ::String
|
1060
|
+
def prefix: () -> ::String
|
1040
1061
|
end
|
1041
1062
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#list_buckets-instance_method
|
1042
|
-
def list_buckets: (
|
1063
|
+
def list_buckets: (
|
1064
|
+
?max_buckets: ::Integer,
|
1065
|
+
?continuation_token: ::String,
|
1066
|
+
?prefix: ::String,
|
1067
|
+
?bucket_region: ::String
|
1068
|
+
) -> _ListBucketsResponseSuccess
|
1043
1069
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBucketsResponseSuccess
|
1044
1070
|
|
1045
1071
|
interface _ListDirectoryBucketsResponseSuccess
|
@@ -1442,6 +1468,10 @@ module Aws
|
|
1442
1468
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1443
1469
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
1444
1470
|
|
1471
|
+
interface _PutBucketLifecycleConfigurationResponseSuccess
|
1472
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutBucketLifecycleConfigurationOutput]
|
1473
|
+
def transition_default_minimum_object_size: () -> ("varies_by_storage_class" | "all_storage_classes_128K")
|
1474
|
+
end
|
1445
1475
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_lifecycle_configuration-instance_method
|
1446
1476
|
def put_bucket_lifecycle_configuration: (
|
1447
1477
|
bucket: ::String,
|
@@ -1501,9 +1531,10 @@ module Aws
|
|
1501
1531
|
},
|
1502
1532
|
]
|
1503
1533
|
},
|
1504
|
-
?expected_bucket_owner: ::String
|
1505
|
-
|
1506
|
-
|
1534
|
+
?expected_bucket_owner: ::String,
|
1535
|
+
?transition_default_minimum_object_size: ("varies_by_storage_class" | "all_storage_classes_128K")
|
1536
|
+
) -> _PutBucketLifecycleConfigurationResponseSuccess
|
1537
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutBucketLifecycleConfigurationResponseSuccess
|
1507
1538
|
|
1508
1539
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_logging-instance_method
|
1509
1540
|
def put_bucket_logging: (
|
@@ -1875,6 +1906,7 @@ module Aws
|
|
1875
1906
|
?checksum_sha1: ::String,
|
1876
1907
|
?checksum_sha256: ::String,
|
1877
1908
|
?expires: ::Time,
|
1909
|
+
?if_none_match: ::String,
|
1878
1910
|
?grant_full_control: ::String,
|
1879
1911
|
?grant_read: ::String,
|
1880
1912
|
?grant_read_acp: ::String,
|
@@ -2328,6 +2360,12 @@ module Aws
|
|
2328
2360
|
?if_unmodified_since: ::Time,
|
2329
2361
|
key: ::String,
|
2330
2362
|
?range: ::String,
|
2363
|
+
?response_cache_control: ::String,
|
2364
|
+
?response_content_disposition: ::String,
|
2365
|
+
?response_content_encoding: ::String,
|
2366
|
+
?response_content_language: ::String,
|
2367
|
+
?response_content_type: ::String,
|
2368
|
+
?response_expires: ::Time,
|
2331
2369
|
?version_id: ::String,
|
2332
2370
|
?sse_customer_algorithm: ::String,
|
2333
2371
|
?sse_customer_key: ::String,
|
@@ -2346,6 +2384,12 @@ module Aws
|
|
2346
2384
|
?if_unmodified_since: ::Time,
|
2347
2385
|
key: ::String,
|
2348
2386
|
?range: ::String,
|
2387
|
+
?response_cache_control: ::String,
|
2388
|
+
?response_content_disposition: ::String,
|
2389
|
+
?response_content_encoding: ::String,
|
2390
|
+
?response_content_language: ::String,
|
2391
|
+
?response_content_type: ::String,
|
2392
|
+
?response_expires: ::Time,
|
2349
2393
|
?version_id: ::String,
|
2350
2394
|
?sse_customer_algorithm: ::String,
|
2351
2395
|
?sse_customer_key: ::String,
|
data/sig/multipart_upload.rbs
CHANGED
data/sig/object.rbs
CHANGED
@@ -277,6 +277,7 @@ module Aws
|
|
277
277
|
?checksum_sha1: ::String,
|
278
278
|
?checksum_sha256: ::String,
|
279
279
|
?expires: ::Time,
|
280
|
+
?if_none_match: ::String,
|
280
281
|
?grant_full_control: ::String,
|
281
282
|
?grant_read: ::String,
|
282
283
|
?grant_read_acp: ::String,
|
@@ -397,6 +398,12 @@ module Aws
|
|
397
398
|
?if_none_match: ::String,
|
398
399
|
?if_unmodified_since: ::Time,
|
399
400
|
?range: ::String,
|
401
|
+
?response_cache_control: ::String,
|
402
|
+
?response_content_disposition: ::String,
|
403
|
+
?response_content_encoding: ::String,
|
404
|
+
?response_content_language: ::String,
|
405
|
+
?response_content_type: ::String,
|
406
|
+
?response_expires: ::Time,
|
400
407
|
?version_id: ::String,
|
401
408
|
?sse_customer_algorithm: ::String,
|
402
409
|
?sse_customer_key: ::String,
|
data/sig/object_summary.rbs
CHANGED
data/sig/object_version.rbs
CHANGED
@@ -102,6 +102,12 @@ module Aws
|
|
102
102
|
?if_none_match: ::String,
|
103
103
|
?if_unmodified_since: ::Time,
|
104
104
|
?range: ::String,
|
105
|
+
?response_cache_control: ::String,
|
106
|
+
?response_content_disposition: ::String,
|
107
|
+
?response_content_encoding: ::String,
|
108
|
+
?response_content_language: ::String,
|
109
|
+
?response_content_type: ::String,
|
110
|
+
?response_expires: ::Time,
|
105
111
|
?sse_customer_algorithm: ::String,
|
106
112
|
?sse_customer_key: ::String,
|
107
113
|
?sse_customer_key_md5: ::String,
|
data/sig/resource.rbs
CHANGED
@@ -17,6 +17,7 @@ module Aws
|
|
17
17
|
?access_grants: bool,
|
18
18
|
?access_grants_credentials_provider: untyped,
|
19
19
|
?access_key_id: String,
|
20
|
+
?account_id: String,
|
20
21
|
?active_endpoint_cache: bool,
|
21
22
|
?adaptive_retry_wait_to_fill: bool,
|
22
23
|
?client_side_monitoring: bool,
|
@@ -62,7 +63,9 @@ module Aws
|
|
62
63
|
?sdk_ua_app_id: String,
|
63
64
|
?secret_access_key: String,
|
64
65
|
?session_token: String,
|
66
|
+
?sigv4a_signing_region_set: Array[String],
|
65
67
|
?stub_responses: untyped,
|
68
|
+
?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
|
66
69
|
?token_provider: untyped,
|
67
70
|
?use_accelerate_endpoint: bool,
|
68
71
|
?use_dualstack_endpoint: bool,
|
@@ -119,7 +122,10 @@ module Aws
|
|
119
122
|
def bucket: (String name) -> Bucket
|
120
123
|
|
121
124
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Resource.html#buckets-instance_method
|
122
|
-
def buckets: (
|
125
|
+
def buckets: (
|
126
|
+
?prefix: ::String,
|
127
|
+
?bucket_region: ::String
|
128
|
+
) -> Bucket::Collection
|
123
129
|
| (?Hash[Symbol, untyped]) -> Bucket::Collection
|
124
130
|
end
|
125
131
|
end
|
data/sig/types.rbs
CHANGED
@@ -79,6 +79,7 @@ module Aws::S3
|
|
79
79
|
class Bucket
|
80
80
|
attr_accessor name: ::String
|
81
81
|
attr_accessor creation_date: ::Time
|
82
|
+
attr_accessor bucket_region: ::String
|
82
83
|
SENSITIVE: []
|
83
84
|
end
|
84
85
|
|
@@ -190,6 +191,7 @@ module Aws::S3
|
|
190
191
|
attr_accessor checksum_sha256: ::String
|
191
192
|
attr_accessor request_payer: ("requester")
|
192
193
|
attr_accessor expected_bucket_owner: ::String
|
194
|
+
attr_accessor if_none_match: ::String
|
193
195
|
attr_accessor sse_customer_algorithm: ::String
|
194
196
|
attr_accessor sse_customer_key: ::String
|
195
197
|
attr_accessor sse_customer_key_md5: ::String
|
@@ -380,14 +382,22 @@ module Aws::S3
|
|
380
382
|
end
|
381
383
|
|
382
384
|
class CreateSessionOutput
|
385
|
+
attr_accessor server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse")
|
386
|
+
attr_accessor ssekms_key_id: ::String
|
387
|
+
attr_accessor ssekms_encryption_context: ::String
|
388
|
+
attr_accessor bucket_key_enabled: bool
|
383
389
|
attr_accessor credentials: Types::SessionCredentials
|
384
|
-
SENSITIVE: []
|
390
|
+
SENSITIVE: [:ssekms_key_id, :ssekms_encryption_context]
|
385
391
|
end
|
386
392
|
|
387
393
|
class CreateSessionRequest
|
388
394
|
attr_accessor session_mode: ("ReadOnly" | "ReadWrite")
|
389
395
|
attr_accessor bucket: ::String
|
390
|
-
|
396
|
+
attr_accessor server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse")
|
397
|
+
attr_accessor ssekms_key_id: ::String
|
398
|
+
attr_accessor ssekms_encryption_context: ::String
|
399
|
+
attr_accessor bucket_key_enabled: bool
|
400
|
+
SENSITIVE: [:ssekms_key_id, :ssekms_encryption_context]
|
391
401
|
end
|
392
402
|
|
393
403
|
class DefaultRetention
|
@@ -700,6 +710,7 @@ module Aws::S3
|
|
700
710
|
|
701
711
|
class GetBucketLifecycleConfigurationOutput
|
702
712
|
attr_accessor rules: ::Array[Types::LifecycleRule]
|
713
|
+
attr_accessor transition_default_minimum_object_size: ("varies_by_storage_class" | "all_storage_classes_128K")
|
703
714
|
SENSITIVE: []
|
704
715
|
end
|
705
716
|
|
@@ -1132,6 +1143,12 @@ module Aws::S3
|
|
1132
1143
|
attr_accessor if_unmodified_since: ::Time
|
1133
1144
|
attr_accessor key: ::String
|
1134
1145
|
attr_accessor range: ::String
|
1146
|
+
attr_accessor response_cache_control: ::String
|
1147
|
+
attr_accessor response_content_disposition: ::String
|
1148
|
+
attr_accessor response_content_encoding: ::String
|
1149
|
+
attr_accessor response_content_language: ::String
|
1150
|
+
attr_accessor response_content_type: ::String
|
1151
|
+
attr_accessor response_expires: ::Time
|
1135
1152
|
attr_accessor version_id: ::String
|
1136
1153
|
attr_accessor sse_customer_algorithm: ::String
|
1137
1154
|
attr_accessor sse_customer_key: ::String
|
@@ -1352,6 +1369,16 @@ module Aws::S3
|
|
1352
1369
|
class ListBucketsOutput
|
1353
1370
|
attr_accessor buckets: ::Array[Types::Bucket]
|
1354
1371
|
attr_accessor owner: Types::Owner
|
1372
|
+
attr_accessor continuation_token: ::String
|
1373
|
+
attr_accessor prefix: ::String
|
1374
|
+
SENSITIVE: []
|
1375
|
+
end
|
1376
|
+
|
1377
|
+
class ListBucketsRequest
|
1378
|
+
attr_accessor max_buckets: ::Integer
|
1379
|
+
attr_accessor continuation_token: ::String
|
1380
|
+
attr_accessor prefix: ::String
|
1381
|
+
attr_accessor bucket_region: ::String
|
1355
1382
|
SENSITIVE: []
|
1356
1383
|
end
|
1357
1384
|
|
@@ -1829,11 +1856,17 @@ module Aws::S3
|
|
1829
1856
|
SENSITIVE: []
|
1830
1857
|
end
|
1831
1858
|
|
1859
|
+
class PutBucketLifecycleConfigurationOutput
|
1860
|
+
attr_accessor transition_default_minimum_object_size: ("varies_by_storage_class" | "all_storage_classes_128K")
|
1861
|
+
SENSITIVE: []
|
1862
|
+
end
|
1863
|
+
|
1832
1864
|
class PutBucketLifecycleConfigurationRequest
|
1833
1865
|
attr_accessor bucket: ::String
|
1834
1866
|
attr_accessor checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
|
1835
1867
|
attr_accessor lifecycle_configuration: Types::BucketLifecycleConfiguration
|
1836
1868
|
attr_accessor expected_bucket_owner: ::String
|
1869
|
+
attr_accessor transition_default_minimum_object_size: ("varies_by_storage_class" | "all_storage_classes_128K")
|
1837
1870
|
SENSITIVE: []
|
1838
1871
|
end
|
1839
1872
|
|
@@ -2036,6 +2069,7 @@ module Aws::S3
|
|
2036
2069
|
attr_accessor checksum_sha1: ::String
|
2037
2070
|
attr_accessor checksum_sha256: ::String
|
2038
2071
|
attr_accessor expires: ::Time
|
2072
|
+
attr_accessor if_none_match: ::String
|
2039
2073
|
attr_accessor grant_full_control: ::String
|
2040
2074
|
attr_accessor grant_read: ::String
|
2041
2075
|
attr_accessor grant_read_acp: ::String
|
data/sig/waiters.rbs
CHANGED
@@ -43,6 +43,12 @@ module Aws
|
|
43
43
|
?if_unmodified_since: ::Time,
|
44
44
|
key: ::String,
|
45
45
|
?range: ::String,
|
46
|
+
?response_cache_control: ::String,
|
47
|
+
?response_content_disposition: ::String,
|
48
|
+
?response_content_encoding: ::String,
|
49
|
+
?response_content_language: ::String,
|
50
|
+
?response_content_type: ::String,
|
51
|
+
?response_expires: ::Time,
|
46
52
|
?version_id: ::String,
|
47
53
|
?sse_customer_algorithm: ::String,
|
48
54
|
?sse_customer_key: ::String,
|
@@ -67,6 +73,12 @@ module Aws
|
|
67
73
|
?if_unmodified_since: ::Time,
|
68
74
|
key: ::String,
|
69
75
|
?range: ::String,
|
76
|
+
?response_cache_control: ::String,
|
77
|
+
?response_content_disposition: ::String,
|
78
|
+
?response_content_encoding: ::String,
|
79
|
+
?response_content_language: ::String,
|
80
|
+
?response_content_type: ::String,
|
81
|
+
?response_expires: ::Time,
|
70
82
|
?version_id: ::String,
|
71
83
|
?sse_customer_algorithm: ::String,
|
72
84
|
?sse_customer_key: ::String,
|
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.169.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-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-kms
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1.
|
33
|
+
version: '1.5'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1.
|
40
|
+
version: '1.5'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: aws-sdk-core
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -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:
|
@@ -93,6 +93,7 @@ files:
|
|
93
93
|
- lib/aws-sdk-s3/customizations/multipart_upload.rb
|
94
94
|
- lib/aws-sdk-s3/customizations/object.rb
|
95
95
|
- lib/aws-sdk-s3/customizations/object_summary.rb
|
96
|
+
- lib/aws-sdk-s3/customizations/object_version.rb
|
96
97
|
- lib/aws-sdk-s3/customizations/types/list_object_versions_output.rb
|
97
98
|
- lib/aws-sdk-s3/customizations/types/permanent_redirect.rb
|
98
99
|
- lib/aws-sdk-s3/encryption.rb
|