@aws-sdk/client-s3 3.496.0 → 3.499.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 +145 -136
- package/dist-es/commands/GetObjectCommand.js +2 -0
- package/dist-es/commands/HeadObjectCommand.js +2 -0
- package/dist-es/protocols/Aws_restXml.js +6 -2
- package/dist-types/commands/GetObjectCommand.d.ts +1 -0
- package/dist-types/commands/HeadObjectCommand.d.ts +1 -0
- package/dist-types/commands/ListBucketsCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +16 -2
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -4353,6 +4353,7 @@ var de_GetObjectCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
4353
4353
|
[_CR]: [, output.headers[_cr]],
|
|
4354
4354
|
[_CT]: [, output.headers[_ct]],
|
|
4355
4355
|
[_E]: [() => void 0 !== output.headers[_e], () => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc7231DateTime)(output.headers[_e]))],
|
|
4356
|
+
[_ES]: [, output.headers[_ex]],
|
|
4356
4357
|
[_WRL]: [, output.headers[_xawrl]],
|
|
4357
4358
|
[_SSE]: [, output.headers[_xasse]],
|
|
4358
4359
|
[_SSECA]: [, output.headers[_xasseca]],
|
|
@@ -4701,6 +4702,7 @@ var de_HeadObjectCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
4701
4702
|
[_CL]: [, output.headers[_cl]],
|
|
4702
4703
|
[_CT]: [, output.headers[_ct]],
|
|
4703
4704
|
[_E]: [() => void 0 !== output.headers[_e], () => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc7231DateTime)(output.headers[_e]))],
|
|
4705
|
+
[_ES]: [, output.headers[_ex]],
|
|
4704
4706
|
[_WRL]: [, output.headers[_xawrl]],
|
|
4705
4707
|
[_SSE]: [, output.headers[_xasse]],
|
|
4706
4708
|
[_SSECA]: [, output.headers[_xasseca]],
|
|
@@ -6724,7 +6726,7 @@ var se_LifecycleRule = /* @__PURE__ */ __name((input, context) => {
|
|
|
6724
6726
|
bn.c(se_LifecycleRuleFilter(input[_F], context).n(_F));
|
|
6725
6727
|
}
|
|
6726
6728
|
if (input[_S] != null) {
|
|
6727
|
-
bn.c(import_xml_builder.XmlNode.of(
|
|
6729
|
+
bn.c(import_xml_builder.XmlNode.of(_ESx, input[_S]).n(_S));
|
|
6728
6730
|
}
|
|
6729
6731
|
bn.l(input, "Transitions", "Transition", () => se_TransitionList(input[_Tr], context));
|
|
6730
6732
|
bn.l(
|
|
@@ -9156,8 +9158,9 @@ var _EODM = "ExpiredObjectDeleteMarker";
|
|
|
9156
9158
|
var _EOR = "ExistingObjectReplication";
|
|
9157
9159
|
var _EORS = "ExistingObjectReplicationStatus";
|
|
9158
9160
|
var _ERP = "EnableRequestProgress";
|
|
9159
|
-
var _ES = "
|
|
9161
|
+
var _ES = "ExpiresString";
|
|
9160
9162
|
var _ESBO = "ExpectedSourceBucketOwner";
|
|
9163
|
+
var _ESx = "ExpirationStatus";
|
|
9161
9164
|
var _ET = "EncodingType";
|
|
9162
9165
|
var _ETa = "ETag";
|
|
9163
9166
|
var _ETn = "EncryptionType";
|
|
@@ -9500,6 +9503,7 @@ var _e = "expires";
|
|
|
9500
9503
|
var _en = "encryption";
|
|
9501
9504
|
var _et = "encoding-type";
|
|
9502
9505
|
var _eta = "etag";
|
|
9506
|
+
var _ex = "expiresstring";
|
|
9503
9507
|
var _fo = "fetch-owner";
|
|
9504
9508
|
var _i = "id";
|
|
9505
9509
|
var _im = "if-match";
|
|
@@ -10644,6 +10648,7 @@ var GetObjectAttributesCommand = _GetObjectAttributesCommand;
|
|
|
10644
10648
|
|
|
10645
10649
|
// src/commands/GetObjectCommand.ts
|
|
10646
10650
|
|
|
10651
|
+
var import_middleware_sdk_s34 = require("@aws-sdk/middleware-sdk-s3");
|
|
10647
10652
|
|
|
10648
10653
|
|
|
10649
10654
|
|
|
@@ -10658,6 +10663,7 @@ var _GetObjectCommand = class _GetObjectCommand extends import_smithy_client.Com
|
|
|
10658
10663
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
10659
10664
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
10660
10665
|
(0, import_middleware_ssec.getSsecPlugin)(config),
|
|
10666
|
+
(0, import_middleware_sdk_s34.getS3ExpiresMiddlewarePlugin)(config),
|
|
10661
10667
|
(0, import_middleware_flexible_checksums.getFlexibleChecksumsPlugin)(config, {
|
|
10662
10668
|
input: this.input,
|
|
10663
10669
|
requestChecksumRequired: false,
|
|
@@ -10798,6 +10804,7 @@ __name(_HeadBucketCommand, "HeadBucketCommand");
|
|
|
10798
10804
|
var HeadBucketCommand = _HeadBucketCommand;
|
|
10799
10805
|
|
|
10800
10806
|
// src/commands/HeadObjectCommand.ts
|
|
10807
|
+
var import_middleware_sdk_s35 = require("@aws-sdk/middleware-sdk-s3");
|
|
10801
10808
|
|
|
10802
10809
|
|
|
10803
10810
|
|
|
@@ -10811,7 +10818,8 @@ var _HeadObjectCommand = class _HeadObjectCommand extends import_smithy_client.C
|
|
|
10811
10818
|
return [
|
|
10812
10819
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
10813
10820
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
10814
|
-
(0, import_middleware_ssec.getSsecPlugin)(config)
|
|
10821
|
+
(0, import_middleware_ssec.getSsecPlugin)(config),
|
|
10822
|
+
(0, import_middleware_sdk_s35.getS3ExpiresMiddlewarePlugin)(config)
|
|
10815
10823
|
];
|
|
10816
10824
|
}).s("AmazonS3", "HeadObject", {}).n("S3Client", "HeadObjectCommand").f(HeadObjectRequestFilterSensitiveLog, HeadObjectOutputFilterSensitiveLog).ser(se_HeadObjectCommand).de(de_HeadObjectCommand).build() {
|
|
10817
10825
|
};
|
|
@@ -11468,7 +11476,7 @@ var PutObjectAclCommand = _PutObjectAclCommand;
|
|
|
11468
11476
|
|
|
11469
11477
|
// src/commands/PutObjectCommand.ts
|
|
11470
11478
|
|
|
11471
|
-
var
|
|
11479
|
+
var import_middleware_sdk_s36 = require("@aws-sdk/middleware-sdk-s3");
|
|
11472
11480
|
|
|
11473
11481
|
|
|
11474
11482
|
|
|
@@ -11482,7 +11490,7 @@ var _PutObjectCommand = class _PutObjectCommand extends import_smithy_client.Com
|
|
|
11482
11490
|
return [
|
|
11483
11491
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
11484
11492
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
11485
|
-
(0,
|
|
11493
|
+
(0, import_middleware_sdk_s36.getCheckContentLengthHeaderPlugin)(config),
|
|
11486
11494
|
(0, import_middleware_ssec.getSsecPlugin)(config),
|
|
11487
11495
|
(0, import_middleware_flexible_checksums.getFlexibleChecksumsPlugin)(config, {
|
|
11488
11496
|
input: this.input,
|
|
@@ -11695,7 +11703,7 @@ __name(_UploadPartCommand, "UploadPartCommand");
|
|
|
11695
11703
|
var UploadPartCommand = _UploadPartCommand;
|
|
11696
11704
|
|
|
11697
11705
|
// src/commands/UploadPartCopyCommand.ts
|
|
11698
|
-
var
|
|
11706
|
+
var import_middleware_sdk_s37 = require("@aws-sdk/middleware-sdk-s3");
|
|
11699
11707
|
|
|
11700
11708
|
|
|
11701
11709
|
|
|
@@ -11709,7 +11717,7 @@ var _UploadPartCopyCommand = class _UploadPartCopyCommand extends import_smithy_
|
|
|
11709
11717
|
return [
|
|
11710
11718
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
11711
11719
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
11712
|
-
(0,
|
|
11720
|
+
(0, import_middleware_sdk_s37.getThrow200ExceptionsPlugin)(config),
|
|
11713
11721
|
(0, import_middleware_ssec.getSsecPlugin)(config)
|
|
11714
11722
|
];
|
|
11715
11723
|
}).s("AmazonS3", "UploadPartCopy", {}).n("S3Client", "UploadPartCopyCommand").f(UploadPartCopyRequestFilterSensitiveLog, UploadPartCopyOutputFilterSensitiveLog).ser(se_UploadPartCopyCommand).de(de_UploadPartCopyCommand).build() {
|
|
@@ -11958,34 +11966,17 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
11958
11966
|
// Annotate the CommonJS export names for ESM import in node:
|
|
11959
11967
|
|
|
11960
11968
|
0 && (module.exports = {
|
|
11969
|
+
S3ServiceException,
|
|
11970
|
+
__Client,
|
|
11971
|
+
S3Client,
|
|
11972
|
+
S3,
|
|
11973
|
+
$Command,
|
|
11961
11974
|
AbortMultipartUploadCommand,
|
|
11962
|
-
AnalyticsFilter,
|
|
11963
|
-
AnalyticsS3ExportFileFormat,
|
|
11964
|
-
ArchiveStatus,
|
|
11965
|
-
BucketAccelerateStatus,
|
|
11966
|
-
BucketAlreadyExists,
|
|
11967
|
-
BucketAlreadyOwnedByYou,
|
|
11968
|
-
BucketCannedACL,
|
|
11969
|
-
BucketLocationConstraint,
|
|
11970
|
-
BucketLogsPermission,
|
|
11971
|
-
BucketType,
|
|
11972
|
-
BucketVersioningStatus,
|
|
11973
|
-
ChecksumAlgorithm,
|
|
11974
|
-
ChecksumMode,
|
|
11975
11975
|
CompleteMultipartUploadCommand,
|
|
11976
|
-
CompleteMultipartUploadOutputFilterSensitiveLog,
|
|
11977
|
-
CompleteMultipartUploadRequestFilterSensitiveLog,
|
|
11978
|
-
CompressionType,
|
|
11979
11976
|
CopyObjectCommand,
|
|
11980
|
-
CopyObjectOutputFilterSensitiveLog,
|
|
11981
|
-
CopyObjectRequestFilterSensitiveLog,
|
|
11982
11977
|
CreateBucketCommand,
|
|
11983
11978
|
CreateMultipartUploadCommand,
|
|
11984
|
-
CreateMultipartUploadOutputFilterSensitiveLog,
|
|
11985
|
-
CreateMultipartUploadRequestFilterSensitiveLog,
|
|
11986
11979
|
CreateSessionCommand,
|
|
11987
|
-
CreateSessionOutputFilterSensitiveLog,
|
|
11988
|
-
DataRedundancy,
|
|
11989
11980
|
DeleteBucketAnalyticsConfigurationCommand,
|
|
11990
11981
|
DeleteBucketCommand,
|
|
11991
11982
|
DeleteBucketCorsCommand,
|
|
@@ -11999,28 +11990,17 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
11999
11990
|
DeleteBucketReplicationCommand,
|
|
12000
11991
|
DeleteBucketTaggingCommand,
|
|
12001
11992
|
DeleteBucketWebsiteCommand,
|
|
12002
|
-
DeleteMarkerReplicationStatus,
|
|
12003
11993
|
DeleteObjectCommand,
|
|
12004
11994
|
DeleteObjectTaggingCommand,
|
|
12005
11995
|
DeleteObjectsCommand,
|
|
12006
11996
|
DeletePublicAccessBlockCommand,
|
|
12007
|
-
EncodingType,
|
|
12008
|
-
EncryptionFilterSensitiveLog,
|
|
12009
|
-
Event,
|
|
12010
|
-
ExistingObjectReplicationStatus,
|
|
12011
|
-
ExpirationStatus,
|
|
12012
|
-
ExpressionType,
|
|
12013
|
-
FileHeaderInfo,
|
|
12014
|
-
FilterRuleName,
|
|
12015
11997
|
GetBucketAccelerateConfigurationCommand,
|
|
12016
11998
|
GetBucketAclCommand,
|
|
12017
11999
|
GetBucketAnalyticsConfigurationCommand,
|
|
12018
12000
|
GetBucketCorsCommand,
|
|
12019
12001
|
GetBucketEncryptionCommand,
|
|
12020
|
-
GetBucketEncryptionOutputFilterSensitiveLog,
|
|
12021
12002
|
GetBucketIntelligentTieringConfigurationCommand,
|
|
12022
12003
|
GetBucketInventoryConfigurationCommand,
|
|
12023
|
-
GetBucketInventoryConfigurationOutputFilterSensitiveLog,
|
|
12024
12004
|
GetBucketLifecycleConfigurationCommand,
|
|
12025
12005
|
GetBucketLocationCommand,
|
|
12026
12006
|
GetBucketLoggingCommand,
|
|
@@ -12036,38 +12016,18 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
12036
12016
|
GetBucketWebsiteCommand,
|
|
12037
12017
|
GetObjectAclCommand,
|
|
12038
12018
|
GetObjectAttributesCommand,
|
|
12039
|
-
GetObjectAttributesRequestFilterSensitiveLog,
|
|
12040
12019
|
GetObjectCommand,
|
|
12041
12020
|
GetObjectLegalHoldCommand,
|
|
12042
12021
|
GetObjectLockConfigurationCommand,
|
|
12043
|
-
GetObjectOutputFilterSensitiveLog,
|
|
12044
|
-
GetObjectRequestFilterSensitiveLog,
|
|
12045
12022
|
GetObjectRetentionCommand,
|
|
12046
12023
|
GetObjectTaggingCommand,
|
|
12047
12024
|
GetObjectTorrentCommand,
|
|
12048
|
-
GetObjectTorrentOutputFilterSensitiveLog,
|
|
12049
12025
|
GetPublicAccessBlockCommand,
|
|
12050
12026
|
HeadBucketCommand,
|
|
12051
12027
|
HeadObjectCommand,
|
|
12052
|
-
HeadObjectOutputFilterSensitiveLog,
|
|
12053
|
-
HeadObjectRequestFilterSensitiveLog,
|
|
12054
|
-
IntelligentTieringAccessTier,
|
|
12055
|
-
IntelligentTieringStatus,
|
|
12056
|
-
InvalidObjectState,
|
|
12057
|
-
InventoryConfigurationFilterSensitiveLog,
|
|
12058
|
-
InventoryDestinationFilterSensitiveLog,
|
|
12059
|
-
InventoryEncryptionFilterSensitiveLog,
|
|
12060
|
-
InventoryFormat,
|
|
12061
|
-
InventoryFrequency,
|
|
12062
|
-
InventoryIncludedObjectVersions,
|
|
12063
|
-
InventoryOptionalField,
|
|
12064
|
-
InventoryS3BucketDestinationFilterSensitiveLog,
|
|
12065
|
-
JSONType,
|
|
12066
|
-
LifecycleRuleFilter,
|
|
12067
12028
|
ListBucketAnalyticsConfigurationsCommand,
|
|
12068
12029
|
ListBucketIntelligentTieringConfigurationsCommand,
|
|
12069
12030
|
ListBucketInventoryConfigurationsCommand,
|
|
12070
|
-
ListBucketInventoryConfigurationsOutputFilterSensitiveLog,
|
|
12071
12031
|
ListBucketMetricsConfigurationsCommand,
|
|
12072
12032
|
ListBucketsCommand,
|
|
12073
12033
|
ListDirectoryBucketsCommand,
|
|
@@ -12076,44 +12036,13 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
12076
12036
|
ListObjectsCommand,
|
|
12077
12037
|
ListObjectsV2Command,
|
|
12078
12038
|
ListPartsCommand,
|
|
12079
|
-
ListPartsRequestFilterSensitiveLog,
|
|
12080
|
-
LocationType,
|
|
12081
|
-
MFADelete,
|
|
12082
|
-
MFADeleteStatus,
|
|
12083
|
-
MetadataDirective,
|
|
12084
|
-
MetricsFilter,
|
|
12085
|
-
MetricsStatus,
|
|
12086
|
-
NoSuchBucket,
|
|
12087
|
-
NoSuchKey,
|
|
12088
|
-
NoSuchUpload,
|
|
12089
|
-
NotFound,
|
|
12090
|
-
ObjectAlreadyInActiveTierError,
|
|
12091
|
-
ObjectAttributes,
|
|
12092
|
-
ObjectCannedACL,
|
|
12093
|
-
ObjectLockEnabled,
|
|
12094
|
-
ObjectLockLegalHoldStatus,
|
|
12095
|
-
ObjectLockMode,
|
|
12096
|
-
ObjectLockRetentionMode,
|
|
12097
|
-
ObjectNotInActiveTierError,
|
|
12098
|
-
ObjectOwnership,
|
|
12099
|
-
ObjectStorageClass,
|
|
12100
|
-
ObjectVersionStorageClass,
|
|
12101
|
-
OptionalObjectAttributes,
|
|
12102
|
-
OutputLocationFilterSensitiveLog,
|
|
12103
|
-
OwnerOverride,
|
|
12104
|
-
PartitionDateSource,
|
|
12105
|
-
Payer,
|
|
12106
|
-
Permission,
|
|
12107
|
-
Protocol,
|
|
12108
12039
|
PutBucketAccelerateConfigurationCommand,
|
|
12109
12040
|
PutBucketAclCommand,
|
|
12110
12041
|
PutBucketAnalyticsConfigurationCommand,
|
|
12111
12042
|
PutBucketCorsCommand,
|
|
12112
12043
|
PutBucketEncryptionCommand,
|
|
12113
|
-
PutBucketEncryptionRequestFilterSensitiveLog,
|
|
12114
12044
|
PutBucketIntelligentTieringConfigurationCommand,
|
|
12115
12045
|
PutBucketInventoryConfigurationCommand,
|
|
12116
|
-
PutBucketInventoryConfigurationRequestFilterSensitiveLog,
|
|
12117
12046
|
PutBucketLifecycleConfigurationCommand,
|
|
12118
12047
|
PutBucketLoggingCommand,
|
|
12119
12048
|
PutBucketMetricsConfigurationCommand,
|
|
@@ -12129,65 +12058,145 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
12129
12058
|
PutObjectCommand,
|
|
12130
12059
|
PutObjectLegalHoldCommand,
|
|
12131
12060
|
PutObjectLockConfigurationCommand,
|
|
12132
|
-
PutObjectOutputFilterSensitiveLog,
|
|
12133
|
-
PutObjectRequestFilterSensitiveLog,
|
|
12134
12061
|
PutObjectRetentionCommand,
|
|
12135
12062
|
PutObjectTaggingCommand,
|
|
12136
12063
|
PutPublicAccessBlockCommand,
|
|
12137
|
-
QuoteFields,
|
|
12138
|
-
ReplicaModificationsStatus,
|
|
12139
|
-
ReplicationRuleFilter,
|
|
12140
|
-
ReplicationRuleStatus,
|
|
12141
|
-
ReplicationStatus,
|
|
12142
|
-
ReplicationTimeStatus,
|
|
12143
|
-
RequestCharged,
|
|
12144
|
-
RequestPayer,
|
|
12145
12064
|
RestoreObjectCommand,
|
|
12146
|
-
RestoreObjectRequestFilterSensitiveLog,
|
|
12147
|
-
RestoreRequestFilterSensitiveLog,
|
|
12148
|
-
RestoreRequestType,
|
|
12149
|
-
S3,
|
|
12150
|
-
S3Client,
|
|
12151
|
-
S3LocationFilterSensitiveLog,
|
|
12152
|
-
S3ServiceException,
|
|
12153
|
-
SSEKMSFilterSensitiveLog,
|
|
12154
12065
|
SelectObjectContentCommand,
|
|
12155
|
-
SelectObjectContentEventStream,
|
|
12156
|
-
SelectObjectContentEventStreamFilterSensitiveLog,
|
|
12157
|
-
SelectObjectContentOutputFilterSensitiveLog,
|
|
12158
|
-
SelectObjectContentRequestFilterSensitiveLog,
|
|
12159
|
-
ServerSideEncryption,
|
|
12160
|
-
ServerSideEncryptionByDefaultFilterSensitiveLog,
|
|
12161
|
-
ServerSideEncryptionConfigurationFilterSensitiveLog,
|
|
12162
|
-
ServerSideEncryptionRuleFilterSensitiveLog,
|
|
12163
|
-
SessionCredentialsFilterSensitiveLog,
|
|
12164
|
-
SessionMode,
|
|
12165
|
-
SseKmsEncryptedObjectsStatus,
|
|
12166
|
-
StorageClass,
|
|
12167
|
-
StorageClassAnalysisSchemaVersion,
|
|
12168
|
-
TaggingDirective,
|
|
12169
|
-
Tier,
|
|
12170
|
-
TransitionStorageClass,
|
|
12171
|
-
Type,
|
|
12172
12066
|
UploadPartCommand,
|
|
12173
12067
|
UploadPartCopyCommand,
|
|
12174
|
-
UploadPartCopyOutputFilterSensitiveLog,
|
|
12175
|
-
UploadPartCopyRequestFilterSensitiveLog,
|
|
12176
|
-
UploadPartOutputFilterSensitiveLog,
|
|
12177
|
-
UploadPartRequestFilterSensitiveLog,
|
|
12178
12068
|
WriteGetObjectResponseCommand,
|
|
12179
|
-
WriteGetObjectResponseRequestFilterSensitiveLog,
|
|
12180
|
-
__Client,
|
|
12181
12069
|
paginateListDirectoryBuckets,
|
|
12182
12070
|
paginateListObjectsV2,
|
|
12183
12071
|
paginateListParts,
|
|
12184
12072
|
waitForBucketExists,
|
|
12185
|
-
waitForBucketNotExists,
|
|
12186
|
-
waitForObjectExists,
|
|
12187
|
-
waitForObjectNotExists,
|
|
12188
12073
|
waitUntilBucketExists,
|
|
12074
|
+
waitForBucketNotExists,
|
|
12189
12075
|
waitUntilBucketNotExists,
|
|
12076
|
+
waitForObjectExists,
|
|
12190
12077
|
waitUntilObjectExists,
|
|
12191
|
-
|
|
12078
|
+
waitForObjectNotExists,
|
|
12079
|
+
waitUntilObjectNotExists,
|
|
12080
|
+
RequestCharged,
|
|
12081
|
+
RequestPayer,
|
|
12082
|
+
NoSuchUpload,
|
|
12083
|
+
BucketAccelerateStatus,
|
|
12084
|
+
Type,
|
|
12085
|
+
Permission,
|
|
12086
|
+
OwnerOverride,
|
|
12087
|
+
ServerSideEncryption,
|
|
12088
|
+
ObjectCannedACL,
|
|
12089
|
+
ChecksumAlgorithm,
|
|
12090
|
+
MetadataDirective,
|
|
12091
|
+
ObjectLockLegalHoldStatus,
|
|
12092
|
+
ObjectLockMode,
|
|
12093
|
+
StorageClass,
|
|
12094
|
+
TaggingDirective,
|
|
12095
|
+
ObjectNotInActiveTierError,
|
|
12096
|
+
BucketAlreadyExists,
|
|
12097
|
+
BucketAlreadyOwnedByYou,
|
|
12098
|
+
BucketCannedACL,
|
|
12099
|
+
DataRedundancy,
|
|
12100
|
+
BucketType,
|
|
12101
|
+
LocationType,
|
|
12102
|
+
BucketLocationConstraint,
|
|
12103
|
+
ObjectOwnership,
|
|
12104
|
+
SessionMode,
|
|
12105
|
+
NoSuchBucket,
|
|
12106
|
+
AnalyticsFilter,
|
|
12107
|
+
AnalyticsS3ExportFileFormat,
|
|
12108
|
+
StorageClassAnalysisSchemaVersion,
|
|
12109
|
+
IntelligentTieringStatus,
|
|
12110
|
+
IntelligentTieringAccessTier,
|
|
12111
|
+
InventoryFormat,
|
|
12112
|
+
InventoryIncludedObjectVersions,
|
|
12113
|
+
InventoryOptionalField,
|
|
12114
|
+
InventoryFrequency,
|
|
12115
|
+
LifecycleRuleFilter,
|
|
12116
|
+
TransitionStorageClass,
|
|
12117
|
+
ExpirationStatus,
|
|
12118
|
+
BucketLogsPermission,
|
|
12119
|
+
PartitionDateSource,
|
|
12120
|
+
MetricsFilter,
|
|
12121
|
+
Event,
|
|
12122
|
+
FilterRuleName,
|
|
12123
|
+
DeleteMarkerReplicationStatus,
|
|
12124
|
+
MetricsStatus,
|
|
12125
|
+
ReplicationTimeStatus,
|
|
12126
|
+
ExistingObjectReplicationStatus,
|
|
12127
|
+
ReplicationRuleFilter,
|
|
12128
|
+
ReplicaModificationsStatus,
|
|
12129
|
+
SseKmsEncryptedObjectsStatus,
|
|
12130
|
+
ReplicationRuleStatus,
|
|
12131
|
+
Payer,
|
|
12132
|
+
MFADeleteStatus,
|
|
12133
|
+
BucketVersioningStatus,
|
|
12134
|
+
Protocol,
|
|
12135
|
+
ReplicationStatus,
|
|
12136
|
+
ChecksumMode,
|
|
12137
|
+
InvalidObjectState,
|
|
12138
|
+
NoSuchKey,
|
|
12139
|
+
ObjectAttributes,
|
|
12140
|
+
ObjectLockEnabled,
|
|
12141
|
+
ObjectLockRetentionMode,
|
|
12142
|
+
NotFound,
|
|
12143
|
+
ArchiveStatus,
|
|
12144
|
+
EncodingType,
|
|
12145
|
+
ObjectStorageClass,
|
|
12146
|
+
OptionalObjectAttributes,
|
|
12147
|
+
ObjectVersionStorageClass,
|
|
12148
|
+
CompleteMultipartUploadOutputFilterSensitiveLog,
|
|
12149
|
+
CompleteMultipartUploadRequestFilterSensitiveLog,
|
|
12150
|
+
CopyObjectOutputFilterSensitiveLog,
|
|
12151
|
+
CopyObjectRequestFilterSensitiveLog,
|
|
12152
|
+
CreateMultipartUploadOutputFilterSensitiveLog,
|
|
12153
|
+
CreateMultipartUploadRequestFilterSensitiveLog,
|
|
12154
|
+
SessionCredentialsFilterSensitiveLog,
|
|
12155
|
+
CreateSessionOutputFilterSensitiveLog,
|
|
12156
|
+
ServerSideEncryptionByDefaultFilterSensitiveLog,
|
|
12157
|
+
ServerSideEncryptionRuleFilterSensitiveLog,
|
|
12158
|
+
ServerSideEncryptionConfigurationFilterSensitiveLog,
|
|
12159
|
+
GetBucketEncryptionOutputFilterSensitiveLog,
|
|
12160
|
+
SSEKMSFilterSensitiveLog,
|
|
12161
|
+
InventoryEncryptionFilterSensitiveLog,
|
|
12162
|
+
InventoryS3BucketDestinationFilterSensitiveLog,
|
|
12163
|
+
InventoryDestinationFilterSensitiveLog,
|
|
12164
|
+
InventoryConfigurationFilterSensitiveLog,
|
|
12165
|
+
GetBucketInventoryConfigurationOutputFilterSensitiveLog,
|
|
12166
|
+
GetObjectOutputFilterSensitiveLog,
|
|
12167
|
+
GetObjectRequestFilterSensitiveLog,
|
|
12168
|
+
GetObjectAttributesRequestFilterSensitiveLog,
|
|
12169
|
+
GetObjectTorrentOutputFilterSensitiveLog,
|
|
12170
|
+
HeadObjectOutputFilterSensitiveLog,
|
|
12171
|
+
HeadObjectRequestFilterSensitiveLog,
|
|
12172
|
+
ListBucketInventoryConfigurationsOutputFilterSensitiveLog,
|
|
12173
|
+
ListPartsRequestFilterSensitiveLog,
|
|
12174
|
+
PutBucketEncryptionRequestFilterSensitiveLog,
|
|
12175
|
+
PutBucketInventoryConfigurationRequestFilterSensitiveLog,
|
|
12176
|
+
MFADelete,
|
|
12177
|
+
ObjectAlreadyInActiveTierError,
|
|
12178
|
+
Tier,
|
|
12179
|
+
ExpressionType,
|
|
12180
|
+
CompressionType,
|
|
12181
|
+
FileHeaderInfo,
|
|
12182
|
+
JSONType,
|
|
12183
|
+
QuoteFields,
|
|
12184
|
+
RestoreRequestType,
|
|
12185
|
+
SelectObjectContentEventStream,
|
|
12186
|
+
PutObjectOutputFilterSensitiveLog,
|
|
12187
|
+
PutObjectRequestFilterSensitiveLog,
|
|
12188
|
+
EncryptionFilterSensitiveLog,
|
|
12189
|
+
S3LocationFilterSensitiveLog,
|
|
12190
|
+
OutputLocationFilterSensitiveLog,
|
|
12191
|
+
RestoreRequestFilterSensitiveLog,
|
|
12192
|
+
RestoreObjectRequestFilterSensitiveLog,
|
|
12193
|
+
SelectObjectContentEventStreamFilterSensitiveLog,
|
|
12194
|
+
SelectObjectContentOutputFilterSensitiveLog,
|
|
12195
|
+
SelectObjectContentRequestFilterSensitiveLog,
|
|
12196
|
+
UploadPartOutputFilterSensitiveLog,
|
|
12197
|
+
UploadPartRequestFilterSensitiveLog,
|
|
12198
|
+
UploadPartCopyOutputFilterSensitiveLog,
|
|
12199
|
+
UploadPartCopyRequestFilterSensitiveLog,
|
|
12200
|
+
WriteGetObjectResponseRequestFilterSensitiveLog
|
|
12192
12201
|
});
|
|
12193
12202
|
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
2
|
+
import { getS3ExpiresMiddlewarePlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
2
3
|
import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
|
|
3
4
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
4
5
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
@@ -19,6 +20,7 @@ export class GetObjectCommand extends $Command
|
|
|
19
20
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
20
21
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
21
22
|
getSsecPlugin(config),
|
|
23
|
+
getS3ExpiresMiddlewarePlugin(config),
|
|
22
24
|
getFlexibleChecksumsPlugin(config, {
|
|
23
25
|
input: this.input,
|
|
24
26
|
requestChecksumRequired: false,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getS3ExpiresMiddlewarePlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
1
2
|
import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
|
|
2
3
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
3
4
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
@@ -18,6 +19,7 @@ export class HeadObjectCommand extends $Command
|
|
|
18
19
|
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
19
20
|
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
20
21
|
getSsecPlugin(config),
|
|
22
|
+
getS3ExpiresMiddlewarePlugin(config),
|
|
21
23
|
];
|
|
22
24
|
})
|
|
23
25
|
.s("AmazonS3", "HeadObject", {})
|
|
@@ -3248,6 +3248,7 @@ export const de_GetObjectCommand = async (output, context) => {
|
|
|
3248
3248
|
[_CR]: [, output.headers[_cr]],
|
|
3249
3249
|
[_CT]: [, output.headers[_ct]],
|
|
3250
3250
|
[_E]: [() => void 0 !== output.headers[_e], () => __expectNonNull(__parseRfc7231DateTime(output.headers[_e]))],
|
|
3251
|
+
[_ES]: [, output.headers[_ex]],
|
|
3251
3252
|
[_WRL]: [, output.headers[_xawrl]],
|
|
3252
3253
|
[_SSE]: [, output.headers[_xasse]],
|
|
3253
3254
|
[_SSECA]: [, output.headers[_xasseca]],
|
|
@@ -3600,6 +3601,7 @@ export const de_HeadObjectCommand = async (output, context) => {
|
|
|
3600
3601
|
[_CL]: [, output.headers[_cl]],
|
|
3601
3602
|
[_CT]: [, output.headers[_ct]],
|
|
3602
3603
|
[_E]: [() => void 0 !== output.headers[_e], () => __expectNonNull(__parseRfc7231DateTime(output.headers[_e]))],
|
|
3604
|
+
[_ES]: [, output.headers[_ex]],
|
|
3603
3605
|
[_WRL]: [, output.headers[_xawrl]],
|
|
3604
3606
|
[_SSE]: [, output.headers[_xasse]],
|
|
3605
3607
|
[_SSECA]: [, output.headers[_xasseca]],
|
|
@@ -5663,7 +5665,7 @@ const se_LifecycleRule = (input, context) => {
|
|
|
5663
5665
|
bn.c(se_LifecycleRuleFilter(input[_F], context).n(_F));
|
|
5664
5666
|
}
|
|
5665
5667
|
if (input[_S] != null) {
|
|
5666
|
-
bn.c(__XmlNode.of(
|
|
5668
|
+
bn.c(__XmlNode.of(_ESx, input[_S]).n(_S));
|
|
5667
5669
|
}
|
|
5668
5670
|
bn.l(input, "Transitions", "Transition", () => se_TransitionList(input[_Tr], context));
|
|
5669
5671
|
bn.l(input, "NoncurrentVersionTransitions", "NoncurrentVersionTransition", () => se_NoncurrentVersionTransitionList(input[_NVT], context));
|
|
@@ -8219,8 +8221,9 @@ const _EODM = "ExpiredObjectDeleteMarker";
|
|
|
8219
8221
|
const _EOR = "ExistingObjectReplication";
|
|
8220
8222
|
const _EORS = "ExistingObjectReplicationStatus";
|
|
8221
8223
|
const _ERP = "EnableRequestProgress";
|
|
8222
|
-
const _ES = "
|
|
8224
|
+
const _ES = "ExpiresString";
|
|
8223
8225
|
const _ESBO = "ExpectedSourceBucketOwner";
|
|
8226
|
+
const _ESx = "ExpirationStatus";
|
|
8224
8227
|
const _ET = "EncodingType";
|
|
8225
8228
|
const _ETa = "ETag";
|
|
8226
8229
|
const _ETn = "EncryptionType";
|
|
@@ -8563,6 +8566,7 @@ const _e = "expires";
|
|
|
8563
8566
|
const _en = "encryption";
|
|
8564
8567
|
const _et = "encoding-type";
|
|
8565
8568
|
const _eta = "etag";
|
|
8569
|
+
const _ex = "expiresstring";
|
|
8566
8570
|
const _fo = "fetch-owner";
|
|
8567
8571
|
const _i = "id";
|
|
8568
8572
|
const _im = "if-match";
|
|
@@ -230,6 +230,7 @@ declare const GetObjectCommand_base: {
|
|
|
230
230
|
* // ContentRange: "STRING_VALUE",
|
|
231
231
|
* // ContentType: "STRING_VALUE",
|
|
232
232
|
* // Expires: new Date("TIMESTAMP"),
|
|
233
|
+
* // ExpiresString: "STRING_VALUE",
|
|
233
234
|
* // WebsiteRedirectLocation: "STRING_VALUE",
|
|
234
235
|
* // ServerSideEncryption: "AES256" || "aws:kms" || "aws:kms:dsse",
|
|
235
236
|
* // Metadata: { // Metadata
|
|
@@ -207,6 +207,7 @@ declare const HeadObjectCommand_base: {
|
|
|
207
207
|
* // ContentLanguage: "STRING_VALUE",
|
|
208
208
|
* // ContentType: "STRING_VALUE",
|
|
209
209
|
* // Expires: new Date("TIMESTAMP"),
|
|
210
|
+
* // ExpiresString: "STRING_VALUE",
|
|
210
211
|
* // WebsiteRedirectLocation: "STRING_VALUE",
|
|
211
212
|
* // ServerSideEncryption: "AES256" || "aws:kms" || "aws:kms:dsse",
|
|
212
213
|
* // Metadata: { // Metadata
|
|
@@ -69,7 +69,7 @@ declare const ListBucketsCommand_base: {
|
|
|
69
69
|
* @example To list all buckets
|
|
70
70
|
* ```javascript
|
|
71
71
|
* // The following example returns all the buckets owned by the sender of this request.
|
|
72
|
-
* const input =
|
|
72
|
+
* const input = {};
|
|
73
73
|
* const command = new ListBucketsCommand(input);
|
|
74
74
|
* const response = await client.send(command);
|
|
75
75
|
* /* response ==
|
|
@@ -8321,9 +8321,16 @@ export interface GetObjectOutput {
|
|
|
8321
8321
|
ContentType?: string;
|
|
8322
8322
|
/**
|
|
8323
8323
|
* @public
|
|
8324
|
-
*
|
|
8324
|
+
* @deprecated
|
|
8325
|
+
*
|
|
8326
|
+
* Deprecated in favor of ExpiresString.
|
|
8325
8327
|
*/
|
|
8326
8328
|
Expires?: Date;
|
|
8329
|
+
/**
|
|
8330
|
+
* @public
|
|
8331
|
+
* <p>The date and time at which the object is no longer cacheable.</p>
|
|
8332
|
+
*/
|
|
8333
|
+
ExpiresString?: string;
|
|
8327
8334
|
/**
|
|
8328
8335
|
* @public
|
|
8329
8336
|
* <p>If the bucket is configured as a website, redirects requests for this object to another
|
|
@@ -9870,9 +9877,16 @@ export interface HeadObjectOutput {
|
|
|
9870
9877
|
ContentType?: string;
|
|
9871
9878
|
/**
|
|
9872
9879
|
* @public
|
|
9873
|
-
*
|
|
9880
|
+
* @deprecated
|
|
9881
|
+
*
|
|
9882
|
+
* Deprecated in favor of ExpiresString.
|
|
9874
9883
|
*/
|
|
9875
9884
|
Expires?: Date;
|
|
9885
|
+
/**
|
|
9886
|
+
* @public
|
|
9887
|
+
* <p>The date and time at which the object is no longer cacheable.</p>
|
|
9888
|
+
*/
|
|
9889
|
+
ExpiresString?: string;
|
|
9876
9890
|
/**
|
|
9877
9891
|
* @public
|
|
9878
9892
|
* <p>If the bucket is configured as a website, redirects requests for this object to another
|
|
@@ -1391,6 +1391,7 @@ export interface GetObjectOutput {
|
|
|
1391
1391
|
ContentRange?: string;
|
|
1392
1392
|
ContentType?: string;
|
|
1393
1393
|
Expires?: Date;
|
|
1394
|
+
ExpiresString?: string;
|
|
1394
1395
|
WebsiteRedirectLocation?: string;
|
|
1395
1396
|
ServerSideEncryption?: ServerSideEncryption;
|
|
1396
1397
|
Metadata?: Record<string, string>;
|
|
@@ -1645,6 +1646,7 @@ export interface HeadObjectOutput {
|
|
|
1645
1646
|
ContentLanguage?: string;
|
|
1646
1647
|
ContentType?: string;
|
|
1647
1648
|
Expires?: Date;
|
|
1649
|
+
ExpiresString?: string;
|
|
1648
1650
|
WebsiteRedirectLocation?: string;
|
|
1649
1651
|
ServerSideEncryption?: ServerSideEncryption;
|
|
1650
1652
|
Metadata?: Record<string, string>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-s3",
|
|
3
3
|
"description": "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.499.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-s3",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"@aws-crypto/sha1-browser": "3.0.0",
|
|
27
27
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
28
28
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
29
|
-
"@aws-sdk/client-sts": "3.
|
|
29
|
+
"@aws-sdk/client-sts": "3.499.0",
|
|
30
30
|
"@aws-sdk/core": "3.496.0",
|
|
31
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
31
|
+
"@aws-sdk/credential-provider-node": "3.499.0",
|
|
32
32
|
"@aws-sdk/middleware-bucket-endpoint": "3.496.0",
|
|
33
33
|
"@aws-sdk/middleware-expect-continue": "3.496.0",
|
|
34
34
|
"@aws-sdk/middleware-flexible-checksums": "3.496.0",
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
"@aws-sdk/middleware-location-constraint": "3.496.0",
|
|
37
37
|
"@aws-sdk/middleware-logger": "3.496.0",
|
|
38
38
|
"@aws-sdk/middleware-recursion-detection": "3.496.0",
|
|
39
|
-
"@aws-sdk/middleware-sdk-s3": "3.
|
|
39
|
+
"@aws-sdk/middleware-sdk-s3": "3.499.0",
|
|
40
40
|
"@aws-sdk/middleware-signing": "3.496.0",
|
|
41
|
-
"@aws-sdk/middleware-ssec": "3.
|
|
41
|
+
"@aws-sdk/middleware-ssec": "3.498.0",
|
|
42
42
|
"@aws-sdk/middleware-user-agent": "3.496.0",
|
|
43
43
|
"@aws-sdk/region-config-resolver": "3.496.0",
|
|
44
|
-
"@aws-sdk/signature-v4-multi-region": "3.
|
|
44
|
+
"@aws-sdk/signature-v4-multi-region": "3.499.0",
|
|
45
45
|
"@aws-sdk/types": "3.496.0",
|
|
46
46
|
"@aws-sdk/util-endpoints": "3.496.0",
|
|
47
47
|
"@aws-sdk/util-user-agent-browser": "3.496.0",
|