aws-sdk-s3 1.147.0 → 1.163.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +103 -2
  3. data/VERSION +1 -1
  4. data/lib/aws-sdk-s3/access_grants_credentials.rb +57 -0
  5. data/lib/aws-sdk-s3/access_grants_credentials_provider.rb +250 -0
  6. data/lib/aws-sdk-s3/bucket.rb +209 -69
  7. data/lib/aws-sdk-s3/bucket_acl.rb +3 -3
  8. data/lib/aws-sdk-s3/bucket_cors.rb +4 -4
  9. data/lib/aws-sdk-s3/bucket_lifecycle.rb +4 -4
  10. data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +4 -4
  11. data/lib/aws-sdk-s3/bucket_logging.rb +3 -3
  12. data/lib/aws-sdk-s3/bucket_notification.rb +3 -3
  13. data/lib/aws-sdk-s3/bucket_policy.rb +4 -4
  14. data/lib/aws-sdk-s3/bucket_region_cache.rb +9 -5
  15. data/lib/aws-sdk-s3/bucket_request_payment.rb +3 -3
  16. data/lib/aws-sdk-s3/bucket_tagging.rb +4 -4
  17. data/lib/aws-sdk-s3/bucket_versioning.rb +5 -5
  18. data/lib/aws-sdk-s3/bucket_website.rb +4 -4
  19. data/lib/aws-sdk-s3/client.rb +1653 -637
  20. data/lib/aws-sdk-s3/client_api.rb +35 -3
  21. data/lib/aws-sdk-s3/customizations/bucket.rb +1 -1
  22. data/lib/aws-sdk-s3/customizations/errors.rb +15 -2
  23. data/lib/aws-sdk-s3/customizations/object.rb +5 -5
  24. data/lib/aws-sdk-s3/customizations.rb +4 -1
  25. data/lib/aws-sdk-s3/encryption/client.rb +2 -2
  26. data/lib/aws-sdk-s3/encryption/kms_cipher_provider.rb +2 -2
  27. data/lib/aws-sdk-s3/encryptionV2/client.rb +2 -2
  28. data/lib/aws-sdk-s3/encryptionV2/kms_cipher_provider.rb +2 -2
  29. data/lib/aws-sdk-s3/endpoint_parameters.rb +8 -0
  30. data/lib/aws-sdk-s3/endpoint_provider.rb +1 -0
  31. data/lib/aws-sdk-s3/endpoints.rb +199 -397
  32. data/lib/aws-sdk-s3/express_credentials_provider.rb +27 -4
  33. data/lib/aws-sdk-s3/file_downloader.rb +1 -1
  34. data/lib/aws-sdk-s3/file_uploader.rb +1 -1
  35. data/lib/aws-sdk-s3/multipart_stream_uploader.rb +1 -1
  36. data/lib/aws-sdk-s3/multipart_upload.rb +24 -4
  37. data/lib/aws-sdk-s3/multipart_upload_part.rb +3 -3
  38. data/lib/aws-sdk-s3/object.rb +394 -137
  39. data/lib/aws-sdk-s3/object_acl.rb +3 -3
  40. data/lib/aws-sdk-s3/object_copier.rb +1 -1
  41. data/lib/aws-sdk-s3/object_multipart_copier.rb +10 -8
  42. data/lib/aws-sdk-s3/object_summary.rb +358 -115
  43. data/lib/aws-sdk-s3/object_version.rb +46 -9
  44. data/lib/aws-sdk-s3/plugins/access_grants.rb +178 -0
  45. data/lib/aws-sdk-s3/plugins/endpoints.rb +10 -1
  46. data/lib/aws-sdk-s3/plugins/express_session_auth.rb +8 -2
  47. data/lib/aws-sdk-s3/plugins/http_200_errors.rb +53 -16
  48. data/lib/aws-sdk-s3/plugins/s3_signer.rb +7 -2
  49. data/lib/aws-sdk-s3/presigner.rb +1 -0
  50. data/lib/aws-sdk-s3/resource.rb +12 -10
  51. data/lib/aws-sdk-s3/types.rb +966 -350
  52. data/lib/aws-sdk-s3.rb +1 -1
  53. data/sig/bucket.rbs +1 -0
  54. data/sig/client.rbs +38 -2
  55. data/sig/customizations/bucket.rbs +19 -0
  56. data/sig/customizations/object.rbs +38 -0
  57. data/sig/customizations/object_summary.rbs +35 -0
  58. data/sig/multipart_upload.rbs +1 -0
  59. data/sig/object.rbs +7 -0
  60. data/sig/object_summary.rbs +1 -0
  61. data/sig/object_version.rbs +6 -0
  62. data/sig/resource.rbs +6 -1
  63. data/sig/types.rbs +25 -2
  64. data/sig/waiters.rbs +12 -0
  65. metadata +12 -7
  66. data/lib/aws-sdk-s3/express_credentials_cache.rb +0 -30
data/lib/aws-sdk-s3.rb CHANGED
@@ -73,6 +73,6 @@ require_relative 'aws-sdk-s3/event_streams'
73
73
  # @!group service
74
74
  module Aws::S3
75
75
 
76
- GEM_VERSION = '1.147.0'
76
+ GEM_VERSION = '1.163.0'
77
77
 
78
78
  end
data/sig/bucket.rbs CHANGED
@@ -107,6 +107,7 @@ module Aws
107
107
  ?checksum_sha1: ::String,
108
108
  ?checksum_sha256: ::String,
109
109
  ?expires: ::Time,
110
+ ?if_none_match: ::String,
110
111
  ?grant_full_control: ::String,
111
112
  ?grant_read: ::String,
112
113
  ?grant_read_acp: ::String,
data/sig/client.rbs CHANGED
@@ -14,6 +14,8 @@ module Aws
14
14
  def self.new: (
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
+ ?access_grants: bool,
18
+ ?access_grants_credentials_provider: untyped,
17
19
  ?access_key_id: String,
18
20
  ?active_endpoint_cache: bool,
19
21
  ?adaptive_retry_wait_to_fill: bool,
@@ -60,7 +62,9 @@ module Aws
60
62
  ?sdk_ua_app_id: String,
61
63
  ?secret_access_key: String,
62
64
  ?session_token: String,
65
+ ?sigv4a_signing_region_set: Array[String],
63
66
  ?stub_responses: untyped,
67
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
64
68
  ?token_provider: untyped,
65
69
  ?use_accelerate_endpoint: bool,
66
70
  ?use_dualstack_endpoint: bool,
@@ -139,6 +143,7 @@ module Aws
139
143
  ?checksum_sha256: ::String,
140
144
  ?request_payer: ("requester"),
141
145
  ?expected_bucket_owner: ::String,
146
+ ?if_none_match: ::String,
142
147
  ?sse_customer_algorithm: ::String,
143
148
  ?sse_customer_key: ::String,
144
149
  ?sse_customer_key_md5: ::String
@@ -287,12 +292,20 @@ module Aws
287
292
 
288
293
  interface _CreateSessionResponseSuccess
289
294
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateSessionOutput]
295
+ def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
296
+ def ssekms_key_id: () -> ::String
297
+ def ssekms_encryption_context: () -> ::String
298
+ def bucket_key_enabled: () -> bool
290
299
  def credentials: () -> Types::SessionCredentials
291
300
  end
292
301
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_session-instance_method
293
302
  def create_session: (
294
303
  ?session_mode: ("ReadOnly" | "ReadWrite"),
295
- bucket: ::String
304
+ bucket: ::String,
305
+ ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
306
+ ?ssekms_key_id: ::String,
307
+ ?ssekms_encryption_context: ::String,
308
+ ?bucket_key_enabled: bool
296
309
  ) -> _CreateSessionResponseSuccess
297
310
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSessionResponseSuccess
298
311
 
@@ -961,6 +974,12 @@ module Aws
961
974
  ?if_unmodified_since: ::Time,
962
975
  key: ::String,
963
976
  ?range: ::String,
977
+ ?response_cache_control: ::String,
978
+ ?response_content_disposition: ::String,
979
+ ?response_content_encoding: ::String,
980
+ ?response_content_language: ::String,
981
+ ?response_content_type: ::String,
982
+ ?response_expires: ::Time,
964
983
  ?version_id: ::String,
965
984
  ?sse_customer_algorithm: ::String,
966
985
  ?sse_customer_key: ::String,
@@ -1035,9 +1054,13 @@ module Aws
1035
1054
  include ::Seahorse::Client::_ResponseSuccess[Types::ListBucketsOutput]
1036
1055
  def buckets: () -> ::Array[Types::Bucket]
1037
1056
  def owner: () -> Types::Owner
1057
+ def continuation_token: () -> ::String
1038
1058
  end
1039
1059
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#list_buckets-instance_method
1040
- def list_buckets: () -> _ListBucketsResponseSuccess
1060
+ def list_buckets: (
1061
+ ?max_buckets: ::Integer,
1062
+ ?continuation_token: ::String
1063
+ ) -> _ListBucketsResponseSuccess
1041
1064
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBucketsResponseSuccess
1042
1065
 
1043
1066
  interface _ListDirectoryBucketsResponseSuccess
@@ -1873,6 +1896,7 @@ module Aws
1873
1896
  ?checksum_sha1: ::String,
1874
1897
  ?checksum_sha256: ::String,
1875
1898
  ?expires: ::Time,
1899
+ ?if_none_match: ::String,
1876
1900
  ?grant_full_control: ::String,
1877
1901
  ?grant_read: ::String,
1878
1902
  ?grant_read_acp: ::String,
@@ -2326,6 +2350,12 @@ module Aws
2326
2350
  ?if_unmodified_since: ::Time,
2327
2351
  key: ::String,
2328
2352
  ?range: ::String,
2353
+ ?response_cache_control: ::String,
2354
+ ?response_content_disposition: ::String,
2355
+ ?response_content_encoding: ::String,
2356
+ ?response_content_language: ::String,
2357
+ ?response_content_type: ::String,
2358
+ ?response_expires: ::Time,
2329
2359
  ?version_id: ::String,
2330
2360
  ?sse_customer_algorithm: ::String,
2331
2361
  ?sse_customer_key: ::String,
@@ -2344,6 +2374,12 @@ module Aws
2344
2374
  ?if_unmodified_since: ::Time,
2345
2375
  key: ::String,
2346
2376
  ?range: ::String,
2377
+ ?response_cache_control: ::String,
2378
+ ?response_content_disposition: ::String,
2379
+ ?response_content_encoding: ::String,
2380
+ ?response_content_language: ::String,
2381
+ ?response_content_type: ::String,
2382
+ ?response_expires: ::Time,
2347
2383
  ?version_id: ::String,
2348
2384
  ?sse_customer_algorithm: ::String,
2349
2385
  ?sse_customer_key: ::String,
@@ -0,0 +1,19 @@
1
+ module Aws
2
+ module S3
3
+ class Bucket
4
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Bucket.html#clear!-instance_method
5
+ def clear!: () -> void
6
+
7
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Bucket.html#delete!-instance_method
8
+ def delete!: (?max_attempts: ::Integer, ?initial_wait: ::Float) -> void
9
+ | (?Hash[Symbol, untyped]) -> void
10
+
11
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Bucket.html#url-instance_method
12
+ def url: (?virtual_host: boolish, ?secure: boolish) -> String
13
+ | (?Hash[Symbol, untyped]) -> String
14
+
15
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Bucket.html#presigned_post-instance_method
16
+ def presigned_post: (Hash[Symbol, untyped]) -> untyped
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,38 @@
1
+ module Aws
2
+ module S3
3
+ class Object
4
+ alias size content_length
5
+
6
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#copy_from-instance_method
7
+ def copy_from: (untyped source, ?Hash[Symbol, untyped] options) -> void
8
+ | ...
9
+
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#copy_to-instance_method
11
+ def copy_to: (untyped target, ?Hash[Symbol, untyped] options) -> void
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#move_to-instance_method
14
+ def move_to: (untyped target, ?Hash[Symbol, untyped] options) -> void
15
+
16
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#presigned_post-instance_method
17
+ def presigned_post: (?Hash[Symbol, untyped]) -> untyped
18
+
19
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#presigned_url-instance_method
20
+ def presigned_url: (Symbol | String method, ?Hash[Symbol, untyped] params) -> String
21
+
22
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#presigned_request-instance_method
23
+ def presigned_request: (Symbol | String method, ?Hash[Symbol, untyped] params) -> [String, Hash[String, String]]
24
+
25
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#public_url-instance_method
26
+ def public_url: (?Hash[Symbol, untyped] options) -> String
27
+
28
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#upload_stream-instance_method
29
+ def upload_stream: (?Hash[Symbol, untyped] options) { (IO write_stream) -> void } -> bool
30
+
31
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#upload_file-instance_method
32
+ def upload_file: (untyped source, ?Hash[Symbol, untyped] options) ?{ (untyped response) -> void } -> bool
33
+
34
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Object.html#download_file-instance_method
35
+ def download_file: (String destination, ?Hash[Symbol, untyped] options) -> bool
36
+ end
37
+ end
38
+ end
@@ -0,0 +1,35 @@
1
+ module Aws
2
+ module S3
3
+ class ObjectSummary
4
+ alias content_length size
5
+
6
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#copy_from-instance_method
7
+ def copy_from: (untyped source, ?Hash[Symbol, untyped] options) -> void
8
+ | ...
9
+
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#copy_to-instance_method
11
+ def copy_to: (untyped target, ?Hash[Symbol, untyped] options) -> void
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#move_to-instance_method
14
+ def move_to: (untyped target, ?Hash[Symbol, untyped] options) -> void
15
+
16
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#presigned_post-instance_method
17
+ def presigned_post: (Hash[Symbol, untyped]) -> untyped
18
+
19
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#presigned_url-instance_method
20
+ def presigned_url: (Symbol | String method, ?Hash[Symbol, untyped] params) -> String
21
+
22
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#public_url-instance_method
23
+ def public_url: (?Hash[Symbol, untyped] options) -> String
24
+
25
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#upload_file-instance_method
26
+ def upload_file: (untyped source, ?Hash[Symbol, untyped] options) ?{ (untyped response) -> void } -> bool
27
+
28
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#upload_stream-instance_method
29
+ def upload_stream: (?Hash[Symbol, untyped] options) { (IO write_stream) -> void } -> bool
30
+
31
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/ObjectSummary.html#download_file-instance_method
32
+ def download_file: (String destination, ?Hash[Symbol, untyped] options) -> bool
33
+ end
34
+ end
35
+ end
@@ -81,6 +81,7 @@ module Aws
81
81
  ?checksum_sha256: ::String,
82
82
  ?request_payer: ("requester"),
83
83
  ?expected_bucket_owner: ::String,
84
+ ?if_none_match: ::String,
84
85
  ?sse_customer_algorithm: ::String,
85
86
  ?sse_customer_key: ::String,
86
87
  ?sse_customer_key_md5: ::String
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,
@@ -190,6 +190,7 @@ module Aws
190
190
  ?checksum_sha1: ::String,
191
191
  ?checksum_sha256: ::String,
192
192
  ?expires: ::Time,
193
+ ?if_none_match: ::String,
193
194
  ?grant_full_control: ::String,
194
195
  ?grant_read: ::String,
195
196
  ?grant_read_acp: ::String,
@@ -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
@@ -14,6 +14,8 @@ module Aws
14
14
  ?client: Client,
15
15
  ?credentials: untyped,
16
16
  ?region: String,
17
+ ?access_grants: bool,
18
+ ?access_grants_credentials_provider: untyped,
17
19
  ?access_key_id: String,
18
20
  ?active_endpoint_cache: bool,
19
21
  ?adaptive_retry_wait_to_fill: bool,
@@ -60,7 +62,9 @@ module Aws
60
62
  ?sdk_ua_app_id: String,
61
63
  ?secret_access_key: String,
62
64
  ?session_token: String,
65
+ ?sigv4a_signing_region_set: Array[String],
63
66
  ?stub_responses: untyped,
67
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
64
68
  ?token_provider: untyped,
65
69
  ?use_accelerate_endpoint: bool,
66
70
  ?use_dualstack_endpoint: bool,
@@ -117,7 +121,8 @@ module Aws
117
121
  def bucket: (String name) -> Bucket
118
122
 
119
123
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Resource.html#buckets-instance_method
120
- def buckets: () -> Bucket::Collection
124
+ def buckets: (
125
+ ) -> Bucket::Collection
121
126
  | (?Hash[Symbol, untyped]) -> Bucket::Collection
122
127
  end
123
128
  end
data/sig/types.rbs CHANGED
@@ -190,6 +190,7 @@ module Aws::S3
190
190
  attr_accessor checksum_sha256: ::String
191
191
  attr_accessor request_payer: ("requester")
192
192
  attr_accessor expected_bucket_owner: ::String
193
+ attr_accessor if_none_match: ::String
193
194
  attr_accessor sse_customer_algorithm: ::String
194
195
  attr_accessor sse_customer_key: ::String
195
196
  attr_accessor sse_customer_key_md5: ::String
@@ -380,14 +381,22 @@ module Aws::S3
380
381
  end
381
382
 
382
383
  class CreateSessionOutput
384
+ attr_accessor server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse")
385
+ attr_accessor ssekms_key_id: ::String
386
+ attr_accessor ssekms_encryption_context: ::String
387
+ attr_accessor bucket_key_enabled: bool
383
388
  attr_accessor credentials: Types::SessionCredentials
384
- SENSITIVE: []
389
+ SENSITIVE: [:ssekms_key_id, :ssekms_encryption_context]
385
390
  end
386
391
 
387
392
  class CreateSessionRequest
388
393
  attr_accessor session_mode: ("ReadOnly" | "ReadWrite")
389
394
  attr_accessor bucket: ::String
390
- SENSITIVE: []
395
+ attr_accessor server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse")
396
+ attr_accessor ssekms_key_id: ::String
397
+ attr_accessor ssekms_encryption_context: ::String
398
+ attr_accessor bucket_key_enabled: bool
399
+ SENSITIVE: [:ssekms_key_id, :ssekms_encryption_context]
391
400
  end
392
401
 
393
402
  class DefaultRetention
@@ -1132,6 +1141,12 @@ module Aws::S3
1132
1141
  attr_accessor if_unmodified_since: ::Time
1133
1142
  attr_accessor key: ::String
1134
1143
  attr_accessor range: ::String
1144
+ attr_accessor response_cache_control: ::String
1145
+ attr_accessor response_content_disposition: ::String
1146
+ attr_accessor response_content_encoding: ::String
1147
+ attr_accessor response_content_language: ::String
1148
+ attr_accessor response_content_type: ::String
1149
+ attr_accessor response_expires: ::Time
1135
1150
  attr_accessor version_id: ::String
1136
1151
  attr_accessor sse_customer_algorithm: ::String
1137
1152
  attr_accessor sse_customer_key: ::String
@@ -1352,6 +1367,13 @@ module Aws::S3
1352
1367
  class ListBucketsOutput
1353
1368
  attr_accessor buckets: ::Array[Types::Bucket]
1354
1369
  attr_accessor owner: Types::Owner
1370
+ attr_accessor continuation_token: ::String
1371
+ SENSITIVE: []
1372
+ end
1373
+
1374
+ class ListBucketsRequest
1375
+ attr_accessor max_buckets: ::Integer
1376
+ attr_accessor continuation_token: ::String
1355
1377
  SENSITIVE: []
1356
1378
  end
1357
1379
 
@@ -2036,6 +2058,7 @@ module Aws::S3
2036
2058
  attr_accessor checksum_sha1: ::String
2037
2059
  attr_accessor checksum_sha256: ::String
2038
2060
  attr_accessor expires: ::Time
2061
+ attr_accessor if_none_match: ::String
2039
2062
  attr_accessor grant_full_control: ::String
2040
2063
  attr_accessor grant_read: ::String
2041
2064
  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.147.0
4
+ version: 1.163.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-04-16 00:00:00.000000000 Z
11
+ date: 2024-09-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.8'
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.8'
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.192.0
50
+ version: 3.205.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.192.0
60
+ version: 3.205.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:
@@ -70,6 +70,8 @@ files:
70
70
  - LICENSE.txt
71
71
  - VERSION
72
72
  - lib/aws-sdk-s3.rb
73
+ - lib/aws-sdk-s3/access_grants_credentials.rb
74
+ - lib/aws-sdk-s3/access_grants_credentials_provider.rb
73
75
  - lib/aws-sdk-s3/bucket.rb
74
76
  - lib/aws-sdk-s3/bucket_acl.rb
75
77
  - lib/aws-sdk-s3/bucket_cors.rb
@@ -127,7 +129,6 @@ files:
127
129
  - lib/aws-sdk-s3/errors.rb
128
130
  - lib/aws-sdk-s3/event_streams.rb
129
131
  - lib/aws-sdk-s3/express_credentials.rb
130
- - lib/aws-sdk-s3/express_credentials_cache.rb
131
132
  - lib/aws-sdk-s3/express_credentials_provider.rb
132
133
  - lib/aws-sdk-s3/file_downloader.rb
133
134
  - lib/aws-sdk-s3/file_part.rb
@@ -145,6 +146,7 @@ files:
145
146
  - lib/aws-sdk-s3/object_summary.rb
146
147
  - lib/aws-sdk-s3/object_version.rb
147
148
  - lib/aws-sdk-s3/plugins/accelerate.rb
149
+ - lib/aws-sdk-s3/plugins/access_grants.rb
148
150
  - lib/aws-sdk-s3/plugins/arn.rb
149
151
  - lib/aws-sdk-s3/plugins/bucket_dns.rb
150
152
  - lib/aws-sdk-s3/plugins/bucket_name_restrictions.rb
@@ -182,6 +184,9 @@ files:
182
184
  - sig/bucket_versioning.rbs
183
185
  - sig/bucket_website.rbs
184
186
  - sig/client.rbs
187
+ - sig/customizations/bucket.rbs
188
+ - sig/customizations/object.rbs
189
+ - sig/customizations/object_summary.rbs
185
190
  - sig/errors.rbs
186
191
  - sig/multipart_upload.rbs
187
192
  - sig/multipart_upload_part.rbs
@@ -1,30 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Aws
4
- module S3
5
- # @api private
6
- class ExpressCredentialsCache
7
- def initialize
8
- @credentials = {}
9
- @mutex = Mutex.new
10
- end
11
-
12
- def [](bucket_name)
13
- @mutex.synchronize { @credentials[bucket_name] }
14
- end
15
-
16
- def []=(bucket_name, credential_provider)
17
- @mutex.synchronize do
18
- @credentials[bucket_name] = credential_provider
19
- end
20
- end
21
-
22
- def clear
23
- @mutex.synchronize { @credentials = {} }
24
- end
25
- end
26
-
27
- # @api private
28
- EXPRESS_CREDENTIALS_CACHE = ExpressCredentialsCache.new
29
- end
30
- end