@servicevic-oss/cdk-cleanup-certificate-validation-records 1.3.21 → 1.3.23
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 +4 -4
- package/lib/index.js +2 -2
- package/node_modules/@aws-sdk/client-acm/package.json +3 -3
- package/node_modules/@aws-sdk/client-route-53/package.json +3 -3
- package/node_modules/@aws-sdk/core/package.json +1 -1
- package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-ini/package.json +9 -9
- package/node_modules/@aws-sdk/credential-provider-login/package.json +3 -3
- package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
- package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
- package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
- package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
- 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 +2 -2
- package/node_modules/@aws-sdk/token-providers/package.json +3 -3
- 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/package.json +5 -5
|
@@ -16,10 +16,9 @@ var protocols$1 = require('@aws-sdk/core/protocols');
|
|
|
16
16
|
const defaultSSOOIDCHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
17
17
|
return {
|
|
18
18
|
operation: client.getSmithyContext(context).operation,
|
|
19
|
-
region:
|
|
20
|
-
(
|
|
21
|
-
|
|
22
|
-
})(),
|
|
19
|
+
region: await client.normalizeProvider(config.region)() || (() => {
|
|
20
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
21
|
+
})(),
|
|
23
22
|
};
|
|
24
23
|
};
|
|
25
24
|
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
@@ -76,7 +75,7 @@ const commonParams = {
|
|
|
76
75
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
77
76
|
};
|
|
78
77
|
|
|
79
|
-
var version = "3.997.
|
|
78
|
+
var version = "3.997.15";
|
|
80
79
|
var packageInfo = {
|
|
81
80
|
version: version};
|
|
82
81
|
|
|
@@ -91,7 +90,7 @@ const _data = {
|
|
|
91
90
|
[e, [{ [k]: "UseDualStack" }, b]],
|
|
92
91
|
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
93
92
|
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],
|
|
94
|
-
["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]]
|
|
93
|
+
["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws-us-gov"]]
|
|
95
94
|
],
|
|
96
95
|
results: [
|
|
97
96
|
[a],
|
|
@@ -106,54 +105,26 @@ const _data = {
|
|
|
106
105
|
["https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
107
106
|
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
108
107
|
["https://oidc.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
109
|
-
[a, "Invalid Configuration: Missing Region"]
|
|
110
|
-
]
|
|
108
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
109
|
+
]
|
|
111
110
|
};
|
|
112
111
|
const root = 2;
|
|
113
112
|
const r = 100_000_000;
|
|
114
113
|
const nodes = new Int32Array([
|
|
115
|
-
-1,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
4,
|
|
123
|
-
r +
|
|
124
|
-
|
|
125
|
-
5,
|
|
126
|
-
r +
|
|
127
|
-
3,
|
|
128
|
-
|
|
129
|
-
6,
|
|
130
|
-
4,
|
|
131
|
-
7,
|
|
132
|
-
r + 11,
|
|
133
|
-
5,
|
|
134
|
-
r + 9,
|
|
135
|
-
r + 10,
|
|
136
|
-
4,
|
|
137
|
-
11,
|
|
138
|
-
9,
|
|
139
|
-
6,
|
|
140
|
-
10,
|
|
141
|
-
r + 8,
|
|
142
|
-
7,
|
|
143
|
-
r + 6,
|
|
144
|
-
r + 7,
|
|
145
|
-
5,
|
|
146
|
-
12,
|
|
147
|
-
r + 5,
|
|
148
|
-
6,
|
|
149
|
-
r + 4,
|
|
150
|
-
r + 5,
|
|
151
|
-
3,
|
|
152
|
-
r + 1,
|
|
153
|
-
14,
|
|
154
|
-
4,
|
|
155
|
-
r + 2,
|
|
156
|
-
r + 3,
|
|
114
|
+
-1, 1, -1,
|
|
115
|
+
0, 13, 3,
|
|
116
|
+
1, 4, r + 12,
|
|
117
|
+
2, 5, r + 12,
|
|
118
|
+
3, 8, 6,
|
|
119
|
+
4, 7, r + 11,
|
|
120
|
+
5, r + 9, r + 10,
|
|
121
|
+
4, 11, 9,
|
|
122
|
+
6, 10, r + 8,
|
|
123
|
+
7, r + 6, r + 7,
|
|
124
|
+
5, 12, r + 5,
|
|
125
|
+
6, r + 4, r + 5,
|
|
126
|
+
3, r + 1, 14,
|
|
127
|
+
4, r + 2, r + 3,
|
|
157
128
|
]);
|
|
158
129
|
const bdd = endpoints.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
159
130
|
|
|
@@ -402,93 +373,93 @@ const _s_registry = schema.TypeRegistry.for(_s);
|
|
|
402
373
|
var SSOOIDCServiceException$ = [-3, _s, "SSOOIDCServiceException", 0, [], []];
|
|
403
374
|
_s_registry.registerError(SSOOIDCServiceException$, SSOOIDCServiceException);
|
|
404
375
|
const n0_registry = schema.TypeRegistry.for(n0);
|
|
405
|
-
var AccessDeniedException$ = [
|
|
406
|
-
-3,
|
|
407
|
-
n0,
|
|
408
|
-
_ADE,
|
|
376
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
409
377
|
{ [_e]: _c, [_hE]: 400 },
|
|
410
378
|
[_e, _r, _ed],
|
|
411
|
-
[0, 0, 0]
|
|
379
|
+
[0, 0, 0]
|
|
412
380
|
];
|
|
413
381
|
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
414
|
-
var AuthorizationPendingException$ = [
|
|
415
|
-
-3,
|
|
416
|
-
n0,
|
|
417
|
-
_APE,
|
|
382
|
+
var AuthorizationPendingException$ = [-3, n0, _APE,
|
|
418
383
|
{ [_e]: _c, [_hE]: 400 },
|
|
419
384
|
[_e, _ed],
|
|
420
|
-
[0, 0]
|
|
385
|
+
[0, 0]
|
|
421
386
|
];
|
|
422
387
|
n0_registry.registerError(AuthorizationPendingException$, AuthorizationPendingException);
|
|
423
|
-
var ExpiredTokenException$ = [-3, n0, _ETE,
|
|
388
|
+
var ExpiredTokenException$ = [-3, n0, _ETE,
|
|
389
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
390
|
+
[_e, _ed],
|
|
391
|
+
[0, 0]
|
|
392
|
+
];
|
|
424
393
|
n0_registry.registerError(ExpiredTokenException$, ExpiredTokenException);
|
|
425
|
-
var InternalServerException$ = [-3, n0, _ISE,
|
|
394
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
395
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
396
|
+
[_e, _ed],
|
|
397
|
+
[0, 0]
|
|
398
|
+
];
|
|
426
399
|
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
427
|
-
var InvalidClientException$ = [-3, n0, _ICE,
|
|
400
|
+
var InvalidClientException$ = [-3, n0, _ICE,
|
|
401
|
+
{ [_e]: _c, [_hE]: 401 },
|
|
402
|
+
[_e, _ed],
|
|
403
|
+
[0, 0]
|
|
404
|
+
];
|
|
428
405
|
n0_registry.registerError(InvalidClientException$, InvalidClientException);
|
|
429
|
-
var InvalidGrantException$ = [-3, n0, _IGE,
|
|
406
|
+
var InvalidGrantException$ = [-3, n0, _IGE,
|
|
407
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
408
|
+
[_e, _ed],
|
|
409
|
+
[0, 0]
|
|
410
|
+
];
|
|
430
411
|
n0_registry.registerError(InvalidGrantException$, InvalidGrantException);
|
|
431
|
-
var InvalidRequestException$ = [
|
|
432
|
-
-3,
|
|
433
|
-
n0,
|
|
434
|
-
_IRE,
|
|
412
|
+
var InvalidRequestException$ = [-3, n0, _IRE,
|
|
435
413
|
{ [_e]: _c, [_hE]: 400 },
|
|
436
414
|
[_e, _r, _ed],
|
|
437
|
-
[0, 0, 0]
|
|
415
|
+
[0, 0, 0]
|
|
438
416
|
];
|
|
439
417
|
n0_registry.registerError(InvalidRequestException$, InvalidRequestException);
|
|
440
|
-
var InvalidScopeException$ = [-3, n0, _ISEn,
|
|
418
|
+
var InvalidScopeException$ = [-3, n0, _ISEn,
|
|
419
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
420
|
+
[_e, _ed],
|
|
421
|
+
[0, 0]
|
|
422
|
+
];
|
|
441
423
|
n0_registry.registerError(InvalidScopeException$, InvalidScopeException);
|
|
442
|
-
var SlowDownException$ = [-3, n0, _SDE,
|
|
424
|
+
var SlowDownException$ = [-3, n0, _SDE,
|
|
425
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
426
|
+
[_e, _ed],
|
|
427
|
+
[0, 0]
|
|
428
|
+
];
|
|
443
429
|
n0_registry.registerError(SlowDownException$, SlowDownException);
|
|
444
|
-
var UnauthorizedClientException$ = [
|
|
445
|
-
-3,
|
|
446
|
-
n0,
|
|
447
|
-
_UCE,
|
|
430
|
+
var UnauthorizedClientException$ = [-3, n0, _UCE,
|
|
448
431
|
{ [_e]: _c, [_hE]: 400 },
|
|
449
432
|
[_e, _ed],
|
|
450
|
-
[0, 0]
|
|
433
|
+
[0, 0]
|
|
451
434
|
];
|
|
452
435
|
n0_registry.registerError(UnauthorizedClientException$, UnauthorizedClientException);
|
|
453
|
-
var UnsupportedGrantTypeException$ = [
|
|
454
|
-
-3,
|
|
455
|
-
n0,
|
|
456
|
-
_UGTE,
|
|
436
|
+
var UnsupportedGrantTypeException$ = [-3, n0, _UGTE,
|
|
457
437
|
{ [_e]: _c, [_hE]: 400 },
|
|
458
438
|
[_e, _ed],
|
|
459
|
-
[0, 0]
|
|
439
|
+
[0, 0]
|
|
460
440
|
];
|
|
461
441
|
n0_registry.registerError(UnsupportedGrantTypeException$, UnsupportedGrantTypeException);
|
|
462
|
-
const errorTypeRegistries = [
|
|
442
|
+
const errorTypeRegistries = [
|
|
443
|
+
_s_registry,
|
|
444
|
+
n0_registry,
|
|
445
|
+
];
|
|
463
446
|
var AccessToken = [0, n0, _AT, 8, 0];
|
|
464
447
|
var ClientSecret = [0, n0, _CS, 8, 0];
|
|
465
448
|
var CodeVerifier = [0, n0, _CV, 8, 0];
|
|
466
449
|
var IdToken = [0, n0, _IT, 8, 0];
|
|
467
450
|
var RefreshToken = [0, n0, _RT, 8, 0];
|
|
468
|
-
var CreateTokenRequest$ = [
|
|
469
|
-
3,
|
|
470
|
-
n0,
|
|
471
|
-
_CTR,
|
|
451
|
+
var CreateTokenRequest$ = [3, n0, _CTR,
|
|
472
452
|
0,
|
|
473
453
|
[_cI, _cS, _gT, _dC, _co, _rT, _sc, _rU, _cV],
|
|
474
|
-
[0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]],
|
|
475
|
-
3,
|
|
454
|
+
[0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]], 3
|
|
476
455
|
];
|
|
477
|
-
var CreateTokenResponse$ = [
|
|
478
|
-
3,
|
|
479
|
-
n0,
|
|
480
|
-
_CTRr,
|
|
456
|
+
var CreateTokenResponse$ = [3, n0, _CTRr,
|
|
481
457
|
0,
|
|
482
458
|
[_aT, _tT, _eI, _rT, _iT],
|
|
483
|
-
[[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0]]
|
|
459
|
+
[[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0]]
|
|
484
460
|
];
|
|
485
|
-
var CreateToken$ = [
|
|
486
|
-
|
|
487
|
-
n0,
|
|
488
|
-
_CT,
|
|
489
|
-
{ [_h]: ["POST", "/token", 200] },
|
|
490
|
-
() => CreateTokenRequest$,
|
|
491
|
-
() => CreateTokenResponse$,
|
|
461
|
+
var CreateToken$ = [9, n0, _CT,
|
|
462
|
+
{ [_h]: ["POST", "/token", 200] }, () => CreateTokenRequest$, () => CreateTokenResponse$
|
|
492
463
|
];
|
|
493
464
|
|
|
494
465
|
const getRuntimeConfig$1 = (config) => {
|
|
@@ -544,11 +515,9 @@ const getRuntimeConfig = (config$1) => {
|
|
|
544
515
|
defaultsMode,
|
|
545
516
|
authSchemePreference: config$1?.authSchemePreference ?? config.loadConfig(httpAuthSchemes.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
546
517
|
bodyLengthChecker: config$1?.bodyLengthChecker ?? serde.calculateBodyLength,
|
|
547
|
-
defaultUserAgentProvider: config$1?.defaultUserAgentProvider ??
|
|
548
|
-
client$1.createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
518
|
+
defaultUserAgentProvider: config$1?.defaultUserAgentProvider ?? client$1.createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
549
519
|
maxAttempts: config$1?.maxAttempts ?? config.loadConfig(retry.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config$1),
|
|
550
|
-
region: config$1?.region ??
|
|
551
|
-
config.loadConfig(config.NODE_REGION_CONFIG_OPTIONS, { ...config.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
520
|
+
region: config$1?.region ?? config.loadConfig(config.NODE_REGION_CONFIG_OPTIONS, { ...config.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
552
521
|
requestHandler: nodeHttpHandler.NodeHttpHandler.create(config$1?.requestHandler ?? defaultConfigProvider),
|
|
553
522
|
retryMode: config$1?.retryMode ??
|
|
554
523
|
config.loadConfig({
|
|
@@ -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.15";
|
|
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) {
|