@aws-sdk/client-s3 3.1060.0 → 3.1062.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 +85 -88
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.shared.js +2 -2
- package/dist-es/S3Client.js +1 -2
- package/dist-es/commands/AbortMultipartUploadCommand.js +1 -1
- package/dist-es/commands/CompleteMultipartUploadCommand.js +1 -2
- package/dist-es/commands/CopyObjectCommand.js +1 -2
- package/dist-es/commands/CreateBucketCommand.js +1 -2
- package/dist-es/commands/CreateMultipartUploadCommand.js +1 -2
- package/dist-es/commands/CreateSessionCommand.js +1 -1
- package/dist-es/commands/DeleteObjectCommand.js +1 -1
- package/dist-es/commands/DeleteObjectTaggingCommand.js +1 -1
- package/dist-es/commands/DeleteObjectsCommand.js +1 -1
- package/dist-es/commands/GetBucketAbacCommand.js +1 -1
- package/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +1 -1
- package/dist-es/commands/GetBucketAclCommand.js +1 -1
- package/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +1 -1
- package/dist-es/commands/GetBucketCorsCommand.js +1 -1
- package/dist-es/commands/GetBucketEncryptionCommand.js +1 -1
- package/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +1 -1
- package/dist-es/commands/GetBucketInventoryConfigurationCommand.js +1 -1
- package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +1 -1
- package/dist-es/commands/GetBucketLocationCommand.js +1 -1
- package/dist-es/commands/GetBucketLoggingCommand.js +1 -1
- package/dist-es/commands/GetBucketMetadataConfigurationCommand.js +1 -1
- package/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js +1 -1
- package/dist-es/commands/GetBucketMetricsConfigurationCommand.js +1 -1
- package/dist-es/commands/GetBucketNotificationConfigurationCommand.js +1 -1
- package/dist-es/commands/GetBucketOwnershipControlsCommand.js +1 -1
- package/dist-es/commands/GetBucketPolicyStatusCommand.js +1 -1
- package/dist-es/commands/GetBucketReplicationCommand.js +1 -1
- package/dist-es/commands/GetBucketRequestPaymentCommand.js +1 -1
- package/dist-es/commands/GetBucketTaggingCommand.js +1 -1
- package/dist-es/commands/GetBucketVersioningCommand.js +1 -1
- package/dist-es/commands/GetBucketWebsiteCommand.js +1 -1
- package/dist-es/commands/GetObjectAclCommand.js +1 -1
- package/dist-es/commands/GetObjectAttributesCommand.js +1 -2
- package/dist-es/commands/GetObjectCommand.js +1 -2
- package/dist-es/commands/GetObjectLegalHoldCommand.js +1 -1
- package/dist-es/commands/GetObjectLockConfigurationCommand.js +1 -1
- package/dist-es/commands/GetObjectRetentionCommand.js +1 -1
- package/dist-es/commands/GetObjectTaggingCommand.js +1 -1
- package/dist-es/commands/GetPublicAccessBlockCommand.js +1 -1
- package/dist-es/commands/HeadBucketCommand.js +1 -1
- package/dist-es/commands/HeadObjectCommand.js +1 -2
- package/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +1 -1
- package/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +1 -1
- package/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +1 -1
- package/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +1 -1
- package/dist-es/commands/ListBucketsCommand.js +1 -1
- package/dist-es/commands/ListDirectoryBucketsCommand.js +1 -1
- package/dist-es/commands/ListMultipartUploadsCommand.js +1 -1
- package/dist-es/commands/ListObjectVersionsCommand.js +1 -1
- package/dist-es/commands/ListObjectsCommand.js +1 -1
- package/dist-es/commands/ListObjectsV2Command.js +1 -1
- package/dist-es/commands/ListPartsCommand.js +1 -2
- package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +1 -1
- package/dist-es/commands/PutObjectAclCommand.js +1 -1
- package/dist-es/commands/PutObjectCommand.js +1 -2
- package/dist-es/commands/PutObjectLegalHoldCommand.js +1 -1
- package/dist-es/commands/PutObjectLockConfigurationCommand.js +1 -1
- package/dist-es/commands/PutObjectRetentionCommand.js +1 -1
- package/dist-es/commands/PutObjectTaggingCommand.js +1 -1
- package/dist-es/commands/RenameObjectCommand.js +1 -1
- package/dist-es/commands/RestoreObjectCommand.js +1 -1
- package/dist-es/commands/SelectObjectContentCommand.js +1 -1
- package/dist-es/commands/UpdateObjectEncryptionCommand.js +1 -1
- package/dist-es/commands/UploadPartCommand.js +1 -2
- package/dist-es/commands/UploadPartCopyCommand.js +1 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.shared.js +1 -1
- package/dist-types/S3Client.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +4 -4
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -4
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/S3Client.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +6 -6
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +6 -6
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/package.json +5 -9
package/dist-cjs/index.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var client$1 = require('@aws-sdk/core/client');
|
|
4
|
-
var middlewareExpectContinue = require('@aws-sdk/middleware-expect-continue');
|
|
5
4
|
var middlewareFlexibleChecksums = require('@aws-sdk/middleware-flexible-checksums');
|
|
6
|
-
var
|
|
5
|
+
var s3 = require('@aws-sdk/middleware-sdk-s3/s3');
|
|
7
6
|
var core = require('@smithy/core');
|
|
8
7
|
var client = require('@smithy/core/client');
|
|
9
8
|
var config = require('@smithy/core/config');
|
|
@@ -15,8 +14,6 @@ var schema = require('@smithy/core/schema');
|
|
|
15
14
|
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
16
15
|
var schemas_0 = require('./schemas/schemas_0');
|
|
17
16
|
var runtimeConfig = require('./runtimeConfig');
|
|
18
|
-
var middlewareSsec = require('@aws-sdk/middleware-ssec');
|
|
19
|
-
var middlewareLocationConstraint = require('@aws-sdk/middleware-location-constraint');
|
|
20
17
|
var errors = require('./models/errors');
|
|
21
18
|
var S3ServiceException = require('./models/S3ServiceException');
|
|
22
19
|
|
|
@@ -55,7 +52,7 @@ class CreateSessionCommand extends client.Command
|
|
|
55
52
|
.m(function (Command, cs, config, o) {
|
|
56
53
|
return [
|
|
57
54
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
58
|
-
|
|
55
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
59
56
|
];
|
|
60
57
|
})
|
|
61
58
|
.s("AmazonS3", "CreateSession", {})
|
|
@@ -124,7 +121,7 @@ class S3Client extends client.Client {
|
|
|
124
121
|
const _config_7 = endpoints.resolveEndpointConfig(_config_6);
|
|
125
122
|
const _config_8 = eventStreams.resolveEventStreamSerdeConfig(_config_7);
|
|
126
123
|
const _config_9 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_8);
|
|
127
|
-
const _config_10 =
|
|
124
|
+
const _config_10 = s3.resolveS3Config(_config_9, { session: [() => this, CreateSessionCommand] });
|
|
128
125
|
const _config_11 = resolveRuntimeExtensions(_config_10, configuration?.extensions || []);
|
|
129
126
|
this.config = _config_11;
|
|
130
127
|
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
@@ -142,11 +139,11 @@ class S3Client extends client.Client {
|
|
|
142
139
|
}),
|
|
143
140
|
}));
|
|
144
141
|
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
145
|
-
this.middlewareStack.use(
|
|
146
|
-
this.middlewareStack.use(
|
|
147
|
-
this.middlewareStack.use(
|
|
148
|
-
this.middlewareStack.use(
|
|
149
|
-
this.middlewareStack.use(
|
|
142
|
+
this.middlewareStack.use(s3.getValidateBucketNamePlugin(this.config));
|
|
143
|
+
this.middlewareStack.use(s3.getAddExpectContinuePlugin(this.config));
|
|
144
|
+
this.middlewareStack.use(s3.getRegionRedirectMiddlewarePlugin(this.config));
|
|
145
|
+
this.middlewareStack.use(s3.getS3ExpressPlugin(this.config));
|
|
146
|
+
this.middlewareStack.use(s3.getS3ExpressHttpSigningPlugin(this.config));
|
|
150
147
|
}
|
|
151
148
|
destroy() {
|
|
152
149
|
super.destroy();
|
|
@@ -163,7 +160,7 @@ class AbortMultipartUploadCommand extends client.Command
|
|
|
163
160
|
.m(function (Command, cs, config, o) {
|
|
164
161
|
return [
|
|
165
162
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
166
|
-
|
|
163
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
167
164
|
];
|
|
168
165
|
})
|
|
169
166
|
.s("AmazonS3", "AbortMultipartUpload", {})
|
|
@@ -182,8 +179,8 @@ class CompleteMultipartUploadCommand extends client.Command
|
|
|
182
179
|
.m(function (Command, cs, config, o) {
|
|
183
180
|
return [
|
|
184
181
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
185
|
-
|
|
186
|
-
|
|
182
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
183
|
+
s3.getSsecPlugin(config),
|
|
187
184
|
];
|
|
188
185
|
})
|
|
189
186
|
.s("AmazonS3", "CompleteMultipartUpload", {})
|
|
@@ -204,8 +201,8 @@ class CopyObjectCommand extends client.Command
|
|
|
204
201
|
.m(function (Command, cs, config, o) {
|
|
205
202
|
return [
|
|
206
203
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
207
|
-
|
|
208
|
-
|
|
204
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
205
|
+
s3.getSsecPlugin(config),
|
|
209
206
|
];
|
|
210
207
|
})
|
|
211
208
|
.s("AmazonS3", "CopyObject", {})
|
|
@@ -225,8 +222,8 @@ class CreateBucketCommand extends client.Command
|
|
|
225
222
|
.m(function (Command, cs, config, o) {
|
|
226
223
|
return [
|
|
227
224
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
228
|
-
|
|
229
|
-
|
|
225
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
226
|
+
s3.getLocationConstraintPlugin(config),
|
|
230
227
|
];
|
|
231
228
|
})
|
|
232
229
|
.s("AmazonS3", "CreateBucket", {})
|
|
@@ -289,8 +286,8 @@ class CreateMultipartUploadCommand extends client.Command
|
|
|
289
286
|
.m(function (Command, cs, config, o) {
|
|
290
287
|
return [
|
|
291
288
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
292
|
-
|
|
293
|
-
|
|
289
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
290
|
+
s3.getSsecPlugin(config),
|
|
294
291
|
];
|
|
295
292
|
})
|
|
296
293
|
.s("AmazonS3", "CreateMultipartUpload", {})
|
|
@@ -549,7 +546,7 @@ class DeleteObjectCommand extends client.Command
|
|
|
549
546
|
.m(function (Command, cs, config, o) {
|
|
550
547
|
return [
|
|
551
548
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
552
|
-
|
|
549
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
553
550
|
];
|
|
554
551
|
})
|
|
555
552
|
.s("AmazonS3", "DeleteObject", {})
|
|
@@ -571,7 +568,7 @@ class DeleteObjectsCommand extends client.Command
|
|
|
571
568
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
572
569
|
requestChecksumRequired: true,
|
|
573
570
|
}),
|
|
574
|
-
|
|
571
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
575
572
|
];
|
|
576
573
|
})
|
|
577
574
|
.s("AmazonS3", "DeleteObjects", {})
|
|
@@ -589,7 +586,7 @@ class DeleteObjectTaggingCommand extends client.Command
|
|
|
589
586
|
.m(function (Command, cs, config, o) {
|
|
590
587
|
return [
|
|
591
588
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
592
|
-
|
|
589
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
593
590
|
];
|
|
594
591
|
})
|
|
595
592
|
.s("AmazonS3", "DeleteObjectTagging", {})
|
|
@@ -623,7 +620,7 @@ class GetBucketAbacCommand extends client.Command
|
|
|
623
620
|
.m(function (Command, cs, config, o) {
|
|
624
621
|
return [
|
|
625
622
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
626
|
-
|
|
623
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
627
624
|
];
|
|
628
625
|
})
|
|
629
626
|
.s("AmazonS3", "GetBucketAbac", {})
|
|
@@ -642,7 +639,7 @@ class GetBucketAccelerateConfigurationCommand extends client.Command
|
|
|
642
639
|
.m(function (Command, cs, config, o) {
|
|
643
640
|
return [
|
|
644
641
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
645
|
-
|
|
642
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
646
643
|
];
|
|
647
644
|
})
|
|
648
645
|
.s("AmazonS3", "GetBucketAccelerateConfiguration", {})
|
|
@@ -661,7 +658,7 @@ class GetBucketAclCommand extends client.Command
|
|
|
661
658
|
.m(function (Command, cs, config, o) {
|
|
662
659
|
return [
|
|
663
660
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
664
|
-
|
|
661
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
665
662
|
];
|
|
666
663
|
})
|
|
667
664
|
.s("AmazonS3", "GetBucketAcl", {})
|
|
@@ -680,7 +677,7 @@ class GetBucketAnalyticsConfigurationCommand extends client.Command
|
|
|
680
677
|
.m(function (Command, cs, config, o) {
|
|
681
678
|
return [
|
|
682
679
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
683
|
-
|
|
680
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
684
681
|
];
|
|
685
682
|
})
|
|
686
683
|
.s("AmazonS3", "GetBucketAnalyticsConfiguration", {})
|
|
@@ -699,7 +696,7 @@ class GetBucketCorsCommand extends client.Command
|
|
|
699
696
|
.m(function (Command, cs, config, o) {
|
|
700
697
|
return [
|
|
701
698
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
702
|
-
|
|
699
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
703
700
|
];
|
|
704
701
|
})
|
|
705
702
|
.s("AmazonS3", "GetBucketCors", {})
|
|
@@ -718,7 +715,7 @@ class GetBucketEncryptionCommand extends client.Command
|
|
|
718
715
|
.m(function (Command, cs, config, o) {
|
|
719
716
|
return [
|
|
720
717
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
721
|
-
|
|
718
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
722
719
|
];
|
|
723
720
|
})
|
|
724
721
|
.s("AmazonS3", "GetBucketEncryption", {})
|
|
@@ -737,7 +734,7 @@ class GetBucketIntelligentTieringConfigurationCommand extends client.Command
|
|
|
737
734
|
.m(function (Command, cs, config, o) {
|
|
738
735
|
return [
|
|
739
736
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
740
|
-
|
|
737
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
741
738
|
];
|
|
742
739
|
})
|
|
743
740
|
.s("AmazonS3", "GetBucketIntelligentTieringConfiguration", {})
|
|
@@ -756,7 +753,7 @@ class GetBucketInventoryConfigurationCommand extends client.Command
|
|
|
756
753
|
.m(function (Command, cs, config, o) {
|
|
757
754
|
return [
|
|
758
755
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
759
|
-
|
|
756
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
760
757
|
];
|
|
761
758
|
})
|
|
762
759
|
.s("AmazonS3", "GetBucketInventoryConfiguration", {})
|
|
@@ -775,7 +772,7 @@ class GetBucketLifecycleConfigurationCommand extends client.Command
|
|
|
775
772
|
.m(function (Command, cs, config, o) {
|
|
776
773
|
return [
|
|
777
774
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
778
|
-
|
|
775
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
779
776
|
];
|
|
780
777
|
})
|
|
781
778
|
.s("AmazonS3", "GetBucketLifecycleConfiguration", {})
|
|
@@ -794,7 +791,7 @@ class GetBucketLocationCommand extends client.Command
|
|
|
794
791
|
.m(function (Command, cs, config, o) {
|
|
795
792
|
return [
|
|
796
793
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
797
|
-
|
|
794
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
798
795
|
];
|
|
799
796
|
})
|
|
800
797
|
.s("AmazonS3", "GetBucketLocation", {})
|
|
@@ -813,7 +810,7 @@ class GetBucketLoggingCommand extends client.Command
|
|
|
813
810
|
.m(function (Command, cs, config, o) {
|
|
814
811
|
return [
|
|
815
812
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
816
|
-
|
|
813
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
817
814
|
];
|
|
818
815
|
})
|
|
819
816
|
.s("AmazonS3", "GetBucketLogging", {})
|
|
@@ -832,7 +829,7 @@ class GetBucketMetadataConfigurationCommand extends client.Command
|
|
|
832
829
|
.m(function (Command, cs, config, o) {
|
|
833
830
|
return [
|
|
834
831
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
835
|
-
|
|
832
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
836
833
|
];
|
|
837
834
|
})
|
|
838
835
|
.s("AmazonS3", "GetBucketMetadataConfiguration", {})
|
|
@@ -851,7 +848,7 @@ class GetBucketMetadataTableConfigurationCommand extends client.Command
|
|
|
851
848
|
.m(function (Command, cs, config, o) {
|
|
852
849
|
return [
|
|
853
850
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
854
|
-
|
|
851
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
855
852
|
];
|
|
856
853
|
})
|
|
857
854
|
.s("AmazonS3", "GetBucketMetadataTableConfiguration", {})
|
|
@@ -870,7 +867,7 @@ class GetBucketMetricsConfigurationCommand extends client.Command
|
|
|
870
867
|
.m(function (Command, cs, config, o) {
|
|
871
868
|
return [
|
|
872
869
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
873
|
-
|
|
870
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
874
871
|
];
|
|
875
872
|
})
|
|
876
873
|
.s("AmazonS3", "GetBucketMetricsConfiguration", {})
|
|
@@ -889,7 +886,7 @@ class GetBucketNotificationConfigurationCommand extends client.Command
|
|
|
889
886
|
.m(function (Command, cs, config, o) {
|
|
890
887
|
return [
|
|
891
888
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
892
|
-
|
|
889
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
893
890
|
];
|
|
894
891
|
})
|
|
895
892
|
.s("AmazonS3", "GetBucketNotificationConfiguration", {})
|
|
@@ -908,7 +905,7 @@ class GetBucketOwnershipControlsCommand extends client.Command
|
|
|
908
905
|
.m(function (Command, cs, config, o) {
|
|
909
906
|
return [
|
|
910
907
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
911
|
-
|
|
908
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
912
909
|
];
|
|
913
910
|
})
|
|
914
911
|
.s("AmazonS3", "GetBucketOwnershipControls", {})
|
|
@@ -943,7 +940,7 @@ class GetBucketPolicyStatusCommand extends client.Command
|
|
|
943
940
|
.m(function (Command, cs, config, o) {
|
|
944
941
|
return [
|
|
945
942
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
946
|
-
|
|
943
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
947
944
|
];
|
|
948
945
|
})
|
|
949
946
|
.s("AmazonS3", "GetBucketPolicyStatus", {})
|
|
@@ -962,7 +959,7 @@ class GetBucketReplicationCommand extends client.Command
|
|
|
962
959
|
.m(function (Command, cs, config, o) {
|
|
963
960
|
return [
|
|
964
961
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
965
|
-
|
|
962
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
966
963
|
];
|
|
967
964
|
})
|
|
968
965
|
.s("AmazonS3", "GetBucketReplication", {})
|
|
@@ -981,7 +978,7 @@ class GetBucketRequestPaymentCommand extends client.Command
|
|
|
981
978
|
.m(function (Command, cs, config, o) {
|
|
982
979
|
return [
|
|
983
980
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
984
|
-
|
|
981
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
985
982
|
];
|
|
986
983
|
})
|
|
987
984
|
.s("AmazonS3", "GetBucketRequestPayment", {})
|
|
@@ -1000,7 +997,7 @@ class GetBucketTaggingCommand extends client.Command
|
|
|
1000
997
|
.m(function (Command, cs, config, o) {
|
|
1001
998
|
return [
|
|
1002
999
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1003
|
-
|
|
1000
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1004
1001
|
];
|
|
1005
1002
|
})
|
|
1006
1003
|
.s("AmazonS3", "GetBucketTagging", {})
|
|
@@ -1019,7 +1016,7 @@ class GetBucketVersioningCommand extends client.Command
|
|
|
1019
1016
|
.m(function (Command, cs, config, o) {
|
|
1020
1017
|
return [
|
|
1021
1018
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1022
|
-
|
|
1019
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1023
1020
|
];
|
|
1024
1021
|
})
|
|
1025
1022
|
.s("AmazonS3", "GetBucketVersioning", {})
|
|
@@ -1038,7 +1035,7 @@ class GetBucketWebsiteCommand extends client.Command
|
|
|
1038
1035
|
.m(function (Command, cs, config, o) {
|
|
1039
1036
|
return [
|
|
1040
1037
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1041
|
-
|
|
1038
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1042
1039
|
];
|
|
1043
1040
|
})
|
|
1044
1041
|
.s("AmazonS3", "GetBucketWebsite", {})
|
|
@@ -1057,7 +1054,7 @@ class GetObjectAclCommand extends client.Command
|
|
|
1057
1054
|
.m(function (Command, cs, config, o) {
|
|
1058
1055
|
return [
|
|
1059
1056
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1060
|
-
|
|
1057
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1061
1058
|
];
|
|
1062
1059
|
})
|
|
1063
1060
|
.s("AmazonS3", "GetObjectAcl", {})
|
|
@@ -1075,8 +1072,8 @@ class GetObjectAttributesCommand extends client.Command
|
|
|
1075
1072
|
.m(function (Command, cs, config, o) {
|
|
1076
1073
|
return [
|
|
1077
1074
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1078
|
-
|
|
1079
|
-
|
|
1075
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1076
|
+
s3.getSsecPlugin(config),
|
|
1080
1077
|
];
|
|
1081
1078
|
})
|
|
1082
1079
|
.s("AmazonS3", "GetObjectAttributes", {})
|
|
@@ -1100,8 +1097,8 @@ class GetObjectCommand extends client.Command
|
|
|
1100
1097
|
requestValidationModeMember: 'ChecksumMode',
|
|
1101
1098
|
'responseAlgorithms': ['CRC64NVME', 'CRC32', 'CRC32C', 'SHA256', 'SHA1', 'SHA512', 'MD5', 'XXHASH64', 'XXHASH3', 'XXHASH128'],
|
|
1102
1099
|
}),
|
|
1103
|
-
|
|
1104
|
-
|
|
1100
|
+
s3.getSsecPlugin(config),
|
|
1101
|
+
s3.getS3ExpiresMiddlewarePlugin(config),
|
|
1105
1102
|
];
|
|
1106
1103
|
})
|
|
1107
1104
|
.s("AmazonS3", "GetObject", {})
|
|
@@ -1119,7 +1116,7 @@ class GetObjectLegalHoldCommand extends client.Command
|
|
|
1119
1116
|
.m(function (Command, cs, config, o) {
|
|
1120
1117
|
return [
|
|
1121
1118
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1122
|
-
|
|
1119
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1123
1120
|
];
|
|
1124
1121
|
})
|
|
1125
1122
|
.s("AmazonS3", "GetObjectLegalHold", {})
|
|
@@ -1137,7 +1134,7 @@ class GetObjectLockConfigurationCommand extends client.Command
|
|
|
1137
1134
|
.m(function (Command, cs, config, o) {
|
|
1138
1135
|
return [
|
|
1139
1136
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1140
|
-
|
|
1137
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1141
1138
|
];
|
|
1142
1139
|
})
|
|
1143
1140
|
.s("AmazonS3", "GetObjectLockConfiguration", {})
|
|
@@ -1155,7 +1152,7 @@ class GetObjectRetentionCommand extends client.Command
|
|
|
1155
1152
|
.m(function (Command, cs, config, o) {
|
|
1156
1153
|
return [
|
|
1157
1154
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1158
|
-
|
|
1155
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1159
1156
|
];
|
|
1160
1157
|
})
|
|
1161
1158
|
.s("AmazonS3", "GetObjectRetention", {})
|
|
@@ -1173,7 +1170,7 @@ class GetObjectTaggingCommand extends client.Command
|
|
|
1173
1170
|
.m(function (Command, cs, config, o) {
|
|
1174
1171
|
return [
|
|
1175
1172
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1176
|
-
|
|
1173
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1177
1174
|
];
|
|
1178
1175
|
})
|
|
1179
1176
|
.s("AmazonS3", "GetObjectTagging", {})
|
|
@@ -1207,7 +1204,7 @@ class GetPublicAccessBlockCommand extends client.Command
|
|
|
1207
1204
|
.m(function (Command, cs, config, o) {
|
|
1208
1205
|
return [
|
|
1209
1206
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1210
|
-
|
|
1207
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1211
1208
|
];
|
|
1212
1209
|
})
|
|
1213
1210
|
.s("AmazonS3", "GetPublicAccessBlock", {})
|
|
@@ -1225,7 +1222,7 @@ class HeadBucketCommand extends client.Command
|
|
|
1225
1222
|
.m(function (Command, cs, config, o) {
|
|
1226
1223
|
return [
|
|
1227
1224
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1228
|
-
|
|
1225
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1229
1226
|
];
|
|
1230
1227
|
})
|
|
1231
1228
|
.s("AmazonS3", "HeadBucket", {})
|
|
@@ -1244,9 +1241,9 @@ class HeadObjectCommand extends client.Command
|
|
|
1244
1241
|
.m(function (Command, cs, config, o) {
|
|
1245
1242
|
return [
|
|
1246
1243
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1244
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1245
|
+
s3.getSsecPlugin(config),
|
|
1246
|
+
s3.getS3ExpiresMiddlewarePlugin(config),
|
|
1250
1247
|
];
|
|
1251
1248
|
})
|
|
1252
1249
|
.s("AmazonS3", "HeadObject", {})
|
|
@@ -1265,7 +1262,7 @@ class ListBucketAnalyticsConfigurationsCommand extends client.Command
|
|
|
1265
1262
|
.m(function (Command, cs, config, o) {
|
|
1266
1263
|
return [
|
|
1267
1264
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1268
|
-
|
|
1265
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1269
1266
|
];
|
|
1270
1267
|
})
|
|
1271
1268
|
.s("AmazonS3", "ListBucketAnalyticsConfigurations", {})
|
|
@@ -1284,7 +1281,7 @@ class ListBucketIntelligentTieringConfigurationsCommand extends client.Command
|
|
|
1284
1281
|
.m(function (Command, cs, config, o) {
|
|
1285
1282
|
return [
|
|
1286
1283
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1287
|
-
|
|
1284
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1288
1285
|
];
|
|
1289
1286
|
})
|
|
1290
1287
|
.s("AmazonS3", "ListBucketIntelligentTieringConfigurations", {})
|
|
@@ -1303,7 +1300,7 @@ class ListBucketInventoryConfigurationsCommand extends client.Command
|
|
|
1303
1300
|
.m(function (Command, cs, config, o) {
|
|
1304
1301
|
return [
|
|
1305
1302
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1306
|
-
|
|
1303
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1307
1304
|
];
|
|
1308
1305
|
})
|
|
1309
1306
|
.s("AmazonS3", "ListBucketInventoryConfigurations", {})
|
|
@@ -1322,7 +1319,7 @@ class ListBucketMetricsConfigurationsCommand extends client.Command
|
|
|
1322
1319
|
.m(function (Command, cs, config, o) {
|
|
1323
1320
|
return [
|
|
1324
1321
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1325
|
-
|
|
1322
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1326
1323
|
];
|
|
1327
1324
|
})
|
|
1328
1325
|
.s("AmazonS3", "ListBucketMetricsConfigurations", {})
|
|
@@ -1337,7 +1334,7 @@ class ListBucketsCommand extends client.Command
|
|
|
1337
1334
|
.m(function (Command, cs, config, o) {
|
|
1338
1335
|
return [
|
|
1339
1336
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1340
|
-
|
|
1337
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1341
1338
|
];
|
|
1342
1339
|
})
|
|
1343
1340
|
.s("AmazonS3", "ListBuckets", {})
|
|
@@ -1355,7 +1352,7 @@ class ListDirectoryBucketsCommand extends client.Command
|
|
|
1355
1352
|
.m(function (Command, cs, config, o) {
|
|
1356
1353
|
return [
|
|
1357
1354
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1358
|
-
|
|
1355
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1359
1356
|
];
|
|
1360
1357
|
})
|
|
1361
1358
|
.s("AmazonS3", "ListDirectoryBuckets", {})
|
|
@@ -1374,7 +1371,7 @@ class ListMultipartUploadsCommand extends client.Command
|
|
|
1374
1371
|
.m(function (Command, cs, config, o) {
|
|
1375
1372
|
return [
|
|
1376
1373
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1377
|
-
|
|
1374
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1378
1375
|
];
|
|
1379
1376
|
})
|
|
1380
1377
|
.s("AmazonS3", "ListMultipartUploads", {})
|
|
@@ -1393,7 +1390,7 @@ class ListObjectsCommand extends client.Command
|
|
|
1393
1390
|
.m(function (Command, cs, config, o) {
|
|
1394
1391
|
return [
|
|
1395
1392
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1396
|
-
|
|
1393
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1397
1394
|
];
|
|
1398
1395
|
})
|
|
1399
1396
|
.s("AmazonS3", "ListObjects", {})
|
|
@@ -1412,7 +1409,7 @@ class ListObjectsV2Command extends client.Command
|
|
|
1412
1409
|
.m(function (Command, cs, config, o) {
|
|
1413
1410
|
return [
|
|
1414
1411
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1415
|
-
|
|
1412
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1416
1413
|
];
|
|
1417
1414
|
})
|
|
1418
1415
|
.s("AmazonS3", "ListObjectsV2", {})
|
|
@@ -1431,7 +1428,7 @@ class ListObjectVersionsCommand extends client.Command
|
|
|
1431
1428
|
.m(function (Command, cs, config, o) {
|
|
1432
1429
|
return [
|
|
1433
1430
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1434
|
-
|
|
1431
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1435
1432
|
];
|
|
1436
1433
|
})
|
|
1437
1434
|
.s("AmazonS3", "ListObjectVersions", {})
|
|
@@ -1450,8 +1447,8 @@ class ListPartsCommand extends client.Command
|
|
|
1450
1447
|
.m(function (Command, cs, config, o) {
|
|
1451
1448
|
return [
|
|
1452
1449
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1453
|
-
|
|
1454
|
-
|
|
1450
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1451
|
+
s3.getSsecPlugin(config),
|
|
1455
1452
|
];
|
|
1456
1453
|
})
|
|
1457
1454
|
.s("AmazonS3", "ListParts", {})
|
|
@@ -1631,7 +1628,7 @@ class PutBucketLifecycleConfigurationCommand extends client.Command
|
|
|
1631
1628
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1632
1629
|
requestChecksumRequired: true,
|
|
1633
1630
|
}),
|
|
1634
|
-
|
|
1631
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1635
1632
|
];
|
|
1636
1633
|
})
|
|
1637
1634
|
.s("AmazonS3", "PutBucketLifecycleConfiguration", {})
|
|
@@ -1862,7 +1859,7 @@ class PutObjectAclCommand extends client.Command
|
|
|
1862
1859
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1863
1860
|
requestChecksumRequired: true,
|
|
1864
1861
|
}),
|
|
1865
|
-
|
|
1862
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1866
1863
|
];
|
|
1867
1864
|
})
|
|
1868
1865
|
.s("AmazonS3", "PutObjectAcl", {})
|
|
@@ -1885,9 +1882,9 @@ class PutObjectCommand extends client.Command
|
|
|
1885
1882
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1886
1883
|
requestChecksumRequired: false,
|
|
1887
1884
|
}),
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1885
|
+
s3.getCheckContentLengthHeaderPlugin(config),
|
|
1886
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1887
|
+
s3.getSsecPlugin(config),
|
|
1891
1888
|
];
|
|
1892
1889
|
})
|
|
1893
1890
|
.s("AmazonS3", "PutObject", {})
|
|
@@ -1909,7 +1906,7 @@ class PutObjectLegalHoldCommand extends client.Command
|
|
|
1909
1906
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1910
1907
|
requestChecksumRequired: true,
|
|
1911
1908
|
}),
|
|
1912
|
-
|
|
1909
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1913
1910
|
];
|
|
1914
1911
|
})
|
|
1915
1912
|
.s("AmazonS3", "PutObjectLegalHold", {})
|
|
@@ -1931,7 +1928,7 @@ class PutObjectLockConfigurationCommand extends client.Command
|
|
|
1931
1928
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1932
1929
|
requestChecksumRequired: true,
|
|
1933
1930
|
}),
|
|
1934
|
-
|
|
1931
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1935
1932
|
];
|
|
1936
1933
|
})
|
|
1937
1934
|
.s("AmazonS3", "PutObjectLockConfiguration", {})
|
|
@@ -1953,7 +1950,7 @@ class PutObjectRetentionCommand extends client.Command
|
|
|
1953
1950
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1954
1951
|
requestChecksumRequired: true,
|
|
1955
1952
|
}),
|
|
1956
|
-
|
|
1953
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1957
1954
|
];
|
|
1958
1955
|
})
|
|
1959
1956
|
.s("AmazonS3", "PutObjectRetention", {})
|
|
@@ -1975,7 +1972,7 @@ class PutObjectTaggingCommand extends client.Command
|
|
|
1975
1972
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
1976
1973
|
requestChecksumRequired: true,
|
|
1977
1974
|
}),
|
|
1978
|
-
|
|
1975
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
1979
1976
|
];
|
|
1980
1977
|
})
|
|
1981
1978
|
.s("AmazonS3", "PutObjectTagging", {})
|
|
@@ -2016,7 +2013,7 @@ class RenameObjectCommand extends client.Command
|
|
|
2016
2013
|
.m(function (Command, cs, config, o) {
|
|
2017
2014
|
return [
|
|
2018
2015
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2019
|
-
|
|
2016
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
2020
2017
|
];
|
|
2021
2018
|
})
|
|
2022
2019
|
.s("AmazonS3", "RenameObject", {})
|
|
@@ -2038,7 +2035,7 @@ class RestoreObjectCommand extends client.Command
|
|
|
2038
2035
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
2039
2036
|
requestChecksumRequired: false,
|
|
2040
2037
|
}),
|
|
2041
|
-
|
|
2038
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
2042
2039
|
];
|
|
2043
2040
|
})
|
|
2044
2041
|
.s("AmazonS3", "RestoreObject", {})
|
|
@@ -2056,7 +2053,7 @@ class SelectObjectContentCommand extends client.Command
|
|
|
2056
2053
|
.m(function (Command, cs, config, o) {
|
|
2057
2054
|
return [
|
|
2058
2055
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2059
|
-
|
|
2056
|
+
s3.getSsecPlugin(config),
|
|
2060
2057
|
];
|
|
2061
2058
|
})
|
|
2062
2059
|
.s("AmazonS3", "SelectObjectContent", {
|
|
@@ -2126,7 +2123,7 @@ class UpdateObjectEncryptionCommand extends client.Command
|
|
|
2126
2123
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
2127
2124
|
requestChecksumRequired: true,
|
|
2128
2125
|
}),
|
|
2129
|
-
|
|
2126
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
2130
2127
|
];
|
|
2131
2128
|
})
|
|
2132
2129
|
.s("AmazonS3", "UpdateObjectEncryption", {})
|
|
@@ -2149,8 +2146,8 @@ class UploadPartCommand extends client.Command
|
|
|
2149
2146
|
requestAlgorithmMember: { 'httpHeader': 'x-amz-sdk-checksum-algorithm', 'name': 'ChecksumAlgorithm' },
|
|
2150
2147
|
requestChecksumRequired: false,
|
|
2151
2148
|
}),
|
|
2152
|
-
|
|
2153
|
-
|
|
2149
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
2150
|
+
s3.getSsecPlugin(config),
|
|
2154
2151
|
];
|
|
2155
2152
|
})
|
|
2156
2153
|
.s("AmazonS3", "UploadPart", {})
|
|
@@ -2169,8 +2166,8 @@ class UploadPartCopyCommand extends client.Command
|
|
|
2169
2166
|
.m(function (Command, cs, config, o) {
|
|
2170
2167
|
return [
|
|
2171
2168
|
endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2172
|
-
|
|
2173
|
-
|
|
2169
|
+
s3.getThrow200ExceptionsPlugin(config),
|
|
2170
|
+
s3.getSsecPlugin(config),
|
|
2174
2171
|
];
|
|
2175
2172
|
})
|
|
2176
2173
|
.s("AmazonS3", "UploadPartCopy", {})
|
|
@@ -6,9 +6,8 @@ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
|
6
6
|
const client_1 = require("@aws-sdk/core/client");
|
|
7
7
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
8
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
9
|
-
const middleware_bucket_endpoint_1 = require("@aws-sdk/middleware-bucket-endpoint");
|
|
10
9
|
const middleware_flexible_checksums_1 = require("@aws-sdk/middleware-flexible-checksums");
|
|
11
|
-
const
|
|
10
|
+
const s3_1 = require("@aws-sdk/middleware-sdk-s3/s3");
|
|
12
11
|
const checksum_1 = require("@smithy/core/checksum");
|
|
13
12
|
const client_2 = require("@smithy/core/client");
|
|
14
13
|
const config_1 = require("@smithy/core/config");
|
|
@@ -36,7 +35,7 @@ const getRuntimeConfig = (config) => {
|
|
|
36
35
|
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
37
36
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
38
37
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
39
|
-
disableS3ExpressSessionAuth: config?.disableS3ExpressSessionAuth ?? (0, config_1.loadConfig)(
|
|
38
|
+
disableS3ExpressSessionAuth: config?.disableS3ExpressSessionAuth ?? (0, config_1.loadConfig)(s3_1.NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS, loaderConfig),
|
|
40
39
|
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? event_streams_1.eventStreamSerdeProvider,
|
|
41
40
|
maxAttempts: config?.maxAttempts ?? (0, config_1.loadConfig)(retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
42
41
|
md5: config?.md5 ?? serde_1.Hash.bind(null, "md5"),
|
|
@@ -54,7 +53,7 @@ const getRuntimeConfig = (config) => {
|
|
|
54
53
|
sigv4aSigningRegionSet: config?.sigv4aSigningRegionSet ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_SIGV4A_CONFIG_OPTIONS, loaderConfig),
|
|
55
54
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
56
55
|
streamHasher: config?.streamHasher ?? checksum_1.readableStreamHasher,
|
|
57
|
-
useArnRegion: config?.useArnRegion ?? (0, config_1.loadConfig)(
|
|
56
|
+
useArnRegion: config?.useArnRegion ?? (0, config_1.loadConfig)(s3_1.NODE_USE_ARN_REGION_CONFIG_OPTIONS, loaderConfig),
|
|
58
57
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
59
58
|
useFipsEndpoint: config?.useFipsEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
60
59
|
userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(client_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|