aws-sdk-s3 1.109.0 → 1.114.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 (36) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +50 -0
  3. data/VERSION +1 -1
  4. data/lib/aws-sdk-s3/bucket.rb +96 -17
  5. data/lib/aws-sdk-s3/bucket_acl.rb +18 -2
  6. data/lib/aws-sdk-s3/bucket_cors.rb +20 -4
  7. data/lib/aws-sdk-s3/bucket_lifecycle.rb +20 -4
  8. data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +20 -4
  9. data/lib/aws-sdk-s3/bucket_logging.rb +18 -2
  10. data/lib/aws-sdk-s3/bucket_notification.rb +2 -2
  11. data/lib/aws-sdk-s3/bucket_policy.rb +20 -4
  12. data/lib/aws-sdk-s3/bucket_request_payment.rb +18 -2
  13. data/lib/aws-sdk-s3/bucket_tagging.rb +20 -4
  14. data/lib/aws-sdk-s3/bucket_versioning.rb +54 -6
  15. data/lib/aws-sdk-s3/bucket_website.rb +20 -4
  16. data/lib/aws-sdk-s3/client.rb +1760 -638
  17. data/lib/aws-sdk-s3/client_api.rb +371 -21
  18. data/lib/aws-sdk-s3/customizations/object.rb +2 -2
  19. data/lib/aws-sdk-s3/file_downloader.rb +1 -1
  20. data/lib/aws-sdk-s3/file_uploader.rb +5 -0
  21. data/lib/aws-sdk-s3/multipart_file_uploader.rb +26 -7
  22. data/lib/aws-sdk-s3/multipart_upload.rb +126 -12
  23. data/lib/aws-sdk-s3/multipart_upload_part.rb +132 -13
  24. data/lib/aws-sdk-s3/object.rb +245 -73
  25. data/lib/aws-sdk-s3/object_acl.rb +20 -4
  26. data/lib/aws-sdk-s3/object_summary.rb +166 -42
  27. data/lib/aws-sdk-s3/object_version.rb +64 -38
  28. data/lib/aws-sdk-s3/plugins/iad_regional_endpoint.rb +6 -0
  29. data/lib/aws-sdk-s3/plugins/md5s.rb +5 -3
  30. data/lib/aws-sdk-s3/plugins/s3_signer.rb +6 -1
  31. data/lib/aws-sdk-s3/plugins/skip_whole_multipart_get_checksums.rb +31 -0
  32. data/lib/aws-sdk-s3/plugins/streaming_retry.rb +23 -2
  33. data/lib/aws-sdk-s3/presigned_post.rb +38 -19
  34. data/lib/aws-sdk-s3/types.rb +2250 -484
  35. data/lib/aws-sdk-s3.rb +1 -1
  36. metadata +5 -4
@@ -78,12 +78,12 @@ module Aws::S3
78
78
  #
79
79
  # When using this action with Amazon S3 on Outposts, you must direct
80
80
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
81
- # takes the form
82
- # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
83
- # When using this action using S3 on Outposts through the Amazon Web
81
+ # takes the form `
82
+ # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
83
+ # When using this action with S3 on Outposts through the Amazon Web
84
84
  # Services SDKs, you provide the Outposts bucket ARN in place of the
85
85
  # bucket name. For more information about S3 on Outposts ARNs, see
86
- # [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
86
+ # [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
87
87
  #
88
88
  #
89
89
  #
@@ -102,8 +102,8 @@ module Aws::S3
102
102
  # @!attribute [rw] request_payer
103
103
  # Confirms that the requester knows that they will be charged for the
104
104
  # request. Bucket owners need not specify this parameter in their
105
- # requests. For information about downloading objects from requester
106
- # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
105
+ # requests. For information about downloading objects from Requester
106
+ # Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
107
107
  # in the *Amazon S3 User Guide*.
108
108
  #
109
109
  #
@@ -113,8 +113,8 @@ module Aws::S3
113
113
  #
114
114
  # @!attribute [rw] expected_bucket_owner
115
115
  # The account ID of the expected bucket owner. If the bucket is owned
116
- # by a different account, the request will fail with an HTTP `403
117
- # (Access Denied)` error.
116
+ # by a different account, the request fails with the HTTP status code
117
+ # `403 Forbidden` (access denied).
118
118
  # @return [String]
119
119
  #
120
120
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/AbortMultipartUploadRequest AWS API Documentation
@@ -747,8 +747,8 @@ module Aws::S3
747
747
  #
748
748
  # @!attribute [rw] quote_escape_character
749
749
  # A single character used for escaping the quotation mark character
750
- # inside an already escaped value. For example, the value """ a , b
751
- # """ is parsed as " a , b ".
750
+ # inside an already escaped value. For example, the value `""" a , b
751
+ # """` is parsed as `" a , b "`.
752
752
  # @return [String]
753
753
  #
754
754
  # @!attribute [rw] record_delimiter
@@ -850,6 +850,71 @@ module Aws::S3
850
850
  include Aws::Structure
851
851
  end
852
852
 
853
+ # Contains all the possible checksum or digest values for an object.
854
+ #
855
+ # @!attribute [rw] checksum_crc32
856
+ # The base64-encoded, 32-bit CRC32 checksum of the object. This will
857
+ # only be present if it was uploaded with the object. With multipart
858
+ # uploads, this may not be a checksum value of the object. For more
859
+ # information about how checksums are calculated with multipart
860
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
861
+ # Guide*.
862
+ #
863
+ #
864
+ #
865
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
866
+ # @return [String]
867
+ #
868
+ # @!attribute [rw] checksum_crc32c
869
+ # The base64-encoded, 32-bit CRC32C checksum of the object. This will
870
+ # only be present if it was uploaded with the object. With multipart
871
+ # uploads, this may not be a checksum value of the object. For more
872
+ # information about how checksums are calculated with multipart
873
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
874
+ # Guide*.
875
+ #
876
+ #
877
+ #
878
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
879
+ # @return [String]
880
+ #
881
+ # @!attribute [rw] checksum_sha1
882
+ # The base64-encoded, 160-bit SHA-1 digest of the object. This will
883
+ # only be present if it was uploaded with the object. With multipart
884
+ # uploads, this may not be a checksum value of the object. For more
885
+ # information about how checksums are calculated with multipart
886
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
887
+ # Guide*.
888
+ #
889
+ #
890
+ #
891
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
892
+ # @return [String]
893
+ #
894
+ # @!attribute [rw] checksum_sha256
895
+ # The base64-encoded, 256-bit SHA-256 digest of the object. This will
896
+ # only be present if it was uploaded with the object. With multipart
897
+ # uploads, this may not be a checksum value of the object. For more
898
+ # information about how checksums are calculated with multipart
899
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
900
+ # Guide*.
901
+ #
902
+ #
903
+ #
904
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
905
+ # @return [String]
906
+ #
907
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Checksum AWS API Documentation
908
+ #
909
+ class Checksum < Struct.new(
910
+ :checksum_crc32,
911
+ :checksum_crc32c,
912
+ :checksum_sha1,
913
+ :checksum_sha256)
914
+ SENSITIVE = []
915
+ include Aws::Structure
916
+ end
917
+
853
918
  # Container for specifying the Lambda notification configuration.
854
919
  #
855
920
  # @note When making an API call, you may pass CloudFunctionConfiguration
@@ -935,12 +1000,12 @@ module Aws::S3
935
1000
  #
936
1001
  # When using this action with Amazon S3 on Outposts, you must direct
937
1002
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
938
- # takes the form
939
- # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
940
- # When using this action using S3 on Outposts through the Amazon Web
1003
+ # takes the form `
1004
+ # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
1005
+ # When using this action with S3 on Outposts through the Amazon Web
941
1006
  # Services SDKs, you provide the Outposts bucket ARN in place of the
942
1007
  # bucket name. For more information about S3 on Outposts ARNs, see
943
- # [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
1008
+ # [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
944
1009
  #
945
1010
  #
946
1011
  #
@@ -954,8 +1019,8 @@ module Aws::S3
954
1019
  #
955
1020
  # @!attribute [rw] expiration
956
1021
  # If the object expiration is configured, this will contain the
957
- # expiration date (expiry-date) and rule ID (rule-id). The value of
958
- # rule-id is URL encoded.
1022
+ # expiration date (`expiry-date`) and rule ID (`rule-id`). The value
1023
+ # of `rule-id` is URL-encoded.
959
1024
  # @return [String]
960
1025
  #
961
1026
  # @!attribute [rw] etag
@@ -965,7 +1030,65 @@ module Aws::S3
965
1030
  # MD5 digest of the object data. If the entity tag is not an MD5
966
1031
  # digest of the object data, it will contain one or more
967
1032
  # nonhexadecimal characters and/or will consist of less than 32 or
968
- # more than 32 hexadecimal digits.
1033
+ # more than 32 hexadecimal digits. For more information about how the
1034
+ # entity tag is calculated, see [Checking object integrity][1] in the
1035
+ # *Amazon S3 User Guide*.
1036
+ #
1037
+ #
1038
+ #
1039
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
1040
+ # @return [String]
1041
+ #
1042
+ # @!attribute [rw] checksum_crc32
1043
+ # The base64-encoded, 32-bit CRC32 checksum of the object. This will
1044
+ # only be present if it was uploaded with the object. With multipart
1045
+ # uploads, this may not be a checksum value of the object. For more
1046
+ # information about how checksums are calculated with multipart
1047
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
1048
+ # Guide*.
1049
+ #
1050
+ #
1051
+ #
1052
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
1053
+ # @return [String]
1054
+ #
1055
+ # @!attribute [rw] checksum_crc32c
1056
+ # The base64-encoded, 32-bit CRC32C checksum of the object. This will
1057
+ # only be present if it was uploaded with the object. With multipart
1058
+ # uploads, this may not be a checksum value of the object. For more
1059
+ # information about how checksums are calculated with multipart
1060
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
1061
+ # Guide*.
1062
+ #
1063
+ #
1064
+ #
1065
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
1066
+ # @return [String]
1067
+ #
1068
+ # @!attribute [rw] checksum_sha1
1069
+ # The base64-encoded, 160-bit SHA-1 digest of the object. This will
1070
+ # only be present if it was uploaded with the object. With multipart
1071
+ # uploads, this may not be a checksum value of the object. For more
1072
+ # information about how checksums are calculated with multipart
1073
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
1074
+ # Guide*.
1075
+ #
1076
+ #
1077
+ #
1078
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
1079
+ # @return [String]
1080
+ #
1081
+ # @!attribute [rw] checksum_sha256
1082
+ # The base64-encoded, 256-bit SHA-256 digest of the object. This will
1083
+ # only be present if it was uploaded with the object. With multipart
1084
+ # uploads, this may not be a checksum value of the object. For more
1085
+ # information about how checksums are calculated with multipart
1086
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
1087
+ # Guide*.
1088
+ #
1089
+ #
1090
+ #
1091
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
969
1092
  # @return [String]
970
1093
  #
971
1094
  # @!attribute [rw] server_side_encryption
@@ -1005,6 +1128,10 @@ module Aws::S3
1005
1128
  :key,
1006
1129
  :expiration,
1007
1130
  :etag,
1131
+ :checksum_crc32,
1132
+ :checksum_crc32c,
1133
+ :checksum_sha1,
1134
+ :checksum_sha256,
1008
1135
  :server_side_encryption,
1009
1136
  :version_id,
1010
1137
  :ssekms_key_id,
@@ -1024,13 +1151,24 @@ module Aws::S3
1024
1151
  # parts: [
1025
1152
  # {
1026
1153
  # etag: "ETag",
1154
+ # checksum_crc32: "ChecksumCRC32",
1155
+ # checksum_crc32c: "ChecksumCRC32C",
1156
+ # checksum_sha1: "ChecksumSHA1",
1157
+ # checksum_sha256: "ChecksumSHA256",
1027
1158
  # part_number: 1,
1028
1159
  # },
1029
1160
  # ],
1030
1161
  # },
1031
1162
  # upload_id: "MultipartUploadId", # required
1163
+ # checksum_crc32: "ChecksumCRC32",
1164
+ # checksum_crc32c: "ChecksumCRC32C",
1165
+ # checksum_sha1: "ChecksumSHA1",
1166
+ # checksum_sha256: "ChecksumSHA256",
1032
1167
  # request_payer: "requester", # accepts requester
1033
1168
  # expected_bucket_owner: "AccountId",
1169
+ # sse_customer_algorithm: "SSECustomerAlgorithm",
1170
+ # sse_customer_key: "SSECustomerKey",
1171
+ # sse_customer_key_md5: "SSECustomerKeyMD5",
1034
1172
  # }
1035
1173
  #
1036
1174
  # @!attribute [rw] bucket
@@ -1047,12 +1185,12 @@ module Aws::S3
1047
1185
  #
1048
1186
  # When using this action with Amazon S3 on Outposts, you must direct
1049
1187
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
1050
- # takes the form
1051
- # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
1052
- # When using this action using S3 on Outposts through the Amazon Web
1188
+ # takes the form `
1189
+ # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
1190
+ # When using this action with S3 on Outposts through the Amazon Web
1053
1191
  # Services SDKs, you provide the Outposts bucket ARN in place of the
1054
1192
  # bucket name. For more information about S3 on Outposts ARNs, see
1055
- # [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
1193
+ # [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
1056
1194
  #
1057
1195
  #
1058
1196
  #
@@ -1072,11 +1210,59 @@ module Aws::S3
1072
1210
  # ID for the initiated multipart upload.
1073
1211
  # @return [String]
1074
1212
  #
1213
+ # @!attribute [rw] checksum_crc32
1214
+ # This header can be used as a data integrity check to verify that the
1215
+ # data received is the same data that was originally sent. This header
1216
+ # specifies the base64-encoded, 32-bit CRC32 checksum of the object.
1217
+ # For more information, see [Checking object integrity][1] in the
1218
+ # *Amazon S3 User Guide*.
1219
+ #
1220
+ #
1221
+ #
1222
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
1223
+ # @return [String]
1224
+ #
1225
+ # @!attribute [rw] checksum_crc32c
1226
+ # This header can be used as a data integrity check to verify that the
1227
+ # data received is the same data that was originally sent. This header
1228
+ # specifies the base64-encoded, 32-bit CRC32C checksum of the object.
1229
+ # For more information, see [Checking object integrity][1] in the
1230
+ # *Amazon S3 User Guide*.
1231
+ #
1232
+ #
1233
+ #
1234
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
1235
+ # @return [String]
1236
+ #
1237
+ # @!attribute [rw] checksum_sha1
1238
+ # This header can be used as a data integrity check to verify that the
1239
+ # data received is the same data that was originally sent. This header
1240
+ # specifies the base64-encoded, 160-bit SHA-1 digest of the object.
1241
+ # For more information, see [Checking object integrity][1] in the
1242
+ # *Amazon S3 User Guide*.
1243
+ #
1244
+ #
1245
+ #
1246
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
1247
+ # @return [String]
1248
+ #
1249
+ # @!attribute [rw] checksum_sha256
1250
+ # This header can be used as a data integrity check to verify that the
1251
+ # data received is the same data that was originally sent. This header
1252
+ # specifies the base64-encoded, 256-bit SHA-256 digest of the object.
1253
+ # For more information, see [Checking object integrity][1] in the
1254
+ # *Amazon S3 User Guide*.
1255
+ #
1256
+ #
1257
+ #
1258
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
1259
+ # @return [String]
1260
+ #
1075
1261
  # @!attribute [rw] request_payer
1076
1262
  # Confirms that the requester knows that they will be charged for the
1077
1263
  # request. Bucket owners need not specify this parameter in their
1078
- # requests. For information about downloading objects from requester
1079
- # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
1264
+ # requests. For information about downloading objects from Requester
1265
+ # Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
1080
1266
  # in the *Amazon S3 User Guide*.
1081
1267
  #
1082
1268
  #
@@ -1086,8 +1272,41 @@ module Aws::S3
1086
1272
  #
1087
1273
  # @!attribute [rw] expected_bucket_owner
1088
1274
  # The account ID of the expected bucket owner. If the bucket is owned
1089
- # by a different account, the request will fail with an HTTP `403
1090
- # (Access Denied)` error.
1275
+ # by a different account, the request fails with the HTTP status code
1276
+ # `403 Forbidden` (access denied).
1277
+ # @return [String]
1278
+ #
1279
+ # @!attribute [rw] sse_customer_algorithm
1280
+ # The server-side encryption (SSE) algorithm used to encrypt the
1281
+ # object. This parameter is needed only when the object was created
1282
+ # using a checksum algorithm. For more information, see [Protecting
1283
+ # data using SSE-C keys][1] in the *Amazon S3 User Guide*.
1284
+ #
1285
+ #
1286
+ #
1287
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html
1288
+ # @return [String]
1289
+ #
1290
+ # @!attribute [rw] sse_customer_key
1291
+ # The server-side encryption (SSE) customer managed key. This
1292
+ # parameter is needed only when the object was created using a
1293
+ # checksum algorithm. For more information, see [Protecting data using
1294
+ # SSE-C keys][1] in the *Amazon S3 User Guide*.
1295
+ #
1296
+ #
1297
+ #
1298
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html
1299
+ # @return [String]
1300
+ #
1301
+ # @!attribute [rw] sse_customer_key_md5
1302
+ # The MD5 server-side encryption (SSE) customer managed key. This
1303
+ # parameter is needed only when the object was created using a
1304
+ # checksum algorithm. For more information, see [Protecting data using
1305
+ # SSE-C keys][1] in the *Amazon S3 User Guide*.
1306
+ #
1307
+ #
1308
+ #
1309
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html
1091
1310
  # @return [String]
1092
1311
  #
1093
1312
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CompleteMultipartUploadRequest AWS API Documentation
@@ -1097,9 +1316,16 @@ module Aws::S3
1097
1316
  :key,
1098
1317
  :multipart_upload,
1099
1318
  :upload_id,
1319
+ :checksum_crc32,
1320
+ :checksum_crc32c,
1321
+ :checksum_sha1,
1322
+ :checksum_sha256,
1100
1323
  :request_payer,
1101
- :expected_bucket_owner)
1102
- SENSITIVE = []
1324
+ :expected_bucket_owner,
1325
+ :sse_customer_algorithm,
1326
+ :sse_customer_key,
1327
+ :sse_customer_key_md5)
1328
+ SENSITIVE = [:sse_customer_key]
1103
1329
  include Aws::Structure
1104
1330
  end
1105
1331
 
@@ -1112,6 +1338,10 @@ module Aws::S3
1112
1338
  # parts: [
1113
1339
  # {
1114
1340
  # etag: "ETag",
1341
+ # checksum_crc32: "ChecksumCRC32",
1342
+ # checksum_crc32c: "ChecksumCRC32C",
1343
+ # checksum_sha1: "ChecksumSHA1",
1344
+ # checksum_sha256: "ChecksumSHA256",
1115
1345
  # part_number: 1,
1116
1346
  # },
1117
1347
  # ],
@@ -1139,6 +1369,10 @@ module Aws::S3
1139
1369
  #
1140
1370
  # {
1141
1371
  # etag: "ETag",
1372
+ # checksum_crc32: "ChecksumCRC32",
1373
+ # checksum_crc32c: "ChecksumCRC32C",
1374
+ # checksum_sha1: "ChecksumSHA1",
1375
+ # checksum_sha256: "ChecksumSHA256",
1142
1376
  # part_number: 1,
1143
1377
  # }
1144
1378
  #
@@ -1146,6 +1380,58 @@ module Aws::S3
1146
1380
  # Entity tag returned when the part was uploaded.
1147
1381
  # @return [String]
1148
1382
  #
1383
+ # @!attribute [rw] checksum_crc32
1384
+ # The base64-encoded, 32-bit CRC32 checksum of the object. This will
1385
+ # only be present if it was uploaded with the object. With multipart
1386
+ # uploads, this may not be a checksum value of the object. For more
1387
+ # information about how checksums are calculated with multipart
1388
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
1389
+ # Guide*.
1390
+ #
1391
+ #
1392
+ #
1393
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
1394
+ # @return [String]
1395
+ #
1396
+ # @!attribute [rw] checksum_crc32c
1397
+ # The base64-encoded, 32-bit CRC32C checksum of the object. This will
1398
+ # only be present if it was uploaded with the object. With multipart
1399
+ # uploads, this may not be a checksum value of the object. For more
1400
+ # information about how checksums are calculated with multipart
1401
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
1402
+ # Guide*.
1403
+ #
1404
+ #
1405
+ #
1406
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
1407
+ # @return [String]
1408
+ #
1409
+ # @!attribute [rw] checksum_sha1
1410
+ # The base64-encoded, 160-bit SHA-1 digest of the object. This will
1411
+ # only be present if it was uploaded with the object. With multipart
1412
+ # uploads, this may not be a checksum value of the object. For more
1413
+ # information about how checksums are calculated with multipart
1414
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
1415
+ # Guide*.
1416
+ #
1417
+ #
1418
+ #
1419
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
1420
+ # @return [String]
1421
+ #
1422
+ # @!attribute [rw] checksum_sha256
1423
+ # The base64-encoded, 256-bit SHA-256 digest of the object. This will
1424
+ # only be present if it was uploaded with the object. With multipart
1425
+ # uploads, this may not be a checksum value of the object. For more
1426
+ # information about how checksums are calculated with multipart
1427
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
1428
+ # Guide*.
1429
+ #
1430
+ #
1431
+ #
1432
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
1433
+ # @return [String]
1434
+ #
1149
1435
  # @!attribute [rw] part_number
1150
1436
  # Part number that identifies the part. This is a positive integer
1151
1437
  # between 1 and 10,000.
@@ -1155,6 +1441,10 @@ module Aws::S3
1155
1441
  #
1156
1442
  class CompletedPart < Struct.new(
1157
1443
  :etag,
1444
+ :checksum_crc32,
1445
+ :checksum_crc32c,
1446
+ :checksum_sha1,
1447
+ :checksum_sha256,
1158
1448
  :part_number)
1159
1449
  SENSITIVE = []
1160
1450
  include Aws::Structure
@@ -1302,6 +1592,7 @@ module Aws::S3
1302
1592
  # acl: "private", # accepts private, public-read, public-read-write, authenticated-read, aws-exec-read, bucket-owner-read, bucket-owner-full-control
1303
1593
  # bucket: "BucketName", # required
1304
1594
  # cache_control: "CacheControl",
1595
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
1305
1596
  # content_disposition: "ContentDisposition",
1306
1597
  # content_encoding: "ContentEncoding",
1307
1598
  # content_language: "ContentLanguage",
@@ -1363,12 +1654,12 @@ module Aws::S3
1363
1654
  #
1364
1655
  # When using this action with Amazon S3 on Outposts, you must direct
1365
1656
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
1366
- # takes the form
1367
- # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
1368
- # When using this action using S3 on Outposts through the Amazon Web
1657
+ # takes the form `
1658
+ # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
1659
+ # When using this action with S3 on Outposts through the Amazon Web
1369
1660
  # Services SDKs, you provide the Outposts bucket ARN in place of the
1370
1661
  # bucket name. For more information about S3 on Outposts ARNs, see
1371
- # [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
1662
+ # [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
1372
1663
  #
1373
1664
  #
1374
1665
  #
@@ -1380,6 +1671,16 @@ module Aws::S3
1380
1671
  # Specifies caching behavior along the request/reply chain.
1381
1672
  # @return [String]
1382
1673
  #
1674
+ # @!attribute [rw] checksum_algorithm
1675
+ # Indicates the algorithm you want Amazon S3 to use to create the
1676
+ # checksum for the object. For more information, see [Checking object
1677
+ # integrity][1] in the *Amazon S3 User Guide*.
1678
+ #
1679
+ #
1680
+ #
1681
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
1682
+ # @return [String]
1683
+ #
1383
1684
  # @!attribute [rw] content_disposition
1384
1685
  # Specifies presentational information for the object.
1385
1686
  # @return [String]
@@ -1407,8 +1708,8 @@ module Aws::S3
1407
1708
  # of the source bucket and the key of the source object, separated
1408
1709
  # by a slash (/). For example, to copy the object
1409
1710
  # `reports/january.pdf` from the bucket `awsexamplebucket`, use
1410
- # `awsexamplebucket/reports/january.pdf`. The value must be URL
1411
- # encoded.
1711
+ # `awsexamplebucket/reports/january.pdf`. The value must be
1712
+ # URL-encoded.
1412
1713
  #
1413
1714
  # * For objects accessed through access points, specify the Amazon
1414
1715
  # Resource Name (ARN) of the object as accessed through the access
@@ -1433,7 +1734,7 @@ module Aws::S3
1433
1734
  # outpost `my-outpost` owned by account `123456789012` in Region
1434
1735
  # `us-west-2`, use the URL encoding of
1435
1736
  # `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf`.
1436
- # The value must be URL encoded.
1737
+ # The value must be URL-encoded.
1437
1738
  #
1438
1739
  # To copy a specific version of an object, append
1439
1740
  # `?versionId=<version-id>` to the value (for example,
@@ -1607,8 +1908,8 @@ module Aws::S3
1607
1908
  # @!attribute [rw] request_payer
1608
1909
  # Confirms that the requester knows that they will be charged for the
1609
1910
  # request. Bucket owners need not specify this parameter in their
1610
- # requests. For information about downloading objects from requester
1611
- # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
1911
+ # requests. For information about downloading objects from Requester
1912
+ # Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
1612
1913
  # in the *Amazon S3 User Guide*.
1613
1914
  #
1614
1915
  #
@@ -1632,20 +1933,20 @@ module Aws::S3
1632
1933
  # @return [Time]
1633
1934
  #
1634
1935
  # @!attribute [rw] object_lock_legal_hold_status
1635
- # Specifies whether you want to apply a Legal Hold to the copied
1936
+ # Specifies whether you want to apply a legal hold to the copied
1636
1937
  # object.
1637
1938
  # @return [String]
1638
1939
  #
1639
1940
  # @!attribute [rw] expected_bucket_owner
1640
1941
  # The account ID of the expected destination bucket owner. If the
1641
- # destination bucket is owned by a different account, the request will
1642
- # fail with an HTTP `403 (Access Denied)` error.
1942
+ # destination bucket is owned by a different account, the request
1943
+ # fails with the HTTP status code `403 Forbidden` (access denied).
1643
1944
  # @return [String]
1644
1945
  #
1645
1946
  # @!attribute [rw] expected_source_bucket_owner
1646
1947
  # The account ID of the expected source bucket owner. If the source
1647
- # bucket is owned by a different account, the request will fail with
1648
- # an HTTP `403 (Access Denied)` error.
1948
+ # bucket is owned by a different account, the request fails with the
1949
+ # HTTP status code `403 Forbidden` (access denied).
1649
1950
  # @return [String]
1650
1951
  #
1651
1952
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObjectRequest AWS API Documentation
@@ -1654,6 +1955,7 @@ module Aws::S3
1654
1955
  :acl,
1655
1956
  :bucket,
1656
1957
  :cache_control,
1958
+ :checksum_algorithm,
1657
1959
  :content_disposition,
1658
1960
  :content_encoding,
1659
1961
  :content_language,
@@ -1706,11 +2008,67 @@ module Aws::S3
1706
2008
  # Creation date of the object.
1707
2009
  # @return [Time]
1708
2010
  #
2011
+ # @!attribute [rw] checksum_crc32
2012
+ # The base64-encoded, 32-bit CRC32 checksum of the object. This will
2013
+ # only be present if it was uploaded with the object. With multipart
2014
+ # uploads, this may not be a checksum value of the object. For more
2015
+ # information about how checksums are calculated with multipart
2016
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
2017
+ # Guide*.
2018
+ #
2019
+ #
2020
+ #
2021
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
2022
+ # @return [String]
2023
+ #
2024
+ # @!attribute [rw] checksum_crc32c
2025
+ # The base64-encoded, 32-bit CRC32C checksum of the object. This will
2026
+ # only be present if it was uploaded with the object. With multipart
2027
+ # uploads, this may not be a checksum value of the object. For more
2028
+ # information about how checksums are calculated with multipart
2029
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
2030
+ # Guide*.
2031
+ #
2032
+ #
2033
+ #
2034
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
2035
+ # @return [String]
2036
+ #
2037
+ # @!attribute [rw] checksum_sha1
2038
+ # The base64-encoded, 160-bit SHA-1 digest of the object. This will
2039
+ # only be present if it was uploaded with the object. With multipart
2040
+ # uploads, this may not be a checksum value of the object. For more
2041
+ # information about how checksums are calculated with multipart
2042
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
2043
+ # Guide*.
2044
+ #
2045
+ #
2046
+ #
2047
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
2048
+ # @return [String]
2049
+ #
2050
+ # @!attribute [rw] checksum_sha256
2051
+ # The base64-encoded, 256-bit SHA-256 digest of the object. This will
2052
+ # only be present if it was uploaded with the object. With multipart
2053
+ # uploads, this may not be a checksum value of the object. For more
2054
+ # information about how checksums are calculated with multipart
2055
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
2056
+ # Guide*.
2057
+ #
2058
+ #
2059
+ #
2060
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
2061
+ # @return [String]
2062
+ #
1709
2063
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyObjectResult AWS API Documentation
1710
2064
  #
1711
2065
  class CopyObjectResult < Struct.new(
1712
2066
  :etag,
1713
- :last_modified)
2067
+ :last_modified,
2068
+ :checksum_crc32,
2069
+ :checksum_crc32c,
2070
+ :checksum_sha1,
2071
+ :checksum_sha256)
1714
2072
  SENSITIVE = []
1715
2073
  include Aws::Structure
1716
2074
  end
@@ -1725,11 +2083,67 @@ module Aws::S3
1725
2083
  # Date and time at which the object was uploaded.
1726
2084
  # @return [Time]
1727
2085
  #
2086
+ # @!attribute [rw] checksum_crc32
2087
+ # The base64-encoded, 32-bit CRC32 checksum of the object. This will
2088
+ # only be present if it was uploaded with the object. With multipart
2089
+ # uploads, this may not be a checksum value of the object. For more
2090
+ # information about how checksums are calculated with multipart
2091
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
2092
+ # Guide*.
2093
+ #
2094
+ #
2095
+ #
2096
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
2097
+ # @return [String]
2098
+ #
2099
+ # @!attribute [rw] checksum_crc32c
2100
+ # The base64-encoded, 32-bit CRC32C checksum of the object. This will
2101
+ # only be present if it was uploaded with the object. With multipart
2102
+ # uploads, this may not be a checksum value of the object. For more
2103
+ # information about how checksums are calculated with multipart
2104
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
2105
+ # Guide*.
2106
+ #
2107
+ #
2108
+ #
2109
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
2110
+ # @return [String]
2111
+ #
2112
+ # @!attribute [rw] checksum_sha1
2113
+ # The base64-encoded, 160-bit SHA-1 digest of the object. This will
2114
+ # only be present if it was uploaded with the object. With multipart
2115
+ # uploads, this may not be a checksum value of the object. For more
2116
+ # information about how checksums are calculated with multipart
2117
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
2118
+ # Guide*.
2119
+ #
2120
+ #
2121
+ #
2122
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
2123
+ # @return [String]
2124
+ #
2125
+ # @!attribute [rw] checksum_sha256
2126
+ # The base64-encoded, 256-bit SHA-256 digest of the object. This will
2127
+ # only be present if it was uploaded with the object. With multipart
2128
+ # uploads, this may not be a checksum value of the object. For more
2129
+ # information about how checksums are calculated with multipart
2130
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
2131
+ # Guide*.
2132
+ #
2133
+ #
2134
+ #
2135
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
2136
+ # @return [String]
2137
+ #
1728
2138
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyPartResult AWS API Documentation
1729
2139
  #
1730
2140
  class CopyPartResult < Struct.new(
1731
2141
  :etag,
1732
- :last_modified)
2142
+ :last_modified,
2143
+ :checksum_crc32,
2144
+ :checksum_crc32c,
2145
+ :checksum_sha1,
2146
+ :checksum_sha256)
1733
2147
  SENSITIVE = []
1734
2148
  include Aws::Structure
1735
2149
  end
@@ -1758,9 +2172,7 @@ module Aws::S3
1758
2172
  end
1759
2173
 
1760
2174
  # @!attribute [rw] location
1761
- # Specifies the Region where the bucket will be created. If you are
1762
- # creating a bucket on the US East (N. Virginia) Region (us-east-1),
1763
- # you do not need to specify the location.
2175
+ # A forward slash followed by the name of the bucket.
1764
2176
  # @return [String]
1765
2177
  #
1766
2178
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateBucketOutput AWS API Documentation
@@ -1905,12 +2317,12 @@ module Aws::S3
1905
2317
  #
1906
2318
  # When using this action with Amazon S3 on Outposts, you must direct
1907
2319
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
1908
- # takes the form
1909
- # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
1910
- # When using this action using S3 on Outposts through the Amazon Web
2320
+ # takes the form `
2321
+ # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
2322
+ # When using this action with S3 on Outposts through the Amazon Web
1911
2323
  # Services SDKs, you provide the Outposts bucket ARN in place of the
1912
2324
  # bucket name. For more information about S3 on Outposts ARNs, see
1913
- # [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
2325
+ # [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
1914
2326
  #
1915
2327
  #
1916
2328
  #
@@ -1967,6 +2379,10 @@ module Aws::S3
1967
2379
  # for the request.
1968
2380
  # @return [String]
1969
2381
  #
2382
+ # @!attribute [rw] checksum_algorithm
2383
+ # The algorithm that was used to create a checksum of the object.
2384
+ # @return [String]
2385
+ #
1970
2386
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateMultipartUploadOutput AWS API Documentation
1971
2387
  #
1972
2388
  class CreateMultipartUploadOutput < Struct.new(
@@ -1981,7 +2397,8 @@ module Aws::S3
1981
2397
  :ssekms_key_id,
1982
2398
  :ssekms_encryption_context,
1983
2399
  :bucket_key_enabled,
1984
- :request_charged)
2400
+ :request_charged,
2401
+ :checksum_algorithm)
1985
2402
  SENSITIVE = [:ssekms_key_id, :ssekms_encryption_context]
1986
2403
  include Aws::Structure
1987
2404
  end
@@ -2021,6 +2438,7 @@ module Aws::S3
2021
2438
  # object_lock_retain_until_date: Time.now,
2022
2439
  # object_lock_legal_hold_status: "ON", # accepts ON, OFF
2023
2440
  # expected_bucket_owner: "AccountId",
2441
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
2024
2442
  # }
2025
2443
  #
2026
2444
  # @!attribute [rw] acl
@@ -2043,12 +2461,12 @@ module Aws::S3
2043
2461
  #
2044
2462
  # When using this action with Amazon S3 on Outposts, you must direct
2045
2463
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
2046
- # takes the form
2047
- # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
2048
- # When using this action using S3 on Outposts through the Amazon Web
2464
+ # takes the form `
2465
+ # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
2466
+ # When using this action with S3 on Outposts through the Amazon Web
2049
2467
  # Services SDKs, you provide the Outposts bucket ARN in place of the
2050
2468
  # bucket name. For more information about S3 on Outposts ARNs, see
2051
- # [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
2469
+ # [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
2052
2470
  #
2053
2471
  #
2054
2472
  #
@@ -2193,8 +2611,8 @@ module Aws::S3
2193
2611
  # @!attribute [rw] request_payer
2194
2612
  # Confirms that the requester knows that they will be charged for the
2195
2613
  # request. Bucket owners need not specify this parameter in their
2196
- # requests. For information about downloading objects from requester
2197
- # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
2614
+ # requests. For information about downloading objects from Requester
2615
+ # Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
2198
2616
  # in the *Amazon S3 User Guide*.
2199
2617
  #
2200
2618
  #
@@ -2217,14 +2635,24 @@ module Aws::S3
2217
2635
  # @return [Time]
2218
2636
  #
2219
2637
  # @!attribute [rw] object_lock_legal_hold_status
2220
- # Specifies whether you want to apply a Legal Hold to the uploaded
2638
+ # Specifies whether you want to apply a legal hold to the uploaded
2221
2639
  # object.
2222
2640
  # @return [String]
2223
2641
  #
2224
2642
  # @!attribute [rw] expected_bucket_owner
2225
2643
  # The account ID of the expected bucket owner. If the bucket is owned
2226
- # by a different account, the request will fail with an HTTP `403
2227
- # (Access Denied)` error.
2644
+ # by a different account, the request fails with the HTTP status code
2645
+ # `403 Forbidden` (access denied).
2646
+ # @return [String]
2647
+ #
2648
+ # @!attribute [rw] checksum_algorithm
2649
+ # Indicates the algorithm you want Amazon S3 to use to create the
2650
+ # checksum for the object. For more information, see [Checking object
2651
+ # integrity][1] in the *Amazon S3 User Guide*.
2652
+ #
2653
+ #
2654
+ #
2655
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
2228
2656
  # @return [String]
2229
2657
  #
2230
2658
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateMultipartUploadRequest AWS API Documentation
@@ -2258,7 +2686,8 @@ module Aws::S3
2258
2686
  :object_lock_mode,
2259
2687
  :object_lock_retain_until_date,
2260
2688
  :object_lock_legal_hold_status,
2261
- :expected_bucket_owner)
2689
+ :expected_bucket_owner,
2690
+ :checksum_algorithm)
2262
2691
  SENSITIVE = [:sse_customer_key, :ssekms_key_id, :ssekms_encryption_context]
2263
2692
  include Aws::Structure
2264
2693
  end
@@ -2362,8 +2791,8 @@ module Aws::S3
2362
2791
  #
2363
2792
  # @!attribute [rw] expected_bucket_owner
2364
2793
  # The account ID of the expected bucket owner. If the bucket is owned
2365
- # by a different account, the request will fail with an HTTP `403
2366
- # (Access Denied)` error.
2794
+ # by a different account, the request fails with the HTTP status code
2795
+ # `403 Forbidden` (access denied).
2367
2796
  # @return [String]
2368
2797
  #
2369
2798
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketAnalyticsConfigurationRequest AWS API Documentation
@@ -2390,8 +2819,8 @@ module Aws::S3
2390
2819
  #
2391
2820
  # @!attribute [rw] expected_bucket_owner
2392
2821
  # The account ID of the expected bucket owner. If the bucket is owned
2393
- # by a different account, the request will fail with an HTTP `403
2394
- # (Access Denied)` error.
2822
+ # by a different account, the request fails with the HTTP status code
2823
+ # `403 Forbidden` (access denied).
2395
2824
  # @return [String]
2396
2825
  #
2397
2826
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketCorsRequest AWS API Documentation
@@ -2418,8 +2847,8 @@ module Aws::S3
2418
2847
  #
2419
2848
  # @!attribute [rw] expected_bucket_owner
2420
2849
  # The account ID of the expected bucket owner. If the bucket is owned
2421
- # by a different account, the request will fail with an HTTP `403
2422
- # (Access Denied)` error.
2850
+ # by a different account, the request fails with the HTTP status code
2851
+ # `403 Forbidden` (access denied).
2423
2852
  # @return [String]
2424
2853
  #
2425
2854
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketEncryptionRequest AWS API Documentation
@@ -2477,8 +2906,8 @@ module Aws::S3
2477
2906
  #
2478
2907
  # @!attribute [rw] expected_bucket_owner
2479
2908
  # The account ID of the expected bucket owner. If the bucket is owned
2480
- # by a different account, the request will fail with an HTTP `403
2481
- # (Access Denied)` error.
2909
+ # by a different account, the request fails with the HTTP status code
2910
+ # `403 Forbidden` (access denied).
2482
2911
  # @return [String]
2483
2912
  #
2484
2913
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketInventoryConfigurationRequest AWS API Documentation
@@ -2505,8 +2934,8 @@ module Aws::S3
2505
2934
  #
2506
2935
  # @!attribute [rw] expected_bucket_owner
2507
2936
  # The account ID of the expected bucket owner. If the bucket is owned
2508
- # by a different account, the request will fail with an HTTP `403
2509
- # (Access Denied)` error.
2937
+ # by a different account, the request fails with the HTTP status code
2938
+ # `403 Forbidden` (access denied).
2510
2939
  # @return [String]
2511
2940
  #
2512
2941
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketLifecycleRequest AWS API Documentation
@@ -2538,8 +2967,8 @@ module Aws::S3
2538
2967
  #
2539
2968
  # @!attribute [rw] expected_bucket_owner
2540
2969
  # The account ID of the expected bucket owner. If the bucket is owned
2541
- # by a different account, the request will fail with an HTTP `403
2542
- # (Access Denied)` error.
2970
+ # by a different account, the request fails with the HTTP status code
2971
+ # `403 Forbidden` (access denied).
2543
2972
  # @return [String]
2544
2973
  #
2545
2974
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketMetricsConfigurationRequest AWS API Documentation
@@ -2566,8 +2995,8 @@ module Aws::S3
2566
2995
  #
2567
2996
  # @!attribute [rw] expected_bucket_owner
2568
2997
  # The account ID of the expected bucket owner. If the bucket is owned
2569
- # by a different account, the request will fail with an HTTP `403
2570
- # (Access Denied)` error.
2998
+ # by a different account, the request fails with the HTTP status code
2999
+ # `403 Forbidden` (access denied).
2571
3000
  # @return [String]
2572
3001
  #
2573
3002
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketOwnershipControlsRequest AWS API Documentation
@@ -2593,8 +3022,8 @@ module Aws::S3
2593
3022
  #
2594
3023
  # @!attribute [rw] expected_bucket_owner
2595
3024
  # The account ID of the expected bucket owner. If the bucket is owned
2596
- # by a different account, the request will fail with an HTTP `403
2597
- # (Access Denied)` error.
3025
+ # by a different account, the request fails with the HTTP status code
3026
+ # `403 Forbidden` (access denied).
2598
3027
  # @return [String]
2599
3028
  #
2600
3029
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketPolicyRequest AWS API Documentation
@@ -2620,8 +3049,8 @@ module Aws::S3
2620
3049
  #
2621
3050
  # @!attribute [rw] expected_bucket_owner
2622
3051
  # The account ID of the expected bucket owner. If the bucket is owned
2623
- # by a different account, the request will fail with an HTTP `403
2624
- # (Access Denied)` error.
3052
+ # by a different account, the request fails with the HTTP status code
3053
+ # `403 Forbidden` (access denied).
2625
3054
  # @return [String]
2626
3055
  #
2627
3056
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketReplicationRequest AWS API Documentation
@@ -2647,8 +3076,8 @@ module Aws::S3
2647
3076
  #
2648
3077
  # @!attribute [rw] expected_bucket_owner
2649
3078
  # The account ID of the expected bucket owner. If the bucket is owned
2650
- # by a different account, the request will fail with an HTTP `403
2651
- # (Access Denied)` error.
3079
+ # by a different account, the request fails with the HTTP status code
3080
+ # `403 Forbidden` (access denied).
2652
3081
  # @return [String]
2653
3082
  #
2654
3083
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketRequest AWS API Documentation
@@ -2674,8 +3103,8 @@ module Aws::S3
2674
3103
  #
2675
3104
  # @!attribute [rw] expected_bucket_owner
2676
3105
  # The account ID of the expected bucket owner. If the bucket is owned
2677
- # by a different account, the request will fail with an HTTP `403
2678
- # (Access Denied)` error.
3106
+ # by a different account, the request fails with the HTTP status code
3107
+ # `403 Forbidden` (access denied).
2679
3108
  # @return [String]
2680
3109
  #
2681
3110
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketTaggingRequest AWS API Documentation
@@ -2702,8 +3131,8 @@ module Aws::S3
2702
3131
  #
2703
3132
  # @!attribute [rw] expected_bucket_owner
2704
3133
  # The account ID of the expected bucket owner. If the bucket is owned
2705
- # by a different account, the request will fail with an HTTP `403
2706
- # (Access Denied)` error.
3134
+ # by a different account, the request fails with the HTTP status code
3135
+ # `403 Forbidden` (access denied).
2707
3136
  # @return [String]
2708
3137
  #
2709
3138
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketWebsiteRequest AWS API Documentation
@@ -2848,12 +3277,12 @@ module Aws::S3
2848
3277
  #
2849
3278
  # When using this action with Amazon S3 on Outposts, you must direct
2850
3279
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
2851
- # takes the form
2852
- # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
2853
- # When using this action using S3 on Outposts through the Amazon Web
3280
+ # takes the form `
3281
+ # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
3282
+ # When using this action with S3 on Outposts through the Amazon Web
2854
3283
  # Services SDKs, you provide the Outposts bucket ARN in place of the
2855
3284
  # bucket name. For more information about S3 on Outposts ARNs, see
2856
- # [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
3285
+ # [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
2857
3286
  #
2858
3287
  #
2859
3288
  #
@@ -2879,8 +3308,8 @@ module Aws::S3
2879
3308
  # @!attribute [rw] request_payer
2880
3309
  # Confirms that the requester knows that they will be charged for the
2881
3310
  # request. Bucket owners need not specify this parameter in their
2882
- # requests. For information about downloading objects from requester
2883
- # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
3311
+ # requests. For information about downloading objects from Requester
3312
+ # Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
2884
3313
  # in the *Amazon S3 User Guide*.
2885
3314
  #
2886
3315
  #
@@ -2891,13 +3320,13 @@ module Aws::S3
2891
3320
  # @!attribute [rw] bypass_governance_retention
2892
3321
  # Indicates whether S3 Object Lock should bypass Governance-mode
2893
3322
  # restrictions to process this operation. To use this header, you must
2894
- # have the `s3:PutBucketPublicAccessBlock` permission.
3323
+ # have the `s3:BypassGovernanceRetention` permission.
2895
3324
  # @return [Boolean]
2896
3325
  #
2897
3326
  # @!attribute [rw] expected_bucket_owner
2898
3327
  # The account ID of the expected bucket owner. If the bucket is owned
2899
- # by a different account, the request will fail with an HTTP `403
2900
- # (Access Denied)` error.
3328
+ # by a different account, the request fails with the HTTP status code
3329
+ # `403 Forbidden` (access denied).
2901
3330
  # @return [String]
2902
3331
  #
2903
3332
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectRequest AWS API Documentation
@@ -2951,12 +3380,12 @@ module Aws::S3
2951
3380
  #
2952
3381
  # When using this action with Amazon S3 on Outposts, you must direct
2953
3382
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
2954
- # takes the form
2955
- # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
2956
- # When using this action using S3 on Outposts through the Amazon Web
3383
+ # takes the form `
3384
+ # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
3385
+ # When using this action with S3 on Outposts through the Amazon Web
2957
3386
  # Services SDKs, you provide the Outposts bucket ARN in place of the
2958
3387
  # bucket name. For more information about S3 on Outposts ARNs, see
2959
- # [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
3388
+ # [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
2960
3389
  #
2961
3390
  #
2962
3391
  #
@@ -2975,8 +3404,8 @@ module Aws::S3
2975
3404
  #
2976
3405
  # @!attribute [rw] expected_bucket_owner
2977
3406
  # The account ID of the expected bucket owner. If the bucket is owned
2978
- # by a different account, the request will fail with an HTTP `403
2979
- # (Access Denied)` error.
3407
+ # by a different account, the request fails with the HTTP status code
3408
+ # `403 Forbidden` (access denied).
2980
3409
  # @return [String]
2981
3410
  #
2982
3411
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectTaggingRequest AWS API Documentation
@@ -3033,6 +3462,7 @@ module Aws::S3
3033
3462
  # request_payer: "requester", # accepts requester
3034
3463
  # bypass_governance_retention: false,
3035
3464
  # expected_bucket_owner: "AccountId",
3465
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
3036
3466
  # }
3037
3467
  #
3038
3468
  # @!attribute [rw] bucket
@@ -3049,12 +3479,12 @@ module Aws::S3
3049
3479
  #
3050
3480
  # When using this action with Amazon S3 on Outposts, you must direct
3051
3481
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
3052
- # takes the form
3053
- # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
3054
- # When using this action using S3 on Outposts through the Amazon Web
3482
+ # takes the form `
3483
+ # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
3484
+ # When using this action with S3 on Outposts through the Amazon Web
3055
3485
  # Services SDKs, you provide the Outposts bucket ARN in place of the
3056
3486
  # bucket name. For more information about S3 on Outposts ARNs, see
3057
- # [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
3487
+ # [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
3058
3488
  #
3059
3489
  #
3060
3490
  #
@@ -3076,8 +3506,8 @@ module Aws::S3
3076
3506
  # @!attribute [rw] request_payer
3077
3507
  # Confirms that the requester knows that they will be charged for the
3078
3508
  # request. Bucket owners need not specify this parameter in their
3079
- # requests. For information about downloading objects from requester
3080
- # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
3509
+ # requests. For information about downloading objects from Requester
3510
+ # Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
3081
3511
  # in the *Amazon S3 User Guide*.
3082
3512
  #
3083
3513
  #
@@ -3088,13 +3518,33 @@ module Aws::S3
3088
3518
  # @!attribute [rw] bypass_governance_retention
3089
3519
  # Specifies whether you want to delete this object even if it has a
3090
3520
  # Governance-type Object Lock in place. To use this header, you must
3091
- # have the `s3:PutBucketPublicAccessBlock` permission.
3521
+ # have the `s3:BypassGovernanceRetention` permission.
3092
3522
  # @return [Boolean]
3093
3523
  #
3094
3524
  # @!attribute [rw] expected_bucket_owner
3095
3525
  # The account ID of the expected bucket owner. If the bucket is owned
3096
- # by a different account, the request will fail with an HTTP `403
3097
- # (Access Denied)` error.
3526
+ # by a different account, the request fails with the HTTP status code
3527
+ # `403 Forbidden` (access denied).
3528
+ # @return [String]
3529
+ #
3530
+ # @!attribute [rw] checksum_algorithm
3531
+ # Indicates the algorithm used to create the checksum for the object
3532
+ # when using the SDK. This header will not provide any additional
3533
+ # functionality if not using the SDK. When sending this header, there
3534
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
3535
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status
3536
+ # code `400 Bad Request`. For more information, see [Checking object
3537
+ # integrity][1] in the *Amazon S3 User Guide*.
3538
+ #
3539
+ # If you provide an individual checksum, Amazon S3 ignores any
3540
+ # provided `ChecksumAlgorithm` parameter.
3541
+ #
3542
+ # This checksum algorithm must be the same for all parts and it match
3543
+ # the checksum value supplied in the `CreateMultipartUpload` request.
3544
+ #
3545
+ #
3546
+ #
3547
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
3098
3548
  # @return [String]
3099
3549
  #
3100
3550
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteObjectsRequest AWS API Documentation
@@ -3105,7 +3555,8 @@ module Aws::S3
3105
3555
  :mfa,
3106
3556
  :request_payer,
3107
3557
  :bypass_governance_retention,
3108
- :expected_bucket_owner)
3558
+ :expected_bucket_owner,
3559
+ :checksum_algorithm)
3109
3560
  SENSITIVE = []
3110
3561
  include Aws::Structure
3111
3562
  end
@@ -3125,8 +3576,8 @@ module Aws::S3
3125
3576
  #
3126
3577
  # @!attribute [rw] expected_bucket_owner
3127
3578
  # The account ID of the expected bucket owner. If the bucket is owned
3128
- # by a different account, the request will fail with an HTTP `403
3129
- # (Access Denied)` error.
3579
+ # by a different account, the request fails with the HTTP status code
3580
+ # `403 Forbidden` (access denied).
3130
3581
  # @return [String]
3131
3582
  #
3132
3583
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeletePublicAccessBlockRequest AWS API Documentation
@@ -4326,8 +4777,8 @@ module Aws::S3
4326
4777
  #
4327
4778
  # @!attribute [rw] expected_bucket_owner
4328
4779
  # The account ID of the expected bucket owner. If the bucket is owned
4329
- # by a different account, the request will fail with an HTTP `403
4330
- # (Access Denied)` error.
4780
+ # by a different account, the request fails with the HTTP status code
4781
+ # `403 Forbidden` (access denied).
4331
4782
  # @return [String]
4332
4783
  #
4333
4784
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAccelerateConfigurationRequest AWS API Documentation
@@ -4370,8 +4821,8 @@ module Aws::S3
4370
4821
  #
4371
4822
  # @!attribute [rw] expected_bucket_owner
4372
4823
  # The account ID of the expected bucket owner. If the bucket is owned
4373
- # by a different account, the request will fail with an HTTP `403
4374
- # (Access Denied)` error.
4824
+ # by a different account, the request fails with the HTTP status code
4825
+ # `403 Forbidden` (access denied).
4375
4826
  # @return [String]
4376
4827
  #
4377
4828
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAclRequest AWS API Documentation
@@ -4415,8 +4866,8 @@ module Aws::S3
4415
4866
  #
4416
4867
  # @!attribute [rw] expected_bucket_owner
4417
4868
  # The account ID of the expected bucket owner. If the bucket is owned
4418
- # by a different account, the request will fail with an HTTP `403
4419
- # (Access Denied)` error.
4869
+ # by a different account, the request fails with the HTTP status code
4870
+ # `403 Forbidden` (access denied).
4420
4871
  # @return [String]
4421
4872
  #
4422
4873
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketAnalyticsConfigurationRequest AWS API Documentation
@@ -4456,8 +4907,8 @@ module Aws::S3
4456
4907
  #
4457
4908
  # @!attribute [rw] expected_bucket_owner
4458
4909
  # The account ID of the expected bucket owner. If the bucket is owned
4459
- # by a different account, the request will fail with an HTTP `403
4460
- # (Access Denied)` error.
4910
+ # by a different account, the request fails with the HTTP status code
4911
+ # `403 Forbidden` (access denied).
4461
4912
  # @return [String]
4462
4913
  #
4463
4914
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketCorsRequest AWS API Documentation
@@ -4496,8 +4947,8 @@ module Aws::S3
4496
4947
  #
4497
4948
  # @!attribute [rw] expected_bucket_owner
4498
4949
  # The account ID of the expected bucket owner. If the bucket is owned
4499
- # by a different account, the request will fail with an HTTP `403
4500
- # (Access Denied)` error.
4950
+ # by a different account, the request fails with the HTTP status code
4951
+ # `403 Forbidden` (access denied).
4501
4952
  # @return [String]
4502
4953
  #
4503
4954
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketEncryptionRequest AWS API Documentation
@@ -4579,8 +5030,8 @@ module Aws::S3
4579
5030
  #
4580
5031
  # @!attribute [rw] expected_bucket_owner
4581
5032
  # The account ID of the expected bucket owner. If the bucket is owned
4582
- # by a different account, the request will fail with an HTTP `403
4583
- # (Access Denied)` error.
5033
+ # by a different account, the request fails with the HTTP status code
5034
+ # `403 Forbidden` (access denied).
4584
5035
  # @return [String]
4585
5036
  #
4586
5037
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketInventoryConfigurationRequest AWS API Documentation
@@ -4619,8 +5070,8 @@ module Aws::S3
4619
5070
  #
4620
5071
  # @!attribute [rw] expected_bucket_owner
4621
5072
  # The account ID of the expected bucket owner. If the bucket is owned
4622
- # by a different account, the request will fail with an HTTP `403
4623
- # (Access Denied)` error.
5073
+ # by a different account, the request fails with the HTTP status code
5074
+ # `403 Forbidden` (access denied).
4624
5075
  # @return [String]
4625
5076
  #
4626
5077
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleConfigurationRequest AWS API Documentation
@@ -4658,8 +5109,8 @@ module Aws::S3
4658
5109
  #
4659
5110
  # @!attribute [rw] expected_bucket_owner
4660
5111
  # The account ID of the expected bucket owner. If the bucket is owned
4661
- # by a different account, the request will fail with an HTTP `403
4662
- # (Access Denied)` error.
5112
+ # by a different account, the request fails with the HTTP status code
5113
+ # `403 Forbidden` (access denied).
4663
5114
  # @return [String]
4664
5115
  #
4665
5116
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLifecycleRequest AWS API Documentation
@@ -4704,8 +5155,8 @@ module Aws::S3
4704
5155
  #
4705
5156
  # @!attribute [rw] expected_bucket_owner
4706
5157
  # The account ID of the expected bucket owner. If the bucket is owned
4707
- # by a different account, the request will fail with an HTTP `403
4708
- # (Access Denied)` error.
5158
+ # by a different account, the request fails with the HTTP status code
5159
+ # `403 Forbidden` (access denied).
4709
5160
  # @return [String]
4710
5161
  #
4711
5162
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLocationRequest AWS API Documentation
@@ -4749,8 +5200,8 @@ module Aws::S3
4749
5200
  #
4750
5201
  # @!attribute [rw] expected_bucket_owner
4751
5202
  # The account ID of the expected bucket owner. If the bucket is owned
4752
- # by a different account, the request will fail with an HTTP `403
4753
- # (Access Denied)` error.
5203
+ # by a different account, the request fails with the HTTP status code
5204
+ # `403 Forbidden` (access denied).
4754
5205
  # @return [String]
4755
5206
  #
4756
5207
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketLoggingRequest AWS API Documentation
@@ -4794,8 +5245,8 @@ module Aws::S3
4794
5245
  #
4795
5246
  # @!attribute [rw] expected_bucket_owner
4796
5247
  # The account ID of the expected bucket owner. If the bucket is owned
4797
- # by a different account, the request will fail with an HTTP `403
4798
- # (Access Denied)` error.
5248
+ # by a different account, the request fails with the HTTP status code
5249
+ # `403 Forbidden` (access denied).
4799
5250
  # @return [String]
4800
5251
  #
4801
5252
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketMetricsConfigurationRequest AWS API Documentation
@@ -4823,8 +5274,8 @@ module Aws::S3
4823
5274
  #
4824
5275
  # @!attribute [rw] expected_bucket_owner
4825
5276
  # The account ID of the expected bucket owner. If the bucket is owned
4826
- # by a different account, the request will fail with an HTTP `403
4827
- # (Access Denied)` error.
5277
+ # by a different account, the request fails with the HTTP status code
5278
+ # `403 Forbidden` (access denied).
4828
5279
  # @return [String]
4829
5280
  #
4830
5281
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketNotificationConfigurationRequest AWS API Documentation
@@ -4864,8 +5315,8 @@ module Aws::S3
4864
5315
  #
4865
5316
  # @!attribute [rw] expected_bucket_owner
4866
5317
  # The account ID of the expected bucket owner. If the bucket is owned
4867
- # by a different account, the request will fail with an HTTP `403
4868
- # (Access Denied)` error.
5318
+ # by a different account, the request fails with the HTTP status code
5319
+ # `403 Forbidden` (access denied).
4869
5320
  # @return [String]
4870
5321
  #
4871
5322
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketOwnershipControlsRequest AWS API Documentation
@@ -4903,8 +5354,8 @@ module Aws::S3
4903
5354
  #
4904
5355
  # @!attribute [rw] expected_bucket_owner
4905
5356
  # The account ID of the expected bucket owner. If the bucket is owned
4906
- # by a different account, the request will fail with an HTTP `403
4907
- # (Access Denied)` error.
5357
+ # by a different account, the request fails with the HTTP status code
5358
+ # `403 Forbidden` (access denied).
4908
5359
  # @return [String]
4909
5360
  #
4910
5361
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicyRequest AWS API Documentation
@@ -4943,8 +5394,8 @@ module Aws::S3
4943
5394
  #
4944
5395
  # @!attribute [rw] expected_bucket_owner
4945
5396
  # The account ID of the expected bucket owner. If the bucket is owned
4946
- # by a different account, the request will fail with an HTTP `403
4947
- # (Access Denied)` error.
5397
+ # by a different account, the request fails with the HTTP status code
5398
+ # `403 Forbidden` (access denied).
4948
5399
  # @return [String]
4949
5400
  #
4950
5401
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketPolicyStatusRequest AWS API Documentation
@@ -4983,8 +5434,8 @@ module Aws::S3
4983
5434
  #
4984
5435
  # @!attribute [rw] expected_bucket_owner
4985
5436
  # The account ID of the expected bucket owner. If the bucket is owned
4986
- # by a different account, the request will fail with an HTTP `403
4987
- # (Access Denied)` error.
5437
+ # by a different account, the request fails with the HTTP status code
5438
+ # `403 Forbidden` (access denied).
4988
5439
  # @return [String]
4989
5440
  #
4990
5441
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketReplicationRequest AWS API Documentation
@@ -5023,8 +5474,8 @@ module Aws::S3
5023
5474
  #
5024
5475
  # @!attribute [rw] expected_bucket_owner
5025
5476
  # The account ID of the expected bucket owner. If the bucket is owned
5026
- # by a different account, the request will fail with an HTTP `403
5027
- # (Access Denied)` error.
5477
+ # by a different account, the request fails with the HTTP status code
5478
+ # `403 Forbidden` (access denied).
5028
5479
  # @return [String]
5029
5480
  #
5030
5481
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketRequestPaymentRequest AWS API Documentation
@@ -5062,8 +5513,8 @@ module Aws::S3
5062
5513
  #
5063
5514
  # @!attribute [rw] expected_bucket_owner
5064
5515
  # The account ID of the expected bucket owner. If the bucket is owned
5065
- # by a different account, the request will fail with an HTTP `403
5066
- # (Access Denied)` error.
5516
+ # by a different account, the request fails with the HTTP status code
5517
+ # `403 Forbidden` (access denied).
5067
5518
  # @return [String]
5068
5519
  #
5069
5520
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketTaggingRequest AWS API Documentation
@@ -5109,8 +5560,8 @@ module Aws::S3
5109
5560
  #
5110
5561
  # @!attribute [rw] expected_bucket_owner
5111
5562
  # The account ID of the expected bucket owner. If the bucket is owned
5112
- # by a different account, the request will fail with an HTTP `403
5113
- # (Access Denied)` error.
5563
+ # by a different account, the request fails with the HTTP status code
5564
+ # `403 Forbidden` (access denied).
5114
5565
  # @return [String]
5115
5566
  #
5116
5567
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketVersioningRequest AWS API Documentation
@@ -5167,8 +5618,8 @@ module Aws::S3
5167
5618
  #
5168
5619
  # @!attribute [rw] expected_bucket_owner
5169
5620
  # The account ID of the expected bucket owner. If the bucket is owned
5170
- # by a different account, the request will fail with an HTTP `403
5171
- # (Access Denied)` error.
5621
+ # by a different account, the request fails with the HTTP status code
5622
+ # `403 Forbidden` (access denied).
5172
5623
  # @return [String]
5173
5624
  #
5174
5625
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketWebsiteRequest AWS API Documentation
@@ -5243,8 +5694,8 @@ module Aws::S3
5243
5694
  # @!attribute [rw] request_payer
5244
5695
  # Confirms that the requester knows that they will be charged for the
5245
5696
  # request. Bucket owners need not specify this parameter in their
5246
- # requests. For information about downloading objects from requester
5247
- # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
5697
+ # requests. For information about downloading objects from Requester
5698
+ # Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
5248
5699
  # in the *Amazon S3 User Guide*.
5249
5700
  #
5250
5701
  #
@@ -5254,8 +5705,8 @@ module Aws::S3
5254
5705
  #
5255
5706
  # @!attribute [rw] expected_bucket_owner
5256
5707
  # The account ID of the expected bucket owner. If the bucket is owned
5257
- # by a different account, the request will fail with an HTTP `403
5258
- # (Access Denied)` error.
5708
+ # by a different account, the request fails with the HTTP status code
5709
+ # `403 Forbidden` (access denied).
5259
5710
  # @return [String]
5260
5711
  #
5261
5712
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAclRequest AWS API Documentation
@@ -5270,35 +5721,137 @@ module Aws::S3
5270
5721
  include Aws::Structure
5271
5722
  end
5272
5723
 
5273
- # @!attribute [rw] legal_hold
5274
- # The current Legal Hold status for the specified object.
5275
- # @return [Types::ObjectLockLegalHold]
5276
- #
5277
- # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectLegalHoldOutput AWS API Documentation
5724
+ # @!attribute [rw] delete_marker
5725
+ # Specifies whether the object retrieved was (`true`) or was not
5726
+ # (`false`) a delete marker. If `false`, this response header does not
5727
+ # appear in the response.
5728
+ # @return [Boolean]
5278
5729
  #
5279
- class GetObjectLegalHoldOutput < Struct.new(
5280
- :legal_hold)
5281
- SENSITIVE = []
5282
- include Aws::Structure
5283
- end
5284
-
5285
- # @note When making an API call, you may pass GetObjectLegalHoldRequest
5286
- # data as a hash:
5730
+ # @!attribute [rw] last_modified
5731
+ # The creation date of the object.
5732
+ # @return [Time]
5287
5733
  #
5288
- # {
5289
- # bucket: "BucketName", # required
5290
- # key: "ObjectKey", # required
5291
- # version_id: "ObjectVersionId",
5292
- # request_payer: "requester", # accepts requester
5293
- # expected_bucket_owner: "AccountId",
5294
- # }
5734
+ # @!attribute [rw] version_id
5735
+ # The version ID of the object.
5736
+ # @return [String]
5295
5737
  #
5296
- # @!attribute [rw] bucket
5297
- # The bucket name containing the object whose Legal Hold status you
5298
- # want to retrieve.
5738
+ # @!attribute [rw] request_charged
5739
+ # If present, indicates that the requester was successfully charged
5740
+ # for the request.
5741
+ # @return [String]
5299
5742
  #
5300
- # When using this action with an access point, you must direct
5301
- # requests to the access point hostname. The access point hostname
5743
+ # @!attribute [rw] etag
5744
+ # An ETag is an opaque identifier assigned by a web server to a
5745
+ # specific version of a resource found at a URL.
5746
+ # @return [String]
5747
+ #
5748
+ # @!attribute [rw] checksum
5749
+ # The checksum or digest of the object.
5750
+ # @return [Types::Checksum]
5751
+ #
5752
+ # @!attribute [rw] object_parts
5753
+ # A collection of parts associated with a multipart upload.
5754
+ # @return [Types::GetObjectAttributesParts]
5755
+ #
5756
+ # @!attribute [rw] storage_class
5757
+ # Provides the storage class information of the object. Amazon S3
5758
+ # returns this header for all objects except for S3 Standard storage
5759
+ # class objects.
5760
+ #
5761
+ # For more information, see [Storage Classes][1].
5762
+ #
5763
+ #
5764
+ #
5765
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html
5766
+ # @return [String]
5767
+ #
5768
+ # @!attribute [rw] object_size
5769
+ # The size of the object in bytes.
5770
+ # @return [Integer]
5771
+ #
5772
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAttributesOutput AWS API Documentation
5773
+ #
5774
+ class GetObjectAttributesOutput < Struct.new(
5775
+ :delete_marker,
5776
+ :last_modified,
5777
+ :version_id,
5778
+ :request_charged,
5779
+ :etag,
5780
+ :checksum,
5781
+ :object_parts,
5782
+ :storage_class,
5783
+ :object_size)
5784
+ SENSITIVE = []
5785
+ include Aws::Structure
5786
+ end
5787
+
5788
+ # A collection of parts associated with a multipart upload.
5789
+ #
5790
+ # @!attribute [rw] total_parts_count
5791
+ # The total number of parts.
5792
+ # @return [Integer]
5793
+ #
5794
+ # @!attribute [rw] part_number_marker
5795
+ # The marker for the current part.
5796
+ # @return [Integer]
5797
+ #
5798
+ # @!attribute [rw] next_part_number_marker
5799
+ # When a list is truncated, this element specifies the last part in
5800
+ # the list, as well as the value to use for the `PartNumberMarker`
5801
+ # request parameter in a subsequent request.
5802
+ # @return [Integer]
5803
+ #
5804
+ # @!attribute [rw] max_parts
5805
+ # The maximum number of parts allowed in the response.
5806
+ # @return [Integer]
5807
+ #
5808
+ # @!attribute [rw] is_truncated
5809
+ # Indicates whether the returned list of parts is truncated. A value
5810
+ # of `true` indicates that the list was truncated. A list can be
5811
+ # truncated if the number of parts exceeds the limit returned in the
5812
+ # `MaxParts` element.
5813
+ # @return [Boolean]
5814
+ #
5815
+ # @!attribute [rw] parts
5816
+ # A container for elements related to a particular part. A response
5817
+ # can contain zero or more `Parts` elements.
5818
+ # @return [Array<Types::ObjectPart>]
5819
+ #
5820
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAttributesParts AWS API Documentation
5821
+ #
5822
+ class GetObjectAttributesParts < Struct.new(
5823
+ :total_parts_count,
5824
+ :part_number_marker,
5825
+ :next_part_number_marker,
5826
+ :max_parts,
5827
+ :is_truncated,
5828
+ :parts)
5829
+ SENSITIVE = []
5830
+ include Aws::Structure
5831
+ end
5832
+
5833
+ # @note When making an API call, you may pass GetObjectAttributesRequest
5834
+ # data as a hash:
5835
+ #
5836
+ # {
5837
+ # bucket: "BucketName", # required
5838
+ # key: "ObjectKey", # required
5839
+ # version_id: "ObjectVersionId",
5840
+ # max_parts: 1,
5841
+ # part_number_marker: 1,
5842
+ # sse_customer_algorithm: "SSECustomerAlgorithm",
5843
+ # sse_customer_key: "SSECustomerKey",
5844
+ # sse_customer_key_md5: "SSECustomerKeyMD5",
5845
+ # request_payer: "requester", # accepts requester
5846
+ # expected_bucket_owner: "AccountId",
5847
+ # object_attributes: ["ETag"], # required, accepts ETag, Checksum, ObjectParts, StorageClass, ObjectSize
5848
+ # }
5849
+ #
5850
+ # @!attribute [rw] bucket
5851
+ # The name of the bucket that contains the object.
5852
+ #
5853
+ # When using this action with an access point, you must direct
5854
+ # requests to the access point hostname. The access point hostname
5302
5855
  # takes the form
5303
5856
  # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
5304
5857
  # When using this action with an access point through the Amazon Web
@@ -5306,26 +5859,155 @@ module Aws::S3
5306
5859
  # bucket name. For more information about access point ARNs, see
5307
5860
  # [Using access points][1] in the *Amazon S3 User Guide*.
5308
5861
  #
5862
+ # When using this action with Amazon S3 on Outposts, you must direct
5863
+ # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
5864
+ # takes the form `
5865
+ # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
5866
+ # When using this action with S3 on Outposts through the Amazon Web
5867
+ # Services SDKs, you provide the Outposts bucket ARN in place of the
5868
+ # bucket name. For more information about S3 on Outposts ARNs, see
5869
+ # [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
5870
+ #
5309
5871
  #
5310
5872
  #
5311
5873
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
5874
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html
5312
5875
  # @return [String]
5313
5876
  #
5314
5877
  # @!attribute [rw] key
5315
- # The key name for the object whose Legal Hold status you want to
5878
+ # The object key.
5879
+ # @return [String]
5880
+ #
5881
+ # @!attribute [rw] version_id
5882
+ # The version ID used to reference a specific version of the object.
5883
+ # @return [String]
5884
+ #
5885
+ # @!attribute [rw] max_parts
5886
+ # Sets the maximum number of parts to return.
5887
+ # @return [Integer]
5888
+ #
5889
+ # @!attribute [rw] part_number_marker
5890
+ # Specifies the part after which listing should begin. Only parts with
5891
+ # higher part numbers will be listed.
5892
+ # @return [Integer]
5893
+ #
5894
+ # @!attribute [rw] sse_customer_algorithm
5895
+ # Specifies the algorithm to use when encrypting the object (for
5896
+ # example, AES256).
5897
+ # @return [String]
5898
+ #
5899
+ # @!attribute [rw] sse_customer_key
5900
+ # Specifies the customer-provided encryption key for Amazon S3 to use
5901
+ # in encrypting data. This value is used to store the object and then
5902
+ # it is discarded; Amazon S3 does not store the encryption key. The
5903
+ # key must be appropriate for use with the algorithm specified in the
5904
+ # `x-amz-server-side-encryption-customer-algorithm` header.
5905
+ # @return [String]
5906
+ #
5907
+ # @!attribute [rw] sse_customer_key_md5
5908
+ # Specifies the 128-bit MD5 digest of the encryption key according to
5909
+ # RFC 1321. Amazon S3 uses this header for a message integrity check
5910
+ # to ensure that the encryption key was transmitted without error.
5911
+ # @return [String]
5912
+ #
5913
+ # @!attribute [rw] request_payer
5914
+ # Confirms that the requester knows that they will be charged for the
5915
+ # request. Bucket owners need not specify this parameter in their
5916
+ # requests. For information about downloading objects from Requester
5917
+ # Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
5918
+ # in the *Amazon S3 User Guide*.
5919
+ #
5920
+ #
5921
+ #
5922
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
5923
+ # @return [String]
5924
+ #
5925
+ # @!attribute [rw] expected_bucket_owner
5926
+ # The account ID of the expected bucket owner. If the bucket is owned
5927
+ # by a different account, the request fails with the HTTP status code
5928
+ # `403 Forbidden` (access denied).
5929
+ # @return [String]
5930
+ #
5931
+ # @!attribute [rw] object_attributes
5932
+ # An XML header that specifies the fields at the root level that you
5933
+ # want returned in the response. Fields that you do not specify are
5934
+ # not returned.
5935
+ # @return [Array<String>]
5936
+ #
5937
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectAttributesRequest AWS API Documentation
5938
+ #
5939
+ class GetObjectAttributesRequest < Struct.new(
5940
+ :bucket,
5941
+ :key,
5942
+ :version_id,
5943
+ :max_parts,
5944
+ :part_number_marker,
5945
+ :sse_customer_algorithm,
5946
+ :sse_customer_key,
5947
+ :sse_customer_key_md5,
5948
+ :request_payer,
5949
+ :expected_bucket_owner,
5950
+ :object_attributes)
5951
+ SENSITIVE = [:sse_customer_key]
5952
+ include Aws::Structure
5953
+ end
5954
+
5955
+ # @!attribute [rw] legal_hold
5956
+ # The current legal hold status for the specified object.
5957
+ # @return [Types::ObjectLockLegalHold]
5958
+ #
5959
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectLegalHoldOutput AWS API Documentation
5960
+ #
5961
+ class GetObjectLegalHoldOutput < Struct.new(
5962
+ :legal_hold)
5963
+ SENSITIVE = []
5964
+ include Aws::Structure
5965
+ end
5966
+
5967
+ # @note When making an API call, you may pass GetObjectLegalHoldRequest
5968
+ # data as a hash:
5969
+ #
5970
+ # {
5971
+ # bucket: "BucketName", # required
5972
+ # key: "ObjectKey", # required
5973
+ # version_id: "ObjectVersionId",
5974
+ # request_payer: "requester", # accepts requester
5975
+ # expected_bucket_owner: "AccountId",
5976
+ # }
5977
+ #
5978
+ # @!attribute [rw] bucket
5979
+ # The bucket name containing the object whose legal hold status you
5980
+ # want to retrieve.
5981
+ #
5982
+ # When using this action with an access point, you must direct
5983
+ # requests to the access point hostname. The access point hostname
5984
+ # takes the form
5985
+ # *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
5986
+ # When using this action with an access point through the Amazon Web
5987
+ # Services SDKs, you provide the access point ARN in place of the
5988
+ # bucket name. For more information about access point ARNs, see
5989
+ # [Using access points][1] in the *Amazon S3 User Guide*.
5990
+ #
5991
+ #
5992
+ #
5993
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-access-points.html
5994
+ # @return [String]
5995
+ #
5996
+ # @!attribute [rw] key
5997
+ # The key name for the object whose legal hold status you want to
5316
5998
  # retrieve.
5317
5999
  # @return [String]
5318
6000
  #
5319
6001
  # @!attribute [rw] version_id
5320
- # The version ID of the object whose Legal Hold status you want to
6002
+ # The version ID of the object whose legal hold status you want to
5321
6003
  # retrieve.
5322
6004
  # @return [String]
5323
6005
  #
5324
6006
  # @!attribute [rw] request_payer
5325
6007
  # Confirms that the requester knows that they will be charged for the
5326
6008
  # request. Bucket owners need not specify this parameter in their
5327
- # requests. For information about downloading objects from requester
5328
- # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
6009
+ # requests. For information about downloading objects from Requester
6010
+ # Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
5329
6011
  # in the *Amazon S3 User Guide*.
5330
6012
  #
5331
6013
  #
@@ -5335,8 +6017,8 @@ module Aws::S3
5335
6017
  #
5336
6018
  # @!attribute [rw] expected_bucket_owner
5337
6019
  # The account ID of the expected bucket owner. If the bucket is owned
5338
- # by a different account, the request will fail with an HTTP `403
5339
- # (Access Denied)` error.
6020
+ # by a different account, the request fails with the HTTP status code
6021
+ # `403 Forbidden` (access denied).
5340
6022
  # @return [String]
5341
6023
  #
5342
6024
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectLegalHoldRequest AWS API Documentation
@@ -5390,8 +6072,8 @@ module Aws::S3
5390
6072
  #
5391
6073
  # @!attribute [rw] expected_bucket_owner
5392
6074
  # The account ID of the expected bucket owner. If the bucket is owned
5393
- # by a different account, the request will fail with an HTTP `403
5394
- # (Access Denied)` error.
6075
+ # by a different account, the request fails with the HTTP status code
6076
+ # `403 Forbidden` (access denied).
5395
6077
  # @return [String]
5396
6078
  #
5397
6079
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectLockConfigurationRequest AWS API Documentation
@@ -5419,9 +6101,9 @@ module Aws::S3
5419
6101
  #
5420
6102
  # @!attribute [rw] expiration
5421
6103
  # If the object expiration is configured (see PUT Bucket lifecycle),
5422
- # the response includes this header. It includes the expiry-date and
5423
- # rule-id key-value pairs providing object expiration information. The
5424
- # value of the rule-id is URL encoded.
6104
+ # the response includes this header. It includes the `expiry-date` and
6105
+ # `rule-id` key-value pairs providing object expiration information.
6106
+ # The value of the `rule-id` is URL-encoded.
5425
6107
  # @return [String]
5426
6108
  #
5427
6109
  # @!attribute [rw] restore
@@ -5438,8 +6120,60 @@ module Aws::S3
5438
6120
  # @return [Integer]
5439
6121
  #
5440
6122
  # @!attribute [rw] etag
5441
- # An ETag is an opaque identifier assigned by a web server to a
5442
- # specific version of a resource found at a URL.
6123
+ # An entity tag (ETag) is an opaque identifier assigned by a web
6124
+ # server to a specific version of a resource found at a URL.
6125
+ # @return [String]
6126
+ #
6127
+ # @!attribute [rw] checksum_crc32
6128
+ # The base64-encoded, 32-bit CRC32 checksum of the object. This will
6129
+ # only be present if it was uploaded with the object. With multipart
6130
+ # uploads, this may not be a checksum value of the object. For more
6131
+ # information about how checksums are calculated with multipart
6132
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
6133
+ # Guide*.
6134
+ #
6135
+ #
6136
+ #
6137
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
6138
+ # @return [String]
6139
+ #
6140
+ # @!attribute [rw] checksum_crc32c
6141
+ # The base64-encoded, 32-bit CRC32C checksum of the object. This will
6142
+ # only be present if it was uploaded with the object. With multipart
6143
+ # uploads, this may not be a checksum value of the object. For more
6144
+ # information about how checksums are calculated with multipart
6145
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
6146
+ # Guide*.
6147
+ #
6148
+ #
6149
+ #
6150
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
6151
+ # @return [String]
6152
+ #
6153
+ # @!attribute [rw] checksum_sha1
6154
+ # The base64-encoded, 160-bit SHA-1 digest of the object. This will
6155
+ # only be present if it was uploaded with the object. With multipart
6156
+ # uploads, this may not be a checksum value of the object. For more
6157
+ # information about how checksums are calculated with multipart
6158
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
6159
+ # Guide*.
6160
+ #
6161
+ #
6162
+ #
6163
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
6164
+ # @return [String]
6165
+ #
6166
+ # @!attribute [rw] checksum_sha256
6167
+ # The base64-encoded, 256-bit SHA-256 digest of the object. This will
6168
+ # only be present if it was uploaded with the object. With multipart
6169
+ # uploads, this may not be a checksum value of the object. For more
6170
+ # information about how checksums are calculated with multipart
6171
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
6172
+ # Guide*.
6173
+ #
6174
+ #
6175
+ #
6176
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
5443
6177
  # @return [String]
5444
6178
  #
5445
6179
  # @!attribute [rw] missing_meta
@@ -5544,7 +6278,9 @@ module Aws::S3
5544
6278
  # @return [String]
5545
6279
  #
5546
6280
  # @!attribute [rw] parts_count
5547
- # The count of parts this object has.
6281
+ # The count of parts this object has. This value is only returned if
6282
+ # you specify `partNumber` in your request and the object was uploaded
6283
+ # as a multipart upload.
5548
6284
  # @return [Integer]
5549
6285
  #
5550
6286
  # @!attribute [rw] tag_count
@@ -5576,6 +6312,10 @@ module Aws::S3
5576
6312
  :last_modified,
5577
6313
  :content_length,
5578
6314
  :etag,
6315
+ :checksum_crc32,
6316
+ :checksum_crc32c,
6317
+ :checksum_sha1,
6318
+ :checksum_sha256,
5579
6319
  :missing_meta,
5580
6320
  :version_id,
5581
6321
  :cache_control,
@@ -5629,6 +6369,7 @@ module Aws::S3
5629
6369
  # request_payer: "requester", # accepts requester
5630
6370
  # part_number: 1,
5631
6371
  # expected_bucket_owner: "AccountId",
6372
+ # checksum_mode: "ENABLED", # accepts ENABLED
5632
6373
  # }
5633
6374
  #
5634
6375
  # @!attribute [rw] bucket
@@ -5648,12 +6389,12 @@ module Aws::S3
5648
6389
  #
5649
6390
  # When using this action with Amazon S3 on Outposts, you must direct
5650
6391
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
5651
- # takes the form
5652
- # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
5653
- # When using this action using S3 on Outposts through the Amazon Web
6392
+ # takes the form `
6393
+ # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
6394
+ # When using this action with S3 on Outposts through the Amazon Web
5654
6395
  # Services SDKs, you provide the Outposts bucket ARN in place of the
5655
6396
  # bucket name. For more information about S3 on Outposts ARNs, see
5656
- # [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
6397
+ # [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
5657
6398
  #
5658
6399
  #
5659
6400
  #
@@ -5663,22 +6404,22 @@ module Aws::S3
5663
6404
  #
5664
6405
  # @!attribute [rw] if_match
5665
6406
  # Return the object only if its entity tag (ETag) is the same as the
5666
- # one specified, otherwise return a 412 (precondition failed).
6407
+ # one specified; otherwise, return a 412 (precondition failed) error.
5667
6408
  # @return [String]
5668
6409
  #
5669
6410
  # @!attribute [rw] if_modified_since
5670
6411
  # Return the object only if it has been modified since the specified
5671
- # time, otherwise return a 304 (not modified).
6412
+ # time; otherwise, return a 304 (not modified) error.
5672
6413
  # @return [Time]
5673
6414
  #
5674
6415
  # @!attribute [rw] if_none_match
5675
6416
  # Return the object only if its entity tag (ETag) is different from
5676
- # the one specified, otherwise return a 304 (not modified).
6417
+ # the one specified; otherwise, return a 304 (not modified) error.
5677
6418
  # @return [String]
5678
6419
  #
5679
6420
  # @!attribute [rw] if_unmodified_since
5680
6421
  # Return the object only if it has not been modified since the
5681
- # specified time, otherwise return a 412 (precondition failed).
6422
+ # specified time; otherwise, return a 412 (precondition failed) error.
5682
6423
  # @return [Time]
5683
6424
  #
5684
6425
  # @!attribute [rw] key
@@ -5750,8 +6491,8 @@ module Aws::S3
5750
6491
  # @!attribute [rw] request_payer
5751
6492
  # Confirms that the requester knows that they will be charged for the
5752
6493
  # request. Bucket owners need not specify this parameter in their
5753
- # requests. For information about downloading objects from requester
5754
- # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
6494
+ # requests. For information about downloading objects from Requester
6495
+ # Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
5755
6496
  # in the *Amazon S3 User Guide*.
5756
6497
  #
5757
6498
  #
@@ -5768,8 +6509,12 @@ module Aws::S3
5768
6509
  #
5769
6510
  # @!attribute [rw] expected_bucket_owner
5770
6511
  # The account ID of the expected bucket owner. If the bucket is owned
5771
- # by a different account, the request will fail with an HTTP `403
5772
- # (Access Denied)` error.
6512
+ # by a different account, the request fails with the HTTP status code
6513
+ # `403 Forbidden` (access denied).
6514
+ # @return [String]
6515
+ #
6516
+ # @!attribute [rw] checksum_mode
6517
+ # To retrieve the checksum, this mode must be enabled.
5773
6518
  # @return [String]
5774
6519
  #
5775
6520
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectRequest AWS API Documentation
@@ -5794,7 +6539,8 @@ module Aws::S3
5794
6539
  :sse_customer_key_md5,
5795
6540
  :request_payer,
5796
6541
  :part_number,
5797
- :expected_bucket_owner)
6542
+ :expected_bucket_owner,
6543
+ :checksum_mode)
5798
6544
  SENSITIVE = [:sse_customer_key]
5799
6545
  include Aws::Structure
5800
6546
  end
@@ -5853,8 +6599,8 @@ module Aws::S3
5853
6599
  # @!attribute [rw] request_payer
5854
6600
  # Confirms that the requester knows that they will be charged for the
5855
6601
  # request. Bucket owners need not specify this parameter in their
5856
- # requests. For information about downloading objects from requester
5857
- # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
6602
+ # requests. For information about downloading objects from Requester
6603
+ # Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
5858
6604
  # in the *Amazon S3 User Guide*.
5859
6605
  #
5860
6606
  #
@@ -5864,8 +6610,8 @@ module Aws::S3
5864
6610
  #
5865
6611
  # @!attribute [rw] expected_bucket_owner
5866
6612
  # The account ID of the expected bucket owner. If the bucket is owned
5867
- # by a different account, the request will fail with an HTTP `403
5868
- # (Access Denied)` error.
6613
+ # by a different account, the request fails with the HTTP status code
6614
+ # `403 Forbidden` (access denied).
5869
6615
  # @return [String]
5870
6616
  #
5871
6617
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectRetentionRequest AWS API Documentation
@@ -5924,12 +6670,12 @@ module Aws::S3
5924
6670
  #
5925
6671
  # When using this action with Amazon S3 on Outposts, you must direct
5926
6672
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
5927
- # takes the form
5928
- # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
5929
- # When using this action using S3 on Outposts through the Amazon Web
6673
+ # takes the form `
6674
+ # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
6675
+ # When using this action with S3 on Outposts through the Amazon Web
5930
6676
  # Services SDKs, you provide the Outposts bucket ARN in place of the
5931
6677
  # bucket name. For more information about S3 on Outposts ARNs, see
5932
- # [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
6678
+ # [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
5933
6679
  #
5934
6680
  #
5935
6681
  #
@@ -5948,15 +6694,15 @@ module Aws::S3
5948
6694
  #
5949
6695
  # @!attribute [rw] expected_bucket_owner
5950
6696
  # The account ID of the expected bucket owner. If the bucket is owned
5951
- # by a different account, the request will fail with an HTTP `403
5952
- # (Access Denied)` error.
6697
+ # by a different account, the request fails with the HTTP status code
6698
+ # `403 Forbidden` (access denied).
5953
6699
  # @return [String]
5954
6700
  #
5955
6701
  # @!attribute [rw] request_payer
5956
6702
  # Confirms that the requester knows that they will be charged for the
5957
6703
  # request. Bucket owners need not specify this parameter in their
5958
- # requests. For information about downloading objects from requester
5959
- # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
6704
+ # requests. For information about downloading objects from Requester
6705
+ # Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
5960
6706
  # in the *Amazon S3 User Guide*.
5961
6707
  #
5962
6708
  #
@@ -6016,8 +6762,8 @@ module Aws::S3
6016
6762
  # @!attribute [rw] request_payer
6017
6763
  # Confirms that the requester knows that they will be charged for the
6018
6764
  # request. Bucket owners need not specify this parameter in their
6019
- # requests. For information about downloading objects from requester
6020
- # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
6765
+ # requests. For information about downloading objects from Requester
6766
+ # Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
6021
6767
  # in the *Amazon S3 User Guide*.
6022
6768
  #
6023
6769
  #
@@ -6027,8 +6773,8 @@ module Aws::S3
6027
6773
  #
6028
6774
  # @!attribute [rw] expected_bucket_owner
6029
6775
  # The account ID of the expected bucket owner. If the bucket is owned
6030
- # by a different account, the request will fail with an HTTP `403
6031
- # (Access Denied)` error.
6776
+ # by a different account, the request fails with the HTTP status code
6777
+ # `403 Forbidden` (access denied).
6032
6778
  # @return [String]
6033
6779
  #
6034
6780
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetObjectTorrentRequest AWS API Documentation
@@ -6070,8 +6816,8 @@ module Aws::S3
6070
6816
  #
6071
6817
  # @!attribute [rw] expected_bucket_owner
6072
6818
  # The account ID of the expected bucket owner. If the bucket is owned
6073
- # by a different account, the request will fail with an HTTP `403
6074
- # (Access Denied)` error.
6819
+ # by a different account, the request fails with the HTTP status code
6820
+ # `403 Forbidden` (access denied).
6075
6821
  # @return [String]
6076
6822
  #
6077
6823
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetPublicAccessBlockRequest AWS API Documentation
@@ -6233,12 +6979,12 @@ module Aws::S3
6233
6979
  #
6234
6980
  # When using this action with Amazon S3 on Outposts, you must direct
6235
6981
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
6236
- # takes the form
6237
- # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
6238
- # When using this action using S3 on Outposts through the Amazon Web
6982
+ # takes the form `
6983
+ # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
6984
+ # When using this action with S3 on Outposts through the Amazon Web
6239
6985
  # Services SDKs, you provide the Outposts bucket ARN in place of the
6240
6986
  # bucket name. For more information about S3 on Outposts ARNs, see
6241
- # [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
6987
+ # [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
6242
6988
  #
6243
6989
  #
6244
6990
  #
@@ -6248,8 +6994,8 @@ module Aws::S3
6248
6994
  #
6249
6995
  # @!attribute [rw] expected_bucket_owner
6250
6996
  # The account ID of the expected bucket owner. If the bucket is owned
6251
- # by a different account, the request will fail with an HTTP `403
6252
- # (Access Denied)` error.
6997
+ # by a different account, the request fails with the HTTP status code
6998
+ # `403 Forbidden` (access denied).
6253
6999
  # @return [String]
6254
7000
  #
6255
7001
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadBucketRequest AWS API Documentation
@@ -6273,9 +7019,9 @@ module Aws::S3
6273
7019
  #
6274
7020
  # @!attribute [rw] expiration
6275
7021
  # If the object expiration is configured (see PUT Bucket lifecycle),
6276
- # the response includes this header. It includes the expiry-date and
6277
- # rule-id key-value pairs providing object expiration information. The
6278
- # value of the rule-id is URL encoded.
7022
+ # the response includes this header. It includes the `expiry-date` and
7023
+ # `rule-id` key-value pairs providing object expiration information.
7024
+ # The value of the `rule-id` is URL-encoded.
6279
7025
  # @return [String]
6280
7026
  #
6281
7027
  # @!attribute [rw] restore
@@ -6314,9 +7060,61 @@ module Aws::S3
6314
7060
  # Size of the body in bytes.
6315
7061
  # @return [Integer]
6316
7062
  #
7063
+ # @!attribute [rw] checksum_crc32
7064
+ # The base64-encoded, 32-bit CRC32 checksum of the object. This will
7065
+ # only be present if it was uploaded with the object. With multipart
7066
+ # uploads, this may not be a checksum value of the object. For more
7067
+ # information about how checksums are calculated with multipart
7068
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
7069
+ # Guide*.
7070
+ #
7071
+ #
7072
+ #
7073
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
7074
+ # @return [String]
7075
+ #
7076
+ # @!attribute [rw] checksum_crc32c
7077
+ # The base64-encoded, 32-bit CRC32C checksum of the object. This will
7078
+ # only be present if it was uploaded with the object. With multipart
7079
+ # uploads, this may not be a checksum value of the object. For more
7080
+ # information about how checksums are calculated with multipart
7081
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
7082
+ # Guide*.
7083
+ #
7084
+ #
7085
+ #
7086
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
7087
+ # @return [String]
7088
+ #
7089
+ # @!attribute [rw] checksum_sha1
7090
+ # The base64-encoded, 160-bit SHA-1 digest of the object. This will
7091
+ # only be present if it was uploaded with the object. With multipart
7092
+ # uploads, this may not be a checksum value of the object. For more
7093
+ # information about how checksums are calculated with multipart
7094
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
7095
+ # Guide*.
7096
+ #
7097
+ #
7098
+ #
7099
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
7100
+ # @return [String]
7101
+ #
7102
+ # @!attribute [rw] checksum_sha256
7103
+ # The base64-encoded, 256-bit SHA-256 digest of the object. This will
7104
+ # only be present if it was uploaded with the object. With multipart
7105
+ # uploads, this may not be a checksum value of the object. For more
7106
+ # information about how checksums are calculated with multipart
7107
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
7108
+ # Guide*.
7109
+ #
7110
+ #
7111
+ #
7112
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
7113
+ # @return [String]
7114
+ #
6317
7115
  # @!attribute [rw] etag
6318
- # An ETag is an opaque identifier assigned by a web server to a
6319
- # specific version of a resource found at a URL.
7116
+ # An entity tag (ETag) is an opaque identifier assigned by a web
7117
+ # server to a specific version of a resource found at a URL.
6320
7118
  # @return [String]
6321
7119
  #
6322
7120
  # @!attribute [rw] missing_meta
@@ -6430,7 +7228,7 @@ module Aws::S3
6430
7228
  # metadata (`HeadObject`) from these buckets, Amazon S3 will return
6431
7229
  # the `x-amz-replication-status` header in the response as follows:
6432
7230
  #
6433
- # * If requesting an object from the source bucket Amazon S3 will
7231
+ # * **If requesting an object from the source bucket**, Amazon S3 will
6434
7232
  # return the `x-amz-replication-status` header if the object in your
6435
7233
  # request is eligible for replication.
6436
7234
  #
@@ -6443,12 +7241,13 @@ module Aws::S3
6443
7241
  # header with value PENDING, COMPLETED or FAILED indicating object
6444
7242
  # replication status.
6445
7243
  #
6446
- # * If requesting an object from a destination bucket Amazon S3 will
6447
- # return the `x-amz-replication-status` header with value REPLICA if
6448
- # the object in your request is a replica that Amazon S3 created and
6449
- # there is no replica modification replication in progress.
7244
+ # * **If requesting an object from a destination bucket**, Amazon S3
7245
+ # will return the `x-amz-replication-status` header with value
7246
+ # REPLICA if the object in your request is a replica that Amazon S3
7247
+ # created and there is no replica modification replication in
7248
+ # progress.
6450
7249
  #
6451
- # * When replicating objects to multiple destination buckets the
7250
+ # * **When replicating objects to multiple destination buckets**, the
6452
7251
  # `x-amz-replication-status` header acts differently. The header of
6453
7252
  # the source object will only return a value of COMPLETED when
6454
7253
  # replication is successful to all destinations. The header will
@@ -6464,7 +7263,9 @@ module Aws::S3
6464
7263
  # @return [String]
6465
7264
  #
6466
7265
  # @!attribute [rw] parts_count
6467
- # The count of parts this object has.
7266
+ # The count of parts this object has. This value is only returned if
7267
+ # you specify `partNumber` in your request and the object was uploaded
7268
+ # as a multipart upload.
6468
7269
  # @return [Integer]
6469
7270
  #
6470
7271
  # @!attribute [rw] object_lock_mode
@@ -6507,6 +7308,10 @@ module Aws::S3
6507
7308
  :archive_status,
6508
7309
  :last_modified,
6509
7310
  :content_length,
7311
+ :checksum_crc32,
7312
+ :checksum_crc32c,
7313
+ :checksum_sha1,
7314
+ :checksum_sha256,
6510
7315
  :etag,
6511
7316
  :missing_meta,
6512
7317
  :version_id,
@@ -6553,6 +7358,7 @@ module Aws::S3
6553
7358
  # request_payer: "requester", # accepts requester
6554
7359
  # part_number: 1,
6555
7360
  # expected_bucket_owner: "AccountId",
7361
+ # checksum_mode: "ENABLED", # accepts ENABLED
6556
7362
  # }
6557
7363
  #
6558
7364
  # @!attribute [rw] bucket
@@ -6569,12 +7375,12 @@ module Aws::S3
6569
7375
  #
6570
7376
  # When using this action with Amazon S3 on Outposts, you must direct
6571
7377
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
6572
- # takes the form
6573
- # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
6574
- # When using this action using S3 on Outposts through the Amazon Web
7378
+ # takes the form `
7379
+ # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
7380
+ # When using this action with S3 on Outposts through the Amazon Web
6575
7381
  # Services SDKs, you provide the Outposts bucket ARN in place of the
6576
7382
  # bucket name. For more information about S3 on Outposts ARNs, see
6577
- # [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
7383
+ # [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
6578
7384
  #
6579
7385
  #
6580
7386
  #
@@ -6584,22 +7390,22 @@ module Aws::S3
6584
7390
  #
6585
7391
  # @!attribute [rw] if_match
6586
7392
  # Return the object only if its entity tag (ETag) is the same as the
6587
- # one specified, otherwise return a 412 (precondition failed).
7393
+ # one specified; otherwise, return a 412 (precondition failed) error.
6588
7394
  # @return [String]
6589
7395
  #
6590
7396
  # @!attribute [rw] if_modified_since
6591
7397
  # Return the object only if it has been modified since the specified
6592
- # time, otherwise return a 304 (not modified).
7398
+ # time; otherwise, return a 304 (not modified) error.
6593
7399
  # @return [Time]
6594
7400
  #
6595
7401
  # @!attribute [rw] if_none_match
6596
7402
  # Return the object only if its entity tag (ETag) is different from
6597
- # the one specified, otherwise return a 304 (not modified).
7403
+ # the one specified; otherwise, return a 304 (not modified) error.
6598
7404
  # @return [String]
6599
7405
  #
6600
7406
  # @!attribute [rw] if_unmodified_since
6601
7407
  # Return the object only if it has not been modified since the
6602
- # specified time, otherwise return a 412 (precondition failed).
7408
+ # specified time; otherwise, return a 412 (precondition failed) error.
6603
7409
  # @return [Time]
6604
7410
  #
6605
7411
  # @!attribute [rw] key
@@ -6607,18 +7413,8 @@ module Aws::S3
6607
7413
  # @return [String]
6608
7414
  #
6609
7415
  # @!attribute [rw] range
6610
- # Downloads the specified range bytes of an object. For more
6611
- # information about the HTTP Range header, see
6612
- # [http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35][1].
6613
- #
6614
- # <note markdown="1"> Amazon S3 doesn't support retrieving multiple ranges of data per
6615
- # `GET` request.
6616
- #
6617
- # </note>
6618
- #
6619
- #
6620
- #
6621
- # [1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35
7416
+ # Because `HeadObject` returns only the metadata for an object, this
7417
+ # parameter has no effect.
6622
7418
  # @return [String]
6623
7419
  #
6624
7420
  # @!attribute [rw] version_id
@@ -6647,8 +7443,8 @@ module Aws::S3
6647
7443
  # @!attribute [rw] request_payer
6648
7444
  # Confirms that the requester knows that they will be charged for the
6649
7445
  # request. Bucket owners need not specify this parameter in their
6650
- # requests. For information about downloading objects from requester
6651
- # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
7446
+ # requests. For information about downloading objects from Requester
7447
+ # Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
6652
7448
  # in the *Amazon S3 User Guide*.
6653
7449
  #
6654
7450
  #
@@ -6665,8 +7461,17 @@ module Aws::S3
6665
7461
  #
6666
7462
  # @!attribute [rw] expected_bucket_owner
6667
7463
  # The account ID of the expected bucket owner. If the bucket is owned
6668
- # by a different account, the request will fail with an HTTP `403
6669
- # (Access Denied)` error.
7464
+ # by a different account, the request fails with the HTTP status code
7465
+ # `403 Forbidden` (access denied).
7466
+ # @return [String]
7467
+ #
7468
+ # @!attribute [rw] checksum_mode
7469
+ # To retrieve the checksum, this parameter must be enabled.
7470
+ #
7471
+ # In addition, if you enable `ChecksumMode` and the object is
7472
+ # encrypted with Amazon Web Services Key Management Service (Amazon
7473
+ # Web Services KMS), you must have permission to use the `kms:Decrypt`
7474
+ # action for the request to succeed.
6670
7475
  # @return [String]
6671
7476
  #
6672
7477
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadObjectRequest AWS API Documentation
@@ -6685,7 +7490,8 @@ module Aws::S3
6685
7490
  :sse_customer_key_md5,
6686
7491
  :request_payer,
6687
7492
  :part_number,
6688
- :expected_bucket_owner)
7493
+ :expected_bucket_owner,
7494
+ :checksum_mode)
6689
7495
  SENSITIVE = [:sse_customer_key]
6690
7496
  include Aws::Structure
6691
7497
  end
@@ -7007,7 +7813,7 @@ module Aws::S3
7007
7813
  # },
7008
7814
  # id: "InventoryId", # required
7009
7815
  # included_object_versions: "All", # required, accepts All, Current
7010
- # optional_fields: ["Size"], # accepts Size, LastModifiedDate, StorageClass, ETag, IsMultipartUploaded, ReplicationStatus, EncryptionStatus, ObjectLockRetainUntilDate, ObjectLockMode, ObjectLockLegalHoldStatus, IntelligentTieringAccessTier, BucketKeyStatus
7816
+ # optional_fields: ["Size"], # accepts Size, LastModifiedDate, StorageClass, ETag, IsMultipartUploaded, ReplicationStatus, EncryptionStatus, ObjectLockRetainUntilDate, ObjectLockMode, ObjectLockLegalHoldStatus, IntelligentTieringAccessTier, BucketKeyStatus, ChecksumAlgorithm
7011
7817
  # schedule: { # required
7012
7818
  # frequency: "Daily", # required, accepts Daily, Weekly
7013
7819
  # },
@@ -7510,7 +8316,7 @@ module Aws::S3
7510
8316
  # The `Filter` is used to identify objects that a Lifecycle Rule
7511
8317
  # applies to. A `Filter` must have exactly one of `Prefix`, `Tag`, or
7512
8318
  # `And` specified. `Filter` is required if the `LifecycleRule` does
7513
- # not containt a `Prefix` element.
8319
+ # not contain a `Prefix` element.
7514
8320
  # @return [Types::LifecycleRuleFilter]
7515
8321
  #
7516
8322
  # @!attribute [rw] status
@@ -7743,8 +8549,8 @@ module Aws::S3
7743
8549
  #
7744
8550
  # @!attribute [rw] expected_bucket_owner
7745
8551
  # The account ID of the expected bucket owner. If the bucket is owned
7746
- # by a different account, the request will fail with an HTTP `403
7747
- # (Access Denied)` error.
8552
+ # by a different account, the request fails with the HTTP status code
8553
+ # `403 Forbidden` (access denied).
7748
8554
  # @return [String]
7749
8555
  #
7750
8556
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketAnalyticsConfigurationsRequest AWS API Documentation
@@ -7759,14 +8565,14 @@ module Aws::S3
7759
8565
 
7760
8566
  # @!attribute [rw] is_truncated
7761
8567
  # Indicates whether the returned list of analytics configurations is
7762
- # complete. A value of true indicates that the list is not complete
7763
- # and the NextContinuationToken will be provided for a subsequent
8568
+ # complete. A value of `true` indicates that the list is not complete
8569
+ # and the `NextContinuationToken` will be provided for a subsequent
7764
8570
  # request.
7765
8571
  # @return [Boolean]
7766
8572
  #
7767
8573
  # @!attribute [rw] continuation_token
7768
- # The ContinuationToken that represents a placeholder from where this
7769
- # request should begin.
8574
+ # The `ContinuationToken` that represents a placeholder from where
8575
+ # this request should begin.
7770
8576
  # @return [String]
7771
8577
  #
7772
8578
  # @!attribute [rw] next_continuation_token
@@ -7805,8 +8611,8 @@ module Aws::S3
7805
8611
  # @return [String]
7806
8612
  #
7807
8613
  # @!attribute [rw] continuation_token
7808
- # The ContinuationToken that represents a placeholder from where this
7809
- # request should begin.
8614
+ # The `ContinuationToken` that represents a placeholder from where
8615
+ # this request should begin.
7810
8616
  # @return [String]
7811
8617
  #
7812
8618
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketIntelligentTieringConfigurationsRequest AWS API Documentation
@@ -7874,8 +8680,8 @@ module Aws::S3
7874
8680
  #
7875
8681
  # @!attribute [rw] expected_bucket_owner
7876
8682
  # The account ID of the expected bucket owner. If the bucket is owned
7877
- # by a different account, the request will fail with an HTTP `403
7878
- # (Access Denied)` error.
8683
+ # by a different account, the request fails with the HTTP status code
8684
+ # `403 Forbidden` (access denied).
7879
8685
  # @return [String]
7880
8686
  #
7881
8687
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketInventoryConfigurationsRequest AWS API Documentation
@@ -7946,8 +8752,8 @@ module Aws::S3
7946
8752
  #
7947
8753
  # @!attribute [rw] expected_bucket_owner
7948
8754
  # The account ID of the expected bucket owner. If the bucket is owned
7949
- # by a different account, the request will fail with an HTTP `403
7950
- # (Access Denied)` error.
8755
+ # by a different account, the request fails with the HTTP status code
8756
+ # `403 Forbidden` (access denied).
7951
8757
  # @return [String]
7952
8758
  #
7953
8759
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketMetricsConfigurationsRequest AWS API Documentation
@@ -7961,7 +8767,7 @@ module Aws::S3
7961
8767
  end
7962
8768
 
7963
8769
  # @!attribute [rw] buckets
7964
- # The list of buckets owned by the requestor.
8770
+ # The list of buckets owned by the requester.
7965
8771
  # @return [Array<Types::Bucket>]
7966
8772
  #
7967
8773
  # @!attribute [rw] owner
@@ -8096,12 +8902,12 @@ module Aws::S3
8096
8902
  #
8097
8903
  # When using this action with Amazon S3 on Outposts, you must direct
8098
8904
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
8099
- # takes the form
8100
- # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
8101
- # When using this action using S3 on Outposts through the Amazon Web
8905
+ # takes the form `
8906
+ # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
8907
+ # When using this action with S3 on Outposts through the Amazon Web
8102
8908
  # Services SDKs, you provide the Outposts bucket ARN in place of the
8103
8909
  # bucket name. For more information about S3 on Outposts ARNs, see
8104
- # [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
8910
+ # [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
8105
8911
  #
8106
8912
  #
8107
8913
  #
@@ -8168,8 +8974,8 @@ module Aws::S3
8168
8974
  #
8169
8975
  # @!attribute [rw] expected_bucket_owner
8170
8976
  # The account ID of the expected bucket owner. If the bucket is owned
8171
- # by a different account, the request will fail with an HTTP `403
8172
- # (Access Denied)` error.
8977
+ # by a different account, the request fails with the HTTP status code
8978
+ # `403 Forbidden` (access denied).
8173
8979
  # @return [String]
8174
8980
  #
8175
8981
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListMultipartUploadsRequest AWS API Documentation
@@ -8348,8 +9154,8 @@ module Aws::S3
8348
9154
  #
8349
9155
  # @!attribute [rw] expected_bucket_owner
8350
9156
  # The account ID of the expected bucket owner. If the bucket is owned
8351
- # by a different account, the request will fail with an HTTP `403
8352
- # (Access Denied)` error.
9157
+ # by a different account, the request fails with the HTTP status code
9158
+ # `403 Forbidden` (access denied).
8353
9159
  # @return [String]
8354
9160
  #
8355
9161
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectVersionsRequest AWS API Documentation
@@ -8481,12 +9287,12 @@ module Aws::S3
8481
9287
  #
8482
9288
  # When using this action with Amazon S3 on Outposts, you must direct
8483
9289
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
8484
- # takes the form
8485
- # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
8486
- # When using this action using S3 on Outposts through the Amazon Web
9290
+ # takes the form `
9291
+ # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
9292
+ # When using this action with S3 on Outposts through the Amazon Web
8487
9293
  # Services SDKs, you provide the Outposts bucket ARN in place of the
8488
9294
  # bucket name. For more information about S3 on Outposts ARNs, see
8489
- # [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
9295
+ # [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
8490
9296
  #
8491
9297
  #
8492
9298
  #
@@ -8531,8 +9337,8 @@ module Aws::S3
8531
9337
  #
8532
9338
  # @!attribute [rw] expected_bucket_owner
8533
9339
  # The account ID of the expected bucket owner. If the bucket is owned
8534
- # by a different account, the request will fail with an HTTP `403
8535
- # (Access Denied)` error.
9340
+ # by a different account, the request fails with the HTTP status code
9341
+ # `403 Forbidden` (access denied).
8536
9342
  # @return [String]
8537
9343
  #
8538
9344
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsRequest AWS API Documentation
@@ -8574,12 +9380,12 @@ module Aws::S3
8574
9380
  #
8575
9381
  # When using this action with Amazon S3 on Outposts, you must direct
8576
9382
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
8577
- # takes the form
8578
- # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
8579
- # When using this action using S3 on Outposts through the Amazon Web
9383
+ # takes the form `
9384
+ # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
9385
+ # When using this action with S3 on Outposts through the Amazon Web
8580
9386
  # Services SDKs, you provide the Outposts bucket ARN in place of the
8581
9387
  # bucket name. For more information about S3 on Outposts ARNs, see
8582
- # [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
9388
+ # [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
8583
9389
  #
8584
9390
  #
8585
9391
  #
@@ -8709,12 +9515,12 @@ module Aws::S3
8709
9515
  #
8710
9516
  # When using this action with Amazon S3 on Outposts, you must direct
8711
9517
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
8712
- # takes the form
8713
- # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
8714
- # When using this action using S3 on Outposts through the Amazon Web
9518
+ # takes the form `
9519
+ # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
9520
+ # When using this action with S3 on Outposts through the Amazon Web
8715
9521
  # Services SDKs, you provide the Outposts bucket ARN in place of the
8716
9522
  # bucket name. For more information about S3 on Outposts ARNs, see
8717
- # [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
9523
+ # [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
8718
9524
  #
8719
9525
  #
8720
9526
  #
@@ -8767,8 +9573,8 @@ module Aws::S3
8767
9573
  #
8768
9574
  # @!attribute [rw] expected_bucket_owner
8769
9575
  # The account ID of the expected bucket owner. If the bucket is owned
8770
- # by a different account, the request will fail with an HTTP `403
8771
- # (Access Denied)` error.
9576
+ # by a different account, the request fails with the HTTP status code
9577
+ # `403 Forbidden` (access denied).
8772
9578
  # @return [String]
8773
9579
  #
8774
9580
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsV2Request AWS API Documentation
@@ -8878,6 +9684,10 @@ module Aws::S3
8878
9684
  # for the request.
8879
9685
  # @return [String]
8880
9686
  #
9687
+ # @!attribute [rw] checksum_algorithm
9688
+ # The algorithm that was used to create a checksum of the object.
9689
+ # @return [String]
9690
+ #
8881
9691
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListPartsOutput AWS API Documentation
8882
9692
  #
8883
9693
  class ListPartsOutput < Struct.new(
@@ -8894,7 +9704,8 @@ module Aws::S3
8894
9704
  :initiator,
8895
9705
  :owner,
8896
9706
  :storage_class,
8897
- :request_charged)
9707
+ :request_charged,
9708
+ :checksum_algorithm)
8898
9709
  SENSITIVE = []
8899
9710
  include Aws::Structure
8900
9711
  end
@@ -8910,6 +9721,9 @@ module Aws::S3
8910
9721
  # upload_id: "MultipartUploadId", # required
8911
9722
  # request_payer: "requester", # accepts requester
8912
9723
  # expected_bucket_owner: "AccountId",
9724
+ # sse_customer_algorithm: "SSECustomerAlgorithm",
9725
+ # sse_customer_key: "SSECustomerKey",
9726
+ # sse_customer_key_md5: "SSECustomerKeyMD5",
8913
9727
  # }
8914
9728
  #
8915
9729
  # @!attribute [rw] bucket
@@ -8926,12 +9740,12 @@ module Aws::S3
8926
9740
  #
8927
9741
  # When using this action with Amazon S3 on Outposts, you must direct
8928
9742
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
8929
- # takes the form
8930
- # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
8931
- # When using this action using S3 on Outposts through the Amazon Web
9743
+ # takes the form `
9744
+ # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
9745
+ # When using this action with S3 on Outposts through the Amazon Web
8932
9746
  # Services SDKs, you provide the Outposts bucket ARN in place of the
8933
9747
  # bucket name. For more information about S3 on Outposts ARNs, see
8934
- # [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
9748
+ # [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
8935
9749
  #
8936
9750
  #
8937
9751
  #
@@ -8960,8 +9774,8 @@ module Aws::S3
8960
9774
  # @!attribute [rw] request_payer
8961
9775
  # Confirms that the requester knows that they will be charged for the
8962
9776
  # request. Bucket owners need not specify this parameter in their
8963
- # requests. For information about downloading objects from requester
8964
- # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
9777
+ # requests. For information about downloading objects from Requester
9778
+ # Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
8965
9779
  # in the *Amazon S3 User Guide*.
8966
9780
  #
8967
9781
  #
@@ -8971,8 +9785,41 @@ module Aws::S3
8971
9785
  #
8972
9786
  # @!attribute [rw] expected_bucket_owner
8973
9787
  # The account ID of the expected bucket owner. If the bucket is owned
8974
- # by a different account, the request will fail with an HTTP `403
8975
- # (Access Denied)` error.
9788
+ # by a different account, the request fails with the HTTP status code
9789
+ # `403 Forbidden` (access denied).
9790
+ # @return [String]
9791
+ #
9792
+ # @!attribute [rw] sse_customer_algorithm
9793
+ # The server-side encryption (SSE) algorithm used to encrypt the
9794
+ # object. This parameter is needed only when the object was created
9795
+ # using a checksum algorithm. For more information, see [Protecting
9796
+ # data using SSE-C keys][1] in the *Amazon S3 User Guide*.
9797
+ #
9798
+ #
9799
+ #
9800
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html
9801
+ # @return [String]
9802
+ #
9803
+ # @!attribute [rw] sse_customer_key
9804
+ # The server-side encryption (SSE) customer managed key. This
9805
+ # parameter is needed only when the object was created using a
9806
+ # checksum algorithm. For more information, see [Protecting data using
9807
+ # SSE-C keys][1] in the *Amazon S3 User Guide*.
9808
+ #
9809
+ #
9810
+ #
9811
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html
9812
+ # @return [String]
9813
+ #
9814
+ # @!attribute [rw] sse_customer_key_md5
9815
+ # The MD5 server-side encryption (SSE) customer managed key. This
9816
+ # parameter is needed only when the object was created using a
9817
+ # checksum algorithm. For more information, see [Protecting data using
9818
+ # SSE-C keys][1] in the *Amazon S3 User Guide*.
9819
+ #
9820
+ #
9821
+ #
9822
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html
8976
9823
  # @return [String]
8977
9824
  #
8978
9825
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListPartsRequest AWS API Documentation
@@ -8984,8 +9831,11 @@ module Aws::S3
8984
9831
  :part_number_marker,
8985
9832
  :upload_id,
8986
9833
  :request_payer,
8987
- :expected_bucket_owner)
8988
- SENSITIVE = []
9834
+ :expected_bucket_owner,
9835
+ :sse_customer_algorithm,
9836
+ :sse_customer_key,
9837
+ :sse_customer_key_md5)
9838
+ SENSITIVE = [:sse_customer_key]
8989
9839
  include Aws::Structure
8990
9840
  end
8991
9841
 
@@ -9142,7 +9992,7 @@ module Aws::S3
9142
9992
  # @return [Array<Types::Tag>]
9143
9993
  #
9144
9994
  # @!attribute [rw] access_point_arn
9145
- # The access point ARN used when evaluating an AND predicate.
9995
+ # The access point ARN used when evaluating an `AND` predicate.
9146
9996
  # @return [String]
9147
9997
  #
9148
9998
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsAndOperator AWS API Documentation
@@ -9300,6 +10150,10 @@ module Aws::S3
9300
10150
  # Identifies who initiated the multipart upload.
9301
10151
  # @return [Types::Initiator]
9302
10152
  #
10153
+ # @!attribute [rw] checksum_algorithm
10154
+ # The algorithm that was used to create a checksum of the object.
10155
+ # @return [String]
10156
+ #
9303
10157
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MultipartUpload AWS API Documentation
9304
10158
  #
9305
10159
  class MultipartUpload < Struct.new(
@@ -9308,7 +10162,8 @@ module Aws::S3
9308
10162
  :initiated,
9309
10163
  :storage_class,
9310
10164
  :owner,
9311
- :initiator)
10165
+ :initiator,
10166
+ :checksum_algorithm)
9312
10167
  SENSITIVE = []
9313
10168
  include Aws::Structure
9314
10169
  end
@@ -9347,9 +10202,10 @@ module Aws::S3
9347
10202
  #
9348
10203
  # @!attribute [rw] noncurrent_days
9349
10204
  # Specifies the number of days an object is noncurrent before Amazon
9350
- # S3 can perform the associated action. For information about the
9351
- # noncurrent days calculations, see [How Amazon S3 Calculates When an
9352
- # Object Became Noncurrent][1] in the *Amazon S3 User Guide*.
10205
+ # S3 can perform the associated action. The value must be a non-zero
10206
+ # positive integer. For information about the noncurrent days
10207
+ # calculations, see [How Amazon S3 Calculates When an Object Became
10208
+ # Noncurrent][1] in the *Amazon S3 User Guide*.
9353
10209
  #
9354
10210
  #
9355
10211
  #
@@ -9642,9 +10498,16 @@ module Aws::S3
9642
10498
  #
9643
10499
  # * If an object is created by either the Multipart Upload or Part
9644
10500
  # Copy operation, the ETag is not an MD5 digest, regardless of the
9645
- # method of encryption.
10501
+ # method of encryption. If an object is larger than 16 MB, the
10502
+ # Amazon Web Services Management Console will upload or copy that
10503
+ # object as a Multipart Upload, and therefore the ETag will not be
10504
+ # an MD5 digest.
9646
10505
  # @return [String]
9647
10506
  #
10507
+ # @!attribute [rw] checksum_algorithm
10508
+ # The algorithm that was used to create a checksum of the object.
10509
+ # @return [Array<String>]
10510
+ #
9648
10511
  # @!attribute [rw] size
9649
10512
  # Size in bytes of the object
9650
10513
  # @return [Integer]
@@ -9663,6 +10526,7 @@ module Aws::S3
9663
10526
  :key,
9664
10527
  :last_modified,
9665
10528
  :etag,
10529
+ :checksum_algorithm,
9666
10530
  :size,
9667
10531
  :storage_class,
9668
10532
  :owner)
@@ -9750,7 +10614,7 @@ module Aws::S3
9750
10614
  include Aws::Structure
9751
10615
  end
9752
10616
 
9753
- # A Legal Hold configuration for an object.
10617
+ # A legal hold configuration for an object.
9754
10618
  #
9755
10619
  # @note When making an API call, you may pass ObjectLockLegalHold
9756
10620
  # data as a hash:
@@ -9760,7 +10624,7 @@ module Aws::S3
9760
10624
  # }
9761
10625
  #
9762
10626
  # @!attribute [rw] status
9763
- # Indicates whether the specified object has a Legal Hold in place.
10627
+ # Indicates whether the specified object has a legal hold in place.
9764
10628
  # @return [String]
9765
10629
  #
9766
10630
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockLegalHold AWS API Documentation
@@ -9834,12 +10698,91 @@ module Aws::S3
9834
10698
  #
9835
10699
  class ObjectNotInActiveTierError < Aws::EmptyStructure; end
9836
10700
 
10701
+ # A container for elements related to an individual part.
10702
+ #
10703
+ # @!attribute [rw] part_number
10704
+ # The part number identifying the part. This value is a positive
10705
+ # integer between 1 and 10,000.
10706
+ # @return [Integer]
10707
+ #
10708
+ # @!attribute [rw] size
10709
+ # The size of the uploaded part in bytes.
10710
+ # @return [Integer]
10711
+ #
10712
+ # @!attribute [rw] checksum_crc32
10713
+ # This header can be used as a data integrity check to verify that the
10714
+ # data received is the same data that was originally sent. This header
10715
+ # specifies the base64-encoded, 32-bit CRC32 checksum of the object.
10716
+ # For more information, see [Checking object integrity][1] in the
10717
+ # *Amazon S3 User Guide*.
10718
+ #
10719
+ #
10720
+ #
10721
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
10722
+ # @return [String]
10723
+ #
10724
+ # @!attribute [rw] checksum_crc32c
10725
+ # The base64-encoded, 32-bit CRC32C checksum of the object. This will
10726
+ # only be present if it was uploaded with the object. With multipart
10727
+ # uploads, this may not be a checksum value of the object. For more
10728
+ # information about how checksums are calculated with multipart
10729
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
10730
+ # Guide*.
10731
+ #
10732
+ #
10733
+ #
10734
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
10735
+ # @return [String]
10736
+ #
10737
+ # @!attribute [rw] checksum_sha1
10738
+ # The base64-encoded, 160-bit SHA-1 digest of the object. This will
10739
+ # only be present if it was uploaded with the object. With multipart
10740
+ # uploads, this may not be a checksum value of the object. For more
10741
+ # information about how checksums are calculated with multipart
10742
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
10743
+ # Guide*.
10744
+ #
10745
+ #
10746
+ #
10747
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
10748
+ # @return [String]
10749
+ #
10750
+ # @!attribute [rw] checksum_sha256
10751
+ # The base64-encoded, 256-bit SHA-256 digest of the object. This will
10752
+ # only be present if it was uploaded with the object. With multipart
10753
+ # uploads, this may not be a checksum value of the object. For more
10754
+ # information about how checksums are calculated with multipart
10755
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
10756
+ # Guide*.
10757
+ #
10758
+ #
10759
+ #
10760
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
10761
+ # @return [String]
10762
+ #
10763
+ # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectPart AWS API Documentation
10764
+ #
10765
+ class ObjectPart < Struct.new(
10766
+ :part_number,
10767
+ :size,
10768
+ :checksum_crc32,
10769
+ :checksum_crc32c,
10770
+ :checksum_sha1,
10771
+ :checksum_sha256)
10772
+ SENSITIVE = []
10773
+ include Aws::Structure
10774
+ end
10775
+
9837
10776
  # The version of an object.
9838
10777
  #
9839
10778
  # @!attribute [rw] etag
9840
10779
  # The entity tag is an MD5 hash of that version of the object.
9841
10780
  # @return [String]
9842
10781
  #
10782
+ # @!attribute [rw] checksum_algorithm
10783
+ # The algorithm that was used to create a checksum of the object.
10784
+ # @return [Array<String>]
10785
+ #
9843
10786
  # @!attribute [rw] size
9844
10787
  # Size in bytes of the object.
9845
10788
  # @return [Integer]
@@ -9873,6 +10816,7 @@ module Aws::S3
9873
10816
  #
9874
10817
  class ObjectVersion < Struct.new(
9875
10818
  :etag,
10819
+ :checksum_algorithm,
9876
10820
  :size,
9877
10821
  :storage_class,
9878
10822
  :key,
@@ -10092,13 +11036,67 @@ module Aws::S3
10092
11036
  # Size in bytes of the uploaded part data.
10093
11037
  # @return [Integer]
10094
11038
  #
11039
+ # @!attribute [rw] checksum_crc32
11040
+ # This header can be used as a data integrity check to verify that the
11041
+ # data received is the same data that was originally sent. This header
11042
+ # specifies the base64-encoded, 32-bit CRC32 checksum of the object.
11043
+ # For more information, see [Checking object integrity][1] in the
11044
+ # *Amazon S3 User Guide*.
11045
+ #
11046
+ #
11047
+ #
11048
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
11049
+ # @return [String]
11050
+ #
11051
+ # @!attribute [rw] checksum_crc32c
11052
+ # The base64-encoded, 32-bit CRC32C checksum of the object. This will
11053
+ # only be present if it was uploaded with the object. With multipart
11054
+ # uploads, this may not be a checksum value of the object. For more
11055
+ # information about how checksums are calculated with multipart
11056
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
11057
+ # Guide*.
11058
+ #
11059
+ #
11060
+ #
11061
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
11062
+ # @return [String]
11063
+ #
11064
+ # @!attribute [rw] checksum_sha1
11065
+ # The base64-encoded, 160-bit SHA-1 digest of the object. This will
11066
+ # only be present if it was uploaded with the object. With multipart
11067
+ # uploads, this may not be a checksum value of the object. For more
11068
+ # information about how checksums are calculated with multipart
11069
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
11070
+ # Guide*.
11071
+ #
11072
+ #
11073
+ #
11074
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
11075
+ # @return [String]
11076
+ #
11077
+ # @!attribute [rw] checksum_sha256
11078
+ # This header can be used as a data integrity check to verify that the
11079
+ # data received is the same data that was originally sent. This header
11080
+ # specifies the base64-encoded, 256-bit SHA-256 digest of the object.
11081
+ # For more information, see [Checking object integrity][1] in the
11082
+ # *Amazon S3 User Guide*.
11083
+ #
11084
+ #
11085
+ #
11086
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
11087
+ # @return [String]
11088
+ #
10095
11089
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Part AWS API Documentation
10096
11090
  #
10097
11091
  class Part < Struct.new(
10098
11092
  :part_number,
10099
11093
  :last_modified,
10100
11094
  :etag,
10101
- :size)
11095
+ :size,
11096
+ :checksum_crc32,
11097
+ :checksum_crc32c,
11098
+ :checksum_sha1,
11099
+ :checksum_sha256)
10102
11100
  SENSITIVE = []
10103
11101
  include Aws::Structure
10104
11102
  end
@@ -10183,7 +11181,7 @@ module Aws::S3
10183
11181
  # (ACLs) for this bucket and objects in this bucket. Setting this
10184
11182
  # element to `TRUE` causes the following behavior:
10185
11183
  #
10186
- # * PUT Bucket acl and PUT Object acl calls fail if the specified ACL
11184
+ # * PUT Bucket ACL and PUT Object ACL calls fail if the specified ACL
10187
11185
  # is public.
10188
11186
  #
10189
11187
  # * PUT Object calls fail if the request includes a public ACL.
@@ -10244,6 +11242,7 @@ module Aws::S3
10244
11242
  # status: "Enabled", # accepts Enabled, Suspended
10245
11243
  # },
10246
11244
  # expected_bucket_owner: "AccountId",
11245
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
10247
11246
  # }
10248
11247
  #
10249
11248
  # @!attribute [rw] bucket
@@ -10257,8 +11256,25 @@ module Aws::S3
10257
11256
  #
10258
11257
  # @!attribute [rw] expected_bucket_owner
10259
11258
  # The account ID of the expected bucket owner. If the bucket is owned
10260
- # by a different account, the request will fail with an HTTP `403
10261
- # (Access Denied)` error.
11259
+ # by a different account, the request fails with the HTTP status code
11260
+ # `403 Forbidden` (access denied).
11261
+ # @return [String]
11262
+ #
11263
+ # @!attribute [rw] checksum_algorithm
11264
+ # Indicates the algorithm used to create the checksum for the object
11265
+ # when using the SDK. This header will not provide any additional
11266
+ # functionality if not using the SDK. When sending this header, there
11267
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
11268
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status
11269
+ # code `400 Bad Request`. For more information, see [Checking object
11270
+ # integrity][1] in the *Amazon S3 User Guide*.
11271
+ #
11272
+ # If you provide an individual checksum, Amazon S3 ignores any
11273
+ # provided `ChecksumAlgorithm` parameter.
11274
+ #
11275
+ #
11276
+ #
11277
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
10262
11278
  # @return [String]
10263
11279
  #
10264
11280
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAccelerateConfigurationRequest AWS API Documentation
@@ -10266,7 +11282,8 @@ module Aws::S3
10266
11282
  class PutBucketAccelerateConfigurationRequest < Struct.new(
10267
11283
  :bucket,
10268
11284
  :accelerate_configuration,
10269
- :expected_bucket_owner)
11285
+ :expected_bucket_owner,
11286
+ :checksum_algorithm)
10270
11287
  SENSITIVE = []
10271
11288
  include Aws::Structure
10272
11289
  end
@@ -10296,6 +11313,7 @@ module Aws::S3
10296
11313
  # },
10297
11314
  # bucket: "BucketName", # required
10298
11315
  # content_md5: "ContentMD5",
11316
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
10299
11317
  # grant_full_control: "GrantFullControl",
10300
11318
  # grant_read: "GrantRead",
10301
11319
  # grant_read_acp: "GrantReadACP",
@@ -10332,6 +11350,23 @@ module Aws::S3
10332
11350
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
10333
11351
  # @return [String]
10334
11352
  #
11353
+ # @!attribute [rw] checksum_algorithm
11354
+ # Indicates the algorithm used to create the checksum for the object
11355
+ # when using the SDK. This header will not provide any additional
11356
+ # functionality if not using the SDK. When sending this header, there
11357
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
11358
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status
11359
+ # code `400 Bad Request`. For more information, see [Checking object
11360
+ # integrity][1] in the *Amazon S3 User Guide*.
11361
+ #
11362
+ # If you provide an individual checksum, Amazon S3 ignores any
11363
+ # provided `ChecksumAlgorithm` parameter.
11364
+ #
11365
+ #
11366
+ #
11367
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
11368
+ # @return [String]
11369
+ #
10335
11370
  # @!attribute [rw] grant_full_control
10336
11371
  # Allows grantee the read, write, read ACP, and write ACP permissions
10337
11372
  # on the bucket.
@@ -10358,8 +11393,8 @@ module Aws::S3
10358
11393
  #
10359
11394
  # @!attribute [rw] expected_bucket_owner
10360
11395
  # The account ID of the expected bucket owner. If the bucket is owned
10361
- # by a different account, the request will fail with an HTTP `403
10362
- # (Access Denied)` error.
11396
+ # by a different account, the request fails with the HTTP status code
11397
+ # `403 Forbidden` (access denied).
10363
11398
  # @return [String]
10364
11399
  #
10365
11400
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAclRequest AWS API Documentation
@@ -10369,6 +11404,7 @@ module Aws::S3
10369
11404
  :access_control_policy,
10370
11405
  :bucket,
10371
11406
  :content_md5,
11407
+ :checksum_algorithm,
10372
11408
  :grant_full_control,
10373
11409
  :grant_read,
10374
11410
  :grant_read_acp,
@@ -10435,8 +11471,8 @@ module Aws::S3
10435
11471
  #
10436
11472
  # @!attribute [rw] expected_bucket_owner
10437
11473
  # The account ID of the expected bucket owner. If the bucket is owned
10438
- # by a different account, the request will fail with an HTTP `403
10439
- # (Access Denied)` error.
11474
+ # by a different account, the request fails with the HTTP status code
11475
+ # `403 Forbidden` (access denied).
10440
11476
  # @return [String]
10441
11477
  #
10442
11478
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAnalyticsConfigurationRequest AWS API Documentation
@@ -10468,6 +11504,7 @@ module Aws::S3
10468
11504
  # ],
10469
11505
  # },
10470
11506
  # content_md5: "ContentMD5",
11507
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
10471
11508
  # expected_bucket_owner: "AccountId",
10472
11509
  # }
10473
11510
  #
@@ -10500,10 +11537,27 @@ module Aws::S3
10500
11537
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
10501
11538
  # @return [String]
10502
11539
  #
11540
+ # @!attribute [rw] checksum_algorithm
11541
+ # Indicates the algorithm used to create the checksum for the object
11542
+ # when using the SDK. This header will not provide any additional
11543
+ # functionality if not using the SDK. When sending this header, there
11544
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
11545
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status
11546
+ # code `400 Bad Request`. For more information, see [Checking object
11547
+ # integrity][1] in the *Amazon S3 User Guide*.
11548
+ #
11549
+ # If you provide an individual checksum, Amazon S3 ignores any
11550
+ # provided `ChecksumAlgorithm` parameter.
11551
+ #
11552
+ #
11553
+ #
11554
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
11555
+ # @return [String]
11556
+ #
10503
11557
  # @!attribute [rw] expected_bucket_owner
10504
11558
  # The account ID of the expected bucket owner. If the bucket is owned
10505
- # by a different account, the request will fail with an HTTP `403
10506
- # (Access Denied)` error.
11559
+ # by a different account, the request fails with the HTTP status code
11560
+ # `403 Forbidden` (access denied).
10507
11561
  # @return [String]
10508
11562
  #
10509
11563
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketCorsRequest AWS API Documentation
@@ -10512,6 +11566,7 @@ module Aws::S3
10512
11566
  :bucket,
10513
11567
  :cors_configuration,
10514
11568
  :content_md5,
11569
+ :checksum_algorithm,
10515
11570
  :expected_bucket_owner)
10516
11571
  SENSITIVE = []
10517
11572
  include Aws::Structure
@@ -10523,6 +11578,7 @@ module Aws::S3
10523
11578
  # {
10524
11579
  # bucket: "BucketName", # required
10525
11580
  # content_md5: "ContentMD5",
11581
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
10526
11582
  # server_side_encryption_configuration: { # required
10527
11583
  # rules: [ # required
10528
11584
  # {
@@ -10558,14 +11614,31 @@ module Aws::S3
10558
11614
  # calculated automatically.
10559
11615
  # @return [String]
10560
11616
  #
11617
+ # @!attribute [rw] checksum_algorithm
11618
+ # Indicates the algorithm used to create the checksum for the object
11619
+ # when using the SDK. This header will not provide any additional
11620
+ # functionality if not using the SDK. When sending this header, there
11621
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
11622
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status
11623
+ # code `400 Bad Request`. For more information, see [Checking object
11624
+ # integrity][1] in the *Amazon S3 User Guide*.
11625
+ #
11626
+ # If you provide an individual checksum, Amazon S3 ignores any
11627
+ # provided `ChecksumAlgorithm` parameter.
11628
+ #
11629
+ #
11630
+ #
11631
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
11632
+ # @return [String]
11633
+ #
10561
11634
  # @!attribute [rw] server_side_encryption_configuration
10562
11635
  # Specifies the default server-side-encryption configuration.
10563
11636
  # @return [Types::ServerSideEncryptionConfiguration]
10564
11637
  #
10565
11638
  # @!attribute [rw] expected_bucket_owner
10566
11639
  # The account ID of the expected bucket owner. If the bucket is owned
10567
- # by a different account, the request will fail with an HTTP `403
10568
- # (Access Denied)` error.
11640
+ # by a different account, the request fails with the HTTP status code
11641
+ # `403 Forbidden` (access denied).
10569
11642
  # @return [String]
10570
11643
  #
10571
11644
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketEncryptionRequest AWS API Documentation
@@ -10573,6 +11646,7 @@ module Aws::S3
10573
11646
  class PutBucketEncryptionRequest < Struct.new(
10574
11647
  :bucket,
10575
11648
  :content_md5,
11649
+ :checksum_algorithm,
10576
11650
  :server_side_encryption_configuration,
10577
11651
  :expected_bucket_owner)
10578
11652
  SENSITIVE = []
@@ -10664,7 +11738,7 @@ module Aws::S3
10664
11738
  # },
10665
11739
  # id: "InventoryId", # required
10666
11740
  # included_object_versions: "All", # required, accepts All, Current
10667
- # optional_fields: ["Size"], # accepts Size, LastModifiedDate, StorageClass, ETag, IsMultipartUploaded, ReplicationStatus, EncryptionStatus, ObjectLockRetainUntilDate, ObjectLockMode, ObjectLockLegalHoldStatus, IntelligentTieringAccessTier, BucketKeyStatus
11741
+ # optional_fields: ["Size"], # accepts Size, LastModifiedDate, StorageClass, ETag, IsMultipartUploaded, ReplicationStatus, EncryptionStatus, ObjectLockRetainUntilDate, ObjectLockMode, ObjectLockLegalHoldStatus, IntelligentTieringAccessTier, BucketKeyStatus, ChecksumAlgorithm
10668
11742
  # schedule: { # required
10669
11743
  # frequency: "Daily", # required, accepts Daily, Weekly
10670
11744
  # },
@@ -10687,8 +11761,8 @@ module Aws::S3
10687
11761
  #
10688
11762
  # @!attribute [rw] expected_bucket_owner
10689
11763
  # The account ID of the expected bucket owner. If the bucket is owned
10690
- # by a different account, the request will fail with an HTTP `403
10691
- # (Access Denied)` error.
11764
+ # by a different account, the request fails with the HTTP status code
11765
+ # `403 Forbidden` (access denied).
10692
11766
  # @return [String]
10693
11767
  #
10694
11768
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketInventoryConfigurationRequest AWS API Documentation
@@ -10707,6 +11781,7 @@ module Aws::S3
10707
11781
  #
10708
11782
  # {
10709
11783
  # bucket: "BucketName", # required
11784
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
10710
11785
  # lifecycle_configuration: {
10711
11786
  # rules: [ # required
10712
11787
  # {
@@ -10765,8 +11840,25 @@ module Aws::S3
10765
11840
  # expected_bucket_owner: "AccountId",
10766
11841
  # }
10767
11842
  #
10768
- # @!attribute [rw] bucket
10769
- # The name of the bucket for which to set the configuration.
11843
+ # @!attribute [rw] bucket
11844
+ # The name of the bucket for which to set the configuration.
11845
+ # @return [String]
11846
+ #
11847
+ # @!attribute [rw] checksum_algorithm
11848
+ # Indicates the algorithm used to create the checksum for the object
11849
+ # when using the SDK. This header will not provide any additional
11850
+ # functionality if not using the SDK. When sending this header, there
11851
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
11852
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status
11853
+ # code `400 Bad Request`. For more information, see [Checking object
11854
+ # integrity][1] in the *Amazon S3 User Guide*.
11855
+ #
11856
+ # If you provide an individual checksum, Amazon S3 ignores any
11857
+ # provided `ChecksumAlgorithm` parameter.
11858
+ #
11859
+ #
11860
+ #
11861
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
10770
11862
  # @return [String]
10771
11863
  #
10772
11864
  # @!attribute [rw] lifecycle_configuration
@@ -10775,14 +11867,15 @@ module Aws::S3
10775
11867
  #
10776
11868
  # @!attribute [rw] expected_bucket_owner
10777
11869
  # The account ID of the expected bucket owner. If the bucket is owned
10778
- # by a different account, the request will fail with an HTTP `403
10779
- # (Access Denied)` error.
11870
+ # by a different account, the request fails with the HTTP status code
11871
+ # `403 Forbidden` (access denied).
10780
11872
  # @return [String]
10781
11873
  #
10782
11874
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleConfigurationRequest AWS API Documentation
10783
11875
  #
10784
11876
  class PutBucketLifecycleConfigurationRequest < Struct.new(
10785
11877
  :bucket,
11878
+ :checksum_algorithm,
10786
11879
  :lifecycle_configuration,
10787
11880
  :expected_bucket_owner)
10788
11881
  SENSITIVE = []
@@ -10795,6 +11888,7 @@ module Aws::S3
10795
11888
  # {
10796
11889
  # bucket: "BucketName", # required
10797
11890
  # content_md5: "ContentMD5",
11891
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
10798
11892
  # lifecycle_configuration: {
10799
11893
  # rules: [ # required
10800
11894
  # {
@@ -10838,13 +11932,30 @@ module Aws::S3
10838
11932
  # calculated automatically.
10839
11933
  # @return [String]
10840
11934
  #
11935
+ # @!attribute [rw] checksum_algorithm
11936
+ # Indicates the algorithm used to create the checksum for the object
11937
+ # when using the SDK. This header will not provide any additional
11938
+ # functionality if not using the SDK. When sending this header, there
11939
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
11940
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status
11941
+ # code `400 Bad Request`. For more information, see [Checking object
11942
+ # integrity][1] in the *Amazon S3 User Guide*.
11943
+ #
11944
+ # If you provide an individual checksum, Amazon S3 ignores any
11945
+ # provided `ChecksumAlgorithm` parameter.
11946
+ #
11947
+ #
11948
+ #
11949
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
11950
+ # @return [String]
11951
+ #
10841
11952
  # @!attribute [rw] lifecycle_configuration
10842
11953
  # @return [Types::LifecycleConfiguration]
10843
11954
  #
10844
11955
  # @!attribute [rw] expected_bucket_owner
10845
11956
  # The account ID of the expected bucket owner. If the bucket is owned
10846
- # by a different account, the request will fail with an HTTP `403
10847
- # (Access Denied)` error.
11957
+ # by a different account, the request fails with the HTTP status code
11958
+ # `403 Forbidden` (access denied).
10848
11959
  # @return [String]
10849
11960
  #
10850
11961
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleRequest AWS API Documentation
@@ -10852,6 +11963,7 @@ module Aws::S3
10852
11963
  class PutBucketLifecycleRequest < Struct.new(
10853
11964
  :bucket,
10854
11965
  :content_md5,
11966
+ :checksum_algorithm,
10855
11967
  :lifecycle_configuration,
10856
11968
  :expected_bucket_owner)
10857
11969
  SENSITIVE = []
@@ -10882,6 +11994,7 @@ module Aws::S3
10882
11994
  # },
10883
11995
  # },
10884
11996
  # content_md5: "ContentMD5",
11997
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
10885
11998
  # expected_bucket_owner: "AccountId",
10886
11999
  # }
10887
12000
  #
@@ -10901,10 +12014,27 @@ module Aws::S3
10901
12014
  # calculated automatically.
10902
12015
  # @return [String]
10903
12016
  #
12017
+ # @!attribute [rw] checksum_algorithm
12018
+ # Indicates the algorithm used to create the checksum for the object
12019
+ # when using the SDK. This header will not provide any additional
12020
+ # functionality if not using the SDK. When sending this header, there
12021
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
12022
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status
12023
+ # code `400 Bad Request`. For more information, see [Checking object
12024
+ # integrity][1] in the *Amazon S3 User Guide*.
12025
+ #
12026
+ # If you provide an individual checksum, Amazon S3 ignores any
12027
+ # provided `ChecksumAlgorithm` parameter.
12028
+ #
12029
+ #
12030
+ #
12031
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
12032
+ # @return [String]
12033
+ #
10904
12034
  # @!attribute [rw] expected_bucket_owner
10905
12035
  # The account ID of the expected bucket owner. If the bucket is owned
10906
- # by a different account, the request will fail with an HTTP `403
10907
- # (Access Denied)` error.
12036
+ # by a different account, the request fails with the HTTP status code
12037
+ # `403 Forbidden` (access denied).
10908
12038
  # @return [String]
10909
12039
  #
10910
12040
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLoggingRequest AWS API Documentation
@@ -10913,6 +12043,7 @@ module Aws::S3
10913
12043
  :bucket,
10914
12044
  :bucket_logging_status,
10915
12045
  :content_md5,
12046
+ :checksum_algorithm,
10916
12047
  :expected_bucket_owner)
10917
12048
  SENSITIVE = []
10918
12049
  include Aws::Structure
@@ -10962,8 +12093,8 @@ module Aws::S3
10962
12093
  #
10963
12094
  # @!attribute [rw] expected_bucket_owner
10964
12095
  # The account ID of the expected bucket owner. If the bucket is owned
10965
- # by a different account, the request will fail with an HTTP `403
10966
- # (Access Denied)` error.
12096
+ # by a different account, the request fails with the HTTP status code
12097
+ # `403 Forbidden` (access denied).
10967
12098
  # @return [String]
10968
12099
  #
10969
12100
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketMetricsConfigurationRequest AWS API Documentation
@@ -11053,8 +12184,8 @@ module Aws::S3
11053
12184
  #
11054
12185
  # @!attribute [rw] expected_bucket_owner
11055
12186
  # The account ID of the expected bucket owner. If the bucket is owned
11056
- # by a different account, the request will fail with an HTTP `403
11057
- # (Access Denied)` error.
12187
+ # by a different account, the request fails with the HTTP status code
12188
+ # `403 Forbidden` (access denied).
11058
12189
  # @return [String]
11059
12190
  #
11060
12191
  # @!attribute [rw] skip_destination_validation
@@ -11079,6 +12210,7 @@ module Aws::S3
11079
12210
  # {
11080
12211
  # bucket: "BucketName", # required
11081
12212
  # content_md5: "ContentMD5",
12213
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
11082
12214
  # notification_configuration: { # required
11083
12215
  # topic_configuration: {
11084
12216
  # id: "NotificationId",
@@ -11115,14 +12247,31 @@ module Aws::S3
11115
12247
  # calculated automatically.
11116
12248
  # @return [String]
11117
12249
  #
12250
+ # @!attribute [rw] checksum_algorithm
12251
+ # Indicates the algorithm used to create the checksum for the object
12252
+ # when using the SDK. This header will not provide any additional
12253
+ # functionality if not using the SDK. When sending this header, there
12254
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
12255
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status
12256
+ # code `400 Bad Request`. For more information, see [Checking object
12257
+ # integrity][1] in the *Amazon S3 User Guide*.
12258
+ #
12259
+ # If you provide an individual checksum, Amazon S3 ignores any
12260
+ # provided `ChecksumAlgorithm` parameter.
12261
+ #
12262
+ #
12263
+ #
12264
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
12265
+ # @return [String]
12266
+ #
11118
12267
  # @!attribute [rw] notification_configuration
11119
12268
  # The container for the configuration.
11120
12269
  # @return [Types::NotificationConfigurationDeprecated]
11121
12270
  #
11122
12271
  # @!attribute [rw] expected_bucket_owner
11123
12272
  # The account ID of the expected bucket owner. If the bucket is owned
11124
- # by a different account, the request will fail with an HTTP `403
11125
- # (Access Denied)` error.
12273
+ # by a different account, the request fails with the HTTP status code
12274
+ # `403 Forbidden` (access denied).
11126
12275
  # @return [String]
11127
12276
  #
11128
12277
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationRequest AWS API Documentation
@@ -11130,6 +12279,7 @@ module Aws::S3
11130
12279
  class PutBucketNotificationRequest < Struct.new(
11131
12280
  :bucket,
11132
12281
  :content_md5,
12282
+ :checksum_algorithm,
11133
12283
  :notification_configuration,
11134
12284
  :expected_bucket_owner)
11135
12285
  SENSITIVE = []
@@ -11167,8 +12317,8 @@ module Aws::S3
11167
12317
  #
11168
12318
  # @!attribute [rw] expected_bucket_owner
11169
12319
  # The account ID of the expected bucket owner. If the bucket is owned
11170
- # by a different account, the request will fail with an HTTP `403
11171
- # (Access Denied)` error.
12320
+ # by a different account, the request fails with the HTTP status code
12321
+ # `403 Forbidden` (access denied).
11172
12322
  # @return [String]
11173
12323
  #
11174
12324
  # @!attribute [rw] ownership_controls
@@ -11193,6 +12343,7 @@ module Aws::S3
11193
12343
  # {
11194
12344
  # bucket: "BucketName", # required
11195
12345
  # content_md5: "ContentMD5",
12346
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
11196
12347
  # confirm_remove_self_bucket_access: false,
11197
12348
  # policy: "Policy", # required
11198
12349
  # expected_bucket_owner: "AccountId",
@@ -11210,6 +12361,23 @@ module Aws::S3
11210
12361
  # calculated automatically.
11211
12362
  # @return [String]
11212
12363
  #
12364
+ # @!attribute [rw] checksum_algorithm
12365
+ # Indicates the algorithm used to create the checksum for the object
12366
+ # when using the SDK. This header will not provide any additional
12367
+ # functionality if not using the SDK. When sending this header, there
12368
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
12369
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status
12370
+ # code `400 Bad Request`. For more information, see [Checking object
12371
+ # integrity][1] in the *Amazon S3 User Guide*.
12372
+ #
12373
+ # If you provide an individual checksum, Amazon S3 ignores any
12374
+ # provided `ChecksumAlgorithm` parameter.
12375
+ #
12376
+ #
12377
+ #
12378
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
12379
+ # @return [String]
12380
+ #
11213
12381
  # @!attribute [rw] confirm_remove_self_bucket_access
11214
12382
  # Set this parameter to true to confirm that you want to remove your
11215
12383
  # permissions to change this bucket policy in the future.
@@ -11221,8 +12389,8 @@ module Aws::S3
11221
12389
  #
11222
12390
  # @!attribute [rw] expected_bucket_owner
11223
12391
  # The account ID of the expected bucket owner. If the bucket is owned
11224
- # by a different account, the request will fail with an HTTP `403
11225
- # (Access Denied)` error.
12392
+ # by a different account, the request fails with the HTTP status code
12393
+ # `403 Forbidden` (access denied).
11226
12394
  # @return [String]
11227
12395
  #
11228
12396
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketPolicyRequest AWS API Documentation
@@ -11230,6 +12398,7 @@ module Aws::S3
11230
12398
  class PutBucketPolicyRequest < Struct.new(
11231
12399
  :bucket,
11232
12400
  :content_md5,
12401
+ :checksum_algorithm,
11233
12402
  :confirm_remove_self_bucket_access,
11234
12403
  :policy,
11235
12404
  :expected_bucket_owner)
@@ -11243,6 +12412,7 @@ module Aws::S3
11243
12412
  # {
11244
12413
  # bucket: "BucketName", # required
11245
12414
  # content_md5: "ContentMD5",
12415
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
11246
12416
  # replication_configuration: { # required
11247
12417
  # role: "Role", # required
11248
12418
  # rules: [ # required
@@ -11330,6 +12500,23 @@ module Aws::S3
11330
12500
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
11331
12501
  # @return [String]
11332
12502
  #
12503
+ # @!attribute [rw] checksum_algorithm
12504
+ # Indicates the algorithm used to create the checksum for the object
12505
+ # when using the SDK. This header will not provide any additional
12506
+ # functionality if not using the SDK. When sending this header, there
12507
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
12508
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status
12509
+ # code `400 Bad Request`. For more information, see [Checking object
12510
+ # integrity][1] in the *Amazon S3 User Guide*.
12511
+ #
12512
+ # If you provide an individual checksum, Amazon S3 ignores any
12513
+ # provided `ChecksumAlgorithm` parameter.
12514
+ #
12515
+ #
12516
+ #
12517
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
12518
+ # @return [String]
12519
+ #
11333
12520
  # @!attribute [rw] replication_configuration
11334
12521
  # A container for replication rules. You can add up to 1,000 rules.
11335
12522
  # The maximum size of a replication configuration is 2 MB.
@@ -11341,8 +12528,8 @@ module Aws::S3
11341
12528
  #
11342
12529
  # @!attribute [rw] expected_bucket_owner
11343
12530
  # The account ID of the expected bucket owner. If the bucket is owned
11344
- # by a different account, the request will fail with an HTTP `403
11345
- # (Access Denied)` error.
12531
+ # by a different account, the request fails with the HTTP status code
12532
+ # `403 Forbidden` (access denied).
11346
12533
  # @return [String]
11347
12534
  #
11348
12535
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketReplicationRequest AWS API Documentation
@@ -11350,6 +12537,7 @@ module Aws::S3
11350
12537
  class PutBucketReplicationRequest < Struct.new(
11351
12538
  :bucket,
11352
12539
  :content_md5,
12540
+ :checksum_algorithm,
11353
12541
  :replication_configuration,
11354
12542
  :token,
11355
12543
  :expected_bucket_owner)
@@ -11363,6 +12551,7 @@ module Aws::S3
11363
12551
  # {
11364
12552
  # bucket: "BucketName", # required
11365
12553
  # content_md5: "ContentMD5",
12554
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
11366
12555
  # request_payment_configuration: { # required
11367
12556
  # payer: "Requester", # required, accepts Requester, BucketOwner
11368
12557
  # },
@@ -11388,14 +12577,31 @@ module Aws::S3
11388
12577
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
11389
12578
  # @return [String]
11390
12579
  #
12580
+ # @!attribute [rw] checksum_algorithm
12581
+ # Indicates the algorithm used to create the checksum for the object
12582
+ # when using the SDK. This header will not provide any additional
12583
+ # functionality if not using the SDK. When sending this header, there
12584
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
12585
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status
12586
+ # code `400 Bad Request`. For more information, see [Checking object
12587
+ # integrity][1] in the *Amazon S3 User Guide*.
12588
+ #
12589
+ # If you provide an individual checksum, Amazon S3 ignores any
12590
+ # provided `ChecksumAlgorithm` parameter.
12591
+ #
12592
+ #
12593
+ #
12594
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
12595
+ # @return [String]
12596
+ #
11391
12597
  # @!attribute [rw] request_payment_configuration
11392
12598
  # Container for Payer.
11393
12599
  # @return [Types::RequestPaymentConfiguration]
11394
12600
  #
11395
12601
  # @!attribute [rw] expected_bucket_owner
11396
12602
  # The account ID of the expected bucket owner. If the bucket is owned
11397
- # by a different account, the request will fail with an HTTP `403
11398
- # (Access Denied)` error.
12603
+ # by a different account, the request fails with the HTTP status code
12604
+ # `403 Forbidden` (access denied).
11399
12605
  # @return [String]
11400
12606
  #
11401
12607
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketRequestPaymentRequest AWS API Documentation
@@ -11403,6 +12609,7 @@ module Aws::S3
11403
12609
  class PutBucketRequestPaymentRequest < Struct.new(
11404
12610
  :bucket,
11405
12611
  :content_md5,
12612
+ :checksum_algorithm,
11406
12613
  :request_payment_configuration,
11407
12614
  :expected_bucket_owner)
11408
12615
  SENSITIVE = []
@@ -11415,6 +12622,7 @@ module Aws::S3
11415
12622
  # {
11416
12623
  # bucket: "BucketName", # required
11417
12624
  # content_md5: "ContentMD5",
12625
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
11418
12626
  # tagging: { # required
11419
12627
  # tag_set: [ # required
11420
12628
  # {
@@ -11445,14 +12653,31 @@ module Aws::S3
11445
12653
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
11446
12654
  # @return [String]
11447
12655
  #
12656
+ # @!attribute [rw] checksum_algorithm
12657
+ # Indicates the algorithm used to create the checksum for the object
12658
+ # when using the SDK. This header will not provide any additional
12659
+ # functionality if not using the SDK. When sending this header, there
12660
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
12661
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status
12662
+ # code `400 Bad Request`. For more information, see [Checking object
12663
+ # integrity][1] in the *Amazon S3 User Guide*.
12664
+ #
12665
+ # If you provide an individual checksum, Amazon S3 ignores any
12666
+ # provided `ChecksumAlgorithm` parameter.
12667
+ #
12668
+ #
12669
+ #
12670
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
12671
+ # @return [String]
12672
+ #
11448
12673
  # @!attribute [rw] tagging
11449
12674
  # Container for the `TagSet` and `Tag` elements.
11450
12675
  # @return [Types::Tagging]
11451
12676
  #
11452
12677
  # @!attribute [rw] expected_bucket_owner
11453
12678
  # The account ID of the expected bucket owner. If the bucket is owned
11454
- # by a different account, the request will fail with an HTTP `403
11455
- # (Access Denied)` error.
12679
+ # by a different account, the request fails with the HTTP status code
12680
+ # `403 Forbidden` (access denied).
11456
12681
  # @return [String]
11457
12682
  #
11458
12683
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketTaggingRequest AWS API Documentation
@@ -11460,6 +12685,7 @@ module Aws::S3
11460
12685
  class PutBucketTaggingRequest < Struct.new(
11461
12686
  :bucket,
11462
12687
  :content_md5,
12688
+ :checksum_algorithm,
11463
12689
  :tagging,
11464
12690
  :expected_bucket_owner)
11465
12691
  SENSITIVE = []
@@ -11472,6 +12698,7 @@ module Aws::S3
11472
12698
  # {
11473
12699
  # bucket: "BucketName", # required
11474
12700
  # content_md5: "ContentMD5",
12701
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
11475
12702
  # mfa: "MFA",
11476
12703
  # versioning_configuration: { # required
11477
12704
  # mfa_delete: "Enabled", # accepts Enabled, Disabled
@@ -11499,6 +12726,23 @@ module Aws::S3
11499
12726
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
11500
12727
  # @return [String]
11501
12728
  #
12729
+ # @!attribute [rw] checksum_algorithm
12730
+ # Indicates the algorithm used to create the checksum for the object
12731
+ # when using the SDK. This header will not provide any additional
12732
+ # functionality if not using the SDK. When sending this header, there
12733
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
12734
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status
12735
+ # code `400 Bad Request`. For more information, see [Checking object
12736
+ # integrity][1] in the *Amazon S3 User Guide*.
12737
+ #
12738
+ # If you provide an individual checksum, Amazon S3 ignores any
12739
+ # provided `ChecksumAlgorithm` parameter.
12740
+ #
12741
+ #
12742
+ #
12743
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
12744
+ # @return [String]
12745
+ #
11502
12746
  # @!attribute [rw] mfa
11503
12747
  # The concatenation of the authentication device's serial number, a
11504
12748
  # space, and the value that is displayed on your authentication
@@ -11511,8 +12755,8 @@ module Aws::S3
11511
12755
  #
11512
12756
  # @!attribute [rw] expected_bucket_owner
11513
12757
  # The account ID of the expected bucket owner. If the bucket is owned
11514
- # by a different account, the request will fail with an HTTP `403
11515
- # (Access Denied)` error.
12758
+ # by a different account, the request fails with the HTTP status code
12759
+ # `403 Forbidden` (access denied).
11516
12760
  # @return [String]
11517
12761
  #
11518
12762
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketVersioningRequest AWS API Documentation
@@ -11520,6 +12764,7 @@ module Aws::S3
11520
12764
  class PutBucketVersioningRequest < Struct.new(
11521
12765
  :bucket,
11522
12766
  :content_md5,
12767
+ :checksum_algorithm,
11523
12768
  :mfa,
11524
12769
  :versioning_configuration,
11525
12770
  :expected_bucket_owner)
@@ -11533,6 +12778,7 @@ module Aws::S3
11533
12778
  # {
11534
12779
  # bucket: "BucketName", # required
11535
12780
  # content_md5: "ContentMD5",
12781
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
11536
12782
  # website_configuration: { # required
11537
12783
  # error_document: {
11538
12784
  # key: "ObjectKey", # required
@@ -11582,14 +12828,31 @@ module Aws::S3
11582
12828
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
11583
12829
  # @return [String]
11584
12830
  #
12831
+ # @!attribute [rw] checksum_algorithm
12832
+ # Indicates the algorithm used to create the checksum for the object
12833
+ # when using the SDK. This header will not provide any additional
12834
+ # functionality if not using the SDK. When sending this header, there
12835
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
12836
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status
12837
+ # code `400 Bad Request`. For more information, see [Checking object
12838
+ # integrity][1] in the *Amazon S3 User Guide*.
12839
+ #
12840
+ # If you provide an individual checksum, Amazon S3 ignores any
12841
+ # provided `ChecksumAlgorithm` parameter.
12842
+ #
12843
+ #
12844
+ #
12845
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
12846
+ # @return [String]
12847
+ #
11585
12848
  # @!attribute [rw] website_configuration
11586
12849
  # Container for the request.
11587
12850
  # @return [Types::WebsiteConfiguration]
11588
12851
  #
11589
12852
  # @!attribute [rw] expected_bucket_owner
11590
12853
  # The account ID of the expected bucket owner. If the bucket is owned
11591
- # by a different account, the request will fail with an HTTP `403
11592
- # (Access Denied)` error.
12854
+ # by a different account, the request fails with the HTTP status code
12855
+ # `403 Forbidden` (access denied).
11593
12856
  # @return [String]
11594
12857
  #
11595
12858
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketWebsiteRequest AWS API Documentation
@@ -11597,6 +12860,7 @@ module Aws::S3
11597
12860
  class PutBucketWebsiteRequest < Struct.new(
11598
12861
  :bucket,
11599
12862
  :content_md5,
12863
+ :checksum_algorithm,
11600
12864
  :website_configuration,
11601
12865
  :expected_bucket_owner)
11602
12866
  SENSITIVE = []
@@ -11641,6 +12905,7 @@ module Aws::S3
11641
12905
  # },
11642
12906
  # bucket: "BucketName", # required
11643
12907
  # content_md5: "ContentMD5",
12908
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
11644
12909
  # grant_full_control: "GrantFullControl",
11645
12910
  # grant_read: "GrantRead",
11646
12911
  # grant_read_acp: "GrantReadACP",
@@ -11699,6 +12964,23 @@ module Aws::S3
11699
12964
  # [1]: http://www.ietf.org/rfc/rfc1864.txt
11700
12965
  # @return [String]
11701
12966
  #
12967
+ # @!attribute [rw] checksum_algorithm
12968
+ # Indicates the algorithm used to create the checksum for the object
12969
+ # when using the SDK. This header will not provide any additional
12970
+ # functionality if not using the SDK. When sending this header, there
12971
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
12972
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status
12973
+ # code `400 Bad Request`. For more information, see [Checking object
12974
+ # integrity][1] in the *Amazon S3 User Guide*.
12975
+ #
12976
+ # If you provide an individual checksum, Amazon S3 ignores any
12977
+ # provided `ChecksumAlgorithm` parameter.
12978
+ #
12979
+ #
12980
+ #
12981
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
12982
+ # @return [String]
12983
+ #
11702
12984
  # @!attribute [rw] grant_full_control
11703
12985
  # Allows grantee the read, write, read ACP, and write ACP permissions
11704
12986
  # on the bucket.
@@ -11745,12 +13027,12 @@ module Aws::S3
11745
13027
  #
11746
13028
  # When using this action with Amazon S3 on Outposts, you must direct
11747
13029
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
11748
- # takes the form
11749
- # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
11750
- # When using this action using S3 on Outposts through the Amazon Web
13030
+ # takes the form `
13031
+ # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
13032
+ # When using this action with S3 on Outposts through the Amazon Web
11751
13033
  # Services SDKs, you provide the Outposts bucket ARN in place of the
11752
13034
  # bucket name. For more information about S3 on Outposts ARNs, see
11753
- # [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
13035
+ # [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
11754
13036
  #
11755
13037
  #
11756
13038
  #
@@ -11761,8 +13043,8 @@ module Aws::S3
11761
13043
  # @!attribute [rw] request_payer
11762
13044
  # Confirms that the requester knows that they will be charged for the
11763
13045
  # request. Bucket owners need not specify this parameter in their
11764
- # requests. For information about downloading objects from requester
11765
- # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
13046
+ # requests. For information about downloading objects from Requester
13047
+ # Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
11766
13048
  # in the *Amazon S3 User Guide*.
11767
13049
  #
11768
13050
  #
@@ -11776,8 +13058,8 @@ module Aws::S3
11776
13058
  #
11777
13059
  # @!attribute [rw] expected_bucket_owner
11778
13060
  # The account ID of the expected bucket owner. If the bucket is owned
11779
- # by a different account, the request will fail with an HTTP `403
11780
- # (Access Denied)` error.
13061
+ # by a different account, the request fails with the HTTP status code
13062
+ # `403 Forbidden` (access denied).
11781
13063
  # @return [String]
11782
13064
  #
11783
13065
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectAclRequest AWS API Documentation
@@ -11787,6 +13069,7 @@ module Aws::S3
11787
13069
  :access_control_policy,
11788
13070
  :bucket,
11789
13071
  :content_md5,
13072
+ :checksum_algorithm,
11790
13073
  :grant_full_control,
11791
13074
  :grant_read,
11792
13075
  :grant_read_acp,
@@ -11825,12 +13108,13 @@ module Aws::S3
11825
13108
  # request_payer: "requester", # accepts requester
11826
13109
  # version_id: "ObjectVersionId",
11827
13110
  # content_md5: "ContentMD5",
13111
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
11828
13112
  # expected_bucket_owner: "AccountId",
11829
13113
  # }
11830
13114
  #
11831
13115
  # @!attribute [rw] bucket
11832
- # The bucket name containing the object that you want to place a Legal
11833
- # Hold on.
13116
+ # The bucket name containing the object that you want to place a legal
13117
+ # hold on.
11834
13118
  #
11835
13119
  # When using this action with an access point, you must direct
11836
13120
  # requests to the access point hostname. The access point hostname
@@ -11847,19 +13131,19 @@ module Aws::S3
11847
13131
  # @return [String]
11848
13132
  #
11849
13133
  # @!attribute [rw] key
11850
- # The key name for the object that you want to place a Legal Hold on.
13134
+ # The key name for the object that you want to place a legal hold on.
11851
13135
  # @return [String]
11852
13136
  #
11853
13137
  # @!attribute [rw] legal_hold
11854
- # Container element for the Legal Hold configuration you want to apply
13138
+ # Container element for the legal hold configuration you want to apply
11855
13139
  # to the specified object.
11856
13140
  # @return [Types::ObjectLockLegalHold]
11857
13141
  #
11858
13142
  # @!attribute [rw] request_payer
11859
13143
  # Confirms that the requester knows that they will be charged for the
11860
13144
  # request. Bucket owners need not specify this parameter in their
11861
- # requests. For information about downloading objects from requester
11862
- # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
13145
+ # requests. For information about downloading objects from Requester
13146
+ # Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
11863
13147
  # in the *Amazon S3 User Guide*.
11864
13148
  #
11865
13149
  #
@@ -11868,7 +13152,7 @@ module Aws::S3
11868
13152
  # @return [String]
11869
13153
  #
11870
13154
  # @!attribute [rw] version_id
11871
- # The version ID of the object that you want to place a Legal Hold on.
13155
+ # The version ID of the object that you want to place a legal hold on.
11872
13156
  # @return [String]
11873
13157
  #
11874
13158
  # @!attribute [rw] content_md5
@@ -11879,10 +13163,27 @@ module Aws::S3
11879
13163
  # calculated automatically.
11880
13164
  # @return [String]
11881
13165
  #
13166
+ # @!attribute [rw] checksum_algorithm
13167
+ # Indicates the algorithm used to create the checksum for the object
13168
+ # when using the SDK. This header will not provide any additional
13169
+ # functionality if not using the SDK. When sending this header, there
13170
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
13171
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status
13172
+ # code `400 Bad Request`. For more information, see [Checking object
13173
+ # integrity][1] in the *Amazon S3 User Guide*.
13174
+ #
13175
+ # If you provide an individual checksum, Amazon S3 ignores any
13176
+ # provided `ChecksumAlgorithm` parameter.
13177
+ #
13178
+ #
13179
+ #
13180
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
13181
+ # @return [String]
13182
+ #
11882
13183
  # @!attribute [rw] expected_bucket_owner
11883
13184
  # The account ID of the expected bucket owner. If the bucket is owned
11884
- # by a different account, the request will fail with an HTTP `403
11885
- # (Access Denied)` error.
13185
+ # by a different account, the request fails with the HTTP status code
13186
+ # `403 Forbidden` (access denied).
11886
13187
  # @return [String]
11887
13188
  #
11888
13189
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLegalHoldRequest AWS API Documentation
@@ -11894,6 +13195,7 @@ module Aws::S3
11894
13195
  :request_payer,
11895
13196
  :version_id,
11896
13197
  :content_md5,
13198
+ :checksum_algorithm,
11897
13199
  :expected_bucket_owner)
11898
13200
  SENSITIVE = []
11899
13201
  include Aws::Structure
@@ -11930,6 +13232,7 @@ module Aws::S3
11930
13232
  # request_payer: "requester", # accepts requester
11931
13233
  # token: "ObjectLockToken",
11932
13234
  # content_md5: "ContentMD5",
13235
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
11933
13236
  # expected_bucket_owner: "AccountId",
11934
13237
  # }
11935
13238
  #
@@ -11946,8 +13249,8 @@ module Aws::S3
11946
13249
  # @!attribute [rw] request_payer
11947
13250
  # Confirms that the requester knows that they will be charged for the
11948
13251
  # request. Bucket owners need not specify this parameter in their
11949
- # requests. For information about downloading objects from requester
11950
- # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
13252
+ # requests. For information about downloading objects from Requester
13253
+ # Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
11951
13254
  # in the *Amazon S3 User Guide*.
11952
13255
  #
11953
13256
  #
@@ -11967,10 +13270,27 @@ module Aws::S3
11967
13270
  # calculated automatically.
11968
13271
  # @return [String]
11969
13272
  #
13273
+ # @!attribute [rw] checksum_algorithm
13274
+ # Indicates the algorithm used to create the checksum for the object
13275
+ # when using the SDK. This header will not provide any additional
13276
+ # functionality if not using the SDK. When sending this header, there
13277
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
13278
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status
13279
+ # code `400 Bad Request`. For more information, see [Checking object
13280
+ # integrity][1] in the *Amazon S3 User Guide*.
13281
+ #
13282
+ # If you provide an individual checksum, Amazon S3 ignores any
13283
+ # provided `ChecksumAlgorithm` parameter.
13284
+ #
13285
+ #
13286
+ #
13287
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
13288
+ # @return [String]
13289
+ #
11970
13290
  # @!attribute [rw] expected_bucket_owner
11971
13291
  # The account ID of the expected bucket owner. If the bucket is owned
11972
- # by a different account, the request will fail with an HTTP `403
11973
- # (Access Denied)` error.
13292
+ # by a different account, the request fails with the HTTP status code
13293
+ # `403 Forbidden` (access denied).
11974
13294
  # @return [String]
11975
13295
  #
11976
13296
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLockConfigurationRequest AWS API Documentation
@@ -11981,6 +13301,7 @@ module Aws::S3
11981
13301
  :request_payer,
11982
13302
  :token,
11983
13303
  :content_md5,
13304
+ :checksum_algorithm,
11984
13305
  :expected_bucket_owner)
11985
13306
  SENSITIVE = []
11986
13307
  include Aws::Structure
@@ -11989,9 +13310,9 @@ module Aws::S3
11989
13310
  # @!attribute [rw] expiration
11990
13311
  # If the expiration is configured for the object (see
11991
13312
  # [PutBucketLifecycleConfiguration][1]), the response includes this
11992
- # header. It includes the expiry-date and rule-id key-value pairs that
11993
- # provide information about object expiration. The value of the
11994
- # rule-id is URL encoded.
13313
+ # header. It includes the `expiry-date` and `rule-id` key-value pairs
13314
+ # that provide information about object expiration. The value of the
13315
+ # `rule-id` is URL-encoded.
11995
13316
  #
11996
13317
  #
11997
13318
  #
@@ -12002,6 +13323,58 @@ module Aws::S3
12002
13323
  # Entity tag for the uploaded object.
12003
13324
  # @return [String]
12004
13325
  #
13326
+ # @!attribute [rw] checksum_crc32
13327
+ # The base64-encoded, 32-bit CRC32 checksum of the object. This will
13328
+ # only be present if it was uploaded with the object. With multipart
13329
+ # uploads, this may not be a checksum value of the object. For more
13330
+ # information about how checksums are calculated with multipart
13331
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
13332
+ # Guide*.
13333
+ #
13334
+ #
13335
+ #
13336
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
13337
+ # @return [String]
13338
+ #
13339
+ # @!attribute [rw] checksum_crc32c
13340
+ # The base64-encoded, 32-bit CRC32C checksum of the object. This will
13341
+ # only be present if it was uploaded with the object. With multipart
13342
+ # uploads, this may not be a checksum value of the object. For more
13343
+ # information about how checksums are calculated with multipart
13344
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
13345
+ # Guide*.
13346
+ #
13347
+ #
13348
+ #
13349
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
13350
+ # @return [String]
13351
+ #
13352
+ # @!attribute [rw] checksum_sha1
13353
+ # The base64-encoded, 160-bit SHA-1 digest of the object. This will
13354
+ # only be present if it was uploaded with the object. With multipart
13355
+ # uploads, this may not be a checksum value of the object. For more
13356
+ # information about how checksums are calculated with multipart
13357
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
13358
+ # Guide*.
13359
+ #
13360
+ #
13361
+ #
13362
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
13363
+ # @return [String]
13364
+ #
13365
+ # @!attribute [rw] checksum_sha256
13366
+ # The base64-encoded, 256-bit SHA-256 digest of the object. This will
13367
+ # only be present if it was uploaded with the object. With multipart
13368
+ # uploads, this may not be a checksum value of the object. For more
13369
+ # information about how checksums are calculated with multipart
13370
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
13371
+ # Guide*.
13372
+ #
13373
+ #
13374
+ #
13375
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
13376
+ # @return [String]
13377
+ #
12005
13378
  # @!attribute [rw] server_side_encryption
12006
13379
  # If you specified server-side encryption either with an Amazon Web
12007
13380
  # Services KMS key or Amazon S3-managed encryption key in your PUT
@@ -12055,6 +13428,10 @@ module Aws::S3
12055
13428
  class PutObjectOutput < Struct.new(
12056
13429
  :expiration,
12057
13430
  :etag,
13431
+ :checksum_crc32,
13432
+ :checksum_crc32c,
13433
+ :checksum_sha1,
13434
+ :checksum_sha256,
12058
13435
  :server_side_encryption,
12059
13436
  :version_id,
12060
13437
  :sse_customer_algorithm,
@@ -12081,6 +13458,11 @@ module Aws::S3
12081
13458
  # content_length: 1,
12082
13459
  # content_md5: "ContentMD5",
12083
13460
  # content_type: "ContentType",
13461
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
13462
+ # checksum_crc32: "ChecksumCRC32",
13463
+ # checksum_crc32c: "ChecksumCRC32C",
13464
+ # checksum_sha1: "ChecksumSHA1",
13465
+ # checksum_sha256: "ChecksumSHA256",
12084
13466
  # expires: Time.now,
12085
13467
  # grant_full_control: "GrantFullControl",
12086
13468
  # grant_read: "GrantRead",
@@ -12136,12 +13518,12 @@ module Aws::S3
12136
13518
  #
12137
13519
  # When using this action with Amazon S3 on Outposts, you must direct
12138
13520
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
12139
- # takes the form
12140
- # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
12141
- # When using this action using S3 on Outposts through the Amazon Web
13521
+ # takes the form `
13522
+ # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
13523
+ # When using this action with S3 on Outposts through the Amazon Web
12142
13524
  # Services SDKs, you provide the Outposts bucket ARN in place of the
12143
13525
  # bucket name. For more information about S3 on Outposts ARNs, see
12144
- # [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
13526
+ # [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
12145
13527
  #
12146
13528
  #
12147
13529
  #
@@ -12220,6 +13602,71 @@ module Aws::S3
12220
13602
  # [1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
12221
13603
  # @return [String]
12222
13604
  #
13605
+ # @!attribute [rw] checksum_algorithm
13606
+ # Indicates the algorithm used to create the checksum for the object
13607
+ # when using the SDK. This header will not provide any additional
13608
+ # functionality if not using the SDK. When sending this header, there
13609
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
13610
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status
13611
+ # code `400 Bad Request`. For more information, see [Checking object
13612
+ # integrity][1] in the *Amazon S3 User Guide*.
13613
+ #
13614
+ # If you provide an individual checksum, Amazon S3 ignores any
13615
+ # provided `ChecksumAlgorithm` parameter.
13616
+ #
13617
+ #
13618
+ #
13619
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
13620
+ # @return [String]
13621
+ #
13622
+ # @!attribute [rw] checksum_crc32
13623
+ # This header can be used as a data integrity check to verify that the
13624
+ # data received is the same data that was originally sent. This header
13625
+ # specifies the base64-encoded, 32-bit CRC32 checksum of the object.
13626
+ # For more information, see [Checking object integrity][1] in the
13627
+ # *Amazon S3 User Guide*.
13628
+ #
13629
+ #
13630
+ #
13631
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
13632
+ # @return [String]
13633
+ #
13634
+ # @!attribute [rw] checksum_crc32c
13635
+ # This header can be used as a data integrity check to verify that the
13636
+ # data received is the same data that was originally sent. This header
13637
+ # specifies the base64-encoded, 32-bit CRC32C checksum of the object.
13638
+ # For more information, see [Checking object integrity][1] in the
13639
+ # *Amazon S3 User Guide*.
13640
+ #
13641
+ #
13642
+ #
13643
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
13644
+ # @return [String]
13645
+ #
13646
+ # @!attribute [rw] checksum_sha1
13647
+ # This header can be used as a data integrity check to verify that the
13648
+ # data received is the same data that was originally sent. This header
13649
+ # specifies the base64-encoded, 160-bit SHA-1 digest of the object.
13650
+ # For more information, see [Checking object integrity][1] in the
13651
+ # *Amazon S3 User Guide*.
13652
+ #
13653
+ #
13654
+ #
13655
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
13656
+ # @return [String]
13657
+ #
13658
+ # @!attribute [rw] checksum_sha256
13659
+ # This header can be used as a data integrity check to verify that the
13660
+ # data received is the same data that was originally sent. This header
13661
+ # specifies the base64-encoded, 256-bit SHA-256 digest of the object.
13662
+ # For more information, see [Checking object integrity][1] in the
13663
+ # *Amazon S3 User Guide*.
13664
+ #
13665
+ #
13666
+ #
13667
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
13668
+ # @return [String]
13669
+ #
12223
13670
  # @!attribute [rw] expires
12224
13671
  # The date and time at which the object is no longer cacheable. For
12225
13672
  # more information, see
@@ -12360,8 +13807,8 @@ module Aws::S3
12360
13807
  # @!attribute [rw] request_payer
12361
13808
  # Confirms that the requester knows that they will be charged for the
12362
13809
  # request. Bucket owners need not specify this parameter in their
12363
- # requests. For information about downloading objects from requester
12364
- # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
13810
+ # requests. For information about downloading objects from Requester
13811
+ # Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
12365
13812
  # in the *Amazon S3 User Guide*.
12366
13813
  #
12367
13814
  #
@@ -12394,8 +13841,8 @@ module Aws::S3
12394
13841
  #
12395
13842
  # @!attribute [rw] expected_bucket_owner
12396
13843
  # The account ID of the expected bucket owner. If the bucket is owned
12397
- # by a different account, the request will fail with an HTTP `403
12398
- # (Access Denied)` error.
13844
+ # by a different account, the request fails with the HTTP status code
13845
+ # `403 Forbidden` (access denied).
12399
13846
  # @return [String]
12400
13847
  #
12401
13848
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectRequest AWS API Documentation
@@ -12411,6 +13858,11 @@ module Aws::S3
12411
13858
  :content_length,
12412
13859
  :content_md5,
12413
13860
  :content_type,
13861
+ :checksum_algorithm,
13862
+ :checksum_crc32,
13863
+ :checksum_crc32c,
13864
+ :checksum_sha1,
13865
+ :checksum_sha256,
12414
13866
  :expires,
12415
13867
  :grant_full_control,
12416
13868
  :grant_read,
@@ -12464,6 +13916,7 @@ module Aws::S3
12464
13916
  # version_id: "ObjectVersionId",
12465
13917
  # bypass_governance_retention: false,
12466
13918
  # content_md5: "ContentMD5",
13919
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
12467
13920
  # expected_bucket_owner: "AccountId",
12468
13921
  # }
12469
13922
  #
@@ -12497,8 +13950,8 @@ module Aws::S3
12497
13950
  # @!attribute [rw] request_payer
12498
13951
  # Confirms that the requester knows that they will be charged for the
12499
13952
  # request. Bucket owners need not specify this parameter in their
12500
- # requests. For information about downloading objects from requester
12501
- # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
13953
+ # requests. For information about downloading objects from Requester
13954
+ # Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
12502
13955
  # in the *Amazon S3 User Guide*.
12503
13956
  #
12504
13957
  #
@@ -12524,10 +13977,27 @@ module Aws::S3
12524
13977
  # calculated automatically.
12525
13978
  # @return [String]
12526
13979
  #
13980
+ # @!attribute [rw] checksum_algorithm
13981
+ # Indicates the algorithm used to create the checksum for the object
13982
+ # when using the SDK. This header will not provide any additional
13983
+ # functionality if not using the SDK. When sending this header, there
13984
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
13985
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status
13986
+ # code `400 Bad Request`. For more information, see [Checking object
13987
+ # integrity][1] in the *Amazon S3 User Guide*.
13988
+ #
13989
+ # If you provide an individual checksum, Amazon S3 ignores any
13990
+ # provided `ChecksumAlgorithm` parameter.
13991
+ #
13992
+ #
13993
+ #
13994
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
13995
+ # @return [String]
13996
+ #
12527
13997
  # @!attribute [rw] expected_bucket_owner
12528
13998
  # The account ID of the expected bucket owner. If the bucket is owned
12529
- # by a different account, the request will fail with an HTTP `403
12530
- # (Access Denied)` error.
13999
+ # by a different account, the request fails with the HTTP status code
14000
+ # `403 Forbidden` (access denied).
12531
14001
  # @return [String]
12532
14002
  #
12533
14003
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectRetentionRequest AWS API Documentation
@@ -12540,6 +14010,7 @@ module Aws::S3
12540
14010
  :version_id,
12541
14011
  :bypass_governance_retention,
12542
14012
  :content_md5,
14013
+ :checksum_algorithm,
12543
14014
  :expected_bucket_owner)
12544
14015
  SENSITIVE = []
12545
14016
  include Aws::Structure
@@ -12565,6 +14036,7 @@ module Aws::S3
12565
14036
  # key: "ObjectKey", # required
12566
14037
  # version_id: "ObjectVersionId",
12567
14038
  # content_md5: "ContentMD5",
14039
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
12568
14040
  # tagging: { # required
12569
14041
  # tag_set: [ # required
12570
14042
  # {
@@ -12591,12 +14063,12 @@ module Aws::S3
12591
14063
  #
12592
14064
  # When using this action with Amazon S3 on Outposts, you must direct
12593
14065
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
12594
- # takes the form
12595
- # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
12596
- # When using this action using S3 on Outposts through the Amazon Web
14066
+ # takes the form `
14067
+ # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
14068
+ # When using this action with S3 on Outposts through the Amazon Web
12597
14069
  # Services SDKs, you provide the Outposts bucket ARN in place of the
12598
14070
  # bucket name. For more information about S3 on Outposts ARNs, see
12599
- # [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
14071
+ # [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
12600
14072
  #
12601
14073
  #
12602
14074
  #
@@ -12620,21 +14092,38 @@ module Aws::S3
12620
14092
  # calculated automatically.
12621
14093
  # @return [String]
12622
14094
  #
14095
+ # @!attribute [rw] checksum_algorithm
14096
+ # Indicates the algorithm used to create the checksum for the object
14097
+ # when using the SDK. This header will not provide any additional
14098
+ # functionality if not using the SDK. When sending this header, there
14099
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
14100
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status
14101
+ # code `400 Bad Request`. For more information, see [Checking object
14102
+ # integrity][1] in the *Amazon S3 User Guide*.
14103
+ #
14104
+ # If you provide an individual checksum, Amazon S3 ignores any
14105
+ # provided `ChecksumAlgorithm` parameter.
14106
+ #
14107
+ #
14108
+ #
14109
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
14110
+ # @return [String]
14111
+ #
12623
14112
  # @!attribute [rw] tagging
12624
14113
  # Container for the `TagSet` and `Tag` elements
12625
14114
  # @return [Types::Tagging]
12626
14115
  #
12627
14116
  # @!attribute [rw] expected_bucket_owner
12628
14117
  # The account ID of the expected bucket owner. If the bucket is owned
12629
- # by a different account, the request will fail with an HTTP `403
12630
- # (Access Denied)` error.
14118
+ # by a different account, the request fails with the HTTP status code
14119
+ # `403 Forbidden` (access denied).
12631
14120
  # @return [String]
12632
14121
  #
12633
14122
  # @!attribute [rw] request_payer
12634
14123
  # Confirms that the requester knows that they will be charged for the
12635
14124
  # request. Bucket owners need not specify this parameter in their
12636
- # requests. For information about downloading objects from requester
12637
- # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
14125
+ # requests. For information about downloading objects from Requester
14126
+ # Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
12638
14127
  # in the *Amazon S3 User Guide*.
12639
14128
  #
12640
14129
  #
@@ -12649,6 +14138,7 @@ module Aws::S3
12649
14138
  :key,
12650
14139
  :version_id,
12651
14140
  :content_md5,
14141
+ :checksum_algorithm,
12652
14142
  :tagging,
12653
14143
  :expected_bucket_owner,
12654
14144
  :request_payer)
@@ -12662,6 +14152,7 @@ module Aws::S3
12662
14152
  # {
12663
14153
  # bucket: "BucketName", # required
12664
14154
  # content_md5: "ContentMD5",
14155
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
12665
14156
  # public_access_block_configuration: { # required
12666
14157
  # block_public_acls: false,
12667
14158
  # ignore_public_acls: false,
@@ -12684,6 +14175,23 @@ module Aws::S3
12684
14175
  # calculated automatically.
12685
14176
  # @return [String]
12686
14177
  #
14178
+ # @!attribute [rw] checksum_algorithm
14179
+ # Indicates the algorithm used to create the checksum for the object
14180
+ # when using the SDK. This header will not provide any additional
14181
+ # functionality if not using the SDK. When sending this header, there
14182
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
14183
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status
14184
+ # code `400 Bad Request`. For more information, see [Checking object
14185
+ # integrity][1] in the *Amazon S3 User Guide*.
14186
+ #
14187
+ # If you provide an individual checksum, Amazon S3 ignores any
14188
+ # provided `ChecksumAlgorithm` parameter.
14189
+ #
14190
+ #
14191
+ #
14192
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
14193
+ # @return [String]
14194
+ #
12687
14195
  # @!attribute [rw] public_access_block_configuration
12688
14196
  # The `PublicAccessBlock` configuration that you want to apply to this
12689
14197
  # Amazon S3 bucket. You can enable the configuration options in any
@@ -12698,8 +14206,8 @@ module Aws::S3
12698
14206
  #
12699
14207
  # @!attribute [rw] expected_bucket_owner
12700
14208
  # The account ID of the expected bucket owner. If the bucket is owned
12701
- # by a different account, the request will fail with an HTTP `403
12702
- # (Access Denied)` error.
14209
+ # by a different account, the request fails with the HTTP status code
14210
+ # `403 Forbidden` (access denied).
12703
14211
  # @return [String]
12704
14212
  #
12705
14213
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutPublicAccessBlockRequest AWS API Documentation
@@ -12707,6 +14215,7 @@ module Aws::S3
12707
14215
  class PutPublicAccessBlockRequest < Struct.new(
12708
14216
  :bucket,
12709
14217
  :content_md5,
14218
+ :checksum_algorithm,
12710
14219
  :public_access_block_configuration,
12711
14220
  :expected_bucket_owner)
12712
14221
  SENSITIVE = []
@@ -13556,6 +15065,7 @@ module Aws::S3
13556
15065
  # },
13557
15066
  # },
13558
15067
  # request_payer: "requester", # accepts requester
15068
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
13559
15069
  # expected_bucket_owner: "AccountId",
13560
15070
  # }
13561
15071
  #
@@ -13573,12 +15083,12 @@ module Aws::S3
13573
15083
  #
13574
15084
  # When using this action with Amazon S3 on Outposts, you must direct
13575
15085
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
13576
- # takes the form
13577
- # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
13578
- # When using this action using S3 on Outposts through the Amazon Web
15086
+ # takes the form `
15087
+ # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
15088
+ # When using this action with S3 on Outposts through the Amazon Web
13579
15089
  # Services SDKs, you provide the Outposts bucket ARN in place of the
13580
15090
  # bucket name. For more information about S3 on Outposts ARNs, see
13581
- # [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
15091
+ # [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
13582
15092
  #
13583
15093
  #
13584
15094
  #
@@ -13601,8 +15111,8 @@ module Aws::S3
13601
15111
  # @!attribute [rw] request_payer
13602
15112
  # Confirms that the requester knows that they will be charged for the
13603
15113
  # request. Bucket owners need not specify this parameter in their
13604
- # requests. For information about downloading objects from requester
13605
- # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
15114
+ # requests. For information about downloading objects from Requester
15115
+ # Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
13606
15116
  # in the *Amazon S3 User Guide*.
13607
15117
  #
13608
15118
  #
@@ -13610,10 +15120,27 @@ module Aws::S3
13610
15120
  # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
13611
15121
  # @return [String]
13612
15122
  #
15123
+ # @!attribute [rw] checksum_algorithm
15124
+ # Indicates the algorithm used to create the checksum for the object
15125
+ # when using the SDK. This header will not provide any additional
15126
+ # functionality if not using the SDK. When sending this header, there
15127
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
15128
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status
15129
+ # code `400 Bad Request`. For more information, see [Checking object
15130
+ # integrity][1] in the *Amazon S3 User Guide*.
15131
+ #
15132
+ # If you provide an individual checksum, Amazon S3 ignores any
15133
+ # provided `ChecksumAlgorithm` parameter.
15134
+ #
15135
+ #
15136
+ #
15137
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
15138
+ # @return [String]
15139
+ #
13613
15140
  # @!attribute [rw] expected_bucket_owner
13614
15141
  # The account ID of the expected bucket owner. If the bucket is owned
13615
- # by a different account, the request will fail with an HTTP `403
13616
- # (Access Denied)` error.
15142
+ # by a different account, the request fails with the HTTP status code
15143
+ # `403 Forbidden` (access denied).
13617
15144
  # @return [String]
13618
15145
  #
13619
15146
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreObjectRequest AWS API Documentation
@@ -13624,6 +15151,7 @@ module Aws::S3
13624
15151
  :version_id,
13625
15152
  :restore_request,
13626
15153
  :request_payer,
15154
+ :checksum_algorithm,
13627
15155
  :expected_bucket_owner)
13628
15156
  SENSITIVE = []
13629
15157
  include Aws::Structure
@@ -14105,8 +15633,8 @@ module Aws::S3
14105
15633
  # @!attribute [rw] start
14106
15634
  # Specifies the start of the byte range. This parameter is optional.
14107
15635
  # Valid values: non-negative integers. The default value is 0. If only
14108
- # start is supplied, it means scan from that point to the end of the
14109
- # file.For example; `<scanrange><start>50</start></scanrange>` means
15636
+ # `start` is supplied, it means scan from that point to the end of the
15637
+ # file. For example, `<scanrange><start>50</start></scanrange>` means
14110
15638
  # scan from byte 50 until the end of the file.
14111
15639
  # @return [Integer]
14112
15640
  #
@@ -14212,9 +15740,10 @@ module Aws::S3
14212
15740
  # @return [String]
14213
15741
  #
14214
15742
  # @!attribute [rw] sse_customer_algorithm
14215
- # The SSE Algorithm used to encrypt the object. For more information,
14216
- # see [Server-Side Encryption (Using Customer-Provided Encryption
14217
- # Keys][1].
15743
+ # The server-side encryption (SSE) algorithm used to encrypt the
15744
+ # object. This parameter is needed only when the object was created
15745
+ # using a checksum algorithm. For more information, see [Protecting
15746
+ # data using SSE-C keys][1] in the *Amazon S3 User Guide*.
14218
15747
  #
14219
15748
  #
14220
15749
  #
@@ -14222,8 +15751,10 @@ module Aws::S3
14222
15751
  # @return [String]
14223
15752
  #
14224
15753
  # @!attribute [rw] sse_customer_key
14225
- # The SSE Customer Key. For more information, see [Server-Side
14226
- # Encryption (Using Customer-Provided Encryption Keys][1].
15754
+ # The server-side encryption (SSE) customer managed key. This
15755
+ # parameter is needed only when the object was created using a
15756
+ # checksum algorithm. For more information, see [Protecting data using
15757
+ # SSE-C keys][1] in the *Amazon S3 User Guide*.
14227
15758
  #
14228
15759
  #
14229
15760
  #
@@ -14231,8 +15762,10 @@ module Aws::S3
14231
15762
  # @return [String]
14232
15763
  #
14233
15764
  # @!attribute [rw] sse_customer_key_md5
14234
- # The SSE Customer Key MD5. For more information, see [Server-Side
14235
- # Encryption (Using Customer-Provided Encryption Keys][1].
15765
+ # The MD5 server-side encryption (SSE) customer managed key. This
15766
+ # parameter is needed only when the object was created using a
15767
+ # checksum algorithm. For more information, see [Protecting data using
15768
+ # SSE-C keys][1] in the *Amazon S3 User Guide*.
14236
15769
  #
14237
15770
  #
14238
15771
  #
@@ -14284,8 +15817,8 @@ module Aws::S3
14284
15817
  #
14285
15818
  # @!attribute [rw] expected_bucket_owner
14286
15819
  # The account ID of the expected bucket owner. If the bucket is owned
14287
- # by a different account, the request will fail with an HTTP `403
14288
- # (Access Denied)` error.
15820
+ # by a different account, the request fails with the HTTP status code
15821
+ # `403 Forbidden` (access denied).
14289
15822
  # @return [String]
14290
15823
  #
14291
15824
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SelectObjectContentRequest AWS API Documentation
@@ -14375,9 +15908,13 @@ module Aws::S3
14375
15908
 
14376
15909
  # Describes the default server-side encryption to apply to new objects
14377
15910
  # in the bucket. If a PUT Object request doesn't specify any
14378
- # server-side encryption, this default encryption will be applied. For
14379
- # more information, see [PUT Bucket encryption][1] in the *Amazon S3 API
14380
- # Reference*.
15911
+ # server-side encryption, this default encryption will be applied. If
15912
+ # you don't specify a customer managed key at configuration, Amazon S3
15913
+ # automatically creates an Amazon Web Services KMS key in your Amazon
15914
+ # Web Services account the first time that you add an object encrypted
15915
+ # with SSE-KMS to a bucket. By default, Amazon S3 uses this KMS key for
15916
+ # SSE-KMS. For more information, see [PUT Bucket encryption][1] in the
15917
+ # *Amazon S3 API Reference*.
14381
15918
  #
14382
15919
  #
14383
15920
  #
@@ -14402,9 +15939,10 @@ module Aws::S3
14402
15939
  # `aws:kms`.
14403
15940
  #
14404
15941
  # You can specify the key ID or the Amazon Resource Name (ARN) of the
14405
- # KMS key. However, if you are using encryption with cross-account
14406
- # operations, you must use a fully qualified KMS key ARN. For more
14407
- # information, see [Using encryption for cross-account operations][1].
15942
+ # KMS key. However, if you are using encryption with cross-account or
15943
+ # Amazon Web Services service operations you must use a fully
15944
+ # qualified KMS key ARN. For more information, see [Using encryption
15945
+ # for cross-account operations][1].
14408
15946
  #
14409
15947
  # **For example:**
14410
15948
  #
@@ -15079,12 +16617,12 @@ module Aws::S3
15079
16617
  #
15080
16618
  # When using this action with Amazon S3 on Outposts, you must direct
15081
16619
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
15082
- # takes the form
15083
- # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
15084
- # When using this action using S3 on Outposts through the Amazon Web
16620
+ # takes the form `
16621
+ # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
16622
+ # When using this action with S3 on Outposts through the Amazon Web
15085
16623
  # Services SDKs, you provide the Outposts bucket ARN in place of the
15086
16624
  # bucket name. For more information about S3 on Outposts ARNs, see
15087
- # [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
16625
+ # [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
15088
16626
  #
15089
16627
  #
15090
16628
  #
@@ -15101,8 +16639,8 @@ module Aws::S3
15101
16639
  # of the source bucket and key of the source object, separated by a
15102
16640
  # slash (/). For example, to copy the object `reports/january.pdf`
15103
16641
  # from the bucket `awsexamplebucket`, use
15104
- # `awsexamplebucket/reports/january.pdf`. The value must be URL
15105
- # encoded.
16642
+ # `awsexamplebucket/reports/january.pdf`. The value must be
16643
+ # URL-encoded.
15106
16644
  #
15107
16645
  # * For objects accessed through access points, specify the Amazon
15108
16646
  # Resource Name (ARN) of the object as accessed through the access
@@ -15127,7 +16665,7 @@ module Aws::S3
15127
16665
  # outpost `my-outpost` owned by account `123456789012` in Region
15128
16666
  # `us-west-2`, use the URL encoding of
15129
16667
  # `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf`.
15130
- # The value must be URL encoded.
16668
+ # The value must be URL-encoded.
15131
16669
  #
15132
16670
  # To copy a specific version of an object, append
15133
16671
  # `?versionId=<version-id>` to the value (for example,
@@ -15222,8 +16760,8 @@ module Aws::S3
15222
16760
  # @!attribute [rw] request_payer
15223
16761
  # Confirms that the requester knows that they will be charged for the
15224
16762
  # request. Bucket owners need not specify this parameter in their
15225
- # requests. For information about downloading objects from requester
15226
- # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
16763
+ # requests. For information about downloading objects from Requester
16764
+ # Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
15227
16765
  # in the *Amazon S3 User Guide*.
15228
16766
  #
15229
16767
  #
@@ -15233,14 +16771,14 @@ module Aws::S3
15233
16771
  #
15234
16772
  # @!attribute [rw] expected_bucket_owner
15235
16773
  # The account ID of the expected destination bucket owner. If the
15236
- # destination bucket is owned by a different account, the request will
15237
- # fail with an HTTP `403 (Access Denied)` error.
16774
+ # destination bucket is owned by a different account, the request
16775
+ # fails with the HTTP status code `403 Forbidden` (access denied).
15238
16776
  # @return [String]
15239
16777
  #
15240
16778
  # @!attribute [rw] expected_source_bucket_owner
15241
16779
  # The account ID of the expected source bucket owner. If the source
15242
- # bucket is owned by a different account, the request will fail with
15243
- # an HTTP `403 (Access Denied)` error.
16780
+ # bucket is owned by a different account, the request fails with the
16781
+ # HTTP status code `403 Forbidden` (access denied).
15244
16782
  # @return [String]
15245
16783
  #
15246
16784
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartCopyRequest AWS API Documentation
@@ -15278,6 +16816,58 @@ module Aws::S3
15278
16816
  # Entity tag for the uploaded object.
15279
16817
  # @return [String]
15280
16818
  #
16819
+ # @!attribute [rw] checksum_crc32
16820
+ # The base64-encoded, 32-bit CRC32 checksum of the object. This will
16821
+ # only be present if it was uploaded with the object. With multipart
16822
+ # uploads, this may not be a checksum value of the object. For more
16823
+ # information about how checksums are calculated with multipart
16824
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
16825
+ # Guide*.
16826
+ #
16827
+ #
16828
+ #
16829
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
16830
+ # @return [String]
16831
+ #
16832
+ # @!attribute [rw] checksum_crc32c
16833
+ # The base64-encoded, 32-bit CRC32C checksum of the object. This will
16834
+ # only be present if it was uploaded with the object. With multipart
16835
+ # uploads, this may not be a checksum value of the object. For more
16836
+ # information about how checksums are calculated with multipart
16837
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
16838
+ # Guide*.
16839
+ #
16840
+ #
16841
+ #
16842
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
16843
+ # @return [String]
16844
+ #
16845
+ # @!attribute [rw] checksum_sha1
16846
+ # The base64-encoded, 160-bit SHA-1 digest of the object. This will
16847
+ # only be present if it was uploaded with the object. With multipart
16848
+ # uploads, this may not be a checksum value of the object. For more
16849
+ # information about how checksums are calculated with multipart
16850
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
16851
+ # Guide*.
16852
+ #
16853
+ #
16854
+ #
16855
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
16856
+ # @return [String]
16857
+ #
16858
+ # @!attribute [rw] checksum_sha256
16859
+ # The base64-encoded, 256-bit SHA-256 digest of the object. This will
16860
+ # only be present if it was uploaded with the object. With multipart
16861
+ # uploads, this may not be a checksum value of the object. For more
16862
+ # information about how checksums are calculated with multipart
16863
+ # uploads, see [ Checking object integrity][1] in the *Amazon S3 User
16864
+ # Guide*.
16865
+ #
16866
+ #
16867
+ #
16868
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
16869
+ # @return [String]
16870
+ #
15281
16871
  # @!attribute [rw] sse_customer_algorithm
15282
16872
  # If server-side encryption with a customer-provided encryption key
15283
16873
  # was requested, the response will include this header confirming the
@@ -15312,6 +16902,10 @@ module Aws::S3
15312
16902
  class UploadPartOutput < Struct.new(
15313
16903
  :server_side_encryption,
15314
16904
  :etag,
16905
+ :checksum_crc32,
16906
+ :checksum_crc32c,
16907
+ :checksum_sha1,
16908
+ :checksum_sha256,
15315
16909
  :sse_customer_algorithm,
15316
16910
  :sse_customer_key_md5,
15317
16911
  :ssekms_key_id,
@@ -15329,6 +16923,11 @@ module Aws::S3
15329
16923
  # bucket: "BucketName", # required
15330
16924
  # content_length: 1,
15331
16925
  # content_md5: "ContentMD5",
16926
+ # checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
16927
+ # checksum_crc32: "ChecksumCRC32",
16928
+ # checksum_crc32c: "ChecksumCRC32C",
16929
+ # checksum_sha1: "ChecksumSHA1",
16930
+ # checksum_sha256: "ChecksumSHA256",
15332
16931
  # key: "ObjectKey", # required
15333
16932
  # part_number: 1, # required
15334
16933
  # upload_id: "MultipartUploadId", # required
@@ -15357,12 +16956,12 @@ module Aws::S3
15357
16956
  #
15358
16957
  # When using this action with Amazon S3 on Outposts, you must direct
15359
16958
  # requests to the S3 on Outposts hostname. The S3 on Outposts hostname
15360
- # takes the form
15361
- # *AccessPointName*-*AccountId*.*outpostID*.s3-outposts.*Region*.amazonaws.com.
15362
- # When using this action using S3 on Outposts through the Amazon Web
16959
+ # takes the form `
16960
+ # AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
16961
+ # When using this action with S3 on Outposts through the Amazon Web
15363
16962
  # Services SDKs, you provide the Outposts bucket ARN in place of the
15364
16963
  # bucket name. For more information about S3 on Outposts ARNs, see
15365
- # [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
16964
+ # [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
15366
16965
  #
15367
16966
  #
15368
16967
  #
@@ -15381,6 +16980,74 @@ module Aws::S3
15381
16980
  # This parameter is required if object lock parameters are specified.
15382
16981
  # @return [String]
15383
16982
  #
16983
+ # @!attribute [rw] checksum_algorithm
16984
+ # Indicates the algorithm used to create the checksum for the object
16985
+ # when using the SDK. This header will not provide any additional
16986
+ # functionality if not using the SDK. When sending this header, there
16987
+ # must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
16988
+ # sent. Otherwise, Amazon S3 fails the request with the HTTP status
16989
+ # code `400 Bad Request`. For more information, see [Checking object
16990
+ # integrity][1] in the *Amazon S3 User Guide*.
16991
+ #
16992
+ # If you provide an individual checksum, Amazon S3 ignores any
16993
+ # provided `ChecksumAlgorithm` parameter.
16994
+ #
16995
+ # This checksum algorithm must be the same for all parts and it match
16996
+ # the checksum value supplied in the `CreateMultipartUpload` request.
16997
+ #
16998
+ #
16999
+ #
17000
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
17001
+ # @return [String]
17002
+ #
17003
+ # @!attribute [rw] checksum_crc32
17004
+ # This header can be used as a data integrity check to verify that the
17005
+ # data received is the same data that was originally sent. This header
17006
+ # specifies the base64-encoded, 32-bit CRC32 checksum of the object.
17007
+ # For more information, see [Checking object integrity][1] in the
17008
+ # *Amazon S3 User Guide*.
17009
+ #
17010
+ #
17011
+ #
17012
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
17013
+ # @return [String]
17014
+ #
17015
+ # @!attribute [rw] checksum_crc32c
17016
+ # This header can be used as a data integrity check to verify that the
17017
+ # data received is the same data that was originally sent. This header
17018
+ # specifies the base64-encoded, 32-bit CRC32C checksum of the object.
17019
+ # For more information, see [Checking object integrity][1] in the
17020
+ # *Amazon S3 User Guide*.
17021
+ #
17022
+ #
17023
+ #
17024
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
17025
+ # @return [String]
17026
+ #
17027
+ # @!attribute [rw] checksum_sha1
17028
+ # This header can be used as a data integrity check to verify that the
17029
+ # data received is the same data that was originally sent. This header
17030
+ # specifies the base64-encoded, 160-bit SHA-1 digest of the object.
17031
+ # For more information, see [Checking object integrity][1] in the
17032
+ # *Amazon S3 User Guide*.
17033
+ #
17034
+ #
17035
+ #
17036
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
17037
+ # @return [String]
17038
+ #
17039
+ # @!attribute [rw] checksum_sha256
17040
+ # This header can be used as a data integrity check to verify that the
17041
+ # data received is the same data that was originally sent. This header
17042
+ # specifies the base64-encoded, 256-bit SHA-256 digest of the object.
17043
+ # For more information, see [Checking object integrity][1] in the
17044
+ # *Amazon S3 User Guide*.
17045
+ #
17046
+ #
17047
+ #
17048
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
17049
+ # @return [String]
17050
+ #
15384
17051
  # @!attribute [rw] key
15385
17052
  # Object key for which the multipart upload was initiated.
15386
17053
  # @return [String]
@@ -15419,8 +17086,8 @@ module Aws::S3
15419
17086
  # @!attribute [rw] request_payer
15420
17087
  # Confirms that the requester knows that they will be charged for the
15421
17088
  # request. Bucket owners need not specify this parameter in their
15422
- # requests. For information about downloading objects from requester
15423
- # pays buckets, see [Downloading Objects in Requestor Pays Buckets][1]
17089
+ # requests. For information about downloading objects from Requester
17090
+ # Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
15424
17091
  # in the *Amazon S3 User Guide*.
15425
17092
  #
15426
17093
  #
@@ -15430,8 +17097,8 @@ module Aws::S3
15430
17097
  #
15431
17098
  # @!attribute [rw] expected_bucket_owner
15432
17099
  # The account ID of the expected bucket owner. If the bucket is owned
15433
- # by a different account, the request will fail with an HTTP `403
15434
- # (Access Denied)` error.
17100
+ # by a different account, the request fails with the HTTP status code
17101
+ # `403 Forbidden` (access denied).
15435
17102
  # @return [String]
15436
17103
  #
15437
17104
  # @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartRequest AWS API Documentation
@@ -15441,6 +17108,11 @@ module Aws::S3
15441
17108
  :bucket,
15442
17109
  :content_length,
15443
17110
  :content_md5,
17111
+ :checksum_algorithm,
17112
+ :checksum_crc32,
17113
+ :checksum_crc32c,
17114
+ :checksum_sha1,
17115
+ :checksum_sha256,
15444
17116
  :key,
15445
17117
  :part_number,
15446
17118
  :upload_id,
@@ -15571,6 +17243,10 @@ module Aws::S3
15571
17243
  # content_length: 1,
15572
17244
  # content_range: "ContentRange",
15573
17245
  # content_type: "ContentType",
17246
+ # checksum_crc32: "ChecksumCRC32",
17247
+ # checksum_crc32c: "ChecksumCRC32C",
17248
+ # checksum_sha1: "ChecksumSHA1",
17249
+ # checksum_sha256: "ChecksumSHA256",
15574
17250
  # delete_marker: false,
15575
17251
  # etag: "ETag",
15576
17252
  # expires: Time.now,
@@ -15616,33 +17292,33 @@ module Aws::S3
15616
17292
  #
15617
17293
  # **Status Codes**
15618
17294
  #
15619
- # * *200 - OK*
17295
+ # * `200 - OK`
15620
17296
  #
15621
- # * *206 - Partial Content*
17297
+ # * `206 - Partial Content`
15622
17298
  #
15623
- # * *304 - Not Modified*
17299
+ # * `304 - Not Modified`
15624
17300
  #
15625
- # * *400 - Bad Request*
17301
+ # * `400 - Bad Request`
15626
17302
  #
15627
- # * *401 - Unauthorized*
17303
+ # * `401 - Unauthorized`
15628
17304
  #
15629
- # * *403 - Forbidden*
17305
+ # * `403 - Forbidden`
15630
17306
  #
15631
- # * *404 - Not Found*
17307
+ # * `404 - Not Found`
15632
17308
  #
15633
- # * *405 - Method Not Allowed*
17309
+ # * `405 - Method Not Allowed`
15634
17310
  #
15635
- # * *409 - Conflict*
17311
+ # * `409 - Conflict`
15636
17312
  #
15637
- # * *411 - Length Required*
17313
+ # * `411 - Length Required`
15638
17314
  #
15639
- # * *412 - Precondition Failed*
17315
+ # * `412 - Precondition Failed`
15640
17316
  #
15641
- # * *416 - Range Not Satisfiable*
17317
+ # * `416 - Range Not Satisfiable`
15642
17318
  #
15643
- # * *500 - Internal Server Error*
17319
+ # * `500 - Internal Server Error`
15644
17320
  #
15645
- # * *503 - Service Unavailable*
17321
+ # * `503 - Service Unavailable`
15646
17322
  # @return [Integer]
15647
17323
  #
15648
17324
  # @!attribute [rw] error_code
@@ -15650,8 +17326,8 @@ module Aws::S3
15650
17326
  # the &lt;Code&gt; tag of the error XML response for a corresponding
15651
17327
  # `GetObject` call. Cannot be used with a successful `StatusCode`
15652
17328
  # header or when the transformed object is provided in the body. All
15653
- # error codes from S3 are sentence-cased. Regex value is
15654
- # "^\[A-Z\]\[a-zA-Z\]+$".
17329
+ # error codes from S3 are sentence-cased. The regular expression
17330
+ # (regex) value is `"^[A-Z][a-zA-Z]+$"`.
15655
17331
  # @return [String]
15656
17332
  #
15657
17333
  # @!attribute [rw] error_message
@@ -15696,6 +17372,84 @@ module Aws::S3
15696
17372
  # A standard MIME type describing the format of the object data.
15697
17373
  # @return [String]
15698
17374
  #
17375
+ # @!attribute [rw] checksum_crc32
17376
+ # This header can be used as a data integrity check to verify that the
17377
+ # data received is the same data that was originally sent. This
17378
+ # specifies the base64-encoded, 32-bit CRC32 checksum of the object
17379
+ # returned by the Object Lambda function. This may not match the
17380
+ # checksum for the object stored in Amazon S3. Amazon S3 will perform
17381
+ # validation of the checksum values only when the original `GetObject`
17382
+ # request required checksum validation. For more information about
17383
+ # checksums, see [Checking object integrity][1] in the *Amazon S3 User
17384
+ # Guide*.
17385
+ #
17386
+ # Only one checksum header can be specified at a time. If you supply
17387
+ # multiple checksum headers, this request will fail.
17388
+ #
17389
+ #
17390
+ #
17391
+ #
17392
+ #
17393
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
17394
+ # @return [String]
17395
+ #
17396
+ # @!attribute [rw] checksum_crc32c
17397
+ # This header can be used as a data integrity check to verify that the
17398
+ # data received is the same data that was originally sent. This
17399
+ # specifies the base64-encoded, 32-bit CRC32C checksum of the object
17400
+ # returned by the Object Lambda function. This may not match the
17401
+ # checksum for the object stored in Amazon S3. Amazon S3 will perform
17402
+ # validation of the checksum values only when the original `GetObject`
17403
+ # request required checksum validation. For more information about
17404
+ # checksums, see [Checking object integrity][1] in the *Amazon S3 User
17405
+ # Guide*.
17406
+ #
17407
+ # Only one checksum header can be specified at a time. If you supply
17408
+ # multiple checksum headers, this request will fail.
17409
+ #
17410
+ #
17411
+ #
17412
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
17413
+ # @return [String]
17414
+ #
17415
+ # @!attribute [rw] checksum_sha1
17416
+ # This header can be used as a data integrity check to verify that the
17417
+ # data received is the same data that was originally sent. This
17418
+ # specifies the base64-encoded, 160-bit SHA-1 digest of the object
17419
+ # returned by the Object Lambda function. This may not match the
17420
+ # checksum for the object stored in Amazon S3. Amazon S3 will perform
17421
+ # validation of the checksum values only when the original `GetObject`
17422
+ # request required checksum validation. For more information about
17423
+ # checksums, see [Checking object integrity][1] in the *Amazon S3 User
17424
+ # Guide*.
17425
+ #
17426
+ # Only one checksum header can be specified at a time. If you supply
17427
+ # multiple checksum headers, this request will fail.
17428
+ #
17429
+ #
17430
+ #
17431
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
17432
+ # @return [String]
17433
+ #
17434
+ # @!attribute [rw] checksum_sha256
17435
+ # This header can be used as a data integrity check to verify that the
17436
+ # data received is the same data that was originally sent. This
17437
+ # specifies the base64-encoded, 256-bit SHA-256 digest of the object
17438
+ # returned by the Object Lambda function. This may not match the
17439
+ # checksum for the object stored in Amazon S3. Amazon S3 will perform
17440
+ # validation of the checksum values only when the original `GetObject`
17441
+ # request required checksum validation. For more information about
17442
+ # checksums, see [Checking object integrity][1] in the *Amazon S3 User
17443
+ # Guide*.
17444
+ #
17445
+ # Only one checksum header can be specified at a time. If you supply
17446
+ # multiple checksum headers, this request will fail.
17447
+ #
17448
+ #
17449
+ #
17450
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
17451
+ # @return [String]
17452
+ #
15699
17453
  # @!attribute [rw] delete_marker
15700
17454
  # Specifies whether an object stored in Amazon S3 is (`true`) or is
15701
17455
  # not (`false`) a delete marker.
@@ -15711,10 +17465,10 @@ module Aws::S3
15711
17465
  # @return [Time]
15712
17466
  #
15713
17467
  # @!attribute [rw] expiration
15714
- # If object stored in Amazon S3 expiration is configured (see PUT
15715
- # Bucket lifecycle) it includes expiry-date and rule-id key-value
15716
- # pairs providing object expiration information. The value of the
15717
- # rule-id is URL encoded.
17468
+ # If the object expiration is configured (see PUT Bucket lifecycle),
17469
+ # the response includes this header. It includes the `expiry-date` and
17470
+ # `rule-id` key-value pairs that provide the object expiration
17471
+ # information. The value of the `rule-id` is URL-encoded.
15718
17472
  # @return [String]
15719
17473
  #
15720
17474
  # @!attribute [rw] last_modified
@@ -15805,7 +17559,15 @@ module Aws::S3
15805
17559
  # @return [String]
15806
17560
  #
15807
17561
  # @!attribute [rw] storage_class
15808
- # The class of storage used to store object in Amazon S3.
17562
+ # Provides storage class information of the object. Amazon S3 returns
17563
+ # this header for all objects except for S3 Standard storage class
17564
+ # objects.
17565
+ #
17566
+ # For more information, see [Storage Classes][1].
17567
+ #
17568
+ #
17569
+ #
17570
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html
15809
17571
  # @return [String]
15810
17572
  #
15811
17573
  # @!attribute [rw] tag_count
@@ -15839,6 +17601,10 @@ module Aws::S3
15839
17601
  :content_length,
15840
17602
  :content_range,
15841
17603
  :content_type,
17604
+ :checksum_crc32,
17605
+ :checksum_crc32c,
17606
+ :checksum_sha1,
17607
+ :checksum_sha256,
15842
17608
  :delete_marker,
15843
17609
  :etag,
15844
17610
  :expires,