@cdk8s/awscdk-resolver 0.0.589 → 0.0.591
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/.jsii +3 -3
- package/lib/resolve.js +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/README.md +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/index.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +1 -1
- package/node_modules/@aws-sdk/client-cloudformation/package.json +5 -5
- package/node_modules/@aws-sdk/core/dist-cjs/index.js +12 -6
- package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +12 -6
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +1 -0
- package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +11 -6
- package/node_modules/@aws-sdk/core/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-http/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
- package/node_modules/@aws-sdk/credential-provider-login/package.json +5 -5
- package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -6
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +99 -106
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +62 -120
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +55 -86
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +73 -104
- package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +102 -185
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/bdd.js +21 -57
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +73 -41
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +20 -52
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +36 -59
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js +17 -45
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +32 -32
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js +17 -45
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -4
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +50 -50
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +4 -5
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js +1 -1
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js +34 -96
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js +1 -2
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +3 -6
- package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +63 -80
- package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
- package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +3 -3
- package/node_modules/@aws-sdk/token-providers/package.json +5 -5
- package/node_modules/@aws-sdk/types/package.json +2 -2
- package/node_modules/@aws-sdk/util-locate-window/package.json +2 -2
- package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
- package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js +2 -2
- package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/node-http.js +2 -0
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -1
- package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/node-http.d.ts +2 -0
- package/node_modules/@smithy/credential-provider-imds/package.json +1 -1
- package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +6 -4
- package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +7 -6
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +2 -1
- package/node_modules/@smithy/node-http-handler/dist-es/node-http2.js +2 -0
- package/node_modules/@smithy/node-http-handler/dist-es/node-https.js +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +2 -2
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
- package/node_modules/@smithy/node-http-handler/dist-types/node-http2.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/dist-types/node-https.d.ts +2 -0
- package/node_modules/@smithy/node-http-handler/package.json +1 -1
- package/package.json +4 -4
|
@@ -42,7 +42,7 @@ const _data = {
|
|
|
42
42
|
[f, [m, "ap-southeast-1"]],
|
|
43
43
|
[f, [m, "ap-northeast-1"]],
|
|
44
44
|
[f, [m, "ap-southeast-2"]],
|
|
45
|
-
[f, [{ fn: g, argv: [n, "name"] }, "aws-us-gov"]]
|
|
45
|
+
[f, [{ fn: g, argv: [n, "name"] }, "aws-us-gov"]]
|
|
46
46
|
],
|
|
47
47
|
results: [
|
|
48
48
|
[a],
|
|
@@ -59,105 +59,43 @@ const _data = {
|
|
|
59
59
|
["https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", o],
|
|
60
60
|
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
61
61
|
[k, o],
|
|
62
|
-
[a, "Invalid Configuration: Missing Region"]
|
|
63
|
-
]
|
|
62
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
63
|
+
]
|
|
64
64
|
};
|
|
65
65
|
const root = 2;
|
|
66
66
|
const r = 100_000_000;
|
|
67
67
|
const nodes = new Int32Array([
|
|
68
|
-
-1,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
1,
|
|
75
|
-
|
|
76
|
-
r +
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
r +
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
r + 1,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
r +
|
|
92
|
-
|
|
93
|
-
r +
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
r +
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
r + 1,
|
|
100
|
-
12,
|
|
101
|
-
12,
|
|
102
|
-
r + 1,
|
|
103
|
-
13,
|
|
104
|
-
13,
|
|
105
|
-
r + 1,
|
|
106
|
-
14,
|
|
107
|
-
14,
|
|
108
|
-
r + 1,
|
|
109
|
-
15,
|
|
110
|
-
15,
|
|
111
|
-
r + 1,
|
|
112
|
-
16,
|
|
113
|
-
16,
|
|
114
|
-
r + 1,
|
|
115
|
-
17,
|
|
116
|
-
17,
|
|
117
|
-
r + 1,
|
|
118
|
-
18,
|
|
119
|
-
18,
|
|
120
|
-
r + 1,
|
|
121
|
-
19,
|
|
122
|
-
19,
|
|
123
|
-
r + 1,
|
|
124
|
-
20,
|
|
125
|
-
20,
|
|
126
|
-
r + 1,
|
|
127
|
-
21,
|
|
128
|
-
21,
|
|
129
|
-
r + 1,
|
|
130
|
-
22,
|
|
131
|
-
22,
|
|
132
|
-
r + 1,
|
|
133
|
-
23,
|
|
134
|
-
23,
|
|
135
|
-
r + 1,
|
|
136
|
-
r + 2,
|
|
137
|
-
8,
|
|
138
|
-
r + 11,
|
|
139
|
-
r + 12,
|
|
140
|
-
4,
|
|
141
|
-
28,
|
|
142
|
-
26,
|
|
143
|
-
9,
|
|
144
|
-
27,
|
|
145
|
-
r + 10,
|
|
146
|
-
24,
|
|
147
|
-
r + 8,
|
|
148
|
-
r + 9,
|
|
149
|
-
8,
|
|
150
|
-
29,
|
|
151
|
-
r + 7,
|
|
152
|
-
9,
|
|
153
|
-
r + 6,
|
|
154
|
-
r + 7,
|
|
155
|
-
3,
|
|
156
|
-
r + 3,
|
|
157
|
-
31,
|
|
158
|
-
4,
|
|
159
|
-
r + 4,
|
|
160
|
-
r + 5,
|
|
68
|
+
-1, 1, -1,
|
|
69
|
+
0, 30, 3,
|
|
70
|
+
1, 4, r + 14,
|
|
71
|
+
2, 5, r + 14,
|
|
72
|
+
3, 25, 6,
|
|
73
|
+
4, 24, 7,
|
|
74
|
+
5, r + 1, 8,
|
|
75
|
+
6, 9, r + 13,
|
|
76
|
+
7, r + 1, 10,
|
|
77
|
+
10, r + 1, 11,
|
|
78
|
+
11, r + 1, 12,
|
|
79
|
+
12, r + 1, 13,
|
|
80
|
+
13, r + 1, 14,
|
|
81
|
+
14, r + 1, 15,
|
|
82
|
+
15, r + 1, 16,
|
|
83
|
+
16, r + 1, 17,
|
|
84
|
+
17, r + 1, 18,
|
|
85
|
+
18, r + 1, 19,
|
|
86
|
+
19, r + 1, 20,
|
|
87
|
+
20, r + 1, 21,
|
|
88
|
+
21, r + 1, 22,
|
|
89
|
+
22, r + 1, 23,
|
|
90
|
+
23, r + 1, r + 2,
|
|
91
|
+
8, r + 11, r + 12,
|
|
92
|
+
4, 28, 26,
|
|
93
|
+
9, 27, r + 10,
|
|
94
|
+
24, r + 8, r + 9,
|
|
95
|
+
8, 29, r + 7,
|
|
96
|
+
9, r + 6, r + 7,
|
|
97
|
+
3, r + 3, 31,
|
|
98
|
+
4, r + 4, r + 5,
|
|
161
99
|
]);
|
|
162
100
|
const bdd = endpoints.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
163
101
|
|
|
@@ -189,10 +127,9 @@ const createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSc
|
|
|
189
127
|
const _defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
190
128
|
return {
|
|
191
129
|
operation: client.getSmithyContext(context).operation,
|
|
192
|
-
region:
|
|
193
|
-
(
|
|
194
|
-
|
|
195
|
-
})(),
|
|
130
|
+
region: await client.normalizeProvider(config.region)() || (() => {
|
|
131
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
132
|
+
})(),
|
|
196
133
|
};
|
|
197
134
|
};
|
|
198
135
|
const defaultSTSHttpAuthSchemeParametersProvider = createEndpointRuleSetHttpAuthSchemeParametersProvider(_defaultSTSHttpAuthSchemeParametersProvider);
|
|
@@ -319,7 +256,7 @@ const commonParams = {
|
|
|
319
256
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
320
257
|
};
|
|
321
258
|
|
|
322
|
-
var version = "3.997.
|
|
259
|
+
var version = "3.997.16";
|
|
323
260
|
var packageInfo = {
|
|
324
261
|
version: version};
|
|
325
262
|
|
|
@@ -479,130 +416,113 @@ const _s_registry = schema.TypeRegistry.for(_s);
|
|
|
479
416
|
var STSServiceException$ = [-3, _s, "STSServiceException", 0, [], []];
|
|
480
417
|
_s_registry.registerError(STSServiceException$, STSServiceException);
|
|
481
418
|
const n0_registry = schema.TypeRegistry.for(n0);
|
|
482
|
-
var ExpiredTokenException$ = [
|
|
483
|
-
-3,
|
|
484
|
-
n0,
|
|
485
|
-
_ETE,
|
|
419
|
+
var ExpiredTokenException$ = [-3, n0, _ETE,
|
|
486
420
|
{ [_aQE]: [`ExpiredTokenException`, 400], [_e]: _c, [_hE]: 400 },
|
|
487
421
|
[_m],
|
|
488
|
-
[0]
|
|
422
|
+
[0]
|
|
489
423
|
];
|
|
490
424
|
n0_registry.registerError(ExpiredTokenException$, ExpiredTokenException);
|
|
491
|
-
var IDPCommunicationErrorException$ = [
|
|
492
|
-
-3,
|
|
493
|
-
n0,
|
|
494
|
-
_IDPCEE,
|
|
425
|
+
var IDPCommunicationErrorException$ = [-3, n0, _IDPCEE,
|
|
495
426
|
{ [_aQE]: [`IDPCommunicationError`, 400], [_e]: _c, [_hE]: 400 },
|
|
496
427
|
[_m],
|
|
497
|
-
[0]
|
|
428
|
+
[0]
|
|
498
429
|
];
|
|
499
430
|
n0_registry.registerError(IDPCommunicationErrorException$, IDPCommunicationErrorException);
|
|
500
|
-
var IDPRejectedClaimException$ = [
|
|
501
|
-
-3,
|
|
502
|
-
n0,
|
|
503
|
-
_IDPRCE,
|
|
431
|
+
var IDPRejectedClaimException$ = [-3, n0, _IDPRCE,
|
|
504
432
|
{ [_aQE]: [`IDPRejectedClaim`, 403], [_e]: _c, [_hE]: 403 },
|
|
505
433
|
[_m],
|
|
506
|
-
[0]
|
|
434
|
+
[0]
|
|
507
435
|
];
|
|
508
436
|
n0_registry.registerError(IDPRejectedClaimException$, IDPRejectedClaimException);
|
|
509
|
-
var InvalidIdentityTokenException$ = [
|
|
510
|
-
-3,
|
|
511
|
-
n0,
|
|
512
|
-
_IITE,
|
|
437
|
+
var InvalidIdentityTokenException$ = [-3, n0, _IITE,
|
|
513
438
|
{ [_aQE]: [`InvalidIdentityToken`, 400], [_e]: _c, [_hE]: 400 },
|
|
514
439
|
[_m],
|
|
515
|
-
[0]
|
|
440
|
+
[0]
|
|
516
441
|
];
|
|
517
442
|
n0_registry.registerError(InvalidIdentityTokenException$, InvalidIdentityTokenException);
|
|
518
|
-
var MalformedPolicyDocumentException$ = [
|
|
519
|
-
-3,
|
|
520
|
-
n0,
|
|
521
|
-
_MPDE,
|
|
443
|
+
var MalformedPolicyDocumentException$ = [-3, n0, _MPDE,
|
|
522
444
|
{ [_aQE]: [`MalformedPolicyDocument`, 400], [_e]: _c, [_hE]: 400 },
|
|
523
445
|
[_m],
|
|
524
|
-
[0]
|
|
446
|
+
[0]
|
|
525
447
|
];
|
|
526
448
|
n0_registry.registerError(MalformedPolicyDocumentException$, MalformedPolicyDocumentException);
|
|
527
|
-
var PackedPolicyTooLargeException$ = [
|
|
528
|
-
-3,
|
|
529
|
-
n0,
|
|
530
|
-
_PPTLE,
|
|
449
|
+
var PackedPolicyTooLargeException$ = [-3, n0, _PPTLE,
|
|
531
450
|
{ [_aQE]: [`PackedPolicyTooLarge`, 400], [_e]: _c, [_hE]: 400 },
|
|
532
451
|
[_m],
|
|
533
|
-
[0]
|
|
452
|
+
[0]
|
|
534
453
|
];
|
|
535
454
|
n0_registry.registerError(PackedPolicyTooLargeException$, PackedPolicyTooLargeException);
|
|
536
|
-
var RegionDisabledException$ = [
|
|
537
|
-
-3,
|
|
538
|
-
n0,
|
|
539
|
-
_RDE,
|
|
455
|
+
var RegionDisabledException$ = [-3, n0, _RDE,
|
|
540
456
|
{ [_aQE]: [`RegionDisabledException`, 403], [_e]: _c, [_hE]: 403 },
|
|
541
457
|
[_m],
|
|
542
|
-
[0]
|
|
458
|
+
[0]
|
|
543
459
|
];
|
|
544
460
|
n0_registry.registerError(RegionDisabledException$, RegionDisabledException);
|
|
545
|
-
const errorTypeRegistries = [
|
|
461
|
+
const errorTypeRegistries = [
|
|
462
|
+
_s_registry,
|
|
463
|
+
n0_registry,
|
|
464
|
+
];
|
|
546
465
|
var accessKeySecretType = [0, n0, _aKST, 8, 0];
|
|
547
466
|
var clientTokenType = [0, n0, _cTT, 8, 0];
|
|
548
|
-
var AssumedRoleUser$ = [3, n0, _ARU,
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
467
|
+
var AssumedRoleUser$ = [3, n0, _ARU,
|
|
468
|
+
0,
|
|
469
|
+
[_ARI, _A],
|
|
470
|
+
[0, 0], 2
|
|
471
|
+
];
|
|
472
|
+
var AssumeRoleRequest$ = [3, n0, _ARR,
|
|
553
473
|
0,
|
|
554
474
|
[_RA, _RSN, _PA, _P, _DS, _T, _TTK, _EI, _SN, _TC, _SI, _PC],
|
|
555
|
-
[0, 0, () => policyDescriptorListType, 0, 1, () => tagListType, 64 | 0, 0, 0, 0, 0, () => ProvidedContextsListType],
|
|
556
|
-
2,
|
|
475
|
+
[0, 0, () => policyDescriptorListType, 0, 1, () => tagListType, 64 | 0, 0, 0, 0, 0, () => ProvidedContextsListType], 2
|
|
557
476
|
];
|
|
558
|
-
var AssumeRoleResponse$ = [
|
|
559
|
-
3,
|
|
560
|
-
n0,
|
|
561
|
-
_ARRs,
|
|
477
|
+
var AssumeRoleResponse$ = [3, n0, _ARRs,
|
|
562
478
|
0,
|
|
563
479
|
[_C, _ARU, _PPS, _SI],
|
|
564
|
-
[[() => Credentials$, 0], () => AssumedRoleUser$, 1, 0]
|
|
480
|
+
[[() => Credentials$, 0], () => AssumedRoleUser$, 1, 0]
|
|
565
481
|
];
|
|
566
|
-
var AssumeRoleWithWebIdentityRequest$ = [
|
|
567
|
-
3,
|
|
568
|
-
n0,
|
|
569
|
-
_ARWWIR,
|
|
482
|
+
var AssumeRoleWithWebIdentityRequest$ = [3, n0, _ARWWIR,
|
|
570
483
|
0,
|
|
571
484
|
[_RA, _RSN, _WIT, _PI, _PA, _P, _DS],
|
|
572
|
-
[0, 0, [() => clientTokenType, 0], 0, () => policyDescriptorListType, 0, 1],
|
|
573
|
-
3,
|
|
485
|
+
[0, 0, [() => clientTokenType, 0], 0, () => policyDescriptorListType, 0, 1], 3
|
|
574
486
|
];
|
|
575
|
-
var AssumeRoleWithWebIdentityResponse$ = [
|
|
576
|
-
3,
|
|
577
|
-
n0,
|
|
578
|
-
_ARWWIRs,
|
|
487
|
+
var AssumeRoleWithWebIdentityResponse$ = [3, n0, _ARWWIRs,
|
|
579
488
|
0,
|
|
580
489
|
[_C, _SFWIT, _ARU, _PPS, _Pr, _Au, _SI],
|
|
581
|
-
[[() => Credentials$, 0], 0, () => AssumedRoleUser$, 1, 0, 0, 0]
|
|
490
|
+
[[() => Credentials$, 0], 0, () => AssumedRoleUser$, 1, 0, 0, 0]
|
|
582
491
|
];
|
|
583
|
-
var Credentials$ = [
|
|
584
|
-
3,
|
|
585
|
-
n0,
|
|
586
|
-
_C,
|
|
492
|
+
var Credentials$ = [3, n0, _C,
|
|
587
493
|
0,
|
|
588
494
|
[_AKI, _SAK, _ST, _E],
|
|
589
|
-
[0, [() => accessKeySecretType, 0], 0, 4],
|
|
590
|
-
|
|
495
|
+
[0, [() => accessKeySecretType, 0], 0, 4], 4
|
|
496
|
+
];
|
|
497
|
+
var PolicyDescriptorType$ = [3, n0, _PDT,
|
|
498
|
+
0,
|
|
499
|
+
[_a],
|
|
500
|
+
[0]
|
|
591
501
|
];
|
|
592
|
-
var
|
|
593
|
-
var ProvidedContext$ = [3, n0, _PCr, 0, [_PAr, _CA], [0, 0]];
|
|
594
|
-
var Tag$ = [3, n0, _Ta, 0, [_K, _V], [0, 0], 2];
|
|
595
|
-
var policyDescriptorListType = [1, n0, _pDLT, 0, () => PolicyDescriptorType$];
|
|
596
|
-
var ProvidedContextsListType = [1, n0, _PCLT, 0, () => ProvidedContext$];
|
|
597
|
-
var tagListType = [1, n0, _tLT, 0, () => Tag$];
|
|
598
|
-
var AssumeRole$ = [9, n0, _AR, 0, () => AssumeRoleRequest$, () => AssumeRoleResponse$];
|
|
599
|
-
var AssumeRoleWithWebIdentity$ = [
|
|
600
|
-
9,
|
|
601
|
-
n0,
|
|
602
|
-
_ARWWI,
|
|
502
|
+
var ProvidedContext$ = [3, n0, _PCr,
|
|
603
503
|
0,
|
|
604
|
-
|
|
605
|
-
|
|
504
|
+
[_PAr, _CA],
|
|
505
|
+
[0, 0]
|
|
506
|
+
];
|
|
507
|
+
var Tag$ = [3, n0, _Ta,
|
|
508
|
+
0,
|
|
509
|
+
[_K, _V],
|
|
510
|
+
[0, 0], 2
|
|
511
|
+
];
|
|
512
|
+
var policyDescriptorListType = [1, n0, _pDLT,
|
|
513
|
+
0, () => PolicyDescriptorType$
|
|
514
|
+
];
|
|
515
|
+
var ProvidedContextsListType = [1, n0, _PCLT,
|
|
516
|
+
0, () => ProvidedContext$
|
|
517
|
+
];
|
|
518
|
+
var tagListType = [1, n0, _tLT,
|
|
519
|
+
0, () => Tag$
|
|
520
|
+
];
|
|
521
|
+
var AssumeRole$ = [9, n0, _AR,
|
|
522
|
+
0, () => AssumeRoleRequest$, () => AssumeRoleResponse$
|
|
523
|
+
];
|
|
524
|
+
var AssumeRoleWithWebIdentity$ = [9, n0, _ARWWI,
|
|
525
|
+
0, () => AssumeRoleWithWebIdentityRequest$, () => AssumeRoleWithWebIdentityResponse$
|
|
606
526
|
];
|
|
607
527
|
|
|
608
528
|
const getRuntimeConfig$1 = (config) => {
|
|
@@ -665,13 +585,11 @@ const getRuntimeConfig = (config$1) => {
|
|
|
665
585
|
defaultsMode,
|
|
666
586
|
authSchemePreference: config$1?.authSchemePreference ?? config.loadConfig(httpAuthSchemes.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
667
587
|
bodyLengthChecker: config$1?.bodyLengthChecker ?? serde.calculateBodyLength,
|
|
668
|
-
defaultUserAgentProvider: config$1?.defaultUserAgentProvider ??
|
|
669
|
-
client$1.createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
588
|
+
defaultUserAgentProvider: config$1?.defaultUserAgentProvider ?? client$1.createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
670
589
|
httpAuthSchemes: config$1?.httpAuthSchemes ?? [
|
|
671
590
|
{
|
|
672
591
|
schemeId: "aws.auth#sigv4",
|
|
673
|
-
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4") ||
|
|
674
|
-
(async (idProps) => await config$1.credentialDefaultProvider(idProps?.__config || {})()),
|
|
592
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4") || (async (idProps) => await config$1.credentialDefaultProvider(idProps?.__config || {})()),
|
|
675
593
|
signer: new httpAuthSchemes.AwsSdkSigV4Signer(),
|
|
676
594
|
},
|
|
677
595
|
{
|
|
@@ -686,8 +604,7 @@ const getRuntimeConfig = (config$1) => {
|
|
|
686
604
|
},
|
|
687
605
|
],
|
|
688
606
|
maxAttempts: config$1?.maxAttempts ?? config.loadConfig(retry.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config$1),
|
|
689
|
-
region: config$1?.region ??
|
|
690
|
-
config.loadConfig(config.NODE_REGION_CONFIG_OPTIONS, { ...config.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
607
|
+
region: config$1?.region ?? config.loadConfig(config.NODE_REGION_CONFIG_OPTIONS, { ...config.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
691
608
|
requestHandler: nodeHttpHandler.NodeHttpHandler.create(config$1?.requestHandler ?? defaultConfigProvider),
|
|
692
609
|
retryMode: config$1?.retryMode ??
|
|
693
610
|
config.loadConfig({
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { resolveAwsSdkSigV4Config } from "@aws-sdk/core/httpAuthSchemes";
|
|
1
|
+
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { getSmithyContext, normalizeProvider } from "@smithy/core/client";
|
|
3
3
|
export const defaultCognitoIdentityHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
|
5
5
|
operation: getSmithyContext(context).operation,
|
|
6
|
-
region:
|
|
7
|
-
(
|
|
8
|
-
|
|
9
|
-
})(),
|
|
6
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
7
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
8
|
+
})(),
|
|
10
9
|
};
|
|
11
10
|
};
|
|
12
11
|
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/bdd.js
CHANGED
|
@@ -14,7 +14,7 @@ const _data = {
|
|
|
14
14
|
[g, [j, "us-east-1"]],
|
|
15
15
|
[g, [j, "us-east-2"]],
|
|
16
16
|
[g, [j, "us-west-1"]],
|
|
17
|
-
[g, [j, "us-west-2"]]
|
|
17
|
+
[g, [j, "us-west-2"]]
|
|
18
18
|
],
|
|
19
19
|
results: [
|
|
20
20
|
[a],
|
|
@@ -33,65 +33,29 @@ const _data = {
|
|
|
33
33
|
["https://cognito-identity.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
|
|
34
34
|
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
35
35
|
["https://cognito-identity.{Region}.{PartitionResult#dnsSuffix}", k],
|
|
36
|
-
[a, "Invalid Configuration: Missing Region"]
|
|
37
|
-
]
|
|
36
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
37
|
+
]
|
|
38
38
|
};
|
|
39
39
|
const root = 2;
|
|
40
40
|
const r = 100_000_000;
|
|
41
41
|
const nodes = new Int32Array([
|
|
42
|
-
-1,
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
5,
|
|
53
|
-
r +
|
|
54
|
-
|
|
55
|
-
9,
|
|
56
|
-
6,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
r +
|
|
60
|
-
6,
|
|
61
|
-
8,
|
|
62
|
-
r + 14,
|
|
63
|
-
7,
|
|
64
|
-
r + 12,
|
|
65
|
-
r + 13,
|
|
66
|
-
4,
|
|
67
|
-
11,
|
|
68
|
-
10,
|
|
69
|
-
5,
|
|
70
|
-
r + 9,
|
|
71
|
-
r + 11,
|
|
72
|
-
5,
|
|
73
|
-
12,
|
|
74
|
-
r + 10,
|
|
75
|
-
6,
|
|
76
|
-
13,
|
|
77
|
-
r + 9,
|
|
78
|
-
8,
|
|
79
|
-
r + 4,
|
|
80
|
-
14,
|
|
81
|
-
9,
|
|
82
|
-
r + 5,
|
|
83
|
-
15,
|
|
84
|
-
10,
|
|
85
|
-
r + 6,
|
|
86
|
-
16,
|
|
87
|
-
11,
|
|
88
|
-
r + 7,
|
|
89
|
-
r + 8,
|
|
90
|
-
3,
|
|
91
|
-
r + 1,
|
|
92
|
-
18,
|
|
93
|
-
5,
|
|
94
|
-
r + 2,
|
|
95
|
-
r + 3,
|
|
42
|
+
-1, 1, -1,
|
|
43
|
+
0, 17, 3,
|
|
44
|
+
1, 4, r + 16,
|
|
45
|
+
2, 5, r + 16,
|
|
46
|
+
3, 9, 6,
|
|
47
|
+
5, 7, r + 15,
|
|
48
|
+
6, 8, r + 14,
|
|
49
|
+
7, r + 12, r + 13,
|
|
50
|
+
4, 11, 10,
|
|
51
|
+
5, r + 9, r + 11,
|
|
52
|
+
5, 12, r + 10,
|
|
53
|
+
6, 13, r + 9,
|
|
54
|
+
8, r + 4, 14,
|
|
55
|
+
9, r + 5, 15,
|
|
56
|
+
10, r + 6, 16,
|
|
57
|
+
11, r + 7, r + 8,
|
|
58
|
+
3, r + 1, 18,
|
|
59
|
+
5, r + 2, r + 3,
|
|
96
60
|
]);
|
|
97
61
|
export const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -17,8 +17,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
17
17
|
runtime: "browser",
|
|
18
18
|
defaultsMode,
|
|
19
19
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
20
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
21
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
20
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
22
21
|
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
23
22
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
24
23
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js
CHANGED
|
@@ -24,11 +24,9 @@ export const getRuntimeConfig = (config) => {
|
|
|
24
24
|
defaultsMode,
|
|
25
25
|
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
26
26
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
27
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
28
|
-
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
27
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
29
28
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
30
|
-
region: config?.region ??
|
|
31
|
-
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
29
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
32
30
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
33
31
|
retryMode: config?.retryMode ??
|
|
34
32
|
loadNodeConfig({
|
|
@@ -40,68 +40,100 @@ const _s_registry = TypeRegistry.for(_s);
|
|
|
40
40
|
export var CognitoIdentityServiceException$ = [-3, _s, "CognitoIdentityServiceException", 0, [], []];
|
|
41
41
|
_s_registry.registerError(CognitoIdentityServiceException$, CognitoIdentityServiceException);
|
|
42
42
|
const n0_registry = TypeRegistry.for(n0);
|
|
43
|
-
export var ExternalServiceException$ = [-3, n0, _ESE,
|
|
43
|
+
export var ExternalServiceException$ = [-3, n0, _ESE,
|
|
44
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
45
|
+
[_m],
|
|
46
|
+
[0]
|
|
47
|
+
];
|
|
44
48
|
n0_registry.registerError(ExternalServiceException$, ExternalServiceException);
|
|
45
|
-
export var InternalErrorException$ = [-3, n0, _IEE,
|
|
49
|
+
export var InternalErrorException$ = [-3, n0, _IEE,
|
|
50
|
+
{ [_e]: _se },
|
|
51
|
+
[_m],
|
|
52
|
+
[0]
|
|
53
|
+
];
|
|
46
54
|
n0_registry.registerError(InternalErrorException$, InternalErrorException);
|
|
47
|
-
export var InvalidIdentityPoolConfigurationException$ = [
|
|
48
|
-
-3,
|
|
49
|
-
n0,
|
|
50
|
-
_IIPCE,
|
|
55
|
+
export var InvalidIdentityPoolConfigurationException$ = [-3, n0, _IIPCE,
|
|
51
56
|
{ [_e]: _c, [_hE]: 400 },
|
|
52
57
|
[_m],
|
|
53
|
-
[0]
|
|
58
|
+
[0]
|
|
54
59
|
];
|
|
55
60
|
n0_registry.registerError(InvalidIdentityPoolConfigurationException$, InvalidIdentityPoolConfigurationException);
|
|
56
|
-
export var InvalidParameterException$ = [-3, n0, _IPE,
|
|
61
|
+
export var InvalidParameterException$ = [-3, n0, _IPE,
|
|
62
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
63
|
+
[_m],
|
|
64
|
+
[0]
|
|
65
|
+
];
|
|
57
66
|
n0_registry.registerError(InvalidParameterException$, InvalidParameterException);
|
|
58
|
-
export var LimitExceededException$ = [-3, n0, _LEE,
|
|
67
|
+
export var LimitExceededException$ = [-3, n0, _LEE,
|
|
68
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
69
|
+
[_m],
|
|
70
|
+
[0]
|
|
71
|
+
];
|
|
59
72
|
n0_registry.registerError(LimitExceededException$, LimitExceededException);
|
|
60
|
-
export var NotAuthorizedException$ = [-3, n0, _NAE,
|
|
73
|
+
export var NotAuthorizedException$ = [-3, n0, _NAE,
|
|
74
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
75
|
+
[_m],
|
|
76
|
+
[0]
|
|
77
|
+
];
|
|
61
78
|
n0_registry.registerError(NotAuthorizedException$, NotAuthorizedException);
|
|
62
|
-
export var ResourceConflictException$ = [-3, n0, _RCE,
|
|
79
|
+
export var ResourceConflictException$ = [-3, n0, _RCE,
|
|
80
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
81
|
+
[_m],
|
|
82
|
+
[0]
|
|
83
|
+
];
|
|
63
84
|
n0_registry.registerError(ResourceConflictException$, ResourceConflictException);
|
|
64
|
-
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
85
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
86
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
87
|
+
[_m],
|
|
88
|
+
[0]
|
|
89
|
+
];
|
|
65
90
|
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
66
|
-
export var TooManyRequestsException$ = [-3, n0, _TMRE,
|
|
91
|
+
export var TooManyRequestsException$ = [-3, n0, _TMRE,
|
|
92
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
93
|
+
[_m],
|
|
94
|
+
[0]
|
|
95
|
+
];
|
|
67
96
|
n0_registry.registerError(TooManyRequestsException$, TooManyRequestsException);
|
|
68
|
-
export const errorTypeRegistries = [
|
|
97
|
+
export const errorTypeRegistries = [
|
|
98
|
+
_s_registry,
|
|
99
|
+
n0_registry,
|
|
100
|
+
];
|
|
69
101
|
var IdentityProviderToken = [0, n0, _IPT, 8, 0];
|
|
70
102
|
var SecretKeyString = [0, n0, _SKS, 8, 0];
|
|
71
|
-
export var Credentials$ = [
|
|
72
|
-
3,
|
|
73
|
-
n0,
|
|
74
|
-
_C,
|
|
103
|
+
export var Credentials$ = [3, n0, _C,
|
|
75
104
|
0,
|
|
76
105
|
[_AKI, _SK, _ST, _E],
|
|
77
|
-
[0, [() => SecretKeyString, 0], 0, 4]
|
|
106
|
+
[0, [() => SecretKeyString, 0], 0, 4]
|
|
78
107
|
];
|
|
79
|
-
export var GetCredentialsForIdentityInput$ = [
|
|
80
|
-
3,
|
|
81
|
-
n0,
|
|
82
|
-
_GCFII,
|
|
108
|
+
export var GetCredentialsForIdentityInput$ = [3, n0, _GCFII,
|
|
83
109
|
0,
|
|
84
110
|
[_II, _L, _CRA],
|
|
85
|
-
[0, [() => LoginsMap, 0], 0],
|
|
86
|
-
1,
|
|
111
|
+
[0, [() => LoginsMap, 0], 0], 1
|
|
87
112
|
];
|
|
88
|
-
export var GetCredentialsForIdentityResponse$ = [
|
|
89
|
-
3,
|
|
90
|
-
n0,
|
|
91
|
-
_GCFIR,
|
|
113
|
+
export var GetCredentialsForIdentityResponse$ = [3, n0, _GCFIR,
|
|
92
114
|
0,
|
|
93
115
|
[_II, _C],
|
|
94
|
-
[0, [() => Credentials$, 0]]
|
|
95
|
-
];
|
|
96
|
-
export var GetIdInput$ = [3, n0, _GII,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
_GCFI,
|
|
116
|
+
[0, [() => Credentials$, 0]]
|
|
117
|
+
];
|
|
118
|
+
export var GetIdInput$ = [3, n0, _GII,
|
|
119
|
+
0,
|
|
120
|
+
[_IPI, _AI, _L],
|
|
121
|
+
[0, 0, [() => LoginsMap, 0]], 1
|
|
122
|
+
];
|
|
123
|
+
export var GetIdResponse$ = [3, n0, _GIR,
|
|
103
124
|
0,
|
|
104
|
-
|
|
105
|
-
|
|
125
|
+
[_II],
|
|
126
|
+
[0]
|
|
127
|
+
];
|
|
128
|
+
var LoginsMap = [2, n0, _LM,
|
|
129
|
+
0, [0,
|
|
130
|
+
0],
|
|
131
|
+
[() => IdentityProviderToken,
|
|
132
|
+
0]
|
|
133
|
+
];
|
|
134
|
+
export var GetCredentialsForIdentity$ = [9, n0, _GCFI,
|
|
135
|
+
0, () => GetCredentialsForIdentityInput$, () => GetCredentialsForIdentityResponse$
|
|
136
|
+
];
|
|
137
|
+
export var GetId$ = [9, n0, _GI,
|
|
138
|
+
0, () => GetIdInput$, () => GetIdResponse$
|
|
106
139
|
];
|
|
107
|
-
export var GetId$ = [9, n0, _GI, 0, () => GetIdInput$, () => GetIdResponse$];
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { resolveAwsSdkSigV4Config } from "@aws-sdk/core/httpAuthSchemes";
|
|
1
|
+
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { getSmithyContext, normalizeProvider } from "@smithy/core/client";
|
|
3
3
|
export const defaultSigninHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
|
5
5
|
operation: getSmithyContext(context).operation,
|
|
6
|
-
region:
|
|
7
|
-
(
|
|
8
|
-
|
|
9
|
-
})(),
|
|
6
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
7
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
8
|
+
})(),
|
|
10
9
|
};
|
|
11
10
|
};
|
|
12
11
|
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|