@aws-sdk/client-s3 3.44.0 → 3.47.1

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/CHANGELOG.md CHANGED
@@ -3,6 +3,54 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-s3
9
+
10
+
11
+
12
+
13
+
14
+ # [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
15
+
16
+
17
+ ### Features
18
+
19
+ * **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
31
+
32
+
33
+ ### Features
34
+
35
+ * **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
36
+ * **clients:** update clients as of 2021/01/07 ([#3163](https://github.com/aws/aws-sdk-js-v3/issues/3163)) ([6648b07](https://github.com/aws/aws-sdk-js-v3/commit/6648b07ea97691d2fed55eab49831646543b648b))
37
+ * end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
38
+
39
+
40
+
41
+
42
+
43
+ # [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
44
+
45
+
46
+ ### Features
47
+
48
+ * **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
49
+
50
+
51
+
52
+
53
+
6
54
  # [3.44.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.43.0...v3.44.0) (2021-12-02)
7
55
 
8
56
 
@@ -5,10 +5,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const regionHash = {
6
6
  "af-south-1": {
7
7
  variants: [
8
- {
9
- hostname: "s3.af-south-1.amazonaws.com",
10
- tags: [],
11
- },
12
8
  {
13
9
  hostname: "s3.dualstack.af-south-1.amazonaws.com",
14
10
  tags: ["dualstack"],
@@ -17,10 +13,6 @@ const regionHash = {
17
13
  },
18
14
  "ap-east-1": {
19
15
  variants: [
20
- {
21
- hostname: "s3.ap-east-1.amazonaws.com",
22
- tags: [],
23
- },
24
16
  {
25
17
  hostname: "s3.dualstack.ap-east-1.amazonaws.com",
26
18
  tags: ["dualstack"],
@@ -41,10 +33,6 @@ const regionHash = {
41
33
  },
42
34
  "ap-northeast-2": {
43
35
  variants: [
44
- {
45
- hostname: "s3.ap-northeast-2.amazonaws.com",
46
- tags: [],
47
- },
48
36
  {
49
37
  hostname: "s3.dualstack.ap-northeast-2.amazonaws.com",
50
38
  tags: ["dualstack"],
@@ -53,10 +41,6 @@ const regionHash = {
53
41
  },
54
42
  "ap-northeast-3": {
55
43
  variants: [
56
- {
57
- hostname: "s3.ap-northeast-3.amazonaws.com",
58
- tags: [],
59
- },
60
44
  {
61
45
  hostname: "s3.dualstack.ap-northeast-3.amazonaws.com",
62
46
  tags: ["dualstack"],
@@ -65,10 +49,6 @@ const regionHash = {
65
49
  },
66
50
  "ap-south-1": {
67
51
  variants: [
68
- {
69
- hostname: "s3.ap-south-1.amazonaws.com",
70
- tags: [],
71
- },
72
52
  {
73
53
  hostname: "s3.dualstack.ap-south-1.amazonaws.com",
74
54
  tags: ["dualstack"],
@@ -99,6 +79,14 @@ const regionHash = {
99
79
  },
100
80
  ],
101
81
  },
82
+ "ap-southeast-3": {
83
+ variants: [
84
+ {
85
+ hostname: "s3.dualstack.ap-southeast-3.amazonaws.com",
86
+ tags: ["dualstack"],
87
+ },
88
+ ],
89
+ },
102
90
  "aws-global": {
103
91
  variants: [
104
92
  {
@@ -110,10 +98,6 @@ const regionHash = {
110
98
  },
111
99
  "ca-central-1": {
112
100
  variants: [
113
- {
114
- hostname: "s3.ca-central-1.amazonaws.com",
115
- tags: [],
116
- },
117
101
  {
118
102
  hostname: "s3-fips.ca-central-1.amazonaws.com",
119
103
  tags: ["fips"],
@@ -130,10 +114,6 @@ const regionHash = {
130
114
  },
131
115
  "cn-north-1": {
132
116
  variants: [
133
- {
134
- hostname: "s3.cn-north-1.amazonaws.com.cn",
135
- tags: [],
136
- },
137
117
  {
138
118
  hostname: "s3.dualstack.cn-north-1.amazonaws.com.cn",
139
119
  tags: ["dualstack"],
@@ -142,10 +122,6 @@ const regionHash = {
142
122
  },
143
123
  "cn-northwest-1": {
144
124
  variants: [
145
- {
146
- hostname: "s3.cn-northwest-1.amazonaws.com.cn",
147
- tags: [],
148
- },
149
125
  {
150
126
  hostname: "s3.dualstack.cn-northwest-1.amazonaws.com.cn",
151
127
  tags: ["dualstack"],
@@ -154,10 +130,6 @@ const regionHash = {
154
130
  },
155
131
  "eu-central-1": {
156
132
  variants: [
157
- {
158
- hostname: "s3.eu-central-1.amazonaws.com",
159
- tags: [],
160
- },
161
133
  {
162
134
  hostname: "s3.dualstack.eu-central-1.amazonaws.com",
163
135
  tags: ["dualstack"],
@@ -166,10 +138,6 @@ const regionHash = {
166
138
  },
167
139
  "eu-north-1": {
168
140
  variants: [
169
- {
170
- hostname: "s3.eu-north-1.amazonaws.com",
171
- tags: [],
172
- },
173
141
  {
174
142
  hostname: "s3.dualstack.eu-north-1.amazonaws.com",
175
143
  tags: ["dualstack"],
@@ -178,10 +146,6 @@ const regionHash = {
178
146
  },
179
147
  "eu-south-1": {
180
148
  variants: [
181
- {
182
- hostname: "s3.eu-south-1.amazonaws.com",
183
- tags: [],
184
- },
185
149
  {
186
150
  hostname: "s3.dualstack.eu-south-1.amazonaws.com",
187
151
  tags: ["dualstack"],
@@ -202,10 +166,6 @@ const regionHash = {
202
166
  },
203
167
  "eu-west-2": {
204
168
  variants: [
205
- {
206
- hostname: "s3.eu-west-2.amazonaws.com",
207
- tags: [],
208
- },
209
169
  {
210
170
  hostname: "s3.dualstack.eu-west-2.amazonaws.com",
211
171
  tags: ["dualstack"],
@@ -214,10 +174,6 @@ const regionHash = {
214
174
  },
215
175
  "eu-west-3": {
216
176
  variants: [
217
- {
218
- hostname: "s3.eu-west-3.amazonaws.com",
219
- tags: [],
220
- },
221
177
  {
222
178
  hostname: "s3.dualstack.eu-west-3.amazonaws.com",
223
179
  tags: ["dualstack"],
@@ -226,10 +182,6 @@ const regionHash = {
226
182
  },
227
183
  "me-south-1": {
228
184
  variants: [
229
- {
230
- hostname: "s3.me-south-1.amazonaws.com",
231
- tags: [],
232
- },
233
185
  {
234
186
  hostname: "s3.dualstack.me-south-1.amazonaws.com",
235
187
  tags: ["dualstack"],
@@ -279,10 +231,6 @@ const regionHash = {
279
231
  },
280
232
  "us-east-2": {
281
233
  variants: [
282
- {
283
- hostname: "s3.us-east-2.amazonaws.com",
284
- tags: [],
285
- },
286
234
  {
287
235
  hostname: "s3-fips.dualstack.us-east-2.amazonaws.com",
288
236
  tags: ["dualstack", "fips"],
@@ -381,6 +329,7 @@ const partitionHash = {
381
329
  "ap-south-1",
382
330
  "ap-southeast-1",
383
331
  "ap-southeast-2",
332
+ "ap-southeast-3",
384
333
  "aws-global",
385
334
  "ca-central-1",
386
335
  "eu-central-1",
@@ -1,11 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetBucketAccelerateConfigurationOutput = exports.DeletePublicAccessBlockRequest = exports.DeleteObjectTaggingRequest = exports.DeleteObjectTaggingOutput = exports.DeleteObjectsRequest = exports.Delete = exports.ObjectIdentifier = exports.DeleteObjectsOutput = exports._Error = exports.DeletedObject = exports.DeleteObjectRequest = exports.DeleteObjectOutput = exports.DeleteBucketWebsiteRequest = exports.DeleteBucketTaggingRequest = exports.DeleteBucketReplicationRequest = exports.DeleteBucketPolicyRequest = exports.DeleteBucketOwnershipControlsRequest = exports.DeleteBucketMetricsConfigurationRequest = exports.DeleteBucketLifecycleRequest = exports.DeleteBucketInventoryConfigurationRequest = exports.DeleteBucketIntelligentTieringConfigurationRequest = exports.DeleteBucketEncryptionRequest = exports.DeleteBucketCorsRequest = exports.DeleteBucketAnalyticsConfigurationRequest = exports.DeleteBucketRequest = exports.CreateMultipartUploadRequest = exports.CreateMultipartUploadOutput = exports.CreateBucketRequest = exports.CreateBucketConfiguration = exports.CreateBucketOutput = exports.BucketAlreadyOwnedByYou = exports.BucketAlreadyExists = exports.ObjectNotInActiveTierError = exports.CopyObjectRequest = exports.CopyObjectOutput = exports.CopyObjectResult = exports.CompleteMultipartUploadRequest = exports.CompletedMultipartUpload = exports.CompletedPart = exports.CompleteMultipartUploadOutput = exports.AccessControlTranslation = exports.AccessControlPolicy = exports.Owner = exports.Grant = exports.Grantee = exports.AccelerateConfiguration = exports.NoSuchUpload = exports.AbortMultipartUploadRequest = exports.AbortMultipartUploadOutput = exports.AbortIncompleteMultipartUpload = void 0;
4
- exports.LoggingEnabled = exports.TargetGrant = exports.GetBucketLocationRequest = exports.GetBucketLocationOutput = exports.GetBucketLifecycleConfigurationRequest = exports.GetBucketLifecycleConfigurationOutput = exports.LifecycleRule = exports.Transition = exports.NoncurrentVersionTransition = exports.NoncurrentVersionExpiration = exports.LifecycleRuleFilter = exports.LifecycleRuleAndOperator = exports.LifecycleExpiration = exports.GetBucketInventoryConfigurationRequest = exports.GetBucketInventoryConfigurationOutput = exports.InventoryConfiguration = exports.InventorySchedule = exports.InventoryFilter = exports.InventoryDestination = exports.InventoryS3BucketDestination = exports.InventoryEncryption = exports.SSES3 = exports.SSEKMS = exports.GetBucketIntelligentTieringConfigurationRequest = exports.GetBucketIntelligentTieringConfigurationOutput = exports.IntelligentTieringConfiguration = exports.Tiering = exports.IntelligentTieringFilter = exports.IntelligentTieringAndOperator = exports.GetBucketEncryptionRequest = exports.GetBucketEncryptionOutput = exports.ServerSideEncryptionConfiguration = exports.ServerSideEncryptionRule = exports.ServerSideEncryptionByDefault = exports.GetBucketCorsRequest = exports.GetBucketCorsOutput = exports.CORSRule = exports.GetBucketAnalyticsConfigurationRequest = exports.GetBucketAnalyticsConfigurationOutput = exports.AnalyticsConfiguration = exports.StorageClassAnalysis = exports.StorageClassAnalysisDataExport = exports.AnalyticsExportDestination = exports.AnalyticsS3BucketDestination = exports.AnalyticsFilter = exports.AnalyticsAndOperator = exports.Tag = exports.GetBucketAclRequest = exports.GetBucketAclOutput = exports.GetBucketAccelerateConfigurationRequest = void 0;
5
- exports.RedirectAllRequestsTo = exports.IndexDocument = exports.ErrorDocument = exports.GetBucketVersioningRequest = exports.GetBucketVersioningOutput = exports.GetBucketTaggingRequest = exports.GetBucketTaggingOutput = exports.GetBucketRequestPaymentRequest = exports.GetBucketRequestPaymentOutput = exports.GetBucketReplicationRequest = exports.GetBucketReplicationOutput = exports.ReplicationConfiguration = exports.ReplicationRule = exports.SourceSelectionCriteria = exports.SseKmsEncryptedObjects = exports.ReplicaModifications = exports.ReplicationRuleFilter = exports.ReplicationRuleAndOperator = exports.ExistingObjectReplication = exports.Destination = exports.ReplicationTime = exports.Metrics = exports.ReplicationTimeValue = exports.EncryptionConfiguration = exports.DeleteMarkerReplication = exports.GetBucketPolicyStatusRequest = exports.GetBucketPolicyStatusOutput = exports.PolicyStatus = exports.GetBucketPolicyRequest = exports.GetBucketPolicyOutput = exports.GetBucketOwnershipControlsRequest = exports.GetBucketOwnershipControlsOutput = exports.OwnershipControls = exports.OwnershipControlsRule = exports.NotificationConfiguration = exports.TopicConfiguration = exports.QueueConfiguration = exports.LambdaFunctionConfiguration = exports.NotificationConfigurationFilter = exports.S3KeyFilter = exports.FilterRule = exports.EventBridgeConfiguration = exports.GetBucketNotificationConfigurationRequest = exports.GetBucketMetricsConfigurationRequest = exports.GetBucketMetricsConfigurationOutput = exports.MetricsConfiguration = exports.MetricsFilter = exports.MetricsAndOperator = exports.GetBucketLoggingRequest = exports.GetBucketLoggingOutput = void 0;
6
- exports.ListObjectsOutput = exports._Object = exports.ListMultipartUploadsRequest = exports.ListMultipartUploadsOutput = exports.MultipartUpload = exports.Initiator = exports.CommonPrefix = exports.ListBucketsOutput = exports.Bucket = exports.ListBucketMetricsConfigurationsRequest = exports.ListBucketMetricsConfigurationsOutput = exports.ListBucketInventoryConfigurationsRequest = exports.ListBucketInventoryConfigurationsOutput = exports.ListBucketIntelligentTieringConfigurationsRequest = exports.ListBucketIntelligentTieringConfigurationsOutput = exports.ListBucketAnalyticsConfigurationsRequest = exports.ListBucketAnalyticsConfigurationsOutput = exports.HeadObjectRequest = exports.HeadObjectOutput = exports.NotFound = exports.HeadBucketRequest = exports.GetPublicAccessBlockRequest = exports.GetPublicAccessBlockOutput = exports.PublicAccessBlockConfiguration = exports.GetObjectTorrentRequest = exports.GetObjectTorrentOutput = exports.GetObjectTaggingRequest = exports.GetObjectTaggingOutput = exports.GetObjectRetentionRequest = exports.GetObjectRetentionOutput = exports.ObjectLockRetention = exports.GetObjectLockConfigurationRequest = exports.GetObjectLockConfigurationOutput = exports.ObjectLockConfiguration = exports.ObjectLockRule = exports.DefaultRetention = exports.GetObjectLegalHoldRequest = exports.GetObjectLegalHoldOutput = exports.ObjectLockLegalHold = exports.GetObjectAclRequest = exports.GetObjectAclOutput = exports.NoSuchKey = exports.InvalidObjectState = exports.GetObjectRequest = exports.GetObjectOutput = exports.GetBucketWebsiteRequest = exports.GetBucketWebsiteOutput = exports.RoutingRule = exports.Redirect = exports.Condition = void 0;
7
- exports.ObjectAlreadyInActiveTierError = exports.PutPublicAccessBlockRequest = exports.PutObjectTaggingRequest = exports.PutObjectTaggingOutput = exports.PutObjectRetentionRequest = exports.PutObjectRetentionOutput = exports.PutObjectLockConfigurationRequest = exports.PutObjectLockConfigurationOutput = exports.PutObjectLegalHoldRequest = exports.PutObjectLegalHoldOutput = exports.PutObjectAclRequest = exports.PutObjectAclOutput = exports.PutObjectRequest = exports.PutObjectOutput = exports.PutBucketWebsiteRequest = exports.WebsiteConfiguration = exports.PutBucketVersioningRequest = exports.VersioningConfiguration = exports.PutBucketTaggingRequest = exports.Tagging = exports.PutBucketRequestPaymentRequest = exports.RequestPaymentConfiguration = exports.PutBucketReplicationRequest = exports.PutBucketPolicyRequest = exports.PutBucketOwnershipControlsRequest = exports.PutBucketNotificationConfigurationRequest = exports.PutBucketMetricsConfigurationRequest = exports.PutBucketLoggingRequest = exports.BucketLoggingStatus = exports.PutBucketLifecycleConfigurationRequest = exports.BucketLifecycleConfiguration = exports.PutBucketInventoryConfigurationRequest = exports.PutBucketIntelligentTieringConfigurationRequest = exports.PutBucketEncryptionRequest = exports.PutBucketCorsRequest = exports.CORSConfiguration = exports.PutBucketAnalyticsConfigurationRequest = exports.PutBucketAclRequest = exports.PutBucketAccelerateConfigurationRequest = exports.ListPartsRequest = exports.ListPartsOutput = exports.Part = exports.ListObjectVersionsRequest = exports.ListObjectVersionsOutput = exports.ObjectVersion = exports.DeleteMarkerEntry = exports.ListObjectsV2Request = exports.ListObjectsV2Output = exports.NoSuchBucket = exports.ListObjectsRequest = void 0;
8
- exports.RestoreObjectOutput = void 0;
3
+ exports.Tag = exports.GetBucketAclRequest = exports.GetBucketAclOutput = exports.GetBucketAccelerateConfigurationRequest = exports.GetBucketAccelerateConfigurationOutput = exports.DeletePublicAccessBlockRequest = exports.DeleteObjectTaggingRequest = exports.DeleteObjectTaggingOutput = exports.DeleteObjectsRequest = exports.Delete = exports.ObjectIdentifier = exports.DeleteObjectsOutput = exports._Error = exports.DeletedObject = exports.DeleteObjectRequest = exports.DeleteObjectOutput = exports.DeleteBucketWebsiteRequest = exports.DeleteBucketTaggingRequest = exports.DeleteBucketReplicationRequest = exports.DeleteBucketPolicyRequest = exports.DeleteBucketOwnershipControlsRequest = exports.DeleteBucketMetricsConfigurationRequest = exports.DeleteBucketLifecycleRequest = exports.DeleteBucketInventoryConfigurationRequest = exports.DeleteBucketIntelligentTieringConfigurationRequest = exports.DeleteBucketEncryptionRequest = exports.DeleteBucketCorsRequest = exports.DeleteBucketAnalyticsConfigurationRequest = exports.DeleteBucketRequest = exports.CreateMultipartUploadRequest = exports.CreateMultipartUploadOutput = exports.CreateBucketRequest = exports.CreateBucketConfiguration = exports.CreateBucketOutput = exports.CopyObjectRequest = exports.CopyObjectOutput = exports.CopyObjectResult = exports.CompleteMultipartUploadRequest = exports.CompletedMultipartUpload = exports.CompletedPart = exports.CompleteMultipartUploadOutput = exports.AccessControlTranslation = exports.AccessControlPolicy = exports.Owner = exports.Grant = exports.Grantee = exports.AccelerateConfiguration = exports.AbortMultipartUploadRequest = exports.AbortMultipartUploadOutput = exports.AbortIncompleteMultipartUpload = void 0;
4
+ exports.MetricsFilter = exports.MetricsAndOperator = exports.GetBucketLoggingRequest = exports.GetBucketLoggingOutput = exports.LoggingEnabled = exports.TargetGrant = exports.GetBucketLocationRequest = exports.GetBucketLocationOutput = exports.GetBucketLifecycleConfigurationRequest = exports.GetBucketLifecycleConfigurationOutput = exports.LifecycleRule = exports.Transition = exports.NoncurrentVersionTransition = exports.NoncurrentVersionExpiration = exports.LifecycleRuleFilter = exports.LifecycleRuleAndOperator = exports.LifecycleExpiration = exports.GetBucketInventoryConfigurationRequest = exports.GetBucketInventoryConfigurationOutput = exports.InventoryConfiguration = exports.InventorySchedule = exports.InventoryFilter = exports.InventoryDestination = exports.InventoryS3BucketDestination = exports.InventoryEncryption = exports.SSES3 = exports.SSEKMS = exports.GetBucketIntelligentTieringConfigurationRequest = exports.GetBucketIntelligentTieringConfigurationOutput = exports.IntelligentTieringConfiguration = exports.Tiering = exports.IntelligentTieringFilter = exports.IntelligentTieringAndOperator = exports.GetBucketEncryptionRequest = exports.GetBucketEncryptionOutput = exports.ServerSideEncryptionConfiguration = exports.ServerSideEncryptionRule = exports.ServerSideEncryptionByDefault = exports.GetBucketCorsRequest = exports.GetBucketCorsOutput = exports.CORSRule = exports.GetBucketAnalyticsConfigurationRequest = exports.GetBucketAnalyticsConfigurationOutput = exports.AnalyticsConfiguration = exports.StorageClassAnalysis = exports.StorageClassAnalysisDataExport = exports.AnalyticsExportDestination = exports.AnalyticsS3BucketDestination = exports.AnalyticsFilter = exports.AnalyticsAndOperator = void 0;
5
+ exports.GetBucketWebsiteOutput = exports.RoutingRule = exports.Redirect = exports.Condition = exports.RedirectAllRequestsTo = exports.IndexDocument = exports.ErrorDocument = exports.GetBucketVersioningRequest = exports.GetBucketVersioningOutput = exports.GetBucketTaggingRequest = exports.GetBucketTaggingOutput = exports.GetBucketRequestPaymentRequest = exports.GetBucketRequestPaymentOutput = exports.GetBucketReplicationRequest = exports.GetBucketReplicationOutput = exports.ReplicationConfiguration = exports.ReplicationRule = exports.SourceSelectionCriteria = exports.SseKmsEncryptedObjects = exports.ReplicaModifications = exports.ReplicationRuleFilter = exports.ReplicationRuleAndOperator = exports.ExistingObjectReplication = exports.Destination = exports.ReplicationTime = exports.Metrics = exports.ReplicationTimeValue = exports.EncryptionConfiguration = exports.DeleteMarkerReplication = exports.GetBucketPolicyStatusRequest = exports.GetBucketPolicyStatusOutput = exports.PolicyStatus = exports.GetBucketPolicyRequest = exports.GetBucketPolicyOutput = exports.GetBucketOwnershipControlsRequest = exports.GetBucketOwnershipControlsOutput = exports.OwnershipControls = exports.OwnershipControlsRule = exports.NotificationConfiguration = exports.TopicConfiguration = exports.QueueConfiguration = exports.LambdaFunctionConfiguration = exports.NotificationConfigurationFilter = exports.S3KeyFilter = exports.FilterRule = exports.EventBridgeConfiguration = exports.GetBucketNotificationConfigurationRequest = exports.GetBucketMetricsConfigurationRequest = exports.GetBucketMetricsConfigurationOutput = exports.MetricsConfiguration = void 0;
6
+ exports.ListObjectVersionsRequest = exports.ListObjectVersionsOutput = exports.ObjectVersion = exports.DeleteMarkerEntry = exports.ListObjectsV2Request = exports.ListObjectsV2Output = exports.ListObjectsRequest = exports.ListObjectsOutput = exports._Object = exports.ListMultipartUploadsRequest = exports.ListMultipartUploadsOutput = exports.MultipartUpload = exports.Initiator = exports.CommonPrefix = exports.ListBucketsOutput = exports.Bucket = exports.ListBucketMetricsConfigurationsRequest = exports.ListBucketMetricsConfigurationsOutput = exports.ListBucketInventoryConfigurationsRequest = exports.ListBucketInventoryConfigurationsOutput = exports.ListBucketIntelligentTieringConfigurationsRequest = exports.ListBucketIntelligentTieringConfigurationsOutput = exports.ListBucketAnalyticsConfigurationsRequest = exports.ListBucketAnalyticsConfigurationsOutput = exports.HeadObjectRequest = exports.HeadObjectOutput = exports.HeadBucketRequest = exports.GetPublicAccessBlockRequest = exports.GetPublicAccessBlockOutput = exports.PublicAccessBlockConfiguration = exports.GetObjectTorrentRequest = exports.GetObjectTorrentOutput = exports.GetObjectTaggingRequest = exports.GetObjectTaggingOutput = exports.GetObjectRetentionRequest = exports.GetObjectRetentionOutput = exports.ObjectLockRetention = exports.GetObjectLockConfigurationRequest = exports.GetObjectLockConfigurationOutput = exports.ObjectLockConfiguration = exports.ObjectLockRule = exports.DefaultRetention = exports.GetObjectLegalHoldRequest = exports.GetObjectLegalHoldOutput = exports.ObjectLockLegalHold = exports.GetObjectAclRequest = exports.GetObjectAclOutput = exports.GetObjectRequest = exports.GetObjectOutput = exports.GetBucketWebsiteRequest = void 0;
7
+ exports.RestoreObjectOutput = exports.PutPublicAccessBlockRequest = exports.PutObjectTaggingRequest = exports.PutObjectTaggingOutput = exports.PutObjectRetentionRequest = exports.PutObjectRetentionOutput = exports.PutObjectLockConfigurationRequest = exports.PutObjectLockConfigurationOutput = exports.PutObjectLegalHoldRequest = exports.PutObjectLegalHoldOutput = exports.PutObjectAclRequest = exports.PutObjectAclOutput = exports.PutObjectRequest = exports.PutObjectOutput = exports.PutBucketWebsiteRequest = exports.WebsiteConfiguration = exports.PutBucketVersioningRequest = exports.VersioningConfiguration = exports.PutBucketTaggingRequest = exports.Tagging = exports.PutBucketRequestPaymentRequest = exports.RequestPaymentConfiguration = exports.PutBucketReplicationRequest = exports.PutBucketPolicyRequest = exports.PutBucketOwnershipControlsRequest = exports.PutBucketNotificationConfigurationRequest = exports.PutBucketMetricsConfigurationRequest = exports.PutBucketLoggingRequest = exports.BucketLoggingStatus = exports.PutBucketLifecycleConfigurationRequest = exports.BucketLifecycleConfiguration = exports.PutBucketInventoryConfigurationRequest = exports.PutBucketIntelligentTieringConfigurationRequest = exports.PutBucketEncryptionRequest = exports.PutBucketCorsRequest = exports.CORSConfiguration = exports.PutBucketAnalyticsConfigurationRequest = exports.PutBucketAclRequest = exports.PutBucketAccelerateConfigurationRequest = exports.ListPartsRequest = exports.ListPartsOutput = exports.Part = void 0;
9
8
  const smithy_client_1 = require("@aws-sdk/smithy-client");
10
9
  var AbortIncompleteMultipartUpload;
11
10
  (function (AbortIncompleteMultipartUpload) {
@@ -25,12 +24,6 @@ var AbortMultipartUploadRequest;
25
24
  ...obj,
26
25
  });
27
26
  })(AbortMultipartUploadRequest = exports.AbortMultipartUploadRequest || (exports.AbortMultipartUploadRequest = {}));
28
- var NoSuchUpload;
29
- (function (NoSuchUpload) {
30
- NoSuchUpload.filterSensitiveLog = (obj) => ({
31
- ...obj,
32
- });
33
- })(NoSuchUpload = exports.NoSuchUpload || (exports.NoSuchUpload = {}));
34
27
  var AccelerateConfiguration;
35
28
  (function (AccelerateConfiguration) {
36
29
  AccelerateConfiguration.filterSensitiveLog = (obj) => ({
@@ -116,24 +109,6 @@ var CopyObjectRequest;
116
109
  ...(obj.CopySourceSSECustomerKey && { CopySourceSSECustomerKey: smithy_client_1.SENSITIVE_STRING }),
117
110
  });
118
111
  })(CopyObjectRequest = exports.CopyObjectRequest || (exports.CopyObjectRequest = {}));
119
- var ObjectNotInActiveTierError;
120
- (function (ObjectNotInActiveTierError) {
121
- ObjectNotInActiveTierError.filterSensitiveLog = (obj) => ({
122
- ...obj,
123
- });
124
- })(ObjectNotInActiveTierError = exports.ObjectNotInActiveTierError || (exports.ObjectNotInActiveTierError = {}));
125
- var BucketAlreadyExists;
126
- (function (BucketAlreadyExists) {
127
- BucketAlreadyExists.filterSensitiveLog = (obj) => ({
128
- ...obj,
129
- });
130
- })(BucketAlreadyExists = exports.BucketAlreadyExists || (exports.BucketAlreadyExists = {}));
131
- var BucketAlreadyOwnedByYou;
132
- (function (BucketAlreadyOwnedByYou) {
133
- BucketAlreadyOwnedByYou.filterSensitiveLog = (obj) => ({
134
- ...obj,
135
- });
136
- })(BucketAlreadyOwnedByYou = exports.BucketAlreadyOwnedByYou || (exports.BucketAlreadyOwnedByYou = {}));
137
112
  var CreateBucketOutput;
138
113
  (function (CreateBucketOutput) {
139
114
  CreateBucketOutput.filterSensitiveLog = (obj) => ({
@@ -1072,18 +1047,6 @@ var GetObjectRequest;
1072
1047
  ...(obj.SSECustomerKey && { SSECustomerKey: smithy_client_1.SENSITIVE_STRING }),
1073
1048
  });
1074
1049
  })(GetObjectRequest = exports.GetObjectRequest || (exports.GetObjectRequest = {}));
1075
- var InvalidObjectState;
1076
- (function (InvalidObjectState) {
1077
- InvalidObjectState.filterSensitiveLog = (obj) => ({
1078
- ...obj,
1079
- });
1080
- })(InvalidObjectState = exports.InvalidObjectState || (exports.InvalidObjectState = {}));
1081
- var NoSuchKey;
1082
- (function (NoSuchKey) {
1083
- NoSuchKey.filterSensitiveLog = (obj) => ({
1084
- ...obj,
1085
- });
1086
- })(NoSuchKey = exports.NoSuchKey || (exports.NoSuchKey = {}));
1087
1050
  var GetObjectAclOutput;
1088
1051
  (function (GetObjectAclOutput) {
1089
1052
  GetObjectAclOutput.filterSensitiveLog = (obj) => ({
@@ -1210,12 +1173,6 @@ var HeadBucketRequest;
1210
1173
  ...obj,
1211
1174
  });
1212
1175
  })(HeadBucketRequest = exports.HeadBucketRequest || (exports.HeadBucketRequest = {}));
1213
- var NotFound;
1214
- (function (NotFound) {
1215
- NotFound.filterSensitiveLog = (obj) => ({
1216
- ...obj,
1217
- });
1218
- })(NotFound = exports.NotFound || (exports.NotFound = {}));
1219
1176
  var HeadObjectOutput;
1220
1177
  (function (HeadObjectOutput) {
1221
1178
  HeadObjectOutput.filterSensitiveLog = (obj) => ({
@@ -1347,12 +1304,6 @@ var ListObjectsRequest;
1347
1304
  ...obj,
1348
1305
  });
1349
1306
  })(ListObjectsRequest = exports.ListObjectsRequest || (exports.ListObjectsRequest = {}));
1350
- var NoSuchBucket;
1351
- (function (NoSuchBucket) {
1352
- NoSuchBucket.filterSensitiveLog = (obj) => ({
1353
- ...obj,
1354
- });
1355
- })(NoSuchBucket = exports.NoSuchBucket || (exports.NoSuchBucket = {}));
1356
1307
  var ListObjectsV2Output;
1357
1308
  (function (ListObjectsV2Output) {
1358
1309
  ListObjectsV2Output.filterSensitiveLog = (obj) => ({
@@ -1659,12 +1610,6 @@ var PutPublicAccessBlockRequest;
1659
1610
  ...obj,
1660
1611
  });
1661
1612
  })(PutPublicAccessBlockRequest = exports.PutPublicAccessBlockRequest || (exports.PutPublicAccessBlockRequest = {}));
1662
- var ObjectAlreadyInActiveTierError;
1663
- (function (ObjectAlreadyInActiveTierError) {
1664
- ObjectAlreadyInActiveTierError.filterSensitiveLog = (obj) => ({
1665
- ...obj,
1666
- });
1667
- })(ObjectAlreadyInActiveTierError = exports.ObjectAlreadyInActiveTierError || (exports.ObjectAlreadyInActiveTierError = {}));
1668
1613
  var RestoreObjectOutput;
1669
1614
  (function (RestoreObjectOutput) {
1670
1615
  RestoreObjectOutput.filterSensitiveLog = (obj) => ({
@@ -16,13 +16,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
16
16
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
17
17
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
18
18
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
19
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
20
+ const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
19
21
  const getRuntimeConfig = (config) => {
20
22
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
23
+ const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
24
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
21
25
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
22
26
  return {
23
27
  ...clientSharedValues,
24
28
  ...config,
25
29
  runtime: "browser",
30
+ defaultsMode,
26
31
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
27
32
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
28
33
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
@@ -32,8 +37,8 @@ const getRuntimeConfig = (config) => {
32
37
  maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
33
38
  md5: (_h = config === null || config === void 0 ? void 0 : config.md5) !== null && _h !== void 0 ? _h : md5_js_1.Md5,
34
39
  region: (_j = config === null || config === void 0 ? void 0 : config.region) !== null && _j !== void 0 ? _j : invalid_dependency_1.invalidProvider("Region is missing"),
35
- requestHandler: (_k = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _k !== void 0 ? _k : new fetch_http_handler_1.FetchHttpHandler(),
36
- retryMode: (_l = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _l !== void 0 ? _l : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
40
+ requestHandler: (_k = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _k !== void 0 ? _k : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
41
+ retryMode: (_l = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _l !== void 0 ? _l : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
37
42
  sha256: (_m = config === null || config === void 0 ? void 0 : config.sha256) !== null && _m !== void 0 ? _m : sha256_browser_1.Sha256,
38
43
  streamCollector: (_o = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _o !== void 0 ? _o : fetch_http_handler_1.streamCollector,
39
44
  streamHasher: (_p = config === null || config === void 0 ? void 0 : config.streamHasher) !== null && _p !== void 0 ? _p : hash_blob_browser_1.blobHasher,
@@ -19,14 +19,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
19
19
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
20
20
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
21
21
  const smithy_client_1 = require("@aws-sdk/smithy-client");
22
+ const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
22
23
  const getRuntimeConfig = (config) => {
23
24
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
24
- smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
25
+ const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
26
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
25
27
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
26
28
  return {
27
29
  ...clientSharedValues,
28
30
  ...config,
29
31
  runtime: "node",
32
+ defaultsMode,
30
33
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
31
34
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
32
35
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
@@ -36,8 +39,11 @@ const getRuntimeConfig = (config) => {
36
39
  maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
37
40
  md5: (_h = config === null || config === void 0 ? void 0 : config.md5) !== null && _h !== void 0 ? _h : hash_node_1.Hash.bind(null, "md5"),
38
41
  region: (_j = config === null || config === void 0 ? void 0 : config.region) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
39
- requestHandler: (_k = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _k !== void 0 ? _k : new node_http_handler_1.NodeHttpHandler(),
40
- retryMode: (_l = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _l !== void 0 ? _l : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
42
+ requestHandler: (_k = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _k !== void 0 ? _k : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
43
+ retryMode: (_l = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _l !== void 0 ? _l : node_config_provider_1.loadConfig({
44
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
45
+ default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
46
+ }),
41
47
  sha256: (_m = config === null || config === void 0 ? void 0 : config.sha256) !== null && _m !== void 0 ? _m : hash_node_1.Hash.bind(null, "sha256"),
42
48
  streamCollector: (_o = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _o !== void 0 ? _o : node_http_handler_1.streamCollector,
43
49
  streamHasher: (_p = config === null || config === void 0 ? void 0 : config.streamHasher) !== null && _p !== void 0 ? _p : hash_stream_node_1.fileStreamHasher,
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
3
3
  var regionHash = {
4
4
  "af-south-1": {
5
5
  variants: [
6
- {
7
- hostname: "s3.af-south-1.amazonaws.com",
8
- tags: [],
9
- },
10
6
  {
11
7
  hostname: "s3.dualstack.af-south-1.amazonaws.com",
12
8
  tags: ["dualstack"],
@@ -15,10 +11,6 @@ var regionHash = {
15
11
  },
16
12
  "ap-east-1": {
17
13
  variants: [
18
- {
19
- hostname: "s3.ap-east-1.amazonaws.com",
20
- tags: [],
21
- },
22
14
  {
23
15
  hostname: "s3.dualstack.ap-east-1.amazonaws.com",
24
16
  tags: ["dualstack"],
@@ -39,10 +31,6 @@ var regionHash = {
39
31
  },
40
32
  "ap-northeast-2": {
41
33
  variants: [
42
- {
43
- hostname: "s3.ap-northeast-2.amazonaws.com",
44
- tags: [],
45
- },
46
34
  {
47
35
  hostname: "s3.dualstack.ap-northeast-2.amazonaws.com",
48
36
  tags: ["dualstack"],
@@ -51,10 +39,6 @@ var regionHash = {
51
39
  },
52
40
  "ap-northeast-3": {
53
41
  variants: [
54
- {
55
- hostname: "s3.ap-northeast-3.amazonaws.com",
56
- tags: [],
57
- },
58
42
  {
59
43
  hostname: "s3.dualstack.ap-northeast-3.amazonaws.com",
60
44
  tags: ["dualstack"],
@@ -63,10 +47,6 @@ var regionHash = {
63
47
  },
64
48
  "ap-south-1": {
65
49
  variants: [
66
- {
67
- hostname: "s3.ap-south-1.amazonaws.com",
68
- tags: [],
69
- },
70
50
  {
71
51
  hostname: "s3.dualstack.ap-south-1.amazonaws.com",
72
52
  tags: ["dualstack"],
@@ -97,6 +77,14 @@ var regionHash = {
97
77
  },
98
78
  ],
99
79
  },
80
+ "ap-southeast-3": {
81
+ variants: [
82
+ {
83
+ hostname: "s3.dualstack.ap-southeast-3.amazonaws.com",
84
+ tags: ["dualstack"],
85
+ },
86
+ ],
87
+ },
100
88
  "aws-global": {
101
89
  variants: [
102
90
  {
@@ -108,10 +96,6 @@ var regionHash = {
108
96
  },
109
97
  "ca-central-1": {
110
98
  variants: [
111
- {
112
- hostname: "s3.ca-central-1.amazonaws.com",
113
- tags: [],
114
- },
115
99
  {
116
100
  hostname: "s3-fips.ca-central-1.amazonaws.com",
117
101
  tags: ["fips"],
@@ -128,10 +112,6 @@ var regionHash = {
128
112
  },
129
113
  "cn-north-1": {
130
114
  variants: [
131
- {
132
- hostname: "s3.cn-north-1.amazonaws.com.cn",
133
- tags: [],
134
- },
135
115
  {
136
116
  hostname: "s3.dualstack.cn-north-1.amazonaws.com.cn",
137
117
  tags: ["dualstack"],
@@ -140,10 +120,6 @@ var regionHash = {
140
120
  },
141
121
  "cn-northwest-1": {
142
122
  variants: [
143
- {
144
- hostname: "s3.cn-northwest-1.amazonaws.com.cn",
145
- tags: [],
146
- },
147
123
  {
148
124
  hostname: "s3.dualstack.cn-northwest-1.amazonaws.com.cn",
149
125
  tags: ["dualstack"],
@@ -152,10 +128,6 @@ var regionHash = {
152
128
  },
153
129
  "eu-central-1": {
154
130
  variants: [
155
- {
156
- hostname: "s3.eu-central-1.amazonaws.com",
157
- tags: [],
158
- },
159
131
  {
160
132
  hostname: "s3.dualstack.eu-central-1.amazonaws.com",
161
133
  tags: ["dualstack"],
@@ -164,10 +136,6 @@ var regionHash = {
164
136
  },
165
137
  "eu-north-1": {
166
138
  variants: [
167
- {
168
- hostname: "s3.eu-north-1.amazonaws.com",
169
- tags: [],
170
- },
171
139
  {
172
140
  hostname: "s3.dualstack.eu-north-1.amazonaws.com",
173
141
  tags: ["dualstack"],
@@ -176,10 +144,6 @@ var regionHash = {
176
144
  },
177
145
  "eu-south-1": {
178
146
  variants: [
179
- {
180
- hostname: "s3.eu-south-1.amazonaws.com",
181
- tags: [],
182
- },
183
147
  {
184
148
  hostname: "s3.dualstack.eu-south-1.amazonaws.com",
185
149
  tags: ["dualstack"],
@@ -200,10 +164,6 @@ var regionHash = {
200
164
  },
201
165
  "eu-west-2": {
202
166
  variants: [
203
- {
204
- hostname: "s3.eu-west-2.amazonaws.com",
205
- tags: [],
206
- },
207
167
  {
208
168
  hostname: "s3.dualstack.eu-west-2.amazonaws.com",
209
169
  tags: ["dualstack"],
@@ -212,10 +172,6 @@ var regionHash = {
212
172
  },
213
173
  "eu-west-3": {
214
174
  variants: [
215
- {
216
- hostname: "s3.eu-west-3.amazonaws.com",
217
- tags: [],
218
- },
219
175
  {
220
176
  hostname: "s3.dualstack.eu-west-3.amazonaws.com",
221
177
  tags: ["dualstack"],
@@ -224,10 +180,6 @@ var regionHash = {
224
180
  },
225
181
  "me-south-1": {
226
182
  variants: [
227
- {
228
- hostname: "s3.me-south-1.amazonaws.com",
229
- tags: [],
230
- },
231
183
  {
232
184
  hostname: "s3.dualstack.me-south-1.amazonaws.com",
233
185
  tags: ["dualstack"],
@@ -277,10 +229,6 @@ var regionHash = {
277
229
  },
278
230
  "us-east-2": {
279
231
  variants: [
280
- {
281
- hostname: "s3.us-east-2.amazonaws.com",
282
- tags: [],
283
- },
284
232
  {
285
233
  hostname: "s3-fips.dualstack.us-east-2.amazonaws.com",
286
234
  tags: ["dualstack", "fips"],
@@ -379,6 +327,7 @@ var partitionHash = {
379
327
  "ap-south-1",
380
328
  "ap-southeast-1",
381
329
  "ap-southeast-2",
330
+ "ap-southeast-3",
382
331
  "aws-global",
383
332
  "ca-central-1",
384
333
  "eu-central-1",