@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.
Files changed (74) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/README.md +1 -1
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +1 -1
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +1 -1
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-types/index.d.ts +1 -1
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +1 -1
  8. package/node_modules/@aws-sdk/client-cloudformation/package.json +5 -5
  9. package/node_modules/@aws-sdk/core/dist-cjs/index.js +12 -6
  10. package/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js +12 -6
  11. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.js +1 -0
  12. package/node_modules/@aws-sdk/core/dist-es/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.js +11 -6
  13. package/node_modules/@aws-sdk/core/package.json +4 -4
  14. package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -4
  15. package/node_modules/@aws-sdk/credential-provider-http/package.json +4 -4
  16. package/node_modules/@aws-sdk/credential-provider-ini/package.json +11 -11
  17. package/node_modules/@aws-sdk/credential-provider-login/package.json +5 -5
  18. package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -9
  19. package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -4
  20. package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -6
  21. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -5
  22. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/cognito-identity/index.js +99 -106
  23. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js +62 -120
  24. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js +55 -86
  25. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +73 -104
  26. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js +102 -185
  27. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/auth/httpAuthSchemeProvider.js +4 -5
  28. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/endpoint/bdd.js +21 -57
  29. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.browser.js +1 -2
  30. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/runtimeConfig.js +2 -4
  31. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/cognito-identity/schemas/schemas_0.js +73 -41
  32. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/auth/httpAuthSchemeProvider.js +4 -5
  33. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/endpoint/bdd.js +20 -52
  34. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.browser.js +1 -2
  35. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/runtimeConfig.js +2 -4
  36. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/signin/schemas/schemas_0.js +36 -59
  37. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/auth/httpAuthSchemeProvider.js +4 -5
  38. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/endpoint/bdd.js +17 -45
  39. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.browser.js +1 -2
  40. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/runtimeConfig.js +2 -4
  41. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso/schemas/schemas_0.js +32 -32
  42. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/auth/httpAuthSchemeProvider.js +4 -5
  43. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/endpoint/bdd.js +17 -45
  44. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.browser.js +1 -2
  45. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/runtimeConfig.js +2 -4
  46. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/schemas/schemas_0.js +50 -50
  47. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/auth/httpAuthSchemeProvider.js +4 -5
  48. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/defaultRoleAssumers.js +1 -1
  49. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/endpoint/bdd.js +34 -96
  50. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.browser.js +1 -2
  51. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/runtimeConfig.js +3 -6
  52. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sts/schemas/schemas_0.js +63 -80
  53. package/node_modules/@aws-sdk/nested-clients/package.json +5 -5
  54. package/node_modules/@aws-sdk/signature-v4-multi-region/package.json +3 -3
  55. package/node_modules/@aws-sdk/token-providers/package.json +5 -5
  56. package/node_modules/@aws-sdk/types/package.json +2 -2
  57. package/node_modules/@aws-sdk/util-locate-window/package.json +2 -2
  58. package/node_modules/@aws-sdk/xml-builder/package.json +2 -2
  59. package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/httpRequest.js +2 -2
  60. package/node_modules/@smithy/credential-provider-imds/dist-es/remoteProvider/node-http.js +2 -0
  61. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/httpRequest.d.ts +1 -1
  62. package/node_modules/@smithy/credential-provider-imds/dist-types/remoteProvider/node-http.d.ts +2 -0
  63. package/node_modules/@smithy/credential-provider-imds/package.json +1 -1
  64. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +6 -4
  65. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +7 -6
  66. package/node_modules/@smithy/node-http-handler/dist-es/node-http2-handler.js +2 -1
  67. package/node_modules/@smithy/node-http-handler/dist-es/node-http2.js +2 -0
  68. package/node_modules/@smithy/node-http-handler/dist-es/node-https.js +2 -0
  69. package/node_modules/@smithy/node-http-handler/dist-types/node-http-handler.d.ts +2 -2
  70. package/node_modules/@smithy/node-http-handler/dist-types/node-http2-handler.d.ts +1 -1
  71. package/node_modules/@smithy/node-http-handler/dist-types/node-http2.d.ts +2 -0
  72. package/node_modules/@smithy/node-http-handler/dist-types/node-https.d.ts +2 -0
  73. package/node_modules/@smithy/node-http-handler/package.json +1 -1
  74. package/package.json +4 -4
@@ -46,92 +46,92 @@ const _s_registry = TypeRegistry.for(_s);
46
46
  export var SSOOIDCServiceException$ = [-3, _s, "SSOOIDCServiceException", 0, [], []];
47
47
  _s_registry.registerError(SSOOIDCServiceException$, SSOOIDCServiceException);
48
48
  const n0_registry = TypeRegistry.for(n0);
49
- export var AccessDeniedException$ = [
50
- -3,
51
- n0,
52
- _ADE,
49
+ export var AccessDeniedException$ = [-3, n0, _ADE,
53
50
  { [_e]: _c, [_hE]: 400 },
54
51
  [_e, _r, _ed],
55
- [0, 0, 0],
52
+ [0, 0, 0]
56
53
  ];
57
54
  n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
58
- export var AuthorizationPendingException$ = [
59
- -3,
60
- n0,
61
- _APE,
55
+ export var AuthorizationPendingException$ = [-3, n0, _APE,
62
56
  { [_e]: _c, [_hE]: 400 },
63
57
  [_e, _ed],
64
- [0, 0],
58
+ [0, 0]
65
59
  ];
66
60
  n0_registry.registerError(AuthorizationPendingException$, AuthorizationPendingException);
67
- export var ExpiredTokenException$ = [-3, n0, _ETE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
61
+ export var ExpiredTokenException$ = [-3, n0, _ETE,
62
+ { [_e]: _c, [_hE]: 400 },
63
+ [_e, _ed],
64
+ [0, 0]
65
+ ];
68
66
  n0_registry.registerError(ExpiredTokenException$, ExpiredTokenException);
69
- export var InternalServerException$ = [-3, n0, _ISE, { [_e]: _se, [_hE]: 500 }, [_e, _ed], [0, 0]];
67
+ export var InternalServerException$ = [-3, n0, _ISE,
68
+ { [_e]: _se, [_hE]: 500 },
69
+ [_e, _ed],
70
+ [0, 0]
71
+ ];
70
72
  n0_registry.registerError(InternalServerException$, InternalServerException);
71
- export var InvalidClientException$ = [-3, n0, _ICE, { [_e]: _c, [_hE]: 401 }, [_e, _ed], [0, 0]];
73
+ export var InvalidClientException$ = [-3, n0, _ICE,
74
+ { [_e]: _c, [_hE]: 401 },
75
+ [_e, _ed],
76
+ [0, 0]
77
+ ];
72
78
  n0_registry.registerError(InvalidClientException$, InvalidClientException);
73
- export var InvalidGrantException$ = [-3, n0, _IGE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
79
+ export var InvalidGrantException$ = [-3, n0, _IGE,
80
+ { [_e]: _c, [_hE]: 400 },
81
+ [_e, _ed],
82
+ [0, 0]
83
+ ];
74
84
  n0_registry.registerError(InvalidGrantException$, InvalidGrantException);
75
- export var InvalidRequestException$ = [
76
- -3,
77
- n0,
78
- _IRE,
85
+ export var InvalidRequestException$ = [-3, n0, _IRE,
79
86
  { [_e]: _c, [_hE]: 400 },
80
87
  [_e, _r, _ed],
81
- [0, 0, 0],
88
+ [0, 0, 0]
82
89
  ];
83
90
  n0_registry.registerError(InvalidRequestException$, InvalidRequestException);
84
- export var InvalidScopeException$ = [-3, n0, _ISEn, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
91
+ export var InvalidScopeException$ = [-3, n0, _ISEn,
92
+ { [_e]: _c, [_hE]: 400 },
93
+ [_e, _ed],
94
+ [0, 0]
95
+ ];
85
96
  n0_registry.registerError(InvalidScopeException$, InvalidScopeException);
86
- export var SlowDownException$ = [-3, n0, _SDE, { [_e]: _c, [_hE]: 400 }, [_e, _ed], [0, 0]];
97
+ export var SlowDownException$ = [-3, n0, _SDE,
98
+ { [_e]: _c, [_hE]: 400 },
99
+ [_e, _ed],
100
+ [0, 0]
101
+ ];
87
102
  n0_registry.registerError(SlowDownException$, SlowDownException);
88
- export var UnauthorizedClientException$ = [
89
- -3,
90
- n0,
91
- _UCE,
103
+ export var UnauthorizedClientException$ = [-3, n0, _UCE,
92
104
  { [_e]: _c, [_hE]: 400 },
93
105
  [_e, _ed],
94
- [0, 0],
106
+ [0, 0]
95
107
  ];
96
108
  n0_registry.registerError(UnauthorizedClientException$, UnauthorizedClientException);
97
- export var UnsupportedGrantTypeException$ = [
98
- -3,
99
- n0,
100
- _UGTE,
109
+ export var UnsupportedGrantTypeException$ = [-3, n0, _UGTE,
101
110
  { [_e]: _c, [_hE]: 400 },
102
111
  [_e, _ed],
103
- [0, 0],
112
+ [0, 0]
104
113
  ];
105
114
  n0_registry.registerError(UnsupportedGrantTypeException$, UnsupportedGrantTypeException);
106
- export const errorTypeRegistries = [_s_registry, n0_registry];
115
+ export const errorTypeRegistries = [
116
+ _s_registry,
117
+ n0_registry,
118
+ ];
107
119
  var AccessToken = [0, n0, _AT, 8, 0];
108
120
  var ClientSecret = [0, n0, _CS, 8, 0];
109
121
  var CodeVerifier = [0, n0, _CV, 8, 0];
110
122
  var IdToken = [0, n0, _IT, 8, 0];
111
123
  var RefreshToken = [0, n0, _RT, 8, 0];
112
- export var CreateTokenRequest$ = [
113
- 3,
114
- n0,
115
- _CTR,
124
+ export var CreateTokenRequest$ = [3, n0, _CTR,
116
125
  0,
117
126
  [_cI, _cS, _gT, _dC, _co, _rT, _sc, _rU, _cV],
118
- [0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]],
119
- 3,
127
+ [0, [() => ClientSecret, 0], 0, 0, 0, [() => RefreshToken, 0], 64 | 0, 0, [() => CodeVerifier, 0]], 3
120
128
  ];
121
- export var CreateTokenResponse$ = [
122
- 3,
123
- n0,
124
- _CTRr,
129
+ export var CreateTokenResponse$ = [3, n0, _CTRr,
125
130
  0,
126
131
  [_aT, _tT, _eI, _rT, _iT],
127
- [[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0]],
132
+ [[() => AccessToken, 0], 0, 1, [() => RefreshToken, 0], [() => IdToken, 0]]
128
133
  ];
129
134
  var Scopes = 64 | 0;
130
- export var CreateToken$ = [
131
- 9,
132
- n0,
133
- _CT,
134
- { [_h]: ["POST", "/token", 200] },
135
- () => CreateTokenRequest$,
136
- () => CreateTokenResponse$,
135
+ export var CreateToken$ = [9, n0, _CT,
136
+ { [_h]: ["POST", "/token", 200] }, () => CreateTokenRequest$, () => CreateTokenResponse$
137
137
  ];
@@ -1,4 +1,4 @@
1
- import { resolveAwsSdkSigV4AConfig, resolveAwsSdkSigV4Config } from "@aws-sdk/core/httpAuthSchemes";
1
+ import { resolveAwsSdkSigV4AConfig, resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region";
3
3
  import { getSmithyContext, normalizeProvider } from "@smithy/core/client";
4
4
  import { resolveParams } from "@smithy/core/endpoints";
@@ -19,10 +19,9 @@ const createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSc
19
19
  const _defaultSTSHttpAuthSchemeParametersProvider = async (config, context, input) => {
20
20
  return {
21
21
  operation: getSmithyContext(context).operation,
22
- region: (await normalizeProvider(config.region)()) ||
23
- (() => {
24
- throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
25
- })(),
22
+ region: await normalizeProvider(config.region)() || (() => {
23
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
24
+ })(),
26
25
  };
27
26
  };
28
27
  export const defaultSTSHttpAuthSchemeParametersProvider = createEndpointRuleSetHttpAuthSchemeParametersProvider(_defaultSTSHttpAuthSchemeParametersProvider);
@@ -1,4 +1,4 @@
1
- import { getDefaultRoleAssumer as StsGetDefaultRoleAssumer, getDefaultRoleAssumerWithWebIdentity as StsGetDefaultRoleAssumerWithWebIdentity, } from "./defaultStsRoleAssumers";
1
+ import { getDefaultRoleAssumer as StsGetDefaultRoleAssumer, getDefaultRoleAssumerWithWebIdentity as StsGetDefaultRoleAssumerWithWebIdentity } from "./defaultStsRoleAssumers";
2
2
  import { STSClient } from "./STSClient";
3
3
  const getCustomizableStsClientCtor = (baseCtor, customizations) => {
4
4
  if (!customizations)
@@ -27,7 +27,7 @@ const _data = {
27
27
  [f, [m, "ap-southeast-1"]],
28
28
  [f, [m, "ap-northeast-1"]],
29
29
  [f, [m, "ap-southeast-2"]],
30
- [f, [{ fn: g, argv: [n, "name"] }, "aws-us-gov"]],
30
+ [f, [{ fn: g, argv: [n, "name"] }, "aws-us-gov"]]
31
31
  ],
32
32
  results: [
33
33
  [a],
@@ -44,104 +44,42 @@ const _data = {
44
44
  ["https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", o],
45
45
  [a, "DualStack is enabled but this partition does not support DualStack"],
46
46
  [k, o],
47
- [a, "Invalid Configuration: Missing Region"],
48
- ],
47
+ [a, "Invalid Configuration: Missing Region"]
48
+ ]
49
49
  };
50
50
  const root = 2;
51
51
  const r = 100_000_000;
52
52
  const nodes = new Int32Array([
53
- -1,
54
- 1,
55
- -1,
56
- 0,
57
- 30,
58
- 3,
59
- 1,
60
- 4,
61
- r + 14,
62
- 2,
63
- 5,
64
- r + 14,
65
- 3,
66
- 25,
67
- 6,
68
- 4,
69
- 24,
70
- 7,
71
- 5,
72
- r + 1,
73
- 8,
74
- 6,
75
- 9,
76
- r + 13,
77
- 7,
78
- r + 1,
79
- 10,
80
- 10,
81
- r + 1,
82
- 11,
83
- 11,
84
- r + 1,
85
- 12,
86
- 12,
87
- r + 1,
88
- 13,
89
- 13,
90
- r + 1,
91
- 14,
92
- 14,
93
- r + 1,
94
- 15,
95
- 15,
96
- r + 1,
97
- 16,
98
- 16,
99
- r + 1,
100
- 17,
101
- 17,
102
- r + 1,
103
- 18,
104
- 18,
105
- r + 1,
106
- 19,
107
- 19,
108
- r + 1,
109
- 20,
110
- 20,
111
- r + 1,
112
- 21,
113
- 21,
114
- r + 1,
115
- 22,
116
- 22,
117
- r + 1,
118
- 23,
119
- 23,
120
- r + 1,
121
- r + 2,
122
- 8,
123
- r + 11,
124
- r + 12,
125
- 4,
126
- 28,
127
- 26,
128
- 9,
129
- 27,
130
- r + 10,
131
- 24,
132
- r + 8,
133
- r + 9,
134
- 8,
135
- 29,
136
- r + 7,
137
- 9,
138
- r + 6,
139
- r + 7,
140
- 3,
141
- r + 3,
142
- 31,
143
- 4,
144
- r + 4,
145
- r + 5,
53
+ -1, 1, -1,
54
+ 0, 30, 3,
55
+ 1, 4, r + 14,
56
+ 2, 5, r + 14,
57
+ 3, 25, 6,
58
+ 4, 24, 7,
59
+ 5, r + 1, 8,
60
+ 6, 9, r + 13,
61
+ 7, r + 1, 10,
62
+ 10, r + 1, 11,
63
+ 11, r + 1, 12,
64
+ 12, r + 1, 13,
65
+ 13, r + 1, 14,
66
+ 14, r + 1, 15,
67
+ 15, r + 1, 16,
68
+ 16, r + 1, 17,
69
+ 17, r + 1, 18,
70
+ 18, r + 1, 19,
71
+ 19, r + 1, 20,
72
+ 20, r + 1, 21,
73
+ 21, r + 1, 22,
74
+ 22, r + 1, 23,
75
+ 23, r + 1, r + 2,
76
+ 8, r + 11, r + 12,
77
+ 4, 28, 26,
78
+ 9, 27, r + 10,
79
+ 24, r + 8, r + 9,
80
+ 8, 29, r + 7,
81
+ 9, r + 6, r + 7,
82
+ 3, r + 3, 31,
83
+ 4, r + 4, r + 5,
146
84
  ]);
147
85
  export const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
@@ -18,8 +18,7 @@ export const getRuntimeConfig = (config) => {
18
18
  defaultsMode,
19
19
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
20
20
  credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
21
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
22
- createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
21
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
23
22
  maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
24
23
  region: config?.region ?? invalidProvider("Region is missing"),
25
24
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
@@ -25,13 +25,11 @@ export const getRuntimeConfig = (config) => {
25
25
  defaultsMode,
26
26
  authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
27
27
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
28
- defaultUserAgentProvider: config?.defaultUserAgentProvider ??
29
- createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
28
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
30
29
  httpAuthSchemes: config?.httpAuthSchemes ?? [
31
30
  {
32
31
  schemeId: "aws.auth#sigv4",
33
- identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4") ||
34
- (async (idProps) => await config.credentialDefaultProvider(idProps?.__config || {})()),
32
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4") || (async (idProps) => await config.credentialDefaultProvider(idProps?.__config || {})()),
35
33
  signer: new AwsSdkSigV4Signer(),
36
34
  },
37
35
  {
@@ -46,8 +44,7 @@ export const getRuntimeConfig = (config) => {
46
44
  },
47
45
  ],
48
46
  maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
49
- region: config?.region ??
50
- loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
47
+ region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
51
48
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
52
49
  retryMode: config?.retryMode ??
53
50
  loadNodeConfig({
@@ -64,129 +64,112 @@ const _s_registry = TypeRegistry.for(_s);
64
64
  export var STSServiceException$ = [-3, _s, "STSServiceException", 0, [], []];
65
65
  _s_registry.registerError(STSServiceException$, STSServiceException);
66
66
  const n0_registry = TypeRegistry.for(n0);
67
- export var ExpiredTokenException$ = [
68
- -3,
69
- n0,
70
- _ETE,
67
+ export var ExpiredTokenException$ = [-3, n0, _ETE,
71
68
  { [_aQE]: [`ExpiredTokenException`, 400], [_e]: _c, [_hE]: 400 },
72
69
  [_m],
73
- [0],
70
+ [0]
74
71
  ];
75
72
  n0_registry.registerError(ExpiredTokenException$, ExpiredTokenException);
76
- export var IDPCommunicationErrorException$ = [
77
- -3,
78
- n0,
79
- _IDPCEE,
73
+ export var IDPCommunicationErrorException$ = [-3, n0, _IDPCEE,
80
74
  { [_aQE]: [`IDPCommunicationError`, 400], [_e]: _c, [_hE]: 400 },
81
75
  [_m],
82
- [0],
76
+ [0]
83
77
  ];
84
78
  n0_registry.registerError(IDPCommunicationErrorException$, IDPCommunicationErrorException);
85
- export var IDPRejectedClaimException$ = [
86
- -3,
87
- n0,
88
- _IDPRCE,
79
+ export var IDPRejectedClaimException$ = [-3, n0, _IDPRCE,
89
80
  { [_aQE]: [`IDPRejectedClaim`, 403], [_e]: _c, [_hE]: 403 },
90
81
  [_m],
91
- [0],
82
+ [0]
92
83
  ];
93
84
  n0_registry.registerError(IDPRejectedClaimException$, IDPRejectedClaimException);
94
- export var InvalidIdentityTokenException$ = [
95
- -3,
96
- n0,
97
- _IITE,
85
+ export var InvalidIdentityTokenException$ = [-3, n0, _IITE,
98
86
  { [_aQE]: [`InvalidIdentityToken`, 400], [_e]: _c, [_hE]: 400 },
99
87
  [_m],
100
- [0],
88
+ [0]
101
89
  ];
102
90
  n0_registry.registerError(InvalidIdentityTokenException$, InvalidIdentityTokenException);
103
- export var MalformedPolicyDocumentException$ = [
104
- -3,
105
- n0,
106
- _MPDE,
91
+ export var MalformedPolicyDocumentException$ = [-3, n0, _MPDE,
107
92
  { [_aQE]: [`MalformedPolicyDocument`, 400], [_e]: _c, [_hE]: 400 },
108
93
  [_m],
109
- [0],
94
+ [0]
110
95
  ];
111
96
  n0_registry.registerError(MalformedPolicyDocumentException$, MalformedPolicyDocumentException);
112
- export var PackedPolicyTooLargeException$ = [
113
- -3,
114
- n0,
115
- _PPTLE,
97
+ export var PackedPolicyTooLargeException$ = [-3, n0, _PPTLE,
116
98
  { [_aQE]: [`PackedPolicyTooLarge`, 400], [_e]: _c, [_hE]: 400 },
117
99
  [_m],
118
- [0],
100
+ [0]
119
101
  ];
120
102
  n0_registry.registerError(PackedPolicyTooLargeException$, PackedPolicyTooLargeException);
121
- export var RegionDisabledException$ = [
122
- -3,
123
- n0,
124
- _RDE,
103
+ export var RegionDisabledException$ = [-3, n0, _RDE,
125
104
  { [_aQE]: [`RegionDisabledException`, 403], [_e]: _c, [_hE]: 403 },
126
105
  [_m],
127
- [0],
106
+ [0]
128
107
  ];
129
108
  n0_registry.registerError(RegionDisabledException$, RegionDisabledException);
130
- export const errorTypeRegistries = [_s_registry, n0_registry];
109
+ export const errorTypeRegistries = [
110
+ _s_registry,
111
+ n0_registry,
112
+ ];
131
113
  var accessKeySecretType = [0, n0, _aKST, 8, 0];
132
114
  var clientTokenType = [0, n0, _cTT, 8, 0];
133
- export var AssumedRoleUser$ = [3, n0, _ARU, 0, [_ARI, _A], [0, 0], 2];
134
- export var AssumeRoleRequest$ = [
135
- 3,
136
- n0,
137
- _ARR,
115
+ export var AssumedRoleUser$ = [3, n0, _ARU,
116
+ 0,
117
+ [_ARI, _A],
118
+ [0, 0], 2
119
+ ];
120
+ export var AssumeRoleRequest$ = [3, n0, _ARR,
138
121
  0,
139
122
  [_RA, _RSN, _PA, _P, _DS, _T, _TTK, _EI, _SN, _TC, _SI, _PC],
140
- [0, 0, () => policyDescriptorListType, 0, 1, () => tagListType, 64 | 0, 0, 0, 0, 0, () => ProvidedContextsListType],
141
- 2,
123
+ [0, 0, () => policyDescriptorListType, 0, 1, () => tagListType, 64 | 0, 0, 0, 0, 0, () => ProvidedContextsListType], 2
142
124
  ];
143
- export var AssumeRoleResponse$ = [
144
- 3,
145
- n0,
146
- _ARRs,
125
+ export var AssumeRoleResponse$ = [3, n0, _ARRs,
147
126
  0,
148
127
  [_C, _ARU, _PPS, _SI],
149
- [[() => Credentials$, 0], () => AssumedRoleUser$, 1, 0],
128
+ [[() => Credentials$, 0], () => AssumedRoleUser$, 1, 0]
150
129
  ];
151
- export var AssumeRoleWithWebIdentityRequest$ = [
152
- 3,
153
- n0,
154
- _ARWWIR,
130
+ export var AssumeRoleWithWebIdentityRequest$ = [3, n0, _ARWWIR,
155
131
  0,
156
132
  [_RA, _RSN, _WIT, _PI, _PA, _P, _DS],
157
- [0, 0, [() => clientTokenType, 0], 0, () => policyDescriptorListType, 0, 1],
158
- 3,
133
+ [0, 0, [() => clientTokenType, 0], 0, () => policyDescriptorListType, 0, 1], 3
159
134
  ];
160
- export var AssumeRoleWithWebIdentityResponse$ = [
161
- 3,
162
- n0,
163
- _ARWWIRs,
135
+ export var AssumeRoleWithWebIdentityResponse$ = [3, n0, _ARWWIRs,
164
136
  0,
165
137
  [_C, _SFWIT, _ARU, _PPS, _Pr, _Au, _SI],
166
- [[() => Credentials$, 0], 0, () => AssumedRoleUser$, 1, 0, 0, 0],
138
+ [[() => Credentials$, 0], 0, () => AssumedRoleUser$, 1, 0, 0, 0]
167
139
  ];
168
- export var Credentials$ = [
169
- 3,
170
- n0,
171
- _C,
140
+ export var Credentials$ = [3, n0, _C,
172
141
  0,
173
142
  [_AKI, _SAK, _ST, _E],
174
- [0, [() => accessKeySecretType, 0], 0, 4],
175
- 4,
176
- ];
177
- export var PolicyDescriptorType$ = [3, n0, _PDT, 0, [_a], [0]];
178
- export var ProvidedContext$ = [3, n0, _PCr, 0, [_PAr, _CA], [0, 0]];
179
- export var Tag$ = [3, n0, _Ta, 0, [_K, _V], [0, 0], 2];
180
- var policyDescriptorListType = [1, n0, _pDLT, 0, () => PolicyDescriptorType$];
181
- var ProvidedContextsListType = [1, n0, _PCLT, 0, () => ProvidedContext$];
182
- var tagKeyListType = 64 | 0;
183
- var tagListType = [1, n0, _tLT, 0, () => Tag$];
184
- export var AssumeRole$ = [9, n0, _AR, 0, () => AssumeRoleRequest$, () => AssumeRoleResponse$];
185
- export var AssumeRoleWithWebIdentity$ = [
186
- 9,
187
- n0,
188
- _ARWWI,
143
+ [0, [() => accessKeySecretType, 0], 0, 4], 4
144
+ ];
145
+ export var PolicyDescriptorType$ = [3, n0, _PDT,
146
+ 0,
147
+ [_a],
148
+ [0]
149
+ ];
150
+ export var ProvidedContext$ = [3, n0, _PCr,
189
151
  0,
190
- () => AssumeRoleWithWebIdentityRequest$,
191
- () => AssumeRoleWithWebIdentityResponse$,
152
+ [_PAr, _CA],
153
+ [0, 0]
154
+ ];
155
+ export var Tag$ = [3, n0, _Ta,
156
+ 0,
157
+ [_K, _V],
158
+ [0, 0], 2
159
+ ];
160
+ var policyDescriptorListType = [1, n0, _pDLT,
161
+ 0, () => PolicyDescriptorType$
162
+ ];
163
+ var ProvidedContextsListType = [1, n0, _PCLT,
164
+ 0, () => ProvidedContext$
165
+ ];
166
+ var tagKeyListType = 64 | 0;
167
+ var tagListType = [1, n0, _tLT,
168
+ 0, () => Tag$
169
+ ];
170
+ export var AssumeRole$ = [9, n0, _AR,
171
+ 0, () => AssumeRoleRequest$, () => AssumeRoleResponse$
172
+ ];
173
+ export var AssumeRoleWithWebIdentity$ = [9, n0, _ARWWI,
174
+ 0, () => AssumeRoleWithWebIdentityRequest$, () => AssumeRoleWithWebIdentityResponse$
192
175
  ];
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/nested-clients",
3
- "version": "3.997.15",
3
+ "version": "3.997.17",
4
4
  "description": "Nested clients for AWS SDK packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -23,15 +23,15 @@
23
23
  "sideEffects": false,
24
24
  "author": {
25
25
  "name": "AWS SDK for JavaScript Team",
26
- "url": "https://aws.amazon.com/javascript/"
26
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
27
27
  },
28
28
  "license": "Apache-2.0",
29
29
  "dependencies": {
30
30
  "@aws-crypto/sha256-browser": "5.2.0",
31
31
  "@aws-crypto/sha256-js": "5.2.0",
32
- "@aws-sdk/core": "^3.974.17",
33
- "@aws-sdk/signature-v4-multi-region": "^3.996.31",
34
- "@aws-sdk/types": "^3.973.10",
32
+ "@aws-sdk/core": "^3.974.18",
33
+ "@aws-sdk/signature-v4-multi-region": "^3.996.32",
34
+ "@aws-sdk/types": "^3.973.11",
35
35
  "@smithy/core": "^3.24.6",
36
36
  "@smithy/fetch-http-handler": "^5.4.6",
37
37
  "@smithy/node-http-handler": "^4.7.6",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/signature-v4-multi-region",
3
- "version": "3.996.31",
3
+ "version": "3.996.32",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline signature-v4-multi-region",
@@ -21,11 +21,11 @@
21
21
  "sideEffects": false,
22
22
  "author": {
23
23
  "name": "AWS SDK for JavaScript Team",
24
- "url": "https://aws.amazon.com/javascript/"
24
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
25
25
  },
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@aws-sdk/types": "^3.973.10",
28
+ "@aws-sdk/types": "^3.973.11",
29
29
  "@smithy/signature-v4": "^5.4.6",
30
30
  "@smithy/types": "^4.14.3",
31
31
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/token-providers",
3
- "version": "3.1060.0",
3
+ "version": "3.1063.0",
4
4
  "description": "A collection of token providers",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -25,13 +25,13 @@
25
25
  "sideEffects": false,
26
26
  "author": {
27
27
  "name": "AWS SDK for JavaScript Team",
28
- "url": "https://aws.amazon.com/javascript/"
28
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
29
29
  },
30
30
  "license": "Apache-2.0",
31
31
  "dependencies": {
32
- "@aws-sdk/core": "^3.974.17",
33
- "@aws-sdk/nested-clients": "^3.997.15",
34
- "@aws-sdk/types": "^3.973.10",
32
+ "@aws-sdk/core": "^3.974.18",
33
+ "@aws-sdk/nested-clients": "^3.997.17",
34
+ "@aws-sdk/types": "^3.973.11",
35
35
  "@smithy/core": "^3.24.6",
36
36
  "@smithy/types": "^4.14.3",
37
37
  "tslib": "^2.6.2"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/types",
3
- "version": "3.973.10",
3
+ "version": "3.973.11",
4
4
  "main": "./dist-cjs/index.js",
5
5
  "module": "./dist-es/index.js",
6
6
  "types": "./dist-types/index.d.ts",
@@ -19,7 +19,7 @@
19
19
  "sideEffects": false,
20
20
  "author": {
21
21
  "name": "AWS SDK for JavaScript Team",
22
- "url": "https://aws.amazon.com/javascript/"
22
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "engines": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-locate-window",
3
- "version": "3.965.5",
3
+ "version": "3.965.6",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
6
6
  "build:cjs": "node ../../scripts/compilation/inline util-locate-window",
@@ -15,7 +15,7 @@
15
15
  "sideEffects": false,
16
16
  "author": {
17
17
  "name": "AWS SDK for JavaScript Team",
18
- "url": "https://aws.amazon.com/javascript/"
18
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
19
19
  },
20
20
  "license": "Apache-2.0",
21
21
  "dependencies": {