@cdk8s/awscdk-resolver 0.0.14 → 0.0.16

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 (35) hide show
  1. package/.jsii +4 -4
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/models/models_0.js +1 -0
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_0.js +1 -0
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeChangeSetCommand.d.ts +2 -2
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +135 -134
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +135 -134
  8. package/node_modules/@aws-sdk/client-cloudformation/package.json +11 -11
  9. package/node_modules/@aws-sdk/client-sso/package.json +9 -9
  10. package/node_modules/@aws-sdk/client-sts/package.json +10 -10
  11. package/node_modules/@aws-sdk/credential-provider-ini/package.json +2 -2
  12. package/node_modules/@aws-sdk/credential-provider-node/package.json +3 -3
  13. package/node_modules/@aws-sdk/credential-provider-sso/package.json +3 -3
  14. package/node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js +1 -1
  15. package/node_modules/@aws-sdk/middleware-host-header/dist-es/index.js +1 -1
  16. package/node_modules/@aws-sdk/middleware-host-header/package.json +1 -1
  17. package/node_modules/@aws-sdk/region-config-resolver/package.json +2 -2
  18. package/node_modules/@aws-sdk/token-providers/dist-cjs/bundle/client-sso-oidc-browser.js +320 -183
  19. package/node_modules/@aws-sdk/token-providers/dist-cjs/bundle/client-sso-oidc-node.js +321 -184
  20. package/node_modules/@aws-sdk/token-providers/dist-es/bundle/client-sso-oidc-browser.js +231 -93
  21. package/node_modules/@aws-sdk/token-providers/dist-es/bundle/client-sso-oidc-node.js +237 -98
  22. package/node_modules/@aws-sdk/token-providers/dist-types/bundle/client-sso-oidc-browser.d.ts +1 -1
  23. package/node_modules/@aws-sdk/token-providers/dist-types/bundle/client-sso-oidc-node.d.ts +1 -1
  24. package/node_modules/@aws-sdk/token-providers/package.json +8 -8
  25. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  26. package/node_modules/@smithy/config-resolver/package.json +2 -2
  27. package/node_modules/@smithy/credential-provider-imds/package.json +2 -2
  28. package/node_modules/@smithy/middleware-endpoint/package.json +3 -3
  29. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  30. package/node_modules/@smithy/node-config-provider/package.json +2 -2
  31. package/node_modules/@smithy/shared-ini-file-loader/dist-cjs/parseIni.js +11 -8
  32. package/node_modules/@smithy/shared-ini-file-loader/dist-es/parseIni.js +11 -8
  33. package/node_modules/@smithy/shared-ini-file-loader/package.json +1 -1
  34. package/node_modules/@smithy/util-defaults-mode-node/package.json +4 -4
  35. package/package.json +7 -7
@@ -16,10 +16,10 @@ var resolveClientEndpointParameters = (options) => {
16
16
  ...options,
17
17
  useDualstackEndpoint: (_a = options.useDualstackEndpoint) !== null && _a !== void 0 ? _a : false,
18
18
  useFipsEndpoint: (_b = options.useFipsEndpoint) !== null && _b !== void 0 ? _b : false,
19
- defaultSigningName: "awsssooidc"
19
+ defaultSigningName: "awsssooidc",
20
20
  };
21
21
  };
22
- var package_default = { version: "3.387.0" };
22
+ var package_default = { version: "3.429.0" };
23
23
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
24
24
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
25
25
  const config_resolver_2 = require("@smithy/config-resolver");
@@ -32,46 +32,149 @@ const url_parser_1 = require("@smithy/url-parser");
32
32
  const util_base64_1 = require("@smithy/util-base64");
33
33
  const util_utf8_1 = require("@smithy/util-utf8");
34
34
  const util_endpoints_1 = require("@aws-sdk/util-endpoints");
35
- var p = "required";
36
- var q = "fn";
37
- var r = "argv";
38
- var s = "ref";
39
- var a = "PartitionResult";
35
+ var s = "required";
36
+ var t = "fn";
37
+ var u = "argv";
38
+ var v = "ref";
39
+ var a = "isSet";
40
40
  var b = "tree";
41
41
  var c = "error";
42
42
  var d = "endpoint";
43
- var e = { [p]: false, "type": "String" };
44
- var f = { [p]: true, "default": false, "type": "Boolean" };
45
- var g = { [s]: "Endpoint" };
46
- var h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] };
47
- var i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] };
48
- var j = {};
49
- var k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] };
50
- var l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] };
51
- var m = [g];
52
- var n = [h];
53
- var o = [i];
54
- var _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
43
+ var e = "PartitionResult";
44
+ var f = "getAttr";
45
+ var g = { [s]: false, type: "String" };
46
+ var h = { [s]: true, default: false, type: "Boolean" };
47
+ var i = { [v]: "Endpoint" };
48
+ var j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] };
49
+ var k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] };
50
+ var l = {};
51
+ var m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] };
52
+ var n = { [v]: e };
53
+ var o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] };
54
+ var p = [j];
55
+ var q = [k];
56
+ var r = [{ [v]: "Region" }];
57
+ var _data = {
58
+ version: "1.0",
59
+ parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g },
60
+ rules: [
61
+ {
62
+ conditions: [{ [t]: a, [u]: [i] }],
63
+ type: b,
64
+ rules: [
65
+ { conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c },
66
+ { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c },
67
+ { endpoint: { url: i, properties: l, headers: l }, type: d },
68
+ ],
69
+ },
70
+ {
71
+ conditions: [{ [t]: a, [u]: r }],
72
+ type: b,
73
+ rules: [
74
+ {
75
+ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }],
76
+ type: b,
77
+ rules: [
78
+ {
79
+ conditions: [j, k],
80
+ type: b,
81
+ rules: [
82
+ {
83
+ conditions: [m, o],
84
+ type: b,
85
+ rules: [
86
+ {
87
+ endpoint: {
88
+ url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
89
+ properties: l,
90
+ headers: l,
91
+ },
92
+ type: d,
93
+ },
94
+ ],
95
+ },
96
+ { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c },
97
+ ],
98
+ },
99
+ {
100
+ conditions: p,
101
+ type: b,
102
+ rules: [
103
+ {
104
+ conditions: [m],
105
+ type: b,
106
+ rules: [
107
+ {
108
+ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }],
109
+ endpoint: { url: "https://oidc.{Region}.amazonaws.com", properties: l, headers: l },
110
+ type: d,
111
+ },
112
+ {
113
+ endpoint: {
114
+ url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",
115
+ properties: l,
116
+ headers: l,
117
+ },
118
+ type: d,
119
+ },
120
+ ],
121
+ },
122
+ { error: "FIPS is enabled but this partition does not support FIPS", type: c },
123
+ ],
124
+ },
125
+ {
126
+ conditions: q,
127
+ type: b,
128
+ rules: [
129
+ {
130
+ conditions: [o],
131
+ type: b,
132
+ rules: [
133
+ {
134
+ endpoint: {
135
+ url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",
136
+ properties: l,
137
+ headers: l,
138
+ },
139
+ type: d,
140
+ },
141
+ ],
142
+ },
143
+ { error: "DualStack is enabled but this partition does not support DualStack", type: c },
144
+ ],
145
+ },
146
+ {
147
+ endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l },
148
+ type: d,
149
+ },
150
+ ],
151
+ },
152
+ ],
153
+ },
154
+ { error: "Invalid Configuration: Missing Region", type: c },
155
+ ],
156
+ };
55
157
  var ruleSet = _data;
56
158
  var defaultEndpointResolver = (endpointParams, context = {}) => {
57
159
  return (0, util_endpoints_1.resolveEndpoint)(ruleSet, {
58
160
  endpointParams,
59
- logger: context.logger
161
+ logger: context.logger,
60
162
  });
61
163
  };
62
164
  var getRuntimeConfig = (config) => {
63
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
165
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
64
166
  return ({
65
167
  apiVersion: "2019-06-10",
66
168
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_1.fromBase64,
67
169
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_1.toBase64,
68
170
  disableHostPrefix: (_c = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _c !== void 0 ? _c : false,
69
171
  endpointProvider: (_d = config === null || config === void 0 ? void 0 : config.endpointProvider) !== null && _d !== void 0 ? _d : defaultEndpointResolver,
70
- logger: (_e = config === null || config === void 0 ? void 0 : config.logger) !== null && _e !== void 0 ? _e : new smithy_client_2.NoOpLogger(),
71
- serviceId: (_f = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _f !== void 0 ? _f : "SSO OIDC",
72
- urlParser: (_g = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _g !== void 0 ? _g : url_parser_1.parseUrl,
73
- utf8Decoder: (_h = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _h !== void 0 ? _h : util_utf8_1.fromUtf8,
74
- utf8Encoder: (_j = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _j !== void 0 ? _j : util_utf8_1.toUtf8
172
+ extensions: (_e = config === null || config === void 0 ? void 0 : config.extensions) !== null && _e !== void 0 ? _e : [],
173
+ logger: (_f = config === null || config === void 0 ? void 0 : config.logger) !== null && _f !== void 0 ? _f : new smithy_client_2.NoOpLogger(),
174
+ serviceId: (_g = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _g !== void 0 ? _g : "SSO OIDC",
175
+ urlParser: (_h = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _h !== void 0 ? _h : url_parser_1.parseUrl,
176
+ utf8Decoder: (_j = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _j !== void 0 ? _j : util_utf8_1.fromUtf8,
177
+ utf8Encoder: (_k = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _k !== void 0 ? _k : util_utf8_1.toUtf8,
75
178
  });
76
179
  };
77
180
  const smithy_client_3 = require("@smithy/smithy-client");
@@ -95,7 +198,25 @@ var getRuntimeConfig2 = (config) => {
95
198
  sha256: (_g = config === null || config === void 0 ? void 0 : config.sha256) !== null && _g !== void 0 ? _g : sha256_browser_1.Sha256,
96
199
  streamCollector: (_h = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _h !== void 0 ? _h : fetch_http_handler_1.streamCollector,
97
200
  useDualstackEndpoint: (_j = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _j !== void 0 ? _j : (() => Promise.resolve(config_resolver_2.DEFAULT_USE_DUALSTACK_ENDPOINT)),
98
- useFipsEndpoint: (_k = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _k !== void 0 ? _k : (() => Promise.resolve(config_resolver_2.DEFAULT_USE_FIPS_ENDPOINT))
201
+ useFipsEndpoint: (_k = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _k !== void 0 ? _k : (() => Promise.resolve(config_resolver_2.DEFAULT_USE_FIPS_ENDPOINT)),
202
+ };
203
+ };
204
+ const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
205
+ const protocol_http_1 = require("@smithy/protocol-http");
206
+ const smithy_client_4 = require("@smithy/smithy-client");
207
+ var asPartial = (t2) => t2;
208
+ var resolveRuntimeExtensions = (runtimeConfig, extensions) => {
209
+ const extensionConfiguration = {
210
+ ...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
211
+ ...asPartial((0, smithy_client_4.getDefaultExtensionConfiguration)(runtimeConfig)),
212
+ ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
213
+ };
214
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
215
+ return {
216
+ ...runtimeConfig,
217
+ ...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
218
+ ...(0, smithy_client_4.resolveDefaultRuntimeConfig)(extensionConfiguration),
219
+ ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
99
220
  };
100
221
  };
101
222
  var SSOOIDCClient = class extends smithy_client_1.Client {
@@ -107,8 +228,9 @@ var SSOOIDCClient = class extends smithy_client_1.Client {
107
228
  const _config_4 = (0, middleware_retry_1.resolveRetryConfig)(_config_3);
108
229
  const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
109
230
  const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5);
110
- super(_config_6);
111
- this.config = _config_6;
231
+ const _config_7 = resolveRuntimeExtensions(_config_6, (configuration === null || configuration === void 0 ? void 0 : configuration.extensions) || []);
232
+ super(_config_7);
233
+ this.config = _config_7;
112
234
  this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
113
235
  this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
114
236
  this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
@@ -121,14 +243,15 @@ var SSOOIDCClient = class extends smithy_client_1.Client {
121
243
  }
122
244
  };
123
245
  exports.SSOOIDCClient = SSOOIDCClient;
124
- const smithy_client_4 = require("@smithy/smithy-client");
246
+ const smithy_client_5 = require("@smithy/smithy-client");
125
247
  const middleware_endpoint_2 = require("@smithy/middleware-endpoint");
126
248
  const middleware_serde_1 = require("@smithy/middleware-serde");
127
- const smithy_client_5 = require("@smithy/smithy-client");
128
- const protocol_http_1 = require("@smithy/protocol-http");
129
249
  const smithy_client_6 = require("@smithy/smithy-client");
250
+ const types_1 = require("@smithy/types");
251
+ const protocol_http_2 = require("@smithy/protocol-http");
130
252
  const smithy_client_7 = require("@smithy/smithy-client");
131
- var SSOOIDCServiceException = class _SSOOIDCServiceException extends smithy_client_7.ServiceException {
253
+ const smithy_client_8 = require("@smithy/smithy-client");
254
+ var SSOOIDCServiceException = class _SSOOIDCServiceException extends smithy_client_8.ServiceException {
132
255
  constructor(options) {
133
256
  super(options);
134
257
  Object.setPrototypeOf(this, _SSOOIDCServiceException.prototype);
@@ -139,7 +262,7 @@ var AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceE
139
262
  super({
140
263
  name: "AccessDeniedException",
141
264
  $fault: "client",
142
- ...opts
265
+ ...opts,
143
266
  });
144
267
  this.name = "AccessDeniedException";
145
268
  this.$fault = "client";
@@ -154,7 +277,7 @@ var AuthorizationPendingException = class _AuthorizationPendingException extends
154
277
  super({
155
278
  name: "AuthorizationPendingException",
156
279
  $fault: "client",
157
- ...opts
280
+ ...opts,
158
281
  });
159
282
  this.name = "AuthorizationPendingException";
160
283
  this.$fault = "client";
@@ -169,7 +292,7 @@ var ExpiredTokenException = class _ExpiredTokenException extends SSOOIDCServiceE
169
292
  super({
170
293
  name: "ExpiredTokenException",
171
294
  $fault: "client",
172
- ...opts
295
+ ...opts,
173
296
  });
174
297
  this.name = "ExpiredTokenException";
175
298
  this.$fault = "client";
@@ -184,7 +307,7 @@ var InternalServerException = class _InternalServerException extends SSOOIDCServ
184
307
  super({
185
308
  name: "InternalServerException",
186
309
  $fault: "server",
187
- ...opts
310
+ ...opts,
188
311
  });
189
312
  this.name = "InternalServerException";
190
313
  this.$fault = "server";
@@ -199,7 +322,7 @@ var InvalidClientException = class _InvalidClientException extends SSOOIDCServic
199
322
  super({
200
323
  name: "InvalidClientException",
201
324
  $fault: "client",
202
- ...opts
325
+ ...opts,
203
326
  });
204
327
  this.name = "InvalidClientException";
205
328
  this.$fault = "client";
@@ -214,7 +337,7 @@ var InvalidGrantException = class _InvalidGrantException extends SSOOIDCServiceE
214
337
  super({
215
338
  name: "InvalidGrantException",
216
339
  $fault: "client",
217
- ...opts
340
+ ...opts,
218
341
  });
219
342
  this.name = "InvalidGrantException";
220
343
  this.$fault = "client";
@@ -228,7 +351,7 @@ var InvalidRequestException = class _InvalidRequestException extends SSOOIDCServ
228
351
  super({
229
352
  name: "InvalidRequestException",
230
353
  $fault: "client",
231
- ...opts
354
+ ...opts,
232
355
  });
233
356
  this.name = "InvalidRequestException";
234
357
  this.$fault = "client";
@@ -243,7 +366,7 @@ var InvalidScopeException = class _InvalidScopeException extends SSOOIDCServiceE
243
366
  super({
244
367
  name: "InvalidScopeException",
245
368
  $fault: "client",
246
- ...opts
369
+ ...opts,
247
370
  });
248
371
  this.name = "InvalidScopeException";
249
372
  this.$fault = "client";
@@ -258,7 +381,7 @@ var SlowDownException = class _SlowDownException extends SSOOIDCServiceException
258
381
  super({
259
382
  name: "SlowDownException",
260
383
  $fault: "client",
261
- ...opts
384
+ ...opts,
262
385
  });
263
386
  this.name = "SlowDownException";
264
387
  this.$fault = "client";
@@ -273,7 +396,7 @@ var UnauthorizedClientException = class _UnauthorizedClientException extends SSO
273
396
  super({
274
397
  name: "UnauthorizedClientException",
275
398
  $fault: "client",
276
- ...opts
399
+ ...opts,
277
400
  });
278
401
  this.name = "UnauthorizedClientException";
279
402
  this.$fault = "client";
@@ -288,7 +411,7 @@ var UnsupportedGrantTypeException = class _UnsupportedGrantTypeException extends
288
411
  super({
289
412
  name: "UnsupportedGrantTypeException",
290
413
  $fault: "client",
291
- ...opts
414
+ ...opts,
292
415
  });
293
416
  this.name = "UnsupportedGrantTypeException";
294
417
  this.$fault = "client";
@@ -303,7 +426,7 @@ var InvalidClientMetadataException = class _InvalidClientMetadataException exten
303
426
  super({
304
427
  name: "InvalidClientMetadataException",
305
428
  $fault: "client",
306
- ...opts
429
+ ...opts,
307
430
  });
308
431
  this.name = "InvalidClientMetadataException";
309
432
  this.$fault = "client";
@@ -315,11 +438,11 @@ var InvalidClientMetadataException = class _InvalidClientMetadataException exten
315
438
  var se_CreateTokenCommand = async (input, context) => {
316
439
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
317
440
  const headers = {
318
- "content-type": "application/json"
441
+ "content-type": "application/json",
319
442
  };
320
443
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/token`;
321
444
  let body;
322
- body = JSON.stringify((0, smithy_client_6.take)(input, {
445
+ body = JSON.stringify((0, smithy_client_7.take)(input, {
323
446
  clientId: [],
324
447
  clientSecret: [],
325
448
  code: [],
@@ -327,76 +450,76 @@ var se_CreateTokenCommand = async (input, context) => {
327
450
  grantType: [],
328
451
  redirectUri: [],
329
452
  refreshToken: [],
330
- scope: (_) => (0, smithy_client_6._json)(_)
453
+ scope: (_) => (0, smithy_client_7._json)(_),
331
454
  }));
332
- return new protocol_http_1.HttpRequest({
455
+ return new protocol_http_2.HttpRequest({
333
456
  protocol,
334
457
  hostname,
335
458
  port,
336
459
  method: "POST",
337
460
  headers,
338
461
  path: resolvedPath,
339
- body
462
+ body,
340
463
  });
341
464
  };
342
465
  var se_RegisterClientCommand = async (input, context) => {
343
466
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
344
467
  const headers = {
345
- "content-type": "application/json"
468
+ "content-type": "application/json",
346
469
  };
347
470
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/client/register`;
348
471
  let body;
349
- body = JSON.stringify((0, smithy_client_6.take)(input, {
472
+ body = JSON.stringify((0, smithy_client_7.take)(input, {
350
473
  clientName: [],
351
474
  clientType: [],
352
- scopes: (_) => (0, smithy_client_6._json)(_)
475
+ scopes: (_) => (0, smithy_client_7._json)(_),
353
476
  }));
354
- return new protocol_http_1.HttpRequest({
477
+ return new protocol_http_2.HttpRequest({
355
478
  protocol,
356
479
  hostname,
357
480
  port,
358
481
  method: "POST",
359
482
  headers,
360
483
  path: resolvedPath,
361
- body
484
+ body,
362
485
  });
363
486
  };
364
487
  var se_StartDeviceAuthorizationCommand = async (input, context) => {
365
488
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
366
489
  const headers = {
367
- "content-type": "application/json"
490
+ "content-type": "application/json",
368
491
  };
369
492
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/device_authorization`;
370
493
  let body;
371
- body = JSON.stringify((0, smithy_client_6.take)(input, {
494
+ body = JSON.stringify((0, smithy_client_7.take)(input, {
372
495
  clientId: [],
373
496
  clientSecret: [],
374
- startUrl: []
497
+ startUrl: [],
375
498
  }));
376
- return new protocol_http_1.HttpRequest({
499
+ return new protocol_http_2.HttpRequest({
377
500
  protocol,
378
501
  hostname,
379
502
  port,
380
503
  method: "POST",
381
504
  headers,
382
505
  path: resolvedPath,
383
- body
506
+ body,
384
507
  });
385
508
  };
386
509
  var de_CreateTokenCommand = async (output, context) => {
387
510
  if (output.statusCode !== 200 && output.statusCode >= 300) {
388
511
  return de_CreateTokenCommandError(output, context);
389
512
  }
390
- const contents = (0, smithy_client_6.map)({
391
- $metadata: deserializeMetadata(output)
513
+ const contents = (0, smithy_client_7.map)({
514
+ $metadata: deserializeMetadata(output),
392
515
  });
393
- const data = (0, smithy_client_6.expectNonNull)((0, smithy_client_6.expectObject)(await parseBody(output.body, context)), "body");
394
- const doc = (0, smithy_client_6.take)(data, {
395
- accessToken: smithy_client_6.expectString,
396
- expiresIn: smithy_client_6.expectInt32,
397
- idToken: smithy_client_6.expectString,
398
- refreshToken: smithy_client_6.expectString,
399
- tokenType: smithy_client_6.expectString
516
+ const data = (0, smithy_client_7.expectNonNull)((0, smithy_client_7.expectObject)(await parseBody(output.body, context)), "body");
517
+ const doc = (0, smithy_client_7.take)(data, {
518
+ accessToken: smithy_client_7.expectString,
519
+ expiresIn: smithy_client_7.expectInt32,
520
+ idToken: smithy_client_7.expectString,
521
+ refreshToken: smithy_client_7.expectString,
522
+ tokenType: smithy_client_7.expectString,
400
523
  });
401
524
  Object.assign(contents, doc);
402
525
  return contents;
@@ -404,7 +527,7 @@ var de_CreateTokenCommand = async (output, context) => {
404
527
  var de_CreateTokenCommandError = async (output, context) => {
405
528
  const parsedOutput = {
406
529
  ...output,
407
- body: await parseErrorBody(output.body, context)
530
+ body: await parseErrorBody(output.body, context),
408
531
  };
409
532
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
410
533
  switch (errorCode) {
@@ -446,7 +569,7 @@ var de_CreateTokenCommandError = async (output, context) => {
446
569
  return throwDefaultError({
447
570
  output,
448
571
  parsedBody,
449
- errorCode
572
+ errorCode,
450
573
  });
451
574
  }
452
575
  };
@@ -454,17 +577,17 @@ var de_RegisterClientCommand = async (output, context) => {
454
577
  if (output.statusCode !== 200 && output.statusCode >= 300) {
455
578
  return de_RegisterClientCommandError(output, context);
456
579
  }
457
- const contents = (0, smithy_client_6.map)({
458
- $metadata: deserializeMetadata(output)
580
+ const contents = (0, smithy_client_7.map)({
581
+ $metadata: deserializeMetadata(output),
459
582
  });
460
- const data = (0, smithy_client_6.expectNonNull)((0, smithy_client_6.expectObject)(await parseBody(output.body, context)), "body");
461
- const doc = (0, smithy_client_6.take)(data, {
462
- authorizationEndpoint: smithy_client_6.expectString,
463
- clientId: smithy_client_6.expectString,
464
- clientIdIssuedAt: smithy_client_6.expectLong,
465
- clientSecret: smithy_client_6.expectString,
466
- clientSecretExpiresAt: smithy_client_6.expectLong,
467
- tokenEndpoint: smithy_client_6.expectString
583
+ const data = (0, smithy_client_7.expectNonNull)((0, smithy_client_7.expectObject)(await parseBody(output.body, context)), "body");
584
+ const doc = (0, smithy_client_7.take)(data, {
585
+ authorizationEndpoint: smithy_client_7.expectString,
586
+ clientId: smithy_client_7.expectString,
587
+ clientIdIssuedAt: smithy_client_7.expectLong,
588
+ clientSecret: smithy_client_7.expectString,
589
+ clientSecretExpiresAt: smithy_client_7.expectLong,
590
+ tokenEndpoint: smithy_client_7.expectString,
468
591
  });
469
592
  Object.assign(contents, doc);
470
593
  return contents;
@@ -472,7 +595,7 @@ var de_RegisterClientCommand = async (output, context) => {
472
595
  var de_RegisterClientCommandError = async (output, context) => {
473
596
  const parsedOutput = {
474
597
  ...output,
475
- body: await parseErrorBody(output.body, context)
598
+ body: await parseErrorBody(output.body, context),
476
599
  };
477
600
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
478
601
  switch (errorCode) {
@@ -493,7 +616,7 @@ var de_RegisterClientCommandError = async (output, context) => {
493
616
  return throwDefaultError({
494
617
  output,
495
618
  parsedBody,
496
- errorCode
619
+ errorCode,
497
620
  });
498
621
  }
499
622
  };
@@ -501,17 +624,17 @@ var de_StartDeviceAuthorizationCommand = async (output, context) => {
501
624
  if (output.statusCode !== 200 && output.statusCode >= 300) {
502
625
  return de_StartDeviceAuthorizationCommandError(output, context);
503
626
  }
504
- const contents = (0, smithy_client_6.map)({
505
- $metadata: deserializeMetadata(output)
627
+ const contents = (0, smithy_client_7.map)({
628
+ $metadata: deserializeMetadata(output),
506
629
  });
507
- const data = (0, smithy_client_6.expectNonNull)((0, smithy_client_6.expectObject)(await parseBody(output.body, context)), "body");
508
- const doc = (0, smithy_client_6.take)(data, {
509
- deviceCode: smithy_client_6.expectString,
510
- expiresIn: smithy_client_6.expectInt32,
511
- interval: smithy_client_6.expectInt32,
512
- userCode: smithy_client_6.expectString,
513
- verificationUri: smithy_client_6.expectString,
514
- verificationUriComplete: smithy_client_6.expectString
630
+ const data = (0, smithy_client_7.expectNonNull)((0, smithy_client_7.expectObject)(await parseBody(output.body, context)), "body");
631
+ const doc = (0, smithy_client_7.take)(data, {
632
+ deviceCode: smithy_client_7.expectString,
633
+ expiresIn: smithy_client_7.expectInt32,
634
+ interval: smithy_client_7.expectInt32,
635
+ userCode: smithy_client_7.expectString,
636
+ verificationUri: smithy_client_7.expectString,
637
+ verificationUriComplete: smithy_client_7.expectString,
515
638
  });
516
639
  Object.assign(contents, doc);
517
640
  return contents;
@@ -519,7 +642,7 @@ var de_StartDeviceAuthorizationCommand = async (output, context) => {
519
642
  var de_StartDeviceAuthorizationCommandError = async (output, context) => {
520
643
  const parsedOutput = {
521
644
  ...output,
522
- body: await parseErrorBody(output.body, context)
645
+ body: await parseErrorBody(output.body, context),
523
646
  };
524
647
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
525
648
  switch (errorCode) {
@@ -543,178 +666,178 @@ var de_StartDeviceAuthorizationCommandError = async (output, context) => {
543
666
  return throwDefaultError({
544
667
  output,
545
668
  parsedBody,
546
- errorCode
669
+ errorCode,
547
670
  });
548
671
  }
549
672
  };
550
- var throwDefaultError = (0, smithy_client_6.withBaseException)(SSOOIDCServiceException);
673
+ var throwDefaultError = (0, smithy_client_7.withBaseException)(SSOOIDCServiceException);
551
674
  var de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
552
- const contents = (0, smithy_client_6.map)({});
675
+ const contents = (0, smithy_client_7.map)({});
553
676
  const data = parsedOutput.body;
554
- const doc = (0, smithy_client_6.take)(data, {
555
- error: smithy_client_6.expectString,
556
- error_description: smithy_client_6.expectString
677
+ const doc = (0, smithy_client_7.take)(data, {
678
+ error: smithy_client_7.expectString,
679
+ error_description: smithy_client_7.expectString,
557
680
  });
558
681
  Object.assign(contents, doc);
559
682
  const exception = new AccessDeniedException({
560
683
  $metadata: deserializeMetadata(parsedOutput),
561
- ...contents
684
+ ...contents,
562
685
  });
563
- return (0, smithy_client_6.decorateServiceException)(exception, parsedOutput.body);
686
+ return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
564
687
  };
565
688
  var de_AuthorizationPendingExceptionRes = async (parsedOutput, context) => {
566
- const contents = (0, smithy_client_6.map)({});
689
+ const contents = (0, smithy_client_7.map)({});
567
690
  const data = parsedOutput.body;
568
- const doc = (0, smithy_client_6.take)(data, {
569
- error: smithy_client_6.expectString,
570
- error_description: smithy_client_6.expectString
691
+ const doc = (0, smithy_client_7.take)(data, {
692
+ error: smithy_client_7.expectString,
693
+ error_description: smithy_client_7.expectString,
571
694
  });
572
695
  Object.assign(contents, doc);
573
696
  const exception = new AuthorizationPendingException({
574
697
  $metadata: deserializeMetadata(parsedOutput),
575
- ...contents
698
+ ...contents,
576
699
  });
577
- return (0, smithy_client_6.decorateServiceException)(exception, parsedOutput.body);
700
+ return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
578
701
  };
579
702
  var de_ExpiredTokenExceptionRes = async (parsedOutput, context) => {
580
- const contents = (0, smithy_client_6.map)({});
703
+ const contents = (0, smithy_client_7.map)({});
581
704
  const data = parsedOutput.body;
582
- const doc = (0, smithy_client_6.take)(data, {
583
- error: smithy_client_6.expectString,
584
- error_description: smithy_client_6.expectString
705
+ const doc = (0, smithy_client_7.take)(data, {
706
+ error: smithy_client_7.expectString,
707
+ error_description: smithy_client_7.expectString,
585
708
  });
586
709
  Object.assign(contents, doc);
587
710
  const exception = new ExpiredTokenException({
588
711
  $metadata: deserializeMetadata(parsedOutput),
589
- ...contents
712
+ ...contents,
590
713
  });
591
- return (0, smithy_client_6.decorateServiceException)(exception, parsedOutput.body);
714
+ return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
592
715
  };
593
716
  var de_InternalServerExceptionRes = async (parsedOutput, context) => {
594
- const contents = (0, smithy_client_6.map)({});
717
+ const contents = (0, smithy_client_7.map)({});
595
718
  const data = parsedOutput.body;
596
- const doc = (0, smithy_client_6.take)(data, {
597
- error: smithy_client_6.expectString,
598
- error_description: smithy_client_6.expectString
719
+ const doc = (0, smithy_client_7.take)(data, {
720
+ error: smithy_client_7.expectString,
721
+ error_description: smithy_client_7.expectString,
599
722
  });
600
723
  Object.assign(contents, doc);
601
724
  const exception = new InternalServerException({
602
725
  $metadata: deserializeMetadata(parsedOutput),
603
- ...contents
726
+ ...contents,
604
727
  });
605
- return (0, smithy_client_6.decorateServiceException)(exception, parsedOutput.body);
728
+ return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
606
729
  };
607
730
  var de_InvalidClientExceptionRes = async (parsedOutput, context) => {
608
- const contents = (0, smithy_client_6.map)({});
731
+ const contents = (0, smithy_client_7.map)({});
609
732
  const data = parsedOutput.body;
610
- const doc = (0, smithy_client_6.take)(data, {
611
- error: smithy_client_6.expectString,
612
- error_description: smithy_client_6.expectString
733
+ const doc = (0, smithy_client_7.take)(data, {
734
+ error: smithy_client_7.expectString,
735
+ error_description: smithy_client_7.expectString,
613
736
  });
614
737
  Object.assign(contents, doc);
615
738
  const exception = new InvalidClientException({
616
739
  $metadata: deserializeMetadata(parsedOutput),
617
- ...contents
740
+ ...contents,
618
741
  });
619
- return (0, smithy_client_6.decorateServiceException)(exception, parsedOutput.body);
742
+ return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
620
743
  };
621
744
  var de_InvalidClientMetadataExceptionRes = async (parsedOutput, context) => {
622
- const contents = (0, smithy_client_6.map)({});
745
+ const contents = (0, smithy_client_7.map)({});
623
746
  const data = parsedOutput.body;
624
- const doc = (0, smithy_client_6.take)(data, {
625
- error: smithy_client_6.expectString,
626
- error_description: smithy_client_6.expectString
747
+ const doc = (0, smithy_client_7.take)(data, {
748
+ error: smithy_client_7.expectString,
749
+ error_description: smithy_client_7.expectString,
627
750
  });
628
751
  Object.assign(contents, doc);
629
752
  const exception = new InvalidClientMetadataException({
630
753
  $metadata: deserializeMetadata(parsedOutput),
631
- ...contents
754
+ ...contents,
632
755
  });
633
- return (0, smithy_client_6.decorateServiceException)(exception, parsedOutput.body);
756
+ return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
634
757
  };
635
758
  var de_InvalidGrantExceptionRes = async (parsedOutput, context) => {
636
- const contents = (0, smithy_client_6.map)({});
759
+ const contents = (0, smithy_client_7.map)({});
637
760
  const data = parsedOutput.body;
638
- const doc = (0, smithy_client_6.take)(data, {
639
- error: smithy_client_6.expectString,
640
- error_description: smithy_client_6.expectString
761
+ const doc = (0, smithy_client_7.take)(data, {
762
+ error: smithy_client_7.expectString,
763
+ error_description: smithy_client_7.expectString,
641
764
  });
642
765
  Object.assign(contents, doc);
643
766
  const exception = new InvalidGrantException({
644
767
  $metadata: deserializeMetadata(parsedOutput),
645
- ...contents
768
+ ...contents,
646
769
  });
647
- return (0, smithy_client_6.decorateServiceException)(exception, parsedOutput.body);
770
+ return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
648
771
  };
649
772
  var de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
650
- const contents = (0, smithy_client_6.map)({});
773
+ const contents = (0, smithy_client_7.map)({});
651
774
  const data = parsedOutput.body;
652
- const doc = (0, smithy_client_6.take)(data, {
653
- error: smithy_client_6.expectString,
654
- error_description: smithy_client_6.expectString
775
+ const doc = (0, smithy_client_7.take)(data, {
776
+ error: smithy_client_7.expectString,
777
+ error_description: smithy_client_7.expectString,
655
778
  });
656
779
  Object.assign(contents, doc);
657
780
  const exception = new InvalidRequestException({
658
781
  $metadata: deserializeMetadata(parsedOutput),
659
- ...contents
782
+ ...contents,
660
783
  });
661
- return (0, smithy_client_6.decorateServiceException)(exception, parsedOutput.body);
784
+ return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
662
785
  };
663
786
  var de_InvalidScopeExceptionRes = async (parsedOutput, context) => {
664
- const contents = (0, smithy_client_6.map)({});
787
+ const contents = (0, smithy_client_7.map)({});
665
788
  const data = parsedOutput.body;
666
- const doc = (0, smithy_client_6.take)(data, {
667
- error: smithy_client_6.expectString,
668
- error_description: smithy_client_6.expectString
789
+ const doc = (0, smithy_client_7.take)(data, {
790
+ error: smithy_client_7.expectString,
791
+ error_description: smithy_client_7.expectString,
669
792
  });
670
793
  Object.assign(contents, doc);
671
794
  const exception = new InvalidScopeException({
672
795
  $metadata: deserializeMetadata(parsedOutput),
673
- ...contents
796
+ ...contents,
674
797
  });
675
- return (0, smithy_client_6.decorateServiceException)(exception, parsedOutput.body);
798
+ return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
676
799
  };
677
800
  var de_SlowDownExceptionRes = async (parsedOutput, context) => {
678
- const contents = (0, smithy_client_6.map)({});
801
+ const contents = (0, smithy_client_7.map)({});
679
802
  const data = parsedOutput.body;
680
- const doc = (0, smithy_client_6.take)(data, {
681
- error: smithy_client_6.expectString,
682
- error_description: smithy_client_6.expectString
803
+ const doc = (0, smithy_client_7.take)(data, {
804
+ error: smithy_client_7.expectString,
805
+ error_description: smithy_client_7.expectString,
683
806
  });
684
807
  Object.assign(contents, doc);
685
808
  const exception = new SlowDownException({
686
809
  $metadata: deserializeMetadata(parsedOutput),
687
- ...contents
810
+ ...contents,
688
811
  });
689
- return (0, smithy_client_6.decorateServiceException)(exception, parsedOutput.body);
812
+ return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
690
813
  };
691
814
  var de_UnauthorizedClientExceptionRes = async (parsedOutput, context) => {
692
- const contents = (0, smithy_client_6.map)({});
815
+ const contents = (0, smithy_client_7.map)({});
693
816
  const data = parsedOutput.body;
694
- const doc = (0, smithy_client_6.take)(data, {
695
- error: smithy_client_6.expectString,
696
- error_description: smithy_client_6.expectString
817
+ const doc = (0, smithy_client_7.take)(data, {
818
+ error: smithy_client_7.expectString,
819
+ error_description: smithy_client_7.expectString,
697
820
  });
698
821
  Object.assign(contents, doc);
699
822
  const exception = new UnauthorizedClientException({
700
823
  $metadata: deserializeMetadata(parsedOutput),
701
- ...contents
824
+ ...contents,
702
825
  });
703
- return (0, smithy_client_6.decorateServiceException)(exception, parsedOutput.body);
826
+ return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
704
827
  };
705
828
  var de_UnsupportedGrantTypeExceptionRes = async (parsedOutput, context) => {
706
- const contents = (0, smithy_client_6.map)({});
829
+ const contents = (0, smithy_client_7.map)({});
707
830
  const data = parsedOutput.body;
708
- const doc = (0, smithy_client_6.take)(data, {
709
- error: smithy_client_6.expectString,
710
- error_description: smithy_client_6.expectString
831
+ const doc = (0, smithy_client_7.take)(data, {
832
+ error: smithy_client_7.expectString,
833
+ error_description: smithy_client_7.expectString,
711
834
  });
712
835
  Object.assign(contents, doc);
713
836
  const exception = new UnsupportedGrantTypeException({
714
837
  $metadata: deserializeMetadata(parsedOutput),
715
- ...contents
838
+ ...contents,
716
839
  });
717
- return (0, smithy_client_6.decorateServiceException)(exception, parsedOutput.body);
840
+ return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
718
841
  };
719
842
  var deserializeMetadata = (output) => {
720
843
  var _a, _b;
@@ -722,10 +845,10 @@ var deserializeMetadata = (output) => {
722
845
  httpStatusCode: output.statusCode,
723
846
  requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
724
847
  extendedRequestId: output.headers["x-amz-id-2"],
725
- cfId: output.headers["x-amz-cf-id"]
848
+ cfId: output.headers["x-amz-cf-id"],
726
849
  });
727
850
  };
728
- var collectBodyString = (streamBody, context) => (0, smithy_client_6.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
851
+ var collectBodyString = (streamBody, context) => (0, smithy_client_7.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
729
852
  var parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
730
853
  if (encoded.length) {
731
854
  return JSON.parse(encoded);
@@ -767,7 +890,7 @@ var loadRestJsonErrorCode = (output, data) => {
767
890
  return sanitizeErrorCode(data["__type"]);
768
891
  }
769
892
  };
770
- var CreateTokenCommand = class _CreateTokenCommand extends smithy_client_5.Command {
893
+ var CreateTokenCommand = class _CreateTokenCommand extends smithy_client_6.Command {
771
894
  constructor(input) {
772
895
  super();
773
896
  this.input = input;
@@ -777,7 +900,7 @@ var CreateTokenCommand = class _CreateTokenCommand extends smithy_client_5.Comma
777
900
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
778
901
  Endpoint: { type: "builtInParams", name: "endpoint" },
779
902
  Region: { type: "builtInParams", name: "region" },
780
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
903
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
781
904
  };
782
905
  }
783
906
  resolveMiddleware(clientStack, configuration, options) {
@@ -792,7 +915,11 @@ var CreateTokenCommand = class _CreateTokenCommand extends smithy_client_5.Comma
792
915
  clientName,
793
916
  commandName,
794
917
  inputFilterSensitiveLog: (_) => _,
795
- outputFilterSensitiveLog: (_) => _
918
+ outputFilterSensitiveLog: (_) => _,
919
+ [types_1.SMITHY_CONTEXT_KEY]: {
920
+ service: "AWSSSOOIDCService",
921
+ operation: "CreateToken",
922
+ },
796
923
  };
797
924
  const { requestHandler } = configuration;
798
925
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -807,8 +934,9 @@ var CreateTokenCommand = class _CreateTokenCommand extends smithy_client_5.Comma
807
934
  exports.CreateTokenCommand = CreateTokenCommand;
808
935
  const middleware_endpoint_3 = require("@smithy/middleware-endpoint");
809
936
  const middleware_serde_2 = require("@smithy/middleware-serde");
810
- const smithy_client_8 = require("@smithy/smithy-client");
811
- var RegisterClientCommand = class _RegisterClientCommand extends smithy_client_8.Command {
937
+ const smithy_client_9 = require("@smithy/smithy-client");
938
+ const types_2 = require("@smithy/types");
939
+ var RegisterClientCommand = class _RegisterClientCommand extends smithy_client_9.Command {
812
940
  constructor(input) {
813
941
  super();
814
942
  this.input = input;
@@ -818,7 +946,7 @@ var RegisterClientCommand = class _RegisterClientCommand extends smithy_client_8
818
946
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
819
947
  Endpoint: { type: "builtInParams", name: "endpoint" },
820
948
  Region: { type: "builtInParams", name: "region" },
821
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
949
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
822
950
  };
823
951
  }
824
952
  resolveMiddleware(clientStack, configuration, options) {
@@ -833,7 +961,11 @@ var RegisterClientCommand = class _RegisterClientCommand extends smithy_client_8
833
961
  clientName,
834
962
  commandName,
835
963
  inputFilterSensitiveLog: (_) => _,
836
- outputFilterSensitiveLog: (_) => _
964
+ outputFilterSensitiveLog: (_) => _,
965
+ [types_2.SMITHY_CONTEXT_KEY]: {
966
+ service: "AWSSSOOIDCService",
967
+ operation: "RegisterClient",
968
+ },
837
969
  };
838
970
  const { requestHandler } = configuration;
839
971
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -847,8 +979,9 @@ var RegisterClientCommand = class _RegisterClientCommand extends smithy_client_8
847
979
  };
848
980
  const middleware_endpoint_4 = require("@smithy/middleware-endpoint");
849
981
  const middleware_serde_3 = require("@smithy/middleware-serde");
850
- const smithy_client_9 = require("@smithy/smithy-client");
851
- var StartDeviceAuthorizationCommand = class _StartDeviceAuthorizationCommand extends smithy_client_9.Command {
982
+ const smithy_client_10 = require("@smithy/smithy-client");
983
+ const types_3 = require("@smithy/types");
984
+ var StartDeviceAuthorizationCommand = class _StartDeviceAuthorizationCommand extends smithy_client_10.Command {
852
985
  constructor(input) {
853
986
  super();
854
987
  this.input = input;
@@ -858,7 +991,7 @@ var StartDeviceAuthorizationCommand = class _StartDeviceAuthorizationCommand ext
858
991
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
859
992
  Endpoint: { type: "builtInParams", name: "endpoint" },
860
993
  Region: { type: "builtInParams", name: "region" },
861
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
994
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
862
995
  };
863
996
  }
864
997
  resolveMiddleware(clientStack, configuration, options) {
@@ -873,7 +1006,11 @@ var StartDeviceAuthorizationCommand = class _StartDeviceAuthorizationCommand ext
873
1006
  clientName,
874
1007
  commandName,
875
1008
  inputFilterSensitiveLog: (_) => _,
876
- outputFilterSensitiveLog: (_) => _
1009
+ outputFilterSensitiveLog: (_) => _,
1010
+ [types_3.SMITHY_CONTEXT_KEY]: {
1011
+ service: "AWSSSOOIDCService",
1012
+ operation: "StartDeviceAuthorization",
1013
+ },
877
1014
  };
878
1015
  const { requestHandler } = configuration;
879
1016
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -888,8 +1025,8 @@ var StartDeviceAuthorizationCommand = class _StartDeviceAuthorizationCommand ext
888
1025
  var commands = {
889
1026
  CreateTokenCommand,
890
1027
  RegisterClientCommand,
891
- StartDeviceAuthorizationCommand
1028
+ StartDeviceAuthorizationCommand,
892
1029
  };
893
1030
  var SSOOIDC = class extends SSOOIDCClient {
894
1031
  };
895
- (0, smithy_client_4.createAggregatedClient)(commands, SSOOIDC);
1032
+ (0, smithy_client_5.createAggregatedClient)(commands, SSOOIDC);