@aws-sdk/client-s3 3.726.1 → 3.730.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +100 -31
- package/dist-es/commands/GetObjectCommand.js +1 -1
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_restXml.js +91 -29
- package/dist-types/commands/AbortMultipartUploadCommand.d.ts +2 -2
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +8 -2
- package/dist-types/commands/CopyObjectCommand.d.ts +5 -3
- package/dist-types/commands/CreateBucketCommand.d.ts +2 -2
- package/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/CreateMultipartUploadCommand.d.ts +6 -4
- package/dist-types/commands/CreateSessionCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBucketCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +2 -2
- package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +2 -2
- package/dist-types/commands/DeleteObjectCommand.d.ts +2 -2
- package/dist-types/commands/DeleteObjectsCommand.d.ts +3 -3
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +2 -2
- package/dist-types/commands/GetBucketPolicyCommand.d.ts +2 -2
- package/dist-types/commands/GetObjectAttributesCommand.d.ts +5 -2
- package/dist-types/commands/GetObjectCommand.d.ts +4 -2
- package/dist-types/commands/HeadBucketCommand.d.ts +2 -2
- package/dist-types/commands/HeadObjectCommand.d.ts +4 -2
- package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +2 -2
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +4 -3
- package/dist-types/commands/ListObjectVersionsCommand.d.ts +2 -1
- package/dist-types/commands/ListObjectsCommand.d.ts +2 -1
- package/dist-types/commands/ListObjectsV2Command.d.ts +4 -3
- package/dist-types/commands/ListPartsCommand.d.ts +5 -3
- package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketAclCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketCorsCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketEncryptionCommand.d.ts +3 -3
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/PutBucketLoggingCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +3 -3
- package/dist-types/commands/PutBucketReplicationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketTaggingCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketVersioningCommand.d.ts +2 -2
- package/dist-types/commands/PutBucketWebsiteCommand.d.ts +1 -1
- package/dist-types/commands/PutObjectAclCommand.d.ts +1 -1
- package/dist-types/commands/PutObjectCommand.d.ts +6 -3
- package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -1
- package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutObjectRetentionCommand.d.ts +1 -1
- package/dist-types/commands/PutObjectTaggingCommand.d.ts +1 -1
- package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
- package/dist-types/commands/RestoreObjectCommand.d.ts +1 -1
- package/dist-types/commands/UploadPartCommand.d.ts +5 -3
- package/dist-types/commands/UploadPartCopyCommand.d.ts +3 -2
- package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +251 -111
- package/dist-types/models/models_1.d.ts +140 -64
- package/dist-types/ts3.4/models/models_0.d.ts +28 -3
- package/dist-types/ts3.4/models/models_1.d.ts +12 -1
- package/package.json +10 -12
|
@@ -1,7 +1,22 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { StreamingBlobTypes } from "@smithy/types";
|
|
3
|
-
import { AccessControlPolicy, BucketVersioningStatus, ChecksumAlgorithm,
|
|
3
|
+
import { AccessControlPolicy, BucketVersioningStatus, ChecksumAlgorithm, ChecksumType, CORSRule, ErrorDocument, Grant, IndexDocument, IntelligentTieringConfiguration, InventoryConfiguration, LifecycleRule, LoggingEnabled, MetricsConfiguration, NotificationConfiguration, ObjectCannedACL, ObjectLockConfiguration, ObjectLockLegalHold, ObjectLockLegalHoldStatus, ObjectLockMode, ObjectLockRetention, OwnershipControls, Payer, PublicAccessBlockConfiguration, RedirectAllRequestsTo, ReplicationConfiguration, ReplicationStatus, RequestCharged, RequestPayer, RoutingRule, ServerSideEncryption, ServerSideEncryptionConfiguration, StorageClass, Tag, TransitionDefaultMinimumObjectSize } from "./models_0";
|
|
4
4
|
import { S3ServiceException as __BaseException } from "./S3ServiceException";
|
|
5
|
+
/**
|
|
6
|
+
* <p>Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more
|
|
7
|
+
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html">Enabling
|
|
8
|
+
* Cross-Origin Resource Sharing</a> in the
|
|
9
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export interface CORSConfiguration {
|
|
13
|
+
/**
|
|
14
|
+
* <p>A set of origins and methods (cross-origin access that you want to allow). You can add
|
|
15
|
+
* up to 100 rules to the configuration.</p>
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
CORSRules: CORSRule[] | undefined;
|
|
19
|
+
}
|
|
5
20
|
/**
|
|
6
21
|
* @public
|
|
7
22
|
*/
|
|
@@ -22,7 +37,7 @@ export interface PutBucketCorsRequest {
|
|
|
22
37
|
*/
|
|
23
38
|
CORSConfiguration: CORSConfiguration | undefined;
|
|
24
39
|
/**
|
|
25
|
-
* <p>The
|
|
40
|
+
* <p>The Base64 encoded 128-bit <code>MD5</code> digest of the data. This header must be used as a message
|
|
26
41
|
* integrity check to verify that the request body was not corrupted in transit. For more
|
|
27
42
|
* information, go to <a href="http://www.ietf.org/rfc/rfc1864.txt">RFC
|
|
28
43
|
* 1864.</a>
|
|
@@ -67,7 +82,7 @@ export interface PutBucketEncryptionRequest {
|
|
|
67
82
|
*/
|
|
68
83
|
Bucket: string | undefined;
|
|
69
84
|
/**
|
|
70
|
-
* <p>The
|
|
85
|
+
* <p>The Base64 encoded 128-bit <code>MD5</code> digest of the server-side encryption
|
|
71
86
|
* configuration.</p>
|
|
72
87
|
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
73
88
|
* <note>
|
|
@@ -441,22 +456,27 @@ export interface PutBucketPolicyRequest {
|
|
|
441
456
|
* <ul>
|
|
442
457
|
* <li>
|
|
443
458
|
* <p>
|
|
444
|
-
* <code>
|
|
459
|
+
* <code>CRC-32</code>
|
|
445
460
|
* </p>
|
|
446
461
|
* </li>
|
|
447
462
|
* <li>
|
|
448
463
|
* <p>
|
|
449
|
-
* <code>
|
|
464
|
+
* <code>CRC-32C</code>
|
|
450
465
|
* </p>
|
|
451
466
|
* </li>
|
|
452
467
|
* <li>
|
|
453
468
|
* <p>
|
|
454
|
-
* <code>
|
|
469
|
+
* <code>CRC-64NVME</code>
|
|
455
470
|
* </p>
|
|
456
471
|
* </li>
|
|
457
472
|
* <li>
|
|
458
473
|
* <p>
|
|
459
|
-
* <code>
|
|
474
|
+
* <code>SHA-1</code>
|
|
475
|
+
* </p>
|
|
476
|
+
* </li>
|
|
477
|
+
* <li>
|
|
478
|
+
* <p>
|
|
479
|
+
* <code>SHA-256</code>
|
|
460
480
|
* </p>
|
|
461
481
|
* </li>
|
|
462
482
|
* </ul>
|
|
@@ -464,9 +484,7 @@ export interface PutBucketPolicyRequest {
|
|
|
464
484
|
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
465
485
|
* the <i>Amazon S3 User Guide</i>.</p>
|
|
466
486
|
* <p>If the individual checksum value you provide through <code>x-amz-checksum-<i>algorithm</i>
|
|
467
|
-
* </code> doesn't match the checksum algorithm you set through <code>x-amz-sdk-checksum-algorithm</code>,
|
|
468
|
-
* <code>ChecksumAlgorithm</code> parameter and uses the checksum algorithm that matches the provided value in <code>x-amz-checksum-<i>algorithm</i>
|
|
469
|
-
* </code>.</p>
|
|
487
|
+
* </code> doesn't match the checksum algorithm you set through <code>x-amz-sdk-checksum-algorithm</code>, Amazon S3 fails the request with a <code>BadDigest</code> error.</p>
|
|
470
488
|
* <note>
|
|
471
489
|
* <p>For directory buckets, when you use Amazon Web Services SDKs, <code>CRC32</code> is the default checksum algorithm that's used for performance.</p>
|
|
472
490
|
* </note>
|
|
@@ -511,7 +529,7 @@ export interface PutBucketReplicationRequest {
|
|
|
511
529
|
*/
|
|
512
530
|
Bucket: string | undefined;
|
|
513
531
|
/**
|
|
514
|
-
* <p>The
|
|
532
|
+
* <p>The Base64 encoded 128-bit <code>MD5</code> digest of the data. You must use this header as a message
|
|
515
533
|
* integrity check to verify that the request body was not corrupted in transit. For more
|
|
516
534
|
* information, see <a href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p>
|
|
517
535
|
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
@@ -569,7 +587,7 @@ export interface PutBucketRequestPaymentRequest {
|
|
|
569
587
|
*/
|
|
570
588
|
Bucket: string | undefined;
|
|
571
589
|
/**
|
|
572
|
-
* <p>The
|
|
590
|
+
* <p>The Base64 encoded 128-bit <code>MD5</code> digest of the data. You must use this header as a message
|
|
573
591
|
* integrity check to verify that the request body was not corrupted in transit. For more
|
|
574
592
|
* information, see <a href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p>
|
|
575
593
|
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
@@ -621,7 +639,7 @@ export interface PutBucketTaggingRequest {
|
|
|
621
639
|
*/
|
|
622
640
|
Bucket: string | undefined;
|
|
623
641
|
/**
|
|
624
|
-
* <p>The
|
|
642
|
+
* <p>The Base64 encoded 128-bit <code>MD5</code> digest of the data. You must use this header as a message
|
|
625
643
|
* integrity check to verify that the request body was not corrupted in transit. For more
|
|
626
644
|
* information, see <a href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p>
|
|
627
645
|
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
@@ -693,7 +711,7 @@ export interface PutBucketVersioningRequest {
|
|
|
693
711
|
*/
|
|
694
712
|
Bucket: string | undefined;
|
|
695
713
|
/**
|
|
696
|
-
* <p>>The
|
|
714
|
+
* <p>>The Base64 encoded 128-bit <code>MD5</code> digest of the data. You must use this header as a
|
|
697
715
|
* message integrity check to verify that the request body was not corrupted in transit. For
|
|
698
716
|
* more information, see <a href="http://www.ietf.org/rfc/rfc1864.txt">RFC
|
|
699
717
|
* 1864</a>.</p>
|
|
@@ -770,7 +788,7 @@ export interface PutBucketWebsiteRequest {
|
|
|
770
788
|
*/
|
|
771
789
|
Bucket: string | undefined;
|
|
772
790
|
/**
|
|
773
|
-
* <p>The
|
|
791
|
+
* <p>The Base64 encoded 128-bit <code>MD5</code> digest of the data. You must use this header as a message
|
|
774
792
|
* integrity check to verify that the request body was not corrupted in transit. For more
|
|
775
793
|
* information, see <a href="http://www.ietf.org/rfc/rfc1864.txt">RFC 1864</a>.</p>
|
|
776
794
|
* <p>For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.</p>
|
|
@@ -881,7 +899,7 @@ export interface PutObjectOutput {
|
|
|
881
899
|
*/
|
|
882
900
|
ETag?: string | undefined;
|
|
883
901
|
/**
|
|
884
|
-
* <p>The
|
|
902
|
+
* <p>The Base64 encoded, 32-bit <code>CRC-32 checksum</code> of the object. This checksum is only be present if the checksum was uploaded
|
|
885
903
|
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
886
904
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
887
905
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
@@ -889,7 +907,7 @@ export interface PutObjectOutput {
|
|
|
889
907
|
*/
|
|
890
908
|
ChecksumCRC32?: string | undefined;
|
|
891
909
|
/**
|
|
892
|
-
* <p>The
|
|
910
|
+
* <p>The Base64 encoded, 32-bit <code>CRC-32C</code> checksum of the object. This checksum is only present if the checksum was uploaded
|
|
893
911
|
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
894
912
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
895
913
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
@@ -897,7 +915,17 @@ export interface PutObjectOutput {
|
|
|
897
915
|
*/
|
|
898
916
|
ChecksumCRC32C?: string | undefined;
|
|
899
917
|
/**
|
|
900
|
-
* <p>The
|
|
918
|
+
* <p>The Base64 encoded, 64-bit <code>CRC-64NVME</code> checksum of the object. This header
|
|
919
|
+
* is present if the object was uploaded with the <code>CRC-64NVME</code> checksum algorithm, or if it
|
|
920
|
+
* was uploaded without a checksum (and Amazon S3 added the default checksum,
|
|
921
|
+
* <code>CRC-64NVME</code>, to the uploaded object). For more information about how
|
|
922
|
+
* checksums are calculated with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity
|
|
923
|
+
* in the Amazon S3 User Guide</a>.</p>
|
|
924
|
+
* @public
|
|
925
|
+
*/
|
|
926
|
+
ChecksumCRC64NVME?: string | undefined;
|
|
927
|
+
/**
|
|
928
|
+
* <p>The Base64 encoded, 160-bit <code>SHA-1</code> digest of the object. This will only be present if the object was uploaded
|
|
901
929
|
* with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
902
930
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
903
931
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
@@ -905,13 +933,22 @@ export interface PutObjectOutput {
|
|
|
905
933
|
*/
|
|
906
934
|
ChecksumSHA1?: string | undefined;
|
|
907
935
|
/**
|
|
908
|
-
* <p>The
|
|
936
|
+
* <p>The Base64 encoded, 256-bit <code>SHA-256</code> digest of the object. This will only be present if the object was uploaded
|
|
909
937
|
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
910
938
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
911
939
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
912
940
|
* @public
|
|
913
941
|
*/
|
|
914
942
|
ChecksumSHA256?: string | undefined;
|
|
943
|
+
/**
|
|
944
|
+
* <p>This header specifies the checksum type of the object, which determines how part-level
|
|
945
|
+
* checksums are combined to create an object-level checksum for multipart objects. For
|
|
946
|
+
* <code>PutObject</code> uploads, the checksum type is always <code>FULL_OBJECT</code>. You can use this header as a
|
|
947
|
+
* data integrity check to verify that the checksum type that is received is the same checksum
|
|
948
|
+
* that was specified. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
949
|
+
* @public
|
|
950
|
+
*/
|
|
951
|
+
ChecksumType?: ChecksumType | undefined;
|
|
915
952
|
/**
|
|
916
953
|
* <p>The server-side encryption algorithm used when you store this object in Amazon S3.</p>
|
|
917
954
|
* @public
|
|
@@ -958,7 +995,7 @@ export interface PutObjectOutput {
|
|
|
958
995
|
SSEKMSKeyId?: string | undefined;
|
|
959
996
|
/**
|
|
960
997
|
* <p>If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of
|
|
961
|
-
* this header is a Base64
|
|
998
|
+
* this header is a Base64 encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs.
|
|
962
999
|
* This value is stored as object metadata and automatically gets
|
|
963
1000
|
* passed on to Amazon Web Services KMS for future <code>GetObject</code>
|
|
964
1001
|
* operations on this object.</p>
|
|
@@ -973,7 +1010,7 @@ export interface PutObjectOutput {
|
|
|
973
1010
|
BucketKeyEnabled?: boolean | undefined;
|
|
974
1011
|
/**
|
|
975
1012
|
* <p>
|
|
976
|
-
* The size of the object in bytes. This
|
|
1013
|
+
* The size of the object in bytes. This value is only be present if you append to an object.
|
|
977
1014
|
* </p>
|
|
978
1015
|
* <note>
|
|
979
1016
|
* <p>This functionality is only supported for objects in the Amazon S3 Express One Zone storage class in directory buckets.</p>
|
|
@@ -1084,7 +1121,7 @@ export interface PutObjectRequest {
|
|
|
1084
1121
|
*/
|
|
1085
1122
|
ContentLength?: number | undefined;
|
|
1086
1123
|
/**
|
|
1087
|
-
* <p>The
|
|
1124
|
+
* <p>The Base64 encoded 128-bit <code>MD5</code> digest of the message (without the headers) according to
|
|
1088
1125
|
* RFC 1864. This header can be used as a message integrity check to verify that the data is
|
|
1089
1126
|
* the same data that was originally sent. Although it is optional, we recommend using the
|
|
1090
1127
|
* Content-MD5 mechanism as an end-to-end integrity check. For more information about REST
|
|
@@ -1119,22 +1156,27 @@ export interface PutObjectRequest {
|
|
|
1119
1156
|
* <ul>
|
|
1120
1157
|
* <li>
|
|
1121
1158
|
* <p>
|
|
1122
|
-
* <code>
|
|
1159
|
+
* <code>CRC-32</code>
|
|
1160
|
+
* </p>
|
|
1161
|
+
* </li>
|
|
1162
|
+
* <li>
|
|
1163
|
+
* <p>
|
|
1164
|
+
* <code>CRC-32C</code>
|
|
1123
1165
|
* </p>
|
|
1124
1166
|
* </li>
|
|
1125
1167
|
* <li>
|
|
1126
1168
|
* <p>
|
|
1127
|
-
* <code>
|
|
1169
|
+
* <code>CRC-64NVME</code>
|
|
1128
1170
|
* </p>
|
|
1129
1171
|
* </li>
|
|
1130
1172
|
* <li>
|
|
1131
1173
|
* <p>
|
|
1132
|
-
* <code>
|
|
1174
|
+
* <code>SHA-1</code>
|
|
1133
1175
|
* </p>
|
|
1134
1176
|
* </li>
|
|
1135
1177
|
* <li>
|
|
1136
1178
|
* <p>
|
|
1137
|
-
* <code>
|
|
1179
|
+
* <code>SHA-256</code>
|
|
1138
1180
|
* </p>
|
|
1139
1181
|
* </li>
|
|
1140
1182
|
* </ul>
|
|
@@ -1142,9 +1184,7 @@ export interface PutObjectRequest {
|
|
|
1142
1184
|
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in
|
|
1143
1185
|
* the <i>Amazon S3 User Guide</i>.</p>
|
|
1144
1186
|
* <p>If the individual checksum value you provide through <code>x-amz-checksum-<i>algorithm</i>
|
|
1145
|
-
* </code> doesn't match the checksum algorithm you set through <code>x-amz-sdk-checksum-algorithm</code>,
|
|
1146
|
-
* <code>ChecksumAlgorithm</code> parameter and uses the checksum algorithm that matches the provided value in <code>x-amz-checksum-<i>algorithm</i>
|
|
1147
|
-
* </code>.</p>
|
|
1187
|
+
* </code> doesn't match the checksum algorithm you set through <code>x-amz-sdk-checksum-algorithm</code>, Amazon S3 fails the request with a <code>BadDigest</code> error.</p>
|
|
1148
1188
|
* <note>
|
|
1149
1189
|
* <p>The <code>Content-MD5</code> or <code>x-amz-sdk-checksum-algorithm</code> header is
|
|
1150
1190
|
* required for any request to upload an object with a retention period configured using
|
|
@@ -1157,7 +1197,7 @@ export interface PutObjectRequest {
|
|
|
1157
1197
|
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
1158
1198
|
/**
|
|
1159
1199
|
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
1160
|
-
* This header specifies the
|
|
1200
|
+
* This header specifies the Base64 encoded, 32-bit <code>CRC-32</code> checksum of the object. For more information, see
|
|
1161
1201
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
1162
1202
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
1163
1203
|
* @public
|
|
@@ -1165,15 +1205,24 @@ export interface PutObjectRequest {
|
|
|
1165
1205
|
ChecksumCRC32?: string | undefined;
|
|
1166
1206
|
/**
|
|
1167
1207
|
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
1168
|
-
* This header specifies the
|
|
1208
|
+
* This header specifies the Base64 encoded, 32-bit <code>CRC-32C</code> checksum of the object. For more information, see
|
|
1169
1209
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
1170
1210
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
1171
1211
|
* @public
|
|
1172
1212
|
*/
|
|
1173
1213
|
ChecksumCRC32C?: string | undefined;
|
|
1214
|
+
/**
|
|
1215
|
+
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
1216
|
+
* the same data that was originally sent. This header specifies the Base64 encoded, 64-bit
|
|
1217
|
+
* <code>CRC-64NVME</code> checksum of the object. The <code>CRC-64NVME</code> checksum is
|
|
1218
|
+
* always a full object checksum. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity
|
|
1219
|
+
* in the Amazon S3 User Guide</a>.</p>
|
|
1220
|
+
* @public
|
|
1221
|
+
*/
|
|
1222
|
+
ChecksumCRC64NVME?: string | undefined;
|
|
1174
1223
|
/**
|
|
1175
1224
|
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
1176
|
-
* This header specifies the
|
|
1225
|
+
* This header specifies the Base64 encoded, 160-bit <code>SHA-1</code> digest of the object. For more information, see
|
|
1177
1226
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
1178
1227
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
1179
1228
|
* @public
|
|
@@ -1181,7 +1230,7 @@ export interface PutObjectRequest {
|
|
|
1181
1230
|
ChecksumSHA1?: string | undefined;
|
|
1182
1231
|
/**
|
|
1183
1232
|
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
1184
|
-
* This header specifies the
|
|
1233
|
+
* This header specifies the Base64 encoded, 256-bit <code>SHA-256</code> digest of the object. For more information, see
|
|
1185
1234
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
1186
1235
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
1187
1236
|
* @public
|
|
@@ -1434,7 +1483,7 @@ export interface PutObjectRequest {
|
|
|
1434
1483
|
SSEKMSKeyId?: string | undefined;
|
|
1435
1484
|
/**
|
|
1436
1485
|
* <p>Specifies the Amazon Web Services KMS Encryption Context as an additional encryption context to use for object encryption. The value of
|
|
1437
|
-
* this header is a Base64
|
|
1486
|
+
* this header is a Base64 encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs.
|
|
1438
1487
|
* This value is stored as object metadata and automatically gets passed on
|
|
1439
1488
|
* to Amazon Web Services KMS for future <code>GetObject</code> operations on
|
|
1440
1489
|
* this object.</p>
|
|
@@ -1573,7 +1622,7 @@ export interface PutObjectAclRequest {
|
|
|
1573
1622
|
*/
|
|
1574
1623
|
Bucket: string | undefined;
|
|
1575
1624
|
/**
|
|
1576
|
-
* <p>The
|
|
1625
|
+
* <p>The Base64 encoded 128-bit <code>MD5</code> digest of the data. This header must be used as a message
|
|
1577
1626
|
* integrity check to verify that the request body was not corrupted in transit. For more
|
|
1578
1627
|
* information, go to <a href="http://www.ietf.org/rfc/rfc1864.txt">RFC
|
|
1579
1628
|
* 1864.></a>
|
|
@@ -2944,7 +2993,7 @@ export interface UploadPartOutput {
|
|
|
2944
2993
|
*/
|
|
2945
2994
|
ETag?: string | undefined;
|
|
2946
2995
|
/**
|
|
2947
|
-
* <p>The
|
|
2996
|
+
* <p>The Base64 encoded, 32-bit <code>CRC-32 checksum</code> of the object. This checksum is only be present if the checksum was uploaded
|
|
2948
2997
|
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
2949
2998
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
2950
2999
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
@@ -2952,7 +3001,7 @@ export interface UploadPartOutput {
|
|
|
2952
3001
|
*/
|
|
2953
3002
|
ChecksumCRC32?: string | undefined;
|
|
2954
3003
|
/**
|
|
2955
|
-
* <p>The
|
|
3004
|
+
* <p>The Base64 encoded, 32-bit <code>CRC-32C</code> checksum of the object. This checksum is only present if the checksum was uploaded
|
|
2956
3005
|
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
2957
3006
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
2958
3007
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
@@ -2960,7 +3009,14 @@ export interface UploadPartOutput {
|
|
|
2960
3009
|
*/
|
|
2961
3010
|
ChecksumCRC32C?: string | undefined;
|
|
2962
3011
|
/**
|
|
2963
|
-
* <p>
|
|
3012
|
+
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
3013
|
+
* the same data that was originally sent. This header specifies the Base64 encoded, 64-bit
|
|
3014
|
+
* <code>CRC-64NVME</code> checksum of the part. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
3015
|
+
* @public
|
|
3016
|
+
*/
|
|
3017
|
+
ChecksumCRC64NVME?: string | undefined;
|
|
3018
|
+
/**
|
|
3019
|
+
* <p>The Base64 encoded, 160-bit <code>SHA-1</code> digest of the object. This will only be present if the object was uploaded
|
|
2964
3020
|
* with the object. When you use the API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
2965
3021
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
2966
3022
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
@@ -2968,7 +3024,7 @@ export interface UploadPartOutput {
|
|
|
2968
3024
|
*/
|
|
2969
3025
|
ChecksumSHA1?: string | undefined;
|
|
2970
3026
|
/**
|
|
2971
|
-
* <p>The
|
|
3027
|
+
* <p>The Base64 encoded, 256-bit <code>SHA-256</code> digest of the object. This will only be present if the object was uploaded
|
|
2972
3028
|
* with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated
|
|
2973
3029
|
* with multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html#large-object-checksums">
|
|
2974
3030
|
* Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
@@ -3054,7 +3110,7 @@ export interface UploadPartRequest {
|
|
|
3054
3110
|
*/
|
|
3055
3111
|
ContentLength?: number | undefined;
|
|
3056
3112
|
/**
|
|
3057
|
-
* <p>The
|
|
3113
|
+
* <p>The Base64 encoded 128-bit MD5 digest of the part data. This parameter is auto-populated
|
|
3058
3114
|
* when using the command from the CLI. This parameter is required if object lock parameters
|
|
3059
3115
|
* are specified.</p>
|
|
3060
3116
|
* <note>
|
|
@@ -3078,7 +3134,7 @@ export interface UploadPartRequest {
|
|
|
3078
3134
|
ChecksumAlgorithm?: ChecksumAlgorithm | undefined;
|
|
3079
3135
|
/**
|
|
3080
3136
|
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
3081
|
-
* This header specifies the
|
|
3137
|
+
* This header specifies the Base64 encoded, 32-bit <code>CRC-32</code> checksum of the object. For more information, see
|
|
3082
3138
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
3083
3139
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
3084
3140
|
* @public
|
|
@@ -3086,15 +3142,22 @@ export interface UploadPartRequest {
|
|
|
3086
3142
|
ChecksumCRC32?: string | undefined;
|
|
3087
3143
|
/**
|
|
3088
3144
|
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
3089
|
-
* This header specifies the
|
|
3145
|
+
* This header specifies the Base64 encoded, 32-bit <code>CRC-32C</code> checksum of the object. For more information, see
|
|
3090
3146
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
3091
3147
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
3092
3148
|
* @public
|
|
3093
3149
|
*/
|
|
3094
3150
|
ChecksumCRC32C?: string | undefined;
|
|
3151
|
+
/**
|
|
3152
|
+
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
3153
|
+
* the same data that was originally sent. This header specifies the Base64 encoded, 64-bit
|
|
3154
|
+
* <code>CRC-64NVME</code> checksum of the part. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
3155
|
+
* @public
|
|
3156
|
+
*/
|
|
3157
|
+
ChecksumCRC64NVME?: string | undefined;
|
|
3095
3158
|
/**
|
|
3096
3159
|
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
3097
|
-
* This header specifies the
|
|
3160
|
+
* This header specifies the Base64 encoded, 160-bit <code>SHA-1</code> digest of the object. For more information, see
|
|
3098
3161
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
3099
3162
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
3100
3163
|
* @public
|
|
@@ -3102,7 +3165,7 @@ export interface UploadPartRequest {
|
|
|
3102
3165
|
ChecksumSHA1?: string | undefined;
|
|
3103
3166
|
/**
|
|
3104
3167
|
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
3105
|
-
* This header specifies the
|
|
3168
|
+
* This header specifies the Base64 encoded, 256-bit <code>SHA-256</code> digest of the object. For more information, see
|
|
3106
3169
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
3107
3170
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
3108
3171
|
* @public
|
|
@@ -3189,34 +3252,40 @@ export interface CopyPartResult {
|
|
|
3189
3252
|
*/
|
|
3190
3253
|
LastModified?: Date | undefined;
|
|
3191
3254
|
/**
|
|
3192
|
-
* <p>
|
|
3193
|
-
*
|
|
3194
|
-
*
|
|
3195
|
-
*
|
|
3255
|
+
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
3256
|
+
* This header specifies the Base64 encoded, 32-bit <code>CRC-32</code> checksum of the part. For more information, see
|
|
3257
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
3258
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
3196
3259
|
* @public
|
|
3197
3260
|
*/
|
|
3198
3261
|
ChecksumCRC32?: string | undefined;
|
|
3199
3262
|
/**
|
|
3200
|
-
* <p>
|
|
3201
|
-
*
|
|
3202
|
-
*
|
|
3203
|
-
*
|
|
3263
|
+
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
3264
|
+
* This header specifies the Base64 encoded, 32-bit <code>CRC-32C</code> checksum of the part. For more information, see
|
|
3265
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
3266
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
3204
3267
|
* @public
|
|
3205
3268
|
*/
|
|
3206
3269
|
ChecksumCRC32C?: string | undefined;
|
|
3207
3270
|
/**
|
|
3208
|
-
* <p>The
|
|
3209
|
-
*
|
|
3210
|
-
*
|
|
3211
|
-
|
|
3271
|
+
* <p>The Base64 encoded, 64-bit <code>CRC-64NVME</code> checksum of the part. This checksum is present
|
|
3272
|
+
* if the multipart upload request was created with the <code>CRC-64NVME</code> checksum algorithm to the uploaded object). For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
3273
|
+
* @public
|
|
3274
|
+
*/
|
|
3275
|
+
ChecksumCRC64NVME?: string | undefined;
|
|
3276
|
+
/**
|
|
3277
|
+
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
3278
|
+
* This header specifies the Base64 encoded, 160-bit <code>SHA-1</code> checksum of the part. For more information, see
|
|
3279
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
3280
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
3212
3281
|
* @public
|
|
3213
3282
|
*/
|
|
3214
3283
|
ChecksumSHA1?: string | undefined;
|
|
3215
3284
|
/**
|
|
3216
|
-
* <p>
|
|
3217
|
-
*
|
|
3218
|
-
*
|
|
3219
|
-
*
|
|
3285
|
+
* <p>This header can be used as a data integrity check to verify that the data received is the same data that was originally sent.
|
|
3286
|
+
* This header specifies the Base64 encoded, 256-bit <code>SHA-256</code> checksum of the part. For more information, see
|
|
3287
|
+
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the
|
|
3288
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
3220
3289
|
* @public
|
|
3221
3290
|
*/
|
|
3222
3291
|
ChecksumSHA256?: string | undefined;
|
|
@@ -3691,7 +3760,7 @@ export interface WriteGetObjectResponseRequest {
|
|
|
3691
3760
|
ContentType?: string | undefined;
|
|
3692
3761
|
/**
|
|
3693
3762
|
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
3694
|
-
* the same data that was originally sent. This specifies the
|
|
3763
|
+
* the same data that was originally sent. This specifies the Base64 encoded, 32-bit <code>CRC-32</code>
|
|
3695
3764
|
* checksum of the object returned by the Object Lambda function. This may not match the
|
|
3696
3765
|
* checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values
|
|
3697
3766
|
* only when the original <code>GetObject</code> request required checksum validation. For
|
|
@@ -3705,7 +3774,7 @@ export interface WriteGetObjectResponseRequest {
|
|
|
3705
3774
|
ChecksumCRC32?: string | undefined;
|
|
3706
3775
|
/**
|
|
3707
3776
|
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
3708
|
-
* the same data that was originally sent. This specifies the
|
|
3777
|
+
* the same data that was originally sent. This specifies the Base64 encoded, 32-bit <code>CRC-32C</code>
|
|
3709
3778
|
* checksum of the object returned by the Object Lambda function. This may not match the
|
|
3710
3779
|
* checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values
|
|
3711
3780
|
* only when the original <code>GetObject</code> request required checksum validation. For
|
|
@@ -3718,7 +3787,14 @@ export interface WriteGetObjectResponseRequest {
|
|
|
3718
3787
|
ChecksumCRC32C?: string | undefined;
|
|
3719
3788
|
/**
|
|
3720
3789
|
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
3721
|
-
* the same data that was originally sent. This specifies the
|
|
3790
|
+
* the same data that was originally sent. This header specifies the Base64 encoded, 64-bit
|
|
3791
|
+
* <code>CRC-64NVME</code> checksum of the part. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
3792
|
+
* @public
|
|
3793
|
+
*/
|
|
3794
|
+
ChecksumCRC64NVME?: string | undefined;
|
|
3795
|
+
/**
|
|
3796
|
+
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
3797
|
+
* the same data that was originally sent. This specifies the Base64 encoded, 160-bit <code>SHA-1</code>
|
|
3722
3798
|
* digest of the object returned by the Object Lambda function. This may not match the
|
|
3723
3799
|
* checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values
|
|
3724
3800
|
* only when the original <code>GetObject</code> request required checksum validation. For
|
|
@@ -3731,7 +3807,7 @@ export interface WriteGetObjectResponseRequest {
|
|
|
3731
3807
|
ChecksumSHA1?: string | undefined;
|
|
3732
3808
|
/**
|
|
3733
3809
|
* <p>This header can be used as a data integrity check to verify that the data received is
|
|
3734
|
-
* the same data that was originally sent. This specifies the
|
|
3810
|
+
* the same data that was originally sent. This specifies the Base64 encoded, 256-bit <code>SHA-256</code>
|
|
3735
3811
|
* digest of the object returned by the Object Lambda function. This may not match the
|
|
3736
3812
|
* checksum for the object stored in Amazon S3. Amazon S3 will perform validation of the checksum values
|
|
3737
3813
|
* only when the original <code>GetObject</code> request required checksum validation. For
|