aws-sdk-s3 1.109.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 +35 -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 +1730 -613
- 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/file_downloader.rb +1 -1
- data/lib/aws-sdk-s3/file_uploader.rb +5 -0
- 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 +245 -73
- 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 +64 -38
- data/lib/aws-sdk-s3/plugins/iad_regional_endpoint.rb +6 -0
- 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 +38 -19
- data/lib/aws-sdk-s3/types.rb +2242 -480
- 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,266 @@ 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
|
5855
|
+
# takes the form
|
5856
|
+
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
5857
|
+
# When using this action with an access point through the Amazon Web
|
5858
|
+
# Services SDKs, you provide the access point ARN in place of the
|
5859
|
+
# bucket name. For more information about access point ARNs, see
|
5860
|
+
# [Using access points][1] in the *Amazon S3 User Guide*.
|
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
|
+
#
|
5871
|
+
#
|
5872
|
+
#
|
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
|
5875
|
+
# @return [String]
|
5876
|
+
#
|
5877
|
+
# @!attribute [rw] key
|
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
|
5302
5984
|
# takes the form
|
5303
5985
|
# *AccessPointName*-*AccountId*.s3-accesspoint.*Region*.amazonaws.com.
|
5304
5986
|
# When using this action with an access point through the Amazon Web
|
@@ -5312,20 +5994,20 @@ module Aws::S3
|
|
5312
5994
|
# @return [String]
|
5313
5995
|
#
|
5314
5996
|
# @!attribute [rw] key
|
5315
|
-
# The key name for the object whose
|
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
|
@@ -6607,18 +7413,8 @@ module Aws::S3
|
|
6607
7413
|
# @return [String]
|
6608
7414
|
#
|
6609
7415
|
# @!attribute [rw] range
|
6610
|
-
#
|
6611
|
-
#
|
6612
|
-
# [http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35][1].
|
6613
|
-
#
|
6614
|
-
# <note markdown="1"> Amazon S3 doesn't support retrieving multiple ranges of data per
|
6615
|
-
# `GET` request.
|
6616
|
-
#
|
6617
|
-
# </note>
|
6618
|
-
#
|
6619
|
-
#
|
6620
|
-
#
|
6621
|
-
# [1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35
|
7416
|
+
# Because `HeadObject` returns only the metadata for an object, this
|
7417
|
+
# parameter has no effect.
|
6622
7418
|
# @return [String]
|
6623
7419
|
#
|
6624
7420
|
# @!attribute [rw] version_id
|
@@ -6647,8 +7443,8 @@ module Aws::S3
|
|
6647
7443
|
# @!attribute [rw] request_payer
|
6648
7444
|
# Confirms that the requester knows that they will be charged for the
|
6649
7445
|
# request. Bucket owners need not specify this parameter in their
|
6650
|
-
# requests. For information about downloading objects from
|
6651
|
-
#
|
7446
|
+
# requests. For information about downloading objects from Requester
|
7447
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
6652
7448
|
# in the *Amazon S3 User Guide*.
|
6653
7449
|
#
|
6654
7450
|
#
|
@@ -6665,8 +7461,17 @@ module Aws::S3
|
|
6665
7461
|
#
|
6666
7462
|
# @!attribute [rw] expected_bucket_owner
|
6667
7463
|
# The account ID of the expected bucket owner. If the bucket is owned
|
6668
|
-
# by a different account, the request
|
6669
|
-
# (
|
7464
|
+
# by a different account, the request fails with the HTTP status code
|
7465
|
+
# `403 Forbidden` (access denied).
|
7466
|
+
# @return [String]
|
7467
|
+
#
|
7468
|
+
# @!attribute [rw] checksum_mode
|
7469
|
+
# To retrieve the checksum, this parameter must be enabled.
|
7470
|
+
#
|
7471
|
+
# In addition, if you enable `ChecksumMode` and the object is
|
7472
|
+
# encrypted with Amazon Web Services Key Management Service (Amazon
|
7473
|
+
# Web Services KMS), you must have permission to use the `kms:Decrypt`
|
7474
|
+
# action for the request to succeed.
|
6670
7475
|
# @return [String]
|
6671
7476
|
#
|
6672
7477
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/HeadObjectRequest AWS API Documentation
|
@@ -6685,7 +7490,8 @@ module Aws::S3
|
|
6685
7490
|
:sse_customer_key_md5,
|
6686
7491
|
:request_payer,
|
6687
7492
|
:part_number,
|
6688
|
-
:expected_bucket_owner
|
7493
|
+
:expected_bucket_owner,
|
7494
|
+
:checksum_mode)
|
6689
7495
|
SENSITIVE = [:sse_customer_key]
|
6690
7496
|
include Aws::Structure
|
6691
7497
|
end
|
@@ -7007,7 +7813,7 @@ module Aws::S3
|
|
7007
7813
|
# },
|
7008
7814
|
# id: "InventoryId", # required
|
7009
7815
|
# included_object_versions: "All", # required, accepts All, Current
|
7010
|
-
# optional_fields: ["Size"], # accepts Size, LastModifiedDate, StorageClass, ETag, IsMultipartUploaded, ReplicationStatus, EncryptionStatus, ObjectLockRetainUntilDate, ObjectLockMode, ObjectLockLegalHoldStatus, IntelligentTieringAccessTier, BucketKeyStatus
|
7816
|
+
# optional_fields: ["Size"], # accepts Size, LastModifiedDate, StorageClass, ETag, IsMultipartUploaded, ReplicationStatus, EncryptionStatus, ObjectLockRetainUntilDate, ObjectLockMode, ObjectLockLegalHoldStatus, IntelligentTieringAccessTier, BucketKeyStatus, ChecksumAlgorithm
|
7011
7817
|
# schedule: { # required
|
7012
7818
|
# frequency: "Daily", # required, accepts Daily, Weekly
|
7013
7819
|
# },
|
@@ -7510,7 +8316,7 @@ module Aws::S3
|
|
7510
8316
|
# The `Filter` is used to identify objects that a Lifecycle Rule
|
7511
8317
|
# applies to. A `Filter` must have exactly one of `Prefix`, `Tag`, or
|
7512
8318
|
# `And` specified. `Filter` is required if the `LifecycleRule` does
|
7513
|
-
# not
|
8319
|
+
# not contain a `Prefix` element.
|
7514
8320
|
# @return [Types::LifecycleRuleFilter]
|
7515
8321
|
#
|
7516
8322
|
# @!attribute [rw] status
|
@@ -7743,8 +8549,8 @@ module Aws::S3
|
|
7743
8549
|
#
|
7744
8550
|
# @!attribute [rw] expected_bucket_owner
|
7745
8551
|
# The account ID of the expected bucket owner. If the bucket is owned
|
7746
|
-
# by a different account, the request
|
7747
|
-
# (
|
8552
|
+
# by a different account, the request fails with the HTTP status code
|
8553
|
+
# `403 Forbidden` (access denied).
|
7748
8554
|
# @return [String]
|
7749
8555
|
#
|
7750
8556
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketAnalyticsConfigurationsRequest AWS API Documentation
|
@@ -7759,14 +8565,14 @@ module Aws::S3
|
|
7759
8565
|
|
7760
8566
|
# @!attribute [rw] is_truncated
|
7761
8567
|
# Indicates whether the returned list of analytics configurations is
|
7762
|
-
# complete. A value of true indicates that the list is not complete
|
7763
|
-
# and the NextContinuationToken will be provided for a subsequent
|
8568
|
+
# complete. A value of `true` indicates that the list is not complete
|
8569
|
+
# and the `NextContinuationToken` will be provided for a subsequent
|
7764
8570
|
# request.
|
7765
8571
|
# @return [Boolean]
|
7766
8572
|
#
|
7767
8573
|
# @!attribute [rw] continuation_token
|
7768
|
-
# The ContinuationToken that represents a placeholder from where
|
7769
|
-
# request should begin.
|
8574
|
+
# The `ContinuationToken` that represents a placeholder from where
|
8575
|
+
# this request should begin.
|
7770
8576
|
# @return [String]
|
7771
8577
|
#
|
7772
8578
|
# @!attribute [rw] next_continuation_token
|
@@ -7805,8 +8611,8 @@ module Aws::S3
|
|
7805
8611
|
# @return [String]
|
7806
8612
|
#
|
7807
8613
|
# @!attribute [rw] continuation_token
|
7808
|
-
# The ContinuationToken that represents a placeholder from where
|
7809
|
-
# request should begin.
|
8614
|
+
# The `ContinuationToken` that represents a placeholder from where
|
8615
|
+
# this request should begin.
|
7810
8616
|
# @return [String]
|
7811
8617
|
#
|
7812
8618
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketIntelligentTieringConfigurationsRequest AWS API Documentation
|
@@ -7874,8 +8680,8 @@ module Aws::S3
|
|
7874
8680
|
#
|
7875
8681
|
# @!attribute [rw] expected_bucket_owner
|
7876
8682
|
# The account ID of the expected bucket owner. If the bucket is owned
|
7877
|
-
# by a different account, the request
|
7878
|
-
# (
|
8683
|
+
# by a different account, the request fails with the HTTP status code
|
8684
|
+
# `403 Forbidden` (access denied).
|
7879
8685
|
# @return [String]
|
7880
8686
|
#
|
7881
8687
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketInventoryConfigurationsRequest AWS API Documentation
|
@@ -7946,8 +8752,8 @@ module Aws::S3
|
|
7946
8752
|
#
|
7947
8753
|
# @!attribute [rw] expected_bucket_owner
|
7948
8754
|
# The account ID of the expected bucket owner. If the bucket is owned
|
7949
|
-
# by a different account, the request
|
7950
|
-
# (
|
8755
|
+
# by a different account, the request fails with the HTTP status code
|
8756
|
+
# `403 Forbidden` (access denied).
|
7951
8757
|
# @return [String]
|
7952
8758
|
#
|
7953
8759
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListBucketMetricsConfigurationsRequest AWS API Documentation
|
@@ -7961,7 +8767,7 @@ module Aws::S3
|
|
7961
8767
|
end
|
7962
8768
|
|
7963
8769
|
# @!attribute [rw] buckets
|
7964
|
-
# The list of buckets owned by the
|
8770
|
+
# The list of buckets owned by the requester.
|
7965
8771
|
# @return [Array<Types::Bucket>]
|
7966
8772
|
#
|
7967
8773
|
# @!attribute [rw] owner
|
@@ -8096,12 +8902,12 @@ module Aws::S3
|
|
8096
8902
|
#
|
8097
8903
|
# When using this action with Amazon S3 on Outposts, you must direct
|
8098
8904
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
8099
|
-
# takes the form
|
8100
|
-
#
|
8101
|
-
# 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
|
8102
8908
|
# Services SDKs, you provide the Outposts bucket ARN in place of the
|
8103
8909
|
# bucket name. For more information about S3 on Outposts ARNs, see
|
8104
|
-
# [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
8910
|
+
# [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
8105
8911
|
#
|
8106
8912
|
#
|
8107
8913
|
#
|
@@ -8168,8 +8974,8 @@ module Aws::S3
|
|
8168
8974
|
#
|
8169
8975
|
# @!attribute [rw] expected_bucket_owner
|
8170
8976
|
# The account ID of the expected bucket owner. If the bucket is owned
|
8171
|
-
# by a different account, the request
|
8172
|
-
# (
|
8977
|
+
# by a different account, the request fails with the HTTP status code
|
8978
|
+
# `403 Forbidden` (access denied).
|
8173
8979
|
# @return [String]
|
8174
8980
|
#
|
8175
8981
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListMultipartUploadsRequest AWS API Documentation
|
@@ -8348,8 +9154,8 @@ module Aws::S3
|
|
8348
9154
|
#
|
8349
9155
|
# @!attribute [rw] expected_bucket_owner
|
8350
9156
|
# The account ID of the expected bucket owner. If the bucket is owned
|
8351
|
-
# by a different account, the request
|
8352
|
-
# (
|
9157
|
+
# by a different account, the request fails with the HTTP status code
|
9158
|
+
# `403 Forbidden` (access denied).
|
8353
9159
|
# @return [String]
|
8354
9160
|
#
|
8355
9161
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectVersionsRequest AWS API Documentation
|
@@ -8481,12 +9287,12 @@ module Aws::S3
|
|
8481
9287
|
#
|
8482
9288
|
# When using this action with Amazon S3 on Outposts, you must direct
|
8483
9289
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
8484
|
-
# takes the form
|
8485
|
-
#
|
8486
|
-
# 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
|
8487
9293
|
# Services SDKs, you provide the Outposts bucket ARN in place of the
|
8488
9294
|
# bucket name. For more information about S3 on Outposts ARNs, see
|
8489
|
-
# [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
9295
|
+
# [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
8490
9296
|
#
|
8491
9297
|
#
|
8492
9298
|
#
|
@@ -8531,8 +9337,8 @@ module Aws::S3
|
|
8531
9337
|
#
|
8532
9338
|
# @!attribute [rw] expected_bucket_owner
|
8533
9339
|
# The account ID of the expected bucket owner. If the bucket is owned
|
8534
|
-
# by a different account, the request
|
8535
|
-
# (
|
9340
|
+
# by a different account, the request fails with the HTTP status code
|
9341
|
+
# `403 Forbidden` (access denied).
|
8536
9342
|
# @return [String]
|
8537
9343
|
#
|
8538
9344
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsRequest AWS API Documentation
|
@@ -8574,12 +9380,12 @@ module Aws::S3
|
|
8574
9380
|
#
|
8575
9381
|
# When using this action with Amazon S3 on Outposts, you must direct
|
8576
9382
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
8577
|
-
# takes the form
|
8578
|
-
#
|
8579
|
-
# 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
|
8580
9386
|
# Services SDKs, you provide the Outposts bucket ARN in place of the
|
8581
9387
|
# bucket name. For more information about S3 on Outposts ARNs, see
|
8582
|
-
# [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
9388
|
+
# [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
8583
9389
|
#
|
8584
9390
|
#
|
8585
9391
|
#
|
@@ -8709,12 +9515,12 @@ module Aws::S3
|
|
8709
9515
|
#
|
8710
9516
|
# When using this action with Amazon S3 on Outposts, you must direct
|
8711
9517
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
8712
|
-
# takes the form
|
8713
|
-
#
|
8714
|
-
# 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
|
8715
9521
|
# Services SDKs, you provide the Outposts bucket ARN in place of the
|
8716
9522
|
# bucket name. For more information about S3 on Outposts ARNs, see
|
8717
|
-
# [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
9523
|
+
# [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
8718
9524
|
#
|
8719
9525
|
#
|
8720
9526
|
#
|
@@ -8767,8 +9573,8 @@ module Aws::S3
|
|
8767
9573
|
#
|
8768
9574
|
# @!attribute [rw] expected_bucket_owner
|
8769
9575
|
# The account ID of the expected bucket owner. If the bucket is owned
|
8770
|
-
# by a different account, the request
|
8771
|
-
# (
|
9576
|
+
# by a different account, the request fails with the HTTP status code
|
9577
|
+
# `403 Forbidden` (access denied).
|
8772
9578
|
# @return [String]
|
8773
9579
|
#
|
8774
9580
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListObjectsV2Request AWS API Documentation
|
@@ -8878,6 +9684,10 @@ module Aws::S3
|
|
8878
9684
|
# for the request.
|
8879
9685
|
# @return [String]
|
8880
9686
|
#
|
9687
|
+
# @!attribute [rw] checksum_algorithm
|
9688
|
+
# The algorithm that was used to create a checksum of the object.
|
9689
|
+
# @return [String]
|
9690
|
+
#
|
8881
9691
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListPartsOutput AWS API Documentation
|
8882
9692
|
#
|
8883
9693
|
class ListPartsOutput < Struct.new(
|
@@ -8894,7 +9704,8 @@ module Aws::S3
|
|
8894
9704
|
:initiator,
|
8895
9705
|
:owner,
|
8896
9706
|
:storage_class,
|
8897
|
-
:request_charged
|
9707
|
+
:request_charged,
|
9708
|
+
:checksum_algorithm)
|
8898
9709
|
SENSITIVE = []
|
8899
9710
|
include Aws::Structure
|
8900
9711
|
end
|
@@ -8910,6 +9721,9 @@ module Aws::S3
|
|
8910
9721
|
# upload_id: "MultipartUploadId", # required
|
8911
9722
|
# request_payer: "requester", # accepts requester
|
8912
9723
|
# expected_bucket_owner: "AccountId",
|
9724
|
+
# sse_customer_algorithm: "SSECustomerAlgorithm",
|
9725
|
+
# sse_customer_key: "SSECustomerKey",
|
9726
|
+
# sse_customer_key_md5: "SSECustomerKeyMD5",
|
8913
9727
|
# }
|
8914
9728
|
#
|
8915
9729
|
# @!attribute [rw] bucket
|
@@ -8926,12 +9740,12 @@ module Aws::S3
|
|
8926
9740
|
#
|
8927
9741
|
# When using this action with Amazon S3 on Outposts, you must direct
|
8928
9742
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
8929
|
-
# takes the form
|
8930
|
-
#
|
8931
|
-
# 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
|
8932
9746
|
# Services SDKs, you provide the Outposts bucket ARN in place of the
|
8933
9747
|
# bucket name. For more information about S3 on Outposts ARNs, see
|
8934
|
-
# [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
9748
|
+
# [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
8935
9749
|
#
|
8936
9750
|
#
|
8937
9751
|
#
|
@@ -8960,8 +9774,8 @@ module Aws::S3
|
|
8960
9774
|
# @!attribute [rw] request_payer
|
8961
9775
|
# Confirms that the requester knows that they will be charged for the
|
8962
9776
|
# request. Bucket owners need not specify this parameter in their
|
8963
|
-
# requests. For information about downloading objects from
|
8964
|
-
#
|
9777
|
+
# requests. For information about downloading objects from Requester
|
9778
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
8965
9779
|
# in the *Amazon S3 User Guide*.
|
8966
9780
|
#
|
8967
9781
|
#
|
@@ -8971,8 +9785,41 @@ module Aws::S3
|
|
8971
9785
|
#
|
8972
9786
|
# @!attribute [rw] expected_bucket_owner
|
8973
9787
|
# The account ID of the expected bucket owner. If the bucket is owned
|
8974
|
-
# by a different account, the request
|
8975
|
-
# (
|
9788
|
+
# by a different account, the request fails with the HTTP status code
|
9789
|
+
# `403 Forbidden` (access denied).
|
9790
|
+
# @return [String]
|
9791
|
+
#
|
9792
|
+
# @!attribute [rw] sse_customer_algorithm
|
9793
|
+
# The server-side encryption (SSE) algorithm used to encrypt the
|
9794
|
+
# object. This parameter is needed only when the object was created
|
9795
|
+
# using a checksum algorithm. For more information, see [Protecting
|
9796
|
+
# data using SSE-C keys][1] in the *Amazon S3 User Guide*.
|
9797
|
+
#
|
9798
|
+
#
|
9799
|
+
#
|
9800
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html
|
9801
|
+
# @return [String]
|
9802
|
+
#
|
9803
|
+
# @!attribute [rw] sse_customer_key
|
9804
|
+
# The server-side encryption (SSE) customer managed key. This
|
9805
|
+
# parameter is needed only when the object was created using a
|
9806
|
+
# checksum algorithm. For more information, see [Protecting data using
|
9807
|
+
# SSE-C keys][1] in the *Amazon S3 User Guide*.
|
9808
|
+
#
|
9809
|
+
#
|
9810
|
+
#
|
9811
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html
|
9812
|
+
# @return [String]
|
9813
|
+
#
|
9814
|
+
# @!attribute [rw] sse_customer_key_md5
|
9815
|
+
# The MD5 server-side encryption (SSE) customer managed key. This
|
9816
|
+
# parameter is needed only when the object was created using a
|
9817
|
+
# checksum algorithm. For more information, see [Protecting data using
|
9818
|
+
# SSE-C keys][1] in the *Amazon S3 User Guide*.
|
9819
|
+
#
|
9820
|
+
#
|
9821
|
+
#
|
9822
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html
|
8976
9823
|
# @return [String]
|
8977
9824
|
#
|
8978
9825
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListPartsRequest AWS API Documentation
|
@@ -8984,8 +9831,11 @@ module Aws::S3
|
|
8984
9831
|
:part_number_marker,
|
8985
9832
|
:upload_id,
|
8986
9833
|
:request_payer,
|
8987
|
-
:expected_bucket_owner
|
8988
|
-
|
9834
|
+
:expected_bucket_owner,
|
9835
|
+
:sse_customer_algorithm,
|
9836
|
+
:sse_customer_key,
|
9837
|
+
:sse_customer_key_md5)
|
9838
|
+
SENSITIVE = [:sse_customer_key]
|
8989
9839
|
include Aws::Structure
|
8990
9840
|
end
|
8991
9841
|
|
@@ -9142,7 +9992,7 @@ module Aws::S3
|
|
9142
9992
|
# @return [Array<Types::Tag>]
|
9143
9993
|
#
|
9144
9994
|
# @!attribute [rw] access_point_arn
|
9145
|
-
# The access point ARN used when evaluating an AND predicate.
|
9995
|
+
# The access point ARN used when evaluating an `AND` predicate.
|
9146
9996
|
# @return [String]
|
9147
9997
|
#
|
9148
9998
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MetricsAndOperator AWS API Documentation
|
@@ -9300,6 +10150,10 @@ module Aws::S3
|
|
9300
10150
|
# Identifies who initiated the multipart upload.
|
9301
10151
|
# @return [Types::Initiator]
|
9302
10152
|
#
|
10153
|
+
# @!attribute [rw] checksum_algorithm
|
10154
|
+
# The algorithm that was used to create a checksum of the object.
|
10155
|
+
# @return [String]
|
10156
|
+
#
|
9303
10157
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MultipartUpload AWS API Documentation
|
9304
10158
|
#
|
9305
10159
|
class MultipartUpload < Struct.new(
|
@@ -9308,7 +10162,8 @@ module Aws::S3
|
|
9308
10162
|
:initiated,
|
9309
10163
|
:storage_class,
|
9310
10164
|
:owner,
|
9311
|
-
:initiator
|
10165
|
+
:initiator,
|
10166
|
+
:checksum_algorithm)
|
9312
10167
|
SENSITIVE = []
|
9313
10168
|
include Aws::Structure
|
9314
10169
|
end
|
@@ -9645,6 +10500,10 @@ module Aws::S3
|
|
9645
10500
|
# method of encryption.
|
9646
10501
|
# @return [String]
|
9647
10502
|
#
|
10503
|
+
# @!attribute [rw] checksum_algorithm
|
10504
|
+
# The algorithm that was used to create a checksum of the object.
|
10505
|
+
# @return [Array<String>]
|
10506
|
+
#
|
9648
10507
|
# @!attribute [rw] size
|
9649
10508
|
# Size in bytes of the object
|
9650
10509
|
# @return [Integer]
|
@@ -9663,6 +10522,7 @@ module Aws::S3
|
|
9663
10522
|
:key,
|
9664
10523
|
:last_modified,
|
9665
10524
|
:etag,
|
10525
|
+
:checksum_algorithm,
|
9666
10526
|
:size,
|
9667
10527
|
:storage_class,
|
9668
10528
|
:owner)
|
@@ -9750,7 +10610,7 @@ module Aws::S3
|
|
9750
10610
|
include Aws::Structure
|
9751
10611
|
end
|
9752
10612
|
|
9753
|
-
# A
|
10613
|
+
# A legal hold configuration for an object.
|
9754
10614
|
#
|
9755
10615
|
# @note When making an API call, you may pass ObjectLockLegalHold
|
9756
10616
|
# data as a hash:
|
@@ -9760,7 +10620,7 @@ module Aws::S3
|
|
9760
10620
|
# }
|
9761
10621
|
#
|
9762
10622
|
# @!attribute [rw] status
|
9763
|
-
# Indicates whether the specified object has a
|
10623
|
+
# Indicates whether the specified object has a legal hold in place.
|
9764
10624
|
# @return [String]
|
9765
10625
|
#
|
9766
10626
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockLegalHold AWS API Documentation
|
@@ -9834,12 +10694,91 @@ module Aws::S3
|
|
9834
10694
|
#
|
9835
10695
|
class ObjectNotInActiveTierError < Aws::EmptyStructure; end
|
9836
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
|
+
|
9837
10772
|
# The version of an object.
|
9838
10773
|
#
|
9839
10774
|
# @!attribute [rw] etag
|
9840
10775
|
# The entity tag is an MD5 hash of that version of the object.
|
9841
10776
|
# @return [String]
|
9842
10777
|
#
|
10778
|
+
# @!attribute [rw] checksum_algorithm
|
10779
|
+
# The algorithm that was used to create a checksum of the object.
|
10780
|
+
# @return [Array<String>]
|
10781
|
+
#
|
9843
10782
|
# @!attribute [rw] size
|
9844
10783
|
# Size in bytes of the object.
|
9845
10784
|
# @return [Integer]
|
@@ -9873,6 +10812,7 @@ module Aws::S3
|
|
9873
10812
|
#
|
9874
10813
|
class ObjectVersion < Struct.new(
|
9875
10814
|
:etag,
|
10815
|
+
:checksum_algorithm,
|
9876
10816
|
:size,
|
9877
10817
|
:storage_class,
|
9878
10818
|
:key,
|
@@ -10092,13 +11032,67 @@ module Aws::S3
|
|
10092
11032
|
# Size in bytes of the uploaded part data.
|
10093
11033
|
# @return [Integer]
|
10094
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
|
+
#
|
10095
11085
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Part AWS API Documentation
|
10096
11086
|
#
|
10097
11087
|
class Part < Struct.new(
|
10098
11088
|
:part_number,
|
10099
11089
|
:last_modified,
|
10100
11090
|
:etag,
|
10101
|
-
:size
|
11091
|
+
:size,
|
11092
|
+
:checksum_crc32,
|
11093
|
+
:checksum_crc32c,
|
11094
|
+
:checksum_sha1,
|
11095
|
+
:checksum_sha256)
|
10102
11096
|
SENSITIVE = []
|
10103
11097
|
include Aws::Structure
|
10104
11098
|
end
|
@@ -10183,7 +11177,7 @@ module Aws::S3
|
|
10183
11177
|
# (ACLs) for this bucket and objects in this bucket. Setting this
|
10184
11178
|
# element to `TRUE` causes the following behavior:
|
10185
11179
|
#
|
10186
|
-
# * PUT Bucket
|
11180
|
+
# * PUT Bucket ACL and PUT Object ACL calls fail if the specified ACL
|
10187
11181
|
# is public.
|
10188
11182
|
#
|
10189
11183
|
# * PUT Object calls fail if the request includes a public ACL.
|
@@ -10244,6 +11238,7 @@ module Aws::S3
|
|
10244
11238
|
# status: "Enabled", # accepts Enabled, Suspended
|
10245
11239
|
# },
|
10246
11240
|
# expected_bucket_owner: "AccountId",
|
11241
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
10247
11242
|
# }
|
10248
11243
|
#
|
10249
11244
|
# @!attribute [rw] bucket
|
@@ -10257,8 +11252,25 @@ module Aws::S3
|
|
10257
11252
|
#
|
10258
11253
|
# @!attribute [rw] expected_bucket_owner
|
10259
11254
|
# The account ID of the expected bucket owner. If the bucket is owned
|
10260
|
-
# by a different account, the request
|
10261
|
-
# (
|
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
|
10262
11274
|
# @return [String]
|
10263
11275
|
#
|
10264
11276
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAccelerateConfigurationRequest AWS API Documentation
|
@@ -10266,7 +11278,8 @@ module Aws::S3
|
|
10266
11278
|
class PutBucketAccelerateConfigurationRequest < Struct.new(
|
10267
11279
|
:bucket,
|
10268
11280
|
:accelerate_configuration,
|
10269
|
-
:expected_bucket_owner
|
11281
|
+
:expected_bucket_owner,
|
11282
|
+
:checksum_algorithm)
|
10270
11283
|
SENSITIVE = []
|
10271
11284
|
include Aws::Structure
|
10272
11285
|
end
|
@@ -10296,6 +11309,7 @@ module Aws::S3
|
|
10296
11309
|
# },
|
10297
11310
|
# bucket: "BucketName", # required
|
10298
11311
|
# content_md5: "ContentMD5",
|
11312
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
10299
11313
|
# grant_full_control: "GrantFullControl",
|
10300
11314
|
# grant_read: "GrantRead",
|
10301
11315
|
# grant_read_acp: "GrantReadACP",
|
@@ -10332,6 +11346,23 @@ module Aws::S3
|
|
10332
11346
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
10333
11347
|
# @return [String]
|
10334
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
|
+
#
|
10335
11366
|
# @!attribute [rw] grant_full_control
|
10336
11367
|
# Allows grantee the read, write, read ACP, and write ACP permissions
|
10337
11368
|
# on the bucket.
|
@@ -10358,8 +11389,8 @@ module Aws::S3
|
|
10358
11389
|
#
|
10359
11390
|
# @!attribute [rw] expected_bucket_owner
|
10360
11391
|
# The account ID of the expected bucket owner. If the bucket is owned
|
10361
|
-
# by a different account, the request
|
10362
|
-
# (
|
11392
|
+
# by a different account, the request fails with the HTTP status code
|
11393
|
+
# `403 Forbidden` (access denied).
|
10363
11394
|
# @return [String]
|
10364
11395
|
#
|
10365
11396
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAclRequest AWS API Documentation
|
@@ -10369,6 +11400,7 @@ module Aws::S3
|
|
10369
11400
|
:access_control_policy,
|
10370
11401
|
:bucket,
|
10371
11402
|
:content_md5,
|
11403
|
+
:checksum_algorithm,
|
10372
11404
|
:grant_full_control,
|
10373
11405
|
:grant_read,
|
10374
11406
|
:grant_read_acp,
|
@@ -10435,8 +11467,8 @@ module Aws::S3
|
|
10435
11467
|
#
|
10436
11468
|
# @!attribute [rw] expected_bucket_owner
|
10437
11469
|
# The account ID of the expected bucket owner. If the bucket is owned
|
10438
|
-
# by a different account, the request
|
10439
|
-
# (
|
11470
|
+
# by a different account, the request fails with the HTTP status code
|
11471
|
+
# `403 Forbidden` (access denied).
|
10440
11472
|
# @return [String]
|
10441
11473
|
#
|
10442
11474
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketAnalyticsConfigurationRequest AWS API Documentation
|
@@ -10468,6 +11500,7 @@ module Aws::S3
|
|
10468
11500
|
# ],
|
10469
11501
|
# },
|
10470
11502
|
# content_md5: "ContentMD5",
|
11503
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
10471
11504
|
# expected_bucket_owner: "AccountId",
|
10472
11505
|
# }
|
10473
11506
|
#
|
@@ -10500,10 +11533,27 @@ module Aws::S3
|
|
10500
11533
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
10501
11534
|
# @return [String]
|
10502
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
|
+
#
|
10503
11553
|
# @!attribute [rw] expected_bucket_owner
|
10504
11554
|
# The account ID of the expected bucket owner. If the bucket is owned
|
10505
|
-
# by a different account, the request
|
10506
|
-
# (
|
11555
|
+
# by a different account, the request fails with the HTTP status code
|
11556
|
+
# `403 Forbidden` (access denied).
|
10507
11557
|
# @return [String]
|
10508
11558
|
#
|
10509
11559
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketCorsRequest AWS API Documentation
|
@@ -10512,6 +11562,7 @@ module Aws::S3
|
|
10512
11562
|
:bucket,
|
10513
11563
|
:cors_configuration,
|
10514
11564
|
:content_md5,
|
11565
|
+
:checksum_algorithm,
|
10515
11566
|
:expected_bucket_owner)
|
10516
11567
|
SENSITIVE = []
|
10517
11568
|
include Aws::Structure
|
@@ -10523,6 +11574,7 @@ module Aws::S3
|
|
10523
11574
|
# {
|
10524
11575
|
# bucket: "BucketName", # required
|
10525
11576
|
# content_md5: "ContentMD5",
|
11577
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
10526
11578
|
# server_side_encryption_configuration: { # required
|
10527
11579
|
# rules: [ # required
|
10528
11580
|
# {
|
@@ -10558,14 +11610,31 @@ module Aws::S3
|
|
10558
11610
|
# calculated automatically.
|
10559
11611
|
# @return [String]
|
10560
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
|
+
#
|
10561
11630
|
# @!attribute [rw] server_side_encryption_configuration
|
10562
11631
|
# Specifies the default server-side-encryption configuration.
|
10563
11632
|
# @return [Types::ServerSideEncryptionConfiguration]
|
10564
11633
|
#
|
10565
11634
|
# @!attribute [rw] expected_bucket_owner
|
10566
11635
|
# The account ID of the expected bucket owner. If the bucket is owned
|
10567
|
-
# by a different account, the request
|
10568
|
-
# (
|
11636
|
+
# by a different account, the request fails with the HTTP status code
|
11637
|
+
# `403 Forbidden` (access denied).
|
10569
11638
|
# @return [String]
|
10570
11639
|
#
|
10571
11640
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketEncryptionRequest AWS API Documentation
|
@@ -10573,6 +11642,7 @@ module Aws::S3
|
|
10573
11642
|
class PutBucketEncryptionRequest < Struct.new(
|
10574
11643
|
:bucket,
|
10575
11644
|
:content_md5,
|
11645
|
+
:checksum_algorithm,
|
10576
11646
|
:server_side_encryption_configuration,
|
10577
11647
|
:expected_bucket_owner)
|
10578
11648
|
SENSITIVE = []
|
@@ -10664,7 +11734,7 @@ module Aws::S3
|
|
10664
11734
|
# },
|
10665
11735
|
# id: "InventoryId", # required
|
10666
11736
|
# included_object_versions: "All", # required, accepts All, Current
|
10667
|
-
# optional_fields: ["Size"], # accepts Size, LastModifiedDate, StorageClass, ETag, IsMultipartUploaded, ReplicationStatus, EncryptionStatus, ObjectLockRetainUntilDate, ObjectLockMode, ObjectLockLegalHoldStatus, IntelligentTieringAccessTier, BucketKeyStatus
|
11737
|
+
# optional_fields: ["Size"], # accepts Size, LastModifiedDate, StorageClass, ETag, IsMultipartUploaded, ReplicationStatus, EncryptionStatus, ObjectLockRetainUntilDate, ObjectLockMode, ObjectLockLegalHoldStatus, IntelligentTieringAccessTier, BucketKeyStatus, ChecksumAlgorithm
|
10668
11738
|
# schedule: { # required
|
10669
11739
|
# frequency: "Daily", # required, accepts Daily, Weekly
|
10670
11740
|
# },
|
@@ -10687,8 +11757,8 @@ module Aws::S3
|
|
10687
11757
|
#
|
10688
11758
|
# @!attribute [rw] expected_bucket_owner
|
10689
11759
|
# The account ID of the expected bucket owner. If the bucket is owned
|
10690
|
-
# by a different account, the request
|
10691
|
-
# (
|
11760
|
+
# by a different account, the request fails with the HTTP status code
|
11761
|
+
# `403 Forbidden` (access denied).
|
10692
11762
|
# @return [String]
|
10693
11763
|
#
|
10694
11764
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketInventoryConfigurationRequest AWS API Documentation
|
@@ -10707,6 +11777,7 @@ module Aws::S3
|
|
10707
11777
|
#
|
10708
11778
|
# {
|
10709
11779
|
# bucket: "BucketName", # required
|
11780
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
10710
11781
|
# lifecycle_configuration: {
|
10711
11782
|
# rules: [ # required
|
10712
11783
|
# {
|
@@ -10765,8 +11836,25 @@ module Aws::S3
|
|
10765
11836
|
# expected_bucket_owner: "AccountId",
|
10766
11837
|
# }
|
10767
11838
|
#
|
10768
|
-
# @!attribute [rw] bucket
|
10769
|
-
# 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
|
10770
11858
|
# @return [String]
|
10771
11859
|
#
|
10772
11860
|
# @!attribute [rw] lifecycle_configuration
|
@@ -10775,14 +11863,15 @@ module Aws::S3
|
|
10775
11863
|
#
|
10776
11864
|
# @!attribute [rw] expected_bucket_owner
|
10777
11865
|
# The account ID of the expected bucket owner. If the bucket is owned
|
10778
|
-
# by a different account, the request
|
10779
|
-
# (
|
11866
|
+
# by a different account, the request fails with the HTTP status code
|
11867
|
+
# `403 Forbidden` (access denied).
|
10780
11868
|
# @return [String]
|
10781
11869
|
#
|
10782
11870
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleConfigurationRequest AWS API Documentation
|
10783
11871
|
#
|
10784
11872
|
class PutBucketLifecycleConfigurationRequest < Struct.new(
|
10785
11873
|
:bucket,
|
11874
|
+
:checksum_algorithm,
|
10786
11875
|
:lifecycle_configuration,
|
10787
11876
|
:expected_bucket_owner)
|
10788
11877
|
SENSITIVE = []
|
@@ -10795,6 +11884,7 @@ module Aws::S3
|
|
10795
11884
|
# {
|
10796
11885
|
# bucket: "BucketName", # required
|
10797
11886
|
# content_md5: "ContentMD5",
|
11887
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
10798
11888
|
# lifecycle_configuration: {
|
10799
11889
|
# rules: [ # required
|
10800
11890
|
# {
|
@@ -10838,13 +11928,30 @@ module Aws::S3
|
|
10838
11928
|
# calculated automatically.
|
10839
11929
|
# @return [String]
|
10840
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
|
+
#
|
10841
11948
|
# @!attribute [rw] lifecycle_configuration
|
10842
11949
|
# @return [Types::LifecycleConfiguration]
|
10843
11950
|
#
|
10844
11951
|
# @!attribute [rw] expected_bucket_owner
|
10845
11952
|
# The account ID of the expected bucket owner. If the bucket is owned
|
10846
|
-
# by a different account, the request
|
10847
|
-
# (
|
11953
|
+
# by a different account, the request fails with the HTTP status code
|
11954
|
+
# `403 Forbidden` (access denied).
|
10848
11955
|
# @return [String]
|
10849
11956
|
#
|
10850
11957
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLifecycleRequest AWS API Documentation
|
@@ -10852,6 +11959,7 @@ module Aws::S3
|
|
10852
11959
|
class PutBucketLifecycleRequest < Struct.new(
|
10853
11960
|
:bucket,
|
10854
11961
|
:content_md5,
|
11962
|
+
:checksum_algorithm,
|
10855
11963
|
:lifecycle_configuration,
|
10856
11964
|
:expected_bucket_owner)
|
10857
11965
|
SENSITIVE = []
|
@@ -10882,6 +11990,7 @@ module Aws::S3
|
|
10882
11990
|
# },
|
10883
11991
|
# },
|
10884
11992
|
# content_md5: "ContentMD5",
|
11993
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
10885
11994
|
# expected_bucket_owner: "AccountId",
|
10886
11995
|
# }
|
10887
11996
|
#
|
@@ -10901,10 +12010,27 @@ module Aws::S3
|
|
10901
12010
|
# calculated automatically.
|
10902
12011
|
# @return [String]
|
10903
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
|
+
#
|
10904
12030
|
# @!attribute [rw] expected_bucket_owner
|
10905
12031
|
# The account ID of the expected bucket owner. If the bucket is owned
|
10906
|
-
# by a different account, the request
|
10907
|
-
# (
|
12032
|
+
# by a different account, the request fails with the HTTP status code
|
12033
|
+
# `403 Forbidden` (access denied).
|
10908
12034
|
# @return [String]
|
10909
12035
|
#
|
10910
12036
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketLoggingRequest AWS API Documentation
|
@@ -10913,6 +12039,7 @@ module Aws::S3
|
|
10913
12039
|
:bucket,
|
10914
12040
|
:bucket_logging_status,
|
10915
12041
|
:content_md5,
|
12042
|
+
:checksum_algorithm,
|
10916
12043
|
:expected_bucket_owner)
|
10917
12044
|
SENSITIVE = []
|
10918
12045
|
include Aws::Structure
|
@@ -10962,8 +12089,8 @@ module Aws::S3
|
|
10962
12089
|
#
|
10963
12090
|
# @!attribute [rw] expected_bucket_owner
|
10964
12091
|
# The account ID of the expected bucket owner. If the bucket is owned
|
10965
|
-
# by a different account, the request
|
10966
|
-
# (
|
12092
|
+
# by a different account, the request fails with the HTTP status code
|
12093
|
+
# `403 Forbidden` (access denied).
|
10967
12094
|
# @return [String]
|
10968
12095
|
#
|
10969
12096
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketMetricsConfigurationRequest AWS API Documentation
|
@@ -11053,8 +12180,8 @@ module Aws::S3
|
|
11053
12180
|
#
|
11054
12181
|
# @!attribute [rw] expected_bucket_owner
|
11055
12182
|
# The account ID of the expected bucket owner. If the bucket is owned
|
11056
|
-
# by a different account, the request
|
11057
|
-
# (
|
12183
|
+
# by a different account, the request fails with the HTTP status code
|
12184
|
+
# `403 Forbidden` (access denied).
|
11058
12185
|
# @return [String]
|
11059
12186
|
#
|
11060
12187
|
# @!attribute [rw] skip_destination_validation
|
@@ -11079,6 +12206,7 @@ module Aws::S3
|
|
11079
12206
|
# {
|
11080
12207
|
# bucket: "BucketName", # required
|
11081
12208
|
# content_md5: "ContentMD5",
|
12209
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
11082
12210
|
# notification_configuration: { # required
|
11083
12211
|
# topic_configuration: {
|
11084
12212
|
# id: "NotificationId",
|
@@ -11115,14 +12243,31 @@ module Aws::S3
|
|
11115
12243
|
# calculated automatically.
|
11116
12244
|
# @return [String]
|
11117
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
|
+
#
|
11118
12263
|
# @!attribute [rw] notification_configuration
|
11119
12264
|
# The container for the configuration.
|
11120
12265
|
# @return [Types::NotificationConfigurationDeprecated]
|
11121
12266
|
#
|
11122
12267
|
# @!attribute [rw] expected_bucket_owner
|
11123
12268
|
# The account ID of the expected bucket owner. If the bucket is owned
|
11124
|
-
# by a different account, the request
|
11125
|
-
# (
|
12269
|
+
# by a different account, the request fails with the HTTP status code
|
12270
|
+
# `403 Forbidden` (access denied).
|
11126
12271
|
# @return [String]
|
11127
12272
|
#
|
11128
12273
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketNotificationRequest AWS API Documentation
|
@@ -11130,6 +12275,7 @@ module Aws::S3
|
|
11130
12275
|
class PutBucketNotificationRequest < Struct.new(
|
11131
12276
|
:bucket,
|
11132
12277
|
:content_md5,
|
12278
|
+
:checksum_algorithm,
|
11133
12279
|
:notification_configuration,
|
11134
12280
|
:expected_bucket_owner)
|
11135
12281
|
SENSITIVE = []
|
@@ -11167,8 +12313,8 @@ module Aws::S3
|
|
11167
12313
|
#
|
11168
12314
|
# @!attribute [rw] expected_bucket_owner
|
11169
12315
|
# The account ID of the expected bucket owner. If the bucket is owned
|
11170
|
-
# by a different account, the request
|
11171
|
-
# (
|
12316
|
+
# by a different account, the request fails with the HTTP status code
|
12317
|
+
# `403 Forbidden` (access denied).
|
11172
12318
|
# @return [String]
|
11173
12319
|
#
|
11174
12320
|
# @!attribute [rw] ownership_controls
|
@@ -11193,6 +12339,7 @@ module Aws::S3
|
|
11193
12339
|
# {
|
11194
12340
|
# bucket: "BucketName", # required
|
11195
12341
|
# content_md5: "ContentMD5",
|
12342
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
11196
12343
|
# confirm_remove_self_bucket_access: false,
|
11197
12344
|
# policy: "Policy", # required
|
11198
12345
|
# expected_bucket_owner: "AccountId",
|
@@ -11210,6 +12357,23 @@ module Aws::S3
|
|
11210
12357
|
# calculated automatically.
|
11211
12358
|
# @return [String]
|
11212
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
|
+
#
|
11213
12377
|
# @!attribute [rw] confirm_remove_self_bucket_access
|
11214
12378
|
# Set this parameter to true to confirm that you want to remove your
|
11215
12379
|
# permissions to change this bucket policy in the future.
|
@@ -11221,8 +12385,8 @@ module Aws::S3
|
|
11221
12385
|
#
|
11222
12386
|
# @!attribute [rw] expected_bucket_owner
|
11223
12387
|
# The account ID of the expected bucket owner. If the bucket is owned
|
11224
|
-
# by a different account, the request
|
11225
|
-
# (
|
12388
|
+
# by a different account, the request fails with the HTTP status code
|
12389
|
+
# `403 Forbidden` (access denied).
|
11226
12390
|
# @return [String]
|
11227
12391
|
#
|
11228
12392
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketPolicyRequest AWS API Documentation
|
@@ -11230,6 +12394,7 @@ module Aws::S3
|
|
11230
12394
|
class PutBucketPolicyRequest < Struct.new(
|
11231
12395
|
:bucket,
|
11232
12396
|
:content_md5,
|
12397
|
+
:checksum_algorithm,
|
11233
12398
|
:confirm_remove_self_bucket_access,
|
11234
12399
|
:policy,
|
11235
12400
|
:expected_bucket_owner)
|
@@ -11243,6 +12408,7 @@ module Aws::S3
|
|
11243
12408
|
# {
|
11244
12409
|
# bucket: "BucketName", # required
|
11245
12410
|
# content_md5: "ContentMD5",
|
12411
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
11246
12412
|
# replication_configuration: { # required
|
11247
12413
|
# role: "Role", # required
|
11248
12414
|
# rules: [ # required
|
@@ -11330,6 +12496,23 @@ module Aws::S3
|
|
11330
12496
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
11331
12497
|
# @return [String]
|
11332
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
|
+
#
|
11333
12516
|
# @!attribute [rw] replication_configuration
|
11334
12517
|
# A container for replication rules. You can add up to 1,000 rules.
|
11335
12518
|
# The maximum size of a replication configuration is 2 MB.
|
@@ -11341,8 +12524,8 @@ module Aws::S3
|
|
11341
12524
|
#
|
11342
12525
|
# @!attribute [rw] expected_bucket_owner
|
11343
12526
|
# The account ID of the expected bucket owner. If the bucket is owned
|
11344
|
-
# by a different account, the request
|
11345
|
-
# (
|
12527
|
+
# by a different account, the request fails with the HTTP status code
|
12528
|
+
# `403 Forbidden` (access denied).
|
11346
12529
|
# @return [String]
|
11347
12530
|
#
|
11348
12531
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketReplicationRequest AWS API Documentation
|
@@ -11350,6 +12533,7 @@ module Aws::S3
|
|
11350
12533
|
class PutBucketReplicationRequest < Struct.new(
|
11351
12534
|
:bucket,
|
11352
12535
|
:content_md5,
|
12536
|
+
:checksum_algorithm,
|
11353
12537
|
:replication_configuration,
|
11354
12538
|
:token,
|
11355
12539
|
:expected_bucket_owner)
|
@@ -11363,6 +12547,7 @@ module Aws::S3
|
|
11363
12547
|
# {
|
11364
12548
|
# bucket: "BucketName", # required
|
11365
12549
|
# content_md5: "ContentMD5",
|
12550
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
11366
12551
|
# request_payment_configuration: { # required
|
11367
12552
|
# payer: "Requester", # required, accepts Requester, BucketOwner
|
11368
12553
|
# },
|
@@ -11388,14 +12573,31 @@ module Aws::S3
|
|
11388
12573
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
11389
12574
|
# @return [String]
|
11390
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
|
+
#
|
11391
12593
|
# @!attribute [rw] request_payment_configuration
|
11392
12594
|
# Container for Payer.
|
11393
12595
|
# @return [Types::RequestPaymentConfiguration]
|
11394
12596
|
#
|
11395
12597
|
# @!attribute [rw] expected_bucket_owner
|
11396
12598
|
# The account ID of the expected bucket owner. If the bucket is owned
|
11397
|
-
# by a different account, the request
|
11398
|
-
# (
|
12599
|
+
# by a different account, the request fails with the HTTP status code
|
12600
|
+
# `403 Forbidden` (access denied).
|
11399
12601
|
# @return [String]
|
11400
12602
|
#
|
11401
12603
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketRequestPaymentRequest AWS API Documentation
|
@@ -11403,6 +12605,7 @@ module Aws::S3
|
|
11403
12605
|
class PutBucketRequestPaymentRequest < Struct.new(
|
11404
12606
|
:bucket,
|
11405
12607
|
:content_md5,
|
12608
|
+
:checksum_algorithm,
|
11406
12609
|
:request_payment_configuration,
|
11407
12610
|
:expected_bucket_owner)
|
11408
12611
|
SENSITIVE = []
|
@@ -11415,6 +12618,7 @@ module Aws::S3
|
|
11415
12618
|
# {
|
11416
12619
|
# bucket: "BucketName", # required
|
11417
12620
|
# content_md5: "ContentMD5",
|
12621
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
11418
12622
|
# tagging: { # required
|
11419
12623
|
# tag_set: [ # required
|
11420
12624
|
# {
|
@@ -11445,14 +12649,31 @@ module Aws::S3
|
|
11445
12649
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
11446
12650
|
# @return [String]
|
11447
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
|
+
#
|
11448
12669
|
# @!attribute [rw] tagging
|
11449
12670
|
# Container for the `TagSet` and `Tag` elements.
|
11450
12671
|
# @return [Types::Tagging]
|
11451
12672
|
#
|
11452
12673
|
# @!attribute [rw] expected_bucket_owner
|
11453
12674
|
# The account ID of the expected bucket owner. If the bucket is owned
|
11454
|
-
# by a different account, the request
|
11455
|
-
# (
|
12675
|
+
# by a different account, the request fails with the HTTP status code
|
12676
|
+
# `403 Forbidden` (access denied).
|
11456
12677
|
# @return [String]
|
11457
12678
|
#
|
11458
12679
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketTaggingRequest AWS API Documentation
|
@@ -11460,6 +12681,7 @@ module Aws::S3
|
|
11460
12681
|
class PutBucketTaggingRequest < Struct.new(
|
11461
12682
|
:bucket,
|
11462
12683
|
:content_md5,
|
12684
|
+
:checksum_algorithm,
|
11463
12685
|
:tagging,
|
11464
12686
|
:expected_bucket_owner)
|
11465
12687
|
SENSITIVE = []
|
@@ -11472,6 +12694,7 @@ module Aws::S3
|
|
11472
12694
|
# {
|
11473
12695
|
# bucket: "BucketName", # required
|
11474
12696
|
# content_md5: "ContentMD5",
|
12697
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
11475
12698
|
# mfa: "MFA",
|
11476
12699
|
# versioning_configuration: { # required
|
11477
12700
|
# mfa_delete: "Enabled", # accepts Enabled, Disabled
|
@@ -11499,6 +12722,23 @@ module Aws::S3
|
|
11499
12722
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
11500
12723
|
# @return [String]
|
11501
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
|
+
#
|
11502
12742
|
# @!attribute [rw] mfa
|
11503
12743
|
# The concatenation of the authentication device's serial number, a
|
11504
12744
|
# space, and the value that is displayed on your authentication
|
@@ -11511,8 +12751,8 @@ module Aws::S3
|
|
11511
12751
|
#
|
11512
12752
|
# @!attribute [rw] expected_bucket_owner
|
11513
12753
|
# The account ID of the expected bucket owner. If the bucket is owned
|
11514
|
-
# by a different account, the request
|
11515
|
-
# (
|
12754
|
+
# by a different account, the request fails with the HTTP status code
|
12755
|
+
# `403 Forbidden` (access denied).
|
11516
12756
|
# @return [String]
|
11517
12757
|
#
|
11518
12758
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketVersioningRequest AWS API Documentation
|
@@ -11520,6 +12760,7 @@ module Aws::S3
|
|
11520
12760
|
class PutBucketVersioningRequest < Struct.new(
|
11521
12761
|
:bucket,
|
11522
12762
|
:content_md5,
|
12763
|
+
:checksum_algorithm,
|
11523
12764
|
:mfa,
|
11524
12765
|
:versioning_configuration,
|
11525
12766
|
:expected_bucket_owner)
|
@@ -11533,6 +12774,7 @@ module Aws::S3
|
|
11533
12774
|
# {
|
11534
12775
|
# bucket: "BucketName", # required
|
11535
12776
|
# content_md5: "ContentMD5",
|
12777
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
11536
12778
|
# website_configuration: { # required
|
11537
12779
|
# error_document: {
|
11538
12780
|
# key: "ObjectKey", # required
|
@@ -11582,14 +12824,31 @@ module Aws::S3
|
|
11582
12824
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
11583
12825
|
# @return [String]
|
11584
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
|
+
#
|
11585
12844
|
# @!attribute [rw] website_configuration
|
11586
12845
|
# Container for the request.
|
11587
12846
|
# @return [Types::WebsiteConfiguration]
|
11588
12847
|
#
|
11589
12848
|
# @!attribute [rw] expected_bucket_owner
|
11590
12849
|
# The account ID of the expected bucket owner. If the bucket is owned
|
11591
|
-
# by a different account, the request
|
11592
|
-
# (
|
12850
|
+
# by a different account, the request fails with the HTTP status code
|
12851
|
+
# `403 Forbidden` (access denied).
|
11593
12852
|
# @return [String]
|
11594
12853
|
#
|
11595
12854
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketWebsiteRequest AWS API Documentation
|
@@ -11597,6 +12856,7 @@ module Aws::S3
|
|
11597
12856
|
class PutBucketWebsiteRequest < Struct.new(
|
11598
12857
|
:bucket,
|
11599
12858
|
:content_md5,
|
12859
|
+
:checksum_algorithm,
|
11600
12860
|
:website_configuration,
|
11601
12861
|
:expected_bucket_owner)
|
11602
12862
|
SENSITIVE = []
|
@@ -11641,6 +12901,7 @@ module Aws::S3
|
|
11641
12901
|
# },
|
11642
12902
|
# bucket: "BucketName", # required
|
11643
12903
|
# content_md5: "ContentMD5",
|
12904
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
11644
12905
|
# grant_full_control: "GrantFullControl",
|
11645
12906
|
# grant_read: "GrantRead",
|
11646
12907
|
# grant_read_acp: "GrantReadACP",
|
@@ -11699,6 +12960,23 @@ module Aws::S3
|
|
11699
12960
|
# [1]: http://www.ietf.org/rfc/rfc1864.txt
|
11700
12961
|
# @return [String]
|
11701
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
|
+
#
|
11702
12980
|
# @!attribute [rw] grant_full_control
|
11703
12981
|
# Allows grantee the read, write, read ACP, and write ACP permissions
|
11704
12982
|
# on the bucket.
|
@@ -11745,12 +13023,12 @@ module Aws::S3
|
|
11745
13023
|
#
|
11746
13024
|
# When using this action with Amazon S3 on Outposts, you must direct
|
11747
13025
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
11748
|
-
# takes the form
|
11749
|
-
#
|
11750
|
-
# 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
|
11751
13029
|
# Services SDKs, you provide the Outposts bucket ARN in place of the
|
11752
13030
|
# bucket name. For more information about S3 on Outposts ARNs, see
|
11753
|
-
# [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
13031
|
+
# [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
11754
13032
|
#
|
11755
13033
|
#
|
11756
13034
|
#
|
@@ -11761,8 +13039,8 @@ module Aws::S3
|
|
11761
13039
|
# @!attribute [rw] request_payer
|
11762
13040
|
# Confirms that the requester knows that they will be charged for the
|
11763
13041
|
# request. Bucket owners need not specify this parameter in their
|
11764
|
-
# requests. For information about downloading objects from
|
11765
|
-
#
|
13042
|
+
# requests. For information about downloading objects from Requester
|
13043
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
11766
13044
|
# in the *Amazon S3 User Guide*.
|
11767
13045
|
#
|
11768
13046
|
#
|
@@ -11776,8 +13054,8 @@ module Aws::S3
|
|
11776
13054
|
#
|
11777
13055
|
# @!attribute [rw] expected_bucket_owner
|
11778
13056
|
# The account ID of the expected bucket owner. If the bucket is owned
|
11779
|
-
# by a different account, the request
|
11780
|
-
# (
|
13057
|
+
# by a different account, the request fails with the HTTP status code
|
13058
|
+
# `403 Forbidden` (access denied).
|
11781
13059
|
# @return [String]
|
11782
13060
|
#
|
11783
13061
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectAclRequest AWS API Documentation
|
@@ -11787,6 +13065,7 @@ module Aws::S3
|
|
11787
13065
|
:access_control_policy,
|
11788
13066
|
:bucket,
|
11789
13067
|
:content_md5,
|
13068
|
+
:checksum_algorithm,
|
11790
13069
|
:grant_full_control,
|
11791
13070
|
:grant_read,
|
11792
13071
|
:grant_read_acp,
|
@@ -11825,12 +13104,13 @@ module Aws::S3
|
|
11825
13104
|
# request_payer: "requester", # accepts requester
|
11826
13105
|
# version_id: "ObjectVersionId",
|
11827
13106
|
# content_md5: "ContentMD5",
|
13107
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
11828
13108
|
# expected_bucket_owner: "AccountId",
|
11829
13109
|
# }
|
11830
13110
|
#
|
11831
13111
|
# @!attribute [rw] bucket
|
11832
|
-
# The bucket name containing the object that you want to place a
|
11833
|
-
#
|
13112
|
+
# The bucket name containing the object that you want to place a legal
|
13113
|
+
# hold on.
|
11834
13114
|
#
|
11835
13115
|
# When using this action with an access point, you must direct
|
11836
13116
|
# requests to the access point hostname. The access point hostname
|
@@ -11847,19 +13127,19 @@ module Aws::S3
|
|
11847
13127
|
# @return [String]
|
11848
13128
|
#
|
11849
13129
|
# @!attribute [rw] key
|
11850
|
-
# 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.
|
11851
13131
|
# @return [String]
|
11852
13132
|
#
|
11853
13133
|
# @!attribute [rw] legal_hold
|
11854
|
-
# Container element for the
|
13134
|
+
# Container element for the legal hold configuration you want to apply
|
11855
13135
|
# to the specified object.
|
11856
13136
|
# @return [Types::ObjectLockLegalHold]
|
11857
13137
|
#
|
11858
13138
|
# @!attribute [rw] request_payer
|
11859
13139
|
# Confirms that the requester knows that they will be charged for the
|
11860
13140
|
# request. Bucket owners need not specify this parameter in their
|
11861
|
-
# requests. For information about downloading objects from
|
11862
|
-
#
|
13141
|
+
# requests. For information about downloading objects from Requester
|
13142
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
11863
13143
|
# in the *Amazon S3 User Guide*.
|
11864
13144
|
#
|
11865
13145
|
#
|
@@ -11868,7 +13148,7 @@ module Aws::S3
|
|
11868
13148
|
# @return [String]
|
11869
13149
|
#
|
11870
13150
|
# @!attribute [rw] version_id
|
11871
|
-
# 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.
|
11872
13152
|
# @return [String]
|
11873
13153
|
#
|
11874
13154
|
# @!attribute [rw] content_md5
|
@@ -11879,10 +13159,27 @@ module Aws::S3
|
|
11879
13159
|
# calculated automatically.
|
11880
13160
|
# @return [String]
|
11881
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
|
+
#
|
11882
13179
|
# @!attribute [rw] expected_bucket_owner
|
11883
13180
|
# The account ID of the expected bucket owner. If the bucket is owned
|
11884
|
-
# by a different account, the request
|
11885
|
-
# (
|
13181
|
+
# by a different account, the request fails with the HTTP status code
|
13182
|
+
# `403 Forbidden` (access denied).
|
11886
13183
|
# @return [String]
|
11887
13184
|
#
|
11888
13185
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLegalHoldRequest AWS API Documentation
|
@@ -11894,6 +13191,7 @@ module Aws::S3
|
|
11894
13191
|
:request_payer,
|
11895
13192
|
:version_id,
|
11896
13193
|
:content_md5,
|
13194
|
+
:checksum_algorithm,
|
11897
13195
|
:expected_bucket_owner)
|
11898
13196
|
SENSITIVE = []
|
11899
13197
|
include Aws::Structure
|
@@ -11930,6 +13228,7 @@ module Aws::S3
|
|
11930
13228
|
# request_payer: "requester", # accepts requester
|
11931
13229
|
# token: "ObjectLockToken",
|
11932
13230
|
# content_md5: "ContentMD5",
|
13231
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
11933
13232
|
# expected_bucket_owner: "AccountId",
|
11934
13233
|
# }
|
11935
13234
|
#
|
@@ -11946,8 +13245,8 @@ module Aws::S3
|
|
11946
13245
|
# @!attribute [rw] request_payer
|
11947
13246
|
# Confirms that the requester knows that they will be charged for the
|
11948
13247
|
# request. Bucket owners need not specify this parameter in their
|
11949
|
-
# requests. For information about downloading objects from
|
11950
|
-
#
|
13248
|
+
# requests. For information about downloading objects from Requester
|
13249
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
11951
13250
|
# in the *Amazon S3 User Guide*.
|
11952
13251
|
#
|
11953
13252
|
#
|
@@ -11967,10 +13266,27 @@ module Aws::S3
|
|
11967
13266
|
# calculated automatically.
|
11968
13267
|
# @return [String]
|
11969
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
|
+
#
|
11970
13286
|
# @!attribute [rw] expected_bucket_owner
|
11971
13287
|
# The account ID of the expected bucket owner. If the bucket is owned
|
11972
|
-
# by a different account, the request
|
11973
|
-
# (
|
13288
|
+
# by a different account, the request fails with the HTTP status code
|
13289
|
+
# `403 Forbidden` (access denied).
|
11974
13290
|
# @return [String]
|
11975
13291
|
#
|
11976
13292
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectLockConfigurationRequest AWS API Documentation
|
@@ -11981,6 +13297,7 @@ module Aws::S3
|
|
11981
13297
|
:request_payer,
|
11982
13298
|
:token,
|
11983
13299
|
:content_md5,
|
13300
|
+
:checksum_algorithm,
|
11984
13301
|
:expected_bucket_owner)
|
11985
13302
|
SENSITIVE = []
|
11986
13303
|
include Aws::Structure
|
@@ -11989,9 +13306,9 @@ module Aws::S3
|
|
11989
13306
|
# @!attribute [rw] expiration
|
11990
13307
|
# If the expiration is configured for the object (see
|
11991
13308
|
# [PutBucketLifecycleConfiguration][1]), the response includes this
|
11992
|
-
# header. It includes the expiry-date and rule-id key-value pairs
|
11993
|
-
# provide information about object expiration. The value of the
|
11994
|
-
# 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.
|
11995
13312
|
#
|
11996
13313
|
#
|
11997
13314
|
#
|
@@ -12002,6 +13319,58 @@ module Aws::S3
|
|
12002
13319
|
# Entity tag for the uploaded object.
|
12003
13320
|
# @return [String]
|
12004
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
|
+
#
|
12005
13374
|
# @!attribute [rw] server_side_encryption
|
12006
13375
|
# If you specified server-side encryption either with an Amazon Web
|
12007
13376
|
# Services KMS key or Amazon S3-managed encryption key in your PUT
|
@@ -12055,6 +13424,10 @@ module Aws::S3
|
|
12055
13424
|
class PutObjectOutput < Struct.new(
|
12056
13425
|
:expiration,
|
12057
13426
|
:etag,
|
13427
|
+
:checksum_crc32,
|
13428
|
+
:checksum_crc32c,
|
13429
|
+
:checksum_sha1,
|
13430
|
+
:checksum_sha256,
|
12058
13431
|
:server_side_encryption,
|
12059
13432
|
:version_id,
|
12060
13433
|
:sse_customer_algorithm,
|
@@ -12081,6 +13454,11 @@ module Aws::S3
|
|
12081
13454
|
# content_length: 1,
|
12082
13455
|
# content_md5: "ContentMD5",
|
12083
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",
|
12084
13462
|
# expires: Time.now,
|
12085
13463
|
# grant_full_control: "GrantFullControl",
|
12086
13464
|
# grant_read: "GrantRead",
|
@@ -12136,12 +13514,12 @@ module Aws::S3
|
|
12136
13514
|
#
|
12137
13515
|
# When using this action with Amazon S3 on Outposts, you must direct
|
12138
13516
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
12139
|
-
# takes the form
|
12140
|
-
#
|
12141
|
-
# 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
|
12142
13520
|
# Services SDKs, you provide the Outposts bucket ARN in place of the
|
12143
13521
|
# bucket name. For more information about S3 on Outposts ARNs, see
|
12144
|
-
# [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
13522
|
+
# [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
12145
13523
|
#
|
12146
13524
|
#
|
12147
13525
|
#
|
@@ -12220,6 +13598,71 @@ module Aws::S3
|
|
12220
13598
|
# [1]: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17
|
12221
13599
|
# @return [String]
|
12222
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
|
+
#
|
12223
13666
|
# @!attribute [rw] expires
|
12224
13667
|
# The date and time at which the object is no longer cacheable. For
|
12225
13668
|
# more information, see
|
@@ -12360,8 +13803,8 @@ module Aws::S3
|
|
12360
13803
|
# @!attribute [rw] request_payer
|
12361
13804
|
# Confirms that the requester knows that they will be charged for the
|
12362
13805
|
# request. Bucket owners need not specify this parameter in their
|
12363
|
-
# requests. For information about downloading objects from
|
12364
|
-
#
|
13806
|
+
# requests. For information about downloading objects from Requester
|
13807
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
12365
13808
|
# in the *Amazon S3 User Guide*.
|
12366
13809
|
#
|
12367
13810
|
#
|
@@ -12394,8 +13837,8 @@ module Aws::S3
|
|
12394
13837
|
#
|
12395
13838
|
# @!attribute [rw] expected_bucket_owner
|
12396
13839
|
# The account ID of the expected bucket owner. If the bucket is owned
|
12397
|
-
# by a different account, the request
|
12398
|
-
# (
|
13840
|
+
# by a different account, the request fails with the HTTP status code
|
13841
|
+
# `403 Forbidden` (access denied).
|
12399
13842
|
# @return [String]
|
12400
13843
|
#
|
12401
13844
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectRequest AWS API Documentation
|
@@ -12411,6 +13854,11 @@ module Aws::S3
|
|
12411
13854
|
:content_length,
|
12412
13855
|
:content_md5,
|
12413
13856
|
:content_type,
|
13857
|
+
:checksum_algorithm,
|
13858
|
+
:checksum_crc32,
|
13859
|
+
:checksum_crc32c,
|
13860
|
+
:checksum_sha1,
|
13861
|
+
:checksum_sha256,
|
12414
13862
|
:expires,
|
12415
13863
|
:grant_full_control,
|
12416
13864
|
:grant_read,
|
@@ -12464,6 +13912,7 @@ module Aws::S3
|
|
12464
13912
|
# version_id: "ObjectVersionId",
|
12465
13913
|
# bypass_governance_retention: false,
|
12466
13914
|
# content_md5: "ContentMD5",
|
13915
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
12467
13916
|
# expected_bucket_owner: "AccountId",
|
12468
13917
|
# }
|
12469
13918
|
#
|
@@ -12497,8 +13946,8 @@ module Aws::S3
|
|
12497
13946
|
# @!attribute [rw] request_payer
|
12498
13947
|
# Confirms that the requester knows that they will be charged for the
|
12499
13948
|
# request. Bucket owners need not specify this parameter in their
|
12500
|
-
# requests. For information about downloading objects from
|
12501
|
-
#
|
13949
|
+
# requests. For information about downloading objects from Requester
|
13950
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
12502
13951
|
# in the *Amazon S3 User Guide*.
|
12503
13952
|
#
|
12504
13953
|
#
|
@@ -12524,10 +13973,27 @@ module Aws::S3
|
|
12524
13973
|
# calculated automatically.
|
12525
13974
|
# @return [String]
|
12526
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
|
+
#
|
12527
13993
|
# @!attribute [rw] expected_bucket_owner
|
12528
13994
|
# The account ID of the expected bucket owner. If the bucket is owned
|
12529
|
-
# by a different account, the request
|
12530
|
-
# (
|
13995
|
+
# by a different account, the request fails with the HTTP status code
|
13996
|
+
# `403 Forbidden` (access denied).
|
12531
13997
|
# @return [String]
|
12532
13998
|
#
|
12533
13999
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutObjectRetentionRequest AWS API Documentation
|
@@ -12540,6 +14006,7 @@ module Aws::S3
|
|
12540
14006
|
:version_id,
|
12541
14007
|
:bypass_governance_retention,
|
12542
14008
|
:content_md5,
|
14009
|
+
:checksum_algorithm,
|
12543
14010
|
:expected_bucket_owner)
|
12544
14011
|
SENSITIVE = []
|
12545
14012
|
include Aws::Structure
|
@@ -12565,6 +14032,7 @@ module Aws::S3
|
|
12565
14032
|
# key: "ObjectKey", # required
|
12566
14033
|
# version_id: "ObjectVersionId",
|
12567
14034
|
# content_md5: "ContentMD5",
|
14035
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
12568
14036
|
# tagging: { # required
|
12569
14037
|
# tag_set: [ # required
|
12570
14038
|
# {
|
@@ -12591,12 +14059,12 @@ module Aws::S3
|
|
12591
14059
|
#
|
12592
14060
|
# When using this action with Amazon S3 on Outposts, you must direct
|
12593
14061
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
12594
|
-
# takes the form
|
12595
|
-
#
|
12596
|
-
# 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
|
12597
14065
|
# Services SDKs, you provide the Outposts bucket ARN in place of the
|
12598
14066
|
# bucket name. For more information about S3 on Outposts ARNs, see
|
12599
|
-
# [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
14067
|
+
# [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
12600
14068
|
#
|
12601
14069
|
#
|
12602
14070
|
#
|
@@ -12620,21 +14088,38 @@ module Aws::S3
|
|
12620
14088
|
# calculated automatically.
|
12621
14089
|
# @return [String]
|
12622
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
|
+
#
|
12623
14108
|
# @!attribute [rw] tagging
|
12624
14109
|
# Container for the `TagSet` and `Tag` elements
|
12625
14110
|
# @return [Types::Tagging]
|
12626
14111
|
#
|
12627
14112
|
# @!attribute [rw] expected_bucket_owner
|
12628
14113
|
# The account ID of the expected bucket owner. If the bucket is owned
|
12629
|
-
# by a different account, the request
|
12630
|
-
# (
|
14114
|
+
# by a different account, the request fails with the HTTP status code
|
14115
|
+
# `403 Forbidden` (access denied).
|
12631
14116
|
# @return [String]
|
12632
14117
|
#
|
12633
14118
|
# @!attribute [rw] request_payer
|
12634
14119
|
# Confirms that the requester knows that they will be charged for the
|
12635
14120
|
# request. Bucket owners need not specify this parameter in their
|
12636
|
-
# requests. For information about downloading objects from
|
12637
|
-
#
|
14121
|
+
# requests. For information about downloading objects from Requester
|
14122
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
12638
14123
|
# in the *Amazon S3 User Guide*.
|
12639
14124
|
#
|
12640
14125
|
#
|
@@ -12649,6 +14134,7 @@ module Aws::S3
|
|
12649
14134
|
:key,
|
12650
14135
|
:version_id,
|
12651
14136
|
:content_md5,
|
14137
|
+
:checksum_algorithm,
|
12652
14138
|
:tagging,
|
12653
14139
|
:expected_bucket_owner,
|
12654
14140
|
:request_payer)
|
@@ -12662,6 +14148,7 @@ module Aws::S3
|
|
12662
14148
|
# {
|
12663
14149
|
# bucket: "BucketName", # required
|
12664
14150
|
# content_md5: "ContentMD5",
|
14151
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
12665
14152
|
# public_access_block_configuration: { # required
|
12666
14153
|
# block_public_acls: false,
|
12667
14154
|
# ignore_public_acls: false,
|
@@ -12684,6 +14171,23 @@ module Aws::S3
|
|
12684
14171
|
# calculated automatically.
|
12685
14172
|
# @return [String]
|
12686
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
|
+
#
|
12687
14191
|
# @!attribute [rw] public_access_block_configuration
|
12688
14192
|
# The `PublicAccessBlock` configuration that you want to apply to this
|
12689
14193
|
# Amazon S3 bucket. You can enable the configuration options in any
|
@@ -12698,8 +14202,8 @@ module Aws::S3
|
|
12698
14202
|
#
|
12699
14203
|
# @!attribute [rw] expected_bucket_owner
|
12700
14204
|
# The account ID of the expected bucket owner. If the bucket is owned
|
12701
|
-
# by a different account, the request
|
12702
|
-
# (
|
14205
|
+
# by a different account, the request fails with the HTTP status code
|
14206
|
+
# `403 Forbidden` (access denied).
|
12703
14207
|
# @return [String]
|
12704
14208
|
#
|
12705
14209
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutPublicAccessBlockRequest AWS API Documentation
|
@@ -12707,6 +14211,7 @@ module Aws::S3
|
|
12707
14211
|
class PutPublicAccessBlockRequest < Struct.new(
|
12708
14212
|
:bucket,
|
12709
14213
|
:content_md5,
|
14214
|
+
:checksum_algorithm,
|
12710
14215
|
:public_access_block_configuration,
|
12711
14216
|
:expected_bucket_owner)
|
12712
14217
|
SENSITIVE = []
|
@@ -13556,6 +15061,7 @@ module Aws::S3
|
|
13556
15061
|
# },
|
13557
15062
|
# },
|
13558
15063
|
# request_payer: "requester", # accepts requester
|
15064
|
+
# checksum_algorithm: "CRC32", # accepts CRC32, CRC32C, SHA1, SHA256
|
13559
15065
|
# expected_bucket_owner: "AccountId",
|
13560
15066
|
# }
|
13561
15067
|
#
|
@@ -13573,12 +15079,12 @@ module Aws::S3
|
|
13573
15079
|
#
|
13574
15080
|
# When using this action with Amazon S3 on Outposts, you must direct
|
13575
15081
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
13576
|
-
# takes the form
|
13577
|
-
#
|
13578
|
-
# 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
|
13579
15085
|
# Services SDKs, you provide the Outposts bucket ARN in place of the
|
13580
15086
|
# bucket name. For more information about S3 on Outposts ARNs, see
|
13581
|
-
# [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
15087
|
+
# [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
13582
15088
|
#
|
13583
15089
|
#
|
13584
15090
|
#
|
@@ -13601,8 +15107,8 @@ module Aws::S3
|
|
13601
15107
|
# @!attribute [rw] request_payer
|
13602
15108
|
# Confirms that the requester knows that they will be charged for the
|
13603
15109
|
# request. Bucket owners need not specify this parameter in their
|
13604
|
-
# requests. For information about downloading objects from
|
13605
|
-
#
|
15110
|
+
# requests. For information about downloading objects from Requester
|
15111
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
13606
15112
|
# in the *Amazon S3 User Guide*.
|
13607
15113
|
#
|
13608
15114
|
#
|
@@ -13610,10 +15116,27 @@ module Aws::S3
|
|
13610
15116
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ObjectsinRequesterPaysBuckets.html
|
13611
15117
|
# @return [String]
|
13612
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
|
+
#
|
13613
15136
|
# @!attribute [rw] expected_bucket_owner
|
13614
15137
|
# The account ID of the expected bucket owner. If the bucket is owned
|
13615
|
-
# by a different account, the request
|
13616
|
-
# (
|
15138
|
+
# by a different account, the request fails with the HTTP status code
|
15139
|
+
# `403 Forbidden` (access denied).
|
13617
15140
|
# @return [String]
|
13618
15141
|
#
|
13619
15142
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/RestoreObjectRequest AWS API Documentation
|
@@ -13624,6 +15147,7 @@ module Aws::S3
|
|
13624
15147
|
:version_id,
|
13625
15148
|
:restore_request,
|
13626
15149
|
:request_payer,
|
15150
|
+
:checksum_algorithm,
|
13627
15151
|
:expected_bucket_owner)
|
13628
15152
|
SENSITIVE = []
|
13629
15153
|
include Aws::Structure
|
@@ -14105,8 +15629,8 @@ module Aws::S3
|
|
14105
15629
|
# @!attribute [rw] start
|
14106
15630
|
# Specifies the start of the byte range. This parameter is optional.
|
14107
15631
|
# Valid values: non-negative integers. The default value is 0. If only
|
14108
|
-
# start is supplied, it means scan from that point to the end of the
|
14109
|
-
# file.For example
|
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
|
14110
15634
|
# scan from byte 50 until the end of the file.
|
14111
15635
|
# @return [Integer]
|
14112
15636
|
#
|
@@ -14212,9 +15736,10 @@ module Aws::S3
|
|
14212
15736
|
# @return [String]
|
14213
15737
|
#
|
14214
15738
|
# @!attribute [rw] sse_customer_algorithm
|
14215
|
-
# The SSE
|
14216
|
-
#
|
14217
|
-
#
|
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*.
|
14218
15743
|
#
|
14219
15744
|
#
|
14220
15745
|
#
|
@@ -14222,8 +15747,10 @@ module Aws::S3
|
|
14222
15747
|
# @return [String]
|
14223
15748
|
#
|
14224
15749
|
# @!attribute [rw] sse_customer_key
|
14225
|
-
# The
|
14226
|
-
#
|
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*.
|
14227
15754
|
#
|
14228
15755
|
#
|
14229
15756
|
#
|
@@ -14231,8 +15758,10 @@ module Aws::S3
|
|
14231
15758
|
# @return [String]
|
14232
15759
|
#
|
14233
15760
|
# @!attribute [rw] sse_customer_key_md5
|
14234
|
-
# The
|
14235
|
-
#
|
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*.
|
14236
15765
|
#
|
14237
15766
|
#
|
14238
15767
|
#
|
@@ -14284,8 +15813,8 @@ module Aws::S3
|
|
14284
15813
|
#
|
14285
15814
|
# @!attribute [rw] expected_bucket_owner
|
14286
15815
|
# The account ID of the expected bucket owner. If the bucket is owned
|
14287
|
-
# by a different account, the request
|
14288
|
-
# (
|
15816
|
+
# by a different account, the request fails with the HTTP status code
|
15817
|
+
# `403 Forbidden` (access denied).
|
14289
15818
|
# @return [String]
|
14290
15819
|
#
|
14291
15820
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/SelectObjectContentRequest AWS API Documentation
|
@@ -14375,9 +15904,13 @@ module Aws::S3
|
|
14375
15904
|
|
14376
15905
|
# Describes the default server-side encryption to apply to new objects
|
14377
15906
|
# in the bucket. If a PUT Object request doesn't specify any
|
14378
|
-
# server-side encryption, this default encryption will be applied.
|
14379
|
-
#
|
14380
|
-
#
|
15907
|
+
# server-side encryption, this default encryption will be applied. If
|
15908
|
+
# you don't specify a customer managed key at configuration, Amazon S3
|
15909
|
+
# automatically creates an Amazon Web Services KMS key in your Amazon
|
15910
|
+
# Web Services account the first time that you add an object encrypted
|
15911
|
+
# with SSE-KMS to a bucket. By default, Amazon S3 uses this KMS key for
|
15912
|
+
# SSE-KMS. For more information, see [PUT Bucket encryption][1] in the
|
15913
|
+
# *Amazon S3 API Reference*.
|
14381
15914
|
#
|
14382
15915
|
#
|
14383
15916
|
#
|
@@ -14402,9 +15935,10 @@ module Aws::S3
|
|
14402
15935
|
# `aws:kms`.
|
14403
15936
|
#
|
14404
15937
|
# You can specify the key ID or the Amazon Resource Name (ARN) of the
|
14405
|
-
# KMS key. However, if you are using encryption with cross-account
|
14406
|
-
# operations
|
14407
|
-
# information, see [Using encryption
|
15938
|
+
# KMS key. However, if you are using encryption with cross-account or
|
15939
|
+
# Amazon Web Services service operations you must use a fully
|
15940
|
+
# qualified KMS key ARN. For more information, see [Using encryption
|
15941
|
+
# for cross-account operations][1].
|
14408
15942
|
#
|
14409
15943
|
# **For example:**
|
14410
15944
|
#
|
@@ -15079,12 +16613,12 @@ module Aws::S3
|
|
15079
16613
|
#
|
15080
16614
|
# When using this action with Amazon S3 on Outposts, you must direct
|
15081
16615
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
15082
|
-
# takes the form
|
15083
|
-
#
|
15084
|
-
# 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
|
15085
16619
|
# Services SDKs, you provide the Outposts bucket ARN in place of the
|
15086
16620
|
# bucket name. For more information about S3 on Outposts ARNs, see
|
15087
|
-
# [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
16621
|
+
# [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
15088
16622
|
#
|
15089
16623
|
#
|
15090
16624
|
#
|
@@ -15101,8 +16635,8 @@ module Aws::S3
|
|
15101
16635
|
# of the source bucket and key of the source object, separated by a
|
15102
16636
|
# slash (/). For example, to copy the object `reports/january.pdf`
|
15103
16637
|
# from the bucket `awsexamplebucket`, use
|
15104
|
-
# `awsexamplebucket/reports/january.pdf`. The value must be
|
15105
|
-
# encoded.
|
16638
|
+
# `awsexamplebucket/reports/january.pdf`. The value must be
|
16639
|
+
# URL-encoded.
|
15106
16640
|
#
|
15107
16641
|
# * For objects accessed through access points, specify the Amazon
|
15108
16642
|
# Resource Name (ARN) of the object as accessed through the access
|
@@ -15127,7 +16661,7 @@ module Aws::S3
|
|
15127
16661
|
# outpost `my-outpost` owned by account `123456789012` in Region
|
15128
16662
|
# `us-west-2`, use the URL encoding of
|
15129
16663
|
# `arn:aws:s3-outposts:us-west-2:123456789012:outpost/my-outpost/object/reports/january.pdf`.
|
15130
|
-
# The value must be URL
|
16664
|
+
# The value must be URL-encoded.
|
15131
16665
|
#
|
15132
16666
|
# To copy a specific version of an object, append
|
15133
16667
|
# `?versionId=<version-id>` to the value (for example,
|
@@ -15222,8 +16756,8 @@ module Aws::S3
|
|
15222
16756
|
# @!attribute [rw] request_payer
|
15223
16757
|
# Confirms that the requester knows that they will be charged for the
|
15224
16758
|
# request. Bucket owners need not specify this parameter in their
|
15225
|
-
# requests. For information about downloading objects from
|
15226
|
-
#
|
16759
|
+
# requests. For information about downloading objects from Requester
|
16760
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
15227
16761
|
# in the *Amazon S3 User Guide*.
|
15228
16762
|
#
|
15229
16763
|
#
|
@@ -15233,14 +16767,14 @@ module Aws::S3
|
|
15233
16767
|
#
|
15234
16768
|
# @!attribute [rw] expected_bucket_owner
|
15235
16769
|
# The account ID of the expected destination bucket owner. If the
|
15236
|
-
# destination bucket is owned by a different account, the request
|
15237
|
-
#
|
16770
|
+
# destination bucket is owned by a different account, the request
|
16771
|
+
# fails with the HTTP status code `403 Forbidden` (access denied).
|
15238
16772
|
# @return [String]
|
15239
16773
|
#
|
15240
16774
|
# @!attribute [rw] expected_source_bucket_owner
|
15241
16775
|
# The account ID of the expected source bucket owner. If the source
|
15242
|
-
# bucket is owned by a different account, the request
|
15243
|
-
#
|
16776
|
+
# bucket is owned by a different account, the request fails with the
|
16777
|
+
# HTTP status code `403 Forbidden` (access denied).
|
15244
16778
|
# @return [String]
|
15245
16779
|
#
|
15246
16780
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartCopyRequest AWS API Documentation
|
@@ -15278,6 +16812,58 @@ module Aws::S3
|
|
15278
16812
|
# Entity tag for the uploaded object.
|
15279
16813
|
# @return [String]
|
15280
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
|
+
#
|
15281
16867
|
# @!attribute [rw] sse_customer_algorithm
|
15282
16868
|
# If server-side encryption with a customer-provided encryption key
|
15283
16869
|
# was requested, the response will include this header confirming the
|
@@ -15312,6 +16898,10 @@ module Aws::S3
|
|
15312
16898
|
class UploadPartOutput < Struct.new(
|
15313
16899
|
:server_side_encryption,
|
15314
16900
|
:etag,
|
16901
|
+
:checksum_crc32,
|
16902
|
+
:checksum_crc32c,
|
16903
|
+
:checksum_sha1,
|
16904
|
+
:checksum_sha256,
|
15315
16905
|
:sse_customer_algorithm,
|
15316
16906
|
:sse_customer_key_md5,
|
15317
16907
|
:ssekms_key_id,
|
@@ -15329,6 +16919,11 @@ module Aws::S3
|
|
15329
16919
|
# bucket: "BucketName", # required
|
15330
16920
|
# content_length: 1,
|
15331
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",
|
15332
16927
|
# key: "ObjectKey", # required
|
15333
16928
|
# part_number: 1, # required
|
15334
16929
|
# upload_id: "MultipartUploadId", # required
|
@@ -15357,12 +16952,12 @@ module Aws::S3
|
|
15357
16952
|
#
|
15358
16953
|
# When using this action with Amazon S3 on Outposts, you must direct
|
15359
16954
|
# requests to the S3 on Outposts hostname. The S3 on Outposts hostname
|
15360
|
-
# takes the form
|
15361
|
-
#
|
15362
|
-
# 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
|
15363
16958
|
# Services SDKs, you provide the Outposts bucket ARN in place of the
|
15364
16959
|
# bucket name. For more information about S3 on Outposts ARNs, see
|
15365
|
-
# [Using S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
16960
|
+
# [Using Amazon S3 on Outposts][2] in the *Amazon S3 User Guide*.
|
15366
16961
|
#
|
15367
16962
|
#
|
15368
16963
|
#
|
@@ -15381,6 +16976,74 @@ module Aws::S3
|
|
15381
16976
|
# This parameter is required if object lock parameters are specified.
|
15382
16977
|
# @return [String]
|
15383
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
|
+
#
|
15384
17047
|
# @!attribute [rw] key
|
15385
17048
|
# Object key for which the multipart upload was initiated.
|
15386
17049
|
# @return [String]
|
@@ -15419,8 +17082,8 @@ module Aws::S3
|
|
15419
17082
|
# @!attribute [rw] request_payer
|
15420
17083
|
# Confirms that the requester knows that they will be charged for the
|
15421
17084
|
# request. Bucket owners need not specify this parameter in their
|
15422
|
-
# requests. For information about downloading objects from
|
15423
|
-
#
|
17085
|
+
# requests. For information about downloading objects from Requester
|
17086
|
+
# Pays buckets, see [Downloading Objects in Requester Pays Buckets][1]
|
15424
17087
|
# in the *Amazon S3 User Guide*.
|
15425
17088
|
#
|
15426
17089
|
#
|
@@ -15430,8 +17093,8 @@ module Aws::S3
|
|
15430
17093
|
#
|
15431
17094
|
# @!attribute [rw] expected_bucket_owner
|
15432
17095
|
# The account ID of the expected bucket owner. If the bucket is owned
|
15433
|
-
# by a different account, the request
|
15434
|
-
# (
|
17096
|
+
# by a different account, the request fails with the HTTP status code
|
17097
|
+
# `403 Forbidden` (access denied).
|
15435
17098
|
# @return [String]
|
15436
17099
|
#
|
15437
17100
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/UploadPartRequest AWS API Documentation
|
@@ -15441,6 +17104,11 @@ module Aws::S3
|
|
15441
17104
|
:bucket,
|
15442
17105
|
:content_length,
|
15443
17106
|
:content_md5,
|
17107
|
+
:checksum_algorithm,
|
17108
|
+
:checksum_crc32,
|
17109
|
+
:checksum_crc32c,
|
17110
|
+
:checksum_sha1,
|
17111
|
+
:checksum_sha256,
|
15444
17112
|
:key,
|
15445
17113
|
:part_number,
|
15446
17114
|
:upload_id,
|
@@ -15571,6 +17239,10 @@ module Aws::S3
|
|
15571
17239
|
# content_length: 1,
|
15572
17240
|
# content_range: "ContentRange",
|
15573
17241
|
# content_type: "ContentType",
|
17242
|
+
# checksum_crc32: "ChecksumCRC32",
|
17243
|
+
# checksum_crc32c: "ChecksumCRC32C",
|
17244
|
+
# checksum_sha1: "ChecksumSHA1",
|
17245
|
+
# checksum_sha256: "ChecksumSHA256",
|
15574
17246
|
# delete_marker: false,
|
15575
17247
|
# etag: "ETag",
|
15576
17248
|
# expires: Time.now,
|
@@ -15616,33 +17288,33 @@ module Aws::S3
|
|
15616
17288
|
#
|
15617
17289
|
# **Status Codes**
|
15618
17290
|
#
|
15619
|
-
# *
|
17291
|
+
# * `200 - OK`
|
15620
17292
|
#
|
15621
|
-
# *
|
17293
|
+
# * `206 - Partial Content`
|
15622
17294
|
#
|
15623
|
-
# *
|
17295
|
+
# * `304 - Not Modified`
|
15624
17296
|
#
|
15625
|
-
# *
|
17297
|
+
# * `400 - Bad Request`
|
15626
17298
|
#
|
15627
|
-
# *
|
17299
|
+
# * `401 - Unauthorized`
|
15628
17300
|
#
|
15629
|
-
# *
|
17301
|
+
# * `403 - Forbidden`
|
15630
17302
|
#
|
15631
|
-
# *
|
17303
|
+
# * `404 - Not Found`
|
15632
17304
|
#
|
15633
|
-
# *
|
17305
|
+
# * `405 - Method Not Allowed`
|
15634
17306
|
#
|
15635
|
-
# *
|
17307
|
+
# * `409 - Conflict`
|
15636
17308
|
#
|
15637
|
-
# *
|
17309
|
+
# * `411 - Length Required`
|
15638
17310
|
#
|
15639
|
-
# *
|
17311
|
+
# * `412 - Precondition Failed`
|
15640
17312
|
#
|
15641
|
-
# *
|
17313
|
+
# * `416 - Range Not Satisfiable`
|
15642
17314
|
#
|
15643
|
-
# *
|
17315
|
+
# * `500 - Internal Server Error`
|
15644
17316
|
#
|
15645
|
-
# *
|
17317
|
+
# * `503 - Service Unavailable`
|
15646
17318
|
# @return [Integer]
|
15647
17319
|
#
|
15648
17320
|
# @!attribute [rw] error_code
|
@@ -15650,8 +17322,8 @@ module Aws::S3
|
|
15650
17322
|
# the <Code> tag of the error XML response for a corresponding
|
15651
17323
|
# `GetObject` call. Cannot be used with a successful `StatusCode`
|
15652
17324
|
# header or when the transformed object is provided in the body. All
|
15653
|
-
# error codes from S3 are sentence-cased.
|
15654
|
-
# "
|
17325
|
+
# error codes from S3 are sentence-cased. The regular expression
|
17326
|
+
# (regex) value is `"^[A-Z][a-zA-Z]+$"`.
|
15655
17327
|
# @return [String]
|
15656
17328
|
#
|
15657
17329
|
# @!attribute [rw] error_message
|
@@ -15696,6 +17368,84 @@ module Aws::S3
|
|
15696
17368
|
# A standard MIME type describing the format of the object data.
|
15697
17369
|
# @return [String]
|
15698
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
|
+
#
|
15699
17449
|
# @!attribute [rw] delete_marker
|
15700
17450
|
# Specifies whether an object stored in Amazon S3 is (`true`) or is
|
15701
17451
|
# not (`false`) a delete marker.
|
@@ -15711,10 +17461,10 @@ module Aws::S3
|
|
15711
17461
|
# @return [Time]
|
15712
17462
|
#
|
15713
17463
|
# @!attribute [rw] expiration
|
15714
|
-
# If object
|
15715
|
-
#
|
15716
|
-
#
|
15717
|
-
# 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.
|
15718
17468
|
# @return [String]
|
15719
17469
|
#
|
15720
17470
|
# @!attribute [rw] last_modified
|
@@ -15805,7 +17555,15 @@ module Aws::S3
|
|
15805
17555
|
# @return [String]
|
15806
17556
|
#
|
15807
17557
|
# @!attribute [rw] storage_class
|
15808
|
-
#
|
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
|
15809
17567
|
# @return [String]
|
15810
17568
|
#
|
15811
17569
|
# @!attribute [rw] tag_count
|
@@ -15839,6 +17597,10 @@ module Aws::S3
|
|
15839
17597
|
:content_length,
|
15840
17598
|
:content_range,
|
15841
17599
|
:content_type,
|
17600
|
+
:checksum_crc32,
|
17601
|
+
:checksum_crc32c,
|
17602
|
+
:checksum_sha1,
|
17603
|
+
:checksum_sha256,
|
15842
17604
|
:delete_marker,
|
15843
17605
|
:etag,
|
15844
17606
|
:expires,
|