@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 util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
24
24
  const config_resolver_2 = require("@smithy/config-resolver");
25
25
  const hash_node_1 = require("@smithy/hash-node");
@@ -33,46 +33,149 @@ const url_parser_1 = require("@smithy/url-parser");
33
33
  const util_base64_1 = require("@smithy/util-base64");
34
34
  const util_utf8_1 = require("@smithy/util-utf8");
35
35
  const util_endpoints_1 = require("@aws-sdk/util-endpoints");
36
- var p = "required";
37
- var q = "fn";
38
- var r = "argv";
39
- var s = "ref";
40
- var a = "PartitionResult";
36
+ var s = "required";
37
+ var t = "fn";
38
+ var u = "argv";
39
+ var v = "ref";
40
+ var a = "isSet";
41
41
  var b = "tree";
42
42
  var c = "error";
43
43
  var d = "endpoint";
44
- var e = { [p]: false, "type": "String" };
45
- var f = { [p]: true, "default": false, "type": "Boolean" };
46
- var g = { [s]: "Endpoint" };
47
- var h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] };
48
- var i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] };
49
- var j = {};
50
- var k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] };
51
- var l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] };
52
- var m = [g];
53
- var n = [h];
54
- var o = [i];
55
- 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 }] }] };
44
+ var e = "PartitionResult";
45
+ var f = "getAttr";
46
+ var g = { [s]: false, type: "String" };
47
+ var h = { [s]: true, default: false, type: "Boolean" };
48
+ var i = { [v]: "Endpoint" };
49
+ var j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] };
50
+ var k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] };
51
+ var l = {};
52
+ var m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] };
53
+ var n = { [v]: e };
54
+ var o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] };
55
+ var p = [j];
56
+ var q = [k];
57
+ var r = [{ [v]: "Region" }];
58
+ var _data = {
59
+ version: "1.0",
60
+ parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g },
61
+ rules: [
62
+ {
63
+ conditions: [{ [t]: a, [u]: [i] }],
64
+ type: b,
65
+ rules: [
66
+ { conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c },
67
+ { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c },
68
+ { endpoint: { url: i, properties: l, headers: l }, type: d },
69
+ ],
70
+ },
71
+ {
72
+ conditions: [{ [t]: a, [u]: r }],
73
+ type: b,
74
+ rules: [
75
+ {
76
+ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }],
77
+ type: b,
78
+ rules: [
79
+ {
80
+ conditions: [j, k],
81
+ type: b,
82
+ rules: [
83
+ {
84
+ conditions: [m, o],
85
+ type: b,
86
+ rules: [
87
+ {
88
+ endpoint: {
89
+ url: "https://oidc-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
90
+ properties: l,
91
+ headers: l,
92
+ },
93
+ type: d,
94
+ },
95
+ ],
96
+ },
97
+ { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c },
98
+ ],
99
+ },
100
+ {
101
+ conditions: p,
102
+ type: b,
103
+ rules: [
104
+ {
105
+ conditions: [m],
106
+ type: b,
107
+ rules: [
108
+ {
109
+ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }],
110
+ endpoint: { url: "https://oidc.{Region}.amazonaws.com", properties: l, headers: l },
111
+ type: d,
112
+ },
113
+ {
114
+ endpoint: {
115
+ url: "https://oidc-fips.{Region}.{PartitionResult#dnsSuffix}",
116
+ properties: l,
117
+ headers: l,
118
+ },
119
+ type: d,
120
+ },
121
+ ],
122
+ },
123
+ { error: "FIPS is enabled but this partition does not support FIPS", type: c },
124
+ ],
125
+ },
126
+ {
127
+ conditions: q,
128
+ type: b,
129
+ rules: [
130
+ {
131
+ conditions: [o],
132
+ type: b,
133
+ rules: [
134
+ {
135
+ endpoint: {
136
+ url: "https://oidc.{Region}.{PartitionResult#dualStackDnsSuffix}",
137
+ properties: l,
138
+ headers: l,
139
+ },
140
+ type: d,
141
+ },
142
+ ],
143
+ },
144
+ { error: "DualStack is enabled but this partition does not support DualStack", type: c },
145
+ ],
146
+ },
147
+ {
148
+ endpoint: { url: "https://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l },
149
+ type: d,
150
+ },
151
+ ],
152
+ },
153
+ ],
154
+ },
155
+ { error: "Invalid Configuration: Missing Region", type: c },
156
+ ],
157
+ };
56
158
  var ruleSet = _data;
57
159
  var defaultEndpointResolver = (endpointParams, context = {}) => {
58
160
  return (0, util_endpoints_1.resolveEndpoint)(ruleSet, {
59
161
  endpointParams,
60
- logger: context.logger
162
+ logger: context.logger,
61
163
  });
62
164
  };
63
165
  var getRuntimeConfig = (config) => {
64
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
166
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
65
167
  return ({
66
168
  apiVersion: "2019-06-10",
67
169
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_1.fromBase64,
68
170
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_1.toBase64,
69
171
  disableHostPrefix: (_c = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _c !== void 0 ? _c : false,
70
172
  endpointProvider: (_d = config === null || config === void 0 ? void 0 : config.endpointProvider) !== null && _d !== void 0 ? _d : defaultEndpointResolver,
71
- logger: (_e = config === null || config === void 0 ? void 0 : config.logger) !== null && _e !== void 0 ? _e : new smithy_client_2.NoOpLogger(),
72
- serviceId: (_f = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _f !== void 0 ? _f : "SSO OIDC",
73
- urlParser: (_g = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _g !== void 0 ? _g : url_parser_1.parseUrl,
74
- utf8Decoder: (_h = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _h !== void 0 ? _h : util_utf8_1.fromUtf8,
75
- utf8Encoder: (_j = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _j !== void 0 ? _j : util_utf8_1.toUtf8
173
+ extensions: (_e = config === null || config === void 0 ? void 0 : config.extensions) !== null && _e !== void 0 ? _e : [],
174
+ logger: (_f = config === null || config === void 0 ? void 0 : config.logger) !== null && _f !== void 0 ? _f : new smithy_client_2.NoOpLogger(),
175
+ serviceId: (_g = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _g !== void 0 ? _g : "SSO OIDC",
176
+ urlParser: (_h = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _h !== void 0 ? _h : url_parser_1.parseUrl,
177
+ utf8Decoder: (_j = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _j !== void 0 ? _j : util_utf8_1.fromUtf8,
178
+ utf8Encoder: (_k = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _k !== void 0 ? _k : util_utf8_1.toUtf8,
76
179
  });
77
180
  };
78
181
  const smithy_client_3 = require("@smithy/smithy-client");
@@ -96,12 +199,30 @@ var getRuntimeConfig2 = (config) => {
96
199
  requestHandler: (_e = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _e !== void 0 ? _e : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
97
200
  retryMode: (_f = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)({
98
201
  ...middleware_retry_2.NODE_RETRY_MODE_CONFIG_OPTIONS,
99
- default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE
202
+ default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
100
203
  }),
101
204
  sha256: (_g = config === null || config === void 0 ? void 0 : config.sha256) !== null && _g !== void 0 ? _g : hash_node_1.Hash.bind(null, "sha256"),
102
205
  streamCollector: (_h = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _h !== void 0 ? _h : node_http_handler_1.streamCollector,
103
206
  useDualstackEndpoint: (_j = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)(config_resolver_2.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
104
- useFipsEndpoint: (_k = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _k !== void 0 ? _k : (0, node_config_provider_1.loadConfig)(config_resolver_2.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS)
207
+ useFipsEndpoint: (_k = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _k !== void 0 ? _k : (0, node_config_provider_1.loadConfig)(config_resolver_2.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
208
+ };
209
+ };
210
+ const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
211
+ const protocol_http_1 = require("@smithy/protocol-http");
212
+ const smithy_client_5 = require("@smithy/smithy-client");
213
+ var asPartial = (t2) => t2;
214
+ var resolveRuntimeExtensions = (runtimeConfig, extensions) => {
215
+ const extensionConfiguration = {
216
+ ...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
217
+ ...asPartial((0, smithy_client_5.getDefaultExtensionConfiguration)(runtimeConfig)),
218
+ ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
219
+ };
220
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
221
+ return {
222
+ ...runtimeConfig,
223
+ ...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
224
+ ...(0, smithy_client_5.resolveDefaultRuntimeConfig)(extensionConfiguration),
225
+ ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
105
226
  };
106
227
  };
107
228
  var SSOOIDCClient = class extends smithy_client_1.Client {
@@ -113,8 +234,9 @@ var SSOOIDCClient = class extends smithy_client_1.Client {
113
234
  const _config_4 = (0, middleware_retry_1.resolveRetryConfig)(_config_3);
114
235
  const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
115
236
  const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5);
116
- super(_config_6);
117
- this.config = _config_6;
237
+ const _config_7 = resolveRuntimeExtensions(_config_6, (configuration === null || configuration === void 0 ? void 0 : configuration.extensions) || []);
238
+ super(_config_7);
239
+ this.config = _config_7;
118
240
  this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
119
241
  this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
120
242
  this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
@@ -127,14 +249,15 @@ var SSOOIDCClient = class extends smithy_client_1.Client {
127
249
  }
128
250
  };
129
251
  exports.SSOOIDCClient = SSOOIDCClient;
130
- const smithy_client_5 = require("@smithy/smithy-client");
252
+ const smithy_client_6 = require("@smithy/smithy-client");
131
253
  const middleware_endpoint_2 = require("@smithy/middleware-endpoint");
132
254
  const middleware_serde_1 = require("@smithy/middleware-serde");
133
- const smithy_client_6 = require("@smithy/smithy-client");
134
- const protocol_http_1 = require("@smithy/protocol-http");
135
255
  const smithy_client_7 = require("@smithy/smithy-client");
256
+ const types_1 = require("@smithy/types");
257
+ const protocol_http_2 = require("@smithy/protocol-http");
136
258
  const smithy_client_8 = require("@smithy/smithy-client");
137
- var SSOOIDCServiceException = class _SSOOIDCServiceException extends smithy_client_8.ServiceException {
259
+ const smithy_client_9 = require("@smithy/smithy-client");
260
+ var SSOOIDCServiceException = class _SSOOIDCServiceException extends smithy_client_9.ServiceException {
138
261
  constructor(options) {
139
262
  super(options);
140
263
  Object.setPrototypeOf(this, _SSOOIDCServiceException.prototype);
@@ -145,7 +268,7 @@ var AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceE
145
268
  super({
146
269
  name: "AccessDeniedException",
147
270
  $fault: "client",
148
- ...opts
271
+ ...opts,
149
272
  });
150
273
  this.name = "AccessDeniedException";
151
274
  this.$fault = "client";
@@ -160,7 +283,7 @@ var AuthorizationPendingException = class _AuthorizationPendingException extends
160
283
  super({
161
284
  name: "AuthorizationPendingException",
162
285
  $fault: "client",
163
- ...opts
286
+ ...opts,
164
287
  });
165
288
  this.name = "AuthorizationPendingException";
166
289
  this.$fault = "client";
@@ -175,7 +298,7 @@ var ExpiredTokenException = class _ExpiredTokenException extends SSOOIDCServiceE
175
298
  super({
176
299
  name: "ExpiredTokenException",
177
300
  $fault: "client",
178
- ...opts
301
+ ...opts,
179
302
  });
180
303
  this.name = "ExpiredTokenException";
181
304
  this.$fault = "client";
@@ -190,7 +313,7 @@ var InternalServerException = class _InternalServerException extends SSOOIDCServ
190
313
  super({
191
314
  name: "InternalServerException",
192
315
  $fault: "server",
193
- ...opts
316
+ ...opts,
194
317
  });
195
318
  this.name = "InternalServerException";
196
319
  this.$fault = "server";
@@ -205,7 +328,7 @@ var InvalidClientException = class _InvalidClientException extends SSOOIDCServic
205
328
  super({
206
329
  name: "InvalidClientException",
207
330
  $fault: "client",
208
- ...opts
331
+ ...opts,
209
332
  });
210
333
  this.name = "InvalidClientException";
211
334
  this.$fault = "client";
@@ -220,7 +343,7 @@ var InvalidGrantException = class _InvalidGrantException extends SSOOIDCServiceE
220
343
  super({
221
344
  name: "InvalidGrantException",
222
345
  $fault: "client",
223
- ...opts
346
+ ...opts,
224
347
  });
225
348
  this.name = "InvalidGrantException";
226
349
  this.$fault = "client";
@@ -234,7 +357,7 @@ var InvalidRequestException = class _InvalidRequestException extends SSOOIDCServ
234
357
  super({
235
358
  name: "InvalidRequestException",
236
359
  $fault: "client",
237
- ...opts
360
+ ...opts,
238
361
  });
239
362
  this.name = "InvalidRequestException";
240
363
  this.$fault = "client";
@@ -249,7 +372,7 @@ var InvalidScopeException = class _InvalidScopeException extends SSOOIDCServiceE
249
372
  super({
250
373
  name: "InvalidScopeException",
251
374
  $fault: "client",
252
- ...opts
375
+ ...opts,
253
376
  });
254
377
  this.name = "InvalidScopeException";
255
378
  this.$fault = "client";
@@ -264,7 +387,7 @@ var SlowDownException = class _SlowDownException extends SSOOIDCServiceException
264
387
  super({
265
388
  name: "SlowDownException",
266
389
  $fault: "client",
267
- ...opts
390
+ ...opts,
268
391
  });
269
392
  this.name = "SlowDownException";
270
393
  this.$fault = "client";
@@ -279,7 +402,7 @@ var UnauthorizedClientException = class _UnauthorizedClientException extends SSO
279
402
  super({
280
403
  name: "UnauthorizedClientException",
281
404
  $fault: "client",
282
- ...opts
405
+ ...opts,
283
406
  });
284
407
  this.name = "UnauthorizedClientException";
285
408
  this.$fault = "client";
@@ -294,7 +417,7 @@ var UnsupportedGrantTypeException = class _UnsupportedGrantTypeException extends
294
417
  super({
295
418
  name: "UnsupportedGrantTypeException",
296
419
  $fault: "client",
297
- ...opts
420
+ ...opts,
298
421
  });
299
422
  this.name = "UnsupportedGrantTypeException";
300
423
  this.$fault = "client";
@@ -309,7 +432,7 @@ var InvalidClientMetadataException = class _InvalidClientMetadataException exten
309
432
  super({
310
433
  name: "InvalidClientMetadataException",
311
434
  $fault: "client",
312
- ...opts
435
+ ...opts,
313
436
  });
314
437
  this.name = "InvalidClientMetadataException";
315
438
  this.$fault = "client";
@@ -321,11 +444,11 @@ var InvalidClientMetadataException = class _InvalidClientMetadataException exten
321
444
  var se_CreateTokenCommand = async (input, context) => {
322
445
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
323
446
  const headers = {
324
- "content-type": "application/json"
447
+ "content-type": "application/json",
325
448
  };
326
449
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/token`;
327
450
  let body;
328
- body = JSON.stringify((0, smithy_client_7.take)(input, {
451
+ body = JSON.stringify((0, smithy_client_8.take)(input, {
329
452
  clientId: [],
330
453
  clientSecret: [],
331
454
  code: [],
@@ -333,76 +456,76 @@ var se_CreateTokenCommand = async (input, context) => {
333
456
  grantType: [],
334
457
  redirectUri: [],
335
458
  refreshToken: [],
336
- scope: (_) => (0, smithy_client_7._json)(_)
459
+ scope: (_) => (0, smithy_client_8._json)(_),
337
460
  }));
338
- return new protocol_http_1.HttpRequest({
461
+ return new protocol_http_2.HttpRequest({
339
462
  protocol,
340
463
  hostname,
341
464
  port,
342
465
  method: "POST",
343
466
  headers,
344
467
  path: resolvedPath,
345
- body
468
+ body,
346
469
  });
347
470
  };
348
471
  var se_RegisterClientCommand = async (input, context) => {
349
472
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
350
473
  const headers = {
351
- "content-type": "application/json"
474
+ "content-type": "application/json",
352
475
  };
353
476
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/client/register`;
354
477
  let body;
355
- body = JSON.stringify((0, smithy_client_7.take)(input, {
478
+ body = JSON.stringify((0, smithy_client_8.take)(input, {
356
479
  clientName: [],
357
480
  clientType: [],
358
- scopes: (_) => (0, smithy_client_7._json)(_)
481
+ scopes: (_) => (0, smithy_client_8._json)(_),
359
482
  }));
360
- return new protocol_http_1.HttpRequest({
483
+ return new protocol_http_2.HttpRequest({
361
484
  protocol,
362
485
  hostname,
363
486
  port,
364
487
  method: "POST",
365
488
  headers,
366
489
  path: resolvedPath,
367
- body
490
+ body,
368
491
  });
369
492
  };
370
493
  var se_StartDeviceAuthorizationCommand = async (input, context) => {
371
494
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
372
495
  const headers = {
373
- "content-type": "application/json"
496
+ "content-type": "application/json",
374
497
  };
375
498
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}/device_authorization`;
376
499
  let body;
377
- body = JSON.stringify((0, smithy_client_7.take)(input, {
500
+ body = JSON.stringify((0, smithy_client_8.take)(input, {
378
501
  clientId: [],
379
502
  clientSecret: [],
380
- startUrl: []
503
+ startUrl: [],
381
504
  }));
382
- return new protocol_http_1.HttpRequest({
505
+ return new protocol_http_2.HttpRequest({
383
506
  protocol,
384
507
  hostname,
385
508
  port,
386
509
  method: "POST",
387
510
  headers,
388
511
  path: resolvedPath,
389
- body
512
+ body,
390
513
  });
391
514
  };
392
515
  var de_CreateTokenCommand = async (output, context) => {
393
516
  if (output.statusCode !== 200 && output.statusCode >= 300) {
394
517
  return de_CreateTokenCommandError(output, context);
395
518
  }
396
- const contents = (0, smithy_client_7.map)({
397
- $metadata: deserializeMetadata(output)
519
+ const contents = (0, smithy_client_8.map)({
520
+ $metadata: deserializeMetadata(output),
398
521
  });
399
- const data = (0, smithy_client_7.expectNonNull)((0, smithy_client_7.expectObject)(await parseBody(output.body, context)), "body");
400
- const doc = (0, smithy_client_7.take)(data, {
401
- accessToken: smithy_client_7.expectString,
402
- expiresIn: smithy_client_7.expectInt32,
403
- idToken: smithy_client_7.expectString,
404
- refreshToken: smithy_client_7.expectString,
405
- tokenType: smithy_client_7.expectString
522
+ const data = (0, smithy_client_8.expectNonNull)((0, smithy_client_8.expectObject)(await parseBody(output.body, context)), "body");
523
+ const doc = (0, smithy_client_8.take)(data, {
524
+ accessToken: smithy_client_8.expectString,
525
+ expiresIn: smithy_client_8.expectInt32,
526
+ idToken: smithy_client_8.expectString,
527
+ refreshToken: smithy_client_8.expectString,
528
+ tokenType: smithy_client_8.expectString,
406
529
  });
407
530
  Object.assign(contents, doc);
408
531
  return contents;
@@ -410,7 +533,7 @@ var de_CreateTokenCommand = async (output, context) => {
410
533
  var de_CreateTokenCommandError = async (output, context) => {
411
534
  const parsedOutput = {
412
535
  ...output,
413
- body: await parseErrorBody(output.body, context)
536
+ body: await parseErrorBody(output.body, context),
414
537
  };
415
538
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
416
539
  switch (errorCode) {
@@ -452,7 +575,7 @@ var de_CreateTokenCommandError = async (output, context) => {
452
575
  return throwDefaultError({
453
576
  output,
454
577
  parsedBody,
455
- errorCode
578
+ errorCode,
456
579
  });
457
580
  }
458
581
  };
@@ -460,17 +583,17 @@ var de_RegisterClientCommand = async (output, context) => {
460
583
  if (output.statusCode !== 200 && output.statusCode >= 300) {
461
584
  return de_RegisterClientCommandError(output, context);
462
585
  }
463
- const contents = (0, smithy_client_7.map)({
464
- $metadata: deserializeMetadata(output)
586
+ const contents = (0, smithy_client_8.map)({
587
+ $metadata: deserializeMetadata(output),
465
588
  });
466
- const data = (0, smithy_client_7.expectNonNull)((0, smithy_client_7.expectObject)(await parseBody(output.body, context)), "body");
467
- const doc = (0, smithy_client_7.take)(data, {
468
- authorizationEndpoint: smithy_client_7.expectString,
469
- clientId: smithy_client_7.expectString,
470
- clientIdIssuedAt: smithy_client_7.expectLong,
471
- clientSecret: smithy_client_7.expectString,
472
- clientSecretExpiresAt: smithy_client_7.expectLong,
473
- tokenEndpoint: smithy_client_7.expectString
589
+ const data = (0, smithy_client_8.expectNonNull)((0, smithy_client_8.expectObject)(await parseBody(output.body, context)), "body");
590
+ const doc = (0, smithy_client_8.take)(data, {
591
+ authorizationEndpoint: smithy_client_8.expectString,
592
+ clientId: smithy_client_8.expectString,
593
+ clientIdIssuedAt: smithy_client_8.expectLong,
594
+ clientSecret: smithy_client_8.expectString,
595
+ clientSecretExpiresAt: smithy_client_8.expectLong,
596
+ tokenEndpoint: smithy_client_8.expectString,
474
597
  });
475
598
  Object.assign(contents, doc);
476
599
  return contents;
@@ -478,7 +601,7 @@ var de_RegisterClientCommand = async (output, context) => {
478
601
  var de_RegisterClientCommandError = async (output, context) => {
479
602
  const parsedOutput = {
480
603
  ...output,
481
- body: await parseErrorBody(output.body, context)
604
+ body: await parseErrorBody(output.body, context),
482
605
  };
483
606
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
484
607
  switch (errorCode) {
@@ -499,7 +622,7 @@ var de_RegisterClientCommandError = async (output, context) => {
499
622
  return throwDefaultError({
500
623
  output,
501
624
  parsedBody,
502
- errorCode
625
+ errorCode,
503
626
  });
504
627
  }
505
628
  };
@@ -507,17 +630,17 @@ var de_StartDeviceAuthorizationCommand = async (output, context) => {
507
630
  if (output.statusCode !== 200 && output.statusCode >= 300) {
508
631
  return de_StartDeviceAuthorizationCommandError(output, context);
509
632
  }
510
- const contents = (0, smithy_client_7.map)({
511
- $metadata: deserializeMetadata(output)
633
+ const contents = (0, smithy_client_8.map)({
634
+ $metadata: deserializeMetadata(output),
512
635
  });
513
- const data = (0, smithy_client_7.expectNonNull)((0, smithy_client_7.expectObject)(await parseBody(output.body, context)), "body");
514
- const doc = (0, smithy_client_7.take)(data, {
515
- deviceCode: smithy_client_7.expectString,
516
- expiresIn: smithy_client_7.expectInt32,
517
- interval: smithy_client_7.expectInt32,
518
- userCode: smithy_client_7.expectString,
519
- verificationUri: smithy_client_7.expectString,
520
- verificationUriComplete: smithy_client_7.expectString
636
+ const data = (0, smithy_client_8.expectNonNull)((0, smithy_client_8.expectObject)(await parseBody(output.body, context)), "body");
637
+ const doc = (0, smithy_client_8.take)(data, {
638
+ deviceCode: smithy_client_8.expectString,
639
+ expiresIn: smithy_client_8.expectInt32,
640
+ interval: smithy_client_8.expectInt32,
641
+ userCode: smithy_client_8.expectString,
642
+ verificationUri: smithy_client_8.expectString,
643
+ verificationUriComplete: smithy_client_8.expectString,
521
644
  });
522
645
  Object.assign(contents, doc);
523
646
  return contents;
@@ -525,7 +648,7 @@ var de_StartDeviceAuthorizationCommand = async (output, context) => {
525
648
  var de_StartDeviceAuthorizationCommandError = async (output, context) => {
526
649
  const parsedOutput = {
527
650
  ...output,
528
- body: await parseErrorBody(output.body, context)
651
+ body: await parseErrorBody(output.body, context),
529
652
  };
530
653
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
531
654
  switch (errorCode) {
@@ -549,178 +672,178 @@ var de_StartDeviceAuthorizationCommandError = async (output, context) => {
549
672
  return throwDefaultError({
550
673
  output,
551
674
  parsedBody,
552
- errorCode
675
+ errorCode,
553
676
  });
554
677
  }
555
678
  };
556
- var throwDefaultError = (0, smithy_client_7.withBaseException)(SSOOIDCServiceException);
679
+ var throwDefaultError = (0, smithy_client_8.withBaseException)(SSOOIDCServiceException);
557
680
  var de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
558
- const contents = (0, smithy_client_7.map)({});
681
+ const contents = (0, smithy_client_8.map)({});
559
682
  const data = parsedOutput.body;
560
- const doc = (0, smithy_client_7.take)(data, {
561
- error: smithy_client_7.expectString,
562
- error_description: smithy_client_7.expectString
683
+ const doc = (0, smithy_client_8.take)(data, {
684
+ error: smithy_client_8.expectString,
685
+ error_description: smithy_client_8.expectString,
563
686
  });
564
687
  Object.assign(contents, doc);
565
688
  const exception = new AccessDeniedException({
566
689
  $metadata: deserializeMetadata(parsedOutput),
567
- ...contents
690
+ ...contents,
568
691
  });
569
- return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
692
+ return (0, smithy_client_8.decorateServiceException)(exception, parsedOutput.body);
570
693
  };
571
694
  var de_AuthorizationPendingExceptionRes = async (parsedOutput, context) => {
572
- const contents = (0, smithy_client_7.map)({});
695
+ const contents = (0, smithy_client_8.map)({});
573
696
  const data = parsedOutput.body;
574
- const doc = (0, smithy_client_7.take)(data, {
575
- error: smithy_client_7.expectString,
576
- error_description: smithy_client_7.expectString
697
+ const doc = (0, smithy_client_8.take)(data, {
698
+ error: smithy_client_8.expectString,
699
+ error_description: smithy_client_8.expectString,
577
700
  });
578
701
  Object.assign(contents, doc);
579
702
  const exception = new AuthorizationPendingException({
580
703
  $metadata: deserializeMetadata(parsedOutput),
581
- ...contents
704
+ ...contents,
582
705
  });
583
- return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
706
+ return (0, smithy_client_8.decorateServiceException)(exception, parsedOutput.body);
584
707
  };
585
708
  var de_ExpiredTokenExceptionRes = async (parsedOutput, context) => {
586
- const contents = (0, smithy_client_7.map)({});
709
+ const contents = (0, smithy_client_8.map)({});
587
710
  const data = parsedOutput.body;
588
- const doc = (0, smithy_client_7.take)(data, {
589
- error: smithy_client_7.expectString,
590
- error_description: smithy_client_7.expectString
711
+ const doc = (0, smithy_client_8.take)(data, {
712
+ error: smithy_client_8.expectString,
713
+ error_description: smithy_client_8.expectString,
591
714
  });
592
715
  Object.assign(contents, doc);
593
716
  const exception = new ExpiredTokenException({
594
717
  $metadata: deserializeMetadata(parsedOutput),
595
- ...contents
718
+ ...contents,
596
719
  });
597
- return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
720
+ return (0, smithy_client_8.decorateServiceException)(exception, parsedOutput.body);
598
721
  };
599
722
  var de_InternalServerExceptionRes = async (parsedOutput, context) => {
600
- const contents = (0, smithy_client_7.map)({});
723
+ const contents = (0, smithy_client_8.map)({});
601
724
  const data = parsedOutput.body;
602
- const doc = (0, smithy_client_7.take)(data, {
603
- error: smithy_client_7.expectString,
604
- error_description: smithy_client_7.expectString
725
+ const doc = (0, smithy_client_8.take)(data, {
726
+ error: smithy_client_8.expectString,
727
+ error_description: smithy_client_8.expectString,
605
728
  });
606
729
  Object.assign(contents, doc);
607
730
  const exception = new InternalServerException({
608
731
  $metadata: deserializeMetadata(parsedOutput),
609
- ...contents
732
+ ...contents,
610
733
  });
611
- return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
734
+ return (0, smithy_client_8.decorateServiceException)(exception, parsedOutput.body);
612
735
  };
613
736
  var de_InvalidClientExceptionRes = async (parsedOutput, context) => {
614
- const contents = (0, smithy_client_7.map)({});
737
+ const contents = (0, smithy_client_8.map)({});
615
738
  const data = parsedOutput.body;
616
- const doc = (0, smithy_client_7.take)(data, {
617
- error: smithy_client_7.expectString,
618
- error_description: smithy_client_7.expectString
739
+ const doc = (0, smithy_client_8.take)(data, {
740
+ error: smithy_client_8.expectString,
741
+ error_description: smithy_client_8.expectString,
619
742
  });
620
743
  Object.assign(contents, doc);
621
744
  const exception = new InvalidClientException({
622
745
  $metadata: deserializeMetadata(parsedOutput),
623
- ...contents
746
+ ...contents,
624
747
  });
625
- return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
748
+ return (0, smithy_client_8.decorateServiceException)(exception, parsedOutput.body);
626
749
  };
627
750
  var de_InvalidClientMetadataExceptionRes = async (parsedOutput, context) => {
628
- const contents = (0, smithy_client_7.map)({});
751
+ const contents = (0, smithy_client_8.map)({});
629
752
  const data = parsedOutput.body;
630
- const doc = (0, smithy_client_7.take)(data, {
631
- error: smithy_client_7.expectString,
632
- error_description: smithy_client_7.expectString
753
+ const doc = (0, smithy_client_8.take)(data, {
754
+ error: smithy_client_8.expectString,
755
+ error_description: smithy_client_8.expectString,
633
756
  });
634
757
  Object.assign(contents, doc);
635
758
  const exception = new InvalidClientMetadataException({
636
759
  $metadata: deserializeMetadata(parsedOutput),
637
- ...contents
760
+ ...contents,
638
761
  });
639
- return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
762
+ return (0, smithy_client_8.decorateServiceException)(exception, parsedOutput.body);
640
763
  };
641
764
  var de_InvalidGrantExceptionRes = async (parsedOutput, context) => {
642
- const contents = (0, smithy_client_7.map)({});
765
+ const contents = (0, smithy_client_8.map)({});
643
766
  const data = parsedOutput.body;
644
- const doc = (0, smithy_client_7.take)(data, {
645
- error: smithy_client_7.expectString,
646
- error_description: smithy_client_7.expectString
767
+ const doc = (0, smithy_client_8.take)(data, {
768
+ error: smithy_client_8.expectString,
769
+ error_description: smithy_client_8.expectString,
647
770
  });
648
771
  Object.assign(contents, doc);
649
772
  const exception = new InvalidGrantException({
650
773
  $metadata: deserializeMetadata(parsedOutput),
651
- ...contents
774
+ ...contents,
652
775
  });
653
- return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
776
+ return (0, smithy_client_8.decorateServiceException)(exception, parsedOutput.body);
654
777
  };
655
778
  var de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
656
- const contents = (0, smithy_client_7.map)({});
779
+ const contents = (0, smithy_client_8.map)({});
657
780
  const data = parsedOutput.body;
658
- const doc = (0, smithy_client_7.take)(data, {
659
- error: smithy_client_7.expectString,
660
- error_description: smithy_client_7.expectString
781
+ const doc = (0, smithy_client_8.take)(data, {
782
+ error: smithy_client_8.expectString,
783
+ error_description: smithy_client_8.expectString,
661
784
  });
662
785
  Object.assign(contents, doc);
663
786
  const exception = new InvalidRequestException({
664
787
  $metadata: deserializeMetadata(parsedOutput),
665
- ...contents
788
+ ...contents,
666
789
  });
667
- return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
790
+ return (0, smithy_client_8.decorateServiceException)(exception, parsedOutput.body);
668
791
  };
669
792
  var de_InvalidScopeExceptionRes = async (parsedOutput, context) => {
670
- const contents = (0, smithy_client_7.map)({});
793
+ const contents = (0, smithy_client_8.map)({});
671
794
  const data = parsedOutput.body;
672
- const doc = (0, smithy_client_7.take)(data, {
673
- error: smithy_client_7.expectString,
674
- error_description: smithy_client_7.expectString
795
+ const doc = (0, smithy_client_8.take)(data, {
796
+ error: smithy_client_8.expectString,
797
+ error_description: smithy_client_8.expectString,
675
798
  });
676
799
  Object.assign(contents, doc);
677
800
  const exception = new InvalidScopeException({
678
801
  $metadata: deserializeMetadata(parsedOutput),
679
- ...contents
802
+ ...contents,
680
803
  });
681
- return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
804
+ return (0, smithy_client_8.decorateServiceException)(exception, parsedOutput.body);
682
805
  };
683
806
  var de_SlowDownExceptionRes = async (parsedOutput, context) => {
684
- const contents = (0, smithy_client_7.map)({});
807
+ const contents = (0, smithy_client_8.map)({});
685
808
  const data = parsedOutput.body;
686
- const doc = (0, smithy_client_7.take)(data, {
687
- error: smithy_client_7.expectString,
688
- error_description: smithy_client_7.expectString
809
+ const doc = (0, smithy_client_8.take)(data, {
810
+ error: smithy_client_8.expectString,
811
+ error_description: smithy_client_8.expectString,
689
812
  });
690
813
  Object.assign(contents, doc);
691
814
  const exception = new SlowDownException({
692
815
  $metadata: deserializeMetadata(parsedOutput),
693
- ...contents
816
+ ...contents,
694
817
  });
695
- return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
818
+ return (0, smithy_client_8.decorateServiceException)(exception, parsedOutput.body);
696
819
  };
697
820
  var de_UnauthorizedClientExceptionRes = async (parsedOutput, context) => {
698
- const contents = (0, smithy_client_7.map)({});
821
+ const contents = (0, smithy_client_8.map)({});
699
822
  const data = parsedOutput.body;
700
- const doc = (0, smithy_client_7.take)(data, {
701
- error: smithy_client_7.expectString,
702
- error_description: smithy_client_7.expectString
823
+ const doc = (0, smithy_client_8.take)(data, {
824
+ error: smithy_client_8.expectString,
825
+ error_description: smithy_client_8.expectString,
703
826
  });
704
827
  Object.assign(contents, doc);
705
828
  const exception = new UnauthorizedClientException({
706
829
  $metadata: deserializeMetadata(parsedOutput),
707
- ...contents
830
+ ...contents,
708
831
  });
709
- return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
832
+ return (0, smithy_client_8.decorateServiceException)(exception, parsedOutput.body);
710
833
  };
711
834
  var de_UnsupportedGrantTypeExceptionRes = async (parsedOutput, context) => {
712
- const contents = (0, smithy_client_7.map)({});
835
+ const contents = (0, smithy_client_8.map)({});
713
836
  const data = parsedOutput.body;
714
- const doc = (0, smithy_client_7.take)(data, {
715
- error: smithy_client_7.expectString,
716
- error_description: smithy_client_7.expectString
837
+ const doc = (0, smithy_client_8.take)(data, {
838
+ error: smithy_client_8.expectString,
839
+ error_description: smithy_client_8.expectString,
717
840
  });
718
841
  Object.assign(contents, doc);
719
842
  const exception = new UnsupportedGrantTypeException({
720
843
  $metadata: deserializeMetadata(parsedOutput),
721
- ...contents
844
+ ...contents,
722
845
  });
723
- return (0, smithy_client_7.decorateServiceException)(exception, parsedOutput.body);
846
+ return (0, smithy_client_8.decorateServiceException)(exception, parsedOutput.body);
724
847
  };
725
848
  var deserializeMetadata = (output) => {
726
849
  var _a, _b;
@@ -728,10 +851,10 @@ var deserializeMetadata = (output) => {
728
851
  httpStatusCode: output.statusCode,
729
852
  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"],
730
853
  extendedRequestId: output.headers["x-amz-id-2"],
731
- cfId: output.headers["x-amz-cf-id"]
854
+ cfId: output.headers["x-amz-cf-id"],
732
855
  });
733
856
  };
734
- var collectBodyString = (streamBody, context) => (0, smithy_client_7.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
857
+ var collectBodyString = (streamBody, context) => (0, smithy_client_8.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
735
858
  var parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
736
859
  if (encoded.length) {
737
860
  return JSON.parse(encoded);
@@ -773,7 +896,7 @@ var loadRestJsonErrorCode = (output, data) => {
773
896
  return sanitizeErrorCode(data["__type"]);
774
897
  }
775
898
  };
776
- var CreateTokenCommand = class _CreateTokenCommand extends smithy_client_6.Command {
899
+ var CreateTokenCommand = class _CreateTokenCommand extends smithy_client_7.Command {
777
900
  constructor(input) {
778
901
  super();
779
902
  this.input = input;
@@ -783,7 +906,7 @@ var CreateTokenCommand = class _CreateTokenCommand extends smithy_client_6.Comma
783
906
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
784
907
  Endpoint: { type: "builtInParams", name: "endpoint" },
785
908
  Region: { type: "builtInParams", name: "region" },
786
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
909
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
787
910
  };
788
911
  }
789
912
  resolveMiddleware(clientStack, configuration, options) {
@@ -798,7 +921,11 @@ var CreateTokenCommand = class _CreateTokenCommand extends smithy_client_6.Comma
798
921
  clientName,
799
922
  commandName,
800
923
  inputFilterSensitiveLog: (_) => _,
801
- outputFilterSensitiveLog: (_) => _
924
+ outputFilterSensitiveLog: (_) => _,
925
+ [types_1.SMITHY_CONTEXT_KEY]: {
926
+ service: "AWSSSOOIDCService",
927
+ operation: "CreateToken",
928
+ },
802
929
  };
803
930
  const { requestHandler } = configuration;
804
931
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -813,8 +940,9 @@ var CreateTokenCommand = class _CreateTokenCommand extends smithy_client_6.Comma
813
940
  exports.CreateTokenCommand = CreateTokenCommand;
814
941
  const middleware_endpoint_3 = require("@smithy/middleware-endpoint");
815
942
  const middleware_serde_2 = require("@smithy/middleware-serde");
816
- const smithy_client_9 = require("@smithy/smithy-client");
817
- var RegisterClientCommand = class _RegisterClientCommand extends smithy_client_9.Command {
943
+ const smithy_client_10 = require("@smithy/smithy-client");
944
+ const types_2 = require("@smithy/types");
945
+ var RegisterClientCommand = class _RegisterClientCommand extends smithy_client_10.Command {
818
946
  constructor(input) {
819
947
  super();
820
948
  this.input = input;
@@ -824,7 +952,7 @@ var RegisterClientCommand = class _RegisterClientCommand extends smithy_client_9
824
952
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
825
953
  Endpoint: { type: "builtInParams", name: "endpoint" },
826
954
  Region: { type: "builtInParams", name: "region" },
827
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
955
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
828
956
  };
829
957
  }
830
958
  resolveMiddleware(clientStack, configuration, options) {
@@ -839,7 +967,11 @@ var RegisterClientCommand = class _RegisterClientCommand extends smithy_client_9
839
967
  clientName,
840
968
  commandName,
841
969
  inputFilterSensitiveLog: (_) => _,
842
- outputFilterSensitiveLog: (_) => _
970
+ outputFilterSensitiveLog: (_) => _,
971
+ [types_2.SMITHY_CONTEXT_KEY]: {
972
+ service: "AWSSSOOIDCService",
973
+ operation: "RegisterClient",
974
+ },
843
975
  };
844
976
  const { requestHandler } = configuration;
845
977
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -853,8 +985,9 @@ var RegisterClientCommand = class _RegisterClientCommand extends smithy_client_9
853
985
  };
854
986
  const middleware_endpoint_4 = require("@smithy/middleware-endpoint");
855
987
  const middleware_serde_3 = require("@smithy/middleware-serde");
856
- const smithy_client_10 = require("@smithy/smithy-client");
857
- var StartDeviceAuthorizationCommand = class _StartDeviceAuthorizationCommand extends smithy_client_10.Command {
988
+ const smithy_client_11 = require("@smithy/smithy-client");
989
+ const types_3 = require("@smithy/types");
990
+ var StartDeviceAuthorizationCommand = class _StartDeviceAuthorizationCommand extends smithy_client_11.Command {
858
991
  constructor(input) {
859
992
  super();
860
993
  this.input = input;
@@ -864,7 +997,7 @@ var StartDeviceAuthorizationCommand = class _StartDeviceAuthorizationCommand ext
864
997
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
865
998
  Endpoint: { type: "builtInParams", name: "endpoint" },
866
999
  Region: { type: "builtInParams", name: "region" },
867
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
1000
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
868
1001
  };
869
1002
  }
870
1003
  resolveMiddleware(clientStack, configuration, options) {
@@ -879,7 +1012,11 @@ var StartDeviceAuthorizationCommand = class _StartDeviceAuthorizationCommand ext
879
1012
  clientName,
880
1013
  commandName,
881
1014
  inputFilterSensitiveLog: (_) => _,
882
- outputFilterSensitiveLog: (_) => _
1015
+ outputFilterSensitiveLog: (_) => _,
1016
+ [types_3.SMITHY_CONTEXT_KEY]: {
1017
+ service: "AWSSSOOIDCService",
1018
+ operation: "StartDeviceAuthorization",
1019
+ },
883
1020
  };
884
1021
  const { requestHandler } = configuration;
885
1022
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
@@ -894,8 +1031,8 @@ var StartDeviceAuthorizationCommand = class _StartDeviceAuthorizationCommand ext
894
1031
  var commands = {
895
1032
  CreateTokenCommand,
896
1033
  RegisterClientCommand,
897
- StartDeviceAuthorizationCommand
1034
+ StartDeviceAuthorizationCommand,
898
1035
  };
899
1036
  var SSOOIDC = class extends SSOOIDCClient {
900
1037
  };
901
- (0, smithy_client_5.createAggregatedClient)(commands, SSOOIDC);
1038
+ (0, smithy_client_6.createAggregatedClient)(commands, SSOOIDC);