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.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +65 -0
  3. data/VERSION +1 -1
  4. data/lib/aws-sdk-s3/access_grants_credentials_provider.rb +12 -3
  5. data/lib/aws-sdk-s3/bucket.rb +89 -26
  6. data/lib/aws-sdk-s3/bucket_acl.rb +3 -3
  7. data/lib/aws-sdk-s3/bucket_cors.rb +4 -4
  8. data/lib/aws-sdk-s3/bucket_lifecycle.rb +4 -4
  9. data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +4 -4
  10. data/lib/aws-sdk-s3/bucket_logging.rb +3 -3
  11. data/lib/aws-sdk-s3/bucket_notification.rb +3 -3
  12. data/lib/aws-sdk-s3/bucket_policy.rb +4 -4
  13. data/lib/aws-sdk-s3/bucket_request_payment.rb +3 -3
  14. data/lib/aws-sdk-s3/bucket_tagging.rb +4 -4
  15. data/lib/aws-sdk-s3/bucket_versioning.rb +5 -5
  16. data/lib/aws-sdk-s3/bucket_website.rb +4 -4
  17. data/lib/aws-sdk-s3/client.rb +632 -351
  18. data/lib/aws-sdk-s3/client_api.rb +27 -3
  19. data/lib/aws-sdk-s3/customizations/bucket.rb +1 -1
  20. data/lib/aws-sdk-s3/customizations/object.rb +5 -5
  21. data/lib/aws-sdk-s3/encryption/client.rb +2 -2
  22. data/lib/aws-sdk-s3/encryption/kms_cipher_provider.rb +2 -2
  23. data/lib/aws-sdk-s3/encryptionV2/client.rb +2 -2
  24. data/lib/aws-sdk-s3/encryptionV2/kms_cipher_provider.rb +2 -2
  25. data/lib/aws-sdk-s3/endpoint_parameters.rb +8 -0
  26. data/lib/aws-sdk-s3/endpoint_provider.rb +1 -0
  27. data/lib/aws-sdk-s3/endpoints.rb +100 -1
  28. data/lib/aws-sdk-s3/file_downloader.rb +1 -1
  29. data/lib/aws-sdk-s3/file_uploader.rb +1 -1
  30. data/lib/aws-sdk-s3/multipart_stream_uploader.rb +1 -1
  31. data/lib/aws-sdk-s3/multipart_upload.rb +24 -4
  32. data/lib/aws-sdk-s3/multipart_upload_part.rb +3 -3
  33. data/lib/aws-sdk-s3/object.rb +66 -16
  34. data/lib/aws-sdk-s3/object_acl.rb +3 -3
  35. data/lib/aws-sdk-s3/object_copier.rb +1 -1
  36. data/lib/aws-sdk-s3/object_summary.rb +38 -10
  37. data/lib/aws-sdk-s3/object_version.rb +40 -9
  38. data/lib/aws-sdk-s3/plugins/access_grants.rb +75 -5
  39. data/lib/aws-sdk-s3/plugins/express_session_auth.rb +7 -1
  40. data/lib/aws-sdk-s3/plugins/http_200_errors.rb +53 -16
  41. data/lib/aws-sdk-s3/resource.rb +12 -10
  42. data/lib/aws-sdk-s3/types.rb +340 -62
  43. data/lib/aws-sdk-s3.rb +1 -1
  44. data/sig/bucket.rbs +1 -0
  45. data/sig/client.rbs +27 -1
  46. data/sig/multipart_upload.rbs +1 -0
  47. data/sig/object.rbs +7 -0
  48. data/sig/object_summary.rbs +1 -0
  49. data/sig/object_version.rbs +6 -0
  50. data/sig/resource.rbs +4 -1
  51. data/sig/types.rbs +15 -0
  52. data/sig/waiters.rbs +12 -0
  53. metadata +6 -6
data/sig/client.rbs CHANGED
@@ -62,7 +62,9 @@ module Aws
62
62
  ?sdk_ua_app_id: String,
63
63
  ?secret_access_key: String,
64
64
  ?session_token: String,
65
+ ?sigv4a_signing_region_set: Array[String],
65
66
  ?stub_responses: untyped,
67
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
66
68
  ?token_provider: untyped,
67
69
  ?use_accelerate_endpoint: bool,
68
70
  ?use_dualstack_endpoint: bool,
@@ -141,6 +143,7 @@ module Aws
141
143
  ?checksum_sha256: ::String,
142
144
  ?request_payer: ("requester"),
143
145
  ?expected_bucket_owner: ::String,
146
+ ?if_none_match: ::String,
144
147
  ?sse_customer_algorithm: ::String,
145
148
  ?sse_customer_key: ::String,
146
149
  ?sse_customer_key_md5: ::String
@@ -963,6 +966,12 @@ module Aws
963
966
  ?if_unmodified_since: ::Time,
964
967
  key: ::String,
965
968
  ?range: ::String,
969
+ ?response_cache_control: ::String,
970
+ ?response_content_disposition: ::String,
971
+ ?response_content_encoding: ::String,
972
+ ?response_content_language: ::String,
973
+ ?response_content_type: ::String,
974
+ ?response_expires: ::Time,
966
975
  ?version_id: ::String,
967
976
  ?sse_customer_algorithm: ::String,
968
977
  ?sse_customer_key: ::String,
@@ -1037,9 +1046,13 @@ module Aws
1037
1046
  include ::Seahorse::Client::_ResponseSuccess[Types::ListBucketsOutput]
1038
1047
  def buckets: () -> ::Array[Types::Bucket]
1039
1048
  def owner: () -> Types::Owner
1049
+ def continuation_token: () -> ::String
1040
1050
  end
1041
1051
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#list_buckets-instance_method
1042
- def list_buckets: () -> _ListBucketsResponseSuccess
1052
+ def list_buckets: (
1053
+ ?max_buckets: ::Integer,
1054
+ ?continuation_token: ::String
1055
+ ) -> _ListBucketsResponseSuccess
1043
1056
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBucketsResponseSuccess
1044
1057
 
1045
1058
  interface _ListDirectoryBucketsResponseSuccess
@@ -1875,6 +1888,7 @@ module Aws
1875
1888
  ?checksum_sha1: ::String,
1876
1889
  ?checksum_sha256: ::String,
1877
1890
  ?expires: ::Time,
1891
+ ?if_none_match: ::String,
1878
1892
  ?grant_full_control: ::String,
1879
1893
  ?grant_read: ::String,
1880
1894
  ?grant_read_acp: ::String,
@@ -2328,6 +2342,12 @@ module Aws
2328
2342
  ?if_unmodified_since: ::Time,
2329
2343
  key: ::String,
2330
2344
  ?range: ::String,
2345
+ ?response_cache_control: ::String,
2346
+ ?response_content_disposition: ::String,
2347
+ ?response_content_encoding: ::String,
2348
+ ?response_content_language: ::String,
2349
+ ?response_content_type: ::String,
2350
+ ?response_expires: ::Time,
2331
2351
  ?version_id: ::String,
2332
2352
  ?sse_customer_algorithm: ::String,
2333
2353
  ?sse_customer_key: ::String,
@@ -2346,6 +2366,12 @@ module Aws
2346
2366
  ?if_unmodified_since: ::Time,
2347
2367
  key: ::String,
2348
2368
  ?range: ::String,
2369
+ ?response_cache_control: ::String,
2370
+ ?response_content_disposition: ::String,
2371
+ ?response_content_encoding: ::String,
2372
+ ?response_content_language: ::String,
2373
+ ?response_content_type: ::String,
2374
+ ?response_expires: ::Time,
2349
2375
  ?version_id: ::String,
2350
2376
  ?sse_customer_algorithm: ::String,
2351
2377
  ?sse_customer_key: ::String,
@@ -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
@@ -62,7 +62,9 @@ module Aws
62
62
  ?sdk_ua_app_id: String,
63
63
  ?secret_access_key: String,
64
64
  ?session_token: String,
65
+ ?sigv4a_signing_region_set: Array[String],
65
66
  ?stub_responses: untyped,
67
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
66
68
  ?token_provider: untyped,
67
69
  ?use_accelerate_endpoint: bool,
68
70
  ?use_dualstack_endpoint: bool,
@@ -119,7 +121,8 @@ module Aws
119
121
  def bucket: (String name) -> Bucket
120
122
 
121
123
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Resource.html#buckets-instance_method
122
- def buckets: () -> Bucket::Collection
124
+ def buckets: (
125
+ ) -> Bucket::Collection
123
126
  | (?Hash[Symbol, untyped]) -> Bucket::Collection
124
127
  end
125
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
@@ -1132,6 +1133,12 @@ module Aws::S3
1132
1133
  attr_accessor if_unmodified_since: ::Time
1133
1134
  attr_accessor key: ::String
1134
1135
  attr_accessor range: ::String
1136
+ attr_accessor response_cache_control: ::String
1137
+ attr_accessor response_content_disposition: ::String
1138
+ attr_accessor response_content_encoding: ::String
1139
+ attr_accessor response_content_language: ::String
1140
+ attr_accessor response_content_type: ::String
1141
+ attr_accessor response_expires: ::Time
1135
1142
  attr_accessor version_id: ::String
1136
1143
  attr_accessor sse_customer_algorithm: ::String
1137
1144
  attr_accessor sse_customer_key: ::String
@@ -1352,6 +1359,13 @@ module Aws::S3
1352
1359
  class ListBucketsOutput
1353
1360
  attr_accessor buckets: ::Array[Types::Bucket]
1354
1361
  attr_accessor owner: Types::Owner
1362
+ attr_accessor continuation_token: ::String
1363
+ SENSITIVE: []
1364
+ end
1365
+
1366
+ class ListBucketsRequest
1367
+ attr_accessor max_buckets: ::Integer
1368
+ attr_accessor continuation_token: ::String
1355
1369
  SENSITIVE: []
1356
1370
  end
1357
1371
 
@@ -2036,6 +2050,7 @@ module Aws::S3
2036
2050
  attr_accessor checksum_sha1: ::String
2037
2051
  attr_accessor checksum_sha256: ::String
2038
2052
  attr_accessor expires: ::Time
2053
+ attr_accessor if_none_match: ::String
2039
2054
  attr_accessor grant_full_control: ::String
2040
2055
  attr_accessor grant_read: ::String
2041
2056
  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.150.0
4
+ version: 1.160.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-05-13 00:00:00.000000000 Z
11
+ date: 2024-09-03 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.194.0
50
+ version: 3.203.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.194.0
60
+ version: 3.203.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: