@aws-sdk/client-s3 3.46.0 → 3.48.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/CHANGELOG.md +35 -0
- package/dist-cjs/endpoints.js +0 -64
- package/dist-cjs/models/models_0.js +5 -60
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +10 -2
- package/dist-es/endpoints.js +0 -64
- package/dist-es/models/models_0.js +0 -36
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -4
- package/dist-types/S3Client.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -54
- package/dist-types/runtimeConfig.browser.d.ts +4 -3
- package/dist-types/runtimeConfig.d.ts +5 -4
- package/dist-types/runtimeConfig.native.d.ts +2 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/S3Client.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -36
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +5 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/package.json +49 -49
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,41 @@
|
|
|
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.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-s3
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [3.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-s3
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-s3
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
|
|
35
|
+
* **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))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
6
41
|
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
7
42
|
|
|
8
43
|
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -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"],
|
|
@@ -101,10 +81,6 @@ const regionHash = {
|
|
|
101
81
|
},
|
|
102
82
|
"ap-southeast-3": {
|
|
103
83
|
variants: [
|
|
104
|
-
{
|
|
105
|
-
hostname: "s3.ap-southeast-3.amazonaws.com",
|
|
106
|
-
tags: [],
|
|
107
|
-
},
|
|
108
84
|
{
|
|
109
85
|
hostname: "s3.dualstack.ap-southeast-3.amazonaws.com",
|
|
110
86
|
tags: ["dualstack"],
|
|
@@ -122,10 +98,6 @@ const regionHash = {
|
|
|
122
98
|
},
|
|
123
99
|
"ca-central-1": {
|
|
124
100
|
variants: [
|
|
125
|
-
{
|
|
126
|
-
hostname: "s3.ca-central-1.amazonaws.com",
|
|
127
|
-
tags: [],
|
|
128
|
-
},
|
|
129
101
|
{
|
|
130
102
|
hostname: "s3-fips.ca-central-1.amazonaws.com",
|
|
131
103
|
tags: ["fips"],
|
|
@@ -142,10 +114,6 @@ const regionHash = {
|
|
|
142
114
|
},
|
|
143
115
|
"cn-north-1": {
|
|
144
116
|
variants: [
|
|
145
|
-
{
|
|
146
|
-
hostname: "s3.cn-north-1.amazonaws.com.cn",
|
|
147
|
-
tags: [],
|
|
148
|
-
},
|
|
149
117
|
{
|
|
150
118
|
hostname: "s3.dualstack.cn-north-1.amazonaws.com.cn",
|
|
151
119
|
tags: ["dualstack"],
|
|
@@ -154,10 +122,6 @@ const regionHash = {
|
|
|
154
122
|
},
|
|
155
123
|
"cn-northwest-1": {
|
|
156
124
|
variants: [
|
|
157
|
-
{
|
|
158
|
-
hostname: "s3.cn-northwest-1.amazonaws.com.cn",
|
|
159
|
-
tags: [],
|
|
160
|
-
},
|
|
161
125
|
{
|
|
162
126
|
hostname: "s3.dualstack.cn-northwest-1.amazonaws.com.cn",
|
|
163
127
|
tags: ["dualstack"],
|
|
@@ -166,10 +130,6 @@ const regionHash = {
|
|
|
166
130
|
},
|
|
167
131
|
"eu-central-1": {
|
|
168
132
|
variants: [
|
|
169
|
-
{
|
|
170
|
-
hostname: "s3.eu-central-1.amazonaws.com",
|
|
171
|
-
tags: [],
|
|
172
|
-
},
|
|
173
133
|
{
|
|
174
134
|
hostname: "s3.dualstack.eu-central-1.amazonaws.com",
|
|
175
135
|
tags: ["dualstack"],
|
|
@@ -178,10 +138,6 @@ const regionHash = {
|
|
|
178
138
|
},
|
|
179
139
|
"eu-north-1": {
|
|
180
140
|
variants: [
|
|
181
|
-
{
|
|
182
|
-
hostname: "s3.eu-north-1.amazonaws.com",
|
|
183
|
-
tags: [],
|
|
184
|
-
},
|
|
185
141
|
{
|
|
186
142
|
hostname: "s3.dualstack.eu-north-1.amazonaws.com",
|
|
187
143
|
tags: ["dualstack"],
|
|
@@ -190,10 +146,6 @@ const regionHash = {
|
|
|
190
146
|
},
|
|
191
147
|
"eu-south-1": {
|
|
192
148
|
variants: [
|
|
193
|
-
{
|
|
194
|
-
hostname: "s3.eu-south-1.amazonaws.com",
|
|
195
|
-
tags: [],
|
|
196
|
-
},
|
|
197
149
|
{
|
|
198
150
|
hostname: "s3.dualstack.eu-south-1.amazonaws.com",
|
|
199
151
|
tags: ["dualstack"],
|
|
@@ -214,10 +166,6 @@ const regionHash = {
|
|
|
214
166
|
},
|
|
215
167
|
"eu-west-2": {
|
|
216
168
|
variants: [
|
|
217
|
-
{
|
|
218
|
-
hostname: "s3.eu-west-2.amazonaws.com",
|
|
219
|
-
tags: [],
|
|
220
|
-
},
|
|
221
169
|
{
|
|
222
170
|
hostname: "s3.dualstack.eu-west-2.amazonaws.com",
|
|
223
171
|
tags: ["dualstack"],
|
|
@@ -226,10 +174,6 @@ const regionHash = {
|
|
|
226
174
|
},
|
|
227
175
|
"eu-west-3": {
|
|
228
176
|
variants: [
|
|
229
|
-
{
|
|
230
|
-
hostname: "s3.eu-west-3.amazonaws.com",
|
|
231
|
-
tags: [],
|
|
232
|
-
},
|
|
233
177
|
{
|
|
234
178
|
hostname: "s3.dualstack.eu-west-3.amazonaws.com",
|
|
235
179
|
tags: ["dualstack"],
|
|
@@ -238,10 +182,6 @@ const regionHash = {
|
|
|
238
182
|
},
|
|
239
183
|
"me-south-1": {
|
|
240
184
|
variants: [
|
|
241
|
-
{
|
|
242
|
-
hostname: "s3.me-south-1.amazonaws.com",
|
|
243
|
-
tags: [],
|
|
244
|
-
},
|
|
245
185
|
{
|
|
246
186
|
hostname: "s3.dualstack.me-south-1.amazonaws.com",
|
|
247
187
|
tags: ["dualstack"],
|
|
@@ -291,10 +231,6 @@ const regionHash = {
|
|
|
291
231
|
},
|
|
292
232
|
"us-east-2": {
|
|
293
233
|
variants: [
|
|
294
|
-
{
|
|
295
|
-
hostname: "s3.us-east-2.amazonaws.com",
|
|
296
|
-
tags: [],
|
|
297
|
-
},
|
|
298
234
|
{
|
|
299
235
|
hostname: "s3-fips.dualstack.us-east-2.amazonaws.com",
|
|
300
236
|
tags: ["dualstack", "fips"],
|
|
@@ -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.
|
|
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 =
|
|
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 =
|
|
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.
|
|
7
|
-
exports.
|
|
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 : (() =>
|
|
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,
|
|
@@ -18,13 +18,18 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
|
18
18
|
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
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
22
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
21
23
|
const getRuntimeConfig = (config) => {
|
|
22
24
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
|
|
25
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
26
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
23
27
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
24
28
|
return {
|
|
25
29
|
...clientSharedValues,
|
|
26
30
|
...config,
|
|
27
31
|
runtime: "node",
|
|
32
|
+
defaultsMode,
|
|
28
33
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
29
34
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
30
35
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -34,8 +39,11 @@ const getRuntimeConfig = (config) => {
|
|
|
34
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),
|
|
35
40
|
md5: (_h = config === null || config === void 0 ? void 0 : config.md5) !== null && _h !== void 0 ? _h : hash_node_1.Hash.bind(null, "md5"),
|
|
36
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),
|
|
37
|
-
requestHandler: (_k = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _k !== void 0 ? _k : new node_http_handler_1.NodeHttpHandler(),
|
|
38
|
-
retryMode: (_l = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _l !== void 0 ? _l : node_config_provider_1.loadConfig(
|
|
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
|
+
}),
|
|
39
47
|
sha256: (_m = config === null || config === void 0 ? void 0 : config.sha256) !== null && _m !== void 0 ? _m : hash_node_1.Hash.bind(null, "sha256"),
|
|
40
48
|
streamCollector: (_o = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _o !== void 0 ? _o : node_http_handler_1.streamCollector,
|
|
41
49
|
streamHasher: (_p = config === null || config === void 0 ? void 0 : config.streamHasher) !== null && _p !== void 0 ? _p : hash_stream_node_1.fileStreamHasher,
|
package/dist-es/endpoints.js
CHANGED
|
@@ -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"],
|
|
@@ -99,10 +79,6 @@ var regionHash = {
|
|
|
99
79
|
},
|
|
100
80
|
"ap-southeast-3": {
|
|
101
81
|
variants: [
|
|
102
|
-
{
|
|
103
|
-
hostname: "s3.ap-southeast-3.amazonaws.com",
|
|
104
|
-
tags: [],
|
|
105
|
-
},
|
|
106
82
|
{
|
|
107
83
|
hostname: "s3.dualstack.ap-southeast-3.amazonaws.com",
|
|
108
84
|
tags: ["dualstack"],
|
|
@@ -120,10 +96,6 @@ var regionHash = {
|
|
|
120
96
|
},
|
|
121
97
|
"ca-central-1": {
|
|
122
98
|
variants: [
|
|
123
|
-
{
|
|
124
|
-
hostname: "s3.ca-central-1.amazonaws.com",
|
|
125
|
-
tags: [],
|
|
126
|
-
},
|
|
127
99
|
{
|
|
128
100
|
hostname: "s3-fips.ca-central-1.amazonaws.com",
|
|
129
101
|
tags: ["fips"],
|
|
@@ -140,10 +112,6 @@ var regionHash = {
|
|
|
140
112
|
},
|
|
141
113
|
"cn-north-1": {
|
|
142
114
|
variants: [
|
|
143
|
-
{
|
|
144
|
-
hostname: "s3.cn-north-1.amazonaws.com.cn",
|
|
145
|
-
tags: [],
|
|
146
|
-
},
|
|
147
115
|
{
|
|
148
116
|
hostname: "s3.dualstack.cn-north-1.amazonaws.com.cn",
|
|
149
117
|
tags: ["dualstack"],
|
|
@@ -152,10 +120,6 @@ var regionHash = {
|
|
|
152
120
|
},
|
|
153
121
|
"cn-northwest-1": {
|
|
154
122
|
variants: [
|
|
155
|
-
{
|
|
156
|
-
hostname: "s3.cn-northwest-1.amazonaws.com.cn",
|
|
157
|
-
tags: [],
|
|
158
|
-
},
|
|
159
123
|
{
|
|
160
124
|
hostname: "s3.dualstack.cn-northwest-1.amazonaws.com.cn",
|
|
161
125
|
tags: ["dualstack"],
|
|
@@ -164,10 +128,6 @@ var regionHash = {
|
|
|
164
128
|
},
|
|
165
129
|
"eu-central-1": {
|
|
166
130
|
variants: [
|
|
167
|
-
{
|
|
168
|
-
hostname: "s3.eu-central-1.amazonaws.com",
|
|
169
|
-
tags: [],
|
|
170
|
-
},
|
|
171
131
|
{
|
|
172
132
|
hostname: "s3.dualstack.eu-central-1.amazonaws.com",
|
|
173
133
|
tags: ["dualstack"],
|
|
@@ -176,10 +136,6 @@ var regionHash = {
|
|
|
176
136
|
},
|
|
177
137
|
"eu-north-1": {
|
|
178
138
|
variants: [
|
|
179
|
-
{
|
|
180
|
-
hostname: "s3.eu-north-1.amazonaws.com",
|
|
181
|
-
tags: [],
|
|
182
|
-
},
|
|
183
139
|
{
|
|
184
140
|
hostname: "s3.dualstack.eu-north-1.amazonaws.com",
|
|
185
141
|
tags: ["dualstack"],
|
|
@@ -188,10 +144,6 @@ var regionHash = {
|
|
|
188
144
|
},
|
|
189
145
|
"eu-south-1": {
|
|
190
146
|
variants: [
|
|
191
|
-
{
|
|
192
|
-
hostname: "s3.eu-south-1.amazonaws.com",
|
|
193
|
-
tags: [],
|
|
194
|
-
},
|
|
195
147
|
{
|
|
196
148
|
hostname: "s3.dualstack.eu-south-1.amazonaws.com",
|
|
197
149
|
tags: ["dualstack"],
|
|
@@ -212,10 +164,6 @@ var regionHash = {
|
|
|
212
164
|
},
|
|
213
165
|
"eu-west-2": {
|
|
214
166
|
variants: [
|
|
215
|
-
{
|
|
216
|
-
hostname: "s3.eu-west-2.amazonaws.com",
|
|
217
|
-
tags: [],
|
|
218
|
-
},
|
|
219
167
|
{
|
|
220
168
|
hostname: "s3.dualstack.eu-west-2.amazonaws.com",
|
|
221
169
|
tags: ["dualstack"],
|
|
@@ -224,10 +172,6 @@ var regionHash = {
|
|
|
224
172
|
},
|
|
225
173
|
"eu-west-3": {
|
|
226
174
|
variants: [
|
|
227
|
-
{
|
|
228
|
-
hostname: "s3.eu-west-3.amazonaws.com",
|
|
229
|
-
tags: [],
|
|
230
|
-
},
|
|
231
175
|
{
|
|
232
176
|
hostname: "s3.dualstack.eu-west-3.amazonaws.com",
|
|
233
177
|
tags: ["dualstack"],
|
|
@@ -236,10 +180,6 @@ var regionHash = {
|
|
|
236
180
|
},
|
|
237
181
|
"me-south-1": {
|
|
238
182
|
variants: [
|
|
239
|
-
{
|
|
240
|
-
hostname: "s3.me-south-1.amazonaws.com",
|
|
241
|
-
tags: [],
|
|
242
|
-
},
|
|
243
183
|
{
|
|
244
184
|
hostname: "s3.dualstack.me-south-1.amazonaws.com",
|
|
245
185
|
tags: ["dualstack"],
|
|
@@ -289,10 +229,6 @@ var regionHash = {
|
|
|
289
229
|
},
|
|
290
230
|
"us-east-2": {
|
|
291
231
|
variants: [
|
|
292
|
-
{
|
|
293
|
-
hostname: "s3.us-east-2.amazonaws.com",
|
|
294
|
-
tags: [],
|
|
295
|
-
},
|
|
296
232
|
{
|
|
297
233
|
hostname: "s3-fips.dualstack.us-east-2.amazonaws.com",
|
|
298
234
|
tags: ["dualstack", "fips"],
|
|
@@ -12,10 +12,6 @@ export var AbortMultipartUploadRequest;
|
|
|
12
12
|
(function (AbortMultipartUploadRequest) {
|
|
13
13
|
AbortMultipartUploadRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
14
14
|
})(AbortMultipartUploadRequest || (AbortMultipartUploadRequest = {}));
|
|
15
|
-
export var NoSuchUpload;
|
|
16
|
-
(function (NoSuchUpload) {
|
|
17
|
-
NoSuchUpload.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
18
|
-
})(NoSuchUpload || (NoSuchUpload = {}));
|
|
19
15
|
export var AccelerateConfiguration;
|
|
20
16
|
(function (AccelerateConfiguration) {
|
|
21
17
|
AccelerateConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -68,18 +64,6 @@ export var CopyObjectRequest;
|
|
|
68
64
|
(function (CopyObjectRequest) {
|
|
69
65
|
CopyObjectRequest.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign({}, obj), (obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING })), (obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING })), (obj.SSEKMSEncryptionContext && { SSEKMSEncryptionContext: SENSITIVE_STRING })), (obj.CopySourceSSECustomerKey && { CopySourceSSECustomerKey: SENSITIVE_STRING }))); };
|
|
70
66
|
})(CopyObjectRequest || (CopyObjectRequest = {}));
|
|
71
|
-
export var ObjectNotInActiveTierError;
|
|
72
|
-
(function (ObjectNotInActiveTierError) {
|
|
73
|
-
ObjectNotInActiveTierError.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
74
|
-
})(ObjectNotInActiveTierError || (ObjectNotInActiveTierError = {}));
|
|
75
|
-
export var BucketAlreadyExists;
|
|
76
|
-
(function (BucketAlreadyExists) {
|
|
77
|
-
BucketAlreadyExists.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
78
|
-
})(BucketAlreadyExists || (BucketAlreadyExists = {}));
|
|
79
|
-
export var BucketAlreadyOwnedByYou;
|
|
80
|
-
(function (BucketAlreadyOwnedByYou) {
|
|
81
|
-
BucketAlreadyOwnedByYou.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
82
|
-
})(BucketAlreadyOwnedByYou || (BucketAlreadyOwnedByYou = {}));
|
|
83
67
|
export var CreateBucketOutput;
|
|
84
68
|
(function (CreateBucketOutput) {
|
|
85
69
|
CreateBucketOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -730,14 +714,6 @@ export var GetObjectRequest;
|
|
|
730
714
|
(function (GetObjectRequest) {
|
|
731
715
|
GetObjectRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.SSECustomerKey && { SSECustomerKey: SENSITIVE_STRING }))); };
|
|
732
716
|
})(GetObjectRequest || (GetObjectRequest = {}));
|
|
733
|
-
export var InvalidObjectState;
|
|
734
|
-
(function (InvalidObjectState) {
|
|
735
|
-
InvalidObjectState.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
736
|
-
})(InvalidObjectState || (InvalidObjectState = {}));
|
|
737
|
-
export var NoSuchKey;
|
|
738
|
-
(function (NoSuchKey) {
|
|
739
|
-
NoSuchKey.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
740
|
-
})(NoSuchKey || (NoSuchKey = {}));
|
|
741
717
|
export var GetObjectAclOutput;
|
|
742
718
|
(function (GetObjectAclOutput) {
|
|
743
719
|
GetObjectAclOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -822,10 +798,6 @@ export var HeadBucketRequest;
|
|
|
822
798
|
(function (HeadBucketRequest) {
|
|
823
799
|
HeadBucketRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
824
800
|
})(HeadBucketRequest || (HeadBucketRequest = {}));
|
|
825
|
-
export var NotFound;
|
|
826
|
-
(function (NotFound) {
|
|
827
|
-
NotFound.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
828
|
-
})(NotFound || (NotFound = {}));
|
|
829
801
|
export var HeadObjectOutput;
|
|
830
802
|
(function (HeadObjectOutput) {
|
|
831
803
|
HeadObjectOutput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.SSEKMSKeyId && { SSEKMSKeyId: SENSITIVE_STRING }))); };
|
|
@@ -918,10 +890,6 @@ export var ListObjectsRequest;
|
|
|
918
890
|
(function (ListObjectsRequest) {
|
|
919
891
|
ListObjectsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
920
892
|
})(ListObjectsRequest || (ListObjectsRequest = {}));
|
|
921
|
-
export var NoSuchBucket;
|
|
922
|
-
(function (NoSuchBucket) {
|
|
923
|
-
NoSuchBucket.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
924
|
-
})(NoSuchBucket || (NoSuchBucket = {}));
|
|
925
893
|
export var ListObjectsV2Output;
|
|
926
894
|
(function (ListObjectsV2Output) {
|
|
927
895
|
ListObjectsV2Output.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1122,10 +1090,6 @@ export var PutPublicAccessBlockRequest;
|
|
|
1122
1090
|
(function (PutPublicAccessBlockRequest) {
|
|
1123
1091
|
PutPublicAccessBlockRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1124
1092
|
})(PutPublicAccessBlockRequest || (PutPublicAccessBlockRequest = {}));
|
|
1125
|
-
export var ObjectAlreadyInActiveTierError;
|
|
1126
|
-
(function (ObjectAlreadyInActiveTierError) {
|
|
1127
|
-
ObjectAlreadyInActiveTierError.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1128
|
-
})(ObjectAlreadyInActiveTierError || (ObjectAlreadyInActiveTierError = {}));
|
|
1129
1093
|
export var RestoreObjectOutput;
|
|
1130
1094
|
(function (RestoreObjectOutput) {
|
|
1131
1095
|
RestoreObjectOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|