aws-sdk-s3 1.177.0 → 1.178.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-s3/bucket.rb +38 -24
- data/lib/aws-sdk-s3/bucket_acl.rb +5 -4
- data/lib/aws-sdk-s3/bucket_cors.rb +5 -4
- data/lib/aws-sdk-s3/bucket_lifecycle.rb +1 -1
- data/lib/aws-sdk-s3/bucket_lifecycle_configuration.rb +2 -2
- data/lib/aws-sdk-s3/bucket_logging.rb +1 -1
- data/lib/aws-sdk-s3/bucket_policy.rb +9 -8
- data/lib/aws-sdk-s3/bucket_request_payment.rb +2 -2
- data/lib/aws-sdk-s3/bucket_tagging.rb +2 -2
- data/lib/aws-sdk-s3/bucket_versioning.rb +6 -6
- data/lib/aws-sdk-s3/bucket_website.rb +2 -2
- data/lib/aws-sdk-s3/client.rb +379 -237
- data/lib/aws-sdk-s3/client_api.rb +34 -2
- data/lib/aws-sdk-s3/file_downloader.rb +4 -21
- data/lib/aws-sdk-s3/multipart_file_uploader.rb +31 -13
- data/lib/aws-sdk-s3/multipart_upload.rb +48 -6
- data/lib/aws-sdk-s3/multipart_upload_part.rb +52 -36
- data/lib/aws-sdk-s3/object.rb +108 -58
- data/lib/aws-sdk-s3/object_acl.rb +4 -4
- data/lib/aws-sdk-s3/object_summary.rb +63 -28
- data/lib/aws-sdk-s3/object_version.rb +21 -8
- data/lib/aws-sdk-s3/plugins/checksum_algorithm.rb +31 -0
- data/lib/aws-sdk-s3/plugins/express_session_auth.rb +11 -20
- data/lib/aws-sdk-s3/plugins/md5s.rb +10 -71
- data/lib/aws-sdk-s3/presigner.rb +4 -5
- data/lib/aws-sdk-s3/types.rb +734 -416
- data/lib/aws-sdk-s3.rb +1 -1
- data/sig/bucket.rbs +3 -2
- data/sig/bucket_acl.rbs +1 -1
- data/sig/bucket_cors.rbs +1 -1
- data/sig/bucket_lifecycle.rbs +1 -1
- data/sig/bucket_lifecycle_configuration.rbs +1 -1
- data/sig/bucket_logging.rbs +1 -1
- data/sig/bucket_policy.rbs +1 -1
- data/sig/bucket_request_payment.rbs +1 -1
- data/sig/bucket_tagging.rbs +1 -1
- data/sig/bucket_versioning.rbs +3 -3
- data/sig/bucket_website.rbs +1 -1
- data/sig/client.rbs +50 -29
- data/sig/multipart_upload.rbs +8 -1
- data/sig/multipart_upload_part.rbs +5 -1
- data/sig/object.rbs +13 -5
- data/sig/object_acl.rbs +1 -1
- data/sig/object_summary.rbs +11 -6
- data/sig/object_version.rbs +5 -2
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +61 -32
- metadata +5 -5
- data/lib/aws-sdk-s3/plugins/skip_whole_multipart_get_checksums.rb +0 -31
data/lib/aws-sdk-s3/types.rb
CHANGED
@@ -655,14 +655,14 @@ module Aws::S3
|
|
655
655
|
# Contains all the possible checksum or digest values for an object.
|
656
656
|
#
|
657
657
|
# @!attribute [rw] checksum_crc32
|
658
|
-
# The
|
659
|
-
# only be present if
|
660
|
-
# API operation on an object that was uploaded
|
661
|
-
# uploads, this value may not be a direct checksum
|
662
|
-
# object. Instead, it's a calculation based on the
|
663
|
-
# each individual part. For more information about
|
664
|
-
# calculated with multipart uploads, see [ Checking
|
665
|
-
# integrity][1] in the *Amazon S3 User Guide*.
|
658
|
+
# The Base64 encoded, 32-bit `CRC-32 checksum` of the object. This
|
659
|
+
# checksum is only be present if the checksum was uploaded with the
|
660
|
+
# object. When you use an API operation on an object that was uploaded
|
661
|
+
# using multipart uploads, this value may not be a direct checksum
|
662
|
+
# value of the full object. Instead, it's a calculation based on the
|
663
|
+
# checksum values of each individual part. For more information about
|
664
|
+
# how checksums are calculated with multipart uploads, see [ Checking
|
665
|
+
# object integrity][1] in the *Amazon S3 User Guide*.
|
666
666
|
#
|
667
667
|
#
|
668
668
|
#
|
@@ -670,24 +670,37 @@ module Aws::S3
|
|
670
670
|
# @return [String]
|
671
671
|
#
|
672
672
|
# @!attribute [rw] checksum_crc32c
|
673
|
-
# The
|
674
|
-
# only
|
675
|
-
# API operation on an object that was uploaded
|
676
|
-
# uploads, this value may not be a direct checksum
|
677
|
-
# object. Instead, it's a calculation based on the
|
678
|
-
# each individual part. For more information about
|
679
|
-
# calculated with multipart uploads, see [ Checking
|
680
|
-
# integrity][1] in the *Amazon S3 User Guide*.
|
673
|
+
# The Base64 encoded, 32-bit `CRC-32C` checksum of the object. This
|
674
|
+
# checksum is only present if the checksum was uploaded with the
|
675
|
+
# object. When you use an API operation on an object that was uploaded
|
676
|
+
# using multipart uploads, this value may not be a direct checksum
|
677
|
+
# value of the full object. Instead, it's a calculation based on the
|
678
|
+
# checksum values of each individual part. For more information about
|
679
|
+
# how checksums are calculated with multipart uploads, see [ Checking
|
680
|
+
# object integrity][1] in the *Amazon S3 User Guide*.
|
681
681
|
#
|
682
682
|
#
|
683
683
|
#
|
684
684
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
|
685
685
|
# @return [String]
|
686
686
|
#
|
687
|
+
# @!attribute [rw] checksum_crc64nvme
|
688
|
+
# The Base64 encoded, 64-bit `CRC-64NVME` checksum of the object. This
|
689
|
+
# checksum is present if the object was uploaded with the `CRC-64NVME`
|
690
|
+
# checksum algorithm, or if the object was uploaded without a checksum
|
691
|
+
# (and Amazon S3 added the default checksum, `CRC-64NVME`, to the
|
692
|
+
# uploaded object). For more information, see [Checking object
|
693
|
+
# integrity][1] in the *Amazon S3 User Guide*.
|
694
|
+
#
|
695
|
+
#
|
696
|
+
#
|
697
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
698
|
+
# @return [String]
|
699
|
+
#
|
687
700
|
# @!attribute [rw] checksum_sha1
|
688
|
-
# The
|
689
|
-
# only be present if
|
690
|
-
# API operation on an object that was uploaded using multipart
|
701
|
+
# The Base64 encoded, 160-bit `SHA-1` digest of the object. This will
|
702
|
+
# only be present if the object was uploaded with the object. When you
|
703
|
+
# use the API operation on an object that was uploaded using multipart
|
691
704
|
# uploads, this value may not be a direct checksum value of the full
|
692
705
|
# object. Instead, it's a calculation based on the checksum values of
|
693
706
|
# each individual part. For more information about how checksums are
|
@@ -700,27 +713,39 @@ module Aws::S3
|
|
700
713
|
# @return [String]
|
701
714
|
#
|
702
715
|
# @!attribute [rw] checksum_sha256
|
703
|
-
# The
|
704
|
-
# only be present if
|
705
|
-
# API operation on an object that was uploaded using
|
706
|
-
# uploads, this value may not be a direct checksum value of
|
707
|
-
# object. Instead, it's a calculation based on the checksum
|
708
|
-
# each individual part. For more information about how
|
709
|
-
# calculated with multipart uploads, see [ Checking
|
710
|
-
# integrity][1] in the *Amazon S3 User Guide*.
|
716
|
+
# The Base64 encoded, 256-bit `SHA-256` digest of the object. This
|
717
|
+
# will only be present if the object was uploaded with the object.
|
718
|
+
# When you use an API operation on an object that was uploaded using
|
719
|
+
# multipart uploads, this value may not be a direct checksum value of
|
720
|
+
# the full object. Instead, it's a calculation based on the checksum
|
721
|
+
# values of each individual part. For more information about how
|
722
|
+
# checksums are calculated with multipart uploads, see [ Checking
|
723
|
+
# object integrity][1] in the *Amazon S3 User Guide*.
|
711
724
|
#
|
712
725
|
#
|
713
726
|
#
|
714
727
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
|
715
728
|
# @return [String]
|
716
729
|
#
|
730
|
+
# @!attribute [rw] checksum_type
|
731
|
+
# The checksum type that is used to calculate the object’s checksum
|
732
|
+
# value. For more information, see [Checking object integrity][1] in
|
733
|
+
# the *Amazon S3 User Guide*.
|
734
|
+
#
|
735
|
+
#
|
736
|
+
#
|
737
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
738
|
+
# @return [String]
|
739
|
+
#
|
717
740
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/Checksum AWS API Documentation
|
718
741
|
#
|
719
742
|
class Checksum < Struct.new(
|
720
743
|
:checksum_crc32,
|
721
744
|
:checksum_crc32c,
|
745
|
+
:checksum_crc64nvme,
|
722
746
|
:checksum_sha1,
|
723
|
-
:checksum_sha256
|
747
|
+
:checksum_sha256,
|
748
|
+
:checksum_type)
|
724
749
|
SENSITIVE = []
|
725
750
|
include Aws::Structure
|
726
751
|
end
|
@@ -824,14 +849,14 @@ module Aws::S3
|
|
824
849
|
# @return [String]
|
825
850
|
#
|
826
851
|
# @!attribute [rw] checksum_crc32
|
827
|
-
# The
|
828
|
-
# only be present if
|
829
|
-
# API operation on an object that was uploaded
|
830
|
-
# uploads, this value may not be a direct checksum
|
831
|
-
# object. Instead, it's a calculation based on the
|
832
|
-
# each individual part. For more information about
|
833
|
-
# calculated with multipart uploads, see [ Checking
|
834
|
-
# integrity][1] in the *Amazon S3 User Guide*.
|
852
|
+
# The Base64 encoded, 32-bit `CRC-32 checksum` of the object. This
|
853
|
+
# checksum is only be present if the checksum was uploaded with the
|
854
|
+
# object. When you use an API operation on an object that was uploaded
|
855
|
+
# using multipart uploads, this value may not be a direct checksum
|
856
|
+
# value of the full object. Instead, it's a calculation based on the
|
857
|
+
# checksum values of each individual part. For more information about
|
858
|
+
# how checksums are calculated with multipart uploads, see [ Checking
|
859
|
+
# object integrity][1] in the *Amazon S3 User Guide*.
|
835
860
|
#
|
836
861
|
#
|
837
862
|
#
|
@@ -839,24 +864,37 @@ module Aws::S3
|
|
839
864
|
# @return [String]
|
840
865
|
#
|
841
866
|
# @!attribute [rw] checksum_crc32c
|
842
|
-
# The
|
843
|
-
# only
|
844
|
-
# API operation on an object that was uploaded
|
845
|
-
# uploads, this value may not be a direct checksum
|
846
|
-
# object. Instead, it's a calculation based on the
|
847
|
-
# each individual part. For more information about
|
848
|
-
# calculated with multipart uploads, see [ Checking
|
849
|
-
# integrity][1] in the *Amazon S3 User Guide*.
|
867
|
+
# The Base64 encoded, 32-bit `CRC-32C` checksum of the object. This
|
868
|
+
# checksum is only present if the checksum was uploaded with the
|
869
|
+
# object. When you use an API operation on an object that was uploaded
|
870
|
+
# using multipart uploads, this value may not be a direct checksum
|
871
|
+
# value of the full object. Instead, it's a calculation based on the
|
872
|
+
# checksum values of each individual part. For more information about
|
873
|
+
# how checksums are calculated with multipart uploads, see [ Checking
|
874
|
+
# object integrity][1] in the *Amazon S3 User Guide*.
|
850
875
|
#
|
851
876
|
#
|
852
877
|
#
|
853
878
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
|
854
879
|
# @return [String]
|
855
880
|
#
|
881
|
+
# @!attribute [rw] checksum_crc64nvme
|
882
|
+
# This header can be used as a data integrity check to verify that the
|
883
|
+
# data received is the same data that was originally sent. This header
|
884
|
+
# specifies the Base64 encoded, 64-bit `CRC-64NVME` checksum of the
|
885
|
+
# object. The `CRC-64NVME` checksum is always a full object checksum.
|
886
|
+
# For more information, see [Checking object integrity in the Amazon
|
887
|
+
# S3 User Guide][1].
|
888
|
+
#
|
889
|
+
#
|
890
|
+
#
|
891
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
892
|
+
# @return [String]
|
893
|
+
#
|
856
894
|
# @!attribute [rw] checksum_sha1
|
857
|
-
# The
|
858
|
-
# only be present if
|
859
|
-
# API operation on an object that was uploaded using multipart
|
895
|
+
# The Base64 encoded, 160-bit `SHA-1` digest of the object. This will
|
896
|
+
# only be present if the object was uploaded with the object. When you
|
897
|
+
# use the API operation on an object that was uploaded using multipart
|
860
898
|
# uploads, this value may not be a direct checksum value of the full
|
861
899
|
# object. Instead, it's a calculation based on the checksum values of
|
862
900
|
# each individual part. For more information about how checksums are
|
@@ -869,20 +907,34 @@ module Aws::S3
|
|
869
907
|
# @return [String]
|
870
908
|
#
|
871
909
|
# @!attribute [rw] checksum_sha256
|
872
|
-
# The
|
873
|
-
# only be present if
|
874
|
-
# API operation on an object that was uploaded using
|
875
|
-
# uploads, this value may not be a direct checksum value of
|
876
|
-
# object. Instead, it's a calculation based on the checksum
|
877
|
-
# each individual part. For more information about how
|
878
|
-
# calculated with multipart uploads, see [ Checking
|
879
|
-
# integrity][1] in the *Amazon S3 User Guide*.
|
910
|
+
# The Base64 encoded, 256-bit `SHA-256` digest of the object. This
|
911
|
+
# will only be present if the object was uploaded with the object.
|
912
|
+
# When you use an API operation on an object that was uploaded using
|
913
|
+
# multipart uploads, this value may not be a direct checksum value of
|
914
|
+
# the full object. Instead, it's a calculation based on the checksum
|
915
|
+
# values of each individual part. For more information about how
|
916
|
+
# checksums are calculated with multipart uploads, see [ Checking
|
917
|
+
# object integrity][1] in the *Amazon S3 User Guide*.
|
880
918
|
#
|
881
919
|
#
|
882
920
|
#
|
883
921
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
|
884
922
|
# @return [String]
|
885
923
|
#
|
924
|
+
# @!attribute [rw] checksum_type
|
925
|
+
# The checksum type, which determines how part-level checksums are
|
926
|
+
# combined to create an object-level checksum for multipart objects.
|
927
|
+
# You can use this header as a data integrity check to verify that the
|
928
|
+
# checksum type that is received is the same checksum type that was
|
929
|
+
# specified during the `CreateMultipartUpload` request. For more
|
930
|
+
# information, see [Checking object integrity in the Amazon S3 User
|
931
|
+
# Guide][1].
|
932
|
+
#
|
933
|
+
#
|
934
|
+
#
|
935
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
936
|
+
# @return [String]
|
937
|
+
#
|
886
938
|
# @!attribute [rw] server_side_encryption
|
887
939
|
# The server-side encryption algorithm used when storing this object
|
888
940
|
# in Amazon S3 (for example, `AES256`, `aws:kms`).
|
@@ -927,8 +979,10 @@ module Aws::S3
|
|
927
979
|
:etag,
|
928
980
|
:checksum_crc32,
|
929
981
|
:checksum_crc32c,
|
982
|
+
:checksum_crc64nvme,
|
930
983
|
:checksum_sha1,
|
931
984
|
:checksum_sha256,
|
985
|
+
:checksum_type,
|
932
986
|
:server_side_encryption,
|
933
987
|
:version_id,
|
934
988
|
:ssekms_key_id,
|
@@ -998,9 +1052,9 @@ module Aws::S3
|
|
998
1052
|
# @!attribute [rw] checksum_crc32
|
999
1053
|
# This header can be used as a data integrity check to verify that the
|
1000
1054
|
# data received is the same data that was originally sent. This header
|
1001
|
-
# specifies the
|
1002
|
-
# For more information, see [Checking object integrity][1] in
|
1003
|
-
# *Amazon S3 User Guide*.
|
1055
|
+
# specifies the Base64 encoded, 32-bit `CRC-32` checksum of the
|
1056
|
+
# object. For more information, see [Checking object integrity][1] in
|
1057
|
+
# the *Amazon S3 User Guide*.
|
1004
1058
|
#
|
1005
1059
|
#
|
1006
1060
|
#
|
@@ -1010,9 +1064,22 @@ module Aws::S3
|
|
1010
1064
|
# @!attribute [rw] checksum_crc32c
|
1011
1065
|
# This header can be used as a data integrity check to verify that the
|
1012
1066
|
# data received is the same data that was originally sent. This header
|
1013
|
-
# specifies the
|
1014
|
-
# For more information, see [Checking object integrity][1] in
|
1015
|
-
# *Amazon S3 User Guide*.
|
1067
|
+
# specifies the Base64 encoded, 32-bit `CRC-32C` checksum of the
|
1068
|
+
# object. For more information, see [Checking object integrity][1] in
|
1069
|
+
# the *Amazon S3 User Guide*.
|
1070
|
+
#
|
1071
|
+
#
|
1072
|
+
#
|
1073
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
1074
|
+
# @return [String]
|
1075
|
+
#
|
1076
|
+
# @!attribute [rw] checksum_crc64nvme
|
1077
|
+
# This header can be used as a data integrity check to verify that the
|
1078
|
+
# data received is the same data that was originally sent. This header
|
1079
|
+
# specifies the Base64 encoded, 64-bit `CRC-64NVME` checksum of the
|
1080
|
+
# object. The `CRC-64NVME` checksum is always a full object checksum.
|
1081
|
+
# For more information, see [Checking object integrity in the Amazon
|
1082
|
+
# S3 User Guide][1].
|
1016
1083
|
#
|
1017
1084
|
#
|
1018
1085
|
#
|
@@ -1022,7 +1089,7 @@ module Aws::S3
|
|
1022
1089
|
# @!attribute [rw] checksum_sha1
|
1023
1090
|
# This header can be used as a data integrity check to verify that the
|
1024
1091
|
# data received is the same data that was originally sent. This header
|
1025
|
-
# specifies the
|
1092
|
+
# specifies the Base64 encoded, 160-bit `SHA-1` digest of the object.
|
1026
1093
|
# For more information, see [Checking object integrity][1] in the
|
1027
1094
|
# *Amazon S3 User Guide*.
|
1028
1095
|
#
|
@@ -1034,15 +1101,34 @@ module Aws::S3
|
|
1034
1101
|
# @!attribute [rw] checksum_sha256
|
1035
1102
|
# This header can be used as a data integrity check to verify that the
|
1036
1103
|
# data received is the same data that was originally sent. This header
|
1037
|
-
# specifies the
|
1038
|
-
# For more information, see [Checking object integrity][1] in
|
1039
|
-
# *Amazon S3 User Guide*.
|
1104
|
+
# specifies the Base64 encoded, 256-bit `SHA-256` digest of the
|
1105
|
+
# object. For more information, see [Checking object integrity][1] in
|
1106
|
+
# the *Amazon S3 User Guide*.
|
1040
1107
|
#
|
1041
1108
|
#
|
1042
1109
|
#
|
1043
1110
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
1044
1111
|
# @return [String]
|
1045
1112
|
#
|
1113
|
+
# @!attribute [rw] checksum_type
|
1114
|
+
# This header specifies the checksum type of the object, which
|
1115
|
+
# determines how part-level checksums are combined to create an
|
1116
|
+
# object-level checksum for multipart objects. You can use this header
|
1117
|
+
# as a data integrity check to verify that the checksum type that is
|
1118
|
+
# received is the same checksum that was specified. If the checksum
|
1119
|
+
# type doesn’t match the checksum type that was specified for the
|
1120
|
+
# object during the `CreateMultipartUpload` request, it’ll result in a
|
1121
|
+
# `BadDigest` error. For more information, see Checking object
|
1122
|
+
# integrity in the Amazon S3 User Guide.
|
1123
|
+
# @return [String]
|
1124
|
+
#
|
1125
|
+
# @!attribute [rw] mpu_object_size
|
1126
|
+
# The expected total object size of the multipart upload request. If
|
1127
|
+
# there’s a mismatch between the specified object size value and the
|
1128
|
+
# actual object size value, it results in an `HTTP 400 InvalidRequest`
|
1129
|
+
# error.
|
1130
|
+
# @return [Integer]
|
1131
|
+
#
|
1046
1132
|
# @!attribute [rw] request_payer
|
1047
1133
|
# Confirms that the requester knows that they will be charged for the
|
1048
1134
|
# request. Bucket owners need not specify this parameter in their
|
@@ -1166,8 +1252,11 @@ module Aws::S3
|
|
1166
1252
|
:upload_id,
|
1167
1253
|
:checksum_crc32,
|
1168
1254
|
:checksum_crc32c,
|
1255
|
+
:checksum_crc64nvme,
|
1169
1256
|
:checksum_sha1,
|
1170
1257
|
:checksum_sha256,
|
1258
|
+
:checksum_type,
|
1259
|
+
:mpu_object_size,
|
1171
1260
|
:request_payer,
|
1172
1261
|
:expected_bucket_owner,
|
1173
1262
|
:if_match,
|
@@ -1203,63 +1292,59 @@ module Aws::S3
|
|
1203
1292
|
# @return [String]
|
1204
1293
|
#
|
1205
1294
|
# @!attribute [rw] checksum_crc32
|
1206
|
-
# The
|
1207
|
-
#
|
1208
|
-
#
|
1209
|
-
#
|
1210
|
-
# object. Instead, it's a calculation based on the checksum values of
|
1211
|
-
# each individual part. For more information about how checksums are
|
1212
|
-
# calculated with multipart uploads, see [ Checking object
|
1213
|
-
# integrity][1] in the *Amazon S3 User Guide*.
|
1295
|
+
# The Base64 encoded, 32-bit `CRC-32` checksum of the part. This
|
1296
|
+
# checksum is present if the multipart upload request was created with
|
1297
|
+
# the `CRC-32` checksum algorithm. For more information, see [Checking
|
1298
|
+
# object integrity][1] in the *Amazon S3 User Guide*.
|
1214
1299
|
#
|
1215
1300
|
#
|
1216
1301
|
#
|
1217
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
1302
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
1218
1303
|
# @return [String]
|
1219
1304
|
#
|
1220
1305
|
# @!attribute [rw] checksum_crc32c
|
1221
|
-
# The
|
1222
|
-
#
|
1223
|
-
#
|
1224
|
-
#
|
1225
|
-
# object. Instead, it's a calculation based on the checksum values of
|
1226
|
-
# each individual part. For more information about how checksums are
|
1227
|
-
# calculated with multipart uploads, see [ Checking object
|
1228
|
-
# integrity][1] in the *Amazon S3 User Guide*.
|
1306
|
+
# The Base64 encoded, 32-bit `CRC-32C` checksum of the part. This
|
1307
|
+
# checksum is present if the multipart upload request was created with
|
1308
|
+
# the `CRC-32C` checksum algorithm. For more information, see
|
1309
|
+
# [Checking object integrity][1] in the *Amazon S3 User Guide*.
|
1229
1310
|
#
|
1230
1311
|
#
|
1231
1312
|
#
|
1232
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
1313
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
1314
|
+
# @return [String]
|
1315
|
+
#
|
1316
|
+
# @!attribute [rw] checksum_crc64nvme
|
1317
|
+
# The Base64 encoded, 64-bit `CRC-64NVME` checksum of the part. This
|
1318
|
+
# checksum is present if the multipart upload request was created with
|
1319
|
+
# the `CRC-64NVME` checksum algorithm to the uploaded object). For
|
1320
|
+
# more information, see [Checking object integrity][1] in the *Amazon
|
1321
|
+
# S3 User Guide*.
|
1322
|
+
#
|
1323
|
+
#
|
1324
|
+
#
|
1325
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
1233
1326
|
# @return [String]
|
1234
1327
|
#
|
1235
1328
|
# @!attribute [rw] checksum_sha1
|
1236
|
-
# The
|
1237
|
-
#
|
1238
|
-
#
|
1239
|
-
#
|
1240
|
-
# object. Instead, it's a calculation based on the checksum values of
|
1241
|
-
# each individual part. For more information about how checksums are
|
1242
|
-
# calculated with multipart uploads, see [ Checking object
|
1243
|
-
# integrity][1] in the *Amazon S3 User Guide*.
|
1329
|
+
# The Base64 encoded, 160-bit `SHA-1` checksum of the part. This
|
1330
|
+
# checksum is present if the multipart upload request was created with
|
1331
|
+
# the `SHA-1` checksum algorithm. For more information, see [Checking
|
1332
|
+
# object integrity][1] in the *Amazon S3 User Guide*.
|
1244
1333
|
#
|
1245
1334
|
#
|
1246
1335
|
#
|
1247
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
1336
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
1248
1337
|
# @return [String]
|
1249
1338
|
#
|
1250
1339
|
# @!attribute [rw] checksum_sha256
|
1251
|
-
# The
|
1252
|
-
#
|
1253
|
-
#
|
1254
|
-
#
|
1255
|
-
# object. Instead, it's a calculation based on the checksum values of
|
1256
|
-
# each individual part. For more information about how checksums are
|
1257
|
-
# calculated with multipart uploads, see [ Checking object
|
1258
|
-
# integrity][1] in the *Amazon S3 User Guide*.
|
1340
|
+
# The Base64 encoded, 256-bit `SHA-256` checksum of the part. This
|
1341
|
+
# checksum is present if the multipart upload request was created with
|
1342
|
+
# the `SHA-256` checksum algorithm. For more information, see
|
1343
|
+
# [Checking object integrity][1] in the *Amazon S3 User Guide*.
|
1259
1344
|
#
|
1260
1345
|
#
|
1261
1346
|
#
|
1262
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
1347
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
1263
1348
|
# @return [String]
|
1264
1349
|
#
|
1265
1350
|
# @!attribute [rw] part_number
|
@@ -1287,6 +1372,7 @@ module Aws::S3
|
|
1287
1372
|
:etag,
|
1288
1373
|
:checksum_crc32,
|
1289
1374
|
:checksum_crc32c,
|
1375
|
+
:checksum_crc64nvme,
|
1290
1376
|
:checksum_sha1,
|
1291
1377
|
:checksum_sha256,
|
1292
1378
|
:part_number)
|
@@ -1410,8 +1496,8 @@ module Aws::S3
|
|
1410
1496
|
#
|
1411
1497
|
# @!attribute [rw] ssekms_encryption_context
|
1412
1498
|
# If present, indicates the Amazon Web Services KMS Encryption Context
|
1413
|
-
# to use for object encryption. The value of this header is a
|
1414
|
-
#
|
1499
|
+
# to use for object encryption. The value of this header is a Base64
|
1500
|
+
# encoded UTF-8 string holding JSON with the encryption context
|
1415
1501
|
# key-value pairs.
|
1416
1502
|
# @return [String]
|
1417
1503
|
#
|
@@ -2331,11 +2417,21 @@ module Aws::S3
|
|
2331
2417
|
# Creation date of the object.
|
2332
2418
|
# @return [Time]
|
2333
2419
|
#
|
2420
|
+
# @!attribute [rw] checksum_type
|
2421
|
+
# The checksum type that is used to calculate the object’s checksum
|
2422
|
+
# value. For more information, see [Checking object integrity][1] in
|
2423
|
+
# the *Amazon S3 User Guide*.
|
2424
|
+
#
|
2425
|
+
#
|
2426
|
+
#
|
2427
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
2428
|
+
# @return [String]
|
2429
|
+
#
|
2334
2430
|
# @!attribute [rw] checksum_crc32
|
2335
|
-
# The
|
2336
|
-
# only
|
2337
|
-
# information, see [ Checking object integrity][1] in the
|
2338
|
-
# User Guide*.
|
2431
|
+
# The Base64 encoded, 32-bit `CRC-32` checksum of the object. This
|
2432
|
+
# checksum is only present if the object was uploaded with the object.
|
2433
|
+
# For more information, see [ Checking object integrity][1] in the
|
2434
|
+
# *Amazon S3 User Guide*.
|
2339
2435
|
#
|
2340
2436
|
#
|
2341
2437
|
#
|
@@ -2343,10 +2439,23 @@ module Aws::S3
|
|
2343
2439
|
# @return [String]
|
2344
2440
|
#
|
2345
2441
|
# @!attribute [rw] checksum_crc32c
|
2346
|
-
# The
|
2347
|
-
# only be present if
|
2348
|
-
# information, see [ Checking object integrity][1] in the *Amazon
|
2349
|
-
# User Guide*.
|
2442
|
+
# The Base64 encoded, 32-bit `CRC-32C` checksum of the object. This
|
2443
|
+
# will only be present if the object was uploaded with the object. For
|
2444
|
+
# more information, see [ Checking object integrity][1] in the *Amazon
|
2445
|
+
# S3 User Guide*.
|
2446
|
+
#
|
2447
|
+
#
|
2448
|
+
#
|
2449
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
2450
|
+
# @return [String]
|
2451
|
+
#
|
2452
|
+
# @!attribute [rw] checksum_crc64nvme
|
2453
|
+
# The Base64 encoded, 64-bit `CRC-64NVME` checksum of the object. This
|
2454
|
+
# checksum is present if the object being copied was uploaded with the
|
2455
|
+
# `CRC-64NVME` checksum algorithm, or if the object was uploaded
|
2456
|
+
# without a checksum (and Amazon S3 added the default checksum,
|
2457
|
+
# `CRC-64NVME`, to the uploaded object). For more information, see
|
2458
|
+
# [Checking object integrity][1] in the *Amazon S3 User Guide*.
|
2350
2459
|
#
|
2351
2460
|
#
|
2352
2461
|
#
|
@@ -2354,8 +2463,8 @@ module Aws::S3
|
|
2354
2463
|
# @return [String]
|
2355
2464
|
#
|
2356
2465
|
# @!attribute [rw] checksum_sha1
|
2357
|
-
# The
|
2358
|
-
# only be present if
|
2466
|
+
# The Base64 encoded, 160-bit `SHA-1` digest of the object. This will
|
2467
|
+
# only be present if the object was uploaded with the object. For more
|
2359
2468
|
# information, see [ Checking object integrity][1] in the *Amazon S3
|
2360
2469
|
# User Guide*.
|
2361
2470
|
#
|
@@ -2365,10 +2474,10 @@ module Aws::S3
|
|
2365
2474
|
# @return [String]
|
2366
2475
|
#
|
2367
2476
|
# @!attribute [rw] checksum_sha256
|
2368
|
-
# The
|
2369
|
-
# only be present if
|
2370
|
-
# information, see [ Checking object integrity][1] in the *Amazon
|
2371
|
-
# User Guide*.
|
2477
|
+
# The Base64 encoded, 256-bit `SHA-256` digest of the object. This
|
2478
|
+
# will only be present if the object was uploaded with the object. For
|
2479
|
+
# more information, see [ Checking object integrity][1] in the *Amazon
|
2480
|
+
# S3 User Guide*.
|
2372
2481
|
#
|
2373
2482
|
#
|
2374
2483
|
#
|
@@ -2380,8 +2489,10 @@ module Aws::S3
|
|
2380
2489
|
class CopyObjectResult < Struct.new(
|
2381
2490
|
:etag,
|
2382
2491
|
:last_modified,
|
2492
|
+
:checksum_type,
|
2383
2493
|
:checksum_crc32,
|
2384
2494
|
:checksum_crc32c,
|
2495
|
+
:checksum_crc64nvme,
|
2385
2496
|
:checksum_sha1,
|
2386
2497
|
:checksum_sha256)
|
2387
2498
|
SENSITIVE = []
|
@@ -2399,63 +2510,63 @@ module Aws::S3
|
|
2399
2510
|
# @return [Time]
|
2400
2511
|
#
|
2401
2512
|
# @!attribute [rw] checksum_crc32
|
2402
|
-
#
|
2403
|
-
#
|
2404
|
-
#
|
2405
|
-
#
|
2406
|
-
#
|
2407
|
-
# each individual part. For more information about how checksums are
|
2408
|
-
# calculated with multipart uploads, see [ Checking object
|
2409
|
-
# integrity][1] in the *Amazon S3 User Guide*.
|
2513
|
+
# This header can be used as a data integrity check to verify that the
|
2514
|
+
# data received is the same data that was originally sent. This header
|
2515
|
+
# specifies the Base64 encoded, 32-bit `CRC-32` checksum of the part.
|
2516
|
+
# For more information, see [Checking object integrity][1] in the
|
2517
|
+
# *Amazon S3 User Guide*.
|
2410
2518
|
#
|
2411
2519
|
#
|
2412
2520
|
#
|
2413
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
2521
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
2414
2522
|
# @return [String]
|
2415
2523
|
#
|
2416
2524
|
# @!attribute [rw] checksum_crc32c
|
2417
|
-
#
|
2418
|
-
#
|
2419
|
-
#
|
2420
|
-
#
|
2421
|
-
#
|
2422
|
-
# each individual part. For more information about how checksums are
|
2423
|
-
# calculated with multipart uploads, see [ Checking object
|
2424
|
-
# integrity][1] in the *Amazon S3 User Guide*.
|
2525
|
+
# This header can be used as a data integrity check to verify that the
|
2526
|
+
# data received is the same data that was originally sent. This header
|
2527
|
+
# specifies the Base64 encoded, 32-bit `CRC-32C` checksum of the part.
|
2528
|
+
# For more information, see [Checking object integrity][1] in the
|
2529
|
+
# *Amazon S3 User Guide*.
|
2425
2530
|
#
|
2426
2531
|
#
|
2427
2532
|
#
|
2428
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
2533
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
2534
|
+
# @return [String]
|
2535
|
+
#
|
2536
|
+
# @!attribute [rw] checksum_crc64nvme
|
2537
|
+
# The Base64 encoded, 64-bit `CRC-64NVME` checksum of the part. This
|
2538
|
+
# checksum is present if the multipart upload request was created with
|
2539
|
+
# the `CRC-64NVME` checksum algorithm to the uploaded object). For
|
2540
|
+
# more information, see [Checking object integrity][1] in the *Amazon
|
2541
|
+
# S3 User Guide*.
|
2542
|
+
#
|
2543
|
+
#
|
2544
|
+
#
|
2545
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
2429
2546
|
# @return [String]
|
2430
2547
|
#
|
2431
2548
|
# @!attribute [rw] checksum_sha1
|
2432
|
-
#
|
2433
|
-
#
|
2434
|
-
#
|
2435
|
-
#
|
2436
|
-
#
|
2437
|
-
# each individual part. For more information about how checksums are
|
2438
|
-
# calculated with multipart uploads, see [ Checking object
|
2439
|
-
# integrity][1] in the *Amazon S3 User Guide*.
|
2549
|
+
# This header can be used as a data integrity check to verify that the
|
2550
|
+
# data received is the same data that was originally sent. This header
|
2551
|
+
# specifies the Base64 encoded, 160-bit `SHA-1` checksum of the part.
|
2552
|
+
# For more information, see [Checking object integrity][1] in the
|
2553
|
+
# *Amazon S3 User Guide*.
|
2440
2554
|
#
|
2441
2555
|
#
|
2442
2556
|
#
|
2443
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
2557
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
2444
2558
|
# @return [String]
|
2445
2559
|
#
|
2446
2560
|
# @!attribute [rw] checksum_sha256
|
2447
|
-
#
|
2448
|
-
#
|
2449
|
-
#
|
2450
|
-
#
|
2451
|
-
#
|
2452
|
-
# each individual part. For more information about how checksums are
|
2453
|
-
# calculated with multipart uploads, see [ Checking object
|
2454
|
-
# integrity][1] in the *Amazon S3 User Guide*.
|
2561
|
+
# This header can be used as a data integrity check to verify that the
|
2562
|
+
# data received is the same data that was originally sent. This header
|
2563
|
+
# specifies the Base64 encoded, 256-bit `SHA-256` checksum of the
|
2564
|
+
# part. For more information, see [Checking object integrity][1] in
|
2565
|
+
# the *Amazon S3 User Guide*.
|
2455
2566
|
#
|
2456
2567
|
#
|
2457
2568
|
#
|
2458
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
2569
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
2459
2570
|
# @return [String]
|
2460
2571
|
#
|
2461
2572
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CopyPartResult AWS API Documentation
|
@@ -2465,6 +2576,7 @@ module Aws::S3
|
|
2465
2576
|
:last_modified,
|
2466
2577
|
:checksum_crc32,
|
2467
2578
|
:checksum_crc32c,
|
2579
|
+
:checksum_crc64nvme,
|
2468
2580
|
:checksum_sha1,
|
2469
2581
|
:checksum_sha256)
|
2470
2582
|
SENSITIVE = []
|
@@ -2478,31 +2590,29 @@ module Aws::S3
|
|
2478
2590
|
# choose a Region to optimize latency, minimize costs, or address
|
2479
2591
|
# regulatory requirements. For example, if you reside in Europe, you
|
2480
2592
|
# will probably find it advantageous to create buckets in the Europe
|
2481
|
-
# (Ireland) Region.
|
2593
|
+
# (Ireland) Region. For more information, see [Accessing a bucket][1]
|
2594
|
+
# in the *Amazon S3 User Guide*.
|
2482
2595
|
#
|
2483
2596
|
# If you don't specify a Region, the bucket is created in the US East
|
2484
2597
|
# (N. Virginia) Region (us-east-1) by default.
|
2485
2598
|
#
|
2486
|
-
# For a list of the valid values for all of the Amazon Web Services
|
2487
|
-
# Regions, see [Regions and Endpoints][1].
|
2488
|
-
#
|
2489
2599
|
# <note markdown="1"> This functionality is not supported for directory buckets.
|
2490
2600
|
#
|
2491
2601
|
# </note>
|
2492
2602
|
#
|
2493
2603
|
#
|
2494
2604
|
#
|
2495
|
-
# [1]: https://docs.aws.amazon.com/
|
2605
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html#access-bucket-intro
|
2496
2606
|
# @return [String]
|
2497
2607
|
#
|
2498
2608
|
# @!attribute [rw] location
|
2499
2609
|
# Specifies the location where the bucket will be created.
|
2500
2610
|
#
|
2501
2611
|
# <b>Directory buckets </b> - The location type is Availability Zone
|
2502
|
-
# or Local Zone.
|
2503
|
-
# must be
|
2504
|
-
#
|
2505
|
-
#
|
2612
|
+
# or Local Zone. When the location type is Local Zone, your Local Zone
|
2613
|
+
# must be in opt-in status. Otherwise, you get an HTTP `400 Bad
|
2614
|
+
# Request` error with the error code `Access denied`. To learn more
|
2615
|
+
# about opt-in Local Zones, see [Opt-in Dedicated Local Zones][1]in
|
2506
2616
|
# the *Amazon S3 User Guide*.
|
2507
2617
|
#
|
2508
2618
|
# <note markdown="1"> This functionality is only supported by directory buckets.
|
@@ -2804,8 +2914,8 @@ module Aws::S3
|
|
2804
2914
|
#
|
2805
2915
|
# @!attribute [rw] ssekms_encryption_context
|
2806
2916
|
# If present, indicates the Amazon Web Services KMS Encryption Context
|
2807
|
-
# to use for object encryption. The value of this header is a
|
2808
|
-
#
|
2917
|
+
# to use for object encryption. The value of this header is a Base64
|
2918
|
+
# encoded string of a UTF-8 encoded JSON, which contains the
|
2809
2919
|
# encryption context as key-value pairs.
|
2810
2920
|
# @return [String]
|
2811
2921
|
#
|
@@ -2828,6 +2938,16 @@ module Aws::S3
|
|
2828
2938
|
# The algorithm that was used to create a checksum of the object.
|
2829
2939
|
# @return [String]
|
2830
2940
|
#
|
2941
|
+
# @!attribute [rw] checksum_type
|
2942
|
+
# Indicates the checksum type that you want Amazon S3 to use to
|
2943
|
+
# calculate the object’s checksum value. For more information, see
|
2944
|
+
# [Checking object integrity in the Amazon S3 User Guide][1].
|
2945
|
+
#
|
2946
|
+
#
|
2947
|
+
#
|
2948
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
2949
|
+
# @return [String]
|
2950
|
+
#
|
2831
2951
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateMultipartUploadOutput AWS API Documentation
|
2832
2952
|
#
|
2833
2953
|
class CreateMultipartUploadOutput < Struct.new(
|
@@ -2843,7 +2963,8 @@ module Aws::S3
|
|
2843
2963
|
:ssekms_encryption_context,
|
2844
2964
|
:bucket_key_enabled,
|
2845
2965
|
:request_charged,
|
2846
|
-
:checksum_algorithm
|
2966
|
+
:checksum_algorithm,
|
2967
|
+
:checksum_type)
|
2847
2968
|
SENSITIVE = [:ssekms_key_id, :ssekms_encryption_context]
|
2848
2969
|
include Aws::Structure
|
2849
2970
|
end
|
@@ -3374,7 +3495,7 @@ module Aws::S3
|
|
3374
3495
|
#
|
3375
3496
|
# @!attribute [rw] ssekms_encryption_context
|
3376
3497
|
# Specifies the Amazon Web Services KMS Encryption Context to use for
|
3377
|
-
# object encryption. The value of this header is a Base64
|
3498
|
+
# object encryption. The value of this header is a Base64 encoded
|
3378
3499
|
# string of a UTF-8 encoded JSON, which contains the encryption
|
3379
3500
|
# context as key-value pairs.
|
3380
3501
|
#
|
@@ -3482,6 +3603,16 @@ module Aws::S3
|
|
3482
3603
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
3483
3604
|
# @return [String]
|
3484
3605
|
#
|
3606
|
+
# @!attribute [rw] checksum_type
|
3607
|
+
# Indicates the checksum type that you want Amazon S3 to use to
|
3608
|
+
# calculate the object’s checksum value. For more information, see
|
3609
|
+
# [Checking object integrity in the Amazon S3 User Guide][1].
|
3610
|
+
#
|
3611
|
+
#
|
3612
|
+
#
|
3613
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
3614
|
+
# @return [String]
|
3615
|
+
#
|
3485
3616
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateMultipartUploadRequest AWS API Documentation
|
3486
3617
|
#
|
3487
3618
|
class CreateMultipartUploadRequest < Struct.new(
|
@@ -3514,7 +3645,8 @@ module Aws::S3
|
|
3514
3645
|
:object_lock_retain_until_date,
|
3515
3646
|
:object_lock_legal_hold_status,
|
3516
3647
|
:expected_bucket_owner,
|
3517
|
-
:checksum_algorithm
|
3648
|
+
:checksum_algorithm,
|
3649
|
+
:checksum_type)
|
3518
3650
|
SENSITIVE = [:sse_customer_key, :ssekms_key_id, :ssekms_encryption_context]
|
3519
3651
|
include Aws::Structure
|
3520
3652
|
end
|
@@ -3532,8 +3664,8 @@ module Aws::S3
|
|
3532
3664
|
#
|
3533
3665
|
# @!attribute [rw] ssekms_encryption_context
|
3534
3666
|
# If present, indicates the Amazon Web Services KMS Encryption Context
|
3535
|
-
# to use for object encryption. The value of this header is a
|
3536
|
-
#
|
3667
|
+
# to use for object encryption. The value of this header is a Base64
|
3668
|
+
# encoded string of a UTF-8 encoded JSON, which contains the
|
3537
3669
|
# encryption context as key-value pairs. This value is stored as
|
3538
3670
|
# object metadata and automatically gets passed on to Amazon Web
|
3539
3671
|
# Services KMS for future `GetObject` operations on this object.
|
@@ -3614,7 +3746,7 @@ module Aws::S3
|
|
3614
3746
|
# @!attribute [rw] ssekms_encryption_context
|
3615
3747
|
# Specifies the Amazon Web Services KMS Encryption Context as an
|
3616
3748
|
# additional encryption context to use for object encryption. The
|
3617
|
-
# value of this header is a Base64
|
3749
|
+
# value of this header is a Base64 encoded string of a UTF-8 encoded
|
3618
3750
|
# JSON, which contains the encryption context as key-value pairs. This
|
3619
3751
|
# value is stored as object metadata and automatically gets passed on
|
3620
3752
|
# to Amazon Web Services KMS for future `GetObject` operations on this
|
@@ -4601,23 +4733,23 @@ module Aws::S3
|
|
4601
4733
|
# For the `x-amz-checksum-algorithm ` header, replace ` algorithm `
|
4602
4734
|
# with the supported algorithm from the following list:
|
4603
4735
|
#
|
4604
|
-
# * `
|
4736
|
+
# * `CRC-32`
|
4605
4737
|
#
|
4606
|
-
# * `
|
4738
|
+
# * `CRC-32C`
|
4607
4739
|
#
|
4608
|
-
# * `
|
4740
|
+
# * `CRC-64NVME`
|
4609
4741
|
#
|
4610
|
-
# * `
|
4742
|
+
# * `SHA-1`
|
4743
|
+
#
|
4744
|
+
# * `SHA-256`
|
4611
4745
|
#
|
4612
4746
|
# For more information, see [Checking object integrity][1] in the
|
4613
4747
|
# *Amazon S3 User Guide*.
|
4614
4748
|
#
|
4615
4749
|
# If the individual checksum value you provide through
|
4616
4750
|
# `x-amz-checksum-algorithm ` doesn't match the checksum algorithm
|
4617
|
-
# you set through `x-amz-sdk-checksum-algorithm`, Amazon S3
|
4618
|
-
#
|
4619
|
-
# algorithm that matches the provided value in
|
4620
|
-
# `x-amz-checksum-algorithm `.
|
4751
|
+
# you set through `x-amz-sdk-checksum-algorithm`, Amazon S3 fails the
|
4752
|
+
# request with a `BadDigest` error.
|
4621
4753
|
#
|
4622
4754
|
# If you provide an individual checksum, Amazon S3 ignores any
|
4623
4755
|
# provided `ChecksumAlgorithm` parameter.
|
@@ -6143,7 +6275,7 @@ module Aws::S3
|
|
6143
6275
|
# Indicates which default minimum object size behavior is applied to
|
6144
6276
|
# the lifecycle configuration.
|
6145
6277
|
#
|
6146
|
-
# <note markdown="1"> This parameter applies to general purpose buckets only. It
|
6278
|
+
# <note markdown="1"> This parameter applies to general purpose buckets only. It isn't
|
6147
6279
|
# supported for directory bucket lifecycle configurations.
|
6148
6280
|
#
|
6149
6281
|
# </note>
|
@@ -7367,10 +7499,10 @@ module Aws::S3
|
|
7367
7499
|
# @return [String]
|
7368
7500
|
#
|
7369
7501
|
# @!attribute [rw] checksum_crc32
|
7370
|
-
# The
|
7371
|
-
# only
|
7372
|
-
# information, see [ Checking object integrity][1] in the
|
7373
|
-
# User Guide*.
|
7502
|
+
# The Base64 encoded, 32-bit `CRC-32` checksum of the object. This
|
7503
|
+
# checksum is only present if the object was uploaded with the object.
|
7504
|
+
# For more information, see [ Checking object integrity][1] in the
|
7505
|
+
# *Amazon S3 User Guide*.
|
7374
7506
|
#
|
7375
7507
|
#
|
7376
7508
|
#
|
@@ -7378,10 +7510,20 @@ module Aws::S3
|
|
7378
7510
|
# @return [String]
|
7379
7511
|
#
|
7380
7512
|
# @!attribute [rw] checksum_crc32c
|
7381
|
-
# The
|
7382
|
-
# only be present if
|
7383
|
-
# information, see [ Checking object integrity][1] in the *Amazon
|
7384
|
-
# User Guide*.
|
7513
|
+
# The Base64 encoded, 32-bit `CRC-32C` checksum of the object. This
|
7514
|
+
# will only be present if the object was uploaded with the object. For
|
7515
|
+
# more information, see [ Checking object integrity][1] in the *Amazon
|
7516
|
+
# S3 User Guide*.
|
7517
|
+
#
|
7518
|
+
#
|
7519
|
+
#
|
7520
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
7521
|
+
# @return [String]
|
7522
|
+
#
|
7523
|
+
# @!attribute [rw] checksum_crc64nvme
|
7524
|
+
# The Base64 encoded, 64-bit `CRC-64NVME` checksum of the object. For
|
7525
|
+
# more information, see [Checking object integrity in the Amazon S3
|
7526
|
+
# User Guide][1].
|
7385
7527
|
#
|
7386
7528
|
#
|
7387
7529
|
#
|
@@ -7389,8 +7531,8 @@ module Aws::S3
|
|
7389
7531
|
# @return [String]
|
7390
7532
|
#
|
7391
7533
|
# @!attribute [rw] checksum_sha1
|
7392
|
-
# The
|
7393
|
-
# only be present if
|
7534
|
+
# The Base64 encoded, 160-bit `SHA-1` digest of the object. This will
|
7535
|
+
# only be present if the object was uploaded with the object. For more
|
7394
7536
|
# information, see [ Checking object integrity][1] in the *Amazon S3
|
7395
7537
|
# User Guide*.
|
7396
7538
|
#
|
@@ -7400,10 +7542,23 @@ module Aws::S3
|
|
7400
7542
|
# @return [String]
|
7401
7543
|
#
|
7402
7544
|
# @!attribute [rw] checksum_sha256
|
7403
|
-
# The
|
7404
|
-
# only be present if
|
7405
|
-
# information, see [ Checking object integrity][1] in the *Amazon
|
7406
|
-
# User Guide*.
|
7545
|
+
# The Base64 encoded, 256-bit `SHA-256` digest of the object. This
|
7546
|
+
# will only be present if the object was uploaded with the object. For
|
7547
|
+
# more information, see [ Checking object integrity][1] in the *Amazon
|
7548
|
+
# S3 User Guide*.
|
7549
|
+
#
|
7550
|
+
#
|
7551
|
+
#
|
7552
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
7553
|
+
# @return [String]
|
7554
|
+
#
|
7555
|
+
# @!attribute [rw] checksum_type
|
7556
|
+
# The checksum type, which determines how part-level checksums are
|
7557
|
+
# combined to create an object-level checksum for multipart objects.
|
7558
|
+
# You can use this header response to verify that the checksum type
|
7559
|
+
# that is received is the same checksum type that was specified in the
|
7560
|
+
# `CreateMultipartUpload` request. For more information, see [Checking
|
7561
|
+
# object integrity][1] in the *Amazon S3 User Guide*.
|
7407
7562
|
#
|
7408
7563
|
#
|
7409
7564
|
#
|
@@ -7604,8 +7759,10 @@ module Aws::S3
|
|
7604
7759
|
:etag,
|
7605
7760
|
:checksum_crc32,
|
7606
7761
|
:checksum_crc32c,
|
7762
|
+
:checksum_crc64nvme,
|
7607
7763
|
:checksum_sha1,
|
7608
7764
|
:checksum_sha256,
|
7765
|
+
:checksum_type,
|
7609
7766
|
:missing_meta,
|
7610
7767
|
:version_id,
|
7611
7768
|
:cache_control,
|
@@ -8552,14 +8709,14 @@ module Aws::S3
|
|
8552
8709
|
# @return [Integer]
|
8553
8710
|
#
|
8554
8711
|
# @!attribute [rw] checksum_crc32
|
8555
|
-
# The
|
8556
|
-
# only be present if
|
8557
|
-
# API operation on an object that was uploaded
|
8558
|
-
# uploads, this value may not be a direct checksum
|
8559
|
-
# object. Instead, it's a calculation based on the
|
8560
|
-
# each individual part. For more information about
|
8561
|
-
# calculated with multipart uploads, see [ Checking
|
8562
|
-
# integrity][1] in the *Amazon S3 User Guide*.
|
8712
|
+
# The Base64 encoded, 32-bit `CRC-32 checksum` of the object. This
|
8713
|
+
# checksum is only be present if the checksum was uploaded with the
|
8714
|
+
# object. When you use an API operation on an object that was uploaded
|
8715
|
+
# using multipart uploads, this value may not be a direct checksum
|
8716
|
+
# value of the full object. Instead, it's a calculation based on the
|
8717
|
+
# checksum values of each individual part. For more information about
|
8718
|
+
# how checksums are calculated with multipart uploads, see [ Checking
|
8719
|
+
# object integrity][1] in the *Amazon S3 User Guide*.
|
8563
8720
|
#
|
8564
8721
|
#
|
8565
8722
|
#
|
@@ -8567,24 +8724,34 @@ module Aws::S3
|
|
8567
8724
|
# @return [String]
|
8568
8725
|
#
|
8569
8726
|
# @!attribute [rw] checksum_crc32c
|
8570
|
-
# The
|
8571
|
-
# only
|
8572
|
-
# API operation on an object that was uploaded
|
8573
|
-
# uploads, this value may not be a direct checksum
|
8574
|
-
# object. Instead, it's a calculation based on the
|
8575
|
-
# each individual part. For more information about
|
8576
|
-
# calculated with multipart uploads, see [ Checking
|
8577
|
-
# integrity][1] in the *Amazon S3 User Guide*.
|
8727
|
+
# The Base64 encoded, 32-bit `CRC-32C` checksum of the object. This
|
8728
|
+
# checksum is only present if the checksum was uploaded with the
|
8729
|
+
# object. When you use an API operation on an object that was uploaded
|
8730
|
+
# using multipart uploads, this value may not be a direct checksum
|
8731
|
+
# value of the full object. Instead, it's a calculation based on the
|
8732
|
+
# checksum values of each individual part. For more information about
|
8733
|
+
# how checksums are calculated with multipart uploads, see [ Checking
|
8734
|
+
# object integrity][1] in the *Amazon S3 User Guide*.
|
8578
8735
|
#
|
8579
8736
|
#
|
8580
8737
|
#
|
8581
8738
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
|
8582
8739
|
# @return [String]
|
8583
8740
|
#
|
8741
|
+
# @!attribute [rw] checksum_crc64nvme
|
8742
|
+
# The Base64 encoded, 64-bit `CRC-64NVME` checksum of the object. For
|
8743
|
+
# more information, see [Checking object integrity in the Amazon S3
|
8744
|
+
# User Guide][1].
|
8745
|
+
#
|
8746
|
+
#
|
8747
|
+
#
|
8748
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
8749
|
+
# @return [String]
|
8750
|
+
#
|
8584
8751
|
# @!attribute [rw] checksum_sha1
|
8585
|
-
# The
|
8586
|
-
# only be present if
|
8587
|
-
# API operation on an object that was uploaded using multipart
|
8752
|
+
# The Base64 encoded, 160-bit `SHA-1` digest of the object. This will
|
8753
|
+
# only be present if the object was uploaded with the object. When you
|
8754
|
+
# use the API operation on an object that was uploaded using multipart
|
8588
8755
|
# uploads, this value may not be a direct checksum value of the full
|
8589
8756
|
# object. Instead, it's a calculation based on the checksum values of
|
8590
8757
|
# each individual part. For more information about how checksums are
|
@@ -8597,20 +8764,33 @@ module Aws::S3
|
|
8597
8764
|
# @return [String]
|
8598
8765
|
#
|
8599
8766
|
# @!attribute [rw] checksum_sha256
|
8600
|
-
# The
|
8601
|
-
# only be present if
|
8602
|
-
# API operation on an object that was uploaded using
|
8603
|
-
# uploads, this value may not be a direct checksum value of
|
8604
|
-
# object. Instead, it's a calculation based on the checksum
|
8605
|
-
# each individual part. For more information about how
|
8606
|
-
# calculated with multipart uploads, see [ Checking
|
8607
|
-
# integrity][1] in the *Amazon S3 User Guide*.
|
8767
|
+
# The Base64 encoded, 256-bit `SHA-256` digest of the object. This
|
8768
|
+
# will only be present if the object was uploaded with the object.
|
8769
|
+
# When you use an API operation on an object that was uploaded using
|
8770
|
+
# multipart uploads, this value may not be a direct checksum value of
|
8771
|
+
# the full object. Instead, it's a calculation based on the checksum
|
8772
|
+
# values of each individual part. For more information about how
|
8773
|
+
# checksums are calculated with multipart uploads, see [ Checking
|
8774
|
+
# object integrity][1] in the *Amazon S3 User Guide*.
|
8608
8775
|
#
|
8609
8776
|
#
|
8610
8777
|
#
|
8611
8778
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
|
8612
8779
|
# @return [String]
|
8613
8780
|
#
|
8781
|
+
# @!attribute [rw] checksum_type
|
8782
|
+
# The checksum type, which determines how part-level checksums are
|
8783
|
+
# combined to create an object-level checksum for multipart objects.
|
8784
|
+
# You can use this header response to verify that the checksum type
|
8785
|
+
# that is received is the same checksum type that was specified in
|
8786
|
+
# `CreateMultipartUpload` request. For more information, see [Checking
|
8787
|
+
# object integrity in the Amazon S3 User Guide][1].
|
8788
|
+
#
|
8789
|
+
#
|
8790
|
+
#
|
8791
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
8792
|
+
# @return [String]
|
8793
|
+
#
|
8614
8794
|
# @!attribute [rw] etag
|
8615
8795
|
# An entity tag (ETag) is an opaque identifier assigned by a web
|
8616
8796
|
# server to a specific version of a resource found at a URL.
|
@@ -8850,8 +9030,10 @@ module Aws::S3
|
|
8850
9030
|
:content_length,
|
8851
9031
|
:checksum_crc32,
|
8852
9032
|
:checksum_crc32c,
|
9033
|
+
:checksum_crc64nvme,
|
8853
9034
|
:checksum_sha1,
|
8854
9035
|
:checksum_sha256,
|
9036
|
+
:checksum_type,
|
8855
9037
|
:etag,
|
8856
9038
|
:missing_meta,
|
8857
9039
|
:version_id,
|
@@ -11496,6 +11678,19 @@ module Aws::S3
|
|
11496
11678
|
# The algorithm that was used to create a checksum of the object.
|
11497
11679
|
# @return [String]
|
11498
11680
|
#
|
11681
|
+
# @!attribute [rw] checksum_type
|
11682
|
+
# The checksum type, which determines how part-level checksums are
|
11683
|
+
# combined to create an object-level checksum for multipart objects.
|
11684
|
+
# You can use this header response to verify that the checksum type
|
11685
|
+
# that is received is the same checksum type that was specified in
|
11686
|
+
# `CreateMultipartUpload` request. For more information, see [Checking
|
11687
|
+
# object integrity in the Amazon S3 User Guide][1].
|
11688
|
+
#
|
11689
|
+
#
|
11690
|
+
#
|
11691
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
11692
|
+
# @return [String]
|
11693
|
+
#
|
11499
11694
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ListPartsOutput AWS API Documentation
|
11500
11695
|
#
|
11501
11696
|
class ListPartsOutput < Struct.new(
|
@@ -11513,7 +11708,8 @@ module Aws::S3
|
|
11513
11708
|
:owner,
|
11514
11709
|
:storage_class,
|
11515
11710
|
:request_charged,
|
11516
|
-
:checksum_algorithm
|
11711
|
+
:checksum_algorithm,
|
11712
|
+
:checksum_type)
|
11517
11713
|
SENSITIVE = []
|
11518
11714
|
include Aws::Structure
|
11519
11715
|
end
|
@@ -11671,8 +11867,8 @@ module Aws::S3
|
|
11671
11867
|
# Specifies the location where the bucket will be created.
|
11672
11868
|
#
|
11673
11869
|
# For directory buckets, the location type is Availability Zone or Local
|
11674
|
-
# Zone. For more information about directory buckets, see [
|
11675
|
-
#
|
11870
|
+
# Zone. For more information about directory buckets, see [Directory
|
11871
|
+
# buckets][1] in the *Amazon S3 User Guide*.
|
11676
11872
|
#
|
11677
11873
|
# <note markdown="1"> This functionality is only supported by directory buckets.
|
11678
11874
|
#
|
@@ -11976,6 +12172,16 @@ module Aws::S3
|
|
11976
12172
|
# The algorithm that was used to create a checksum of the object.
|
11977
12173
|
# @return [String]
|
11978
12174
|
#
|
12175
|
+
# @!attribute [rw] checksum_type
|
12176
|
+
# The checksum type that is used to calculate the object’s checksum
|
12177
|
+
# value. For more information, see [Checking object integrity][1] in
|
12178
|
+
# the *Amazon S3 User Guide*.
|
12179
|
+
#
|
12180
|
+
#
|
12181
|
+
#
|
12182
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
12183
|
+
# @return [String]
|
12184
|
+
#
|
11979
12185
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/MultipartUpload AWS API Documentation
|
11980
12186
|
#
|
11981
12187
|
class MultipartUpload < Struct.new(
|
@@ -11985,7 +12191,8 @@ module Aws::S3
|
|
11985
12191
|
:storage_class,
|
11986
12192
|
:owner,
|
11987
12193
|
:initiator,
|
11988
|
-
:checksum_algorithm
|
12194
|
+
:checksum_algorithm,
|
12195
|
+
:checksum_type)
|
11989
12196
|
SENSITIVE = []
|
11990
12197
|
include Aws::Structure
|
11991
12198
|
end
|
@@ -12236,6 +12443,16 @@ module Aws::S3
|
|
12236
12443
|
# The algorithm that was used to create a checksum of the object.
|
12237
12444
|
# @return [Array<String>]
|
12238
12445
|
#
|
12446
|
+
# @!attribute [rw] checksum_type
|
12447
|
+
# The checksum type that is used to calculate the object’s checksum
|
12448
|
+
# value. For more information, see [Checking object integrity][1] in
|
12449
|
+
# the *Amazon S3 User Guide*.
|
12450
|
+
#
|
12451
|
+
#
|
12452
|
+
#
|
12453
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
12454
|
+
# @return [String]
|
12455
|
+
#
|
12239
12456
|
# @!attribute [rw] size
|
12240
12457
|
# Size in bytes of the object
|
12241
12458
|
# @return [Integer]
|
@@ -12283,6 +12500,7 @@ module Aws::S3
|
|
12283
12500
|
:last_modified,
|
12284
12501
|
:etag,
|
12285
12502
|
:checksum_algorithm,
|
12503
|
+
:checksum_type,
|
12286
12504
|
:size,
|
12287
12505
|
:storage_class,
|
12288
12506
|
:owner,
|
@@ -12455,11 +12673,10 @@ module Aws::S3
|
|
12455
12673
|
# @return [Integer]
|
12456
12674
|
#
|
12457
12675
|
# @!attribute [rw] checksum_crc32
|
12458
|
-
#
|
12459
|
-
#
|
12460
|
-
#
|
12461
|
-
#
|
12462
|
-
# *Amazon S3 User Guide*.
|
12676
|
+
# The Base64 encoded, 32-bit `CRC-32` checksum of the part. This
|
12677
|
+
# checksum is present if the multipart upload request was created with
|
12678
|
+
# the `CRC-32` checksum algorithm. For more information, see [Checking
|
12679
|
+
# object integrity][1] in the *Amazon S3 User Guide*.
|
12463
12680
|
#
|
12464
12681
|
#
|
12465
12682
|
#
|
@@ -12467,48 +12684,49 @@ module Aws::S3
|
|
12467
12684
|
# @return [String]
|
12468
12685
|
#
|
12469
12686
|
# @!attribute [rw] checksum_crc32c
|
12470
|
-
# The
|
12471
|
-
#
|
12472
|
-
#
|
12473
|
-
#
|
12474
|
-
# object. Instead, it's a calculation based on the checksum values of
|
12475
|
-
# each individual part. For more information about how checksums are
|
12476
|
-
# calculated with multipart uploads, see [ Checking object
|
12477
|
-
# integrity][1] in the *Amazon S3 User Guide*.
|
12687
|
+
# The Base64 encoded, 32-bit `CRC-32C` checksum of the part. This
|
12688
|
+
# checksum is present if the multipart upload request was created with
|
12689
|
+
# the `CRC-32C` checksum algorithm. For more information, see
|
12690
|
+
# [Checking object integrity][1] in the *Amazon S3 User Guide*.
|
12478
12691
|
#
|
12479
12692
|
#
|
12480
12693
|
#
|
12481
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
12694
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
12695
|
+
# @return [String]
|
12696
|
+
#
|
12697
|
+
# @!attribute [rw] checksum_crc64nvme
|
12698
|
+
# The Base64 encoded, 64-bit `CRC-64NVME` checksum of the part. This
|
12699
|
+
# checksum is present if the multipart upload request was created with
|
12700
|
+
# the `CRC-64NVME` checksum algorithm, or if the object was uploaded
|
12701
|
+
# without a checksum (and Amazon S3 added the default checksum,
|
12702
|
+
# `CRC-64NVME`, to the uploaded object). For more information, see
|
12703
|
+
# [Checking object integrity][1] in the *Amazon S3 User Guide*.
|
12704
|
+
#
|
12705
|
+
#
|
12706
|
+
#
|
12707
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
12482
12708
|
# @return [String]
|
12483
12709
|
#
|
12484
12710
|
# @!attribute [rw] checksum_sha1
|
12485
|
-
# The
|
12486
|
-
#
|
12487
|
-
#
|
12488
|
-
#
|
12489
|
-
# object. Instead, it's a calculation based on the checksum values of
|
12490
|
-
# each individual part. For more information about how checksums are
|
12491
|
-
# calculated with multipart uploads, see [ Checking object
|
12492
|
-
# integrity][1] in the *Amazon S3 User Guide*.
|
12711
|
+
# The Base64 encoded, 160-bit `SHA-1` checksum of the part. This
|
12712
|
+
# checksum is present if the multipart upload request was created with
|
12713
|
+
# the `SHA-1` checksum algorithm. For more information, see [Checking
|
12714
|
+
# object integrity][1] in the *Amazon S3 User Guide*.
|
12493
12715
|
#
|
12494
12716
|
#
|
12495
12717
|
#
|
12496
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
12718
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
12497
12719
|
# @return [String]
|
12498
12720
|
#
|
12499
12721
|
# @!attribute [rw] checksum_sha256
|
12500
|
-
# The
|
12501
|
-
#
|
12502
|
-
#
|
12503
|
-
#
|
12504
|
-
# object. Instead, it's a calculation based on the checksum values of
|
12505
|
-
# each individual part. For more information about how checksums are
|
12506
|
-
# calculated with multipart uploads, see [ Checking object
|
12507
|
-
# integrity][1] in the *Amazon S3 User Guide*.
|
12722
|
+
# The Base64 encoded, 256-bit `SHA-256` checksum of the part. This
|
12723
|
+
# checksum is present if the multipart upload request was created with
|
12724
|
+
# the `SHA-256` checksum algorithm. For more information, see
|
12725
|
+
# [Checking object integrity][1] in the *Amazon S3 User Guide*.
|
12508
12726
|
#
|
12509
12727
|
#
|
12510
12728
|
#
|
12511
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
12729
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
12512
12730
|
# @return [String]
|
12513
12731
|
#
|
12514
12732
|
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectPart AWS API Documentation
|
@@ -12518,6 +12736,7 @@ module Aws::S3
|
|
12518
12736
|
:size,
|
12519
12737
|
:checksum_crc32,
|
12520
12738
|
:checksum_crc32c,
|
12739
|
+
:checksum_crc64nvme,
|
12521
12740
|
:checksum_sha1,
|
12522
12741
|
:checksum_sha256)
|
12523
12742
|
SENSITIVE = []
|
@@ -12534,6 +12753,16 @@ module Aws::S3
|
|
12534
12753
|
# The algorithm that was used to create a checksum of the object.
|
12535
12754
|
# @return [Array<String>]
|
12536
12755
|
#
|
12756
|
+
# @!attribute [rw] checksum_type
|
12757
|
+
# The checksum type that is used to calculate the object’s checksum
|
12758
|
+
# value. For more information, see [Checking object integrity][1] in
|
12759
|
+
# the *Amazon S3 User Guide*.
|
12760
|
+
#
|
12761
|
+
#
|
12762
|
+
#
|
12763
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
12764
|
+
# @return [String]
|
12765
|
+
#
|
12537
12766
|
# @!attribute [rw] size
|
12538
12767
|
# Size in bytes of the object.
|
12539
12768
|
# @return [Integer]
|
@@ -12580,6 +12809,7 @@ module Aws::S3
|
|
12580
12809
|
class ObjectVersion < Struct.new(
|
12581
12810
|
:etag,
|
12582
12811
|
:checksum_algorithm,
|
12812
|
+
:checksum_type,
|
12583
12813
|
:size,
|
12584
12814
|
:storage_class,
|
12585
12815
|
:key,
|
@@ -12755,11 +12985,10 @@ module Aws::S3
|
|
12755
12985
|
# @return [Integer]
|
12756
12986
|
#
|
12757
12987
|
# @!attribute [rw] checksum_crc32
|
12758
|
-
#
|
12759
|
-
#
|
12760
|
-
#
|
12761
|
-
#
|
12762
|
-
# *Amazon S3 User Guide*.
|
12988
|
+
# The Base64 encoded, 32-bit `CRC-32` checksum of the part. This
|
12989
|
+
# checksum is present if the object was uploaded with the `CRC-32`
|
12990
|
+
# checksum algorithm. For more information, see [Checking object
|
12991
|
+
# integrity][1] in the *Amazon S3 User Guide*.
|
12763
12992
|
#
|
12764
12993
|
#
|
12765
12994
|
#
|
@@ -12767,41 +12996,45 @@ module Aws::S3
|
|
12767
12996
|
# @return [String]
|
12768
12997
|
#
|
12769
12998
|
# @!attribute [rw] checksum_crc32c
|
12770
|
-
# The
|
12771
|
-
#
|
12772
|
-
#
|
12773
|
-
# uploads, this value may not be a direct checksum value of the full
|
12774
|
-
# object. Instead, it's a calculation based on the checksum values of
|
12775
|
-
# each individual part. For more information about how checksums are
|
12776
|
-
# calculated with multipart uploads, see [ Checking object
|
12999
|
+
# The Base64 encoded, 32-bit `CRC-32C` checksum of the part. This
|
13000
|
+
# checksum is present if the object was uploaded with the `CRC-32C`
|
13001
|
+
# checksum algorithm. For more information, see [Checking object
|
12777
13002
|
# integrity][1] in the *Amazon S3 User Guide*.
|
12778
13003
|
#
|
12779
13004
|
#
|
12780
13005
|
#
|
12781
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
13006
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
13007
|
+
# @return [String]
|
13008
|
+
#
|
13009
|
+
# @!attribute [rw] checksum_crc64nvme
|
13010
|
+
# The Base64 encoded, 64-bit `CRC-64NVME` checksum of the part. This
|
13011
|
+
# checksum is present if the multipart upload request was created with
|
13012
|
+
# the `CRC-64NVME` checksum algorithm, or if the object was uploaded
|
13013
|
+
# without a checksum (and Amazon S3 added the default checksum,
|
13014
|
+
# `CRC-64NVME`, to the uploaded object). For more information, see
|
13015
|
+
# [Checking object integrity][1] in the *Amazon S3 User Guide*.
|
13016
|
+
#
|
13017
|
+
#
|
13018
|
+
#
|
13019
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
12782
13020
|
# @return [String]
|
12783
13021
|
#
|
12784
13022
|
# @!attribute [rw] checksum_sha1
|
12785
|
-
# The
|
12786
|
-
#
|
12787
|
-
#
|
12788
|
-
# uploads, this value may not be a direct checksum value of the full
|
12789
|
-
# object. Instead, it's a calculation based on the checksum values of
|
12790
|
-
# each individual part. For more information about how checksums are
|
12791
|
-
# calculated with multipart uploads, see [ Checking object
|
13023
|
+
# The Base64 encoded, 160-bit `SHA-1` checksum of the part. This
|
13024
|
+
# checksum is present if the object was uploaded with the `SHA-1`
|
13025
|
+
# checksum algorithm. For more information, see [Checking object
|
12792
13026
|
# integrity][1] in the *Amazon S3 User Guide*.
|
12793
13027
|
#
|
12794
13028
|
#
|
12795
13029
|
#
|
12796
|
-
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
13030
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
12797
13031
|
# @return [String]
|
12798
13032
|
#
|
12799
13033
|
# @!attribute [rw] checksum_sha256
|
12800
|
-
#
|
12801
|
-
#
|
12802
|
-
#
|
12803
|
-
#
|
12804
|
-
# *Amazon S3 User Guide*.
|
13034
|
+
# The Base64 encoded, 256-bit `SHA-256` checksum of the part. This
|
13035
|
+
# checksum is present if the object was uploaded with the `SHA-256`
|
13036
|
+
# checksum algorithm. For more information, see [Checking object
|
13037
|
+
# integrity][1] in the *Amazon S3 User Guide*.
|
12805
13038
|
#
|
12806
13039
|
#
|
12807
13040
|
#
|
@@ -12817,6 +13050,7 @@ module Aws::S3
|
|
12817
13050
|
:size,
|
12818
13051
|
:checksum_crc32,
|
12819
13052
|
:checksum_crc32c,
|
13053
|
+
:checksum_crc64nvme,
|
12820
13054
|
:checksum_sha1,
|
12821
13055
|
:checksum_sha256)
|
12822
13056
|
SENSITIVE = []
|
@@ -13033,9 +13267,9 @@ module Aws::S3
|
|
13033
13267
|
# @return [String]
|
13034
13268
|
#
|
13035
13269
|
# @!attribute [rw] content_md5
|
13036
|
-
# The
|
13037
|
-
# be used as a message integrity check to verify that the request
|
13038
|
-
# was not corrupted in transit. For more information, go to [RFC
|
13270
|
+
# The Base64 encoded 128-bit `MD5` digest of the data. This header
|
13271
|
+
# must be used as a message integrity check to verify that the request
|
13272
|
+
# body was not corrupted in transit. For more information, go to [RFC
|
13039
13273
|
# 1864.][1]
|
13040
13274
|
#
|
13041
13275
|
# For requests made using the Amazon Web Services Command Line
|
@@ -13159,9 +13393,9 @@ module Aws::S3
|
|
13159
13393
|
# @return [Types::CORSConfiguration]
|
13160
13394
|
#
|
13161
13395
|
# @!attribute [rw] content_md5
|
13162
|
-
# The
|
13163
|
-
# be used as a message integrity check to verify that the request
|
13164
|
-
# was not corrupted in transit. For more information, go to [RFC
|
13396
|
+
# The Base64 encoded 128-bit `MD5` digest of the data. This header
|
13397
|
+
# must be used as a message integrity check to verify that the request
|
13398
|
+
# body was not corrupted in transit. For more information, go to [RFC
|
13165
13399
|
# 1864.][1]
|
13166
13400
|
#
|
13167
13401
|
# For requests made using the Amazon Web Services Command Line
|
@@ -13230,8 +13464,8 @@ module Aws::S3
|
|
13230
13464
|
# @return [String]
|
13231
13465
|
#
|
13232
13466
|
# @!attribute [rw] content_md5
|
13233
|
-
# The
|
13234
|
-
# configuration.
|
13467
|
+
# The Base64 encoded 128-bit `MD5` digest of the server-side
|
13468
|
+
# encryption configuration.
|
13235
13469
|
#
|
13236
13470
|
# For requests made using the Amazon Web Services Command Line
|
13237
13471
|
# Interface (CLI) or Amazon Web Services SDKs, this field is
|
@@ -13746,23 +13980,23 @@ module Aws::S3
|
|
13746
13980
|
# For the `x-amz-checksum-algorithm ` header, replace ` algorithm `
|
13747
13981
|
# with the supported algorithm from the following list:
|
13748
13982
|
#
|
13749
|
-
# * `
|
13983
|
+
# * `CRC-32`
|
13984
|
+
#
|
13985
|
+
# * `CRC-32C`
|
13750
13986
|
#
|
13751
|
-
# * `
|
13987
|
+
# * `CRC-64NVME`
|
13752
13988
|
#
|
13753
|
-
# * `
|
13989
|
+
# * `SHA-1`
|
13754
13990
|
#
|
13755
|
-
# * `
|
13991
|
+
# * `SHA-256`
|
13756
13992
|
#
|
13757
13993
|
# For more information, see [Checking object integrity][1] in the
|
13758
13994
|
# *Amazon S3 User Guide*.
|
13759
13995
|
#
|
13760
13996
|
# If the individual checksum value you provide through
|
13761
13997
|
# `x-amz-checksum-algorithm ` doesn't match the checksum algorithm
|
13762
|
-
# you set through `x-amz-sdk-checksum-algorithm`, Amazon S3
|
13763
|
-
#
|
13764
|
-
# algorithm that matches the provided value in
|
13765
|
-
# `x-amz-checksum-algorithm `.
|
13998
|
+
# you set through `x-amz-sdk-checksum-algorithm`, Amazon S3 fails the
|
13999
|
+
# request with a `BadDigest` error.
|
13766
14000
|
#
|
13767
14001
|
# <note markdown="1"> For directory buckets, when you use Amazon Web Services SDKs,
|
13768
14002
|
# `CRC32` is the default checksum algorithm that's used for
|
@@ -13822,9 +14056,9 @@ module Aws::S3
|
|
13822
14056
|
# @return [String]
|
13823
14057
|
#
|
13824
14058
|
# @!attribute [rw] content_md5
|
13825
|
-
# The
|
13826
|
-
# header as a message integrity check to verify that the request
|
13827
|
-
# was not corrupted in transit. For more information, see [RFC
|
14059
|
+
# The Base64 encoded 128-bit `MD5` digest of the data. You must use
|
14060
|
+
# this header as a message integrity check to verify that the request
|
14061
|
+
# body was not corrupted in transit. For more information, see [RFC
|
13828
14062
|
# 1864][1].
|
13829
14063
|
#
|
13830
14064
|
# For requests made using the Amazon Web Services Command Line
|
@@ -13887,9 +14121,9 @@ module Aws::S3
|
|
13887
14121
|
# @return [String]
|
13888
14122
|
#
|
13889
14123
|
# @!attribute [rw] content_md5
|
13890
|
-
# The
|
13891
|
-
# header as a message integrity check to verify that the request
|
13892
|
-
# was not corrupted in transit. For more information, see [RFC
|
14124
|
+
# The Base64 encoded 128-bit `MD5` digest of the data. You must use
|
14125
|
+
# this header as a message integrity check to verify that the request
|
14126
|
+
# body was not corrupted in transit. For more information, see [RFC
|
13893
14127
|
# 1864][1].
|
13894
14128
|
#
|
13895
14129
|
# For requests made using the Amazon Web Services Command Line
|
@@ -13946,9 +14180,9 @@ module Aws::S3
|
|
13946
14180
|
# @return [String]
|
13947
14181
|
#
|
13948
14182
|
# @!attribute [rw] content_md5
|
13949
|
-
# The
|
13950
|
-
# header as a message integrity check to verify that the request
|
13951
|
-
# was not corrupted in transit. For more information, see [RFC
|
14183
|
+
# The Base64 encoded 128-bit `MD5` digest of the data. You must use
|
14184
|
+
# this header as a message integrity check to verify that the request
|
14185
|
+
# body was not corrupted in transit. For more information, see [RFC
|
13952
14186
|
# 1864][1].
|
13953
14187
|
#
|
13954
14188
|
# For requests made using the Amazon Web Services Command Line
|
@@ -14005,10 +14239,10 @@ module Aws::S3
|
|
14005
14239
|
# @return [String]
|
14006
14240
|
#
|
14007
14241
|
# @!attribute [rw] content_md5
|
14008
|
-
# >The
|
14009
|
-
# this header as a message integrity check to verify that the
|
14010
|
-
# body was not corrupted in transit. For more information, see
|
14011
|
-
# 1864][1].
|
14242
|
+
# >The Base64 encoded 128-bit `MD5` digest of the data. You must
|
14243
|
+
# use this header as a message integrity check to verify that the
|
14244
|
+
# request body was not corrupted in transit. For more information, see
|
14245
|
+
# [RFC 1864][1].
|
14012
14246
|
#
|
14013
14247
|
# For requests made using the Amazon Web Services Command Line
|
14014
14248
|
# Interface (CLI) or Amazon Web Services SDKs, this field is
|
@@ -14071,9 +14305,9 @@ module Aws::S3
|
|
14071
14305
|
# @return [String]
|
14072
14306
|
#
|
14073
14307
|
# @!attribute [rw] content_md5
|
14074
|
-
# The
|
14075
|
-
# header as a message integrity check to verify that the request
|
14076
|
-
# was not corrupted in transit. For more information, see [RFC
|
14308
|
+
# The Base64 encoded 128-bit `MD5` digest of the data. You must use
|
14309
|
+
# this header as a message integrity check to verify that the request
|
14310
|
+
# body was not corrupted in transit. For more information, see [RFC
|
14077
14311
|
# 1864][1].
|
14078
14312
|
#
|
14079
14313
|
# For requests made using the Amazon Web Services Command Line
|
@@ -14187,9 +14421,9 @@ module Aws::S3
|
|
14187
14421
|
# @return [String]
|
14188
14422
|
#
|
14189
14423
|
# @!attribute [rw] content_md5
|
14190
|
-
# The
|
14191
|
-
# be used as a message integrity check to verify that the request
|
14192
|
-
# was not corrupted in transit. For more information, go to [RFC
|
14424
|
+
# The Base64 encoded 128-bit `MD5` digest of the data. This header
|
14425
|
+
# must be used as a message integrity check to verify that the request
|
14426
|
+
# body was not corrupted in transit. For more information, go to [RFC
|
14193
14427
|
# 1864.>][1]
|
14194
14428
|
#
|
14195
14429
|
# For requests made using the Amazon Web Services Command Line
|
@@ -14550,14 +14784,14 @@ module Aws::S3
|
|
14550
14784
|
# @return [String]
|
14551
14785
|
#
|
14552
14786
|
# @!attribute [rw] checksum_crc32
|
14553
|
-
# The
|
14554
|
-
# only be present if
|
14555
|
-
# API operation on an object that was uploaded
|
14556
|
-
# uploads, this value may not be a direct checksum
|
14557
|
-
# object. Instead, it's a calculation based on the
|
14558
|
-
# each individual part. For more information about
|
14559
|
-
# calculated with multipart uploads, see [ Checking
|
14560
|
-
# integrity][1] in the *Amazon S3 User Guide*.
|
14787
|
+
# The Base64 encoded, 32-bit `CRC-32 checksum` of the object. This
|
14788
|
+
# checksum is only be present if the checksum was uploaded with the
|
14789
|
+
# object. When you use an API operation on an object that was uploaded
|
14790
|
+
# using multipart uploads, this value may not be a direct checksum
|
14791
|
+
# value of the full object. Instead, it's a calculation based on the
|
14792
|
+
# checksum values of each individual part. For more information about
|
14793
|
+
# how checksums are calculated with multipart uploads, see [ Checking
|
14794
|
+
# object integrity][1] in the *Amazon S3 User Guide*.
|
14561
14795
|
#
|
14562
14796
|
#
|
14563
14797
|
#
|
@@ -14565,24 +14799,38 @@ module Aws::S3
|
|
14565
14799
|
# @return [String]
|
14566
14800
|
#
|
14567
14801
|
# @!attribute [rw] checksum_crc32c
|
14568
|
-
# The
|
14569
|
-
# only
|
14570
|
-
# API operation on an object that was uploaded
|
14571
|
-
# uploads, this value may not be a direct checksum
|
14572
|
-
# object. Instead, it's a calculation based on the
|
14573
|
-
# each individual part. For more information about
|
14574
|
-
# calculated with multipart uploads, see [ Checking
|
14575
|
-
# integrity][1] in the *Amazon S3 User Guide*.
|
14802
|
+
# The Base64 encoded, 32-bit `CRC-32C` checksum of the object. This
|
14803
|
+
# checksum is only present if the checksum was uploaded with the
|
14804
|
+
# object. When you use an API operation on an object that was uploaded
|
14805
|
+
# using multipart uploads, this value may not be a direct checksum
|
14806
|
+
# value of the full object. Instead, it's a calculation based on the
|
14807
|
+
# checksum values of each individual part. For more information about
|
14808
|
+
# how checksums are calculated with multipart uploads, see [ Checking
|
14809
|
+
# object integrity][1] in the *Amazon S3 User Guide*.
|
14576
14810
|
#
|
14577
14811
|
#
|
14578
14812
|
#
|
14579
14813
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
|
14580
14814
|
# @return [String]
|
14581
14815
|
#
|
14816
|
+
# @!attribute [rw] checksum_crc64nvme
|
14817
|
+
# The Base64 encoded, 64-bit `CRC-64NVME` checksum of the object. This
|
14818
|
+
# header is present if the object was uploaded with the `CRC-64NVME`
|
14819
|
+
# checksum algorithm, or if it was uploaded without a checksum (and
|
14820
|
+
# Amazon S3 added the default checksum, `CRC-64NVME`, to the uploaded
|
14821
|
+
# object). For more information about how checksums are calculated
|
14822
|
+
# with multipart uploads, see [Checking object integrity in the Amazon
|
14823
|
+
# S3 User Guide][1].
|
14824
|
+
#
|
14825
|
+
#
|
14826
|
+
#
|
14827
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
14828
|
+
# @return [String]
|
14829
|
+
#
|
14582
14830
|
# @!attribute [rw] checksum_sha1
|
14583
|
-
# The
|
14584
|
-
# only be present if
|
14585
|
-
# API operation on an object that was uploaded using multipart
|
14831
|
+
# The Base64 encoded, 160-bit `SHA-1` digest of the object. This will
|
14832
|
+
# only be present if the object was uploaded with the object. When you
|
14833
|
+
# use the API operation on an object that was uploaded using multipart
|
14586
14834
|
# uploads, this value may not be a direct checksum value of the full
|
14587
14835
|
# object. Instead, it's a calculation based on the checksum values of
|
14588
14836
|
# each individual part. For more information about how checksums are
|
@@ -14595,20 +14843,35 @@ module Aws::S3
|
|
14595
14843
|
# @return [String]
|
14596
14844
|
#
|
14597
14845
|
# @!attribute [rw] checksum_sha256
|
14598
|
-
# The
|
14599
|
-
# only be present if
|
14600
|
-
# API operation on an object that was uploaded using
|
14601
|
-
# uploads, this value may not be a direct checksum value of
|
14602
|
-
# object. Instead, it's a calculation based on the checksum
|
14603
|
-
# each individual part. For more information about how
|
14604
|
-
# calculated with multipart uploads, see [ Checking
|
14605
|
-
# integrity][1] in the *Amazon S3 User Guide*.
|
14846
|
+
# The Base64 encoded, 256-bit `SHA-256` digest of the object. This
|
14847
|
+
# will only be present if the object was uploaded with the object.
|
14848
|
+
# When you use an API operation on an object that was uploaded using
|
14849
|
+
# multipart uploads, this value may not be a direct checksum value of
|
14850
|
+
# the full object. Instead, it's a calculation based on the checksum
|
14851
|
+
# values of each individual part. For more information about how
|
14852
|
+
# checksums are calculated with multipart uploads, see [ Checking
|
14853
|
+
# object integrity][1] in the *Amazon S3 User Guide*.
|
14606
14854
|
#
|
14607
14855
|
#
|
14608
14856
|
#
|
14609
14857
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
|
14610
14858
|
# @return [String]
|
14611
14859
|
#
|
14860
|
+
# @!attribute [rw] checksum_type
|
14861
|
+
# This header specifies the checksum type of the object, which
|
14862
|
+
# determines how part-level checksums are combined to create an
|
14863
|
+
# object-level checksum for multipart objects. For `PutObject`
|
14864
|
+
# uploads, the checksum type is always `FULL_OBJECT`. You can use this
|
14865
|
+
# header as a data integrity check to verify that the checksum type
|
14866
|
+
# that is received is the same checksum that was specified. For more
|
14867
|
+
# information, see [Checking object integrity][1] in the *Amazon S3
|
14868
|
+
# User Guide*.
|
14869
|
+
#
|
14870
|
+
#
|
14871
|
+
#
|
14872
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
14873
|
+
# @return [String]
|
14874
|
+
#
|
14612
14875
|
# @!attribute [rw] server_side_encryption
|
14613
14876
|
# The server-side encryption algorithm used when you store this object
|
14614
14877
|
# in Amazon S3.
|
@@ -14665,8 +14928,8 @@ module Aws::S3
|
|
14665
14928
|
#
|
14666
14929
|
# @!attribute [rw] ssekms_encryption_context
|
14667
14930
|
# If present, indicates the Amazon Web Services KMS Encryption Context
|
14668
|
-
# to use for object encryption. The value of this header is a
|
14669
|
-
#
|
14931
|
+
# to use for object encryption. The value of this header is a Base64
|
14932
|
+
# encoded string of a UTF-8 encoded JSON, which contains the
|
14670
14933
|
# encryption context as key-value pairs. This value is stored as
|
14671
14934
|
# object metadata and automatically gets passed on to Amazon Web
|
14672
14935
|
# Services KMS for future `GetObject` operations on this object.
|
@@ -14679,8 +14942,8 @@ module Aws::S3
|
|
14679
14942
|
# @return [Boolean]
|
14680
14943
|
#
|
14681
14944
|
# @!attribute [rw] size
|
14682
|
-
# The size of the object in bytes. This
|
14683
|
-
# append to an object.
|
14945
|
+
# The size of the object in bytes. This value is only be present if
|
14946
|
+
# you append to an object.
|
14684
14947
|
#
|
14685
14948
|
# <note markdown="1"> This functionality is only supported for objects in the Amazon S3
|
14686
14949
|
# Express One Zone storage class in directory buckets.
|
@@ -14704,8 +14967,10 @@ module Aws::S3
|
|
14704
14967
|
:etag,
|
14705
14968
|
:checksum_crc32,
|
14706
14969
|
:checksum_crc32c,
|
14970
|
+
:checksum_crc64nvme,
|
14707
14971
|
:checksum_sha1,
|
14708
14972
|
:checksum_sha256,
|
14973
|
+
:checksum_type,
|
14709
14974
|
:server_side_encryption,
|
14710
14975
|
:version_id,
|
14711
14976
|
:sse_customer_algorithm,
|
@@ -14855,7 +15120,7 @@ module Aws::S3
|
|
14855
15120
|
# @return [Integer]
|
14856
15121
|
#
|
14857
15122
|
# @!attribute [rw] content_md5
|
14858
|
-
# The
|
15123
|
+
# The Base64 encoded 128-bit `MD5` digest of the message (without the
|
14859
15124
|
# headers) according to RFC 1864. This header can be used as a message
|
14860
15125
|
# integrity check to verify that the data is the same data that was
|
14861
15126
|
# originally sent. Although it is optional, we recommend using the
|
@@ -14902,23 +15167,23 @@ module Aws::S3
|
|
14902
15167
|
# For the `x-amz-checksum-algorithm ` header, replace ` algorithm `
|
14903
15168
|
# with the supported algorithm from the following list:
|
14904
15169
|
#
|
14905
|
-
# * `
|
15170
|
+
# * `CRC-32`
|
15171
|
+
#
|
15172
|
+
# * `CRC-32C`
|
14906
15173
|
#
|
14907
|
-
# * `
|
15174
|
+
# * `CRC-64NVME`
|
14908
15175
|
#
|
14909
|
-
# * `
|
15176
|
+
# * `SHA-1`
|
14910
15177
|
#
|
14911
|
-
# * `
|
15178
|
+
# * `SHA-256`
|
14912
15179
|
#
|
14913
15180
|
# For more information, see [Checking object integrity][1] in the
|
14914
15181
|
# *Amazon S3 User Guide*.
|
14915
15182
|
#
|
14916
15183
|
# If the individual checksum value you provide through
|
14917
15184
|
# `x-amz-checksum-algorithm ` doesn't match the checksum algorithm
|
14918
|
-
# you set through `x-amz-sdk-checksum-algorithm`, Amazon S3
|
14919
|
-
#
|
14920
|
-
# algorithm that matches the provided value in
|
14921
|
-
# `x-amz-checksum-algorithm `.
|
15185
|
+
# you set through `x-amz-sdk-checksum-algorithm`, Amazon S3 fails the
|
15186
|
+
# request with a `BadDigest` error.
|
14922
15187
|
#
|
14923
15188
|
# <note markdown="1"> The `Content-MD5` or `x-amz-sdk-checksum-algorithm` header is
|
14924
15189
|
# required for any request to upload an object with a retention period
|
@@ -14941,9 +15206,9 @@ module Aws::S3
|
|
14941
15206
|
# @!attribute [rw] checksum_crc32
|
14942
15207
|
# This header can be used as a data integrity check to verify that the
|
14943
15208
|
# data received is the same data that was originally sent. This header
|
14944
|
-
# specifies the
|
14945
|
-
# For more information, see [Checking object integrity][1] in
|
14946
|
-
# *Amazon S3 User Guide*.
|
15209
|
+
# specifies the Base64 encoded, 32-bit `CRC-32` checksum of the
|
15210
|
+
# object. For more information, see [Checking object integrity][1] in
|
15211
|
+
# the *Amazon S3 User Guide*.
|
14947
15212
|
#
|
14948
15213
|
#
|
14949
15214
|
#
|
@@ -14953,9 +15218,22 @@ module Aws::S3
|
|
14953
15218
|
# @!attribute [rw] checksum_crc32c
|
14954
15219
|
# This header can be used as a data integrity check to verify that the
|
14955
15220
|
# data received is the same data that was originally sent. This header
|
14956
|
-
# specifies the
|
14957
|
-
# For more information, see [Checking object integrity][1] in
|
14958
|
-
# *Amazon S3 User Guide*.
|
15221
|
+
# specifies the Base64 encoded, 32-bit `CRC-32C` checksum of the
|
15222
|
+
# object. For more information, see [Checking object integrity][1] in
|
15223
|
+
# the *Amazon S3 User Guide*.
|
15224
|
+
#
|
15225
|
+
#
|
15226
|
+
#
|
15227
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
15228
|
+
# @return [String]
|
15229
|
+
#
|
15230
|
+
# @!attribute [rw] checksum_crc64nvme
|
15231
|
+
# This header can be used as a data integrity check to verify that the
|
15232
|
+
# data received is the same data that was originally sent. This header
|
15233
|
+
# specifies the Base64 encoded, 64-bit `CRC-64NVME` checksum of the
|
15234
|
+
# object. The `CRC-64NVME` checksum is always a full object checksum.
|
15235
|
+
# For more information, see [Checking object integrity in the Amazon
|
15236
|
+
# S3 User Guide][1].
|
14959
15237
|
#
|
14960
15238
|
#
|
14961
15239
|
#
|
@@ -14965,7 +15243,7 @@ module Aws::S3
|
|
14965
15243
|
# @!attribute [rw] checksum_sha1
|
14966
15244
|
# This header can be used as a data integrity check to verify that the
|
14967
15245
|
# data received is the same data that was originally sent. This header
|
14968
|
-
# specifies the
|
15246
|
+
# specifies the Base64 encoded, 160-bit `SHA-1` digest of the object.
|
14969
15247
|
# For more information, see [Checking object integrity][1] in the
|
14970
15248
|
# *Amazon S3 User Guide*.
|
14971
15249
|
#
|
@@ -14977,9 +15255,9 @@ module Aws::S3
|
|
14977
15255
|
# @!attribute [rw] checksum_sha256
|
14978
15256
|
# This header can be used as a data integrity check to verify that the
|
14979
15257
|
# data received is the same data that was originally sent. This header
|
14980
|
-
# specifies the
|
14981
|
-
# For more information, see [Checking object integrity][1] in
|
14982
|
-
# *Amazon S3 User Guide*.
|
15258
|
+
# specifies the Base64 encoded, 256-bit `SHA-256` digest of the
|
15259
|
+
# object. For more information, see [Checking object integrity][1] in
|
15260
|
+
# the *Amazon S3 User Guide*.
|
14983
15261
|
#
|
14984
15262
|
#
|
14985
15263
|
#
|
@@ -15287,7 +15565,7 @@ module Aws::S3
|
|
15287
15565
|
# @!attribute [rw] ssekms_encryption_context
|
15288
15566
|
# Specifies the Amazon Web Services KMS Encryption Context as an
|
15289
15567
|
# additional encryption context to use for object encryption. The
|
15290
|
-
# value of this header is a Base64
|
15568
|
+
# value of this header is a Base64 encoded string of a UTF-8 encoded
|
15291
15569
|
# JSON, which contains the encryption context as key-value pairs. This
|
15292
15570
|
# value is stored as object metadata and automatically gets passed on
|
15293
15571
|
# to Amazon Web Services KMS for future `GetObject` operations on this
|
@@ -15417,6 +15695,7 @@ module Aws::S3
|
|
15417
15695
|
:checksum_algorithm,
|
15418
15696
|
:checksum_crc32,
|
15419
15697
|
:checksum_crc32c,
|
15698
|
+
:checksum_crc64nvme,
|
15420
15699
|
:checksum_sha1,
|
15421
15700
|
:checksum_sha256,
|
15422
15701
|
:expires,
|
@@ -18029,14 +18308,14 @@ module Aws::S3
|
|
18029
18308
|
# @return [String]
|
18030
18309
|
#
|
18031
18310
|
# @!attribute [rw] checksum_crc32
|
18032
|
-
# The
|
18033
|
-
# only be present if
|
18034
|
-
# API operation on an object that was uploaded
|
18035
|
-
# uploads, this value may not be a direct checksum
|
18036
|
-
# object. Instead, it's a calculation based on the
|
18037
|
-
# each individual part. For more information about
|
18038
|
-
# calculated with multipart uploads, see [ Checking
|
18039
|
-
# integrity][1] in the *Amazon S3 User Guide*.
|
18311
|
+
# The Base64 encoded, 32-bit `CRC-32 checksum` of the object. This
|
18312
|
+
# checksum is only be present if the checksum was uploaded with the
|
18313
|
+
# object. When you use an API operation on an object that was uploaded
|
18314
|
+
# using multipart uploads, this value may not be a direct checksum
|
18315
|
+
# value of the full object. Instead, it's a calculation based on the
|
18316
|
+
# checksum values of each individual part. For more information about
|
18317
|
+
# how checksums are calculated with multipart uploads, see [ Checking
|
18318
|
+
# object integrity][1] in the *Amazon S3 User Guide*.
|
18040
18319
|
#
|
18041
18320
|
#
|
18042
18321
|
#
|
@@ -18044,24 +18323,36 @@ module Aws::S3
|
|
18044
18323
|
# @return [String]
|
18045
18324
|
#
|
18046
18325
|
# @!attribute [rw] checksum_crc32c
|
18047
|
-
# The
|
18048
|
-
# only
|
18049
|
-
# API operation on an object that was uploaded
|
18050
|
-
# uploads, this value may not be a direct checksum
|
18051
|
-
# object. Instead, it's a calculation based on the
|
18052
|
-
# each individual part. For more information about
|
18053
|
-
# calculated with multipart uploads, see [ Checking
|
18054
|
-
# integrity][1] in the *Amazon S3 User Guide*.
|
18326
|
+
# The Base64 encoded, 32-bit `CRC-32C` checksum of the object. This
|
18327
|
+
# checksum is only present if the checksum was uploaded with the
|
18328
|
+
# object. When you use an API operation on an object that was uploaded
|
18329
|
+
# using multipart uploads, this value may not be a direct checksum
|
18330
|
+
# value of the full object. Instead, it's a calculation based on the
|
18331
|
+
# checksum values of each individual part. For more information about
|
18332
|
+
# how checksums are calculated with multipart uploads, see [ Checking
|
18333
|
+
# object integrity][1] in the *Amazon S3 User Guide*.
|
18055
18334
|
#
|
18056
18335
|
#
|
18057
18336
|
#
|
18058
18337
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums
|
18059
18338
|
# @return [String]
|
18060
18339
|
#
|
18340
|
+
# @!attribute [rw] checksum_crc64nvme
|
18341
|
+
# This header can be used as a data integrity check to verify that the
|
18342
|
+
# data received is the same data that was originally sent. This header
|
18343
|
+
# specifies the Base64 encoded, 64-bit `CRC-64NVME` checksum of the
|
18344
|
+
# part. For more information, see [Checking object integrity][1] in
|
18345
|
+
# the *Amazon S3 User Guide*.
|
18346
|
+
#
|
18347
|
+
#
|
18348
|
+
#
|
18349
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
18350
|
+
# @return [String]
|
18351
|
+
#
|
18061
18352
|
# @!attribute [rw] checksum_sha1
|
18062
|
-
# The
|
18063
|
-
# only be present if
|
18064
|
-
# API operation on an object that was uploaded using multipart
|
18353
|
+
# The Base64 encoded, 160-bit `SHA-1` digest of the object. This will
|
18354
|
+
# only be present if the object was uploaded with the object. When you
|
18355
|
+
# use the API operation on an object that was uploaded using multipart
|
18065
18356
|
# uploads, this value may not be a direct checksum value of the full
|
18066
18357
|
# object. Instead, it's a calculation based on the checksum values of
|
18067
18358
|
# each individual part. For more information about how checksums are
|
@@ -18074,14 +18365,14 @@ module Aws::S3
|
|
18074
18365
|
# @return [String]
|
18075
18366
|
#
|
18076
18367
|
# @!attribute [rw] checksum_sha256
|
18077
|
-
# The
|
18078
|
-
# only be present if
|
18079
|
-
# API operation on an object that was uploaded using
|
18080
|
-
# uploads, this value may not be a direct checksum value of
|
18081
|
-
# object. Instead, it's a calculation based on the checksum
|
18082
|
-
# each individual part. For more information about how
|
18083
|
-
# calculated with multipart uploads, see [ Checking
|
18084
|
-
# integrity][1] in the *Amazon S3 User Guide*.
|
18368
|
+
# The Base64 encoded, 256-bit `SHA-256` digest of the object. This
|
18369
|
+
# will only be present if the object was uploaded with the object.
|
18370
|
+
# When you use an API operation on an object that was uploaded using
|
18371
|
+
# multipart uploads, this value may not be a direct checksum value of
|
18372
|
+
# the full object. Instead, it's a calculation based on the checksum
|
18373
|
+
# values of each individual part. For more information about how
|
18374
|
+
# checksums are calculated with multipart uploads, see [ Checking
|
18375
|
+
# object integrity][1] in the *Amazon S3 User Guide*.
|
18085
18376
|
#
|
18086
18377
|
#
|
18087
18378
|
#
|
@@ -18136,6 +18427,7 @@ module Aws::S3
|
|
18136
18427
|
:etag,
|
18137
18428
|
:checksum_crc32,
|
18138
18429
|
:checksum_crc32c,
|
18430
|
+
:checksum_crc64nvme,
|
18139
18431
|
:checksum_sha1,
|
18140
18432
|
:checksum_sha256,
|
18141
18433
|
:sse_customer_algorithm,
|
@@ -18202,7 +18494,7 @@ module Aws::S3
|
|
18202
18494
|
# @return [Integer]
|
18203
18495
|
#
|
18204
18496
|
# @!attribute [rw] content_md5
|
18205
|
-
# The
|
18497
|
+
# The Base64 encoded 128-bit MD5 digest of the part data. This
|
18206
18498
|
# parameter is auto-populated when using the command from the CLI.
|
18207
18499
|
# This parameter is required if object lock parameters are specified.
|
18208
18500
|
#
|
@@ -18234,9 +18526,9 @@ module Aws::S3
|
|
18234
18526
|
# @!attribute [rw] checksum_crc32
|
18235
18527
|
# This header can be used as a data integrity check to verify that the
|
18236
18528
|
# data received is the same data that was originally sent. This header
|
18237
|
-
# specifies the
|
18238
|
-
# For more information, see [Checking object integrity][1] in
|
18239
|
-
# *Amazon S3 User Guide*.
|
18529
|
+
# specifies the Base64 encoded, 32-bit `CRC-32` checksum of the
|
18530
|
+
# object. For more information, see [Checking object integrity][1] in
|
18531
|
+
# the *Amazon S3 User Guide*.
|
18240
18532
|
#
|
18241
18533
|
#
|
18242
18534
|
#
|
@@ -18246,9 +18538,21 @@ module Aws::S3
|
|
18246
18538
|
# @!attribute [rw] checksum_crc32c
|
18247
18539
|
# This header can be used as a data integrity check to verify that the
|
18248
18540
|
# data received is the same data that was originally sent. This header
|
18249
|
-
# specifies the
|
18250
|
-
# For more information, see [Checking object integrity][1] in
|
18251
|
-
# *Amazon S3 User Guide*.
|
18541
|
+
# specifies the Base64 encoded, 32-bit `CRC-32C` checksum of the
|
18542
|
+
# object. For more information, see [Checking object integrity][1] in
|
18543
|
+
# the *Amazon S3 User Guide*.
|
18544
|
+
#
|
18545
|
+
#
|
18546
|
+
#
|
18547
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
18548
|
+
# @return [String]
|
18549
|
+
#
|
18550
|
+
# @!attribute [rw] checksum_crc64nvme
|
18551
|
+
# This header can be used as a data integrity check to verify that the
|
18552
|
+
# data received is the same data that was originally sent. This header
|
18553
|
+
# specifies the Base64 encoded, 64-bit `CRC-64NVME` checksum of the
|
18554
|
+
# part. For more information, see [Checking object integrity][1] in
|
18555
|
+
# the *Amazon S3 User Guide*.
|
18252
18556
|
#
|
18253
18557
|
#
|
18254
18558
|
#
|
@@ -18258,7 +18562,7 @@ module Aws::S3
|
|
18258
18562
|
# @!attribute [rw] checksum_sha1
|
18259
18563
|
# This header can be used as a data integrity check to verify that the
|
18260
18564
|
# data received is the same data that was originally sent. This header
|
18261
|
-
# specifies the
|
18565
|
+
# specifies the Base64 encoded, 160-bit `SHA-1` digest of the object.
|
18262
18566
|
# For more information, see [Checking object integrity][1] in the
|
18263
18567
|
# *Amazon S3 User Guide*.
|
18264
18568
|
#
|
@@ -18270,9 +18574,9 @@ module Aws::S3
|
|
18270
18574
|
# @!attribute [rw] checksum_sha256
|
18271
18575
|
# This header can be used as a data integrity check to verify that the
|
18272
18576
|
# data received is the same data that was originally sent. This header
|
18273
|
-
# specifies the
|
18274
|
-
# For more information, see [Checking object integrity][1] in
|
18275
|
-
# *Amazon S3 User Guide*.
|
18577
|
+
# specifies the Base64 encoded, 256-bit `SHA-256` digest of the
|
18578
|
+
# object. For more information, see [Checking object integrity][1] in
|
18579
|
+
# the *Amazon S3 User Guide*.
|
18276
18580
|
#
|
18277
18581
|
#
|
18278
18582
|
#
|
@@ -18361,6 +18665,7 @@ module Aws::S3
|
|
18361
18665
|
:checksum_algorithm,
|
18362
18666
|
:checksum_crc32,
|
18363
18667
|
:checksum_crc32c,
|
18668
|
+
:checksum_crc64nvme,
|
18364
18669
|
:checksum_sha1,
|
18365
18670
|
:checksum_sha256,
|
18366
18671
|
:key,
|
@@ -18536,7 +18841,7 @@ module Aws::S3
|
|
18536
18841
|
# @!attribute [rw] checksum_crc32
|
18537
18842
|
# This header can be used as a data integrity check to verify that the
|
18538
18843
|
# data received is the same data that was originally sent. This
|
18539
|
-
# specifies the
|
18844
|
+
# specifies the Base64 encoded, 32-bit `CRC-32` checksum of the object
|
18540
18845
|
# returned by the Object Lambda function. This may not match the
|
18541
18846
|
# checksum for the object stored in Amazon S3. Amazon S3 will perform
|
18542
18847
|
# validation of the checksum values only when the original `GetObject`
|
@@ -18557,13 +18862,13 @@ module Aws::S3
|
|
18557
18862
|
# @!attribute [rw] checksum_crc32c
|
18558
18863
|
# This header can be used as a data integrity check to verify that the
|
18559
18864
|
# data received is the same data that was originally sent. This
|
18560
|
-
# specifies the
|
18561
|
-
# returned by the Object Lambda function. This may not match
|
18562
|
-
# checksum for the object stored in Amazon S3. Amazon S3 will
|
18563
|
-
# validation of the checksum values only when the original
|
18564
|
-
# request required checksum validation. For more
|
18565
|
-
# checksums, see [Checking object integrity][1] in
|
18566
|
-
# Guide*.
|
18865
|
+
# specifies the Base64 encoded, 32-bit `CRC-32C` checksum of the
|
18866
|
+
# object returned by the Object Lambda function. This may not match
|
18867
|
+
# the checksum for the object stored in Amazon S3. Amazon S3 will
|
18868
|
+
# perform validation of the checksum values only when the original
|
18869
|
+
# `GetObject` request required checksum validation. For more
|
18870
|
+
# information about checksums, see [Checking object integrity][1] in
|
18871
|
+
# the *Amazon S3 User Guide*.
|
18567
18872
|
#
|
18568
18873
|
# Only one checksum header can be specified at a time. If you supply
|
18569
18874
|
# multiple checksum headers, this request will fail.
|
@@ -18573,10 +18878,22 @@ module Aws::S3
|
|
18573
18878
|
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
18574
18879
|
# @return [String]
|
18575
18880
|
#
|
18881
|
+
# @!attribute [rw] checksum_crc64nvme
|
18882
|
+
# This header can be used as a data integrity check to verify that the
|
18883
|
+
# data received is the same data that was originally sent. This header
|
18884
|
+
# specifies the Base64 encoded, 64-bit `CRC-64NVME` checksum of the
|
18885
|
+
# part. For more information, see [Checking object integrity][1] in
|
18886
|
+
# the *Amazon S3 User Guide*.
|
18887
|
+
#
|
18888
|
+
#
|
18889
|
+
#
|
18890
|
+
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
|
18891
|
+
# @return [String]
|
18892
|
+
#
|
18576
18893
|
# @!attribute [rw] checksum_sha1
|
18577
18894
|
# This header can be used as a data integrity check to verify that the
|
18578
18895
|
# data received is the same data that was originally sent. This
|
18579
|
-
# specifies the
|
18896
|
+
# specifies the Base64 encoded, 160-bit `SHA-1` digest of the object
|
18580
18897
|
# returned by the Object Lambda function. This may not match the
|
18581
18898
|
# checksum for the object stored in Amazon S3. Amazon S3 will perform
|
18582
18899
|
# validation of the checksum values only when the original `GetObject`
|
@@ -18595,7 +18912,7 @@ module Aws::S3
|
|
18595
18912
|
# @!attribute [rw] checksum_sha256
|
18596
18913
|
# This header can be used as a data integrity check to verify that the
|
18597
18914
|
# data received is the same data that was originally sent. This
|
18598
|
-
# specifies the
|
18915
|
+
# specifies the Base64 encoded, 256-bit `SHA-256` digest of the object
|
18599
18916
|
# returned by the Object Lambda function. This may not match the
|
18600
18917
|
# checksum for the object stored in Amazon S3. Amazon S3 will perform
|
18601
18918
|
# validation of the checksum values only when the original `GetObject`
|
@@ -18769,6 +19086,7 @@ module Aws::S3
|
|
18769
19086
|
:content_type,
|
18770
19087
|
:checksum_crc32,
|
18771
19088
|
:checksum_crc32c,
|
19089
|
+
:checksum_crc64nvme,
|
18772
19090
|
:checksum_sha1,
|
18773
19091
|
:checksum_sha256,
|
18774
19092
|
:delete_marker,
|