@aws-sdk/client-kms 3.42.0 → 3.47.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 +48 -0
- package/dist-cjs/endpoints.js +8 -103
- package/dist-cjs/models/models_0.js +3 -201
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/endpoints.js +8 -103
- package/dist-es/models/models_0.js +0 -132
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/KMSClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -198
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/KMSClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -132
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +38 -45
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,54 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **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))
|
|
12
|
+
* Support awsQueryError trait ([#3174](https://github.com/aws/aws-sdk-js-v3/issues/3174)) ([351bd3a](https://github.com/aws/aws-sdk-js-v3/commit/351bd3a40ad37be79d823d6a0e4e48304728ea6f))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Features
|
|
27
|
+
|
|
28
|
+
* **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
|
|
29
|
+
* end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
# [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### Features
|
|
39
|
+
|
|
40
|
+
* **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
47
|
+
|
|
48
|
+
**Note:** Version bump only for package @aws-sdk/client-kms
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
|
|
6
54
|
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
7
55
|
|
|
8
56
|
**Note:** Version bump only for package @aws-sdk/client-kms
|
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: "kms.af-south-1.amazonaws.com",
|
|
10
|
-
tags: [],
|
|
11
|
-
},
|
|
12
8
|
{
|
|
13
9
|
hostname: "kms-fips.af-south-1.amazonaws.com",
|
|
14
10
|
tags: ["fips"],
|
|
@@ -17,10 +13,6 @@ const regionHash = {
|
|
|
17
13
|
},
|
|
18
14
|
"ap-east-1": {
|
|
19
15
|
variants: [
|
|
20
|
-
{
|
|
21
|
-
hostname: "kms.ap-east-1.amazonaws.com",
|
|
22
|
-
tags: [],
|
|
23
|
-
},
|
|
24
16
|
{
|
|
25
17
|
hostname: "kms-fips.ap-east-1.amazonaws.com",
|
|
26
18
|
tags: ["fips"],
|
|
@@ -29,10 +21,6 @@ const regionHash = {
|
|
|
29
21
|
},
|
|
30
22
|
"ap-northeast-1": {
|
|
31
23
|
variants: [
|
|
32
|
-
{
|
|
33
|
-
hostname: "kms.ap-northeast-1.amazonaws.com",
|
|
34
|
-
tags: [],
|
|
35
|
-
},
|
|
36
24
|
{
|
|
37
25
|
hostname: "kms-fips.ap-northeast-1.amazonaws.com",
|
|
38
26
|
tags: ["fips"],
|
|
@@ -41,10 +29,6 @@ const regionHash = {
|
|
|
41
29
|
},
|
|
42
30
|
"ap-northeast-2": {
|
|
43
31
|
variants: [
|
|
44
|
-
{
|
|
45
|
-
hostname: "kms.ap-northeast-2.amazonaws.com",
|
|
46
|
-
tags: [],
|
|
47
|
-
},
|
|
48
32
|
{
|
|
49
33
|
hostname: "kms-fips.ap-northeast-2.amazonaws.com",
|
|
50
34
|
tags: ["fips"],
|
|
@@ -53,10 +37,6 @@ const regionHash = {
|
|
|
53
37
|
},
|
|
54
38
|
"ap-northeast-3": {
|
|
55
39
|
variants: [
|
|
56
|
-
{
|
|
57
|
-
hostname: "kms.ap-northeast-3.amazonaws.com",
|
|
58
|
-
tags: [],
|
|
59
|
-
},
|
|
60
40
|
{
|
|
61
41
|
hostname: "kms-fips.ap-northeast-3.amazonaws.com",
|
|
62
42
|
tags: ["fips"],
|
|
@@ -65,10 +45,6 @@ const regionHash = {
|
|
|
65
45
|
},
|
|
66
46
|
"ap-south-1": {
|
|
67
47
|
variants: [
|
|
68
|
-
{
|
|
69
|
-
hostname: "kms.ap-south-1.amazonaws.com",
|
|
70
|
-
tags: [],
|
|
71
|
-
},
|
|
72
48
|
{
|
|
73
49
|
hostname: "kms-fips.ap-south-1.amazonaws.com",
|
|
74
50
|
tags: ["fips"],
|
|
@@ -77,10 +53,6 @@ const regionHash = {
|
|
|
77
53
|
},
|
|
78
54
|
"ap-southeast-1": {
|
|
79
55
|
variants: [
|
|
80
|
-
{
|
|
81
|
-
hostname: "kms.ap-southeast-1.amazonaws.com",
|
|
82
|
-
tags: [],
|
|
83
|
-
},
|
|
84
56
|
{
|
|
85
57
|
hostname: "kms-fips.ap-southeast-1.amazonaws.com",
|
|
86
58
|
tags: ["fips"],
|
|
@@ -89,22 +61,22 @@ const regionHash = {
|
|
|
89
61
|
},
|
|
90
62
|
"ap-southeast-2": {
|
|
91
63
|
variants: [
|
|
92
|
-
{
|
|
93
|
-
hostname: "kms.ap-southeast-2.amazonaws.com",
|
|
94
|
-
tags: [],
|
|
95
|
-
},
|
|
96
64
|
{
|
|
97
65
|
hostname: "kms-fips.ap-southeast-2.amazonaws.com",
|
|
98
66
|
tags: ["fips"],
|
|
99
67
|
},
|
|
100
68
|
],
|
|
101
69
|
},
|
|
102
|
-
"
|
|
70
|
+
"ap-southeast-3": {
|
|
103
71
|
variants: [
|
|
104
72
|
{
|
|
105
|
-
hostname: "kms.
|
|
106
|
-
tags: [],
|
|
73
|
+
hostname: "kms-fips.ap-southeast-3.amazonaws.com",
|
|
74
|
+
tags: ["fips"],
|
|
107
75
|
},
|
|
76
|
+
],
|
|
77
|
+
},
|
|
78
|
+
"ca-central-1": {
|
|
79
|
+
variants: [
|
|
108
80
|
{
|
|
109
81
|
hostname: "kms-fips.ca-central-1.amazonaws.com",
|
|
110
82
|
tags: ["fips"],
|
|
@@ -113,10 +85,6 @@ const regionHash = {
|
|
|
113
85
|
},
|
|
114
86
|
"eu-central-1": {
|
|
115
87
|
variants: [
|
|
116
|
-
{
|
|
117
|
-
hostname: "kms.eu-central-1.amazonaws.com",
|
|
118
|
-
tags: [],
|
|
119
|
-
},
|
|
120
88
|
{
|
|
121
89
|
hostname: "kms-fips.eu-central-1.amazonaws.com",
|
|
122
90
|
tags: ["fips"],
|
|
@@ -125,10 +93,6 @@ const regionHash = {
|
|
|
125
93
|
},
|
|
126
94
|
"eu-north-1": {
|
|
127
95
|
variants: [
|
|
128
|
-
{
|
|
129
|
-
hostname: "kms.eu-north-1.amazonaws.com",
|
|
130
|
-
tags: [],
|
|
131
|
-
},
|
|
132
96
|
{
|
|
133
97
|
hostname: "kms-fips.eu-north-1.amazonaws.com",
|
|
134
98
|
tags: ["fips"],
|
|
@@ -137,10 +101,6 @@ const regionHash = {
|
|
|
137
101
|
},
|
|
138
102
|
"eu-south-1": {
|
|
139
103
|
variants: [
|
|
140
|
-
{
|
|
141
|
-
hostname: "kms.eu-south-1.amazonaws.com",
|
|
142
|
-
tags: [],
|
|
143
|
-
},
|
|
144
104
|
{
|
|
145
105
|
hostname: "kms-fips.eu-south-1.amazonaws.com",
|
|
146
106
|
tags: ["fips"],
|
|
@@ -149,10 +109,6 @@ const regionHash = {
|
|
|
149
109
|
},
|
|
150
110
|
"eu-west-1": {
|
|
151
111
|
variants: [
|
|
152
|
-
{
|
|
153
|
-
hostname: "kms.eu-west-1.amazonaws.com",
|
|
154
|
-
tags: [],
|
|
155
|
-
},
|
|
156
112
|
{
|
|
157
113
|
hostname: "kms-fips.eu-west-1.amazonaws.com",
|
|
158
114
|
tags: ["fips"],
|
|
@@ -161,10 +117,6 @@ const regionHash = {
|
|
|
161
117
|
},
|
|
162
118
|
"eu-west-2": {
|
|
163
119
|
variants: [
|
|
164
|
-
{
|
|
165
|
-
hostname: "kms.eu-west-2.amazonaws.com",
|
|
166
|
-
tags: [],
|
|
167
|
-
},
|
|
168
120
|
{
|
|
169
121
|
hostname: "kms-fips.eu-west-2.amazonaws.com",
|
|
170
122
|
tags: ["fips"],
|
|
@@ -173,10 +125,6 @@ const regionHash = {
|
|
|
173
125
|
},
|
|
174
126
|
"eu-west-3": {
|
|
175
127
|
variants: [
|
|
176
|
-
{
|
|
177
|
-
hostname: "kms.eu-west-3.amazonaws.com",
|
|
178
|
-
tags: [],
|
|
179
|
-
},
|
|
180
128
|
{
|
|
181
129
|
hostname: "kms-fips.eu-west-3.amazonaws.com",
|
|
182
130
|
tags: ["fips"],
|
|
@@ -185,10 +133,6 @@ const regionHash = {
|
|
|
185
133
|
},
|
|
186
134
|
"me-south-1": {
|
|
187
135
|
variants: [
|
|
188
|
-
{
|
|
189
|
-
hostname: "kms.me-south-1.amazonaws.com",
|
|
190
|
-
tags: [],
|
|
191
|
-
},
|
|
192
136
|
{
|
|
193
137
|
hostname: "kms-fips.me-south-1.amazonaws.com",
|
|
194
138
|
tags: ["fips"],
|
|
@@ -197,10 +141,6 @@ const regionHash = {
|
|
|
197
141
|
},
|
|
198
142
|
"sa-east-1": {
|
|
199
143
|
variants: [
|
|
200
|
-
{
|
|
201
|
-
hostname: "kms.sa-east-1.amazonaws.com",
|
|
202
|
-
tags: [],
|
|
203
|
-
},
|
|
204
144
|
{
|
|
205
145
|
hostname: "kms-fips.sa-east-1.amazonaws.com",
|
|
206
146
|
tags: ["fips"],
|
|
@@ -209,10 +149,6 @@ const regionHash = {
|
|
|
209
149
|
},
|
|
210
150
|
"us-east-1": {
|
|
211
151
|
variants: [
|
|
212
|
-
{
|
|
213
|
-
hostname: "kms.us-east-1.amazonaws.com",
|
|
214
|
-
tags: [],
|
|
215
|
-
},
|
|
216
152
|
{
|
|
217
153
|
hostname: "kms-fips.us-east-1.amazonaws.com",
|
|
218
154
|
tags: ["fips"],
|
|
@@ -221,10 +157,6 @@ const regionHash = {
|
|
|
221
157
|
},
|
|
222
158
|
"us-east-2": {
|
|
223
159
|
variants: [
|
|
224
|
-
{
|
|
225
|
-
hostname: "kms.us-east-2.amazonaws.com",
|
|
226
|
-
tags: [],
|
|
227
|
-
},
|
|
228
160
|
{
|
|
229
161
|
hostname: "kms-fips.us-east-2.amazonaws.com",
|
|
230
162
|
tags: ["fips"],
|
|
@@ -233,10 +165,6 @@ const regionHash = {
|
|
|
233
165
|
},
|
|
234
166
|
"us-gov-east-1": {
|
|
235
167
|
variants: [
|
|
236
|
-
{
|
|
237
|
-
hostname: "kms.us-gov-east-1.amazonaws.com",
|
|
238
|
-
tags: [],
|
|
239
|
-
},
|
|
240
168
|
{
|
|
241
169
|
hostname: "kms-fips.us-gov-east-1.amazonaws.com",
|
|
242
170
|
tags: ["fips"],
|
|
@@ -245,10 +173,6 @@ const regionHash = {
|
|
|
245
173
|
},
|
|
246
174
|
"us-gov-west-1": {
|
|
247
175
|
variants: [
|
|
248
|
-
{
|
|
249
|
-
hostname: "kms.us-gov-west-1.amazonaws.com",
|
|
250
|
-
tags: [],
|
|
251
|
-
},
|
|
252
176
|
{
|
|
253
177
|
hostname: "kms-fips.us-gov-west-1.amazonaws.com",
|
|
254
178
|
tags: ["fips"],
|
|
@@ -257,10 +181,6 @@ const regionHash = {
|
|
|
257
181
|
},
|
|
258
182
|
"us-iso-east-1": {
|
|
259
183
|
variants: [
|
|
260
|
-
{
|
|
261
|
-
hostname: "kms.us-iso-east-1.c2s.ic.gov",
|
|
262
|
-
tags: [],
|
|
263
|
-
},
|
|
264
184
|
{
|
|
265
185
|
hostname: "kms-fips.us-iso-east-1.c2s.ic.gov",
|
|
266
186
|
tags: ["fips"],
|
|
@@ -269,10 +189,6 @@ const regionHash = {
|
|
|
269
189
|
},
|
|
270
190
|
"us-iso-west-1": {
|
|
271
191
|
variants: [
|
|
272
|
-
{
|
|
273
|
-
hostname: "kms.us-iso-west-1.c2s.ic.gov",
|
|
274
|
-
tags: [],
|
|
275
|
-
},
|
|
276
192
|
{
|
|
277
193
|
hostname: "kms-fips.us-iso-west-1.c2s.ic.gov",
|
|
278
194
|
tags: ["fips"],
|
|
@@ -281,10 +197,6 @@ const regionHash = {
|
|
|
281
197
|
},
|
|
282
198
|
"us-isob-east-1": {
|
|
283
199
|
variants: [
|
|
284
|
-
{
|
|
285
|
-
hostname: "kms.us-isob-east-1.sc2s.sgov.gov",
|
|
286
|
-
tags: [],
|
|
287
|
-
},
|
|
288
200
|
{
|
|
289
201
|
hostname: "kms-fips.us-isob-east-1.sc2s.sgov.gov",
|
|
290
202
|
tags: ["fips"],
|
|
@@ -293,10 +205,6 @@ const regionHash = {
|
|
|
293
205
|
},
|
|
294
206
|
"us-west-1": {
|
|
295
207
|
variants: [
|
|
296
|
-
{
|
|
297
|
-
hostname: "kms.us-west-1.amazonaws.com",
|
|
298
|
-
tags: [],
|
|
299
|
-
},
|
|
300
208
|
{
|
|
301
209
|
hostname: "kms-fips.us-west-1.amazonaws.com",
|
|
302
210
|
tags: ["fips"],
|
|
@@ -305,10 +213,6 @@ const regionHash = {
|
|
|
305
213
|
},
|
|
306
214
|
"us-west-2": {
|
|
307
215
|
variants: [
|
|
308
|
-
{
|
|
309
|
-
hostname: "kms.us-west-2.amazonaws.com",
|
|
310
|
-
tags: [],
|
|
311
|
-
},
|
|
312
216
|
{
|
|
313
217
|
hostname: "kms-fips.us-west-2.amazonaws.com",
|
|
314
218
|
tags: ["fips"],
|
|
@@ -335,6 +239,7 @@ const partitionHash = {
|
|
|
335
239
|
"ap-southeast-1-fips",
|
|
336
240
|
"ap-southeast-2",
|
|
337
241
|
"ap-southeast-2-fips",
|
|
242
|
+
"ap-southeast-3",
|
|
338
243
|
"ap-southeast-3-fips",
|
|
339
244
|
"ca-central-1",
|
|
340
245
|
"ca-central-1-fips",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.VerifyResponse = exports.VerifyRequest = exports.UpdatePrimaryRegionRequest = exports.UpdateKeyDescriptionRequest = exports.UpdateCustomKeyStoreResponse = exports.UpdateCustomKeyStoreRequest = exports.UpdateAliasRequest =
|
|
3
|
+
exports.EnableKeyRotationRequest = exports.EnableKeyRequest = exports.DisconnectCustomKeyStoreResponse = exports.DisconnectCustomKeyStoreRequest = exports.DisableKeyRotationRequest = exports.DisableKeyRequest = exports.DescribeKeyResponse = exports.DescribeKeyRequest = exports.DescribeCustomKeyStoresResponse = exports.DescribeCustomKeyStoresRequest = exports.DeleteImportedKeyMaterialRequest = exports.DeleteCustomKeyStoreResponse = exports.DeleteCustomKeyStoreRequest = exports.DeleteAliasRequest = exports.DecryptResponse = exports.DecryptRequest = exports.DataKeySpec = exports.DataKeyPairSpec = exports.CustomKeyStoresListEntry = exports.CreateKeyResponse = exports.KeyMetadata = exports.SigningAlgorithmSpec = exports.MultiRegionConfiguration = exports.MultiRegionKey = exports.MultiRegionKeyType = exports.KeyState = exports.KeyManagerType = exports.ExpirationModelType = exports.EncryptionAlgorithmSpec = exports.CreateKeyRequest = exports.Tag = exports.OriginType = exports.KeyUsageType = exports.KeySpec = exports.CustomerMasterKeySpec = exports.CreateGrantResponse = exports.CreateGrantRequest = exports.GrantOperation = exports.GrantConstraints = exports.CreateCustomKeyStoreResponse = exports.CreateCustomKeyStoreRequest = exports.CreateAliasRequest = exports.ConnectionStateType = exports.ConnectionErrorCodeType = exports.ConnectCustomKeyStoreResponse = exports.ConnectCustomKeyStoreRequest = exports.CancelKeyDeletionResponse = exports.CancelKeyDeletionRequest = exports.AliasListEntry = exports.AlgorithmSpec = void 0;
|
|
4
|
+
exports.UntagResourceRequest = exports.TagResourceRequest = exports.SignResponse = exports.SignRequest = exports.ScheduleKeyDeletionResponse = exports.ScheduleKeyDeletionRequest = exports.RevokeGrantRequest = exports.RetireGrantRequest = exports.ReplicateKeyResponse = exports.ReplicateKeyRequest = exports.ReEncryptResponse = exports.ReEncryptRequest = exports.PutKeyPolicyRequest = exports.MessageType = exports.ListRetirableGrantsRequest = exports.ListResourceTagsResponse = exports.ListResourceTagsRequest = exports.ListKeysResponse = exports.ListKeysRequest = exports.ListKeyPoliciesResponse = exports.ListKeyPoliciesRequest = exports.ListGrantsResponse = exports.ListGrantsRequest = exports.ListAliasesResponse = exports.ListAliasesRequest = exports.KeyListEntry = exports.ImportKeyMaterialResponse = exports.ImportKeyMaterialRequest = exports.GrantListEntry = exports.GetPublicKeyResponse = exports.GetPublicKeyRequest = exports.GetParametersForImportResponse = exports.GetParametersForImportRequest = exports.WrappingKeySpec = exports.GetKeyRotationStatusResponse = exports.GetKeyRotationStatusRequest = exports.GetKeyPolicyResponse = exports.GetKeyPolicyRequest = exports.GenerateRandomResponse = exports.GenerateRandomRequest = exports.GenerateDataKeyWithoutPlaintextResponse = exports.GenerateDataKeyWithoutPlaintextRequest = exports.GenerateDataKeyPairWithoutPlaintextResponse = exports.GenerateDataKeyPairWithoutPlaintextRequest = exports.GenerateDataKeyPairResponse = exports.GenerateDataKeyPairRequest = exports.GenerateDataKeyResponse = exports.GenerateDataKeyRequest = exports.EncryptResponse = exports.EncryptRequest = void 0;
|
|
5
|
+
exports.VerifyResponse = exports.VerifyRequest = exports.UpdatePrimaryRegionRequest = exports.UpdateKeyDescriptionRequest = exports.UpdateCustomKeyStoreResponse = exports.UpdateCustomKeyStoreRequest = exports.UpdateAliasRequest = void 0;
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
var AlgorithmSpec;
|
|
8
8
|
(function (AlgorithmSpec) {
|
|
@@ -16,12 +16,6 @@ var AliasListEntry;
|
|
|
16
16
|
...obj,
|
|
17
17
|
});
|
|
18
18
|
})(AliasListEntry = exports.AliasListEntry || (exports.AliasListEntry = {}));
|
|
19
|
-
var AlreadyExistsException;
|
|
20
|
-
(function (AlreadyExistsException) {
|
|
21
|
-
AlreadyExistsException.filterSensitiveLog = (obj) => ({
|
|
22
|
-
...obj,
|
|
23
|
-
});
|
|
24
|
-
})(AlreadyExistsException = exports.AlreadyExistsException || (exports.AlreadyExistsException = {}));
|
|
25
19
|
var CancelKeyDeletionRequest;
|
|
26
20
|
(function (CancelKeyDeletionRequest) {
|
|
27
21
|
CancelKeyDeletionRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -34,66 +28,6 @@ var CancelKeyDeletionResponse;
|
|
|
34
28
|
...obj,
|
|
35
29
|
});
|
|
36
30
|
})(CancelKeyDeletionResponse = exports.CancelKeyDeletionResponse || (exports.CancelKeyDeletionResponse = {}));
|
|
37
|
-
var DependencyTimeoutException;
|
|
38
|
-
(function (DependencyTimeoutException) {
|
|
39
|
-
DependencyTimeoutException.filterSensitiveLog = (obj) => ({
|
|
40
|
-
...obj,
|
|
41
|
-
});
|
|
42
|
-
})(DependencyTimeoutException = exports.DependencyTimeoutException || (exports.DependencyTimeoutException = {}));
|
|
43
|
-
var InvalidArnException;
|
|
44
|
-
(function (InvalidArnException) {
|
|
45
|
-
InvalidArnException.filterSensitiveLog = (obj) => ({
|
|
46
|
-
...obj,
|
|
47
|
-
});
|
|
48
|
-
})(InvalidArnException = exports.InvalidArnException || (exports.InvalidArnException = {}));
|
|
49
|
-
var KMSInternalException;
|
|
50
|
-
(function (KMSInternalException) {
|
|
51
|
-
KMSInternalException.filterSensitiveLog = (obj) => ({
|
|
52
|
-
...obj,
|
|
53
|
-
});
|
|
54
|
-
})(KMSInternalException = exports.KMSInternalException || (exports.KMSInternalException = {}));
|
|
55
|
-
var KMSInvalidStateException;
|
|
56
|
-
(function (KMSInvalidStateException) {
|
|
57
|
-
KMSInvalidStateException.filterSensitiveLog = (obj) => ({
|
|
58
|
-
...obj,
|
|
59
|
-
});
|
|
60
|
-
})(KMSInvalidStateException = exports.KMSInvalidStateException || (exports.KMSInvalidStateException = {}));
|
|
61
|
-
var NotFoundException;
|
|
62
|
-
(function (NotFoundException) {
|
|
63
|
-
NotFoundException.filterSensitiveLog = (obj) => ({
|
|
64
|
-
...obj,
|
|
65
|
-
});
|
|
66
|
-
})(NotFoundException = exports.NotFoundException || (exports.NotFoundException = {}));
|
|
67
|
-
var CloudHsmClusterInUseException;
|
|
68
|
-
(function (CloudHsmClusterInUseException) {
|
|
69
|
-
CloudHsmClusterInUseException.filterSensitiveLog = (obj) => ({
|
|
70
|
-
...obj,
|
|
71
|
-
});
|
|
72
|
-
})(CloudHsmClusterInUseException = exports.CloudHsmClusterInUseException || (exports.CloudHsmClusterInUseException = {}));
|
|
73
|
-
var CloudHsmClusterInvalidConfigurationException;
|
|
74
|
-
(function (CloudHsmClusterInvalidConfigurationException) {
|
|
75
|
-
CloudHsmClusterInvalidConfigurationException.filterSensitiveLog = (obj) => ({
|
|
76
|
-
...obj,
|
|
77
|
-
});
|
|
78
|
-
})(CloudHsmClusterInvalidConfigurationException = exports.CloudHsmClusterInvalidConfigurationException || (exports.CloudHsmClusterInvalidConfigurationException = {}));
|
|
79
|
-
var CloudHsmClusterNotActiveException;
|
|
80
|
-
(function (CloudHsmClusterNotActiveException) {
|
|
81
|
-
CloudHsmClusterNotActiveException.filterSensitiveLog = (obj) => ({
|
|
82
|
-
...obj,
|
|
83
|
-
});
|
|
84
|
-
})(CloudHsmClusterNotActiveException = exports.CloudHsmClusterNotActiveException || (exports.CloudHsmClusterNotActiveException = {}));
|
|
85
|
-
var CloudHsmClusterNotFoundException;
|
|
86
|
-
(function (CloudHsmClusterNotFoundException) {
|
|
87
|
-
CloudHsmClusterNotFoundException.filterSensitiveLog = (obj) => ({
|
|
88
|
-
...obj,
|
|
89
|
-
});
|
|
90
|
-
})(CloudHsmClusterNotFoundException = exports.CloudHsmClusterNotFoundException || (exports.CloudHsmClusterNotFoundException = {}));
|
|
91
|
-
var CloudHsmClusterNotRelatedException;
|
|
92
|
-
(function (CloudHsmClusterNotRelatedException) {
|
|
93
|
-
CloudHsmClusterNotRelatedException.filterSensitiveLog = (obj) => ({
|
|
94
|
-
...obj,
|
|
95
|
-
});
|
|
96
|
-
})(CloudHsmClusterNotRelatedException = exports.CloudHsmClusterNotRelatedException || (exports.CloudHsmClusterNotRelatedException = {}));
|
|
97
31
|
var ConnectCustomKeyStoreRequest;
|
|
98
32
|
(function (ConnectCustomKeyStoreRequest) {
|
|
99
33
|
ConnectCustomKeyStoreRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -106,18 +40,6 @@ var ConnectCustomKeyStoreResponse;
|
|
|
106
40
|
...obj,
|
|
107
41
|
});
|
|
108
42
|
})(ConnectCustomKeyStoreResponse = exports.ConnectCustomKeyStoreResponse || (exports.ConnectCustomKeyStoreResponse = {}));
|
|
109
|
-
var CustomKeyStoreInvalidStateException;
|
|
110
|
-
(function (CustomKeyStoreInvalidStateException) {
|
|
111
|
-
CustomKeyStoreInvalidStateException.filterSensitiveLog = (obj) => ({
|
|
112
|
-
...obj,
|
|
113
|
-
});
|
|
114
|
-
})(CustomKeyStoreInvalidStateException = exports.CustomKeyStoreInvalidStateException || (exports.CustomKeyStoreInvalidStateException = {}));
|
|
115
|
-
var CustomKeyStoreNotFoundException;
|
|
116
|
-
(function (CustomKeyStoreNotFoundException) {
|
|
117
|
-
CustomKeyStoreNotFoundException.filterSensitiveLog = (obj) => ({
|
|
118
|
-
...obj,
|
|
119
|
-
});
|
|
120
|
-
})(CustomKeyStoreNotFoundException = exports.CustomKeyStoreNotFoundException || (exports.CustomKeyStoreNotFoundException = {}));
|
|
121
43
|
var ConnectionErrorCodeType;
|
|
122
44
|
(function (ConnectionErrorCodeType) {
|
|
123
45
|
ConnectionErrorCodeType["CLUSTER_NOT_FOUND"] = "CLUSTER_NOT_FOUND";
|
|
@@ -144,18 +66,6 @@ var CreateAliasRequest;
|
|
|
144
66
|
...obj,
|
|
145
67
|
});
|
|
146
68
|
})(CreateAliasRequest = exports.CreateAliasRequest || (exports.CreateAliasRequest = {}));
|
|
147
|
-
var InvalidAliasNameException;
|
|
148
|
-
(function (InvalidAliasNameException) {
|
|
149
|
-
InvalidAliasNameException.filterSensitiveLog = (obj) => ({
|
|
150
|
-
...obj,
|
|
151
|
-
});
|
|
152
|
-
})(InvalidAliasNameException = exports.InvalidAliasNameException || (exports.InvalidAliasNameException = {}));
|
|
153
|
-
var LimitExceededException;
|
|
154
|
-
(function (LimitExceededException) {
|
|
155
|
-
LimitExceededException.filterSensitiveLog = (obj) => ({
|
|
156
|
-
...obj,
|
|
157
|
-
});
|
|
158
|
-
})(LimitExceededException = exports.LimitExceededException || (exports.LimitExceededException = {}));
|
|
159
69
|
var CreateCustomKeyStoreRequest;
|
|
160
70
|
(function (CreateCustomKeyStoreRequest) {
|
|
161
71
|
CreateCustomKeyStoreRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -169,18 +79,6 @@ var CreateCustomKeyStoreResponse;
|
|
|
169
79
|
...obj,
|
|
170
80
|
});
|
|
171
81
|
})(CreateCustomKeyStoreResponse = exports.CreateCustomKeyStoreResponse || (exports.CreateCustomKeyStoreResponse = {}));
|
|
172
|
-
var CustomKeyStoreNameInUseException;
|
|
173
|
-
(function (CustomKeyStoreNameInUseException) {
|
|
174
|
-
CustomKeyStoreNameInUseException.filterSensitiveLog = (obj) => ({
|
|
175
|
-
...obj,
|
|
176
|
-
});
|
|
177
|
-
})(CustomKeyStoreNameInUseException = exports.CustomKeyStoreNameInUseException || (exports.CustomKeyStoreNameInUseException = {}));
|
|
178
|
-
var IncorrectTrustAnchorException;
|
|
179
|
-
(function (IncorrectTrustAnchorException) {
|
|
180
|
-
IncorrectTrustAnchorException.filterSensitiveLog = (obj) => ({
|
|
181
|
-
...obj,
|
|
182
|
-
});
|
|
183
|
-
})(IncorrectTrustAnchorException = exports.IncorrectTrustAnchorException || (exports.IncorrectTrustAnchorException = {}));
|
|
184
82
|
var GrantConstraints;
|
|
185
83
|
(function (GrantConstraints) {
|
|
186
84
|
GrantConstraints.filterSensitiveLog = (obj) => ({
|
|
@@ -216,18 +114,6 @@ var CreateGrantResponse;
|
|
|
216
114
|
...obj,
|
|
217
115
|
});
|
|
218
116
|
})(CreateGrantResponse = exports.CreateGrantResponse || (exports.CreateGrantResponse = {}));
|
|
219
|
-
var DisabledException;
|
|
220
|
-
(function (DisabledException) {
|
|
221
|
-
DisabledException.filterSensitiveLog = (obj) => ({
|
|
222
|
-
...obj,
|
|
223
|
-
});
|
|
224
|
-
})(DisabledException = exports.DisabledException || (exports.DisabledException = {}));
|
|
225
|
-
var InvalidGrantTokenException;
|
|
226
|
-
(function (InvalidGrantTokenException) {
|
|
227
|
-
InvalidGrantTokenException.filterSensitiveLog = (obj) => ({
|
|
228
|
-
...obj,
|
|
229
|
-
});
|
|
230
|
-
})(InvalidGrantTokenException = exports.InvalidGrantTokenException || (exports.InvalidGrantTokenException = {}));
|
|
231
117
|
var CustomerMasterKeySpec;
|
|
232
118
|
(function (CustomerMasterKeySpec) {
|
|
233
119
|
CustomerMasterKeySpec["ECC_NIST_P256"] = "ECC_NIST_P256";
|
|
@@ -341,30 +227,6 @@ var CreateKeyResponse;
|
|
|
341
227
|
...obj,
|
|
342
228
|
});
|
|
343
229
|
})(CreateKeyResponse = exports.CreateKeyResponse || (exports.CreateKeyResponse = {}));
|
|
344
|
-
var MalformedPolicyDocumentException;
|
|
345
|
-
(function (MalformedPolicyDocumentException) {
|
|
346
|
-
MalformedPolicyDocumentException.filterSensitiveLog = (obj) => ({
|
|
347
|
-
...obj,
|
|
348
|
-
});
|
|
349
|
-
})(MalformedPolicyDocumentException = exports.MalformedPolicyDocumentException || (exports.MalformedPolicyDocumentException = {}));
|
|
350
|
-
var TagException;
|
|
351
|
-
(function (TagException) {
|
|
352
|
-
TagException.filterSensitiveLog = (obj) => ({
|
|
353
|
-
...obj,
|
|
354
|
-
});
|
|
355
|
-
})(TagException = exports.TagException || (exports.TagException = {}));
|
|
356
|
-
var UnsupportedOperationException;
|
|
357
|
-
(function (UnsupportedOperationException) {
|
|
358
|
-
UnsupportedOperationException.filterSensitiveLog = (obj) => ({
|
|
359
|
-
...obj,
|
|
360
|
-
});
|
|
361
|
-
})(UnsupportedOperationException = exports.UnsupportedOperationException || (exports.UnsupportedOperationException = {}));
|
|
362
|
-
var CustomKeyStoreHasCMKsException;
|
|
363
|
-
(function (CustomKeyStoreHasCMKsException) {
|
|
364
|
-
CustomKeyStoreHasCMKsException.filterSensitiveLog = (obj) => ({
|
|
365
|
-
...obj,
|
|
366
|
-
});
|
|
367
|
-
})(CustomKeyStoreHasCMKsException = exports.CustomKeyStoreHasCMKsException || (exports.CustomKeyStoreHasCMKsException = {}));
|
|
368
230
|
var CustomKeyStoresListEntry;
|
|
369
231
|
(function (CustomKeyStoresListEntry) {
|
|
370
232
|
CustomKeyStoresListEntry.filterSensitiveLog = (obj) => ({
|
|
@@ -399,30 +261,6 @@ var DecryptResponse;
|
|
|
399
261
|
...(obj.Plaintext && { Plaintext: smithy_client_1.SENSITIVE_STRING }),
|
|
400
262
|
});
|
|
401
263
|
})(DecryptResponse = exports.DecryptResponse || (exports.DecryptResponse = {}));
|
|
402
|
-
var IncorrectKeyException;
|
|
403
|
-
(function (IncorrectKeyException) {
|
|
404
|
-
IncorrectKeyException.filterSensitiveLog = (obj) => ({
|
|
405
|
-
...obj,
|
|
406
|
-
});
|
|
407
|
-
})(IncorrectKeyException = exports.IncorrectKeyException || (exports.IncorrectKeyException = {}));
|
|
408
|
-
var InvalidCiphertextException;
|
|
409
|
-
(function (InvalidCiphertextException) {
|
|
410
|
-
InvalidCiphertextException.filterSensitiveLog = (obj) => ({
|
|
411
|
-
...obj,
|
|
412
|
-
});
|
|
413
|
-
})(InvalidCiphertextException = exports.InvalidCiphertextException || (exports.InvalidCiphertextException = {}));
|
|
414
|
-
var InvalidKeyUsageException;
|
|
415
|
-
(function (InvalidKeyUsageException) {
|
|
416
|
-
InvalidKeyUsageException.filterSensitiveLog = (obj) => ({
|
|
417
|
-
...obj,
|
|
418
|
-
});
|
|
419
|
-
})(InvalidKeyUsageException = exports.InvalidKeyUsageException || (exports.InvalidKeyUsageException = {}));
|
|
420
|
-
var KeyUnavailableException;
|
|
421
|
-
(function (KeyUnavailableException) {
|
|
422
|
-
KeyUnavailableException.filterSensitiveLog = (obj) => ({
|
|
423
|
-
...obj,
|
|
424
|
-
});
|
|
425
|
-
})(KeyUnavailableException = exports.KeyUnavailableException || (exports.KeyUnavailableException = {}));
|
|
426
264
|
var DeleteAliasRequest;
|
|
427
265
|
(function (DeleteAliasRequest) {
|
|
428
266
|
DeleteAliasRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -459,12 +297,6 @@ var DescribeCustomKeyStoresResponse;
|
|
|
459
297
|
...obj,
|
|
460
298
|
});
|
|
461
299
|
})(DescribeCustomKeyStoresResponse = exports.DescribeCustomKeyStoresResponse || (exports.DescribeCustomKeyStoresResponse = {}));
|
|
462
|
-
var InvalidMarkerException;
|
|
463
|
-
(function (InvalidMarkerException) {
|
|
464
|
-
InvalidMarkerException.filterSensitiveLog = (obj) => ({
|
|
465
|
-
...obj,
|
|
466
|
-
});
|
|
467
|
-
})(InvalidMarkerException = exports.InvalidMarkerException || (exports.InvalidMarkerException = {}));
|
|
468
300
|
var DescribeKeyRequest;
|
|
469
301
|
(function (DescribeKeyRequest) {
|
|
470
302
|
DescribeKeyRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -526,12 +358,6 @@ var EncryptResponse;
|
|
|
526
358
|
...obj,
|
|
527
359
|
});
|
|
528
360
|
})(EncryptResponse = exports.EncryptResponse || (exports.EncryptResponse = {}));
|
|
529
|
-
var ExpiredImportTokenException;
|
|
530
|
-
(function (ExpiredImportTokenException) {
|
|
531
|
-
ExpiredImportTokenException.filterSensitiveLog = (obj) => ({
|
|
532
|
-
...obj,
|
|
533
|
-
});
|
|
534
|
-
})(ExpiredImportTokenException = exports.ExpiredImportTokenException || (exports.ExpiredImportTokenException = {}));
|
|
535
361
|
var GenerateDataKeyRequest;
|
|
536
362
|
(function (GenerateDataKeyRequest) {
|
|
537
363
|
GenerateDataKeyRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -666,36 +492,12 @@ var ImportKeyMaterialResponse;
|
|
|
666
492
|
...obj,
|
|
667
493
|
});
|
|
668
494
|
})(ImportKeyMaterialResponse = exports.ImportKeyMaterialResponse || (exports.ImportKeyMaterialResponse = {}));
|
|
669
|
-
var IncorrectKeyMaterialException;
|
|
670
|
-
(function (IncorrectKeyMaterialException) {
|
|
671
|
-
IncorrectKeyMaterialException.filterSensitiveLog = (obj) => ({
|
|
672
|
-
...obj,
|
|
673
|
-
});
|
|
674
|
-
})(IncorrectKeyMaterialException = exports.IncorrectKeyMaterialException || (exports.IncorrectKeyMaterialException = {}));
|
|
675
|
-
var InvalidImportTokenException;
|
|
676
|
-
(function (InvalidImportTokenException) {
|
|
677
|
-
InvalidImportTokenException.filterSensitiveLog = (obj) => ({
|
|
678
|
-
...obj,
|
|
679
|
-
});
|
|
680
|
-
})(InvalidImportTokenException = exports.InvalidImportTokenException || (exports.InvalidImportTokenException = {}));
|
|
681
|
-
var InvalidGrantIdException;
|
|
682
|
-
(function (InvalidGrantIdException) {
|
|
683
|
-
InvalidGrantIdException.filterSensitiveLog = (obj) => ({
|
|
684
|
-
...obj,
|
|
685
|
-
});
|
|
686
|
-
})(InvalidGrantIdException = exports.InvalidGrantIdException || (exports.InvalidGrantIdException = {}));
|
|
687
495
|
var KeyListEntry;
|
|
688
496
|
(function (KeyListEntry) {
|
|
689
497
|
KeyListEntry.filterSensitiveLog = (obj) => ({
|
|
690
498
|
...obj,
|
|
691
499
|
});
|
|
692
500
|
})(KeyListEntry = exports.KeyListEntry || (exports.KeyListEntry = {}));
|
|
693
|
-
var KMSInvalidSignatureException;
|
|
694
|
-
(function (KMSInvalidSignatureException) {
|
|
695
|
-
KMSInvalidSignatureException.filterSensitiveLog = (obj) => ({
|
|
696
|
-
...obj,
|
|
697
|
-
});
|
|
698
|
-
})(KMSInvalidSignatureException = exports.KMSInvalidSignatureException || (exports.KMSInvalidSignatureException = {}));
|
|
699
501
|
var ListAliasesRequest;
|
|
700
502
|
(function (ListAliasesRequest) {
|
|
701
503
|
ListAliasesRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
13
13
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
15
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
16
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
17
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
16
18
|
const getRuntimeConfig = (config) => {
|
|
17
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
+
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
21
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
18
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
19
23
|
return {
|
|
20
24
|
...clientSharedValues,
|
|
21
25
|
...config,
|
|
22
26
|
runtime: "browser",
|
|
27
|
+
defaultsMode,
|
|
23
28
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
24
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
25
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
|
|
|
27
32
|
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
28
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
29
34
|
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
30
|
-
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
|
|
31
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() =>
|
|
35
|
+
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
32
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
33
38
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
34
39
|
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)),
|