aws-sdk-s3 1.112.0 → 1.113.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +96 -17
- data/lib/aws-sdk-s3/bucket_acl.rb +18 -2
- data/lib/aws-sdk-s3/bucket_cors.rb +20 -4
- data/lib/aws-sdk-s3/bucket_lifecycle.rb +20 -4
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +20 -4
- data/lib/aws-sdk-s3/bucket_logging.rb +18 -2
- data/lib/aws-sdk-s3/bucket_notification.rb +2 -2
- data/lib/aws-sdk-s3/bucket_policy.rb +20 -4
- data/lib/aws-sdk-s3/bucket_request_payment.rb +18 -2
- data/lib/aws-sdk-s3/bucket_tagging.rb +20 -4
- data/lib/aws-sdk-s3/bucket_versioning.rb +54 -6
- data/lib/aws-sdk-s3/bucket_website.rb +20 -4
- data/lib/aws-sdk-s3/client.rb +1748 -634
- data/lib/aws-sdk-s3/client_api.rb +371 -21
- data/lib/aws-sdk-s3/customizations/object.rb +2 -2
- data/lib/aws-sdk-s3/multipart_file_uploader.rb +26 -7
- data/lib/aws-sdk-s3/multipart_upload.rb +126 -12
- data/lib/aws-sdk-s3/multipart_upload_part.rb +132 -13
- data/lib/aws-sdk-s3/object.rb +243 -61
- data/lib/aws-sdk-s3/object_acl.rb +20 -4
- data/lib/aws-sdk-s3/object_summary.rb +163 -41
- data/lib/aws-sdk-s3/object_version.rb +62 -26
- data/lib/aws-sdk-s3/plugins/md5s.rb +5 -3
- data/lib/aws-sdk-s3/plugins/skip_whole_multipart_get_checksums.rb +31 -0
- data/lib/aws-sdk-s3/presigned_post.rb +9 -2
- data/lib/aws-sdk-s3/types.rb +2229 -462
- data/lib/aws-sdk-s3.rb +1 -1
- metadata +5 -4
data/lib/aws-sdk-s3/types.rb
CHANGED
@@ -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
|
-
#
|
83
|
-
# When using this action
|
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
|
106
|
-
#
|
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
|
117
|
-
# (
|
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
|
-
#
|
940
|
-
# When using this action
|
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
|
958
|
-
# rule-id is URL
|
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
|
-
#
|
1052
|
-
# When using this action
|
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
|
1079
|
-
#
|
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
|
1090
|
-
# (
|
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
|
-
|
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
|
-
#
|
1368
|
-
# When using this action
|
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
|
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
|
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
|
1611
|
-
#
|
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
|
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
|
1642
|
-
#
|
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
|
1648
|
-
#
|
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
|
-
#
|
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
|
-
#
|
1910
|
-
# When using this action
|
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
|
-
#
|
2048
|
-
# When using this action
|
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
|
2197
|
-
#
|
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
|
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
|
2227
|
-
# (
|
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
|
2366
|
-
# (
|
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
|
2394
|
-
# (
|
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
|
2422
|
-
# (
|
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
|
2481
|
-
# (
|
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
|
2509
|
-
# (
|
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
|
2542
|
-
# (
|
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
|
2570
|
-
# (
|
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
|
2597
|
-
# (
|
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
|
2624
|
-
# (
|
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
|
2651
|
-
# (
|
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
|
2678
|
-
# (
|
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
|
2706
|
-
# (
|
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
|
-
#
|
2853
|
-
# When using this action
|
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
|
2883
|
-
#
|
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:
|
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
|
2900
|
-
# (
|
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
|
-
#
|
2956
|
-
# When using this action
|
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
|
2979
|
-
# (
|
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
|
-
#
|
3054
|
-
# When using this action
|
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
|
3080
|
-
#
|
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:
|
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
|
3097
|
-
# (
|
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
|
3129
|
-
# (
|
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
|
4330
|
-
# (
|
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
|
4374
|
-
# (
|
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
|
4419
|
-
# (
|
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
|
4460
|
-
# (
|
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
|
4500
|
-
# (
|
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
|
4583
|
-
# (
|
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
|
4623
|
-
# (
|
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
|
4662
|
-
# (
|
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
|
4708
|
-
# (
|
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
|
4753
|
-
# (
|
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
|
4798
|
-
# (
|
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
|
4827
|
-
# (
|
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
|
4868
|
-
# (
|
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
|
4907
|
-
# (
|
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
|
4947
|
-
# (
|
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
|
4987
|
-
# (
|
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
|
5027
|
-
# (
|
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
|
5066
|
-
# (
|
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
|
5113
|
-
# (
|
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
|
5171
|
-
# (
|
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
|
5247
|
-
#
|
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
|
5258
|
-
# (
|
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]
|
5274
|
-
#
|
5275
|
-
#
|
5276
|
-
#
|
5277
|
-
#
|
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
|
-
|
5280
|
-
|
5281
|
-
|
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
|
-
#
|
5290
|
-
#
|
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]
|
5297
|
-
#
|
5298
|
-
#
|
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
|
-
#
|
5301
|
-
#
|
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
|
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
|
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
|
5328
|
-
#
|
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
|
5339
|
-
# (
|
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
|
5394
|
-
# (
|
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.
|
5424
|
-
# value of the rule-id is URL
|
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
|
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
|
-
#
|
5653
|
-
# When using this action
|
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
|
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
|
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
|
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
|
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
|
5754
|
-
#
|
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
|
5772
|
-
# (
|
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
|
5857
|
-
#
|
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
|
5868
|
-
# (
|
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
|
-
#
|
5929
|
-
# When using this action
|
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
|
5952
|
-
# (
|
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
|
5959
|
-
#
|
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
|
6020
|
-
#
|
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
|
6031
|
-
# (
|
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
|
6074
|
-
# (
|
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
|
-
#
|
6238
|
-
# When using this action
|
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
|
6252
|
-
# (
|
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.
|
6278
|
-
# value of the rule-id is URL
|
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
|
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
|
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
|
6447
|
-
# return the `x-amz-replication-status` header with value
|
6448
|
-
# the object in your request is a replica that Amazon S3
|
6449
|
-
# there is no replica modification replication in
|
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
|
-
#
|
6574
|
-
# When using this action
|
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
|
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
|
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
|
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
|
7408
|
+
# specified time; otherwise, return a 412 (precondition failed) error.
|
6603
7409
|
# @return [Time]
|
6604
7410
|
#
|
6605
7411
|
# @!attribute [rw] key
|
@@ -6637,8 +7443,8 @@ module Aws::S3
|
|
6637
7443
|
# @!attribute [rw] request_payer
|
6638
7444
|
# Confirms that the requester knows that they will be charged for the
|
6639
7445
|
# request. Bucket owners need not specify this parameter in their
|
6640
|
-
# requests. For information about downloading objects from
|
6641
|
-
#
|
7446
|
+
# requests. For information about downloading objects from Requester
|
7447
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
6642
7448
|
# in the *Amazon S3 User Guide*.
|
6643
7449
|
#
|
6644
7450
|
#
|
@@ -6655,8 +7461,17 @@ module Aws::S3
|
|
6655
7461
|
#
|
6656
7462
|
# @!attribute [rw] expected_bucket_owner
|
6657
7463
|
# The account ID of the expected bucket owner. If the bucket is owned
|
6658
|
-
# by a different account, the request
|
6659
|
-
# (
|
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.
|
6660
7475
|
# @return [String]
|
6661
7476
|
#
|
6662
7477
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadObjectRequest AWS API Documentation
|
@@ -6675,7 +7490,8 @@ module Aws::S3
|
|
6675
7490
|
:sse_customer_key_md5,
|
6676
7491
|
:request_payer,
|
6677
7492
|
:part_number,
|
6678
|
-
:expected_bucket_owner
|
7493
|
+
:expected_bucket_owner,
|
7494
|
+
:checksum_mode)
|
6679
7495
|
SENSITIVE = [:sse_customer_key]
|
6680
7496
|
include Aws::Structure
|
6681
7497
|
end
|
@@ -6997,7 +7813,7 @@ module Aws::S3
|
|
6997
7813
|
# },
|
6998
7814
|
# id: "InventoryId", # required
|
6999
7815
|
# included_object_versions: "All", # required, accepts All, Current
|
7000
|
-
# 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
|
7001
7817
|
# schedule: { # required
|
7002
7818
|
# frequency: "Daily", # required, accepts Daily, Weekly
|
7003
7819
|
# },
|
@@ -7500,7 +8316,7 @@ module Aws::S3
|
|
7500
8316
|
# The `Filter` is used to identify objects that a Lifecycle Rule
|
7501
8317
|
# applies to. A `Filter` must have exactly one of `Prefix`, `Tag`, or
|
7502
8318
|
# `And` specified. `Filter` is required if the `LifecycleRule` does
|
7503
|
-
# not
|
8319
|
+
# not contain a `Prefix` element.
|
7504
8320
|
# @return [Types::LifecycleRuleFilter]
|
7505
8321
|
#
|
7506
8322
|
# @!attribute [rw] status
|
@@ -7733,8 +8549,8 @@ module Aws::S3
|
|
7733
8549
|
#
|
7734
8550
|
# @!attribute [rw] expected_bucket_owner
|
7735
8551
|
# The account ID of the expected bucket owner. If the bucket is owned
|
7736
|
-
# by a different account, the request
|
7737
|
-
# (
|
8552
|
+
# by a different account, the request fails with the HTTP status code
|
8553
|
+
# `403 Forbidden` (access denied).
|
7738
8554
|
# @return [String]
|
7739
8555
|
#
|
7740
8556
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketAnalyticsConfigurationsRequest AWS API Documentation
|
@@ -7749,14 +8565,14 @@ module Aws::S3
|
|
7749
8565
|
|
7750
8566
|
# @!attribute [rw] is_truncated
|
7751
8567
|
# Indicates whether the returned list of analytics configurations is
|
7752
|
-
# complete. A value of true indicates that the list is not complete
|
7753
|
-
# 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
|
7754
8570
|
# request.
|
7755
8571
|
# @return [Boolean]
|
7756
8572
|
#
|
7757
8573
|
# @!attribute [rw] continuation_token
|
7758
|
-
# The ContinuationToken that represents a placeholder from where
|
7759
|
-
# request should begin.
|
8574
|
+
# The `ContinuationToken` that represents a placeholder from where
|
8575
|
+
# this request should begin.
|
7760
8576
|
# @return [String]
|
7761
8577
|
#
|
7762
8578
|
# @!attribute [rw] next_continuation_token
|
@@ -7795,8 +8611,8 @@ module Aws::S3
|
|
7795
8611
|
# @return [String]
|
7796
8612
|
#
|
7797
8613
|
# @!attribute [rw] continuation_token
|
7798
|
-
# The ContinuationToken that represents a placeholder from where
|
7799
|
-
# request should begin.
|
8614
|
+
# The `ContinuationToken` that represents a placeholder from where
|
8615
|
+
# this request should begin.
|
7800
8616
|
# @return [String]
|
7801
8617
|
#
|
7802
8618
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketIntelligentTieringConfigurationsRequest AWS API Documentation
|
@@ -7864,8 +8680,8 @@ module Aws::S3
|
|
7864
8680
|
#
|
7865
8681
|
# @!attribute [rw] expected_bucket_owner
|
7866
8682
|
# The account ID of the expected bucket owner. If the bucket is owned
|
7867
|
-
# by a different account, the request
|
7868
|
-
# (
|
8683
|
+
# by a different account, the request fails with the HTTP status code
|
8684
|
+
# `403 Forbidden` (access denied).
|
7869
8685
|
# @return [String]
|
7870
8686
|
#
|
7871
8687
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketInventoryConfigurationsRequest AWS API Documentation
|
@@ -7936,8 +8752,8 @@ module Aws::S3
|
|
7936
8752
|
#
|
7937
8753
|
# @!attribute [rw] expected_bucket_owner
|
7938
8754
|
# The account ID of the expected bucket owner. If the bucket is owned
|
7939
|
-
# by a different account, the request
|
7940
|
-
# (
|
8755
|
+
# by a different account, the request fails with the HTTP status code
|
8756
|
+
# `403 Forbidden` (access denied).
|
7941
8757
|
# @return [String]
|
7942
8758
|
#
|
7943
8759
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketMetricsConfigurationsRequest AWS API Documentation
|
@@ -7951,7 +8767,7 @@ module Aws::S3
|
|
7951
8767
|
end
|
7952
8768
|
|
7953
8769
|
# @!attribute [rw] buckets
|
7954
|
-
# The list of buckets owned by the
|
8770
|
+
# The list of buckets owned by the requester.
|
7955
8771
|
# @return [Array<Types::Bucket>]
|
7956
8772
|
#
|
7957
8773
|
# @!attribute [rw] owner
|
@@ -8086,12 +8902,12 @@ module Aws::S3
|
|
8086
8902
|
#
|
8087
8903
|
# When using this action with Amazon S3 on Outposts, you must direct
|
8088
8904
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
8089
|
-
# takes the form
|
8090
|
-
#
|
8091
|
-
# When using this action
|
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
|
8092
8908
|
# Services SDKs, you provide the Outposts bucket ARN in place of the
|
8093
8909
|
# bucket name. For more information about S3 on Outposts ARNs, see
|
8094
|
-
# [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
8910
|
+
# [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
8095
8911
|
#
|
8096
8912
|
#
|
8097
8913
|
#
|
@@ -8158,8 +8974,8 @@ module Aws::S3
|
|
8158
8974
|
#
|
8159
8975
|
# @!attribute [rw] expected_bucket_owner
|
8160
8976
|
# The account ID of the expected bucket owner. If the bucket is owned
|
8161
|
-
# by a different account, the request
|
8162
|
-
# (
|
8977
|
+
# by a different account, the request fails with the HTTP status code
|
8978
|
+
# `403 Forbidden` (access denied).
|
8163
8979
|
# @return [String]
|
8164
8980
|
#
|
8165
8981
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListMultipartUploadsRequest AWS API Documentation
|
@@ -8338,8 +9154,8 @@ module Aws::S3
|
|
8338
9154
|
#
|
8339
9155
|
# @!attribute [rw] expected_bucket_owner
|
8340
9156
|
# The account ID of the expected bucket owner. If the bucket is owned
|
8341
|
-
# by a different account, the request
|
8342
|
-
# (
|
9157
|
+
# by a different account, the request fails with the HTTP status code
|
9158
|
+
# `403 Forbidden` (access denied).
|
8343
9159
|
# @return [String]
|
8344
9160
|
#
|
8345
9161
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectVersionsRequest AWS API Documentation
|
@@ -8471,12 +9287,12 @@ module Aws::S3
|
|
8471
9287
|
#
|
8472
9288
|
# When using this action with Amazon S3 on Outposts, you must direct
|
8473
9289
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
8474
|
-
# takes the form
|
8475
|
-
#
|
8476
|
-
# When using this action
|
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
|
8477
9293
|
# Services SDKs, you provide the Outposts bucket ARN in place of the
|
8478
9294
|
# bucket name. For more information about S3 on Outposts ARNs, see
|
8479
|
-
# [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
9295
|
+
# [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
8480
9296
|
#
|
8481
9297
|
#
|
8482
9298
|
#
|
@@ -8521,8 +9337,8 @@ module Aws::S3
|
|
8521
9337
|
#
|
8522
9338
|
# @!attribute [rw] expected_bucket_owner
|
8523
9339
|
# The account ID of the expected bucket owner. If the bucket is owned
|
8524
|
-
# by a different account, the request
|
8525
|
-
# (
|
9340
|
+
# by a different account, the request fails with the HTTP status code
|
9341
|
+
# `403 Forbidden` (access denied).
|
8526
9342
|
# @return [String]
|
8527
9343
|
#
|
8528
9344
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsRequest AWS API Documentation
|
@@ -8564,12 +9380,12 @@ module Aws::S3
|
|
8564
9380
|
#
|
8565
9381
|
# When using this action with Amazon S3 on Outposts, you must direct
|
8566
9382
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
8567
|
-
# takes the form
|
8568
|
-
#
|
8569
|
-
# When using this action
|
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
|
8570
9386
|
# Services SDKs, you provide the Outposts bucket ARN in place of the
|
8571
9387
|
# bucket name. For more information about S3 on Outposts ARNs, see
|
8572
|
-
# [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
9388
|
+
# [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
8573
9389
|
#
|
8574
9390
|
#
|
8575
9391
|
#
|
@@ -8699,12 +9515,12 @@ module Aws::S3
|
|
8699
9515
|
#
|
8700
9516
|
# When using this action with Amazon S3 on Outposts, you must direct
|
8701
9517
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
8702
|
-
# takes the form
|
8703
|
-
#
|
8704
|
-
# When using this action
|
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
|
8705
9521
|
# Services SDKs, you provide the Outposts bucket ARN in place of the
|
8706
9522
|
# bucket name. For more information about S3 on Outposts ARNs, see
|
8707
|
-
# [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
9523
|
+
# [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
8708
9524
|
#
|
8709
9525
|
#
|
8710
9526
|
#
|
@@ -8757,8 +9573,8 @@ module Aws::S3
|
|
8757
9573
|
#
|
8758
9574
|
# @!attribute [rw] expected_bucket_owner
|
8759
9575
|
# The account ID of the expected bucket owner. If the bucket is owned
|
8760
|
-
# by a different account, the request
|
8761
|
-
# (
|
9576
|
+
# by a different account, the request fails with the HTTP status code
|
9577
|
+
# `403 Forbidden` (access denied).
|
8762
9578
|
# @return [String]
|
8763
9579
|
#
|
8764
9580
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsV2Request AWS API Documentation
|
@@ -8868,6 +9684,10 @@ module Aws::S3
|
|
8868
9684
|
# for the request.
|
8869
9685
|
# @return [String]
|
8870
9686
|
#
|
9687
|
+
# @!attribute [rw] checksum_algorithm
|
9688
|
+
# The algorithm that was used to create a checksum of the object.
|
9689
|
+
# @return [String]
|
9690
|
+
#
|
8871
9691
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListPartsOutput AWS API Documentation
|
8872
9692
|
#
|
8873
9693
|
class ListPartsOutput < Struct.new(
|
@@ -8884,7 +9704,8 @@ module Aws::S3
|
|
8884
9704
|
:initiator,
|
8885
9705
|
:owner,
|
8886
9706
|
:storage_class,
|
8887
|
-
:request_charged
|
9707
|
+
:request_charged,
|
9708
|
+
:checksum_algorithm)
|
8888
9709
|
SENSITIVE = []
|
8889
9710
|
include Aws::Structure
|
8890
9711
|
end
|
@@ -8900,6 +9721,9 @@ module Aws::S3
|
|
8900
9721
|
# upload_id: "MultipartUploadId", # required
|
8901
9722
|
# request_payer: "requester", # accepts requester
|
8902
9723
|
# expected_bucket_owner: "AccountId",
|
9724
|
+
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
9725
|
+
# sse_customer_key: "SSECustomerKey",
|
9726
|
+
# sse_customer_key_md5: "SSECustomerKeyMD5",
|
8903
9727
|
# }
|
8904
9728
|
#
|
8905
9729
|
# @!attribute [rw] bucket
|
@@ -8916,12 +9740,12 @@ module Aws::S3
|
|
8916
9740
|
#
|
8917
9741
|
# When using this action with Amazon S3 on Outposts, you must direct
|
8918
9742
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
8919
|
-
# takes the form
|
8920
|
-
#
|
8921
|
-
# When using this action
|
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
|
8922
9746
|
# Services SDKs, you provide the Outposts bucket ARN in place of the
|
8923
9747
|
# bucket name. For more information about S3 on Outposts ARNs, see
|
8924
|
-
# [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
9748
|
+
# [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
8925
9749
|
#
|
8926
9750
|
#
|
8927
9751
|
#
|
@@ -8950,8 +9774,8 @@ module Aws::S3
|
|
8950
9774
|
# @!attribute [rw] request_payer
|
8951
9775
|
# Confirms that the requester knows that they will be charged for the
|
8952
9776
|
# request. Bucket owners need not specify this parameter in their
|
8953
|
-
# requests. For information about downloading objects from
|
8954
|
-
#
|
9777
|
+
# requests. For information about downloading objects from Requester
|
9778
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
8955
9779
|
# in the *Amazon S3 User Guide*.
|
8956
9780
|
#
|
8957
9781
|
#
|
@@ -8961,8 +9785,41 @@ module Aws::S3
|
|
8961
9785
|
#
|
8962
9786
|
# @!attribute [rw] expected_bucket_owner
|
8963
9787
|
# The account ID of the expected bucket owner. If the bucket is owned
|
8964
|
-
# by a different account, the request
|
8965
|
-
# (
|
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
|
8966
9823
|
# @return [String]
|
8967
9824
|
#
|
8968
9825
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListPartsRequest AWS API Documentation
|
@@ -8974,8 +9831,11 @@ module Aws::S3
|
|
8974
9831
|
:part_number_marker,
|
8975
9832
|
:upload_id,
|
8976
9833
|
:request_payer,
|
8977
|
-
:expected_bucket_owner
|
8978
|
-
|
9834
|
+
:expected_bucket_owner,
|
9835
|
+
:sse_customer_algorithm,
|
9836
|
+
:sse_customer_key,
|
9837
|
+
:sse_customer_key_md5)
|
9838
|
+
SENSITIVE = [:sse_customer_key]
|
8979
9839
|
include Aws::Structure
|
8980
9840
|
end
|
8981
9841
|
|
@@ -9132,7 +9992,7 @@ module Aws::S3
|
|
9132
9992
|
# @return [Array<Types::Tag>]
|
9133
9993
|
#
|
9134
9994
|
# @!attribute [rw] access_point_arn
|
9135
|
-
# The access point ARN used when evaluating an AND predicate.
|
9995
|
+
# The access point ARN used when evaluating an `AND` predicate.
|
9136
9996
|
# @return [String]
|
9137
9997
|
#
|
9138
9998
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsAndOperator AWS API Documentation
|
@@ -9290,6 +10150,10 @@ module Aws::S3
|
|
9290
10150
|
# Identifies who initiated the multipart upload.
|
9291
10151
|
# @return [Types::Initiator]
|
9292
10152
|
#
|
10153
|
+
# @!attribute [rw] checksum_algorithm
|
10154
|
+
# The algorithm that was used to create a checksum of the object.
|
10155
|
+
# @return [String]
|
10156
|
+
#
|
9293
10157
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MultipartUpload AWS API Documentation
|
9294
10158
|
#
|
9295
10159
|
class MultipartUpload < Struct.new(
|
@@ -9298,7 +10162,8 @@ module Aws::S3
|
|
9298
10162
|
:initiated,
|
9299
10163
|
:storage_class,
|
9300
10164
|
:owner,
|
9301
|
-
:initiator
|
10165
|
+
:initiator,
|
10166
|
+
:checksum_algorithm)
|
9302
10167
|
SENSITIVE = []
|
9303
10168
|
include Aws::Structure
|
9304
10169
|
end
|
@@ -9635,6 +10500,10 @@ module Aws::S3
|
|
9635
10500
|
# method of encryption.
|
9636
10501
|
# @return [String]
|
9637
10502
|
#
|
10503
|
+
# @!attribute [rw] checksum_algorithm
|
10504
|
+
# The algorithm that was used to create a checksum of the object.
|
10505
|
+
# @return [Array<String>]
|
10506
|
+
#
|
9638
10507
|
# @!attribute [rw] size
|
9639
10508
|
# Size in bytes of the object
|
9640
10509
|
# @return [Integer]
|
@@ -9653,6 +10522,7 @@ module Aws::S3
|
|
9653
10522
|
:key,
|
9654
10523
|
:last_modified,
|
9655
10524
|
:etag,
|
10525
|
+
:checksum_algorithm,
|
9656
10526
|
:size,
|
9657
10527
|
:storage_class,
|
9658
10528
|
:owner)
|
@@ -9740,7 +10610,7 @@ module Aws::S3
|
|
9740
10610
|
include Aws::Structure
|
9741
10611
|
end
|
9742
10612
|
|
9743
|
-
# A
|
10613
|
+
# A legal hold configuration for an object.
|
9744
10614
|
#
|
9745
10615
|
# @note When making an API call, you may pass ObjectLockLegalHold
|
9746
10616
|
# data as a hash:
|
@@ -9750,7 +10620,7 @@ module Aws::S3
|
|
9750
10620
|
# }
|
9751
10621
|
#
|
9752
10622
|
# @!attribute [rw] status
|
9753
|
-
# Indicates whether the specified object has a
|
10623
|
+
# Indicates whether the specified object has a legal hold in place.
|
9754
10624
|
# @return [String]
|
9755
10625
|
#
|
9756
10626
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockLegalHold AWS API Documentation
|
@@ -9824,12 +10694,91 @@ module Aws::S3
|
|
9824
10694
|
#
|
9825
10695
|
class ObjectNotInActiveTierError < Aws::EmptyStructure; end
|
9826
10696
|
|
10697
|
+
# A container for elements related to an individual part.
|
10698
|
+
#
|
10699
|
+
# @!attribute [rw] part_number
|
10700
|
+
# The part number identifying the part. This value is a positive
|
10701
|
+
# integer between 1 and 10,000.
|
10702
|
+
# @return [Integer]
|
10703
|
+
#
|
10704
|
+
# @!attribute [rw] size
|
10705
|
+
# The size of the uploaded part in bytes.
|
10706
|
+
# @return [Integer]
|
10707
|
+
#
|
10708
|
+
# @!attribute [rw] checksum_crc32
|
10709
|
+
# This header can be used as a data integrity check to verify that the
|
10710
|
+
# data received is the same data that was originally sent. This header
|
10711
|
+
# specifies the base64-encoded, 32-bit CRC32 checksum of the object.
|
10712
|
+
# For more information, see [Checking object integrity][1] in the
|
10713
|
+
# *Amazon S3 User Guide*.
|
10714
|
+
#
|
10715
|
+
#
|
10716
|
+
#
|
10717
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
10718
|
+
# @return [String]
|
10719
|
+
#
|
10720
|
+
# @!attribute [rw] checksum_crc32c
|
10721
|
+
# The base64-encoded, 32-bit CRC32C checksum of the object. This will
|
10722
|
+
# only be present if it was uploaded with the object. With multipart
|
10723
|
+
# uploads, this may not be a checksum value of the object. For more
|
10724
|
+
# information about how checksums are calculated with multipart
|
10725
|
+
# uploads, see [ Checking object integrity][1] in the *Amazon S3 User
|
10726
|
+
# Guide*.
|
10727
|
+
#
|
10728
|
+
#
|
10729
|
+
#
|
10730
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
|
10731
|
+
# @return [String]
|
10732
|
+
#
|
10733
|
+
# @!attribute [rw] checksum_sha1
|
10734
|
+
# The base64-encoded, 160-bit SHA-1 digest of the object. This will
|
10735
|
+
# only be present if it was uploaded with the object. With multipart
|
10736
|
+
# uploads, this may not be a checksum value of the object. For more
|
10737
|
+
# information about how checksums are calculated with multipart
|
10738
|
+
# uploads, see [ Checking object integrity][1] in the *Amazon S3 User
|
10739
|
+
# Guide*.
|
10740
|
+
#
|
10741
|
+
#
|
10742
|
+
#
|
10743
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
|
10744
|
+
# @return [String]
|
10745
|
+
#
|
10746
|
+
# @!attribute [rw] checksum_sha256
|
10747
|
+
# The base64-encoded, 256-bit SHA-256 digest of the object. This will
|
10748
|
+
# only be present if it was uploaded with the object. With multipart
|
10749
|
+
# uploads, this may not be a checksum value of the object. For more
|
10750
|
+
# information about how checksums are calculated with multipart
|
10751
|
+
# uploads, see [ Checking object integrity][1] in the *Amazon S3 User
|
10752
|
+
# Guide*.
|
10753
|
+
#
|
10754
|
+
#
|
10755
|
+
#
|
10756
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
|
10757
|
+
# @return [String]
|
10758
|
+
#
|
10759
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectPart AWS API Documentation
|
10760
|
+
#
|
10761
|
+
class ObjectPart < Struct.new(
|
10762
|
+
:part_number,
|
10763
|
+
:size,
|
10764
|
+
:checksum_crc32,
|
10765
|
+
:checksum_crc32c,
|
10766
|
+
:checksum_sha1,
|
10767
|
+
:checksum_sha256)
|
10768
|
+
SENSITIVE = []
|
10769
|
+
include Aws::Structure
|
10770
|
+
end
|
10771
|
+
|
9827
10772
|
# The version of an object.
|
9828
10773
|
#
|
9829
10774
|
# @!attribute [rw] etag
|
9830
10775
|
# The entity tag is an MD5 hash of that version of the object.
|
9831
10776
|
# @return [String]
|
9832
10777
|
#
|
10778
|
+
# @!attribute [rw] checksum_algorithm
|
10779
|
+
# The algorithm that was used to create a checksum of the object.
|
10780
|
+
# @return [Array<String>]
|
10781
|
+
#
|
9833
10782
|
# @!attribute [rw] size
|
9834
10783
|
# Size in bytes of the object.
|
9835
10784
|
# @return [Integer]
|
@@ -9863,6 +10812,7 @@ module Aws::S3
|
|
9863
10812
|
#
|
9864
10813
|
class ObjectVersion < Struct.new(
|
9865
10814
|
:etag,
|
10815
|
+
:checksum_algorithm,
|
9866
10816
|
:size,
|
9867
10817
|
:storage_class,
|
9868
10818
|
:key,
|
@@ -10082,13 +11032,67 @@ module Aws::S3
|
|
10082
11032
|
# Size in bytes of the uploaded part data.
|
10083
11033
|
# @return [Integer]
|
10084
11034
|
#
|
11035
|
+
# @!attribute [rw] checksum_crc32
|
11036
|
+
# This header can be used as a data integrity check to verify that the
|
11037
|
+
# data received is the same data that was originally sent. This header
|
11038
|
+
# specifies the base64-encoded, 32-bit CRC32 checksum of the object.
|
11039
|
+
# For more information, see [Checking object integrity][1] in the
|
11040
|
+
# *Amazon S3 User Guide*.
|
11041
|
+
#
|
11042
|
+
#
|
11043
|
+
#
|
11044
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
11045
|
+
# @return [String]
|
11046
|
+
#
|
11047
|
+
# @!attribute [rw] checksum_crc32c
|
11048
|
+
# The base64-encoded, 32-bit CRC32C checksum of the object. This will
|
11049
|
+
# only be present if it was uploaded with the object. With multipart
|
11050
|
+
# uploads, this may not be a checksum value of the object. For more
|
11051
|
+
# information about how checksums are calculated with multipart
|
11052
|
+
# uploads, see [ Checking object integrity][1] in the *Amazon S3 User
|
11053
|
+
# Guide*.
|
11054
|
+
#
|
11055
|
+
#
|
11056
|
+
#
|
11057
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
|
11058
|
+
# @return [String]
|
11059
|
+
#
|
11060
|
+
# @!attribute [rw] checksum_sha1
|
11061
|
+
# The base64-encoded, 160-bit SHA-1 digest of the object. This will
|
11062
|
+
# only be present if it was uploaded with the object. With multipart
|
11063
|
+
# uploads, this may not be a checksum value of the object. For more
|
11064
|
+
# information about how checksums are calculated with multipart
|
11065
|
+
# uploads, see [ Checking object integrity][1] in the *Amazon S3 User
|
11066
|
+
# Guide*.
|
11067
|
+
#
|
11068
|
+
#
|
11069
|
+
#
|
11070
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
|
11071
|
+
# @return [String]
|
11072
|
+
#
|
11073
|
+
# @!attribute [rw] checksum_sha256
|
11074
|
+
# This header can be used as a data integrity check to verify that the
|
11075
|
+
# data received is the same data that was originally sent. This header
|
11076
|
+
# specifies the base64-encoded, 256-bit SHA-256 digest of the object.
|
11077
|
+
# For more information, see [Checking object integrity][1] in the
|
11078
|
+
# *Amazon S3 User Guide*.
|
11079
|
+
#
|
11080
|
+
#
|
11081
|
+
#
|
11082
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
11083
|
+
# @return [String]
|
11084
|
+
#
|
10085
11085
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Part AWS API Documentation
|
10086
11086
|
#
|
10087
11087
|
class Part < Struct.new(
|
10088
11088
|
:part_number,
|
10089
11089
|
:last_modified,
|
10090
11090
|
:etag,
|
10091
|
-
:size
|
11091
|
+
:size,
|
11092
|
+
:checksum_crc32,
|
11093
|
+
:checksum_crc32c,
|
11094
|
+
:checksum_sha1,
|
11095
|
+
:checksum_sha256)
|
10092
11096
|
SENSITIVE = []
|
10093
11097
|
include Aws::Structure
|
10094
11098
|
end
|
@@ -10173,7 +11177,7 @@ module Aws::S3
|
|
10173
11177
|
# (ACLs) for this bucket and objects in this bucket. Setting this
|
10174
11178
|
# element to `TRUE` causes the following behavior:
|
10175
11179
|
#
|
10176
|
-
# * PUT Bucket
|
11180
|
+
# * PUT Bucket ACL and PUT Object ACL calls fail if the specified ACL
|
10177
11181
|
# is public.
|
10178
11182
|
#
|
10179
11183
|
# * PUT Object calls fail if the request includes a public ACL.
|
@@ -10234,6 +11238,7 @@ module Aws::S3
|
|
10234
11238
|
# status: "Enabled", # accepts Enabled, Suspended
|
10235
11239
|
# },
|
10236
11240
|
# expected_bucket_owner: "AccountId",
|
11241
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
10237
11242
|
# }
|
10238
11243
|
#
|
10239
11244
|
# @!attribute [rw] bucket
|
@@ -10247,8 +11252,25 @@ module Aws::S3
|
|
10247
11252
|
#
|
10248
11253
|
# @!attribute [rw] expected_bucket_owner
|
10249
11254
|
# The account ID of the expected bucket owner. If the bucket is owned
|
10250
|
-
# by a different account, the request
|
10251
|
-
# (
|
11255
|
+
# by a different account, the request fails with the HTTP status code
|
11256
|
+
# `403 Forbidden` (access denied).
|
11257
|
+
# @return [String]
|
11258
|
+
#
|
11259
|
+
# @!attribute [rw] checksum_algorithm
|
11260
|
+
# Indicates the algorithm used to create the checksum for the object
|
11261
|
+
# when using the SDK. This header will not provide any additional
|
11262
|
+
# functionality if not using the SDK. When sending this header, there
|
11263
|
+
# must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
|
11264
|
+
# sent. Otherwise, Amazon S3 fails the request with the HTTP status
|
11265
|
+
# code `400 Bad Request`. For more information, see [Checking object
|
11266
|
+
# integrity][1] in the *Amazon S3 User Guide*.
|
11267
|
+
#
|
11268
|
+
# If you provide an individual checksum, Amazon S3 ignores any
|
11269
|
+
# provided `ChecksumAlgorithm` parameter.
|
11270
|
+
#
|
11271
|
+
#
|
11272
|
+
#
|
11273
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
10252
11274
|
# @return [String]
|
10253
11275
|
#
|
10254
11276
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAccelerateConfigurationRequest AWS API Documentation
|
@@ -10256,7 +11278,8 @@ module Aws::S3
|
|
10256
11278
|
class PutBucketAccelerateConfigurationRequest < Struct.new(
|
10257
11279
|
:bucket,
|
10258
11280
|
:accelerate_configuration,
|
10259
|
-
:expected_bucket_owner
|
11281
|
+
:expected_bucket_owner,
|
11282
|
+
:checksum_algorithm)
|
10260
11283
|
SENSITIVE = []
|
10261
11284
|
include Aws::Structure
|
10262
11285
|
end
|
@@ -10286,6 +11309,7 @@ module Aws::S3
|
|
10286
11309
|
# },
|
10287
11310
|
# bucket: "BucketName", # required
|
10288
11311
|
# content_md5: "ContentMD5",
|
11312
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
10289
11313
|
# grant_full_control: "GrantFullControl",
|
10290
11314
|
# grant_read: "GrantRead",
|
10291
11315
|
# grant_read_acp: "GrantReadACP",
|
@@ -10322,6 +11346,23 @@ module Aws::S3
|
|
10322
11346
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
10323
11347
|
# @return [String]
|
10324
11348
|
#
|
11349
|
+
# @!attribute [rw] checksum_algorithm
|
11350
|
+
# Indicates the algorithm used to create the checksum for the object
|
11351
|
+
# when using the SDK. This header will not provide any additional
|
11352
|
+
# functionality if not using the SDK. When sending this header, there
|
11353
|
+
# must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
|
11354
|
+
# sent. Otherwise, Amazon S3 fails the request with the HTTP status
|
11355
|
+
# code `400 Bad Request`. For more information, see [Checking object
|
11356
|
+
# integrity][1] in the *Amazon S3 User Guide*.
|
11357
|
+
#
|
11358
|
+
# If you provide an individual checksum, Amazon S3 ignores any
|
11359
|
+
# provided `ChecksumAlgorithm` parameter.
|
11360
|
+
#
|
11361
|
+
#
|
11362
|
+
#
|
11363
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
11364
|
+
# @return [String]
|
11365
|
+
#
|
10325
11366
|
# @!attribute [rw] grant_full_control
|
10326
11367
|
# Allows grantee the read, write, read ACP, and write ACP permissions
|
10327
11368
|
# on the bucket.
|
@@ -10348,8 +11389,8 @@ module Aws::S3
|
|
10348
11389
|
#
|
10349
11390
|
# @!attribute [rw] expected_bucket_owner
|
10350
11391
|
# The account ID of the expected bucket owner. If the bucket is owned
|
10351
|
-
# by a different account, the request
|
10352
|
-
# (
|
11392
|
+
# by a different account, the request fails with the HTTP status code
|
11393
|
+
# `403 Forbidden` (access denied).
|
10353
11394
|
# @return [String]
|
10354
11395
|
#
|
10355
11396
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAclRequest AWS API Documentation
|
@@ -10359,6 +11400,7 @@ module Aws::S3
|
|
10359
11400
|
:access_control_policy,
|
10360
11401
|
:bucket,
|
10361
11402
|
:content_md5,
|
11403
|
+
:checksum_algorithm,
|
10362
11404
|
:grant_full_control,
|
10363
11405
|
:grant_read,
|
10364
11406
|
:grant_read_acp,
|
@@ -10425,8 +11467,8 @@ module Aws::S3
|
|
10425
11467
|
#
|
10426
11468
|
# @!attribute [rw] expected_bucket_owner
|
10427
11469
|
# The account ID of the expected bucket owner. If the bucket is owned
|
10428
|
-
# by a different account, the request
|
10429
|
-
# (
|
11470
|
+
# by a different account, the request fails with the HTTP status code
|
11471
|
+
# `403 Forbidden` (access denied).
|
10430
11472
|
# @return [String]
|
10431
11473
|
#
|
10432
11474
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAnalyticsConfigurationRequest AWS API Documentation
|
@@ -10458,6 +11500,7 @@ module Aws::S3
|
|
10458
11500
|
# ],
|
10459
11501
|
# },
|
10460
11502
|
# content_md5: "ContentMD5",
|
11503
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
10461
11504
|
# expected_bucket_owner: "AccountId",
|
10462
11505
|
# }
|
10463
11506
|
#
|
@@ -10490,10 +11533,27 @@ module Aws::S3
|
|
10490
11533
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
10491
11534
|
# @return [String]
|
10492
11535
|
#
|
11536
|
+
# @!attribute [rw] checksum_algorithm
|
11537
|
+
# Indicates the algorithm used to create the checksum for the object
|
11538
|
+
# when using the SDK. This header will not provide any additional
|
11539
|
+
# functionality if not using the SDK. When sending this header, there
|
11540
|
+
# must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
|
11541
|
+
# sent. Otherwise, Amazon S3 fails the request with the HTTP status
|
11542
|
+
# code `400 Bad Request`. For more information, see [Checking object
|
11543
|
+
# integrity][1] in the *Amazon S3 User Guide*.
|
11544
|
+
#
|
11545
|
+
# If you provide an individual checksum, Amazon S3 ignores any
|
11546
|
+
# provided `ChecksumAlgorithm` parameter.
|
11547
|
+
#
|
11548
|
+
#
|
11549
|
+
#
|
11550
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
11551
|
+
# @return [String]
|
11552
|
+
#
|
10493
11553
|
# @!attribute [rw] expected_bucket_owner
|
10494
11554
|
# The account ID of the expected bucket owner. If the bucket is owned
|
10495
|
-
# by a different account, the request
|
10496
|
-
# (
|
11555
|
+
# by a different account, the request fails with the HTTP status code
|
11556
|
+
# `403 Forbidden` (access denied).
|
10497
11557
|
# @return [String]
|
10498
11558
|
#
|
10499
11559
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketCorsRequest AWS API Documentation
|
@@ -10502,6 +11562,7 @@ module Aws::S3
|
|
10502
11562
|
:bucket,
|
10503
11563
|
:cors_configuration,
|
10504
11564
|
:content_md5,
|
11565
|
+
:checksum_algorithm,
|
10505
11566
|
:expected_bucket_owner)
|
10506
11567
|
SENSITIVE = []
|
10507
11568
|
include Aws::Structure
|
@@ -10513,6 +11574,7 @@ module Aws::S3
|
|
10513
11574
|
# {
|
10514
11575
|
# bucket: "BucketName", # required
|
10515
11576
|
# content_md5: "ContentMD5",
|
11577
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
10516
11578
|
# server_side_encryption_configuration: { # required
|
10517
11579
|
# rules: [ # required
|
10518
11580
|
# {
|
@@ -10548,14 +11610,31 @@ module Aws::S3
|
|
10548
11610
|
# calculated automatically.
|
10549
11611
|
# @return [String]
|
10550
11612
|
#
|
11613
|
+
# @!attribute [rw] checksum_algorithm
|
11614
|
+
# Indicates the algorithm used to create the checksum for the object
|
11615
|
+
# when using the SDK. This header will not provide any additional
|
11616
|
+
# functionality if not using the SDK. When sending this header, there
|
11617
|
+
# must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
|
11618
|
+
# sent. Otherwise, Amazon S3 fails the request with the HTTP status
|
11619
|
+
# code `400 Bad Request`. For more information, see [Checking object
|
11620
|
+
# integrity][1] in the *Amazon S3 User Guide*.
|
11621
|
+
#
|
11622
|
+
# If you provide an individual checksum, Amazon S3 ignores any
|
11623
|
+
# provided `ChecksumAlgorithm` parameter.
|
11624
|
+
#
|
11625
|
+
#
|
11626
|
+
#
|
11627
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
11628
|
+
# @return [String]
|
11629
|
+
#
|
10551
11630
|
# @!attribute [rw] server_side_encryption_configuration
|
10552
11631
|
# Specifies the default server-side-encryption configuration.
|
10553
11632
|
# @return [Types::ServerSideEncryptionConfiguration]
|
10554
11633
|
#
|
10555
11634
|
# @!attribute [rw] expected_bucket_owner
|
10556
11635
|
# The account ID of the expected bucket owner. If the bucket is owned
|
10557
|
-
# by a different account, the request
|
10558
|
-
# (
|
11636
|
+
# by a different account, the request fails with the HTTP status code
|
11637
|
+
# `403 Forbidden` (access denied).
|
10559
11638
|
# @return [String]
|
10560
11639
|
#
|
10561
11640
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketEncryptionRequest AWS API Documentation
|
@@ -10563,6 +11642,7 @@ module Aws::S3
|
|
10563
11642
|
class PutBucketEncryptionRequest < Struct.new(
|
10564
11643
|
:bucket,
|
10565
11644
|
:content_md5,
|
11645
|
+
:checksum_algorithm,
|
10566
11646
|
:server_side_encryption_configuration,
|
10567
11647
|
:expected_bucket_owner)
|
10568
11648
|
SENSITIVE = []
|
@@ -10654,7 +11734,7 @@ module Aws::S3
|
|
10654
11734
|
# },
|
10655
11735
|
# id: "InventoryId", # required
|
10656
11736
|
# included_object_versions: "All", # required, accepts All, Current
|
10657
|
-
# optional_fields: ["Size"], # accepts Size, LastModifiedDate, StorageClass, ETag, IsMultipartUploaded, ReplicationStatus, EncryptionStatus, ObjectLockRetainUntilDate, ObjectLockMode, ObjectLockLegalHoldStatus, IntelligentTieringAccessTier, BucketKeyStatus
|
11737
|
+
# optional_fields: ["Size"], # accepts Size, LastModifiedDate, StorageClass, ETag, IsMultipartUploaded, ReplicationStatus, EncryptionStatus, ObjectLockRetainUntilDate, ObjectLockMode, ObjectLockLegalHoldStatus, IntelligentTieringAccessTier, BucketKeyStatus, ChecksumAlgorithm
|
10658
11738
|
# schedule: { # required
|
10659
11739
|
# frequency: "Daily", # required, accepts Daily, Weekly
|
10660
11740
|
# },
|
@@ -10677,8 +11757,8 @@ module Aws::S3
|
|
10677
11757
|
#
|
10678
11758
|
# @!attribute [rw] expected_bucket_owner
|
10679
11759
|
# The account ID of the expected bucket owner. If the bucket is owned
|
10680
|
-
# by a different account, the request
|
10681
|
-
# (
|
11760
|
+
# by a different account, the request fails with the HTTP status code
|
11761
|
+
# `403 Forbidden` (access denied).
|
10682
11762
|
# @return [String]
|
10683
11763
|
#
|
10684
11764
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketInventoryConfigurationRequest AWS API Documentation
|
@@ -10697,6 +11777,7 @@ module Aws::S3
|
|
10697
11777
|
#
|
10698
11778
|
# {
|
10699
11779
|
# bucket: "BucketName", # required
|
11780
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
10700
11781
|
# lifecycle_configuration: {
|
10701
11782
|
# rules: [ # required
|
10702
11783
|
# {
|
@@ -10755,8 +11836,25 @@ module Aws::S3
|
|
10755
11836
|
# expected_bucket_owner: "AccountId",
|
10756
11837
|
# }
|
10757
11838
|
#
|
10758
|
-
# @!attribute [rw] bucket
|
10759
|
-
# The name of the bucket for which to set the configuration.
|
11839
|
+
# @!attribute [rw] bucket
|
11840
|
+
# The name of the bucket for which to set the configuration.
|
11841
|
+
# @return [String]
|
11842
|
+
#
|
11843
|
+
# @!attribute [rw] checksum_algorithm
|
11844
|
+
# Indicates the algorithm used to create the checksum for the object
|
11845
|
+
# when using the SDK. This header will not provide any additional
|
11846
|
+
# functionality if not using the SDK. When sending this header, there
|
11847
|
+
# must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
|
11848
|
+
# sent. Otherwise, Amazon S3 fails the request with the HTTP status
|
11849
|
+
# code `400 Bad Request`. For more information, see [Checking object
|
11850
|
+
# integrity][1] in the *Amazon S3 User Guide*.
|
11851
|
+
#
|
11852
|
+
# If you provide an individual checksum, Amazon S3 ignores any
|
11853
|
+
# provided `ChecksumAlgorithm` parameter.
|
11854
|
+
#
|
11855
|
+
#
|
11856
|
+
#
|
11857
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
10760
11858
|
# @return [String]
|
10761
11859
|
#
|
10762
11860
|
# @!attribute [rw] lifecycle_configuration
|
@@ -10765,14 +11863,15 @@ module Aws::S3
|
|
10765
11863
|
#
|
10766
11864
|
# @!attribute [rw] expected_bucket_owner
|
10767
11865
|
# The account ID of the expected bucket owner. If the bucket is owned
|
10768
|
-
# by a different account, the request
|
10769
|
-
# (
|
11866
|
+
# by a different account, the request fails with the HTTP status code
|
11867
|
+
# `403 Forbidden` (access denied).
|
10770
11868
|
# @return [String]
|
10771
11869
|
#
|
10772
11870
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleConfigurationRequest AWS API Documentation
|
10773
11871
|
#
|
10774
11872
|
class PutBucketLifecycleConfigurationRequest < Struct.new(
|
10775
11873
|
:bucket,
|
11874
|
+
:checksum_algorithm,
|
10776
11875
|
:lifecycle_configuration,
|
10777
11876
|
:expected_bucket_owner)
|
10778
11877
|
SENSITIVE = []
|
@@ -10785,6 +11884,7 @@ module Aws::S3
|
|
10785
11884
|
# {
|
10786
11885
|
# bucket: "BucketName", # required
|
10787
11886
|
# content_md5: "ContentMD5",
|
11887
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
10788
11888
|
# lifecycle_configuration: {
|
10789
11889
|
# rules: [ # required
|
10790
11890
|
# {
|
@@ -10828,13 +11928,30 @@ module Aws::S3
|
|
10828
11928
|
# calculated automatically.
|
10829
11929
|
# @return [String]
|
10830
11930
|
#
|
11931
|
+
# @!attribute [rw] checksum_algorithm
|
11932
|
+
# Indicates the algorithm used to create the checksum for the object
|
11933
|
+
# when using the SDK. This header will not provide any additional
|
11934
|
+
# functionality if not using the SDK. When sending this header, there
|
11935
|
+
# must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
|
11936
|
+
# sent. Otherwise, Amazon S3 fails the request with the HTTP status
|
11937
|
+
# code `400 Bad Request`. For more information, see [Checking object
|
11938
|
+
# integrity][1] in the *Amazon S3 User Guide*.
|
11939
|
+
#
|
11940
|
+
# If you provide an individual checksum, Amazon S3 ignores any
|
11941
|
+
# provided `ChecksumAlgorithm` parameter.
|
11942
|
+
#
|
11943
|
+
#
|
11944
|
+
#
|
11945
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
11946
|
+
# @return [String]
|
11947
|
+
#
|
10831
11948
|
# @!attribute [rw] lifecycle_configuration
|
10832
11949
|
# @return [Types::LifecycleConfiguration]
|
10833
11950
|
#
|
10834
11951
|
# @!attribute [rw] expected_bucket_owner
|
10835
11952
|
# The account ID of the expected bucket owner. If the bucket is owned
|
10836
|
-
# by a different account, the request
|
10837
|
-
# (
|
11953
|
+
# by a different account, the request fails with the HTTP status code
|
11954
|
+
# `403 Forbidden` (access denied).
|
10838
11955
|
# @return [String]
|
10839
11956
|
#
|
10840
11957
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleRequest AWS API Documentation
|
@@ -10842,6 +11959,7 @@ module Aws::S3
|
|
10842
11959
|
class PutBucketLifecycleRequest < Struct.new(
|
10843
11960
|
:bucket,
|
10844
11961
|
:content_md5,
|
11962
|
+
:checksum_algorithm,
|
10845
11963
|
:lifecycle_configuration,
|
10846
11964
|
:expected_bucket_owner)
|
10847
11965
|
SENSITIVE = []
|
@@ -10872,6 +11990,7 @@ module Aws::S3
|
|
10872
11990
|
# },
|
10873
11991
|
# },
|
10874
11992
|
# content_md5: "ContentMD5",
|
11993
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
10875
11994
|
# expected_bucket_owner: "AccountId",
|
10876
11995
|
# }
|
10877
11996
|
#
|
@@ -10891,10 +12010,27 @@ module Aws::S3
|
|
10891
12010
|
# calculated automatically.
|
10892
12011
|
# @return [String]
|
10893
12012
|
#
|
12013
|
+
# @!attribute [rw] checksum_algorithm
|
12014
|
+
# Indicates the algorithm used to create the checksum for the object
|
12015
|
+
# when using the SDK. This header will not provide any additional
|
12016
|
+
# functionality if not using the SDK. When sending this header, there
|
12017
|
+
# must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
|
12018
|
+
# sent. Otherwise, Amazon S3 fails the request with the HTTP status
|
12019
|
+
# code `400 Bad Request`. For more information, see [Checking object
|
12020
|
+
# integrity][1] in the *Amazon S3 User Guide*.
|
12021
|
+
#
|
12022
|
+
# If you provide an individual checksum, Amazon S3 ignores any
|
12023
|
+
# provided `ChecksumAlgorithm` parameter.
|
12024
|
+
#
|
12025
|
+
#
|
12026
|
+
#
|
12027
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
12028
|
+
# @return [String]
|
12029
|
+
#
|
10894
12030
|
# @!attribute [rw] expected_bucket_owner
|
10895
12031
|
# The account ID of the expected bucket owner. If the bucket is owned
|
10896
|
-
# by a different account, the request
|
10897
|
-
# (
|
12032
|
+
# by a different account, the request fails with the HTTP status code
|
12033
|
+
# `403 Forbidden` (access denied).
|
10898
12034
|
# @return [String]
|
10899
12035
|
#
|
10900
12036
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLoggingRequest AWS API Documentation
|
@@ -10903,6 +12039,7 @@ module Aws::S3
|
|
10903
12039
|
:bucket,
|
10904
12040
|
:bucket_logging_status,
|
10905
12041
|
:content_md5,
|
12042
|
+
:checksum_algorithm,
|
10906
12043
|
:expected_bucket_owner)
|
10907
12044
|
SENSITIVE = []
|
10908
12045
|
include Aws::Structure
|
@@ -10952,8 +12089,8 @@ module Aws::S3
|
|
10952
12089
|
#
|
10953
12090
|
# @!attribute [rw] expected_bucket_owner
|
10954
12091
|
# The account ID of the expected bucket owner. If the bucket is owned
|
10955
|
-
# by a different account, the request
|
10956
|
-
# (
|
12092
|
+
# by a different account, the request fails with the HTTP status code
|
12093
|
+
# `403 Forbidden` (access denied).
|
10957
12094
|
# @return [String]
|
10958
12095
|
#
|
10959
12096
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketMetricsConfigurationRequest AWS API Documentation
|
@@ -11043,8 +12180,8 @@ module Aws::S3
|
|
11043
12180
|
#
|
11044
12181
|
# @!attribute [rw] expected_bucket_owner
|
11045
12182
|
# The account ID of the expected bucket owner. If the bucket is owned
|
11046
|
-
# by a different account, the request
|
11047
|
-
# (
|
12183
|
+
# by a different account, the request fails with the HTTP status code
|
12184
|
+
# `403 Forbidden` (access denied).
|
11048
12185
|
# @return [String]
|
11049
12186
|
#
|
11050
12187
|
# @!attribute [rw] skip_destination_validation
|
@@ -11069,6 +12206,7 @@ module Aws::S3
|
|
11069
12206
|
# {
|
11070
12207
|
# bucket: "BucketName", # required
|
11071
12208
|
# content_md5: "ContentMD5",
|
12209
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
11072
12210
|
# notification_configuration: { # required
|
11073
12211
|
# topic_configuration: {
|
11074
12212
|
# id: "NotificationId",
|
@@ -11105,14 +12243,31 @@ module Aws::S3
|
|
11105
12243
|
# calculated automatically.
|
11106
12244
|
# @return [String]
|
11107
12245
|
#
|
12246
|
+
# @!attribute [rw] checksum_algorithm
|
12247
|
+
# Indicates the algorithm used to create the checksum for the object
|
12248
|
+
# when using the SDK. This header will not provide any additional
|
12249
|
+
# functionality if not using the SDK. When sending this header, there
|
12250
|
+
# must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
|
12251
|
+
# sent. Otherwise, Amazon S3 fails the request with the HTTP status
|
12252
|
+
# code `400 Bad Request`. For more information, see [Checking object
|
12253
|
+
# integrity][1] in the *Amazon S3 User Guide*.
|
12254
|
+
#
|
12255
|
+
# If you provide an individual checksum, Amazon S3 ignores any
|
12256
|
+
# provided `ChecksumAlgorithm` parameter.
|
12257
|
+
#
|
12258
|
+
#
|
12259
|
+
#
|
12260
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
12261
|
+
# @return [String]
|
12262
|
+
#
|
11108
12263
|
# @!attribute [rw] notification_configuration
|
11109
12264
|
# The container for the configuration.
|
11110
12265
|
# @return [Types::NotificationConfigurationDeprecated]
|
11111
12266
|
#
|
11112
12267
|
# @!attribute [rw] expected_bucket_owner
|
11113
12268
|
# The account ID of the expected bucket owner. If the bucket is owned
|
11114
|
-
# by a different account, the request
|
11115
|
-
# (
|
12269
|
+
# by a different account, the request fails with the HTTP status code
|
12270
|
+
# `403 Forbidden` (access denied).
|
11116
12271
|
# @return [String]
|
11117
12272
|
#
|
11118
12273
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationRequest AWS API Documentation
|
@@ -11120,6 +12275,7 @@ module Aws::S3
|
|
11120
12275
|
class PutBucketNotificationRequest < Struct.new(
|
11121
12276
|
:bucket,
|
11122
12277
|
:content_md5,
|
12278
|
+
:checksum_algorithm,
|
11123
12279
|
:notification_configuration,
|
11124
12280
|
:expected_bucket_owner)
|
11125
12281
|
SENSITIVE = []
|
@@ -11157,8 +12313,8 @@ module Aws::S3
|
|
11157
12313
|
#
|
11158
12314
|
# @!attribute [rw] expected_bucket_owner
|
11159
12315
|
# The account ID of the expected bucket owner. If the bucket is owned
|
11160
|
-
# by a different account, the request
|
11161
|
-
# (
|
12316
|
+
# by a different account, the request fails with the HTTP status code
|
12317
|
+
# `403 Forbidden` (access denied).
|
11162
12318
|
# @return [String]
|
11163
12319
|
#
|
11164
12320
|
# @!attribute [rw] ownership_controls
|
@@ -11183,6 +12339,7 @@ module Aws::S3
|
|
11183
12339
|
# {
|
11184
12340
|
# bucket: "BucketName", # required
|
11185
12341
|
# content_md5: "ContentMD5",
|
12342
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
11186
12343
|
# confirm_remove_self_bucket_access: false,
|
11187
12344
|
# policy: "Policy", # required
|
11188
12345
|
# expected_bucket_owner: "AccountId",
|
@@ -11200,6 +12357,23 @@ module Aws::S3
|
|
11200
12357
|
# calculated automatically.
|
11201
12358
|
# @return [String]
|
11202
12359
|
#
|
12360
|
+
# @!attribute [rw] checksum_algorithm
|
12361
|
+
# Indicates the algorithm used to create the checksum for the object
|
12362
|
+
# when using the SDK. This header will not provide any additional
|
12363
|
+
# functionality if not using the SDK. When sending this header, there
|
12364
|
+
# must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
|
12365
|
+
# sent. Otherwise, Amazon S3 fails the request with the HTTP status
|
12366
|
+
# code `400 Bad Request`. For more information, see [Checking object
|
12367
|
+
# integrity][1] in the *Amazon S3 User Guide*.
|
12368
|
+
#
|
12369
|
+
# If you provide an individual checksum, Amazon S3 ignores any
|
12370
|
+
# provided `ChecksumAlgorithm` parameter.
|
12371
|
+
#
|
12372
|
+
#
|
12373
|
+
#
|
12374
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
12375
|
+
# @return [String]
|
12376
|
+
#
|
11203
12377
|
# @!attribute [rw] confirm_remove_self_bucket_access
|
11204
12378
|
# Set this parameter to true to confirm that you want to remove your
|
11205
12379
|
# permissions to change this bucket policy in the future.
|
@@ -11211,8 +12385,8 @@ module Aws::S3
|
|
11211
12385
|
#
|
11212
12386
|
# @!attribute [rw] expected_bucket_owner
|
11213
12387
|
# The account ID of the expected bucket owner. If the bucket is owned
|
11214
|
-
# by a different account, the request
|
11215
|
-
# (
|
12388
|
+
# by a different account, the request fails with the HTTP status code
|
12389
|
+
# `403 Forbidden` (access denied).
|
11216
12390
|
# @return [String]
|
11217
12391
|
#
|
11218
12392
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketPolicyRequest AWS API Documentation
|
@@ -11220,6 +12394,7 @@ module Aws::S3
|
|
11220
12394
|
class PutBucketPolicyRequest < Struct.new(
|
11221
12395
|
:bucket,
|
11222
12396
|
:content_md5,
|
12397
|
+
:checksum_algorithm,
|
11223
12398
|
:confirm_remove_self_bucket_access,
|
11224
12399
|
:policy,
|
11225
12400
|
:expected_bucket_owner)
|
@@ -11233,6 +12408,7 @@ module Aws::S3
|
|
11233
12408
|
# {
|
11234
12409
|
# bucket: "BucketName", # required
|
11235
12410
|
# content_md5: "ContentMD5",
|
12411
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
11236
12412
|
# replication_configuration: { # required
|
11237
12413
|
# role: "Role", # required
|
11238
12414
|
# rules: [ # required
|
@@ -11320,6 +12496,23 @@ module Aws::S3
|
|
11320
12496
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
11321
12497
|
# @return [String]
|
11322
12498
|
#
|
12499
|
+
# @!attribute [rw] checksum_algorithm
|
12500
|
+
# Indicates the algorithm used to create the checksum for the object
|
12501
|
+
# when using the SDK. This header will not provide any additional
|
12502
|
+
# functionality if not using the SDK. When sending this header, there
|
12503
|
+
# must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
|
12504
|
+
# sent. Otherwise, Amazon S3 fails the request with the HTTP status
|
12505
|
+
# code `400 Bad Request`. For more information, see [Checking object
|
12506
|
+
# integrity][1] in the *Amazon S3 User Guide*.
|
12507
|
+
#
|
12508
|
+
# If you provide an individual checksum, Amazon S3 ignores any
|
12509
|
+
# provided `ChecksumAlgorithm` parameter.
|
12510
|
+
#
|
12511
|
+
#
|
12512
|
+
#
|
12513
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
12514
|
+
# @return [String]
|
12515
|
+
#
|
11323
12516
|
# @!attribute [rw] replication_configuration
|
11324
12517
|
# A container for replication rules. You can add up to 1,000 rules.
|
11325
12518
|
# The maximum size of a replication configuration is 2 MB.
|
@@ -11331,8 +12524,8 @@ module Aws::S3
|
|
11331
12524
|
#
|
11332
12525
|
# @!attribute [rw] expected_bucket_owner
|
11333
12526
|
# The account ID of the expected bucket owner. If the bucket is owned
|
11334
|
-
# by a different account, the request
|
11335
|
-
# (
|
12527
|
+
# by a different account, the request fails with the HTTP status code
|
12528
|
+
# `403 Forbidden` (access denied).
|
11336
12529
|
# @return [String]
|
11337
12530
|
#
|
11338
12531
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketReplicationRequest AWS API Documentation
|
@@ -11340,6 +12533,7 @@ module Aws::S3
|
|
11340
12533
|
class PutBucketReplicationRequest < Struct.new(
|
11341
12534
|
:bucket,
|
11342
12535
|
:content_md5,
|
12536
|
+
:checksum_algorithm,
|
11343
12537
|
:replication_configuration,
|
11344
12538
|
:token,
|
11345
12539
|
:expected_bucket_owner)
|
@@ -11353,6 +12547,7 @@ module Aws::S3
|
|
11353
12547
|
# {
|
11354
12548
|
# bucket: "BucketName", # required
|
11355
12549
|
# content_md5: "ContentMD5",
|
12550
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
11356
12551
|
# request_payment_configuration: { # required
|
11357
12552
|
# payer: "Requester", # required, accepts Requester, BucketOwner
|
11358
12553
|
# },
|
@@ -11378,14 +12573,31 @@ module Aws::S3
|
|
11378
12573
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
11379
12574
|
# @return [String]
|
11380
12575
|
#
|
12576
|
+
# @!attribute [rw] checksum_algorithm
|
12577
|
+
# Indicates the algorithm used to create the checksum for the object
|
12578
|
+
# when using the SDK. This header will not provide any additional
|
12579
|
+
# functionality if not using the SDK. When sending this header, there
|
12580
|
+
# must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
|
12581
|
+
# sent. Otherwise, Amazon S3 fails the request with the HTTP status
|
12582
|
+
# code `400 Bad Request`. For more information, see [Checking object
|
12583
|
+
# integrity][1] in the *Amazon S3 User Guide*.
|
12584
|
+
#
|
12585
|
+
# If you provide an individual checksum, Amazon S3 ignores any
|
12586
|
+
# provided `ChecksumAlgorithm` parameter.
|
12587
|
+
#
|
12588
|
+
#
|
12589
|
+
#
|
12590
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
12591
|
+
# @return [String]
|
12592
|
+
#
|
11381
12593
|
# @!attribute [rw] request_payment_configuration
|
11382
12594
|
# Container for Payer.
|
11383
12595
|
# @return [Types::RequestPaymentConfiguration]
|
11384
12596
|
#
|
11385
12597
|
# @!attribute [rw] expected_bucket_owner
|
11386
12598
|
# The account ID of the expected bucket owner. If the bucket is owned
|
11387
|
-
# by a different account, the request
|
11388
|
-
# (
|
12599
|
+
# by a different account, the request fails with the HTTP status code
|
12600
|
+
# `403 Forbidden` (access denied).
|
11389
12601
|
# @return [String]
|
11390
12602
|
#
|
11391
12603
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketRequestPaymentRequest AWS API Documentation
|
@@ -11393,6 +12605,7 @@ module Aws::S3
|
|
11393
12605
|
class PutBucketRequestPaymentRequest < Struct.new(
|
11394
12606
|
:bucket,
|
11395
12607
|
:content_md5,
|
12608
|
+
:checksum_algorithm,
|
11396
12609
|
:request_payment_configuration,
|
11397
12610
|
:expected_bucket_owner)
|
11398
12611
|
SENSITIVE = []
|
@@ -11405,6 +12618,7 @@ module Aws::S3
|
|
11405
12618
|
# {
|
11406
12619
|
# bucket: "BucketName", # required
|
11407
12620
|
# content_md5: "ContentMD5",
|
12621
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
11408
12622
|
# tagging: { # required
|
11409
12623
|
# tag_set: [ # required
|
11410
12624
|
# {
|
@@ -11435,14 +12649,31 @@ module Aws::S3
|
|
11435
12649
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
11436
12650
|
# @return [String]
|
11437
12651
|
#
|
12652
|
+
# @!attribute [rw] checksum_algorithm
|
12653
|
+
# Indicates the algorithm used to create the checksum for the object
|
12654
|
+
# when using the SDK. This header will not provide any additional
|
12655
|
+
# functionality if not using the SDK. When sending this header, there
|
12656
|
+
# must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
|
12657
|
+
# sent. Otherwise, Amazon S3 fails the request with the HTTP status
|
12658
|
+
# code `400 Bad Request`. For more information, see [Checking object
|
12659
|
+
# integrity][1] in the *Amazon S3 User Guide*.
|
12660
|
+
#
|
12661
|
+
# If you provide an individual checksum, Amazon S3 ignores any
|
12662
|
+
# provided `ChecksumAlgorithm` parameter.
|
12663
|
+
#
|
12664
|
+
#
|
12665
|
+
#
|
12666
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
12667
|
+
# @return [String]
|
12668
|
+
#
|
11438
12669
|
# @!attribute [rw] tagging
|
11439
12670
|
# Container for the `TagSet` and `Tag` elements.
|
11440
12671
|
# @return [Types::Tagging]
|
11441
12672
|
#
|
11442
12673
|
# @!attribute [rw] expected_bucket_owner
|
11443
12674
|
# The account ID of the expected bucket owner. If the bucket is owned
|
11444
|
-
# by a different account, the request
|
11445
|
-
# (
|
12675
|
+
# by a different account, the request fails with the HTTP status code
|
12676
|
+
# `403 Forbidden` (access denied).
|
11446
12677
|
# @return [String]
|
11447
12678
|
#
|
11448
12679
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketTaggingRequest AWS API Documentation
|
@@ -11450,6 +12681,7 @@ module Aws::S3
|
|
11450
12681
|
class PutBucketTaggingRequest < Struct.new(
|
11451
12682
|
:bucket,
|
11452
12683
|
:content_md5,
|
12684
|
+
:checksum_algorithm,
|
11453
12685
|
:tagging,
|
11454
12686
|
:expected_bucket_owner)
|
11455
12687
|
SENSITIVE = []
|
@@ -11462,6 +12694,7 @@ module Aws::S3
|
|
11462
12694
|
# {
|
11463
12695
|
# bucket: "BucketName", # required
|
11464
12696
|
# content_md5: "ContentMD5",
|
12697
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
11465
12698
|
# mfa: "MFA",
|
11466
12699
|
# versioning_configuration: { # required
|
11467
12700
|
# mfa_delete: "Enabled", # accepts Enabled, Disabled
|
@@ -11489,6 +12722,23 @@ module Aws::S3
|
|
11489
12722
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
11490
12723
|
# @return [String]
|
11491
12724
|
#
|
12725
|
+
# @!attribute [rw] checksum_algorithm
|
12726
|
+
# Indicates the algorithm used to create the checksum for the object
|
12727
|
+
# when using the SDK. This header will not provide any additional
|
12728
|
+
# functionality if not using the SDK. When sending this header, there
|
12729
|
+
# must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
|
12730
|
+
# sent. Otherwise, Amazon S3 fails the request with the HTTP status
|
12731
|
+
# code `400 Bad Request`. For more information, see [Checking object
|
12732
|
+
# integrity][1] in the *Amazon S3 User Guide*.
|
12733
|
+
#
|
12734
|
+
# If you provide an individual checksum, Amazon S3 ignores any
|
12735
|
+
# provided `ChecksumAlgorithm` parameter.
|
12736
|
+
#
|
12737
|
+
#
|
12738
|
+
#
|
12739
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
12740
|
+
# @return [String]
|
12741
|
+
#
|
11492
12742
|
# @!attribute [rw] mfa
|
11493
12743
|
# The concatenation of the authentication device's serial number, a
|
11494
12744
|
# space, and the value that is displayed on your authentication
|
@@ -11501,8 +12751,8 @@ module Aws::S3
|
|
11501
12751
|
#
|
11502
12752
|
# @!attribute [rw] expected_bucket_owner
|
11503
12753
|
# The account ID of the expected bucket owner. If the bucket is owned
|
11504
|
-
# by a different account, the request
|
11505
|
-
# (
|
12754
|
+
# by a different account, the request fails with the HTTP status code
|
12755
|
+
# `403 Forbidden` (access denied).
|
11506
12756
|
# @return [String]
|
11507
12757
|
#
|
11508
12758
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketVersioningRequest AWS API Documentation
|
@@ -11510,6 +12760,7 @@ module Aws::S3
|
|
11510
12760
|
class PutBucketVersioningRequest < Struct.new(
|
11511
12761
|
:bucket,
|
11512
12762
|
:content_md5,
|
12763
|
+
:checksum_algorithm,
|
11513
12764
|
:mfa,
|
11514
12765
|
:versioning_configuration,
|
11515
12766
|
:expected_bucket_owner)
|
@@ -11523,6 +12774,7 @@ module Aws::S3
|
|
11523
12774
|
# {
|
11524
12775
|
# bucket: "BucketName", # required
|
11525
12776
|
# content_md5: "ContentMD5",
|
12777
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
11526
12778
|
# website_configuration: { # required
|
11527
12779
|
# error_document: {
|
11528
12780
|
# key: "ObjectKey", # required
|
@@ -11572,14 +12824,31 @@ module Aws::S3
|
|
11572
12824
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
11573
12825
|
# @return [String]
|
11574
12826
|
#
|
12827
|
+
# @!attribute [rw] checksum_algorithm
|
12828
|
+
# Indicates the algorithm used to create the checksum for the object
|
12829
|
+
# when using the SDK. This header will not provide any additional
|
12830
|
+
# functionality if not using the SDK. When sending this header, there
|
12831
|
+
# must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
|
12832
|
+
# sent. Otherwise, Amazon S3 fails the request with the HTTP status
|
12833
|
+
# code `400 Bad Request`. For more information, see [Checking object
|
12834
|
+
# integrity][1] in the *Amazon S3 User Guide*.
|
12835
|
+
#
|
12836
|
+
# If you provide an individual checksum, Amazon S3 ignores any
|
12837
|
+
# provided `ChecksumAlgorithm` parameter.
|
12838
|
+
#
|
12839
|
+
#
|
12840
|
+
#
|
12841
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
12842
|
+
# @return [String]
|
12843
|
+
#
|
11575
12844
|
# @!attribute [rw] website_configuration
|
11576
12845
|
# Container for the request.
|
11577
12846
|
# @return [Types::WebsiteConfiguration]
|
11578
12847
|
#
|
11579
12848
|
# @!attribute [rw] expected_bucket_owner
|
11580
12849
|
# The account ID of the expected bucket owner. If the bucket is owned
|
11581
|
-
# by a different account, the request
|
11582
|
-
# (
|
12850
|
+
# by a different account, the request fails with the HTTP status code
|
12851
|
+
# `403 Forbidden` (access denied).
|
11583
12852
|
# @return [String]
|
11584
12853
|
#
|
11585
12854
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketWebsiteRequest AWS API Documentation
|
@@ -11587,6 +12856,7 @@ module Aws::S3
|
|
11587
12856
|
class PutBucketWebsiteRequest < Struct.new(
|
11588
12857
|
:bucket,
|
11589
12858
|
:content_md5,
|
12859
|
+
:checksum_algorithm,
|
11590
12860
|
:website_configuration,
|
11591
12861
|
:expected_bucket_owner)
|
11592
12862
|
SENSITIVE = []
|
@@ -11631,6 +12901,7 @@ module Aws::S3
|
|
11631
12901
|
# },
|
11632
12902
|
# bucket: "BucketName", # required
|
11633
12903
|
# content_md5: "ContentMD5",
|
12904
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
11634
12905
|
# grant_full_control: "GrantFullControl",
|
11635
12906
|
# grant_read: "GrantRead",
|
11636
12907
|
# grant_read_acp: "GrantReadACP",
|
@@ -11689,6 +12960,23 @@ module Aws::S3
|
|
11689
12960
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
11690
12961
|
# @return [String]
|
11691
12962
|
#
|
12963
|
+
# @!attribute [rw] checksum_algorithm
|
12964
|
+
# Indicates the algorithm used to create the checksum for the object
|
12965
|
+
# when using the SDK. This header will not provide any additional
|
12966
|
+
# functionality if not using the SDK. When sending this header, there
|
12967
|
+
# must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
|
12968
|
+
# sent. Otherwise, Amazon S3 fails the request with the HTTP status
|
12969
|
+
# code `400 Bad Request`. For more information, see [Checking object
|
12970
|
+
# integrity][1] in the *Amazon S3 User Guide*.
|
12971
|
+
#
|
12972
|
+
# If you provide an individual checksum, Amazon S3 ignores any
|
12973
|
+
# provided `ChecksumAlgorithm` parameter.
|
12974
|
+
#
|
12975
|
+
#
|
12976
|
+
#
|
12977
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
12978
|
+
# @return [String]
|
12979
|
+
#
|
11692
12980
|
# @!attribute [rw] grant_full_control
|
11693
12981
|
# Allows grantee the read, write, read ACP, and write ACP permissions
|
11694
12982
|
# on the bucket.
|
@@ -11735,12 +13023,12 @@ module Aws::S3
|
|
11735
13023
|
#
|
11736
13024
|
# When using this action with Amazon S3 on Outposts, you must direct
|
11737
13025
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
11738
|
-
# takes the form
|
11739
|
-
#
|
11740
|
-
# When using this action
|
13026
|
+
# takes the form `
|
13027
|
+
# AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
|
13028
|
+
# When using this action with S3 on Outposts through the Amazon Web
|
11741
13029
|
# Services SDKs, you provide the Outposts bucket ARN in place of the
|
11742
13030
|
# bucket name. For more information about S3 on Outposts ARNs, see
|
11743
|
-
# [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
13031
|
+
# [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
11744
13032
|
#
|
11745
13033
|
#
|
11746
13034
|
#
|
@@ -11751,8 +13039,8 @@ module Aws::S3
|
|
11751
13039
|
# @!attribute [rw] request_payer
|
11752
13040
|
# Confirms that the requester knows that they will be charged for the
|
11753
13041
|
# request. Bucket owners need not specify this parameter in their
|
11754
|
-
# requests. For information about downloading objects from
|
11755
|
-
#
|
13042
|
+
# requests. For information about downloading objects from Requester
|
13043
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
11756
13044
|
# in the *Amazon S3 User Guide*.
|
11757
13045
|
#
|
11758
13046
|
#
|
@@ -11766,8 +13054,8 @@ module Aws::S3
|
|
11766
13054
|
#
|
11767
13055
|
# @!attribute [rw] expected_bucket_owner
|
11768
13056
|
# The account ID of the expected bucket owner. If the bucket is owned
|
11769
|
-
# by a different account, the request
|
11770
|
-
# (
|
13057
|
+
# by a different account, the request fails with the HTTP status code
|
13058
|
+
# `403 Forbidden` (access denied).
|
11771
13059
|
# @return [String]
|
11772
13060
|
#
|
11773
13061
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectAclRequest AWS API Documentation
|
@@ -11777,6 +13065,7 @@ module Aws::S3
|
|
11777
13065
|
:access_control_policy,
|
11778
13066
|
:bucket,
|
11779
13067
|
:content_md5,
|
13068
|
+
:checksum_algorithm,
|
11780
13069
|
:grant_full_control,
|
11781
13070
|
:grant_read,
|
11782
13071
|
:grant_read_acp,
|
@@ -11815,12 +13104,13 @@ module Aws::S3
|
|
11815
13104
|
# request_payer: "requester", # accepts requester
|
11816
13105
|
# version_id: "ObjectVersionId",
|
11817
13106
|
# content_md5: "ContentMD5",
|
13107
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
11818
13108
|
# expected_bucket_owner: "AccountId",
|
11819
13109
|
# }
|
11820
13110
|
#
|
11821
13111
|
# @!attribute [rw] bucket
|
11822
|
-
# The bucket name containing the object that you want to place a
|
11823
|
-
#
|
13112
|
+
# The bucket name containing the object that you want to place a legal
|
13113
|
+
# hold on.
|
11824
13114
|
#
|
11825
13115
|
# When using this action with an access point, you must direct
|
11826
13116
|
# requests to the access point hostname. The access point hostname
|
@@ -11837,19 +13127,19 @@ module Aws::S3
|
|
11837
13127
|
# @return [String]
|
11838
13128
|
#
|
11839
13129
|
# @!attribute [rw] key
|
11840
|
-
# The key name for the object that you want to place a
|
13130
|
+
# The key name for the object that you want to place a legal hold on.
|
11841
13131
|
# @return [String]
|
11842
13132
|
#
|
11843
13133
|
# @!attribute [rw] legal_hold
|
11844
|
-
# Container element for the
|
13134
|
+
# Container element for the legal hold configuration you want to apply
|
11845
13135
|
# to the specified object.
|
11846
13136
|
# @return [Types::ObjectLockLegalHold]
|
11847
13137
|
#
|
11848
13138
|
# @!attribute [rw] request_payer
|
11849
13139
|
# Confirms that the requester knows that they will be charged for the
|
11850
13140
|
# request. Bucket owners need not specify this parameter in their
|
11851
|
-
# requests. For information about downloading objects from
|
11852
|
-
#
|
13141
|
+
# requests. For information about downloading objects from Requester
|
13142
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
11853
13143
|
# in the *Amazon S3 User Guide*.
|
11854
13144
|
#
|
11855
13145
|
#
|
@@ -11858,7 +13148,7 @@ module Aws::S3
|
|
11858
13148
|
# @return [String]
|
11859
13149
|
#
|
11860
13150
|
# @!attribute [rw] version_id
|
11861
|
-
# The version ID of the object that you want to place a
|
13151
|
+
# The version ID of the object that you want to place a legal hold on.
|
11862
13152
|
# @return [String]
|
11863
13153
|
#
|
11864
13154
|
# @!attribute [rw] content_md5
|
@@ -11869,10 +13159,27 @@ module Aws::S3
|
|
11869
13159
|
# calculated automatically.
|
11870
13160
|
# @return [String]
|
11871
13161
|
#
|
13162
|
+
# @!attribute [rw] checksum_algorithm
|
13163
|
+
# Indicates the algorithm used to create the checksum for the object
|
13164
|
+
# when using the SDK. This header will not provide any additional
|
13165
|
+
# functionality if not using the SDK. When sending this header, there
|
13166
|
+
# must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
|
13167
|
+
# sent. Otherwise, Amazon S3 fails the request with the HTTP status
|
13168
|
+
# code `400 Bad Request`. For more information, see [Checking object
|
13169
|
+
# integrity][1] in the *Amazon S3 User Guide*.
|
13170
|
+
#
|
13171
|
+
# If you provide an individual checksum, Amazon S3 ignores any
|
13172
|
+
# provided `ChecksumAlgorithm` parameter.
|
13173
|
+
#
|
13174
|
+
#
|
13175
|
+
#
|
13176
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
13177
|
+
# @return [String]
|
13178
|
+
#
|
11872
13179
|
# @!attribute [rw] expected_bucket_owner
|
11873
13180
|
# The account ID of the expected bucket owner. If the bucket is owned
|
11874
|
-
# by a different account, the request
|
11875
|
-
# (
|
13181
|
+
# by a different account, the request fails with the HTTP status code
|
13182
|
+
# `403 Forbidden` (access denied).
|
11876
13183
|
# @return [String]
|
11877
13184
|
#
|
11878
13185
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLegalHoldRequest AWS API Documentation
|
@@ -11884,6 +13191,7 @@ module Aws::S3
|
|
11884
13191
|
:request_payer,
|
11885
13192
|
:version_id,
|
11886
13193
|
:content_md5,
|
13194
|
+
:checksum_algorithm,
|
11887
13195
|
:expected_bucket_owner)
|
11888
13196
|
SENSITIVE = []
|
11889
13197
|
include Aws::Structure
|
@@ -11920,6 +13228,7 @@ module Aws::S3
|
|
11920
13228
|
# request_payer: "requester", # accepts requester
|
11921
13229
|
# token: "ObjectLockToken",
|
11922
13230
|
# content_md5: "ContentMD5",
|
13231
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
11923
13232
|
# expected_bucket_owner: "AccountId",
|
11924
13233
|
# }
|
11925
13234
|
#
|
@@ -11936,8 +13245,8 @@ module Aws::S3
|
|
11936
13245
|
# @!attribute [rw] request_payer
|
11937
13246
|
# Confirms that the requester knows that they will be charged for the
|
11938
13247
|
# request. Bucket owners need not specify this parameter in their
|
11939
|
-
# requests. For information about downloading objects from
|
11940
|
-
#
|
13248
|
+
# requests. For information about downloading objects from Requester
|
13249
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
11941
13250
|
# in the *Amazon S3 User Guide*.
|
11942
13251
|
#
|
11943
13252
|
#
|
@@ -11957,10 +13266,27 @@ module Aws::S3
|
|
11957
13266
|
# calculated automatically.
|
11958
13267
|
# @return [String]
|
11959
13268
|
#
|
13269
|
+
# @!attribute [rw] checksum_algorithm
|
13270
|
+
# Indicates the algorithm used to create the checksum for the object
|
13271
|
+
# when using the SDK. This header will not provide any additional
|
13272
|
+
# functionality if not using the SDK. When sending this header, there
|
13273
|
+
# must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
|
13274
|
+
# sent. Otherwise, Amazon S3 fails the request with the HTTP status
|
13275
|
+
# code `400 Bad Request`. For more information, see [Checking object
|
13276
|
+
# integrity][1] in the *Amazon S3 User Guide*.
|
13277
|
+
#
|
13278
|
+
# If you provide an individual checksum, Amazon S3 ignores any
|
13279
|
+
# provided `ChecksumAlgorithm` parameter.
|
13280
|
+
#
|
13281
|
+
#
|
13282
|
+
#
|
13283
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
13284
|
+
# @return [String]
|
13285
|
+
#
|
11960
13286
|
# @!attribute [rw] expected_bucket_owner
|
11961
13287
|
# The account ID of the expected bucket owner. If the bucket is owned
|
11962
|
-
# by a different account, the request
|
11963
|
-
# (
|
13288
|
+
# by a different account, the request fails with the HTTP status code
|
13289
|
+
# `403 Forbidden` (access denied).
|
11964
13290
|
# @return [String]
|
11965
13291
|
#
|
11966
13292
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLockConfigurationRequest AWS API Documentation
|
@@ -11971,6 +13297,7 @@ module Aws::S3
|
|
11971
13297
|
:request_payer,
|
11972
13298
|
:token,
|
11973
13299
|
:content_md5,
|
13300
|
+
:checksum_algorithm,
|
11974
13301
|
:expected_bucket_owner)
|
11975
13302
|
SENSITIVE = []
|
11976
13303
|
include Aws::Structure
|
@@ -11979,9 +13306,9 @@ module Aws::S3
|
|
11979
13306
|
# @!attribute [rw] expiration
|
11980
13307
|
# If the expiration is configured for the object (see
|
11981
13308
|
# [PutBucketLifecycleConfiguration][1]), the response includes this
|
11982
|
-
# header. It includes the expiry-date and rule-id key-value pairs
|
11983
|
-
# provide information about object expiration. The value of the
|
11984
|
-
# rule-id is URL
|
13309
|
+
# header. It includes the `expiry-date` and `rule-id` key-value pairs
|
13310
|
+
# that provide information about object expiration. The value of the
|
13311
|
+
# `rule-id` is URL-encoded.
|
11985
13312
|
#
|
11986
13313
|
#
|
11987
13314
|
#
|
@@ -11992,6 +13319,58 @@ module Aws::S3
|
|
11992
13319
|
# Entity tag for the uploaded object.
|
11993
13320
|
# @return [String]
|
11994
13321
|
#
|
13322
|
+
# @!attribute [rw] checksum_crc32
|
13323
|
+
# The base64-encoded, 32-bit CRC32 checksum of the object. This will
|
13324
|
+
# only be present if it was uploaded with the object. With multipart
|
13325
|
+
# uploads, this may not be a checksum value of the object. For more
|
13326
|
+
# information about how checksums are calculated with multipart
|
13327
|
+
# uploads, see [ Checking object integrity][1] in the *Amazon S3 User
|
13328
|
+
# Guide*.
|
13329
|
+
#
|
13330
|
+
#
|
13331
|
+
#
|
13332
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
|
13333
|
+
# @return [String]
|
13334
|
+
#
|
13335
|
+
# @!attribute [rw] checksum_crc32c
|
13336
|
+
# The base64-encoded, 32-bit CRC32C checksum of the object. This will
|
13337
|
+
# only be present if it was uploaded with the object. With multipart
|
13338
|
+
# uploads, this may not be a checksum value of the object. For more
|
13339
|
+
# information about how checksums are calculated with multipart
|
13340
|
+
# uploads, see [ Checking object integrity][1] in the *Amazon S3 User
|
13341
|
+
# Guide*.
|
13342
|
+
#
|
13343
|
+
#
|
13344
|
+
#
|
13345
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
|
13346
|
+
# @return [String]
|
13347
|
+
#
|
13348
|
+
# @!attribute [rw] checksum_sha1
|
13349
|
+
# The base64-encoded, 160-bit SHA-1 digest of the object. This will
|
13350
|
+
# only be present if it was uploaded with the object. With multipart
|
13351
|
+
# uploads, this may not be a checksum value of the object. For more
|
13352
|
+
# information about how checksums are calculated with multipart
|
13353
|
+
# uploads, see [ Checking object integrity][1] in the *Amazon S3 User
|
13354
|
+
# Guide*.
|
13355
|
+
#
|
13356
|
+
#
|
13357
|
+
#
|
13358
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
|
13359
|
+
# @return [String]
|
13360
|
+
#
|
13361
|
+
# @!attribute [rw] checksum_sha256
|
13362
|
+
# The base64-encoded, 256-bit SHA-256 digest of the object. This will
|
13363
|
+
# only be present if it was uploaded with the object. With multipart
|
13364
|
+
# uploads, this may not be a checksum value of the object. For more
|
13365
|
+
# information about how checksums are calculated with multipart
|
13366
|
+
# uploads, see [ Checking object integrity][1] in the *Amazon S3 User
|
13367
|
+
# Guide*.
|
13368
|
+
#
|
13369
|
+
#
|
13370
|
+
#
|
13371
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
|
13372
|
+
# @return [String]
|
13373
|
+
#
|
11995
13374
|
# @!attribute [rw] server_side_encryption
|
11996
13375
|
# If you specified server-side encryption either with an Amazon Web
|
11997
13376
|
# Services KMS key or Amazon S3-managed encryption key in your PUT
|
@@ -12045,6 +13424,10 @@ module Aws::S3
|
|
12045
13424
|
class PutObjectOutput < Struct.new(
|
12046
13425
|
:expiration,
|
12047
13426
|
:etag,
|
13427
|
+
:checksum_crc32,
|
13428
|
+
:checksum_crc32c,
|
13429
|
+
:checksum_sha1,
|
13430
|
+
:checksum_sha256,
|
12048
13431
|
:server_side_encryption,
|
12049
13432
|
:version_id,
|
12050
13433
|
:sse_customer_algorithm,
|
@@ -12071,6 +13454,11 @@ module Aws::S3
|
|
12071
13454
|
# content_length: 1,
|
12072
13455
|
# content_md5: "ContentMD5",
|
12073
13456
|
# content_type: "ContentType",
|
13457
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
13458
|
+
# checksum_crc32: "ChecksumCRC32",
|
13459
|
+
# checksum_crc32c: "ChecksumCRC32C",
|
13460
|
+
# checksum_sha1: "ChecksumSHA1",
|
13461
|
+
# checksum_sha256: "ChecksumSHA256",
|
12074
13462
|
# expires: Time.now,
|
12075
13463
|
# grant_full_control: "GrantFullControl",
|
12076
13464
|
# grant_read: "GrantRead",
|
@@ -12126,12 +13514,12 @@ module Aws::S3
|
|
12126
13514
|
#
|
12127
13515
|
# When using this action with Amazon S3 on Outposts, you must direct
|
12128
13516
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
12129
|
-
# takes the form
|
12130
|
-
#
|
12131
|
-
# When using this action
|
13517
|
+
# takes the form `
|
13518
|
+
# AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
|
13519
|
+
# When using this action with S3 on Outposts through the Amazon Web
|
12132
13520
|
# Services SDKs, you provide the Outposts bucket ARN in place of the
|
12133
13521
|
# bucket name. For more information about S3 on Outposts ARNs, see
|
12134
|
-
# [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
13522
|
+
# [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
12135
13523
|
#
|
12136
13524
|
#
|
12137
13525
|
#
|
@@ -12210,6 +13598,71 @@ module Aws::S3
|
|
12210
13598
|
# [1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
|
12211
13599
|
# @return [String]
|
12212
13600
|
#
|
13601
|
+
# @!attribute [rw] checksum_algorithm
|
13602
|
+
# Indicates the algorithm used to create the checksum for the object
|
13603
|
+
# when using the SDK. This header will not provide any additional
|
13604
|
+
# functionality if not using the SDK. When sending this header, there
|
13605
|
+
# must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
|
13606
|
+
# sent. Otherwise, Amazon S3 fails the request with the HTTP status
|
13607
|
+
# code `400 Bad Request`. For more information, see [Checking object
|
13608
|
+
# integrity][1] in the *Amazon S3 User Guide*.
|
13609
|
+
#
|
13610
|
+
# If you provide an individual checksum, Amazon S3 ignores any
|
13611
|
+
# provided `ChecksumAlgorithm` parameter.
|
13612
|
+
#
|
13613
|
+
#
|
13614
|
+
#
|
13615
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
13616
|
+
# @return [String]
|
13617
|
+
#
|
13618
|
+
# @!attribute [rw] checksum_crc32
|
13619
|
+
# This header can be used as a data integrity check to verify that the
|
13620
|
+
# data received is the same data that was originally sent. This header
|
13621
|
+
# specifies the base64-encoded, 32-bit CRC32 checksum of the object.
|
13622
|
+
# For more information, see [Checking object integrity][1] in the
|
13623
|
+
# *Amazon S3 User Guide*.
|
13624
|
+
#
|
13625
|
+
#
|
13626
|
+
#
|
13627
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
13628
|
+
# @return [String]
|
13629
|
+
#
|
13630
|
+
# @!attribute [rw] checksum_crc32c
|
13631
|
+
# This header can be used as a data integrity check to verify that the
|
13632
|
+
# data received is the same data that was originally sent. This header
|
13633
|
+
# specifies the base64-encoded, 32-bit CRC32C checksum of the object.
|
13634
|
+
# For more information, see [Checking object integrity][1] in the
|
13635
|
+
# *Amazon S3 User Guide*.
|
13636
|
+
#
|
13637
|
+
#
|
13638
|
+
#
|
13639
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
13640
|
+
# @return [String]
|
13641
|
+
#
|
13642
|
+
# @!attribute [rw] checksum_sha1
|
13643
|
+
# This header can be used as a data integrity check to verify that the
|
13644
|
+
# data received is the same data that was originally sent. This header
|
13645
|
+
# specifies the base64-encoded, 160-bit SHA-1 digest of the object.
|
13646
|
+
# For more information, see [Checking object integrity][1] in the
|
13647
|
+
# *Amazon S3 User Guide*.
|
13648
|
+
#
|
13649
|
+
#
|
13650
|
+
#
|
13651
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
13652
|
+
# @return [String]
|
13653
|
+
#
|
13654
|
+
# @!attribute [rw] checksum_sha256
|
13655
|
+
# This header can be used as a data integrity check to verify that the
|
13656
|
+
# data received is the same data that was originally sent. This header
|
13657
|
+
# specifies the base64-encoded, 256-bit SHA-256 digest of the object.
|
13658
|
+
# For more information, see [Checking object integrity][1] in the
|
13659
|
+
# *Amazon S3 User Guide*.
|
13660
|
+
#
|
13661
|
+
#
|
13662
|
+
#
|
13663
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
13664
|
+
# @return [String]
|
13665
|
+
#
|
12213
13666
|
# @!attribute [rw] expires
|
12214
13667
|
# The date and time at which the object is no longer cacheable. For
|
12215
13668
|
# more information, see
|
@@ -12350,8 +13803,8 @@ module Aws::S3
|
|
12350
13803
|
# @!attribute [rw] request_payer
|
12351
13804
|
# Confirms that the requester knows that they will be charged for the
|
12352
13805
|
# request. Bucket owners need not specify this parameter in their
|
12353
|
-
# requests. For information about downloading objects from
|
12354
|
-
#
|
13806
|
+
# requests. For information about downloading objects from Requester
|
13807
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
12355
13808
|
# in the *Amazon S3 User Guide*.
|
12356
13809
|
#
|
12357
13810
|
#
|
@@ -12384,8 +13837,8 @@ module Aws::S3
|
|
12384
13837
|
#
|
12385
13838
|
# @!attribute [rw] expected_bucket_owner
|
12386
13839
|
# The account ID of the expected bucket owner. If the bucket is owned
|
12387
|
-
# by a different account, the request
|
12388
|
-
# (
|
13840
|
+
# by a different account, the request fails with the HTTP status code
|
13841
|
+
# `403 Forbidden` (access denied).
|
12389
13842
|
# @return [String]
|
12390
13843
|
#
|
12391
13844
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectRequest AWS API Documentation
|
@@ -12401,6 +13854,11 @@ module Aws::S3
|
|
12401
13854
|
:content_length,
|
12402
13855
|
:content_md5,
|
12403
13856
|
:content_type,
|
13857
|
+
:checksum_algorithm,
|
13858
|
+
:checksum_crc32,
|
13859
|
+
:checksum_crc32c,
|
13860
|
+
:checksum_sha1,
|
13861
|
+
:checksum_sha256,
|
12404
13862
|
:expires,
|
12405
13863
|
:grant_full_control,
|
12406
13864
|
:grant_read,
|
@@ -12454,6 +13912,7 @@ module Aws::S3
|
|
12454
13912
|
# version_id: "ObjectVersionId",
|
12455
13913
|
# bypass_governance_retention: false,
|
12456
13914
|
# content_md5: "ContentMD5",
|
13915
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
12457
13916
|
# expected_bucket_owner: "AccountId",
|
12458
13917
|
# }
|
12459
13918
|
#
|
@@ -12487,8 +13946,8 @@ module Aws::S3
|
|
12487
13946
|
# @!attribute [rw] request_payer
|
12488
13947
|
# Confirms that the requester knows that they will be charged for the
|
12489
13948
|
# request. Bucket owners need not specify this parameter in their
|
12490
|
-
# requests. For information about downloading objects from
|
12491
|
-
#
|
13949
|
+
# requests. For information about downloading objects from Requester
|
13950
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
12492
13951
|
# in the *Amazon S3 User Guide*.
|
12493
13952
|
#
|
12494
13953
|
#
|
@@ -12514,10 +13973,27 @@ module Aws::S3
|
|
12514
13973
|
# calculated automatically.
|
12515
13974
|
# @return [String]
|
12516
13975
|
#
|
13976
|
+
# @!attribute [rw] checksum_algorithm
|
13977
|
+
# Indicates the algorithm used to create the checksum for the object
|
13978
|
+
# when using the SDK. This header will not provide any additional
|
13979
|
+
# functionality if not using the SDK. When sending this header, there
|
13980
|
+
# must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
|
13981
|
+
# sent. Otherwise, Amazon S3 fails the request with the HTTP status
|
13982
|
+
# code `400 Bad Request`. For more information, see [Checking object
|
13983
|
+
# integrity][1] in the *Amazon S3 User Guide*.
|
13984
|
+
#
|
13985
|
+
# If you provide an individual checksum, Amazon S3 ignores any
|
13986
|
+
# provided `ChecksumAlgorithm` parameter.
|
13987
|
+
#
|
13988
|
+
#
|
13989
|
+
#
|
13990
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
13991
|
+
# @return [String]
|
13992
|
+
#
|
12517
13993
|
# @!attribute [rw] expected_bucket_owner
|
12518
13994
|
# The account ID of the expected bucket owner. If the bucket is owned
|
12519
|
-
# by a different account, the request
|
12520
|
-
# (
|
13995
|
+
# by a different account, the request fails with the HTTP status code
|
13996
|
+
# `403 Forbidden` (access denied).
|
12521
13997
|
# @return [String]
|
12522
13998
|
#
|
12523
13999
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectRetentionRequest AWS API Documentation
|
@@ -12530,6 +14006,7 @@ module Aws::S3
|
|
12530
14006
|
:version_id,
|
12531
14007
|
:bypass_governance_retention,
|
12532
14008
|
:content_md5,
|
14009
|
+
:checksum_algorithm,
|
12533
14010
|
:expected_bucket_owner)
|
12534
14011
|
SENSITIVE = []
|
12535
14012
|
include Aws::Structure
|
@@ -12555,6 +14032,7 @@ module Aws::S3
|
|
12555
14032
|
# key: "ObjectKey", # required
|
12556
14033
|
# version_id: "ObjectVersionId",
|
12557
14034
|
# content_md5: "ContentMD5",
|
14035
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
12558
14036
|
# tagging: { # required
|
12559
14037
|
# tag_set: [ # required
|
12560
14038
|
# {
|
@@ -12581,12 +14059,12 @@ module Aws::S3
|
|
12581
14059
|
#
|
12582
14060
|
# When using this action with Amazon S3 on Outposts, you must direct
|
12583
14061
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
12584
|
-
# takes the form
|
12585
|
-
#
|
12586
|
-
# When using this action
|
14062
|
+
# takes the form `
|
14063
|
+
# AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
|
14064
|
+
# When using this action with S3 on Outposts through the Amazon Web
|
12587
14065
|
# Services SDKs, you provide the Outposts bucket ARN in place of the
|
12588
14066
|
# bucket name. For more information about S3 on Outposts ARNs, see
|
12589
|
-
# [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
14067
|
+
# [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
12590
14068
|
#
|
12591
14069
|
#
|
12592
14070
|
#
|
@@ -12610,21 +14088,38 @@ module Aws::S3
|
|
12610
14088
|
# calculated automatically.
|
12611
14089
|
# @return [String]
|
12612
14090
|
#
|
14091
|
+
# @!attribute [rw] checksum_algorithm
|
14092
|
+
# Indicates the algorithm used to create the checksum for the object
|
14093
|
+
# when using the SDK. This header will not provide any additional
|
14094
|
+
# functionality if not using the SDK. When sending this header, there
|
14095
|
+
# must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
|
14096
|
+
# sent. Otherwise, Amazon S3 fails the request with the HTTP status
|
14097
|
+
# code `400 Bad Request`. For more information, see [Checking object
|
14098
|
+
# integrity][1] in the *Amazon S3 User Guide*.
|
14099
|
+
#
|
14100
|
+
# If you provide an individual checksum, Amazon S3 ignores any
|
14101
|
+
# provided `ChecksumAlgorithm` parameter.
|
14102
|
+
#
|
14103
|
+
#
|
14104
|
+
#
|
14105
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
14106
|
+
# @return [String]
|
14107
|
+
#
|
12613
14108
|
# @!attribute [rw] tagging
|
12614
14109
|
# Container for the `TagSet` and `Tag` elements
|
12615
14110
|
# @return [Types::Tagging]
|
12616
14111
|
#
|
12617
14112
|
# @!attribute [rw] expected_bucket_owner
|
12618
14113
|
# The account ID of the expected bucket owner. If the bucket is owned
|
12619
|
-
# by a different account, the request
|
12620
|
-
# (
|
14114
|
+
# by a different account, the request fails with the HTTP status code
|
14115
|
+
# `403 Forbidden` (access denied).
|
12621
14116
|
# @return [String]
|
12622
14117
|
#
|
12623
14118
|
# @!attribute [rw] request_payer
|
12624
14119
|
# Confirms that the requester knows that they will be charged for the
|
12625
14120
|
# request. Bucket owners need not specify this parameter in their
|
12626
|
-
# requests. For information about downloading objects from
|
12627
|
-
#
|
14121
|
+
# requests. For information about downloading objects from Requester
|
14122
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
12628
14123
|
# in the *Amazon S3 User Guide*.
|
12629
14124
|
#
|
12630
14125
|
#
|
@@ -12639,6 +14134,7 @@ module Aws::S3
|
|
12639
14134
|
:key,
|
12640
14135
|
:version_id,
|
12641
14136
|
:content_md5,
|
14137
|
+
:checksum_algorithm,
|
12642
14138
|
:tagging,
|
12643
14139
|
:expected_bucket_owner,
|
12644
14140
|
:request_payer)
|
@@ -12652,6 +14148,7 @@ module Aws::S3
|
|
12652
14148
|
# {
|
12653
14149
|
# bucket: "BucketName", # required
|
12654
14150
|
# content_md5: "ContentMD5",
|
14151
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
12655
14152
|
# public_access_block_configuration: { # required
|
12656
14153
|
# block_public_acls: false,
|
12657
14154
|
# ignore_public_acls: false,
|
@@ -12674,6 +14171,23 @@ module Aws::S3
|
|
12674
14171
|
# calculated automatically.
|
12675
14172
|
# @return [String]
|
12676
14173
|
#
|
14174
|
+
# @!attribute [rw] checksum_algorithm
|
14175
|
+
# Indicates the algorithm used to create the checksum for the object
|
14176
|
+
# when using the SDK. This header will not provide any additional
|
14177
|
+
# functionality if not using the SDK. When sending this header, there
|
14178
|
+
# must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
|
14179
|
+
# sent. Otherwise, Amazon S3 fails the request with the HTTP status
|
14180
|
+
# code `400 Bad Request`. For more information, see [Checking object
|
14181
|
+
# integrity][1] in the *Amazon S3 User Guide*.
|
14182
|
+
#
|
14183
|
+
# If you provide an individual checksum, Amazon S3 ignores any
|
14184
|
+
# provided `ChecksumAlgorithm` parameter.
|
14185
|
+
#
|
14186
|
+
#
|
14187
|
+
#
|
14188
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
14189
|
+
# @return [String]
|
14190
|
+
#
|
12677
14191
|
# @!attribute [rw] public_access_block_configuration
|
12678
14192
|
# The `PublicAccessBlock` configuration that you want to apply to this
|
12679
14193
|
# Amazon S3 bucket. You can enable the configuration options in any
|
@@ -12688,8 +14202,8 @@ module Aws::S3
|
|
12688
14202
|
#
|
12689
14203
|
# @!attribute [rw] expected_bucket_owner
|
12690
14204
|
# The account ID of the expected bucket owner. If the bucket is owned
|
12691
|
-
# by a different account, the request
|
12692
|
-
# (
|
14205
|
+
# by a different account, the request fails with the HTTP status code
|
14206
|
+
# `403 Forbidden` (access denied).
|
12693
14207
|
# @return [String]
|
12694
14208
|
#
|
12695
14209
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutPublicAccessBlockRequest AWS API Documentation
|
@@ -12697,6 +14211,7 @@ module Aws::S3
|
|
12697
14211
|
class PutPublicAccessBlockRequest < Struct.new(
|
12698
14212
|
:bucket,
|
12699
14213
|
:content_md5,
|
14214
|
+
:checksum_algorithm,
|
12700
14215
|
:public_access_block_configuration,
|
12701
14216
|
:expected_bucket_owner)
|
12702
14217
|
SENSITIVE = []
|
@@ -13546,6 +15061,7 @@ module Aws::S3
|
|
13546
15061
|
# },
|
13547
15062
|
# },
|
13548
15063
|
# request_payer: "requester", # accepts requester
|
15064
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
13549
15065
|
# expected_bucket_owner: "AccountId",
|
13550
15066
|
# }
|
13551
15067
|
#
|
@@ -13563,12 +15079,12 @@ module Aws::S3
|
|
13563
15079
|
#
|
13564
15080
|
# When using this action with Amazon S3 on Outposts, you must direct
|
13565
15081
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
13566
|
-
# takes the form
|
13567
|
-
#
|
13568
|
-
# When using this action
|
15082
|
+
# takes the form `
|
15083
|
+
# AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
|
15084
|
+
# When using this action with S3 on Outposts through the Amazon Web
|
13569
15085
|
# Services SDKs, you provide the Outposts bucket ARN in place of the
|
13570
15086
|
# bucket name. For more information about S3 on Outposts ARNs, see
|
13571
|
-
# [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
15087
|
+
# [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
13572
15088
|
#
|
13573
15089
|
#
|
13574
15090
|
#
|
@@ -13591,8 +15107,8 @@ module Aws::S3
|
|
13591
15107
|
# @!attribute [rw] request_payer
|
13592
15108
|
# Confirms that the requester knows that they will be charged for the
|
13593
15109
|
# request. Bucket owners need not specify this parameter in their
|
13594
|
-
# requests. For information about downloading objects from
|
13595
|
-
#
|
15110
|
+
# requests. For information about downloading objects from Requester
|
15111
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
13596
15112
|
# in the *Amazon S3 User Guide*.
|
13597
15113
|
#
|
13598
15114
|
#
|
@@ -13600,10 +15116,27 @@ module Aws::S3
|
|
13600
15116
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
13601
15117
|
# @return [String]
|
13602
15118
|
#
|
15119
|
+
# @!attribute [rw] checksum_algorithm
|
15120
|
+
# Indicates the algorithm used to create the checksum for the object
|
15121
|
+
# when using the SDK. This header will not provide any additional
|
15122
|
+
# functionality if not using the SDK. When sending this header, there
|
15123
|
+
# must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
|
15124
|
+
# sent. Otherwise, Amazon S3 fails the request with the HTTP status
|
15125
|
+
# code `400 Bad Request`. For more information, see [Checking object
|
15126
|
+
# integrity][1] in the *Amazon S3 User Guide*.
|
15127
|
+
#
|
15128
|
+
# If you provide an individual checksum, Amazon S3 ignores any
|
15129
|
+
# provided `ChecksumAlgorithm` parameter.
|
15130
|
+
#
|
15131
|
+
#
|
15132
|
+
#
|
15133
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
15134
|
+
# @return [String]
|
15135
|
+
#
|
13603
15136
|
# @!attribute [rw] expected_bucket_owner
|
13604
15137
|
# The account ID of the expected bucket owner. If the bucket is owned
|
13605
|
-
# by a different account, the request
|
13606
|
-
# (
|
15138
|
+
# by a different account, the request fails with the HTTP status code
|
15139
|
+
# `403 Forbidden` (access denied).
|
13607
15140
|
# @return [String]
|
13608
15141
|
#
|
13609
15142
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreObjectRequest AWS API Documentation
|
@@ -13614,6 +15147,7 @@ module Aws::S3
|
|
13614
15147
|
:version_id,
|
13615
15148
|
:restore_request,
|
13616
15149
|
:request_payer,
|
15150
|
+
:checksum_algorithm,
|
13617
15151
|
:expected_bucket_owner)
|
13618
15152
|
SENSITIVE = []
|
13619
15153
|
include Aws::Structure
|
@@ -14095,8 +15629,8 @@ module Aws::S3
|
|
14095
15629
|
# @!attribute [rw] start
|
14096
15630
|
# Specifies the start of the byte range. This parameter is optional.
|
14097
15631
|
# Valid values: non-negative integers. The default value is 0. If only
|
14098
|
-
# start is supplied, it means scan from that point to the end of the
|
14099
|
-
# file.For example
|
15632
|
+
# `start` is supplied, it means scan from that point to the end of the
|
15633
|
+
# file. For example, `<scanrange><start>50</start></scanrange>` means
|
14100
15634
|
# scan from byte 50 until the end of the file.
|
14101
15635
|
# @return [Integer]
|
14102
15636
|
#
|
@@ -14202,9 +15736,10 @@ module Aws::S3
|
|
14202
15736
|
# @return [String]
|
14203
15737
|
#
|
14204
15738
|
# @!attribute [rw] sse_customer_algorithm
|
14205
|
-
# The SSE
|
14206
|
-
#
|
14207
|
-
#
|
15739
|
+
# The server-side encryption (SSE) algorithm used to encrypt the
|
15740
|
+
# object. This parameter is needed only when the object was created
|
15741
|
+
# using a checksum algorithm. For more information, see [Protecting
|
15742
|
+
# data using SSE-C keys][1] in the *Amazon S3 User Guide*.
|
14208
15743
|
#
|
14209
15744
|
#
|
14210
15745
|
#
|
@@ -14212,8 +15747,10 @@ module Aws::S3
|
|
14212
15747
|
# @return [String]
|
14213
15748
|
#
|
14214
15749
|
# @!attribute [rw] sse_customer_key
|
14215
|
-
# The
|
14216
|
-
#
|
15750
|
+
# The server-side encryption (SSE) customer managed key. This
|
15751
|
+
# parameter is needed only when the object was created using a
|
15752
|
+
# checksum algorithm. For more information, see [Protecting data using
|
15753
|
+
# SSE-C keys][1] in the *Amazon S3 User Guide*.
|
14217
15754
|
#
|
14218
15755
|
#
|
14219
15756
|
#
|
@@ -14221,8 +15758,10 @@ module Aws::S3
|
|
14221
15758
|
# @return [String]
|
14222
15759
|
#
|
14223
15760
|
# @!attribute [rw] sse_customer_key_md5
|
14224
|
-
# The
|
14225
|
-
#
|
15761
|
+
# The MD5 server-side encryption (SSE) customer managed key. This
|
15762
|
+
# parameter is needed only when the object was created using a
|
15763
|
+
# checksum algorithm. For more information, see [Protecting data using
|
15764
|
+
# SSE-C keys][1] in the *Amazon S3 User Guide*.
|
14226
15765
|
#
|
14227
15766
|
#
|
14228
15767
|
#
|
@@ -14274,8 +15813,8 @@ module Aws::S3
|
|
14274
15813
|
#
|
14275
15814
|
# @!attribute [rw] expected_bucket_owner
|
14276
15815
|
# The account ID of the expected bucket owner. If the bucket is owned
|
14277
|
-
# by a different account, the request
|
14278
|
-
# (
|
15816
|
+
# by a different account, the request fails with the HTTP status code
|
15817
|
+
# `403 Forbidden` (access denied).
|
14279
15818
|
# @return [String]
|
14280
15819
|
#
|
14281
15820
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SelectObjectContentRequest AWS API Documentation
|
@@ -15074,12 +16613,12 @@ module Aws::S3
|
|
15074
16613
|
#
|
15075
16614
|
# When using this action with Amazon S3 on Outposts, you must direct
|
15076
16615
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
15077
|
-
# takes the form
|
15078
|
-
#
|
15079
|
-
# When using this action
|
16616
|
+
# takes the form `
|
16617
|
+
# AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
|
16618
|
+
# When using this action with S3 on Outposts through the Amazon Web
|
15080
16619
|
# Services SDKs, you provide the Outposts bucket ARN in place of the
|
15081
16620
|
# bucket name. For more information about S3 on Outposts ARNs, see
|
15082
|
-
# [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
16621
|
+
# [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
15083
16622
|
#
|
15084
16623
|
#
|
15085
16624
|
#
|
@@ -15096,8 +16635,8 @@ module Aws::S3
|
|
15096
16635
|
# of the source bucket and key of the source object, separated by a
|
15097
16636
|
# slash (/). For example, to copy the object `reports/january.pdf`
|
15098
16637
|
# from the bucket `awsexamplebucket`, use
|
15099
|
-
# `awsexamplebucket/reports/january.pdf`. The value must be
|
15100
|
-
# encoded.
|
16638
|
+
# `awsexamplebucket/reports/january.pdf`. The value must be
|
16639
|
+
# URL-encoded.
|
15101
16640
|
#
|
15102
16641
|
# * For objects accessed through access points, specify the Amazon
|
15103
16642
|
# Resource Name (ARN) of the object as accessed through the access
|
@@ -15122,7 +16661,7 @@ module Aws::S3
|
|
15122
16661
|
# outpost `my-outpost` owned by account `123456789012` in Region
|
15123
16662
|
# `us-west-2`, use the URL encoding of
|
15124
16663
|
# `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf`.
|
15125
|
-
# The value must be URL
|
16664
|
+
# The value must be URL-encoded.
|
15126
16665
|
#
|
15127
16666
|
# To copy a specific version of an object, append
|
15128
16667
|
# `?versionId=<version-id>` to the value (for example,
|
@@ -15217,8 +16756,8 @@ module Aws::S3
|
|
15217
16756
|
# @!attribute [rw] request_payer
|
15218
16757
|
# Confirms that the requester knows that they will be charged for the
|
15219
16758
|
# request. Bucket owners need not specify this parameter in their
|
15220
|
-
# requests. For information about downloading objects from
|
15221
|
-
#
|
16759
|
+
# requests. For information about downloading objects from Requester
|
16760
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
15222
16761
|
# in the *Amazon S3 User Guide*.
|
15223
16762
|
#
|
15224
16763
|
#
|
@@ -15228,14 +16767,14 @@ module Aws::S3
|
|
15228
16767
|
#
|
15229
16768
|
# @!attribute [rw] expected_bucket_owner
|
15230
16769
|
# The account ID of the expected destination bucket owner. If the
|
15231
|
-
# destination bucket is owned by a different account, the request
|
15232
|
-
#
|
16770
|
+
# destination bucket is owned by a different account, the request
|
16771
|
+
# fails with the HTTP status code `403 Forbidden` (access denied).
|
15233
16772
|
# @return [String]
|
15234
16773
|
#
|
15235
16774
|
# @!attribute [rw] expected_source_bucket_owner
|
15236
16775
|
# The account ID of the expected source bucket owner. If the source
|
15237
|
-
# bucket is owned by a different account, the request
|
15238
|
-
#
|
16776
|
+
# bucket is owned by a different account, the request fails with the
|
16777
|
+
# HTTP status code `403 Forbidden` (access denied).
|
15239
16778
|
# @return [String]
|
15240
16779
|
#
|
15241
16780
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartCopyRequest AWS API Documentation
|
@@ -15273,6 +16812,58 @@ module Aws::S3
|
|
15273
16812
|
# Entity tag for the uploaded object.
|
15274
16813
|
# @return [String]
|
15275
16814
|
#
|
16815
|
+
# @!attribute [rw] checksum_crc32
|
16816
|
+
# The base64-encoded, 32-bit CRC32 checksum of the object. This will
|
16817
|
+
# only be present if it was uploaded with the object. With multipart
|
16818
|
+
# uploads, this may not be a checksum value of the object. For more
|
16819
|
+
# information about how checksums are calculated with multipart
|
16820
|
+
# uploads, see [ Checking object integrity][1] in the *Amazon S3 User
|
16821
|
+
# Guide*.
|
16822
|
+
#
|
16823
|
+
#
|
16824
|
+
#
|
16825
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
|
16826
|
+
# @return [String]
|
16827
|
+
#
|
16828
|
+
# @!attribute [rw] checksum_crc32c
|
16829
|
+
# The base64-encoded, 32-bit CRC32C checksum of the object. This will
|
16830
|
+
# only be present if it was uploaded with the object. With multipart
|
16831
|
+
# uploads, this may not be a checksum value of the object. For more
|
16832
|
+
# information about how checksums are calculated with multipart
|
16833
|
+
# uploads, see [ Checking object integrity][1] in the *Amazon S3 User
|
16834
|
+
# Guide*.
|
16835
|
+
#
|
16836
|
+
#
|
16837
|
+
#
|
16838
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
|
16839
|
+
# @return [String]
|
16840
|
+
#
|
16841
|
+
# @!attribute [rw] checksum_sha1
|
16842
|
+
# The base64-encoded, 160-bit SHA-1 digest of the object. This will
|
16843
|
+
# only be present if it was uploaded with the object. With multipart
|
16844
|
+
# uploads, this may not be a checksum value of the object. For more
|
16845
|
+
# information about how checksums are calculated with multipart
|
16846
|
+
# uploads, see [ Checking object integrity][1] in the *Amazon S3 User
|
16847
|
+
# Guide*.
|
16848
|
+
#
|
16849
|
+
#
|
16850
|
+
#
|
16851
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
|
16852
|
+
# @return [String]
|
16853
|
+
#
|
16854
|
+
# @!attribute [rw] checksum_sha256
|
16855
|
+
# The base64-encoded, 256-bit SHA-256 digest of the object. This will
|
16856
|
+
# only be present if it was uploaded with the object. With multipart
|
16857
|
+
# uploads, this may not be a checksum value of the object. For more
|
16858
|
+
# information about how checksums are calculated with multipart
|
16859
|
+
# uploads, see [ Checking object integrity][1] in the *Amazon S3 User
|
16860
|
+
# Guide*.
|
16861
|
+
#
|
16862
|
+
#
|
16863
|
+
#
|
16864
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
|
16865
|
+
# @return [String]
|
16866
|
+
#
|
15276
16867
|
# @!attribute [rw] sse_customer_algorithm
|
15277
16868
|
# If server-side encryption with a customer-provided encryption key
|
15278
16869
|
# was requested, the response will include this header confirming the
|
@@ -15307,6 +16898,10 @@ module Aws::S3
|
|
15307
16898
|
class UploadPartOutput < Struct.new(
|
15308
16899
|
:server_side_encryption,
|
15309
16900
|
:etag,
|
16901
|
+
:checksum_crc32,
|
16902
|
+
:checksum_crc32c,
|
16903
|
+
:checksum_sha1,
|
16904
|
+
:checksum_sha256,
|
15310
16905
|
:sse_customer_algorithm,
|
15311
16906
|
:sse_customer_key_md5,
|
15312
16907
|
:ssekms_key_id,
|
@@ -15324,6 +16919,11 @@ module Aws::S3
|
|
15324
16919
|
# bucket: "BucketName", # required
|
15325
16920
|
# content_length: 1,
|
15326
16921
|
# content_md5: "ContentMD5",
|
16922
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
16923
|
+
# checksum_crc32: "ChecksumCRC32",
|
16924
|
+
# checksum_crc32c: "ChecksumCRC32C",
|
16925
|
+
# checksum_sha1: "ChecksumSHA1",
|
16926
|
+
# checksum_sha256: "ChecksumSHA256",
|
15327
16927
|
# key: "ObjectKey", # required
|
15328
16928
|
# part_number: 1, # required
|
15329
16929
|
# upload_id: "MultipartUploadId", # required
|
@@ -15352,12 +16952,12 @@ module Aws::S3
|
|
15352
16952
|
#
|
15353
16953
|
# When using this action with Amazon S3 on Outposts, you must direct
|
15354
16954
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
15355
|
-
# takes the form
|
15356
|
-
#
|
15357
|
-
# When using this action
|
16955
|
+
# takes the form `
|
16956
|
+
# AccessPointName-AccountId.outpostID.s3-outposts.Region.amazonaws.com`.
|
16957
|
+
# When using this action with S3 on Outposts through the Amazon Web
|
15358
16958
|
# Services SDKs, you provide the Outposts bucket ARN in place of the
|
15359
16959
|
# bucket name. For more information about S3 on Outposts ARNs, see
|
15360
|
-
# [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
16960
|
+
# [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
15361
16961
|
#
|
15362
16962
|
#
|
15363
16963
|
#
|
@@ -15376,6 +16976,74 @@ module Aws::S3
|
|
15376
16976
|
# This parameter is required if object lock parameters are specified.
|
15377
16977
|
# @return [String]
|
15378
16978
|
#
|
16979
|
+
# @!attribute [rw] checksum_algorithm
|
16980
|
+
# Indicates the algorithm used to create the checksum for the object
|
16981
|
+
# when using the SDK. This header will not provide any additional
|
16982
|
+
# functionality if not using the SDK. When sending this header, there
|
16983
|
+
# must be a corresponding `x-amz-checksum` or `x-amz-trailer` header
|
16984
|
+
# sent. Otherwise, Amazon S3 fails the request with the HTTP status
|
16985
|
+
# code `400 Bad Request`. For more information, see [Checking object
|
16986
|
+
# integrity][1] in the *Amazon S3 User Guide*.
|
16987
|
+
#
|
16988
|
+
# If you provide an individual checksum, Amazon S3 ignores any
|
16989
|
+
# provided `ChecksumAlgorithm` parameter.
|
16990
|
+
#
|
16991
|
+
# This checksum algorithm must be the same for all parts and it match
|
16992
|
+
# the checksum value supplied in the `CreateMultipartUpload` request.
|
16993
|
+
#
|
16994
|
+
#
|
16995
|
+
#
|
16996
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
16997
|
+
# @return [String]
|
16998
|
+
#
|
16999
|
+
# @!attribute [rw] checksum_crc32
|
17000
|
+
# This header can be used as a data integrity check to verify that the
|
17001
|
+
# data received is the same data that was originally sent. This header
|
17002
|
+
# specifies the base64-encoded, 32-bit CRC32 checksum of the object.
|
17003
|
+
# For more information, see [Checking object integrity][1] in the
|
17004
|
+
# *Amazon S3 User Guide*.
|
17005
|
+
#
|
17006
|
+
#
|
17007
|
+
#
|
17008
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
17009
|
+
# @return [String]
|
17010
|
+
#
|
17011
|
+
# @!attribute [rw] checksum_crc32c
|
17012
|
+
# This header can be used as a data integrity check to verify that the
|
17013
|
+
# data received is the same data that was originally sent. This header
|
17014
|
+
# specifies the base64-encoded, 32-bit CRC32C checksum of the object.
|
17015
|
+
# For more information, see [Checking object integrity][1] in the
|
17016
|
+
# *Amazon S3 User Guide*.
|
17017
|
+
#
|
17018
|
+
#
|
17019
|
+
#
|
17020
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
17021
|
+
# @return [String]
|
17022
|
+
#
|
17023
|
+
# @!attribute [rw] checksum_sha1
|
17024
|
+
# This header can be used as a data integrity check to verify that the
|
17025
|
+
# data received is the same data that was originally sent. This header
|
17026
|
+
# specifies the base64-encoded, 160-bit SHA-1 digest of the object.
|
17027
|
+
# For more information, see [Checking object integrity][1] in the
|
17028
|
+
# *Amazon S3 User Guide*.
|
17029
|
+
#
|
17030
|
+
#
|
17031
|
+
#
|
17032
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
17033
|
+
# @return [String]
|
17034
|
+
#
|
17035
|
+
# @!attribute [rw] checksum_sha256
|
17036
|
+
# This header can be used as a data integrity check to verify that the
|
17037
|
+
# data received is the same data that was originally sent. This header
|
17038
|
+
# specifies the base64-encoded, 256-bit SHA-256 digest of the object.
|
17039
|
+
# For more information, see [Checking object integrity][1] in the
|
17040
|
+
# *Amazon S3 User Guide*.
|
17041
|
+
#
|
17042
|
+
#
|
17043
|
+
#
|
17044
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
17045
|
+
# @return [String]
|
17046
|
+
#
|
15379
17047
|
# @!attribute [rw] key
|
15380
17048
|
# Object key for which the multipart upload was initiated.
|
15381
17049
|
# @return [String]
|
@@ -15414,8 +17082,8 @@ module Aws::S3
|
|
15414
17082
|
# @!attribute [rw] request_payer
|
15415
17083
|
# Confirms that the requester knows that they will be charged for the
|
15416
17084
|
# request. Bucket owners need not specify this parameter in their
|
15417
|
-
# requests. For information about downloading objects from
|
15418
|
-
#
|
17085
|
+
# requests. For information about downloading objects from Requester
|
17086
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
15419
17087
|
# in the *Amazon S3 User Guide*.
|
15420
17088
|
#
|
15421
17089
|
#
|
@@ -15425,8 +17093,8 @@ module Aws::S3
|
|
15425
17093
|
#
|
15426
17094
|
# @!attribute [rw] expected_bucket_owner
|
15427
17095
|
# The account ID of the expected bucket owner. If the bucket is owned
|
15428
|
-
# by a different account, the request
|
15429
|
-
# (
|
17096
|
+
# by a different account, the request fails with the HTTP status code
|
17097
|
+
# `403 Forbidden` (access denied).
|
15430
17098
|
# @return [String]
|
15431
17099
|
#
|
15432
17100
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartRequest AWS API Documentation
|
@@ -15436,6 +17104,11 @@ module Aws::S3
|
|
15436
17104
|
:bucket,
|
15437
17105
|
:content_length,
|
15438
17106
|
:content_md5,
|
17107
|
+
:checksum_algorithm,
|
17108
|
+
:checksum_crc32,
|
17109
|
+
:checksum_crc32c,
|
17110
|
+
:checksum_sha1,
|
17111
|
+
:checksum_sha256,
|
15439
17112
|
:key,
|
15440
17113
|
:part_number,
|
15441
17114
|
:upload_id,
|
@@ -15566,6 +17239,10 @@ module Aws::S3
|
|
15566
17239
|
# content_length: 1,
|
15567
17240
|
# content_range: "ContentRange",
|
15568
17241
|
# content_type: "ContentType",
|
17242
|
+
# checksum_crc32: "ChecksumCRC32",
|
17243
|
+
# checksum_crc32c: "ChecksumCRC32C",
|
17244
|
+
# checksum_sha1: "ChecksumSHA1",
|
17245
|
+
# checksum_sha256: "ChecksumSHA256",
|
15569
17246
|
# delete_marker: false,
|
15570
17247
|
# etag: "ETag",
|
15571
17248
|
# expires: Time.now,
|
@@ -15611,33 +17288,33 @@ module Aws::S3
|
|
15611
17288
|
#
|
15612
17289
|
# **Status Codes**
|
15613
17290
|
#
|
15614
|
-
# *
|
17291
|
+
# * `200 - OK`
|
15615
17292
|
#
|
15616
|
-
# *
|
17293
|
+
# * `206 - Partial Content`
|
15617
17294
|
#
|
15618
|
-
# *
|
17295
|
+
# * `304 - Not Modified`
|
15619
17296
|
#
|
15620
|
-
# *
|
17297
|
+
# * `400 - Bad Request`
|
15621
17298
|
#
|
15622
|
-
# *
|
17299
|
+
# * `401 - Unauthorized`
|
15623
17300
|
#
|
15624
|
-
# *
|
17301
|
+
# * `403 - Forbidden`
|
15625
17302
|
#
|
15626
|
-
# *
|
17303
|
+
# * `404 - Not Found`
|
15627
17304
|
#
|
15628
|
-
# *
|
17305
|
+
# * `405 - Method Not Allowed`
|
15629
17306
|
#
|
15630
|
-
# *
|
17307
|
+
# * `409 - Conflict`
|
15631
17308
|
#
|
15632
|
-
# *
|
17309
|
+
# * `411 - Length Required`
|
15633
17310
|
#
|
15634
|
-
# *
|
17311
|
+
# * `412 - Precondition Failed`
|
15635
17312
|
#
|
15636
|
-
# *
|
17313
|
+
# * `416 - Range Not Satisfiable`
|
15637
17314
|
#
|
15638
|
-
# *
|
17315
|
+
# * `500 - Internal Server Error`
|
15639
17316
|
#
|
15640
|
-
# *
|
17317
|
+
# * `503 - Service Unavailable`
|
15641
17318
|
# @return [Integer]
|
15642
17319
|
#
|
15643
17320
|
# @!attribute [rw] error_code
|
@@ -15645,8 +17322,8 @@ module Aws::S3
|
|
15645
17322
|
# the <Code> tag of the error XML response for a corresponding
|
15646
17323
|
# `GetObject` call. Cannot be used with a successful `StatusCode`
|
15647
17324
|
# header or when the transformed object is provided in the body. All
|
15648
|
-
# error codes from S3 are sentence-cased.
|
15649
|
-
# "
|
17325
|
+
# error codes from S3 are sentence-cased. The regular expression
|
17326
|
+
# (regex) value is `"^[A-Z][a-zA-Z]+$"`.
|
15650
17327
|
# @return [String]
|
15651
17328
|
#
|
15652
17329
|
# @!attribute [rw] error_message
|
@@ -15691,6 +17368,84 @@ module Aws::S3
|
|
15691
17368
|
# A standard MIME type describing the format of the object data.
|
15692
17369
|
# @return [String]
|
15693
17370
|
#
|
17371
|
+
# @!attribute [rw] checksum_crc32
|
17372
|
+
# This header can be used as a data integrity check to verify that the
|
17373
|
+
# data received is the same data that was originally sent. This
|
17374
|
+
# specifies the base64-encoded, 32-bit CRC32 checksum of the object
|
17375
|
+
# returned by the Object Lambda function. This may not match the
|
17376
|
+
# checksum for the object stored in Amazon S3. Amazon S3 will perform
|
17377
|
+
# validation of the checksum values only when the original `GetObject`
|
17378
|
+
# request required checksum validation. For more information about
|
17379
|
+
# checksums, see [Checking object integrity][1] in the *Amazon S3 User
|
17380
|
+
# Guide*.
|
17381
|
+
#
|
17382
|
+
# Only one checksum header can be specified at a time. If you supply
|
17383
|
+
# multiple checksum headers, this request will fail.
|
17384
|
+
#
|
17385
|
+
#
|
17386
|
+
#
|
17387
|
+
#
|
17388
|
+
#
|
17389
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
17390
|
+
# @return [String]
|
17391
|
+
#
|
17392
|
+
# @!attribute [rw] checksum_crc32c
|
17393
|
+
# This header can be used as a data integrity check to verify that the
|
17394
|
+
# data received is the same data that was originally sent. This
|
17395
|
+
# specifies the base64-encoded, 32-bit CRC32C checksum of the object
|
17396
|
+
# returned by the Object Lambda function. This may not match the
|
17397
|
+
# checksum for the object stored in Amazon S3. Amazon S3 will perform
|
17398
|
+
# validation of the checksum values only when the original `GetObject`
|
17399
|
+
# request required checksum validation. For more information about
|
17400
|
+
# checksums, see [Checking object integrity][1] in the *Amazon S3 User
|
17401
|
+
# Guide*.
|
17402
|
+
#
|
17403
|
+
# Only one checksum header can be specified at a time. If you supply
|
17404
|
+
# multiple checksum headers, this request will fail.
|
17405
|
+
#
|
17406
|
+
#
|
17407
|
+
#
|
17408
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
17409
|
+
# @return [String]
|
17410
|
+
#
|
17411
|
+
# @!attribute [rw] checksum_sha1
|
17412
|
+
# This header can be used as a data integrity check to verify that the
|
17413
|
+
# data received is the same data that was originally sent. This
|
17414
|
+
# specifies the base64-encoded, 160-bit SHA-1 digest of the object
|
17415
|
+
# returned by the Object Lambda function. This may not match the
|
17416
|
+
# checksum for the object stored in Amazon S3. Amazon S3 will perform
|
17417
|
+
# validation of the checksum values only when the original `GetObject`
|
17418
|
+
# request required checksum validation. For more information about
|
17419
|
+
# checksums, see [Checking object integrity][1] in the *Amazon S3 User
|
17420
|
+
# Guide*.
|
17421
|
+
#
|
17422
|
+
# Only one checksum header can be specified at a time. If you supply
|
17423
|
+
# multiple checksum headers, this request will fail.
|
17424
|
+
#
|
17425
|
+
#
|
17426
|
+
#
|
17427
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
17428
|
+
# @return [String]
|
17429
|
+
#
|
17430
|
+
# @!attribute [rw] checksum_sha256
|
17431
|
+
# This header can be used as a data integrity check to verify that the
|
17432
|
+
# data received is the same data that was originally sent. This
|
17433
|
+
# specifies the base64-encoded, 256-bit SHA-256 digest of the object
|
17434
|
+
# returned by the Object Lambda function. This may not match the
|
17435
|
+
# checksum for the object stored in Amazon S3. Amazon S3 will perform
|
17436
|
+
# validation of the checksum values only when the original `GetObject`
|
17437
|
+
# request required checksum validation. For more information about
|
17438
|
+
# checksums, see [Checking object integrity][1] in the *Amazon S3 User
|
17439
|
+
# Guide*.
|
17440
|
+
#
|
17441
|
+
# Only one checksum header can be specified at a time. If you supply
|
17442
|
+
# multiple checksum headers, this request will fail.
|
17443
|
+
#
|
17444
|
+
#
|
17445
|
+
#
|
17446
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
17447
|
+
# @return [String]
|
17448
|
+
#
|
15694
17449
|
# @!attribute [rw] delete_marker
|
15695
17450
|
# Specifies whether an object stored in Amazon S3 is (`true`) or is
|
15696
17451
|
# not (`false`) a delete marker.
|
@@ -15706,10 +17461,10 @@ module Aws::S3
|
|
15706
17461
|
# @return [Time]
|
15707
17462
|
#
|
15708
17463
|
# @!attribute [rw] expiration
|
15709
|
-
# If object
|
15710
|
-
#
|
15711
|
-
#
|
15712
|
-
# rule-id is URL
|
17464
|
+
# If the object expiration is configured (see PUT Bucket lifecycle),
|
17465
|
+
# the response includes this header. It includes the `expiry-date` and
|
17466
|
+
# `rule-id` key-value pairs that provide the object expiration
|
17467
|
+
# information. The value of the `rule-id` is URL-encoded.
|
15713
17468
|
# @return [String]
|
15714
17469
|
#
|
15715
17470
|
# @!attribute [rw] last_modified
|
@@ -15800,7 +17555,15 @@ module Aws::S3
|
|
15800
17555
|
# @return [String]
|
15801
17556
|
#
|
15802
17557
|
# @!attribute [rw] storage_class
|
15803
|
-
#
|
17558
|
+
# Provides storage class information of the object. Amazon S3 returns
|
17559
|
+
# this header for all objects except for S3 Standard storage class
|
17560
|
+
# objects.
|
17561
|
+
#
|
17562
|
+
# For more information, see [Storage Classes][1].
|
17563
|
+
#
|
17564
|
+
#
|
17565
|
+
#
|
17566
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html
|
15804
17567
|
# @return [String]
|
15805
17568
|
#
|
15806
17569
|
# @!attribute [rw] tag_count
|
@@ -15834,6 +17597,10 @@ module Aws::S3
|
|
15834
17597
|
:content_length,
|
15835
17598
|
:content_range,
|
15836
17599
|
:content_type,
|
17600
|
+
:checksum_crc32,
|
17601
|
+
:checksum_crc32c,
|
17602
|
+
:checksum_sha1,
|
17603
|
+
:checksum_sha256,
|
15837
17604
|
:delete_marker,
|
15838
17605
|
:etag,
|
15839
17606
|
:expires,
|