aws-sdk-s3 1.136.0 → 1.176.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +250 -1
  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 +671 -139
  7. data/lib/aws-sdk-s3/bucket_acl.rb +12 -12
  8. data/lib/aws-sdk-s3/bucket_cors.rb +16 -16
  9. data/lib/aws-sdk-s3/bucket_lifecycle.rb +21 -16
  10. data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +74 -17
  11. data/lib/aws-sdk-s3/bucket_logging.rb +19 -12
  12. data/lib/aws-sdk-s3/bucket_notification.rb +6 -6
  13. data/lib/aws-sdk-s3/bucket_policy.rb +62 -18
  14. data/lib/aws-sdk-s3/bucket_region_cache.rb +9 -5
  15. data/lib/aws-sdk-s3/bucket_request_payment.rb +12 -12
  16. data/lib/aws-sdk-s3/bucket_tagging.rb +16 -16
  17. data/lib/aws-sdk-s3/bucket_versioning.rb +32 -32
  18. data/lib/aws-sdk-s3/bucket_website.rb +16 -16
  19. data/lib/aws-sdk-s3/client.rb +7597 -2823
  20. data/lib/aws-sdk-s3/client_api.rb +288 -22
  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 +11 -5
  24. data/lib/aws-sdk-s3/customizations/object_summary.rb +5 -0
  25. data/lib/aws-sdk-s3/customizations/object_version.rb +13 -0
  26. data/lib/aws-sdk-s3/customizations.rb +25 -31
  27. data/lib/aws-sdk-s3/encryption/client.rb +2 -2
  28. data/lib/aws-sdk-s3/encryption/kms_cipher_provider.rb +2 -2
  29. data/lib/aws-sdk-s3/encryptionV2/client.rb +2 -2
  30. data/lib/aws-sdk-s3/encryptionV2/kms_cipher_provider.rb +2 -2
  31. data/lib/aws-sdk-s3/endpoint_parameters.rb +53 -18
  32. data/lib/aws-sdk-s3/endpoint_provider.rb +125 -6
  33. data/lib/aws-sdk-s3/endpoints.rb +545 -1261
  34. data/lib/aws-sdk-s3/errors.rb +47 -0
  35. data/lib/aws-sdk-s3/express_credentials.rb +55 -0
  36. data/lib/aws-sdk-s3/express_credentials_provider.rb +59 -0
  37. data/lib/aws-sdk-s3/file_downloader.rb +1 -2
  38. data/lib/aws-sdk-s3/file_uploader.rb +1 -1
  39. data/lib/aws-sdk-s3/multipart_file_uploader.rb +4 -4
  40. data/lib/aws-sdk-s3/multipart_stream_uploader.rb +6 -5
  41. data/lib/aws-sdk-s3/multipart_upload.rb +139 -36
  42. data/lib/aws-sdk-s3/multipart_upload_part.rb +175 -54
  43. data/lib/aws-sdk-s3/object.rb +1923 -313
  44. data/lib/aws-sdk-s3/object_acl.rb +34 -22
  45. data/lib/aws-sdk-s3/object_copier.rb +1 -1
  46. data/lib/aws-sdk-s3/object_multipart_copier.rb +10 -8
  47. data/lib/aws-sdk-s3/object_summary.rb +1690 -250
  48. data/lib/aws-sdk-s3/object_version.rb +397 -67
  49. data/lib/aws-sdk-s3/plugins/access_grants.rb +178 -0
  50. data/lib/aws-sdk-s3/plugins/endpoints.rb +32 -208
  51. data/lib/aws-sdk-s3/plugins/express_session_auth.rb +97 -0
  52. data/lib/aws-sdk-s3/plugins/http_200_errors.rb +55 -18
  53. data/lib/aws-sdk-s3/plugins/location_constraint.rb +3 -1
  54. data/lib/aws-sdk-s3/plugins/md5s.rb +2 -1
  55. data/lib/aws-sdk-s3/plugins/s3_signer.rb +7 -2
  56. data/lib/aws-sdk-s3/presigner.rb +5 -2
  57. data/lib/aws-sdk-s3/resource.rb +121 -22
  58. data/lib/aws-sdk-s3/types.rb +5960 -1526
  59. data/lib/aws-sdk-s3.rb +35 -31
  60. data/sig/bucket.rbs +221 -0
  61. data/sig/bucket_acl.rbs +78 -0
  62. data/sig/bucket_cors.rbs +69 -0
  63. data/sig/bucket_lifecycle.rbs +88 -0
  64. data/sig/bucket_lifecycle_configuration.rbs +115 -0
  65. data/sig/bucket_logging.rbs +76 -0
  66. data/sig/bucket_notification.rbs +114 -0
  67. data/sig/bucket_policy.rbs +59 -0
  68. data/sig/bucket_request_payment.rbs +54 -0
  69. data/sig/bucket_tagging.rbs +65 -0
  70. data/sig/bucket_versioning.rbs +77 -0
  71. data/sig/bucket_website.rbs +93 -0
  72. data/sig/client.rbs +2450 -0
  73. data/sig/customizations/bucket.rbs +19 -0
  74. data/sig/customizations/object.rbs +38 -0
  75. data/sig/customizations/object_summary.rbs +35 -0
  76. data/sig/errors.rbs +42 -0
  77. data/sig/multipart_upload.rbs +113 -0
  78. data/sig/multipart_upload_part.rbs +105 -0
  79. data/sig/object.rbs +448 -0
  80. data/sig/object_acl.rbs +86 -0
  81. data/sig/object_summary.rbs +340 -0
  82. data/sig/object_version.rbs +140 -0
  83. data/sig/resource.rbs +132 -0
  84. data/sig/types.rbs +2682 -0
  85. data/sig/waiters.rbs +95 -0
  86. metadata +44 -11
data/sig/waiters.rbs ADDED
@@ -0,0 +1,95 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module S3
10
+ module Waiters
11
+
12
+ class BucketExists
13
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
14
+ | (?Hash[Symbol, untyped]) -> void
15
+
16
+ def wait: (
17
+ bucket: ::String,
18
+ ?expected_bucket_owner: ::String
19
+ ) -> Client::_HeadBucketResponseSuccess
20
+ | (Hash[Symbol, untyped]) -> Client::_HeadBucketResponseSuccess
21
+ end
22
+
23
+ class BucketNotExists
24
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
25
+ | (?Hash[Symbol, untyped]) -> void
26
+
27
+ def wait: (
28
+ bucket: ::String,
29
+ ?expected_bucket_owner: ::String
30
+ ) -> Client::_HeadBucketResponseSuccess
31
+ | (Hash[Symbol, untyped]) -> Client::_HeadBucketResponseSuccess
32
+ end
33
+
34
+ class ObjectExists
35
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
36
+ | (?Hash[Symbol, untyped]) -> void
37
+
38
+ def wait: (
39
+ bucket: ::String,
40
+ ?if_match: ::String,
41
+ ?if_modified_since: ::Time,
42
+ ?if_none_match: ::String,
43
+ ?if_unmodified_since: ::Time,
44
+ key: ::String,
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,
52
+ ?version_id: ::String,
53
+ ?sse_customer_algorithm: ::String,
54
+ ?sse_customer_key: ::String,
55
+ ?sse_customer_key_md5: ::String,
56
+ ?request_payer: ("requester"),
57
+ ?part_number: ::Integer,
58
+ ?expected_bucket_owner: ::String,
59
+ ?checksum_mode: ("ENABLED")
60
+ ) -> Client::_HeadObjectResponseSuccess
61
+ | (Hash[Symbol, untyped]) -> Client::_HeadObjectResponseSuccess
62
+ end
63
+
64
+ class ObjectNotExists
65
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
66
+ | (?Hash[Symbol, untyped]) -> void
67
+
68
+ def wait: (
69
+ bucket: ::String,
70
+ ?if_match: ::String,
71
+ ?if_modified_since: ::Time,
72
+ ?if_none_match: ::String,
73
+ ?if_unmodified_since: ::Time,
74
+ key: ::String,
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,
82
+ ?version_id: ::String,
83
+ ?sse_customer_algorithm: ::String,
84
+ ?sse_customer_key: ::String,
85
+ ?sse_customer_key_md5: ::String,
86
+ ?request_payer: ("requester"),
87
+ ?part_number: ::Integer,
88
+ ?expected_bucket_owner: ::String,
89
+ ?checksum_mode: ("ENABLED")
90
+ ) -> Client::_HeadObjectResponseSuccess
91
+ | (Hash[Symbol, untyped]) -> Client::_HeadObjectResponseSuccess
92
+ end
93
+ end
94
+ end
95
+ end
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.136.0
4
+ version: 1.176.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-26 00:00:00.000000000 Z
11
+ date: 2024-12-12 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.6'
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.6'
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.181.0
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.181.0
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:
@@ -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
@@ -91,6 +93,7 @@ files:
91
93
  - lib/aws-sdk-s3/customizations/multipart_upload.rb
92
94
  - lib/aws-sdk-s3/customizations/object.rb
93
95
  - lib/aws-sdk-s3/customizations/object_summary.rb
96
+ - lib/aws-sdk-s3/customizations/object_version.rb
94
97
  - lib/aws-sdk-s3/customizations/types/list_object_versions_output.rb
95
98
  - lib/aws-sdk-s3/customizations/types/permanent_redirect.rb
96
99
  - lib/aws-sdk-s3/encryption.rb
@@ -126,6 +129,8 @@ files:
126
129
  - lib/aws-sdk-s3/endpoints.rb
127
130
  - lib/aws-sdk-s3/errors.rb
128
131
  - lib/aws-sdk-s3/event_streams.rb
132
+ - lib/aws-sdk-s3/express_credentials.rb
133
+ - lib/aws-sdk-s3/express_credentials_provider.rb
129
134
  - lib/aws-sdk-s3/file_downloader.rb
130
135
  - lib/aws-sdk-s3/file_part.rb
131
136
  - lib/aws-sdk-s3/file_uploader.rb
@@ -142,12 +147,14 @@ files:
142
147
  - lib/aws-sdk-s3/object_summary.rb
143
148
  - lib/aws-sdk-s3/object_version.rb
144
149
  - lib/aws-sdk-s3/plugins/accelerate.rb
150
+ - lib/aws-sdk-s3/plugins/access_grants.rb
145
151
  - lib/aws-sdk-s3/plugins/arn.rb
146
152
  - lib/aws-sdk-s3/plugins/bucket_dns.rb
147
153
  - lib/aws-sdk-s3/plugins/bucket_name_restrictions.rb
148
154
  - lib/aws-sdk-s3/plugins/dualstack.rb
149
155
  - lib/aws-sdk-s3/plugins/endpoints.rb
150
156
  - lib/aws-sdk-s3/plugins/expect_100_continue.rb
157
+ - lib/aws-sdk-s3/plugins/express_session_auth.rb
151
158
  - lib/aws-sdk-s3/plugins/get_bucket_location_fix.rb
152
159
  - lib/aws-sdk-s3/plugins/http_200_errors.rb
153
160
  - lib/aws-sdk-s3/plugins/iad_regional_endpoint.rb
@@ -165,13 +172,39 @@ files:
165
172
  - lib/aws-sdk-s3/resource.rb
166
173
  - lib/aws-sdk-s3/types.rb
167
174
  - lib/aws-sdk-s3/waiters.rb
175
+ - sig/bucket.rbs
176
+ - sig/bucket_acl.rbs
177
+ - sig/bucket_cors.rbs
178
+ - sig/bucket_lifecycle.rbs
179
+ - sig/bucket_lifecycle_configuration.rbs
180
+ - sig/bucket_logging.rbs
181
+ - sig/bucket_notification.rbs
182
+ - sig/bucket_policy.rbs
183
+ - sig/bucket_request_payment.rbs
184
+ - sig/bucket_tagging.rbs
185
+ - sig/bucket_versioning.rbs
186
+ - sig/bucket_website.rbs
187
+ - sig/client.rbs
188
+ - sig/customizations/bucket.rbs
189
+ - sig/customizations/object.rbs
190
+ - sig/customizations/object_summary.rbs
191
+ - sig/errors.rbs
192
+ - sig/multipart_upload.rbs
193
+ - sig/multipart_upload_part.rbs
194
+ - sig/object.rbs
195
+ - sig/object_acl.rbs
196
+ - sig/object_summary.rbs
197
+ - sig/object_version.rbs
198
+ - sig/resource.rbs
199
+ - sig/types.rbs
200
+ - sig/waiters.rbs
168
201
  homepage: https://github.com/aws/aws-sdk-ruby
169
202
  licenses:
170
203
  - Apache-2.0
171
204
  metadata:
172
205
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-s3
173
206
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-s3/CHANGELOG.md
174
- post_install_message:
207
+ post_install_message:
175
208
  rdoc_options: []
176
209
  require_paths:
177
210
  - lib
@@ -179,15 +212,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
179
212
  requirements:
180
213
  - - ">="
181
214
  - !ruby/object:Gem::Version
182
- version: '2.3'
215
+ version: '2.5'
183
216
  required_rubygems_version: !ruby/object:Gem::Requirement
184
217
  requirements:
185
218
  - - ">="
186
219
  - !ruby/object:Gem::Version
187
220
  version: '0'
188
221
  requirements: []
189
- rubygems_version: 3.1.6
190
- signing_key:
222
+ rubygems_version: 3.4.10
223
+ signing_key:
191
224
  specification_version: 4
192
225
  summary: AWS SDK for Ruby - Amazon S3
193
226
  test_files: []