aws-sdk-s3 1.174.0 → 1.179.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +32 -0
  3. data/VERSION +1 -1
  4. data/lib/aws-sdk-s3/bucket.rb +40 -26
  5. data/lib/aws-sdk-s3/bucket_acl.rb +5 -4
  6. data/lib/aws-sdk-s3/bucket_cors.rb +5 -4
  7. data/lib/aws-sdk-s3/bucket_lifecycle.rb +1 -1
  8. data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +2 -2
  9. data/lib/aws-sdk-s3/bucket_logging.rb +1 -1
  10. data/lib/aws-sdk-s3/bucket_policy.rb +9 -8
  11. data/lib/aws-sdk-s3/bucket_request_payment.rb +2 -2
  12. data/lib/aws-sdk-s3/bucket_tagging.rb +2 -2
  13. data/lib/aws-sdk-s3/bucket_versioning.rb +6 -6
  14. data/lib/aws-sdk-s3/bucket_website.rb +2 -2
  15. data/lib/aws-sdk-s3/client.rb +1409 -867
  16. data/lib/aws-sdk-s3/client_api.rb +128 -2
  17. data/lib/aws-sdk-s3/endpoint_provider.rb +36 -0
  18. data/lib/aws-sdk-s3/endpoints.rb +42 -0
  19. data/lib/aws-sdk-s3/file_downloader.rb +4 -21
  20. data/lib/aws-sdk-s3/multipart_file_uploader.rb +31 -13
  21. data/lib/aws-sdk-s3/multipart_upload.rb +48 -6
  22. data/lib/aws-sdk-s3/multipart_upload_part.rb +52 -36
  23. data/lib/aws-sdk-s3/object.rb +111 -59
  24. data/lib/aws-sdk-s3/object_acl.rb +4 -4
  25. data/lib/aws-sdk-s3/object_summary.rb +63 -28
  26. data/lib/aws-sdk-s3/object_version.rb +21 -8
  27. data/lib/aws-sdk-s3/plugins/checksum_algorithm.rb +31 -0
  28. data/lib/aws-sdk-s3/plugins/express_session_auth.rb +11 -20
  29. data/lib/aws-sdk-s3/plugins/md5s.rb +10 -71
  30. data/lib/aws-sdk-s3/presigner.rb +5 -5
  31. data/lib/aws-sdk-s3/resource.rb +9 -8
  32. data/lib/aws-sdk-s3/types.rb +1264 -528
  33. data/lib/aws-sdk-s3.rb +1 -1
  34. data/sig/bucket.rbs +5 -4
  35. data/sig/bucket_acl.rbs +1 -1
  36. data/sig/bucket_cors.rbs +1 -1
  37. data/sig/bucket_lifecycle.rbs +1 -1
  38. data/sig/bucket_lifecycle_configuration.rbs +1 -1
  39. data/sig/bucket_logging.rbs +1 -1
  40. data/sig/bucket_policy.rbs +1 -1
  41. data/sig/bucket_request_payment.rbs +1 -1
  42. data/sig/bucket_tagging.rbs +1 -1
  43. data/sig/bucket_versioning.rbs +3 -3
  44. data/sig/bucket_website.rbs +1 -1
  45. data/sig/client.rbs +85 -31
  46. data/sig/multipart_upload.rbs +8 -1
  47. data/sig/multipart_upload_part.rbs +5 -1
  48. data/sig/object.rbs +13 -5
  49. data/sig/object_acl.rbs +1 -1
  50. data/sig/object_summary.rbs +11 -6
  51. data/sig/object_version.rbs +5 -2
  52. data/sig/resource.rbs +4 -2
  53. data/sig/types.rbs +126 -34
  54. metadata +5 -5
  55. data/lib/aws-sdk-s3/plugins/skip_whole_multipart_get_checksums.rb +0 -31
data/lib/aws-sdk-s3.rb CHANGED
@@ -75,7 +75,7 @@ module Aws::S3
75
75
  autoload :ObjectVersion, 'aws-sdk-s3/object_version'
76
76
  autoload :EventStreams, 'aws-sdk-s3/event_streams'
77
77
 
78
- GEM_VERSION = '1.174.0'
78
+ GEM_VERSION = '1.179.0'
79
79
 
80
80
  end
81
81
 
data/sig/bucket.rbs CHANGED
@@ -50,11 +50,11 @@ module Aws
50
50
  ?create_bucket_configuration: {
51
51
  location_constraint: ("af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-south-2" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-3" | "ca-central-1" | "cn-north-1" | "cn-northwest-1" | "EU" | "eu-central-1" | "eu-north-1" | "eu-south-1" | "eu-south-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "me-south-1" | "sa-east-1" | "us-east-2" | "us-gov-east-1" | "us-gov-west-1" | "us-west-1" | "us-west-2")?,
52
52
  location: {
53
- type: ("AvailabilityZone")?,
53
+ type: ("AvailabilityZone" | "LocalZone")?,
54
54
  name: ::String?
55
55
  }?,
56
56
  bucket: {
57
- data_redundancy: ("SingleAvailabilityZone")?,
57
+ data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")?,
58
58
  type: ("Directory")?
59
59
  }?
60
60
  },
@@ -92,7 +92,7 @@ module Aws
92
92
  ?request_payer: ("requester"),
93
93
  ?bypass_governance_retention: bool,
94
94
  ?expected_bucket_owner: ::String,
95
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
95
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
96
96
  ) -> Types::DeleteObjectsOutput
97
97
  | (?Hash[Symbol, untyped]) -> Types::DeleteObjectsOutput
98
98
 
@@ -107,9 +107,10 @@ module Aws
107
107
  ?content_length: ::Integer,
108
108
  ?content_md5: ::String,
109
109
  ?content_type: ::String,
110
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
110
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
111
111
  ?checksum_crc32: ::String,
112
112
  ?checksum_crc32c: ::String,
113
+ ?checksum_crc64nvme: ::String,
113
114
  ?checksum_sha1: ::String,
114
115
  ?checksum_sha256: ::String,
115
116
  ?expires: ::Time,
data/sig/bucket_acl.rbs CHANGED
@@ -58,7 +58,7 @@ module Aws
58
58
  }?
59
59
  },
60
60
  ?content_md5: ::String,
61
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
61
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
62
62
  ?grant_full_control: ::String,
63
63
  ?grant_read: ::String,
64
64
  ?grant_read_acp: ::String,
data/sig/bucket_cors.rbs CHANGED
@@ -54,7 +54,7 @@ module Aws
54
54
  ]
55
55
  },
56
56
  ?content_md5: ::String,
57
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
57
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
58
58
  ?expected_bucket_owner: ::String
59
59
  ) -> ::Aws::EmptyStructure
60
60
  | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
@@ -42,7 +42,7 @@ module Aws
42
42
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/BucketLifecycle.html#put-instance_method
43
43
  def put: (
44
44
  ?content_md5: ::String,
45
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
45
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
46
46
  ?lifecycle_configuration: {
47
47
  rules: Array[
48
48
  {
@@ -44,7 +44,7 @@ module Aws
44
44
 
45
45
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/BucketLifecycleConfiguration.html#put-instance_method
46
46
  def put: (
47
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
47
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
48
48
  ?lifecycle_configuration: {
49
49
  rules: Array[
50
50
  {
@@ -61,7 +61,7 @@ module Aws
61
61
  }?
62
62
  },
63
63
  ?content_md5: ::String,
64
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
64
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
65
65
  ?expected_bucket_owner: ::String
66
66
  ) -> ::Aws::EmptyStructure
67
67
  | (?Hash[Symbol, untyped]) -> ::Aws::EmptyStructure
@@ -42,7 +42,7 @@ module Aws
42
42
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/BucketPolicy.html#put-instance_method
43
43
  def put: (
44
44
  ?content_md5: ::String,
45
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
45
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
46
46
  ?confirm_remove_self_bucket_access: bool,
47
47
  policy: ::String,
48
48
  ?expected_bucket_owner: ::String
@@ -36,7 +36,7 @@ module Aws
36
36
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/BucketRequestPayment.html#put-instance_method
37
37
  def put: (
38
38
  ?content_md5: ::String,
39
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
39
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
40
40
  request_payment_configuration: {
41
41
  payer: ("Requester" | "BucketOwner")
42
42
  },
@@ -42,7 +42,7 @@ module Aws
42
42
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/BucketTagging.html#put-instance_method
43
43
  def put: (
44
44
  ?content_md5: ::String,
45
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
45
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
46
46
  tagging: {
47
47
  tag_set: Array[
48
48
  {
@@ -39,7 +39,7 @@ module Aws
39
39
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/BucketVersioning.html#enable-instance_method
40
40
  def enable: (
41
41
  ?content_md5: ::String,
42
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
42
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
43
43
  ?mfa: ::String,
44
44
  ?expected_bucket_owner: ::String
45
45
  ) -> ::Aws::EmptyStructure
@@ -48,7 +48,7 @@ module Aws
48
48
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/BucketVersioning.html#put-instance_method
49
49
  def put: (
50
50
  ?content_md5: ::String,
51
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
51
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
52
52
  ?mfa: ::String,
53
53
  versioning_configuration: {
54
54
  mfa_delete: ("Enabled" | "Disabled")?,
@@ -61,7 +61,7 @@ module Aws
61
61
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/BucketVersioning.html#suspend-instance_method
62
62
  def suspend: (
63
63
  ?content_md5: ::String,
64
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
64
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
65
65
  ?mfa: ::String,
66
66
  ?expected_bucket_owner: ::String
67
67
  ) -> ::Aws::EmptyStructure
@@ -51,7 +51,7 @@ module Aws
51
51
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/BucketWebsite.html#put-instance_method
52
52
  def put: (
53
53
  ?content_md5: ::String,
54
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
54
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
55
55
  website_configuration: {
56
56
  error_document: {
57
57
  key: ::String
data/sig/client.rbs CHANGED
@@ -49,8 +49,10 @@ module Aws
49
49
  ?max_attempts: Integer,
50
50
  ?output_event_stream_handler: Proc,
51
51
  ?profile: String,
52
+ ?request_checksum_calculation: String,
52
53
  ?request_min_compression_size_bytes: Integer,
53
54
  ?require_https_for_sse_cpk: bool,
55
+ ?response_checksum_validation: String,
54
56
  ?retry_backoff: Proc,
55
57
  ?retry_base_delay: Float,
56
58
  ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
@@ -114,8 +116,10 @@ module Aws
114
116
  def etag: () -> ::String
115
117
  def checksum_crc32: () -> ::String
116
118
  def checksum_crc32c: () -> ::String
119
+ def checksum_crc64nvme: () -> ::String
117
120
  def checksum_sha1: () -> ::String
118
121
  def checksum_sha256: () -> ::String
122
+ def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
119
123
  def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
120
124
  def version_id: () -> ::String
121
125
  def ssekms_key_id: () -> ::String
@@ -132,6 +136,7 @@ module Aws
132
136
  etag: ::String?,
133
137
  checksum_crc32: ::String?,
134
138
  checksum_crc32c: ::String?,
139
+ checksum_crc64nvme: ::String?,
135
140
  checksum_sha1: ::String?,
136
141
  checksum_sha256: ::String?,
137
142
  part_number: ::Integer?
@@ -141,8 +146,11 @@ module Aws
141
146
  upload_id: ::String,
142
147
  ?checksum_crc32: ::String,
143
148
  ?checksum_crc32c: ::String,
149
+ ?checksum_crc64nvme: ::String,
144
150
  ?checksum_sha1: ::String,
145
151
  ?checksum_sha256: ::String,
152
+ ?checksum_type: ("COMPOSITE" | "FULL_OBJECT"),
153
+ ?mpu_object_size: ::Integer,
146
154
  ?request_payer: ("requester"),
147
155
  ?expected_bucket_owner: ::String,
148
156
  ?if_match: ::String,
@@ -172,7 +180,7 @@ module Aws
172
180
  ?acl: ("private" | "public-read" | "public-read-write" | "authenticated-read" | "aws-exec-read" | "bucket-owner-read" | "bucket-owner-full-control"),
173
181
  bucket: ::String,
174
182
  ?cache_control: ::String,
175
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
183
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
176
184
  ?content_disposition: ::String,
177
185
  ?content_encoding: ::String,
178
186
  ?content_language: ::String,
@@ -224,11 +232,11 @@ module Aws
224
232
  ?create_bucket_configuration: {
225
233
  location_constraint: ("af-south-1" | "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-northeast-3" | "ap-south-1" | "ap-south-2" | "ap-southeast-1" | "ap-southeast-2" | "ap-southeast-3" | "ca-central-1" | "cn-north-1" | "cn-northwest-1" | "EU" | "eu-central-1" | "eu-north-1" | "eu-south-1" | "eu-south-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "me-south-1" | "sa-east-1" | "us-east-2" | "us-gov-east-1" | "us-gov-west-1" | "us-west-1" | "us-west-2")?,
226
234
  location: {
227
- type: ("AvailabilityZone")?,
235
+ type: ("AvailabilityZone" | "LocalZone")?,
228
236
  name: ::String?
229
237
  }?,
230
238
  bucket: {
231
- data_redundancy: ("SingleAvailabilityZone")?,
239
+ data_redundancy: ("SingleAvailabilityZone" | "SingleLocalZone")?,
232
240
  type: ("Directory")?
233
241
  }?
234
242
  },
@@ -242,6 +250,21 @@ module Aws
242
250
  ) -> _CreateBucketResponseSuccess
243
251
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBucketResponseSuccess
244
252
 
253
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_bucket_metadata_table_configuration-instance_method
254
+ def create_bucket_metadata_table_configuration: (
255
+ bucket: ::String,
256
+ ?content_md5: ::String,
257
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
258
+ metadata_table_configuration: {
259
+ s3_tables_destination: {
260
+ table_bucket_arn: ::String,
261
+ table_name: ::String
262
+ }
263
+ },
264
+ ?expected_bucket_owner: ::String
265
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
266
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
267
+
245
268
  interface _CreateMultipartUploadResponseSuccess
246
269
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateMultipartUploadOutput]
247
270
  def abort_date: () -> ::Time
@@ -256,7 +279,8 @@ module Aws
256
279
  def ssekms_encryption_context: () -> ::String
257
280
  def bucket_key_enabled: () -> bool
258
281
  def request_charged: () -> ("requester")
259
- def checksum_algorithm: () -> ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
282
+ def checksum_algorithm: () -> ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
283
+ def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
260
284
  end
261
285
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_multipart_upload-instance_method
262
286
  def create_multipart_upload: (
@@ -289,7 +313,8 @@ module Aws
289
313
  ?object_lock_retain_until_date: ::Time,
290
314
  ?object_lock_legal_hold_status: ("ON" | "OFF"),
291
315
  ?expected_bucket_owner: ::String,
292
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
316
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
317
+ ?checksum_type: ("COMPOSITE" | "FULL_OBJECT")
293
318
  ) -> _CreateMultipartUploadResponseSuccess
294
319
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMultipartUploadResponseSuccess
295
320
 
@@ -363,6 +388,13 @@ module Aws
363
388
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
364
389
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
365
390
 
391
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_metadata_table_configuration-instance_method
392
+ def delete_bucket_metadata_table_configuration: (
393
+ bucket: ::String,
394
+ ?expected_bucket_owner: ::String
395
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
396
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
397
+
366
398
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#delete_bucket_metrics_configuration-instance_method
367
399
  def delete_bucket_metrics_configuration: (
368
400
  bucket: ::String,
@@ -465,7 +497,7 @@ module Aws
465
497
  ?request_payer: ("requester"),
466
498
  ?bypass_governance_retention: bool,
467
499
  ?expected_bucket_owner: ::String,
468
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
500
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
469
501
  ) -> _DeleteObjectsResponseSuccess
470
502
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteObjectsResponseSuccess
471
503
 
@@ -603,6 +635,17 @@ module Aws
603
635
  ) -> _GetBucketLoggingResponseSuccess
604
636
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketLoggingResponseSuccess
605
637
 
638
+ interface _GetBucketMetadataTableConfigurationResponseSuccess
639
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketMetadataTableConfigurationOutput]
640
+ def get_bucket_metadata_table_configuration_result: () -> Types::GetBucketMetadataTableConfigurationResult
641
+ end
642
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#get_bucket_metadata_table_configuration-instance_method
643
+ def get_bucket_metadata_table_configuration: (
644
+ bucket: ::String,
645
+ ?expected_bucket_owner: ::String
646
+ ) -> _GetBucketMetadataTableConfigurationResponseSuccess
647
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBucketMetadataTableConfigurationResponseSuccess
648
+
606
649
  interface _GetBucketMetricsConfigurationResponseSuccess
607
650
  include ::Seahorse::Client::_ResponseSuccess[Types::GetBucketMetricsConfigurationOutput]
608
651
  def metrics_configuration: () -> Types::MetricsConfiguration
@@ -746,8 +789,10 @@ module Aws
746
789
  def etag: () -> ::String
747
790
  def checksum_crc32: () -> ::String
748
791
  def checksum_crc32c: () -> ::String
792
+ def checksum_crc64nvme: () -> ::String
749
793
  def checksum_sha1: () -> ::String
750
794
  def checksum_sha256: () -> ::String
795
+ def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
751
796
  def missing_meta: () -> ::Integer
752
797
  def version_id: () -> ::String
753
798
  def cache_control: () -> ::String
@@ -925,7 +970,7 @@ module Aws
925
970
 
926
971
  interface _HeadBucketResponseSuccess
927
972
  include ::Seahorse::Client::_ResponseSuccess[Types::HeadBucketOutput]
928
- def bucket_location_type: () -> ("AvailabilityZone")
973
+ def bucket_location_type: () -> ("AvailabilityZone" | "LocalZone")
929
974
  def bucket_location_name: () -> ::String
930
975
  def bucket_region: () -> ::String
931
976
  def access_point_alias: () -> bool
@@ -948,8 +993,10 @@ module Aws
948
993
  def content_length: () -> ::Integer
949
994
  def checksum_crc32: () -> ::String
950
995
  def checksum_crc32c: () -> ::String
996
+ def checksum_crc64nvme: () -> ::String
951
997
  def checksum_sha1: () -> ::String
952
998
  def checksum_sha256: () -> ::String
999
+ def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
953
1000
  def etag: () -> ::String
954
1001
  def missing_meta: () -> ::Integer
955
1002
  def version_id: () -> ::String
@@ -1226,7 +1273,8 @@ module Aws
1226
1273
  def owner: () -> Types::Owner
1227
1274
  def storage_class: () -> ("STANDARD" | "REDUCED_REDUNDANCY" | "STANDARD_IA" | "ONEZONE_IA" | "INTELLIGENT_TIERING" | "GLACIER" | "DEEP_ARCHIVE" | "OUTPOSTS" | "GLACIER_IR" | "SNOW" | "EXPRESS_ONEZONE")
1228
1275
  def request_charged: () -> ("requester")
1229
- def checksum_algorithm: () -> ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
1276
+ def checksum_algorithm: () -> ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
1277
+ def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
1230
1278
  end
1231
1279
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#list_parts-instance_method
1232
1280
  def list_parts: (
@@ -1250,7 +1298,7 @@ module Aws
1250
1298
  status: ("Enabled" | "Suspended")?
1251
1299
  },
1252
1300
  ?expected_bucket_owner: ::String,
1253
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
1301
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
1254
1302
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1255
1303
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1256
1304
 
@@ -1277,7 +1325,7 @@ module Aws
1277
1325
  },
1278
1326
  bucket: ::String,
1279
1327
  ?content_md5: ::String,
1280
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1328
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1281
1329
  ?grant_full_control: ::String,
1282
1330
  ?grant_read: ::String,
1283
1331
  ?grant_read_acp: ::String,
@@ -1343,7 +1391,7 @@ module Aws
1343
1391
  ]
1344
1392
  },
1345
1393
  ?content_md5: ::String,
1346
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1394
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1347
1395
  ?expected_bucket_owner: ::String
1348
1396
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1349
1397
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
@@ -1352,7 +1400,7 @@ module Aws
1352
1400
  def put_bucket_encryption: (
1353
1401
  bucket: ::String,
1354
1402
  ?content_md5: ::String,
1355
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1403
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1356
1404
  server_side_encryption_configuration: {
1357
1405
  rules: Array[
1358
1406
  {
@@ -1440,7 +1488,7 @@ module Aws
1440
1488
  def put_bucket_lifecycle: (
1441
1489
  bucket: ::String,
1442
1490
  ?content_md5: ::String,
1443
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1491
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1444
1492
  ?lifecycle_configuration: {
1445
1493
  rules: Array[
1446
1494
  {
@@ -1483,7 +1531,7 @@ module Aws
1483
1531
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#put_bucket_lifecycle_configuration-instance_method
1484
1532
  def put_bucket_lifecycle_configuration: (
1485
1533
  bucket: ::String,
1486
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1534
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1487
1535
  ?lifecycle_configuration: {
1488
1536
  rules: Array[
1489
1537
  {
@@ -1573,7 +1621,7 @@ module Aws
1573
1621
  }?
1574
1622
  },
1575
1623
  ?content_md5: ::String,
1576
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1624
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1577
1625
  ?expected_bucket_owner: ::String
1578
1626
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1579
1627
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
@@ -1611,7 +1659,7 @@ module Aws
1611
1659
  def put_bucket_notification: (
1612
1660
  bucket: ::String,
1613
1661
  ?content_md5: ::String,
1614
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1662
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1615
1663
  notification_configuration: {
1616
1664
  topic_configuration: {
1617
1665
  id: ::String?,
@@ -1719,7 +1767,7 @@ module Aws
1719
1767
  def put_bucket_policy: (
1720
1768
  bucket: ::String,
1721
1769
  ?content_md5: ::String,
1722
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1770
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1723
1771
  ?confirm_remove_self_bucket_access: bool,
1724
1772
  policy: ::String,
1725
1773
  ?expected_bucket_owner: ::String
@@ -1730,7 +1778,7 @@ module Aws
1730
1778
  def put_bucket_replication: (
1731
1779
  bucket: ::String,
1732
1780
  ?content_md5: ::String,
1733
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1781
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1734
1782
  replication_configuration: {
1735
1783
  role: ::String,
1736
1784
  rules: Array[
@@ -1804,7 +1852,7 @@ module Aws
1804
1852
  def put_bucket_request_payment: (
1805
1853
  bucket: ::String,
1806
1854
  ?content_md5: ::String,
1807
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1855
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1808
1856
  request_payment_configuration: {
1809
1857
  payer: ("Requester" | "BucketOwner")
1810
1858
  },
@@ -1816,7 +1864,7 @@ module Aws
1816
1864
  def put_bucket_tagging: (
1817
1865
  bucket: ::String,
1818
1866
  ?content_md5: ::String,
1819
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1867
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1820
1868
  tagging: {
1821
1869
  tag_set: Array[
1822
1870
  {
@@ -1833,7 +1881,7 @@ module Aws
1833
1881
  def put_bucket_versioning: (
1834
1882
  bucket: ::String,
1835
1883
  ?content_md5: ::String,
1836
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1884
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1837
1885
  ?mfa: ::String,
1838
1886
  versioning_configuration: {
1839
1887
  mfa_delete: ("Enabled" | "Disabled")?,
@@ -1847,7 +1895,7 @@ module Aws
1847
1895
  def put_bucket_website: (
1848
1896
  bucket: ::String,
1849
1897
  ?content_md5: ::String,
1850
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1898
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1851
1899
  website_configuration: {
1852
1900
  error_document: {
1853
1901
  key: ::String
@@ -1885,8 +1933,10 @@ module Aws
1885
1933
  def etag: () -> ::String
1886
1934
  def checksum_crc32: () -> ::String
1887
1935
  def checksum_crc32c: () -> ::String
1936
+ def checksum_crc64nvme: () -> ::String
1888
1937
  def checksum_sha1: () -> ::String
1889
1938
  def checksum_sha256: () -> ::String
1939
+ def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
1890
1940
  def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
1891
1941
  def version_id: () -> ::String
1892
1942
  def sse_customer_algorithm: () -> ::String
@@ -1909,9 +1959,10 @@ module Aws
1909
1959
  ?content_length: ::Integer,
1910
1960
  ?content_md5: ::String,
1911
1961
  ?content_type: ::String,
1912
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
1962
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1913
1963
  ?checksum_crc32: ::String,
1914
1964
  ?checksum_crc32c: ::String,
1965
+ ?checksum_crc64nvme: ::String,
1915
1966
  ?checksum_sha1: ::String,
1916
1967
  ?checksum_sha256: ::String,
1917
1968
  ?expires: ::Time,
@@ -1969,7 +2020,7 @@ module Aws
1969
2020
  },
1970
2021
  bucket: ::String,
1971
2022
  ?content_md5: ::String,
1972
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2023
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
1973
2024
  ?grant_full_control: ::String,
1974
2025
  ?grant_read: ::String,
1975
2026
  ?grant_read_acp: ::String,
@@ -1996,7 +2047,7 @@ module Aws
1996
2047
  ?request_payer: ("requester"),
1997
2048
  ?version_id: ::String,
1998
2049
  ?content_md5: ::String,
1999
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2050
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
2000
2051
  ?expected_bucket_owner: ::String
2001
2052
  ) -> _PutObjectLegalHoldResponseSuccess
2002
2053
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutObjectLegalHoldResponseSuccess
@@ -2021,7 +2072,7 @@ module Aws
2021
2072
  ?request_payer: ("requester"),
2022
2073
  ?token: ::String,
2023
2074
  ?content_md5: ::String,
2024
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2075
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
2025
2076
  ?expected_bucket_owner: ::String
2026
2077
  ) -> _PutObjectLockConfigurationResponseSuccess
2027
2078
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutObjectLockConfigurationResponseSuccess
@@ -2042,7 +2093,7 @@ module Aws
2042
2093
  ?version_id: ::String,
2043
2094
  ?bypass_governance_retention: bool,
2044
2095
  ?content_md5: ::String,
2045
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2096
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
2046
2097
  ?expected_bucket_owner: ::String
2047
2098
  ) -> _PutObjectRetentionResponseSuccess
2048
2099
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutObjectRetentionResponseSuccess
@@ -2057,7 +2108,7 @@ module Aws
2057
2108
  key: ::String,
2058
2109
  ?version_id: ::String,
2059
2110
  ?content_md5: ::String,
2060
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2111
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
2061
2112
  tagging: {
2062
2113
  tag_set: Array[
2063
2114
  {
@@ -2075,7 +2126,7 @@ module Aws
2075
2126
  def put_public_access_block: (
2076
2127
  bucket: ::String,
2077
2128
  ?content_md5: ::String,
2078
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2129
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
2079
2130
  public_access_block_configuration: {
2080
2131
  block_public_acls: bool?,
2081
2132
  ignore_public_acls: bool?,
@@ -2178,7 +2229,7 @@ module Aws
2178
2229
  }?
2179
2230
  },
2180
2231
  ?request_payer: ("requester"),
2181
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2232
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
2182
2233
  ?expected_bucket_owner: ::String
2183
2234
  ) -> _RestoreObjectResponseSuccess
2184
2235
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreObjectResponseSuccess
@@ -2242,6 +2293,7 @@ module Aws
2242
2293
  def etag: () -> ::String
2243
2294
  def checksum_crc32: () -> ::String
2244
2295
  def checksum_crc32c: () -> ::String
2296
+ def checksum_crc64nvme: () -> ::String
2245
2297
  def checksum_sha1: () -> ::String
2246
2298
  def checksum_sha256: () -> ::String
2247
2299
  def sse_customer_algorithm: () -> ::String
@@ -2256,9 +2308,10 @@ module Aws
2256
2308
  bucket: ::String,
2257
2309
  ?content_length: ::Integer,
2258
2310
  ?content_md5: ::String,
2259
- ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256"),
2311
+ ?checksum_algorithm: ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME"),
2260
2312
  ?checksum_crc32: ::String,
2261
2313
  ?checksum_crc32c: ::String,
2314
+ ?checksum_crc64nvme: ::String,
2262
2315
  ?checksum_sha1: ::String,
2263
2316
  ?checksum_sha256: ::String,
2264
2317
  key: ::String,
@@ -2325,6 +2378,7 @@ module Aws
2325
2378
  ?content_type: ::String,
2326
2379
  ?checksum_crc32: ::String,
2327
2380
  ?checksum_crc32c: ::String,
2381
+ ?checksum_crc64nvme: ::String,
2328
2382
  ?checksum_sha1: ::String,
2329
2383
  ?checksum_sha256: ::String,
2330
2384
  ?delete_marker: bool,
@@ -42,7 +42,10 @@ module Aws
42
42
  def initiator: () -> Types::Initiator
43
43
 
44
44
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUpload.html#checksum_algorithm-instance_method
45
- def checksum_algorithm: () -> ("CRC32" | "CRC32C" | "SHA1" | "SHA256")
45
+ def checksum_algorithm: () -> ("CRC32" | "CRC32C" | "SHA1" | "SHA256" | "CRC64NVME")
46
+
47
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/MultipartUpload.html#checksum_type-instance_method
48
+ def checksum_type: () -> ("COMPOSITE" | "FULL_OBJECT")
46
49
 
47
50
  def client: () -> Client
48
51
 
@@ -70,6 +73,7 @@ module Aws
70
73
  etag: ::String?,
71
74
  checksum_crc32: ::String?,
72
75
  checksum_crc32c: ::String?,
76
+ checksum_crc64nvme: ::String?,
73
77
  checksum_sha1: ::String?,
74
78
  checksum_sha256: ::String?,
75
79
  part_number: ::Integer?
@@ -78,8 +82,11 @@ module Aws
78
82
  },
79
83
  ?checksum_crc32: ::String,
80
84
  ?checksum_crc32c: ::String,
85
+ ?checksum_crc64nvme: ::String,
81
86
  ?checksum_sha1: ::String,
82
87
  ?checksum_sha256: ::String,
88
+ ?checksum_type: ("COMPOSITE" | "FULL_OBJECT"),
89
+ ?mpu_object_size: ::Integer,
83
90
  ?request_payer: ("requester"),
84
91
  ?expected_bucket_owner: ::String,
85
92
  ?if_match: ::String,