@aws-sdk/client-s3 3.39.0 → 3.42.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 +41 -0
- package/dist-cjs/endpoints.js +410 -142
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/endpoints.js +410 -142
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/S3Client.d.ts +8 -0
- package/dist-types/commands/AbortMultipartUploadCommand.d.ts +1 -1
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +1 -1
- package/dist-types/commands/CopyObjectCommand.d.ts +1 -1
- package/dist-types/commands/CreateBucketCommand.d.ts +1 -1
- package/dist-types/commands/CreateMultipartUploadCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketCorsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +1 -1
- package/dist-types/commands/DeleteObjectCommand.d.ts +1 -1
- package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +1 -1
- package/dist-types/commands/DeleteObjectsCommand.d.ts +1 -1
- package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketAclCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketCorsCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketEncryptionCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketLocationCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketLoggingCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketReplicationCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketTaggingCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketVersioningCommand.d.ts +1 -1
- package/dist-types/commands/GetBucketWebsiteCommand.d.ts +1 -1
- package/dist-types/commands/GetObjectAclCommand.d.ts +1 -1
- package/dist-types/commands/GetObjectCommand.d.ts +1 -1
- package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +1 -1
- package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetObjectRetentionCommand.d.ts +1 -1
- package/dist-types/commands/GetObjectTaggingCommand.d.ts +1 -1
- package/dist-types/commands/GetObjectTorrentCommand.d.ts +1 -1
- package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +1 -1
- package/dist-types/commands/HeadBucketCommand.d.ts +1 -1
- package/dist-types/commands/HeadObjectCommand.d.ts +1 -1
- package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListBucketsCommand.d.ts +1 -1
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +1 -1
- package/dist-types/commands/ListObjectVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListObjectsCommand.d.ts +1 -1
- package/dist-types/commands/ListObjectsV2Command.d.ts +1 -1
- package/dist-types/commands/ListPartsCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketAclCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketCorsCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketEncryptionCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketLoggingCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketReplicationCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketTaggingCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketVersioningCommand.d.ts +1 -1
- package/dist-types/commands/PutBucketWebsiteCommand.d.ts +1 -1
- package/dist-types/commands/PutObjectAclCommand.d.ts +1 -1
- package/dist-types/commands/PutObjectCommand.d.ts +1 -1
- package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +1 -1
- package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/PutObjectRetentionCommand.d.ts +1 -1
- package/dist-types/commands/PutObjectTaggingCommand.d.ts +1 -1
- package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +1 -1
- package/dist-types/commands/RestoreObjectCommand.d.ts +1 -1
- package/dist-types/commands/SelectObjectContentCommand.d.ts +1 -1
- package/dist-types/commands/UploadPartCommand.d.ts +1 -1
- package/dist-types/commands/UploadPartCopyCommand.d.ts +1 -1
- package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -1
- package/dist-types/runtimeConfig.d.ts +2 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -1
- package/dist-types/ts3.4/S3Client.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -1
- package/package.json +36 -36
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,47 @@
|
|
|
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.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **clients:** merge default variants by comparing tags ([#3044](https://github.com/aws/aws-sdk-js-v3/issues/3044)) ([d65a310](https://github.com/aws/aws-sdk-js-v3/commit/d65a310ed5a471e72633a18ae6f3c98390e20783))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## [3.40.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.0...v3.40.1) (2021-11-08)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @aws-sdk/client-s3
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
# [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Features
|
|
40
|
+
|
|
41
|
+
* **clients:** populate variants in endpoints hashes ([#2974](https://github.com/aws/aws-sdk-js-v3/issues/2974)) ([0dd68ef](https://github.com/aws/aws-sdk-js-v3/commit/0dd68ef8b04ea0e96e43b05a9a10221e433fdf86))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
6
47
|
# [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
|
|
7
48
|
|
|
8
49
|
**Note:** Version bump only for package @aws-sdk/client-s3
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -3,169 +3,376 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.defaultRegionInfoProvider = void 0;
|
|
4
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
5
|
const regionHash = {
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
},
|
|
18
|
-
"accesspoint-ap-northeast-3": {
|
|
19
|
-
hostname: "s3-accesspoint.ap-northeast-3.amazonaws.com",
|
|
20
|
-
},
|
|
21
|
-
"accesspoint-ap-south-1": {
|
|
22
|
-
hostname: "s3-accesspoint.ap-south-1.amazonaws.com",
|
|
23
|
-
},
|
|
24
|
-
"accesspoint-ap-southeast-1": {
|
|
25
|
-
hostname: "s3-accesspoint.ap-southeast-1.amazonaws.com",
|
|
26
|
-
},
|
|
27
|
-
"accesspoint-ap-southeast-2": {
|
|
28
|
-
hostname: "s3-accesspoint.ap-southeast-2.amazonaws.com",
|
|
29
|
-
},
|
|
30
|
-
"accesspoint-ca-central-1": {
|
|
31
|
-
hostname: "s3-accesspoint.ca-central-1.amazonaws.com",
|
|
32
|
-
},
|
|
33
|
-
"accesspoint-cn-north-1": {
|
|
34
|
-
hostname: "s3-accesspoint.cn-north-1.amazonaws.com.cn",
|
|
35
|
-
},
|
|
36
|
-
"accesspoint-cn-northwest-1": {
|
|
37
|
-
hostname: "s3-accesspoint.cn-northwest-1.amazonaws.com.cn",
|
|
38
|
-
},
|
|
39
|
-
"accesspoint-eu-central-1": {
|
|
40
|
-
hostname: "s3-accesspoint.eu-central-1.amazonaws.com",
|
|
41
|
-
},
|
|
42
|
-
"accesspoint-eu-north-1": {
|
|
43
|
-
hostname: "s3-accesspoint.eu-north-1.amazonaws.com",
|
|
44
|
-
},
|
|
45
|
-
"accesspoint-eu-south-1": {
|
|
46
|
-
hostname: "s3-accesspoint.eu-south-1.amazonaws.com",
|
|
47
|
-
},
|
|
48
|
-
"accesspoint-eu-west-1": {
|
|
49
|
-
hostname: "s3-accesspoint.eu-west-1.amazonaws.com",
|
|
50
|
-
},
|
|
51
|
-
"accesspoint-eu-west-2": {
|
|
52
|
-
hostname: "s3-accesspoint.eu-west-2.amazonaws.com",
|
|
53
|
-
},
|
|
54
|
-
"accesspoint-eu-west-3": {
|
|
55
|
-
hostname: "s3-accesspoint.eu-west-3.amazonaws.com",
|
|
56
|
-
},
|
|
57
|
-
"accesspoint-me-south-1": {
|
|
58
|
-
hostname: "s3-accesspoint.me-south-1.amazonaws.com",
|
|
59
|
-
},
|
|
60
|
-
"accesspoint-sa-east-1": {
|
|
61
|
-
hostname: "s3-accesspoint.sa-east-1.amazonaws.com",
|
|
62
|
-
},
|
|
63
|
-
"accesspoint-us-east-1": {
|
|
64
|
-
hostname: "s3-accesspoint.us-east-1.amazonaws.com",
|
|
65
|
-
},
|
|
66
|
-
"accesspoint-us-east-2": {
|
|
67
|
-
hostname: "s3-accesspoint.us-east-2.amazonaws.com",
|
|
6
|
+
"af-south-1": {
|
|
7
|
+
variants: [
|
|
8
|
+
{
|
|
9
|
+
hostname: "s3.af-south-1.amazonaws.com",
|
|
10
|
+
tags: [],
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
hostname: "s3.dualstack.af-south-1.amazonaws.com",
|
|
14
|
+
tags: ["dualstack"],
|
|
15
|
+
},
|
|
16
|
+
],
|
|
68
17
|
},
|
|
69
|
-
"
|
|
70
|
-
|
|
18
|
+
"ap-east-1": {
|
|
19
|
+
variants: [
|
|
20
|
+
{
|
|
21
|
+
hostname: "s3.ap-east-1.amazonaws.com",
|
|
22
|
+
tags: [],
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
hostname: "s3.dualstack.ap-east-1.amazonaws.com",
|
|
26
|
+
tags: ["dualstack"],
|
|
27
|
+
},
|
|
28
|
+
],
|
|
71
29
|
},
|
|
72
|
-
"
|
|
73
|
-
|
|
30
|
+
"ap-northeast-1": {
|
|
31
|
+
variants: [
|
|
32
|
+
{
|
|
33
|
+
hostname: "s3.ap-northeast-1.amazonaws.com",
|
|
34
|
+
tags: [],
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
hostname: "s3.dualstack.ap-northeast-1.amazonaws.com",
|
|
38
|
+
tags: ["dualstack"],
|
|
39
|
+
},
|
|
40
|
+
],
|
|
74
41
|
},
|
|
75
|
-
"
|
|
76
|
-
|
|
42
|
+
"ap-northeast-2": {
|
|
43
|
+
variants: [
|
|
44
|
+
{
|
|
45
|
+
hostname: "s3.ap-northeast-2.amazonaws.com",
|
|
46
|
+
tags: [],
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
hostname: "s3.dualstack.ap-northeast-2.amazonaws.com",
|
|
50
|
+
tags: ["dualstack"],
|
|
51
|
+
},
|
|
52
|
+
],
|
|
77
53
|
},
|
|
78
|
-
"
|
|
79
|
-
|
|
54
|
+
"ap-northeast-3": {
|
|
55
|
+
variants: [
|
|
56
|
+
{
|
|
57
|
+
hostname: "s3.ap-northeast-3.amazonaws.com",
|
|
58
|
+
tags: [],
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
hostname: "s3.dualstack.ap-northeast-3.amazonaws.com",
|
|
62
|
+
tags: ["dualstack"],
|
|
63
|
+
},
|
|
64
|
+
],
|
|
80
65
|
},
|
|
81
|
-
"ap-
|
|
82
|
-
|
|
66
|
+
"ap-south-1": {
|
|
67
|
+
variants: [
|
|
68
|
+
{
|
|
69
|
+
hostname: "s3.ap-south-1.amazonaws.com",
|
|
70
|
+
tags: [],
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
hostname: "s3.dualstack.ap-south-1.amazonaws.com",
|
|
74
|
+
tags: ["dualstack"],
|
|
75
|
+
},
|
|
76
|
+
],
|
|
83
77
|
},
|
|
84
78
|
"ap-southeast-1": {
|
|
85
|
-
|
|
79
|
+
variants: [
|
|
80
|
+
{
|
|
81
|
+
hostname: "s3.ap-southeast-1.amazonaws.com",
|
|
82
|
+
tags: [],
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
hostname: "s3.dualstack.ap-southeast-1.amazonaws.com",
|
|
86
|
+
tags: ["dualstack"],
|
|
87
|
+
},
|
|
88
|
+
],
|
|
86
89
|
},
|
|
87
90
|
"ap-southeast-2": {
|
|
88
|
-
|
|
91
|
+
variants: [
|
|
92
|
+
{
|
|
93
|
+
hostname: "s3.ap-southeast-2.amazonaws.com",
|
|
94
|
+
tags: [],
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
hostname: "s3.dualstack.ap-southeast-2.amazonaws.com",
|
|
98
|
+
tags: ["dualstack"],
|
|
99
|
+
},
|
|
100
|
+
],
|
|
89
101
|
},
|
|
90
102
|
"aws-global": {
|
|
91
|
-
|
|
103
|
+
variants: [
|
|
104
|
+
{
|
|
105
|
+
hostname: "s3.amazonaws.com",
|
|
106
|
+
tags: [],
|
|
107
|
+
},
|
|
108
|
+
],
|
|
92
109
|
signingRegion: "us-east-1",
|
|
93
110
|
},
|
|
94
|
-
"
|
|
95
|
-
|
|
111
|
+
"ca-central-1": {
|
|
112
|
+
variants: [
|
|
113
|
+
{
|
|
114
|
+
hostname: "s3.ca-central-1.amazonaws.com",
|
|
115
|
+
tags: [],
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
hostname: "s3-fips.ca-central-1.amazonaws.com",
|
|
119
|
+
tags: ["fips"],
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
hostname: "s3-fips.dualstack.ca-central-1.amazonaws.com",
|
|
123
|
+
tags: ["dualstack", "fips"],
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
hostname: "s3.dualstack.ca-central-1.amazonaws.com",
|
|
127
|
+
tags: ["dualstack"],
|
|
128
|
+
},
|
|
129
|
+
],
|
|
96
130
|
},
|
|
97
|
-
"
|
|
98
|
-
|
|
131
|
+
"cn-north-1": {
|
|
132
|
+
variants: [
|
|
133
|
+
{
|
|
134
|
+
hostname: "s3.cn-north-1.amazonaws.com.cn",
|
|
135
|
+
tags: [],
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
hostname: "s3.dualstack.cn-north-1.amazonaws.com.cn",
|
|
139
|
+
tags: ["dualstack"],
|
|
140
|
+
},
|
|
141
|
+
],
|
|
99
142
|
},
|
|
100
|
-
"
|
|
101
|
-
|
|
143
|
+
"cn-northwest-1": {
|
|
144
|
+
variants: [
|
|
145
|
+
{
|
|
146
|
+
hostname: "s3.cn-northwest-1.amazonaws.com.cn",
|
|
147
|
+
tags: [],
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
hostname: "s3.dualstack.cn-northwest-1.amazonaws.com.cn",
|
|
151
|
+
tags: ["dualstack"],
|
|
152
|
+
},
|
|
153
|
+
],
|
|
102
154
|
},
|
|
103
|
-
"
|
|
104
|
-
|
|
155
|
+
"eu-central-1": {
|
|
156
|
+
variants: [
|
|
157
|
+
{
|
|
158
|
+
hostname: "s3.eu-central-1.amazonaws.com",
|
|
159
|
+
tags: [],
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
hostname: "s3.dualstack.eu-central-1.amazonaws.com",
|
|
163
|
+
tags: ["dualstack"],
|
|
164
|
+
},
|
|
165
|
+
],
|
|
105
166
|
},
|
|
106
|
-
"
|
|
107
|
-
|
|
167
|
+
"eu-north-1": {
|
|
168
|
+
variants: [
|
|
169
|
+
{
|
|
170
|
+
hostname: "s3.eu-north-1.amazonaws.com",
|
|
171
|
+
tags: [],
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
hostname: "s3.dualstack.eu-north-1.amazonaws.com",
|
|
175
|
+
tags: ["dualstack"],
|
|
176
|
+
},
|
|
177
|
+
],
|
|
108
178
|
},
|
|
109
|
-
"
|
|
110
|
-
|
|
179
|
+
"eu-south-1": {
|
|
180
|
+
variants: [
|
|
181
|
+
{
|
|
182
|
+
hostname: "s3.eu-south-1.amazonaws.com",
|
|
183
|
+
tags: [],
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
hostname: "s3.dualstack.eu-south-1.amazonaws.com",
|
|
187
|
+
tags: ["dualstack"],
|
|
188
|
+
},
|
|
189
|
+
],
|
|
111
190
|
},
|
|
112
|
-
"
|
|
113
|
-
|
|
191
|
+
"eu-west-1": {
|
|
192
|
+
variants: [
|
|
193
|
+
{
|
|
194
|
+
hostname: "s3.eu-west-1.amazonaws.com",
|
|
195
|
+
tags: [],
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
hostname: "s3.dualstack.eu-west-1.amazonaws.com",
|
|
199
|
+
tags: ["dualstack"],
|
|
200
|
+
},
|
|
201
|
+
],
|
|
114
202
|
},
|
|
115
|
-
"
|
|
116
|
-
|
|
203
|
+
"eu-west-2": {
|
|
204
|
+
variants: [
|
|
205
|
+
{
|
|
206
|
+
hostname: "s3.eu-west-2.amazonaws.com",
|
|
207
|
+
tags: [],
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
hostname: "s3.dualstack.eu-west-2.amazonaws.com",
|
|
211
|
+
tags: ["dualstack"],
|
|
212
|
+
},
|
|
213
|
+
],
|
|
117
214
|
},
|
|
118
|
-
"
|
|
119
|
-
|
|
120
|
-
|
|
215
|
+
"eu-west-3": {
|
|
216
|
+
variants: [
|
|
217
|
+
{
|
|
218
|
+
hostname: "s3.eu-west-3.amazonaws.com",
|
|
219
|
+
tags: [],
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
hostname: "s3.dualstack.eu-west-3.amazonaws.com",
|
|
223
|
+
tags: ["dualstack"],
|
|
224
|
+
},
|
|
225
|
+
],
|
|
226
|
+
},
|
|
227
|
+
"me-south-1": {
|
|
228
|
+
variants: [
|
|
229
|
+
{
|
|
230
|
+
hostname: "s3.me-south-1.amazonaws.com",
|
|
231
|
+
tags: [],
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
hostname: "s3.dualstack.me-south-1.amazonaws.com",
|
|
235
|
+
tags: ["dualstack"],
|
|
236
|
+
},
|
|
237
|
+
],
|
|
121
238
|
},
|
|
122
239
|
"s3-external-1": {
|
|
123
|
-
|
|
240
|
+
variants: [
|
|
241
|
+
{
|
|
242
|
+
hostname: "s3-external-1.amazonaws.com",
|
|
243
|
+
tags: [],
|
|
244
|
+
},
|
|
245
|
+
],
|
|
124
246
|
signingRegion: "us-east-1",
|
|
125
247
|
},
|
|
126
248
|
"sa-east-1": {
|
|
127
|
-
|
|
249
|
+
variants: [
|
|
250
|
+
{
|
|
251
|
+
hostname: "s3.sa-east-1.amazonaws.com",
|
|
252
|
+
tags: [],
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
hostname: "s3.dualstack.sa-east-1.amazonaws.com",
|
|
256
|
+
tags: ["dualstack"],
|
|
257
|
+
},
|
|
258
|
+
],
|
|
128
259
|
},
|
|
129
260
|
"us-east-1": {
|
|
130
|
-
|
|
261
|
+
variants: [
|
|
262
|
+
{
|
|
263
|
+
hostname: "s3.us-east-1.amazonaws.com",
|
|
264
|
+
tags: [],
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
hostname: "s3-fips.dualstack.us-east-1.amazonaws.com",
|
|
268
|
+
tags: ["dualstack", "fips"],
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
hostname: "s3-fips.us-east-1.amazonaws.com",
|
|
272
|
+
tags: ["fips"],
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
hostname: "s3.dualstack.us-east-1.amazonaws.com",
|
|
276
|
+
tags: ["dualstack"],
|
|
277
|
+
},
|
|
278
|
+
],
|
|
279
|
+
},
|
|
280
|
+
"us-east-2": {
|
|
281
|
+
variants: [
|
|
282
|
+
{
|
|
283
|
+
hostname: "s3.us-east-2.amazonaws.com",
|
|
284
|
+
tags: [],
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
hostname: "s3-fips.dualstack.us-east-2.amazonaws.com",
|
|
288
|
+
tags: ["dualstack", "fips"],
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
hostname: "s3-fips.us-east-2.amazonaws.com",
|
|
292
|
+
tags: ["fips"],
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
hostname: "s3.dualstack.us-east-2.amazonaws.com",
|
|
296
|
+
tags: ["dualstack"],
|
|
297
|
+
},
|
|
298
|
+
],
|
|
131
299
|
},
|
|
132
300
|
"us-gov-east-1": {
|
|
133
|
-
|
|
301
|
+
variants: [
|
|
302
|
+
{
|
|
303
|
+
hostname: "s3.us-gov-east-1.amazonaws.com",
|
|
304
|
+
tags: [],
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
hostname: "s3-fips.us-gov-east-1.amazonaws.com",
|
|
308
|
+
tags: ["fips"],
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
hostname: "s3.dualstack.us-gov-east-1.amazonaws.com",
|
|
312
|
+
tags: ["dualstack"],
|
|
313
|
+
},
|
|
314
|
+
],
|
|
134
315
|
},
|
|
135
316
|
"us-gov-west-1": {
|
|
136
|
-
|
|
317
|
+
variants: [
|
|
318
|
+
{
|
|
319
|
+
hostname: "s3.us-gov-west-1.amazonaws.com",
|
|
320
|
+
tags: [],
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
hostname: "s3-fips.us-gov-west-1.amazonaws.com",
|
|
324
|
+
tags: ["fips"],
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
hostname: "s3.dualstack.us-gov-west-1.amazonaws.com",
|
|
328
|
+
tags: ["dualstack"],
|
|
329
|
+
},
|
|
330
|
+
],
|
|
137
331
|
},
|
|
138
332
|
"us-west-1": {
|
|
139
|
-
|
|
333
|
+
variants: [
|
|
334
|
+
{
|
|
335
|
+
hostname: "s3.us-west-1.amazonaws.com",
|
|
336
|
+
tags: [],
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
hostname: "s3-fips.dualstack.us-west-1.amazonaws.com",
|
|
340
|
+
tags: ["dualstack", "fips"],
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
hostname: "s3-fips.us-west-1.amazonaws.com",
|
|
344
|
+
tags: ["fips"],
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
hostname: "s3.dualstack.us-west-1.amazonaws.com",
|
|
348
|
+
tags: ["dualstack"],
|
|
349
|
+
},
|
|
350
|
+
],
|
|
140
351
|
},
|
|
141
352
|
"us-west-2": {
|
|
142
|
-
|
|
353
|
+
variants: [
|
|
354
|
+
{
|
|
355
|
+
hostname: "s3.us-west-2.amazonaws.com",
|
|
356
|
+
tags: [],
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
hostname: "s3-fips.dualstack.us-west-2.amazonaws.com",
|
|
360
|
+
tags: ["dualstack", "fips"],
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
hostname: "s3-fips.us-west-2.amazonaws.com",
|
|
364
|
+
tags: ["fips"],
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
hostname: "s3.dualstack.us-west-2.amazonaws.com",
|
|
368
|
+
tags: ["dualstack"],
|
|
369
|
+
},
|
|
370
|
+
],
|
|
143
371
|
},
|
|
144
372
|
};
|
|
145
373
|
const partitionHash = {
|
|
146
374
|
aws: {
|
|
147
375
|
regions: [
|
|
148
|
-
"accesspoint-af-south-1",
|
|
149
|
-
"accesspoint-ap-east-1",
|
|
150
|
-
"accesspoint-ap-northeast-1",
|
|
151
|
-
"accesspoint-ap-northeast-2",
|
|
152
|
-
"accesspoint-ap-northeast-3",
|
|
153
|
-
"accesspoint-ap-south-1",
|
|
154
|
-
"accesspoint-ap-southeast-1",
|
|
155
|
-
"accesspoint-ap-southeast-2",
|
|
156
|
-
"accesspoint-ca-central-1",
|
|
157
|
-
"accesspoint-eu-central-1",
|
|
158
|
-
"accesspoint-eu-north-1",
|
|
159
|
-
"accesspoint-eu-south-1",
|
|
160
|
-
"accesspoint-eu-west-1",
|
|
161
|
-
"accesspoint-eu-west-2",
|
|
162
|
-
"accesspoint-eu-west-3",
|
|
163
|
-
"accesspoint-me-south-1",
|
|
164
|
-
"accesspoint-sa-east-1",
|
|
165
|
-
"accesspoint-us-east-1",
|
|
166
|
-
"accesspoint-us-east-2",
|
|
167
|
-
"accesspoint-us-west-1",
|
|
168
|
-
"accesspoint-us-west-2",
|
|
169
376
|
"af-south-1",
|
|
170
377
|
"ap-east-1",
|
|
171
378
|
"ap-northeast-1",
|
|
@@ -182,11 +389,11 @@ const partitionHash = {
|
|
|
182
389
|
"eu-west-1",
|
|
183
390
|
"eu-west-2",
|
|
184
391
|
"eu-west-3",
|
|
185
|
-
"fips-
|
|
186
|
-
"fips-
|
|
187
|
-
"fips-
|
|
188
|
-
"fips-
|
|
189
|
-
"fips-
|
|
392
|
+
"fips-ca-central-1",
|
|
393
|
+
"fips-us-east-1",
|
|
394
|
+
"fips-us-east-2",
|
|
395
|
+
"fips-us-west-1",
|
|
396
|
+
"fips-us-west-2",
|
|
190
397
|
"me-south-1",
|
|
191
398
|
"s3-external-1",
|
|
192
399
|
"sa-east-1",
|
|
@@ -196,35 +403,96 @@ const partitionHash = {
|
|
|
196
403
|
"us-west-2",
|
|
197
404
|
],
|
|
198
405
|
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
199
|
-
|
|
406
|
+
variants: [
|
|
407
|
+
{
|
|
408
|
+
hostname: "s3.{region}.amazonaws.com",
|
|
409
|
+
tags: [],
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
hostname: "s3-fips.{region}.amazonaws.com",
|
|
413
|
+
tags: ["fips"],
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
hostname: "s3-fips.dualstack.{region}.amazonaws.com",
|
|
417
|
+
tags: ["dualstack", "fips"],
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
hostname: "s3.dualstack.{region}.amazonaws.com",
|
|
421
|
+
tags: ["dualstack"],
|
|
422
|
+
},
|
|
423
|
+
],
|
|
200
424
|
},
|
|
201
425
|
"aws-cn": {
|
|
202
|
-
regions: ["
|
|
426
|
+
regions: ["cn-north-1", "cn-northwest-1"],
|
|
203
427
|
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
204
|
-
|
|
428
|
+
variants: [
|
|
429
|
+
{
|
|
430
|
+
hostname: "s3.{region}.amazonaws.com.cn",
|
|
431
|
+
tags: [],
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
hostname: "s3-fips.{region}.amazonaws.com.cn",
|
|
435
|
+
tags: ["fips"],
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
hostname: "s3-fips.{region}.api.amazonwebservices.com.cn",
|
|
439
|
+
tags: ["dualstack", "fips"],
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
hostname: "s3.dualstack.{region}.amazonaws.com.cn",
|
|
443
|
+
tags: ["dualstack"],
|
|
444
|
+
},
|
|
445
|
+
],
|
|
205
446
|
},
|
|
206
447
|
"aws-iso": {
|
|
207
448
|
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
208
449
|
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
209
|
-
|
|
450
|
+
variants: [
|
|
451
|
+
{
|
|
452
|
+
hostname: "s3.{region}.c2s.ic.gov",
|
|
453
|
+
tags: [],
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
hostname: "s3-fips.{region}.c2s.ic.gov",
|
|
457
|
+
tags: ["fips"],
|
|
458
|
+
},
|
|
459
|
+
],
|
|
210
460
|
},
|
|
211
461
|
"aws-iso-b": {
|
|
212
462
|
regions: ["us-isob-east-1"],
|
|
213
463
|
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
214
|
-
|
|
464
|
+
variants: [
|
|
465
|
+
{
|
|
466
|
+
hostname: "s3.{region}.sc2s.sgov.gov",
|
|
467
|
+
tags: [],
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
hostname: "s3-fips.{region}.sc2s.sgov.gov",
|
|
471
|
+
tags: ["fips"],
|
|
472
|
+
},
|
|
473
|
+
],
|
|
215
474
|
},
|
|
216
475
|
"aws-us-gov": {
|
|
217
|
-
regions: [
|
|
218
|
-
"accesspoint-us-gov-east-1",
|
|
219
|
-
"accesspoint-us-gov-west-1",
|
|
220
|
-
"fips-accesspoint-us-gov-east-1",
|
|
221
|
-
"fips-accesspoint-us-gov-west-1",
|
|
222
|
-
"fips-us-gov-west-1",
|
|
223
|
-
"us-gov-east-1",
|
|
224
|
-
"us-gov-west-1",
|
|
225
|
-
],
|
|
476
|
+
regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
|
|
226
477
|
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
227
|
-
|
|
478
|
+
variants: [
|
|
479
|
+
{
|
|
480
|
+
hostname: "s3.{region}.amazonaws.com",
|
|
481
|
+
tags: [],
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
hostname: "s3-fips.{region}.amazonaws.com",
|
|
485
|
+
tags: ["fips"],
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
hostname: "s3-fips.dualstack.{region}.amazonaws.com",
|
|
489
|
+
tags: ["dualstack", "fips"],
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
hostname: "s3.dualstack.{region}.amazonaws.com",
|
|
493
|
+
tags: ["dualstack"],
|
|
494
|
+
},
|
|
495
|
+
],
|
|
228
496
|
},
|
|
229
497
|
};
|
|
230
498
|
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|