@aws-sdk/client-efs 3.39.0 → 3.43.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 +38 -0
- package/dist-cjs/endpoints.js +360 -83
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/endpoints.js +360 -83
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/EFSClient.d.ts +8 -0
- package/dist-types/commands/CreateAccessPointCommand.d.ts +1 -1
- package/dist-types/commands/CreateFileSystemCommand.d.ts +1 -1
- package/dist-types/commands/CreateMountTargetCommand.d.ts +1 -1
- package/dist-types/commands/CreateTagsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAccessPointCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFileSystemCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFileSystemPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMountTargetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTagsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAccessPointsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAccountPreferencesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBackupPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFileSystemPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFileSystemsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLifecycleConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMountTargetSecurityGroupsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMountTargetsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ModifyMountTargetSecurityGroupsCommand.d.ts +1 -1
- package/dist-types/commands/PutAccountPreferencesCommand.d.ts +1 -1
- package/dist-types/commands/PutBackupPolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutFileSystemPolicyCommand.d.ts +1 -1
- package/dist-types/commands/PutLifecycleConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFileSystemCommand.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/EFSClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +23 -23
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,44 @@
|
|
|
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.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-efs
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-efs
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **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))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Features
|
|
37
|
+
|
|
38
|
+
* **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))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
6
44
|
# [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
|
|
7
45
|
|
|
8
46
|
**Note:** Version bump only for package @aws-sdk/client-efs
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -3,109 +3,317 @@ 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
|
-
|
|
6
|
+
"af-south-1": {
|
|
7
|
+
variants: [
|
|
8
|
+
{
|
|
9
|
+
hostname: "elasticfilesystem.af-south-1.amazonaws.com",
|
|
10
|
+
tags: [],
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
hostname: "elasticfilesystem-fips.af-south-1.amazonaws.com",
|
|
14
|
+
tags: ["fips"],
|
|
15
|
+
},
|
|
16
|
+
],
|
|
9
17
|
},
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
|
|
18
|
+
"ap-east-1": {
|
|
19
|
+
variants: [
|
|
20
|
+
{
|
|
21
|
+
hostname: "elasticfilesystem.ap-east-1.amazonaws.com",
|
|
22
|
+
tags: [],
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
hostname: "elasticfilesystem-fips.ap-east-1.amazonaws.com",
|
|
26
|
+
tags: ["fips"],
|
|
27
|
+
},
|
|
28
|
+
],
|
|
13
29
|
},
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
30
|
+
"ap-northeast-1": {
|
|
31
|
+
variants: [
|
|
32
|
+
{
|
|
33
|
+
hostname: "elasticfilesystem.ap-northeast-1.amazonaws.com",
|
|
34
|
+
tags: [],
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
hostname: "elasticfilesystem-fips.ap-northeast-1.amazonaws.com",
|
|
38
|
+
tags: ["fips"],
|
|
39
|
+
},
|
|
40
|
+
],
|
|
17
41
|
},
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
42
|
+
"ap-northeast-2": {
|
|
43
|
+
variants: [
|
|
44
|
+
{
|
|
45
|
+
hostname: "elasticfilesystem.ap-northeast-2.amazonaws.com",
|
|
46
|
+
tags: [],
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
hostname: "elasticfilesystem-fips.ap-northeast-2.amazonaws.com",
|
|
50
|
+
tags: ["fips"],
|
|
51
|
+
},
|
|
52
|
+
],
|
|
21
53
|
},
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
|
|
54
|
+
"ap-northeast-3": {
|
|
55
|
+
variants: [
|
|
56
|
+
{
|
|
57
|
+
hostname: "elasticfilesystem.ap-northeast-3.amazonaws.com",
|
|
58
|
+
tags: [],
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
hostname: "elasticfilesystem-fips.ap-northeast-3.amazonaws.com",
|
|
62
|
+
tags: ["fips"],
|
|
63
|
+
},
|
|
64
|
+
],
|
|
25
65
|
},
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
66
|
+
"ap-south-1": {
|
|
67
|
+
variants: [
|
|
68
|
+
{
|
|
69
|
+
hostname: "elasticfilesystem.ap-south-1.amazonaws.com",
|
|
70
|
+
tags: [],
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
hostname: "elasticfilesystem-fips.ap-south-1.amazonaws.com",
|
|
74
|
+
tags: ["fips"],
|
|
75
|
+
},
|
|
76
|
+
],
|
|
29
77
|
},
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
78
|
+
"ap-southeast-1": {
|
|
79
|
+
variants: [
|
|
80
|
+
{
|
|
81
|
+
hostname: "elasticfilesystem.ap-southeast-1.amazonaws.com",
|
|
82
|
+
tags: [],
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
hostname: "elasticfilesystem-fips.ap-southeast-1.amazonaws.com",
|
|
86
|
+
tags: ["fips"],
|
|
87
|
+
},
|
|
88
|
+
],
|
|
33
89
|
},
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
90
|
+
"ap-southeast-2": {
|
|
91
|
+
variants: [
|
|
92
|
+
{
|
|
93
|
+
hostname: "elasticfilesystem.ap-southeast-2.amazonaws.com",
|
|
94
|
+
tags: [],
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
hostname: "elasticfilesystem-fips.ap-southeast-2.amazonaws.com",
|
|
98
|
+
tags: ["fips"],
|
|
99
|
+
},
|
|
100
|
+
],
|
|
37
101
|
},
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
|
|
102
|
+
"ca-central-1": {
|
|
103
|
+
variants: [
|
|
104
|
+
{
|
|
105
|
+
hostname: "elasticfilesystem.ca-central-1.amazonaws.com",
|
|
106
|
+
tags: [],
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
hostname: "elasticfilesystem-fips.ca-central-1.amazonaws.com",
|
|
110
|
+
tags: ["fips"],
|
|
111
|
+
},
|
|
112
|
+
],
|
|
41
113
|
},
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
114
|
+
"cn-north-1": {
|
|
115
|
+
variants: [
|
|
116
|
+
{
|
|
117
|
+
hostname: "elasticfilesystem.cn-north-1.amazonaws.com.cn",
|
|
118
|
+
tags: [],
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
hostname: "elasticfilesystem-fips.cn-north-1.amazonaws.com.cn",
|
|
122
|
+
tags: ["fips"],
|
|
123
|
+
},
|
|
124
|
+
],
|
|
45
125
|
},
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
126
|
+
"cn-northwest-1": {
|
|
127
|
+
variants: [
|
|
128
|
+
{
|
|
129
|
+
hostname: "elasticfilesystem.cn-northwest-1.amazonaws.com.cn",
|
|
130
|
+
tags: [],
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
hostname: "elasticfilesystem-fips.cn-northwest-1.amazonaws.com.cn",
|
|
134
|
+
tags: ["fips"],
|
|
135
|
+
},
|
|
136
|
+
],
|
|
49
137
|
},
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
138
|
+
"eu-central-1": {
|
|
139
|
+
variants: [
|
|
140
|
+
{
|
|
141
|
+
hostname: "elasticfilesystem.eu-central-1.amazonaws.com",
|
|
142
|
+
tags: [],
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
hostname: "elasticfilesystem-fips.eu-central-1.amazonaws.com",
|
|
146
|
+
tags: ["fips"],
|
|
147
|
+
},
|
|
148
|
+
],
|
|
53
149
|
},
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
150
|
+
"eu-north-1": {
|
|
151
|
+
variants: [
|
|
152
|
+
{
|
|
153
|
+
hostname: "elasticfilesystem.eu-north-1.amazonaws.com",
|
|
154
|
+
tags: [],
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
hostname: "elasticfilesystem-fips.eu-north-1.amazonaws.com",
|
|
158
|
+
tags: ["fips"],
|
|
159
|
+
},
|
|
160
|
+
],
|
|
57
161
|
},
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
162
|
+
"eu-south-1": {
|
|
163
|
+
variants: [
|
|
164
|
+
{
|
|
165
|
+
hostname: "elasticfilesystem.eu-south-1.amazonaws.com",
|
|
166
|
+
tags: [],
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
hostname: "elasticfilesystem-fips.eu-south-1.amazonaws.com",
|
|
170
|
+
tags: ["fips"],
|
|
171
|
+
},
|
|
172
|
+
],
|
|
61
173
|
},
|
|
62
|
-
"
|
|
63
|
-
|
|
64
|
-
|
|
174
|
+
"eu-west-1": {
|
|
175
|
+
variants: [
|
|
176
|
+
{
|
|
177
|
+
hostname: "elasticfilesystem.eu-west-1.amazonaws.com",
|
|
178
|
+
tags: [],
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
hostname: "elasticfilesystem-fips.eu-west-1.amazonaws.com",
|
|
182
|
+
tags: ["fips"],
|
|
183
|
+
},
|
|
184
|
+
],
|
|
65
185
|
},
|
|
66
|
-
"
|
|
67
|
-
|
|
68
|
-
|
|
186
|
+
"eu-west-2": {
|
|
187
|
+
variants: [
|
|
188
|
+
{
|
|
189
|
+
hostname: "elasticfilesystem.eu-west-2.amazonaws.com",
|
|
190
|
+
tags: [],
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
hostname: "elasticfilesystem-fips.eu-west-2.amazonaws.com",
|
|
194
|
+
tags: ["fips"],
|
|
195
|
+
},
|
|
196
|
+
],
|
|
69
197
|
},
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
|
|
198
|
+
"eu-west-3": {
|
|
199
|
+
variants: [
|
|
200
|
+
{
|
|
201
|
+
hostname: "elasticfilesystem.eu-west-3.amazonaws.com",
|
|
202
|
+
tags: [],
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
hostname: "elasticfilesystem-fips.eu-west-3.amazonaws.com",
|
|
206
|
+
tags: ["fips"],
|
|
207
|
+
},
|
|
208
|
+
],
|
|
73
209
|
},
|
|
74
|
-
"
|
|
75
|
-
|
|
76
|
-
|
|
210
|
+
"me-south-1": {
|
|
211
|
+
variants: [
|
|
212
|
+
{
|
|
213
|
+
hostname: "elasticfilesystem.me-south-1.amazonaws.com",
|
|
214
|
+
tags: [],
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
hostname: "elasticfilesystem-fips.me-south-1.amazonaws.com",
|
|
218
|
+
tags: ["fips"],
|
|
219
|
+
},
|
|
220
|
+
],
|
|
77
221
|
},
|
|
78
|
-
"
|
|
79
|
-
|
|
80
|
-
|
|
222
|
+
"sa-east-1": {
|
|
223
|
+
variants: [
|
|
224
|
+
{
|
|
225
|
+
hostname: "elasticfilesystem.sa-east-1.amazonaws.com",
|
|
226
|
+
tags: [],
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
hostname: "elasticfilesystem-fips.sa-east-1.amazonaws.com",
|
|
230
|
+
tags: ["fips"],
|
|
231
|
+
},
|
|
232
|
+
],
|
|
81
233
|
},
|
|
82
|
-
"
|
|
83
|
-
|
|
84
|
-
|
|
234
|
+
"us-east-1": {
|
|
235
|
+
variants: [
|
|
236
|
+
{
|
|
237
|
+
hostname: "elasticfilesystem.us-east-1.amazonaws.com",
|
|
238
|
+
tags: [],
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
hostname: "elasticfilesystem-fips.us-east-1.amazonaws.com",
|
|
242
|
+
tags: ["fips"],
|
|
243
|
+
},
|
|
244
|
+
],
|
|
85
245
|
},
|
|
86
|
-
"
|
|
87
|
-
|
|
88
|
-
|
|
246
|
+
"us-east-2": {
|
|
247
|
+
variants: [
|
|
248
|
+
{
|
|
249
|
+
hostname: "elasticfilesystem.us-east-2.amazonaws.com",
|
|
250
|
+
tags: [],
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
hostname: "elasticfilesystem-fips.us-east-2.amazonaws.com",
|
|
254
|
+
tags: ["fips"],
|
|
255
|
+
},
|
|
256
|
+
],
|
|
89
257
|
},
|
|
90
|
-
"
|
|
91
|
-
|
|
92
|
-
|
|
258
|
+
"us-gov-east-1": {
|
|
259
|
+
variants: [
|
|
260
|
+
{
|
|
261
|
+
hostname: "elasticfilesystem.us-gov-east-1.amazonaws.com",
|
|
262
|
+
tags: [],
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
hostname: "elasticfilesystem-fips.us-gov-east-1.amazonaws.com",
|
|
266
|
+
tags: ["fips"],
|
|
267
|
+
},
|
|
268
|
+
],
|
|
93
269
|
},
|
|
94
|
-
"
|
|
95
|
-
|
|
96
|
-
|
|
270
|
+
"us-gov-west-1": {
|
|
271
|
+
variants: [
|
|
272
|
+
{
|
|
273
|
+
hostname: "elasticfilesystem.us-gov-west-1.amazonaws.com",
|
|
274
|
+
tags: [],
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
hostname: "elasticfilesystem-fips.us-gov-west-1.amazonaws.com",
|
|
278
|
+
tags: ["fips"],
|
|
279
|
+
},
|
|
280
|
+
],
|
|
97
281
|
},
|
|
98
|
-
"
|
|
99
|
-
|
|
100
|
-
|
|
282
|
+
"us-iso-east-1": {
|
|
283
|
+
variants: [
|
|
284
|
+
{
|
|
285
|
+
hostname: "elasticfilesystem.us-iso-east-1.c2s.ic.gov",
|
|
286
|
+
tags: [],
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
hostname: "elasticfilesystem-fips.us-iso-east-1.c2s.ic.gov",
|
|
290
|
+
tags: ["fips"],
|
|
291
|
+
},
|
|
292
|
+
],
|
|
101
293
|
},
|
|
102
|
-
"
|
|
103
|
-
|
|
104
|
-
|
|
294
|
+
"us-west-1": {
|
|
295
|
+
variants: [
|
|
296
|
+
{
|
|
297
|
+
hostname: "elasticfilesystem.us-west-1.amazonaws.com",
|
|
298
|
+
tags: [],
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
hostname: "elasticfilesystem-fips.us-west-1.amazonaws.com",
|
|
302
|
+
tags: ["fips"],
|
|
303
|
+
},
|
|
304
|
+
],
|
|
105
305
|
},
|
|
106
|
-
"
|
|
107
|
-
|
|
108
|
-
|
|
306
|
+
"us-west-2": {
|
|
307
|
+
variants: [
|
|
308
|
+
{
|
|
309
|
+
hostname: "elasticfilesystem.us-west-2.amazonaws.com",
|
|
310
|
+
tags: [],
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
hostname: "elasticfilesystem-fips.us-west-2.amazonaws.com",
|
|
314
|
+
tags: ["fips"],
|
|
315
|
+
},
|
|
316
|
+
],
|
|
109
317
|
},
|
|
110
318
|
};
|
|
111
319
|
const partitionHash = {
|
|
@@ -155,27 +363,96 @@ const partitionHash = {
|
|
|
155
363
|
"us-west-2",
|
|
156
364
|
],
|
|
157
365
|
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
158
|
-
|
|
366
|
+
variants: [
|
|
367
|
+
{
|
|
368
|
+
hostname: "elasticfilesystem.{region}.amazonaws.com",
|
|
369
|
+
tags: [],
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
hostname: "elasticfilesystem-fips.{region}.amazonaws.com",
|
|
373
|
+
tags: ["fips"],
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
hostname: "elasticfilesystem-fips.{region}.api.aws",
|
|
377
|
+
tags: ["dualstack", "fips"],
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
hostname: "elasticfilesystem.{region}.api.aws",
|
|
381
|
+
tags: ["dualstack"],
|
|
382
|
+
},
|
|
383
|
+
],
|
|
159
384
|
},
|
|
160
385
|
"aws-cn": {
|
|
161
386
|
regions: ["cn-north-1", "cn-northwest-1", "fips-cn-north-1", "fips-cn-northwest-1"],
|
|
162
387
|
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
163
|
-
|
|
388
|
+
variants: [
|
|
389
|
+
{
|
|
390
|
+
hostname: "elasticfilesystem.{region}.amazonaws.com.cn",
|
|
391
|
+
tags: [],
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
hostname: "elasticfilesystem-fips.{region}.amazonaws.com.cn",
|
|
395
|
+
tags: ["fips"],
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
hostname: "elasticfilesystem-fips.{region}.api.amazonwebservices.com.cn",
|
|
399
|
+
tags: ["dualstack", "fips"],
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
hostname: "elasticfilesystem.{region}.api.amazonwebservices.com.cn",
|
|
403
|
+
tags: ["dualstack"],
|
|
404
|
+
},
|
|
405
|
+
],
|
|
164
406
|
},
|
|
165
407
|
"aws-iso": {
|
|
166
408
|
regions: ["fips-us-iso-east-1", "us-iso-east-1", "us-iso-west-1"],
|
|
167
409
|
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
168
|
-
|
|
410
|
+
variants: [
|
|
411
|
+
{
|
|
412
|
+
hostname: "elasticfilesystem.{region}.c2s.ic.gov",
|
|
413
|
+
tags: [],
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
hostname: "elasticfilesystem-fips.{region}.c2s.ic.gov",
|
|
417
|
+
tags: ["fips"],
|
|
418
|
+
},
|
|
419
|
+
],
|
|
169
420
|
},
|
|
170
421
|
"aws-iso-b": {
|
|
171
422
|
regions: ["us-isob-east-1"],
|
|
172
423
|
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
173
|
-
|
|
424
|
+
variants: [
|
|
425
|
+
{
|
|
426
|
+
hostname: "elasticfilesystem.{region}.sc2s.sgov.gov",
|
|
427
|
+
tags: [],
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
hostname: "elasticfilesystem-fips.{region}.sc2s.sgov.gov",
|
|
431
|
+
tags: ["fips"],
|
|
432
|
+
},
|
|
433
|
+
],
|
|
174
434
|
},
|
|
175
435
|
"aws-us-gov": {
|
|
176
436
|
regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
|
|
177
437
|
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
178
|
-
|
|
438
|
+
variants: [
|
|
439
|
+
{
|
|
440
|
+
hostname: "elasticfilesystem.{region}.amazonaws.com",
|
|
441
|
+
tags: [],
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
hostname: "elasticfilesystem-fips.{region}.amazonaws.com",
|
|
445
|
+
tags: ["fips"],
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
hostname: "elasticfilesystem-fips.{region}.api.aws",
|
|
449
|
+
tags: ["dualstack", "fips"],
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
hostname: "elasticfilesystem.{region}.api.aws",
|
|
453
|
+
tags: ["dualstack"],
|
|
454
|
+
},
|
|
455
|
+
],
|
|
179
456
|
},
|
|
180
457
|
};
|
|
181
458
|
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
|
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
7
8
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
8
9
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
9
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
@@ -13,7 +14,7 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
13
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
14
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
16
|
const getRuntimeConfig = (config) => {
|
|
16
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
17
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
18
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
18
19
|
return {
|
|
19
20
|
...clientSharedValues,
|
|
@@ -30,8 +31,10 @@ const getRuntimeConfig = (config) => {
|
|
|
30
31
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
|
|
31
32
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
32
33
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
35
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
36
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
|
|
37
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
|
|
35
38
|
};
|
|
36
39
|
};
|
|
37
40
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -17,7 +17,7 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
19
|
const getRuntimeConfig = (config) => {
|
|
20
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
20
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
22
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
23
|
return {
|
|
@@ -35,8 +35,10 @@ const getRuntimeConfig = (config) => {
|
|
|
35
35
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
|
|
36
36
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
37
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
39
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
40
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
|
|
41
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
|
|
40
42
|
};
|
|
41
43
|
};
|
|
42
44
|
exports.getRuntimeConfig = getRuntimeConfig;
|