@aws-sdk/client-s3 3.1059.0 → 3.1061.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.
Files changed (82) hide show
  1. package/dist-cjs/index.js +85 -88
  2. package/dist-cjs/runtimeConfig.js +4 -4
  3. package/dist-cjs/runtimeConfig.shared.js +2 -2
  4. package/dist-es/S3Client.js +2 -2
  5. package/dist-es/commands/AbortMultipartUploadCommand.js +1 -1
  6. package/dist-es/commands/CompleteMultipartUploadCommand.js +2 -2
  7. package/dist-es/commands/CopyObjectCommand.js +2 -2
  8. package/dist-es/commands/CreateBucketCommand.js +2 -2
  9. package/dist-es/commands/CreateMultipartUploadCommand.js +2 -2
  10. package/dist-es/commands/CreateSessionCommand.js +1 -1
  11. package/dist-es/commands/DeleteObjectCommand.js +1 -1
  12. package/dist-es/commands/DeleteObjectTaggingCommand.js +1 -1
  13. package/dist-es/commands/DeleteObjectsCommand.js +1 -1
  14. package/dist-es/commands/GetBucketAbacCommand.js +1 -1
  15. package/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +1 -1
  16. package/dist-es/commands/GetBucketAclCommand.js +1 -1
  17. package/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +1 -1
  18. package/dist-es/commands/GetBucketCorsCommand.js +1 -1
  19. package/dist-es/commands/GetBucketEncryptionCommand.js +1 -1
  20. package/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +1 -1
  21. package/dist-es/commands/GetBucketInventoryConfigurationCommand.js +1 -1
  22. package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +1 -1
  23. package/dist-es/commands/GetBucketLocationCommand.js +1 -1
  24. package/dist-es/commands/GetBucketLoggingCommand.js +1 -1
  25. package/dist-es/commands/GetBucketMetadataConfigurationCommand.js +1 -1
  26. package/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js +1 -1
  27. package/dist-es/commands/GetBucketMetricsConfigurationCommand.js +1 -1
  28. package/dist-es/commands/GetBucketNotificationConfigurationCommand.js +1 -1
  29. package/dist-es/commands/GetBucketOwnershipControlsCommand.js +1 -1
  30. package/dist-es/commands/GetBucketPolicyStatusCommand.js +1 -1
  31. package/dist-es/commands/GetBucketReplicationCommand.js +1 -1
  32. package/dist-es/commands/GetBucketRequestPaymentCommand.js +1 -1
  33. package/dist-es/commands/GetBucketTaggingCommand.js +1 -1
  34. package/dist-es/commands/GetBucketVersioningCommand.js +1 -1
  35. package/dist-es/commands/GetBucketWebsiteCommand.js +1 -1
  36. package/dist-es/commands/GetObjectAclCommand.js +1 -1
  37. package/dist-es/commands/GetObjectAttributesCommand.js +2 -2
  38. package/dist-es/commands/GetObjectCommand.js +2 -2
  39. package/dist-es/commands/GetObjectLegalHoldCommand.js +1 -1
  40. package/dist-es/commands/GetObjectLockConfigurationCommand.js +1 -1
  41. package/dist-es/commands/GetObjectRetentionCommand.js +1 -1
  42. package/dist-es/commands/GetObjectTaggingCommand.js +1 -1
  43. package/dist-es/commands/GetPublicAccessBlockCommand.js +1 -1
  44. package/dist-es/commands/HeadBucketCommand.js +1 -1
  45. package/dist-es/commands/HeadObjectCommand.js +2 -2
  46. package/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +1 -1
  47. package/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +1 -1
  48. package/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +1 -1
  49. package/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +1 -1
  50. package/dist-es/commands/ListBucketsCommand.js +1 -1
  51. package/dist-es/commands/ListDirectoryBucketsCommand.js +1 -1
  52. package/dist-es/commands/ListMultipartUploadsCommand.js +1 -1
  53. package/dist-es/commands/ListObjectVersionsCommand.js +1 -1
  54. package/dist-es/commands/ListObjectsCommand.js +1 -1
  55. package/dist-es/commands/ListObjectsV2Command.js +1 -1
  56. package/dist-es/commands/ListPartsCommand.js +2 -2
  57. package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +1 -1
  58. package/dist-es/commands/PutObjectAclCommand.js +1 -1
  59. package/dist-es/commands/PutObjectCommand.js +2 -2
  60. package/dist-es/commands/PutObjectLegalHoldCommand.js +1 -1
  61. package/dist-es/commands/PutObjectLockConfigurationCommand.js +1 -1
  62. package/dist-es/commands/PutObjectRetentionCommand.js +1 -1
  63. package/dist-es/commands/PutObjectTaggingCommand.js +1 -1
  64. package/dist-es/commands/RenameObjectCommand.js +1 -1
  65. package/dist-es/commands/RestoreObjectCommand.js +1 -1
  66. package/dist-es/commands/SelectObjectContentCommand.js +1 -1
  67. package/dist-es/commands/UpdateObjectEncryptionCommand.js +1 -1
  68. package/dist-es/commands/UploadPartCommand.js +2 -2
  69. package/dist-es/commands/UploadPartCopyCommand.js +2 -2
  70. package/dist-es/runtimeConfig.js +2 -2
  71. package/dist-es/runtimeConfig.shared.js +1 -1
  72. package/dist-types/S3Client.d.ts +1 -1
  73. package/dist-types/runtimeConfig.browser.d.ts +4 -4
  74. package/dist-types/runtimeConfig.d.ts +2 -2
  75. package/dist-types/runtimeConfig.native.d.ts +4 -4
  76. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  77. package/dist-types/ts3.4/S3Client.d.ts +1 -1
  78. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +6 -6
  79. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  80. package/dist-types/ts3.4/runtimeConfig.native.d.ts +6 -6
  81. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
  82. package/package.json +10 -10
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');
4
+ var s3 = require('@aws-sdk/middleware-sdk-s3/s3');
5
5
  var middlewareFlexibleChecksums = require('@aws-sdk/middleware-flexible-checksums');
6
- var middlewareSdkS3 = require('@aws-sdk/middleware-sdk-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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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 = middlewareSdkS3.resolveS3Config(_config_9, { session: [() => this, CreateSessionCommand] });
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(middlewareSdkS3.getValidateBucketNamePlugin(this.config));
146
- this.middlewareStack.use(middlewareExpectContinue.getAddExpectContinuePlugin(this.config));
147
- this.middlewareStack.use(middlewareSdkS3.getRegionRedirectMiddlewarePlugin(this.config));
148
- this.middlewareStack.use(middlewareSdkS3.getS3ExpressPlugin(this.config));
149
- this.middlewareStack.use(middlewareSdkS3.getS3ExpressHttpSigningPlugin(this.config));
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
186
- middlewareSsec.getSsecPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
208
- middlewareSsec.getSsecPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
229
- middlewareLocationConstraint.getLocationConstraintPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
293
- middlewareSsec.getSsecPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
1079
- middlewareSsec.getSsecPlugin(config),
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
- middlewareSsec.getSsecPlugin(config),
1104
- middlewareSdkS3.getS3ExpiresMiddlewarePlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
1248
- middlewareSsec.getSsecPlugin(config),
1249
- middlewareSdkS3.getS3ExpiresMiddlewarePlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
1454
- middlewareSsec.getSsecPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getCheckContentLengthHeaderPlugin(config),
1889
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
1890
- middlewareSsec.getSsecPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSsec.getSsecPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
2153
- middlewareSsec.getSsecPlugin(config),
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
- middlewareSdkS3.getThrow200ExceptionsPlugin(config),
2173
- middlewareSsec.getSsecPlugin(config),
2169
+ s3.getThrow200ExceptionsPlugin(config),
2170
+ s3.getSsecPlugin(config),
2174
2171
  ];
2175
2172
  })
2176
2173
  .s("AmazonS3", "UploadPartCopy", {})
@@ -6,9 +6,9 @@ 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");
9
+ const s3_1 = require("@aws-sdk/middleware-sdk-s3/s3");
10
10
  const middleware_flexible_checksums_1 = require("@aws-sdk/middleware-flexible-checksums");
11
- const middleware_sdk_s3_1 = require("@aws-sdk/middleware-sdk-s3");
11
+ const s3_2 = require("@aws-sdk/middleware-sdk-s3/s3");
12
12
  const checksum_1 = require("@smithy/core/checksum");
13
13
  const client_2 = require("@smithy/core/client");
14
14
  const config_1 = require("@smithy/core/config");
@@ -36,7 +36,7 @@ const getRuntimeConfig = (config) => {
36
36
  bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
37
37
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
38
38
  defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
39
- disableS3ExpressSessionAuth: config?.disableS3ExpressSessionAuth ?? (0, config_1.loadConfig)(middleware_sdk_s3_1.NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS, loaderConfig),
39
+ disableS3ExpressSessionAuth: config?.disableS3ExpressSessionAuth ?? (0, config_1.loadConfig)(s3_2.NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS, loaderConfig),
40
40
  eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? event_streams_1.eventStreamSerdeProvider,
41
41
  maxAttempts: config?.maxAttempts ?? (0, config_1.loadConfig)(retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
42
42
  md5: config?.md5 ?? serde_1.Hash.bind(null, "md5"),
@@ -54,7 +54,7 @@ const getRuntimeConfig = (config) => {
54
54
  sigv4aSigningRegionSet: config?.sigv4aSigningRegionSet ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_SIGV4A_CONFIG_OPTIONS, loaderConfig),
55
55
  streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
56
56
  streamHasher: config?.streamHasher ?? checksum_1.readableStreamHasher,
57
- useArnRegion: config?.useArnRegion ?? (0, config_1.loadConfig)(middleware_bucket_endpoint_1.NODE_USE_ARN_REGION_CONFIG_OPTIONS, loaderConfig),
57
+ useArnRegion: config?.useArnRegion ?? (0, config_1.loadConfig)(s3_1.NODE_USE_ARN_REGION_CONFIG_OPTIONS, loaderConfig),
58
58
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
59
59
  useFipsEndpoint: config?.useFipsEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
60
60
  userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(client_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),