@aws-sdk/client-amplifyuibuilder 3.928.0 → 3.929.0

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 (52) hide show
  1. package/dist-cjs/index.js +1806 -1860
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/AmplifyUIBuilderClient.js +2 -0
  4. package/dist-es/commands/CreateComponentCommand.js +3 -9
  5. package/dist-es/commands/CreateFormCommand.js +3 -9
  6. package/dist-es/commands/CreateThemeCommand.js +3 -9
  7. package/dist-es/commands/DeleteComponentCommand.js +3 -9
  8. package/dist-es/commands/DeleteFormCommand.js +3 -9
  9. package/dist-es/commands/DeleteThemeCommand.js +3 -9
  10. package/dist-es/commands/ExchangeCodeForTokenCommand.js +3 -10
  11. package/dist-es/commands/ExportComponentsCommand.js +3 -9
  12. package/dist-es/commands/ExportFormsCommand.js +3 -9
  13. package/dist-es/commands/ExportThemesCommand.js +3 -9
  14. package/dist-es/commands/GetCodegenJobCommand.js +3 -9
  15. package/dist-es/commands/GetComponentCommand.js +3 -9
  16. package/dist-es/commands/GetFormCommand.js +3 -9
  17. package/dist-es/commands/GetMetadataCommand.js +3 -9
  18. package/dist-es/commands/GetThemeCommand.js +3 -9
  19. package/dist-es/commands/ListCodegenJobsCommand.js +3 -9
  20. package/dist-es/commands/ListComponentsCommand.js +3 -9
  21. package/dist-es/commands/ListFormsCommand.js +3 -9
  22. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  23. package/dist-es/commands/ListThemesCommand.js +3 -9
  24. package/dist-es/commands/PutMetadataFlagCommand.js +3 -9
  25. package/dist-es/commands/RefreshTokenCommand.js +3 -10
  26. package/dist-es/commands/StartCodegenJobCommand.js +3 -9
  27. package/dist-es/commands/TagResourceCommand.js +3 -9
  28. package/dist-es/commands/UntagResourceCommand.js +3 -9
  29. package/dist-es/commands/UpdateComponentCommand.js +3 -9
  30. package/dist-es/commands/UpdateFormCommand.js +3 -9
  31. package/dist-es/commands/UpdateThemeCommand.js +3 -9
  32. package/dist-es/models/models_0.js +0 -28
  33. package/dist-es/runtimeConfig.shared.js +2 -0
  34. package/dist-es/schemas/schemas_0.js +1744 -0
  35. package/dist-types/AmplifyUIBuilderClient.d.ts +10 -1
  36. package/dist-types/models/models_0.d.ts +0 -24
  37. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  38. package/dist-types/runtimeConfig.d.ts +1 -0
  39. package/dist-types/runtimeConfig.native.d.ts +1 -0
  40. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  41. package/dist-types/schemas/schemas_0.d.ts +201 -0
  42. package/dist-types/ts3.4/AmplifyUIBuilderClient.d.ts +4 -0
  43. package/dist-types/ts3.4/models/models_0.d.ts +0 -18
  44. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  45. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  46. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  47. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  48. package/dist-types/ts3.4/schemas/schemas_0.d.ts +208 -0
  49. package/package.json +2 -3
  50. package/dist-es/protocols/Aws_restJson1.js +0 -1614
  51. package/dist-types/protocols/Aws_restJson1.d.ts +0 -254
  52. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -341
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
- var uuid = require('@smithy/uuid');
20
18
 
21
19
  const resolveClientEndpointParameters = (options) => {
22
20
  return Object.assign(options, {
@@ -92,6 +90,7 @@ class AmplifyUIBuilderClient extends smithyClient.Client {
92
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
93
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
94
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
95
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
96
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
97
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -111,12 +110,12 @@ class AmplifyUIBuilderClient extends smithyClient.Client {
111
110
  }
112
111
  }
113
112
 
114
- class AmplifyUIBuilderServiceException extends smithyClient.ServiceException {
113
+ let AmplifyUIBuilderServiceException$1 = class AmplifyUIBuilderServiceException extends smithyClient.ServiceException {
115
114
  constructor(options) {
116
115
  super(options);
117
116
  Object.setPrototypeOf(this, AmplifyUIBuilderServiceException.prototype);
118
117
  }
119
- }
118
+ };
120
119
 
121
120
  const CodegenJobGenericDataSourceType = {
122
121
  DATA_STORE: "DataStore",
@@ -183,7 +182,7 @@ const CodegenJobStatus = {
183
182
  IN_PROGRESS: "in_progress",
184
183
  SUCCEEDED: "succeeded",
185
184
  };
186
- class InternalServerException extends AmplifyUIBuilderServiceException {
185
+ let InternalServerException$1 = class InternalServerException extends AmplifyUIBuilderServiceException$1 {
187
186
  name = "InternalServerException";
188
187
  $fault = "server";
189
188
  constructor(opts) {
@@ -194,8 +193,8 @@ class InternalServerException extends AmplifyUIBuilderServiceException {
194
193
  });
195
194
  Object.setPrototypeOf(this, InternalServerException.prototype);
196
195
  }
197
- }
198
- class InvalidParameterException extends AmplifyUIBuilderServiceException {
196
+ };
197
+ let InvalidParameterException$1 = class InvalidParameterException extends AmplifyUIBuilderServiceException$1 {
199
198
  name = "InvalidParameterException";
200
199
  $fault = "client";
201
200
  constructor(opts) {
@@ -206,8 +205,8 @@ class InvalidParameterException extends AmplifyUIBuilderServiceException {
206
205
  });
207
206
  Object.setPrototypeOf(this, InvalidParameterException.prototype);
208
207
  }
209
- }
210
- class ResourceNotFoundException extends AmplifyUIBuilderServiceException {
208
+ };
209
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends AmplifyUIBuilderServiceException$1 {
211
210
  name = "ResourceNotFoundException";
212
211
  $fault = "client";
213
212
  constructor(opts) {
@@ -218,8 +217,8 @@ class ResourceNotFoundException extends AmplifyUIBuilderServiceException {
218
217
  });
219
218
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
220
219
  }
221
- }
222
- class ThrottlingException extends AmplifyUIBuilderServiceException {
220
+ };
221
+ let ThrottlingException$1 = class ThrottlingException extends AmplifyUIBuilderServiceException$1 {
223
222
  name = "ThrottlingException";
224
223
  $fault = "client";
225
224
  constructor(opts) {
@@ -230,12 +229,12 @@ class ThrottlingException extends AmplifyUIBuilderServiceException {
230
229
  });
231
230
  Object.setPrototypeOf(this, ThrottlingException.prototype);
232
231
  }
233
- }
232
+ };
234
233
  const SortDirection = {
235
234
  ASC: "ASC",
236
235
  DESC: "DESC",
237
236
  };
238
- class ResourceConflictException extends AmplifyUIBuilderServiceException {
237
+ let ResourceConflictException$1 = class ResourceConflictException extends AmplifyUIBuilderServiceException$1 {
239
238
  name = "ResourceConflictException";
240
239
  $fault = "client";
241
240
  constructor(opts) {
@@ -246,8 +245,8 @@ class ResourceConflictException extends AmplifyUIBuilderServiceException {
246
245
  });
247
246
  Object.setPrototypeOf(this, ResourceConflictException.prototype);
248
247
  }
249
- }
250
- class ServiceQuotaExceededException extends AmplifyUIBuilderServiceException {
248
+ };
249
+ let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends AmplifyUIBuilderServiceException$1 {
251
250
  name = "ServiceQuotaExceededException";
252
251
  $fault = "client";
253
252
  constructor(opts) {
@@ -258,7 +257,7 @@ class ServiceQuotaExceededException extends AmplifyUIBuilderServiceException {
258
257
  });
259
258
  Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
260
259
  }
261
- }
260
+ };
262
261
  const TokenProviders = {
263
262
  FIGMA: "figma",
264
263
  };
@@ -310,7 +309,7 @@ exports.FormStyleConfig = void 0;
310
309
  return visitor._(value.$unknown[0], value.$unknown[1]);
311
310
  };
312
311
  })(exports.FormStyleConfig || (exports.FormStyleConfig = {}));
313
- class UnauthorizedException extends AmplifyUIBuilderServiceException {
312
+ let UnauthorizedException$1 = class UnauthorizedException extends AmplifyUIBuilderServiceException$1 {
314
313
  name = "UnauthorizedException";
315
314
  $fault = "client";
316
315
  constructor(opts) {
@@ -321,1657 +320,1745 @@ class UnauthorizedException extends AmplifyUIBuilderServiceException {
321
320
  });
322
321
  Object.setPrototypeOf(this, UnauthorizedException.prototype);
323
322
  }
324
- }
325
- const ExchangeCodeForTokenRequestBodyFilterSensitiveLog = (obj) => ({
326
- ...obj,
327
- ...(obj.code && { code: smithyClient.SENSITIVE_STRING }),
328
- ...(obj.clientId && { clientId: smithyClient.SENSITIVE_STRING }),
329
- });
330
- const ExchangeCodeForTokenRequestFilterSensitiveLog = (obj) => ({
331
- ...obj,
332
- ...(obj.request && { request: ExchangeCodeForTokenRequestBodyFilterSensitiveLog(obj.request) }),
333
- });
334
- const ExchangeCodeForTokenResponseFilterSensitiveLog = (obj) => ({
335
- ...obj,
336
- ...(obj.accessToken && { accessToken: smithyClient.SENSITIVE_STRING }),
337
- ...(obj.refreshToken && { refreshToken: smithyClient.SENSITIVE_STRING }),
338
- });
339
- const RefreshTokenRequestBodyFilterSensitiveLog = (obj) => ({
340
- ...obj,
341
- ...(obj.token && { token: smithyClient.SENSITIVE_STRING }),
342
- ...(obj.clientId && { clientId: smithyClient.SENSITIVE_STRING }),
343
- });
344
- const RefreshTokenRequestFilterSensitiveLog = (obj) => ({
345
- ...obj,
346
- ...(obj.refreshTokenBody && { refreshTokenBody: RefreshTokenRequestBodyFilterSensitiveLog(obj.refreshTokenBody) }),
347
- });
348
- const RefreshTokenResponseFilterSensitiveLog = (obj) => ({
349
- ...obj,
350
- ...(obj.accessToken && { accessToken: smithyClient.SENSITIVE_STRING }),
351
- });
352
-
353
- const se_CreateComponentCommand = async (input, context) => {
354
- const b = core.requestBuilder(input, context);
355
- const headers = {
356
- "content-type": "application/json",
357
- };
358
- b.bp("/app/{appId}/environment/{environmentName}/components");
359
- b.p("appId", () => input.appId, "{appId}", false);
360
- b.p("environmentName", () => input.environmentName, "{environmentName}", false);
361
- const query = smithyClient.map({
362
- [_cT]: [, input[_cT] ?? uuid.v4()],
363
- });
364
- let body;
365
- if (input.componentToCreate !== undefined) {
366
- body = se_CreateComponentData(input.componentToCreate);
367
- }
368
- if (body === undefined) {
369
- body = {};
370
- }
371
- body = JSON.stringify(body);
372
- b.m("POST").h(headers).q(query).b(body);
373
- return b.build();
374
- };
375
- const se_CreateFormCommand = async (input, context) => {
376
- const b = core.requestBuilder(input, context);
377
- const headers = {
378
- "content-type": "application/json",
379
- };
380
- b.bp("/app/{appId}/environment/{environmentName}/forms");
381
- b.p("appId", () => input.appId, "{appId}", false);
382
- b.p("environmentName", () => input.environmentName, "{environmentName}", false);
383
- const query = smithyClient.map({
384
- [_cT]: [, input[_cT] ?? uuid.v4()],
385
- });
386
- let body;
387
- if (input.formToCreate !== undefined) {
388
- body = se_CreateFormData(input.formToCreate);
389
- }
390
- if (body === undefined) {
391
- body = {};
392
- }
393
- body = JSON.stringify(body);
394
- b.m("POST").h(headers).q(query).b(body);
395
- return b.build();
396
- };
397
- const se_CreateThemeCommand = async (input, context) => {
398
- const b = core.requestBuilder(input, context);
399
- const headers = {
400
- "content-type": "application/json",
401
- };
402
- b.bp("/app/{appId}/environment/{environmentName}/themes");
403
- b.p("appId", () => input.appId, "{appId}", false);
404
- b.p("environmentName", () => input.environmentName, "{environmentName}", false);
405
- const query = smithyClient.map({
406
- [_cT]: [, input[_cT] ?? uuid.v4()],
407
- });
408
- let body;
409
- if (input.themeToCreate !== undefined) {
410
- body = se_CreateThemeData(input.themeToCreate);
411
- }
412
- if (body === undefined) {
413
- body = {};
414
- }
415
- body = JSON.stringify(body);
416
- b.m("POST").h(headers).q(query).b(body);
417
- return b.build();
418
- };
419
- const se_DeleteComponentCommand = async (input, context) => {
420
- const b = core.requestBuilder(input, context);
421
- const headers = {};
422
- b.bp("/app/{appId}/environment/{environmentName}/components/{id}");
423
- b.p("appId", () => input.appId, "{appId}", false);
424
- b.p("environmentName", () => input.environmentName, "{environmentName}", false);
425
- b.p("id", () => input.id, "{id}", false);
426
- let body;
427
- b.m("DELETE").h(headers).b(body);
428
- return b.build();
429
- };
430
- const se_DeleteFormCommand = async (input, context) => {
431
- const b = core.requestBuilder(input, context);
432
- const headers = {};
433
- b.bp("/app/{appId}/environment/{environmentName}/forms/{id}");
434
- b.p("appId", () => input.appId, "{appId}", false);
435
- b.p("environmentName", () => input.environmentName, "{environmentName}", false);
436
- b.p("id", () => input.id, "{id}", false);
437
- let body;
438
- b.m("DELETE").h(headers).b(body);
439
- return b.build();
440
- };
441
- const se_DeleteThemeCommand = async (input, context) => {
442
- const b = core.requestBuilder(input, context);
443
- const headers = {};
444
- b.bp("/app/{appId}/environment/{environmentName}/themes/{id}");
445
- b.p("appId", () => input.appId, "{appId}", false);
446
- b.p("environmentName", () => input.environmentName, "{environmentName}", false);
447
- b.p("id", () => input.id, "{id}", false);
448
- let body;
449
- b.m("DELETE").h(headers).b(body);
450
- return b.build();
451
- };
452
- const se_ExchangeCodeForTokenCommand = async (input, context) => {
453
- const b = core.requestBuilder(input, context);
454
- const headers = {
455
- "content-type": "application/json",
456
- };
457
- b.bp("/tokens/{provider}");
458
- b.p("provider", () => input.provider, "{provider}", false);
459
- let body;
460
- if (input.request !== undefined) {
461
- body = smithyClient._json(input.request);
462
- }
463
- if (body === undefined) {
464
- body = {};
465
- }
466
- body = JSON.stringify(body);
467
- b.m("POST").h(headers).b(body);
468
- return b.build();
469
- };
470
- const se_ExportComponentsCommand = async (input, context) => {
471
- const b = core.requestBuilder(input, context);
472
- const headers = {};
473
- b.bp("/export/app/{appId}/environment/{environmentName}/components");
474
- b.p("appId", () => input.appId, "{appId}", false);
475
- b.p("environmentName", () => input.environmentName, "{environmentName}", false);
476
- const query = smithyClient.map({
477
- [_nT]: [, input[_nT]],
478
- });
479
- let body;
480
- b.m("GET").h(headers).q(query).b(body);
481
- return b.build();
482
- };
483
- const se_ExportFormsCommand = async (input, context) => {
484
- const b = core.requestBuilder(input, context);
485
- const headers = {};
486
- b.bp("/export/app/{appId}/environment/{environmentName}/forms");
487
- b.p("appId", () => input.appId, "{appId}", false);
488
- b.p("environmentName", () => input.environmentName, "{environmentName}", false);
489
- const query = smithyClient.map({
490
- [_nT]: [, input[_nT]],
491
- });
492
- let body;
493
- b.m("GET").h(headers).q(query).b(body);
494
- return b.build();
495
- };
496
- const se_ExportThemesCommand = async (input, context) => {
497
- const b = core.requestBuilder(input, context);
498
- const headers = {};
499
- b.bp("/export/app/{appId}/environment/{environmentName}/themes");
500
- b.p("appId", () => input.appId, "{appId}", false);
501
- b.p("environmentName", () => input.environmentName, "{environmentName}", false);
502
- const query = smithyClient.map({
503
- [_nT]: [, input[_nT]],
504
- });
505
- let body;
506
- b.m("GET").h(headers).q(query).b(body);
507
- return b.build();
508
- };
509
- const se_GetCodegenJobCommand = async (input, context) => {
510
- const b = core.requestBuilder(input, context);
511
- const headers = {};
512
- b.bp("/app/{appId}/environment/{environmentName}/codegen-jobs/{id}");
513
- b.p("appId", () => input.appId, "{appId}", false);
514
- b.p("environmentName", () => input.environmentName, "{environmentName}", false);
515
- b.p("id", () => input.id, "{id}", false);
516
- let body;
517
- b.m("GET").h(headers).b(body);
518
- return b.build();
519
- };
520
- const se_GetComponentCommand = async (input, context) => {
521
- const b = core.requestBuilder(input, context);
522
- const headers = {};
523
- b.bp("/app/{appId}/environment/{environmentName}/components/{id}");
524
- b.p("appId", () => input.appId, "{appId}", false);
525
- b.p("environmentName", () => input.environmentName, "{environmentName}", false);
526
- b.p("id", () => input.id, "{id}", false);
527
- let body;
528
- b.m("GET").h(headers).b(body);
529
- return b.build();
530
- };
531
- const se_GetFormCommand = async (input, context) => {
532
- const b = core.requestBuilder(input, context);
533
- const headers = {};
534
- b.bp("/app/{appId}/environment/{environmentName}/forms/{id}");
535
- b.p("appId", () => input.appId, "{appId}", false);
536
- b.p("environmentName", () => input.environmentName, "{environmentName}", false);
537
- b.p("id", () => input.id, "{id}", false);
538
- let body;
539
- b.m("GET").h(headers).b(body);
540
- return b.build();
541
- };
542
- const se_GetMetadataCommand = async (input, context) => {
543
- const b = core.requestBuilder(input, context);
544
- const headers = {};
545
- b.bp("/app/{appId}/environment/{environmentName}/metadata");
546
- b.p("appId", () => input.appId, "{appId}", false);
547
- b.p("environmentName", () => input.environmentName, "{environmentName}", false);
548
- let body;
549
- b.m("GET").h(headers).b(body);
550
- return b.build();
551
- };
552
- const se_GetThemeCommand = async (input, context) => {
553
- const b = core.requestBuilder(input, context);
554
- const headers = {};
555
- b.bp("/app/{appId}/environment/{environmentName}/themes/{id}");
556
- b.p("appId", () => input.appId, "{appId}", false);
557
- b.p("environmentName", () => input.environmentName, "{environmentName}", false);
558
- b.p("id", () => input.id, "{id}", false);
559
- let body;
560
- b.m("GET").h(headers).b(body);
561
- return b.build();
562
- };
563
- const se_ListCodegenJobsCommand = async (input, context) => {
564
- const b = core.requestBuilder(input, context);
565
- const headers = {};
566
- b.bp("/app/{appId}/environment/{environmentName}/codegen-jobs");
567
- b.p("appId", () => input.appId, "{appId}", false);
568
- b.p("environmentName", () => input.environmentName, "{environmentName}", false);
569
- const query = smithyClient.map({
570
- [_nT]: [, input[_nT]],
571
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
572
- });
573
- let body;
574
- b.m("GET").h(headers).q(query).b(body);
575
- return b.build();
576
- };
577
- const se_ListComponentsCommand = async (input, context) => {
578
- const b = core.requestBuilder(input, context);
579
- const headers = {};
580
- b.bp("/app/{appId}/environment/{environmentName}/components");
581
- b.p("appId", () => input.appId, "{appId}", false);
582
- b.p("environmentName", () => input.environmentName, "{environmentName}", false);
583
- const query = smithyClient.map({
584
- [_nT]: [, input[_nT]],
585
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
586
- });
587
- let body;
588
- b.m("GET").h(headers).q(query).b(body);
589
- return b.build();
590
- };
591
- const se_ListFormsCommand = async (input, context) => {
592
- const b = core.requestBuilder(input, context);
593
- const headers = {};
594
- b.bp("/app/{appId}/environment/{environmentName}/forms");
595
- b.p("appId", () => input.appId, "{appId}", false);
596
- b.p("environmentName", () => input.environmentName, "{environmentName}", false);
597
- const query = smithyClient.map({
598
- [_nT]: [, input[_nT]],
599
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
600
- });
601
- let body;
602
- b.m("GET").h(headers).q(query).b(body);
603
- return b.build();
604
- };
605
- const se_ListTagsForResourceCommand = async (input, context) => {
606
- const b = core.requestBuilder(input, context);
607
- const headers = {};
608
- b.bp("/tags/{resourceArn}");
609
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
610
- let body;
611
- b.m("GET").h(headers).b(body);
612
- return b.build();
613
- };
614
- const se_ListThemesCommand = async (input, context) => {
615
- const b = core.requestBuilder(input, context);
616
- const headers = {};
617
- b.bp("/app/{appId}/environment/{environmentName}/themes");
618
- b.p("appId", () => input.appId, "{appId}", false);
619
- b.p("environmentName", () => input.environmentName, "{environmentName}", false);
620
- const query = smithyClient.map({
621
- [_nT]: [, input[_nT]],
622
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
623
- });
624
- let body;
625
- b.m("GET").h(headers).q(query).b(body);
626
- return b.build();
627
- };
628
- const se_PutMetadataFlagCommand = async (input, context) => {
629
- const b = core.requestBuilder(input, context);
630
- const headers = {
631
- "content-type": "application/json",
632
- };
633
- b.bp("/app/{appId}/environment/{environmentName}/metadata/features/{featureName}");
634
- b.p("appId", () => input.appId, "{appId}", false);
635
- b.p("environmentName", () => input.environmentName, "{environmentName}", false);
636
- b.p("featureName", () => input.featureName, "{featureName}", false);
637
- let body;
638
- if (input.body !== undefined) {
639
- body = smithyClient._json(input.body);
640
- }
641
- if (body === undefined) {
642
- body = {};
643
- }
644
- body = JSON.stringify(body);
645
- b.m("PUT").h(headers).b(body);
646
- return b.build();
647
- };
648
- const se_RefreshTokenCommand = async (input, context) => {
649
- const b = core.requestBuilder(input, context);
650
- const headers = {
651
- "content-type": "application/json",
652
- };
653
- b.bp("/tokens/{provider}/refresh");
654
- b.p("provider", () => input.provider, "{provider}", false);
655
- let body;
656
- if (input.refreshTokenBody !== undefined) {
657
- body = smithyClient._json(input.refreshTokenBody);
658
- }
659
- if (body === undefined) {
660
- body = {};
661
- }
662
- body = JSON.stringify(body);
663
- b.m("POST").h(headers).b(body);
664
- return b.build();
665
- };
666
- const se_StartCodegenJobCommand = async (input, context) => {
667
- const b = core.requestBuilder(input, context);
668
- const headers = {
669
- "content-type": "application/json",
670
- };
671
- b.bp("/app/{appId}/environment/{environmentName}/codegen-jobs");
672
- b.p("appId", () => input.appId, "{appId}", false);
673
- b.p("environmentName", () => input.environmentName, "{environmentName}", false);
674
- const query = smithyClient.map({
675
- [_cT]: [, input[_cT] ?? uuid.v4()],
676
- });
677
- let body;
678
- if (input.codegenJobToCreate !== undefined) {
679
- body = smithyClient._json(input.codegenJobToCreate);
680
- }
681
- if (body === undefined) {
682
- body = {};
683
- }
684
- body = JSON.stringify(body);
685
- b.m("POST").h(headers).q(query).b(body);
686
- return b.build();
687
- };
688
- const se_TagResourceCommand = async (input, context) => {
689
- const b = core.requestBuilder(input, context);
690
- const headers = {
691
- "content-type": "application/json",
692
- };
693
- b.bp("/tags/{resourceArn}");
694
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
695
- let body;
696
- body = JSON.stringify(smithyClient.take(input, {
697
- tags: (_) => smithyClient._json(_),
698
- }));
699
- b.m("POST").h(headers).b(body);
700
- return b.build();
701
- };
702
- const se_UntagResourceCommand = async (input, context) => {
703
- const b = core.requestBuilder(input, context);
704
- const headers = {};
705
- b.bp("/tags/{resourceArn}");
706
- b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
707
- const query = smithyClient.map({
708
- [_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
709
- });
710
- let body;
711
- b.m("DELETE").h(headers).q(query).b(body);
712
- return b.build();
713
- };
714
- const se_UpdateComponentCommand = async (input, context) => {
715
- const b = core.requestBuilder(input, context);
716
- const headers = {
717
- "content-type": "application/json",
718
- };
719
- b.bp("/app/{appId}/environment/{environmentName}/components/{id}");
720
- b.p("appId", () => input.appId, "{appId}", false);
721
- b.p("environmentName", () => input.environmentName, "{environmentName}", false);
722
- b.p("id", () => input.id, "{id}", false);
723
- const query = smithyClient.map({
724
- [_cT]: [, input[_cT] ?? uuid.v4()],
725
- });
726
- let body;
727
- if (input.updatedComponent !== undefined) {
728
- body = se_UpdateComponentData(input.updatedComponent);
729
- }
730
- if (body === undefined) {
731
- body = {};
732
- }
733
- body = JSON.stringify(body);
734
- b.m("PATCH").h(headers).q(query).b(body);
735
- return b.build();
736
- };
737
- const se_UpdateFormCommand = async (input, context) => {
738
- const b = core.requestBuilder(input, context);
739
- const headers = {
740
- "content-type": "application/json",
741
- };
742
- b.bp("/app/{appId}/environment/{environmentName}/forms/{id}");
743
- b.p("appId", () => input.appId, "{appId}", false);
744
- b.p("environmentName", () => input.environmentName, "{environmentName}", false);
745
- b.p("id", () => input.id, "{id}", false);
746
- const query = smithyClient.map({
747
- [_cT]: [, input[_cT] ?? uuid.v4()],
748
- });
749
- let body;
750
- if (input.updatedForm !== undefined) {
751
- body = se_UpdateFormData(input.updatedForm);
752
- }
753
- if (body === undefined) {
754
- body = {};
755
- }
756
- body = JSON.stringify(body);
757
- b.m("PATCH").h(headers).q(query).b(body);
758
- return b.build();
759
- };
760
- const se_UpdateThemeCommand = async (input, context) => {
761
- const b = core.requestBuilder(input, context);
762
- const headers = {
763
- "content-type": "application/json",
764
- };
765
- b.bp("/app/{appId}/environment/{environmentName}/themes/{id}");
766
- b.p("appId", () => input.appId, "{appId}", false);
767
- b.p("environmentName", () => input.environmentName, "{environmentName}", false);
768
- b.p("id", () => input.id, "{id}", false);
769
- const query = smithyClient.map({
770
- [_cT]: [, input[_cT] ?? uuid.v4()],
771
- });
772
- let body;
773
- if (input.updatedTheme !== undefined) {
774
- body = se_UpdateThemeData(input.updatedTheme);
775
- }
776
- if (body === undefined) {
777
- body = {};
778
- }
779
- body = JSON.stringify(body);
780
- b.m("PATCH").h(headers).q(query).b(body);
781
- return b.build();
782
- };
783
- const de_CreateComponentCommand = async (output, context) => {
784
- if (output.statusCode !== 200 && output.statusCode >= 300) {
785
- return de_CommandError(output, context);
786
- }
787
- const contents = smithyClient.map({
788
- $metadata: deserializeMetadata(output),
789
- });
790
- const data = smithyClient.expectObject(await core$1.parseJsonBody(output.body, context));
791
- contents.entity = de_Component(data);
792
- return contents;
793
- };
794
- const de_CreateFormCommand = async (output, context) => {
795
- if (output.statusCode !== 200 && output.statusCode >= 300) {
796
- return de_CommandError(output, context);
797
- }
798
- const contents = smithyClient.map({
799
- $metadata: deserializeMetadata(output),
800
- });
801
- const data = smithyClient.expectObject(await core$1.parseJsonBody(output.body, context));
802
- contents.entity = de_Form(data);
803
- return contents;
804
- };
805
- const de_CreateThemeCommand = async (output, context) => {
806
- if (output.statusCode !== 200 && output.statusCode >= 300) {
807
- return de_CommandError(output, context);
808
- }
809
- const contents = smithyClient.map({
810
- $metadata: deserializeMetadata(output),
811
- });
812
- const data = smithyClient.expectObject(await core$1.parseJsonBody(output.body, context));
813
- contents.entity = de_Theme(data);
814
- return contents;
815
- };
816
- const de_DeleteComponentCommand = async (output, context) => {
817
- if (output.statusCode !== 200 && output.statusCode >= 300) {
818
- return de_CommandError(output, context);
819
- }
820
- const contents = smithyClient.map({
821
- $metadata: deserializeMetadata(output),
822
- });
823
- await smithyClient.collectBody(output.body, context);
824
- return contents;
825
- };
826
- const de_DeleteFormCommand = async (output, context) => {
827
- if (output.statusCode !== 200 && output.statusCode >= 300) {
828
- return de_CommandError(output, context);
829
- }
830
- const contents = smithyClient.map({
831
- $metadata: deserializeMetadata(output),
832
- });
833
- await smithyClient.collectBody(output.body, context);
834
- return contents;
835
- };
836
- const de_DeleteThemeCommand = async (output, context) => {
837
- if (output.statusCode !== 200 && output.statusCode >= 300) {
838
- return de_CommandError(output, context);
839
- }
840
- const contents = smithyClient.map({
841
- $metadata: deserializeMetadata(output),
842
- });
843
- await smithyClient.collectBody(output.body, context);
844
- return contents;
845
- };
846
- const de_ExchangeCodeForTokenCommand = async (output, context) => {
847
- if (output.statusCode !== 200 && output.statusCode >= 300) {
848
- return de_CommandError(output, context);
849
- }
850
- const contents = smithyClient.map({
851
- $metadata: deserializeMetadata(output),
852
- });
853
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
854
- const doc = smithyClient.take(data, {
855
- accessToken: smithyClient.expectString,
856
- expiresIn: smithyClient.expectInt32,
857
- refreshToken: smithyClient.expectString,
858
- });
859
- Object.assign(contents, doc);
860
- return contents;
861
- };
862
- const de_ExportComponentsCommand = async (output, context) => {
863
- if (output.statusCode !== 200 && output.statusCode >= 300) {
864
- return de_CommandError(output, context);
865
- }
866
- const contents = smithyClient.map({
867
- $metadata: deserializeMetadata(output),
868
- });
869
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
870
- const doc = smithyClient.take(data, {
871
- entities: (_) => de_ComponentList(_),
872
- nextToken: smithyClient.expectString,
873
- });
874
- Object.assign(contents, doc);
875
- return contents;
876
- };
877
- const de_ExportFormsCommand = async (output, context) => {
878
- if (output.statusCode !== 200 && output.statusCode >= 300) {
879
- return de_CommandError(output, context);
880
- }
881
- const contents = smithyClient.map({
882
- $metadata: deserializeMetadata(output),
883
- });
884
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
885
- const doc = smithyClient.take(data, {
886
- entities: (_) => de_FormList(_),
887
- nextToken: smithyClient.expectString,
888
- });
889
- Object.assign(contents, doc);
890
- return contents;
891
- };
892
- const de_ExportThemesCommand = async (output, context) => {
893
- if (output.statusCode !== 200 && output.statusCode >= 300) {
894
- return de_CommandError(output, context);
895
- }
896
- const contents = smithyClient.map({
897
- $metadata: deserializeMetadata(output),
898
- });
899
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
900
- const doc = smithyClient.take(data, {
901
- entities: (_) => de_ThemeList(_),
902
- nextToken: smithyClient.expectString,
903
- });
904
- Object.assign(contents, doc);
905
- return contents;
906
- };
907
- const de_GetCodegenJobCommand = async (output, context) => {
908
- if (output.statusCode !== 200 && output.statusCode >= 300) {
909
- return de_CommandError(output, context);
910
- }
911
- const contents = smithyClient.map({
912
- $metadata: deserializeMetadata(output),
913
- });
914
- const data = smithyClient.expectObject(await core$1.parseJsonBody(output.body, context));
915
- contents.job = de_CodegenJob(data);
916
- return contents;
917
- };
918
- const de_GetComponentCommand = async (output, context) => {
919
- if (output.statusCode !== 200 && output.statusCode >= 300) {
920
- return de_CommandError(output, context);
921
- }
922
- const contents = smithyClient.map({
923
- $metadata: deserializeMetadata(output),
924
- });
925
- const data = smithyClient.expectObject(await core$1.parseJsonBody(output.body, context));
926
- contents.component = de_Component(data);
927
- return contents;
928
- };
929
- const de_GetFormCommand = async (output, context) => {
930
- if (output.statusCode !== 200 && output.statusCode >= 300) {
931
- return de_CommandError(output, context);
932
- }
933
- const contents = smithyClient.map({
934
- $metadata: deserializeMetadata(output),
935
- });
936
- const data = smithyClient.expectObject(await core$1.parseJsonBody(output.body, context));
937
- contents.form = de_Form(data);
938
- return contents;
939
- };
940
- const de_GetMetadataCommand = async (output, context) => {
941
- if (output.statusCode !== 200 && output.statusCode >= 300) {
942
- return de_CommandError(output, context);
943
- }
944
- const contents = smithyClient.map({
945
- $metadata: deserializeMetadata(output),
946
- });
947
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
948
- const doc = smithyClient.take(data, {
949
- features: smithyClient._json,
950
- });
951
- Object.assign(contents, doc);
952
- return contents;
953
- };
954
- const de_GetThemeCommand = async (output, context) => {
955
- if (output.statusCode !== 200 && output.statusCode >= 300) {
956
- return de_CommandError(output, context);
957
- }
958
- const contents = smithyClient.map({
959
- $metadata: deserializeMetadata(output),
960
- });
961
- const data = smithyClient.expectObject(await core$1.parseJsonBody(output.body, context));
962
- contents.theme = de_Theme(data);
963
- return contents;
964
- };
965
- const de_ListCodegenJobsCommand = async (output, context) => {
966
- if (output.statusCode !== 200 && output.statusCode >= 300) {
967
- return de_CommandError(output, context);
968
- }
969
- const contents = smithyClient.map({
970
- $metadata: deserializeMetadata(output),
971
- });
972
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
973
- const doc = smithyClient.take(data, {
974
- entities: (_) => de_CodegenJobSummaryList(_),
975
- nextToken: smithyClient.expectString,
976
- });
977
- Object.assign(contents, doc);
978
- return contents;
979
- };
980
- const de_ListComponentsCommand = async (output, context) => {
981
- if (output.statusCode !== 200 && output.statusCode >= 300) {
982
- return de_CommandError(output, context);
983
- }
984
- const contents = smithyClient.map({
985
- $metadata: deserializeMetadata(output),
986
- });
987
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
988
- const doc = smithyClient.take(data, {
989
- entities: smithyClient._json,
990
- nextToken: smithyClient.expectString,
991
- });
992
- Object.assign(contents, doc);
993
- return contents;
994
- };
995
- const de_ListFormsCommand = async (output, context) => {
996
- if (output.statusCode !== 200 && output.statusCode >= 300) {
997
- return de_CommandError(output, context);
998
- }
999
- const contents = smithyClient.map({
1000
- $metadata: deserializeMetadata(output),
1001
- });
1002
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1003
- const doc = smithyClient.take(data, {
1004
- entities: smithyClient._json,
1005
- nextToken: smithyClient.expectString,
1006
- });
1007
- Object.assign(contents, doc);
1008
- return contents;
1009
- };
1010
- const de_ListTagsForResourceCommand = async (output, context) => {
1011
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1012
- return de_CommandError(output, context);
1013
- }
1014
- const contents = smithyClient.map({
1015
- $metadata: deserializeMetadata(output),
1016
- });
1017
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1018
- const doc = smithyClient.take(data, {
1019
- tags: smithyClient._json,
1020
- });
1021
- Object.assign(contents, doc);
1022
- return contents;
1023
- };
1024
- const de_ListThemesCommand = async (output, context) => {
1025
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1026
- return de_CommandError(output, context);
1027
- }
1028
- const contents = smithyClient.map({
1029
- $metadata: deserializeMetadata(output),
1030
- });
1031
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1032
- const doc = smithyClient.take(data, {
1033
- entities: smithyClient._json,
1034
- nextToken: smithyClient.expectString,
1035
- });
1036
- Object.assign(contents, doc);
1037
- return contents;
1038
- };
1039
- const de_PutMetadataFlagCommand = async (output, context) => {
1040
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1041
- return de_CommandError(output, context);
1042
- }
1043
- const contents = smithyClient.map({
1044
- $metadata: deserializeMetadata(output),
1045
- });
1046
- await smithyClient.collectBody(output.body, context);
1047
- return contents;
1048
- };
1049
- const de_RefreshTokenCommand = async (output, context) => {
1050
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1051
- return de_CommandError(output, context);
1052
- }
1053
- const contents = smithyClient.map({
1054
- $metadata: deserializeMetadata(output),
1055
- });
1056
- const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
1057
- const doc = smithyClient.take(data, {
1058
- accessToken: smithyClient.expectString,
1059
- expiresIn: smithyClient.expectInt32,
1060
- });
1061
- Object.assign(contents, doc);
1062
- return contents;
1063
- };
1064
- const de_StartCodegenJobCommand = async (output, context) => {
1065
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1066
- return de_CommandError(output, context);
1067
- }
1068
- const contents = smithyClient.map({
1069
- $metadata: deserializeMetadata(output),
1070
- });
1071
- const data = smithyClient.expectObject(await core$1.parseJsonBody(output.body, context));
1072
- contents.entity = de_CodegenJob(data);
1073
- return contents;
1074
- };
1075
- const de_TagResourceCommand = async (output, context) => {
1076
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1077
- return de_CommandError(output, context);
1078
- }
1079
- const contents = smithyClient.map({
1080
- $metadata: deserializeMetadata(output),
1081
- });
1082
- await smithyClient.collectBody(output.body, context);
1083
- return contents;
1084
- };
1085
- const de_UntagResourceCommand = async (output, context) => {
1086
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1087
- return de_CommandError(output, context);
1088
- }
1089
- const contents = smithyClient.map({
1090
- $metadata: deserializeMetadata(output),
1091
- });
1092
- await smithyClient.collectBody(output.body, context);
1093
- return contents;
1094
- };
1095
- const de_UpdateComponentCommand = async (output, context) => {
1096
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1097
- return de_CommandError(output, context);
1098
- }
1099
- const contents = smithyClient.map({
1100
- $metadata: deserializeMetadata(output),
1101
- });
1102
- const data = smithyClient.expectObject(await core$1.parseJsonBody(output.body, context));
1103
- contents.entity = de_Component(data);
1104
- return contents;
1105
- };
1106
- const de_UpdateFormCommand = async (output, context) => {
1107
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1108
- return de_CommandError(output, context);
1109
- }
1110
- const contents = smithyClient.map({
1111
- $metadata: deserializeMetadata(output),
1112
- });
1113
- const data = smithyClient.expectObject(await core$1.parseJsonBody(output.body, context));
1114
- contents.entity = de_Form(data);
1115
- return contents;
1116
- };
1117
- const de_UpdateThemeCommand = async (output, context) => {
1118
- if (output.statusCode !== 200 && output.statusCode >= 300) {
1119
- return de_CommandError(output, context);
1120
- }
1121
- const contents = smithyClient.map({
1122
- $metadata: deserializeMetadata(output),
1123
- });
1124
- const data = smithyClient.expectObject(await core$1.parseJsonBody(output.body, context));
1125
- contents.entity = de_Theme(data);
1126
- return contents;
1127
- };
1128
- const de_CommandError = async (output, context) => {
1129
- const parsedOutput = {
1130
- ...output,
1131
- body: await core$1.parseJsonErrorBody(output.body, context),
1132
- };
1133
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1134
- switch (errorCode) {
1135
- case "InternalServerException":
1136
- case "com.amazonaws.amplifyuibuilder#InternalServerException":
1137
- throw await de_InternalServerExceptionRes(parsedOutput);
1138
- case "InvalidParameterException":
1139
- case "com.amazonaws.amplifyuibuilder#InvalidParameterException":
1140
- throw await de_InvalidParameterExceptionRes(parsedOutput);
1141
- case "ResourceConflictException":
1142
- case "com.amazonaws.amplifyuibuilder#ResourceConflictException":
1143
- throw await de_ResourceConflictExceptionRes(parsedOutput);
1144
- case "ServiceQuotaExceededException":
1145
- case "com.amazonaws.amplifyuibuilder#ServiceQuotaExceededException":
1146
- throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
1147
- case "ResourceNotFoundException":
1148
- case "com.amazonaws.amplifyuibuilder#ResourceNotFoundException":
1149
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1150
- case "ThrottlingException":
1151
- case "com.amazonaws.amplifyuibuilder#ThrottlingException":
1152
- throw await de_ThrottlingExceptionRes(parsedOutput);
1153
- case "UnauthorizedException":
1154
- case "com.amazonaws.amplifyuibuilder#UnauthorizedException":
1155
- throw await de_UnauthorizedExceptionRes(parsedOutput);
1156
- default:
1157
- const parsedBody = parsedOutput.body;
1158
- return throwDefaultError({
1159
- output,
1160
- parsedBody,
1161
- errorCode,
1162
- });
1163
- }
1164
- };
1165
- const throwDefaultError = smithyClient.withBaseException(AmplifyUIBuilderServiceException);
1166
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1167
- const contents = smithyClient.map({});
1168
- const data = parsedOutput.body;
1169
- const doc = smithyClient.take(data, {
1170
- message: smithyClient.expectString,
1171
- });
1172
- Object.assign(contents, doc);
1173
- const exception = new InternalServerException({
1174
- $metadata: deserializeMetadata(parsedOutput),
1175
- ...contents,
1176
- });
1177
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1178
- };
1179
- const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
1180
- const contents = smithyClient.map({});
1181
- const data = parsedOutput.body;
1182
- const doc = smithyClient.take(data, {
1183
- message: smithyClient.expectString,
1184
- });
1185
- Object.assign(contents, doc);
1186
- const exception = new InvalidParameterException({
1187
- $metadata: deserializeMetadata(parsedOutput),
1188
- ...contents,
1189
- });
1190
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1191
- };
1192
- const de_ResourceConflictExceptionRes = async (parsedOutput, context) => {
1193
- const contents = smithyClient.map({});
1194
- const data = parsedOutput.body;
1195
- const doc = smithyClient.take(data, {
1196
- message: smithyClient.expectString,
1197
- });
1198
- Object.assign(contents, doc);
1199
- const exception = new ResourceConflictException({
1200
- $metadata: deserializeMetadata(parsedOutput),
1201
- ...contents,
1202
- });
1203
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1204
- };
1205
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1206
- const contents = smithyClient.map({});
1207
- const data = parsedOutput.body;
1208
- const doc = smithyClient.take(data, {
1209
- message: smithyClient.expectString,
1210
- });
1211
- Object.assign(contents, doc);
1212
- const exception = new ResourceNotFoundException({
1213
- $metadata: deserializeMetadata(parsedOutput),
1214
- ...contents,
1215
- });
1216
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1217
- };
1218
- const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
1219
- const contents = smithyClient.map({});
1220
- const data = parsedOutput.body;
1221
- const doc = smithyClient.take(data, {
1222
- message: smithyClient.expectString,
1223
- });
1224
- Object.assign(contents, doc);
1225
- const exception = new ServiceQuotaExceededException({
1226
- $metadata: deserializeMetadata(parsedOutput),
1227
- ...contents,
1228
- });
1229
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1230
- };
1231
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1232
- const contents = smithyClient.map({});
1233
- const data = parsedOutput.body;
1234
- const doc = smithyClient.take(data, {
1235
- message: smithyClient.expectString,
1236
- });
1237
- Object.assign(contents, doc);
1238
- const exception = new ThrottlingException({
1239
- $metadata: deserializeMetadata(parsedOutput),
1240
- ...contents,
1241
- });
1242
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1243
- };
1244
- const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
1245
- const contents = smithyClient.map({});
1246
- const data = parsedOutput.body;
1247
- const doc = smithyClient.take(data, {
1248
- message: smithyClient.expectString,
1249
- });
1250
- Object.assign(contents, doc);
1251
- const exception = new UnauthorizedException({
1252
- $metadata: deserializeMetadata(parsedOutput),
1253
- ...contents,
1254
- });
1255
- return smithyClient.decorateServiceException(exception, parsedOutput.body);
1256
- };
1257
- const se_ActionParameters = (input, context) => {
1258
- return smithyClient.take(input, {
1259
- anchor: (_) => se_ComponentProperty(_),
1260
- fields: (_) => se_ComponentProperties(_),
1261
- global: (_) => se_ComponentProperty(_),
1262
- id: (_) => se_ComponentProperty(_),
1263
- model: [],
1264
- state: (_) => se_MutationActionSetStateParameter(_),
1265
- target: (_) => se_ComponentProperty(_),
1266
- type: (_) => se_ComponentProperty(_),
1267
- url: (_) => se_ComponentProperty(_),
1268
- });
1269
- };
1270
- const se_ComponentBindingProperties = (input, context) => {
1271
- return Object.entries(input).reduce((acc, [key, value]) => {
1272
- if (value === null) {
1273
- return acc;
1274
- }
1275
- acc[key] = se_ComponentBindingPropertiesValue(value);
1276
- return acc;
1277
- }, {});
1278
- };
1279
- const se_ComponentBindingPropertiesValue = (input, context) => {
1280
- return smithyClient.take(input, {
1281
- bindingProperties: (_) => se_ComponentBindingPropertiesValueProperties(_),
1282
- defaultValue: [],
1283
- type: [],
1284
- });
1285
- };
1286
- const se_ComponentBindingPropertiesValueProperties = (input, context) => {
1287
- return smithyClient.take(input, {
1288
- bucket: [],
1289
- defaultValue: [],
1290
- field: [],
1291
- key: [],
1292
- model: [],
1293
- predicates: (_) => se_PredicateList(_),
1294
- slotName: [],
1295
- userAttribute: [],
1296
- });
1297
- };
1298
- const se_ComponentChild = (input, context) => {
1299
- return smithyClient.take(input, {
1300
- children: (_) => se_ComponentChildList(_),
1301
- componentType: [],
1302
- events: (_) => se_ComponentEvents(_),
1303
- name: [],
1304
- properties: (_) => se_ComponentProperties(_),
1305
- sourceId: [],
1306
- });
1307
- };
1308
- const se_ComponentChildList = (input, context) => {
1309
- return input
1310
- .filter((e) => e != null)
1311
- .map((entry) => {
1312
- return se_ComponentChild(entry);
1313
- });
1314
- };
1315
- const se_ComponentCollectionProperties = (input, context) => {
1316
- return Object.entries(input).reduce((acc, [key, value]) => {
1317
- if (value === null) {
1318
- return acc;
1319
- }
1320
- acc[key] = se_ComponentDataConfiguration(value);
1321
- return acc;
1322
- }, {});
1323
- };
1324
- const se_ComponentConditionProperty = (input, context) => {
1325
- return smithyClient.take(input, {
1326
- else: (_) => se_ComponentProperty(_),
1327
- field: [],
1328
- operand: [],
1329
- operandType: [],
1330
- operator: [],
1331
- property: [],
1332
- then: (_) => se_ComponentProperty(_),
1333
- });
1334
- };
1335
- const se_ComponentDataConfiguration = (input, context) => {
1336
- return smithyClient.take(input, {
1337
- identifiers: smithyClient._json,
1338
- model: [],
1339
- predicate: (_) => se_Predicate(_),
1340
- sort: smithyClient._json,
1341
- });
1342
- };
1343
- const se_ComponentEvent = (input, context) => {
1344
- return smithyClient.take(input, {
1345
- action: [],
1346
- bindingEvent: [],
1347
- parameters: (_) => se_ActionParameters(_),
1348
- });
1349
- };
1350
- const se_ComponentEvents = (input, context) => {
1351
- return Object.entries(input).reduce((acc, [key, value]) => {
1352
- if (value === null) {
1353
- return acc;
1354
- }
1355
- acc[key] = se_ComponentEvent(value);
1356
- return acc;
1357
- }, {});
1358
- };
1359
- const se_ComponentProperties = (input, context) => {
1360
- return Object.entries(input).reduce((acc, [key, value]) => {
1361
- if (value === null) {
1362
- return acc;
1363
- }
1364
- acc[key] = se_ComponentProperty(value);
1365
- return acc;
1366
- }, {});
1367
- };
1368
- const se_ComponentProperty = (input, context) => {
1369
- return smithyClient.take(input, {
1370
- bindingProperties: smithyClient._json,
1371
- bindings: smithyClient._json,
1372
- collectionBindingProperties: smithyClient._json,
1373
- componentName: [],
1374
- concat: (_) => se_ComponentPropertyList(_),
1375
- condition: (_) => se_ComponentConditionProperty(_),
1376
- configured: [],
1377
- defaultValue: [],
1378
- event: [],
1379
- importedValue: [],
1380
- model: [],
1381
- property: [],
1382
- type: [],
1383
- userAttribute: [],
1384
- value: [],
1385
- });
1386
- };
1387
- const se_ComponentPropertyList = (input, context) => {
1388
- return input
1389
- .filter((e) => e != null)
1390
- .map((entry) => {
1391
- return se_ComponentProperty(entry);
1392
- });
1393
- };
1394
- const se_CreateComponentData = (input, context) => {
1395
- return smithyClient.take(input, {
1396
- bindingProperties: (_) => se_ComponentBindingProperties(_),
1397
- children: (_) => se_ComponentChildList(_),
1398
- collectionProperties: (_) => se_ComponentCollectionProperties(_),
1399
- componentType: [],
1400
- events: (_) => se_ComponentEvents(_),
1401
- name: [],
1402
- overrides: smithyClient._json,
1403
- properties: (_) => se_ComponentProperties(_),
1404
- schemaVersion: [],
1405
- sourceId: [],
1406
- tags: smithyClient._json,
1407
- variants: smithyClient._json,
1408
- });
1409
- };
1410
- const se_CreateFormData = (input, context) => {
1411
- return smithyClient.take(input, {
1412
- cta: smithyClient._json,
1413
- dataType: smithyClient._json,
1414
- fields: (_) => se_FieldsMap(_),
1415
- formActionType: [],
1416
- labelDecorator: [],
1417
- name: [],
1418
- schemaVersion: [],
1419
- sectionalElements: smithyClient._json,
1420
- style: smithyClient._json,
1421
- tags: smithyClient._json,
1422
- });
1423
- };
1424
- const se_CreateThemeData = (input, context) => {
1425
- return smithyClient.take(input, {
1426
- name: [],
1427
- overrides: (_) => se_ThemeValuesList(_),
1428
- tags: smithyClient._json,
1429
- values: (_) => se_ThemeValuesList(_),
1430
- });
1431
- };
1432
- const se_FieldConfig = (input, context) => {
1433
- return smithyClient.take(input, {
1434
- excluded: [],
1435
- inputType: (_) => se_FieldInputConfig(_),
1436
- label: [],
1437
- position: smithyClient._json,
1438
- validations: smithyClient._json,
1439
- });
1440
- };
1441
- const se_FieldInputConfig = (input, context) => {
1442
- return smithyClient.take(input, {
1443
- defaultChecked: [],
1444
- defaultCountryCode: [],
1445
- defaultValue: [],
1446
- descriptiveText: [],
1447
- fileUploaderConfig: smithyClient._json,
1448
- isArray: [],
1449
- maxValue: smithyClient.serializeFloat,
1450
- minValue: smithyClient.serializeFloat,
1451
- name: [],
1452
- placeholder: [],
1453
- readOnly: [],
1454
- required: [],
1455
- step: smithyClient.serializeFloat,
1456
- type: [],
1457
- value: [],
1458
- valueMappings: (_) => se_ValueMappings(_),
1459
- });
1460
- };
1461
- const se_FieldsMap = (input, context) => {
1462
- return Object.entries(input).reduce((acc, [key, value]) => {
1463
- if (value === null) {
1464
- return acc;
1465
- }
1466
- acc[key] = se_FieldConfig(value);
1467
- return acc;
1468
- }, {});
1469
- };
1470
- const se_FormInputValueProperty = (input, context) => {
1471
- return smithyClient.take(input, {
1472
- bindingProperties: smithyClient._json,
1473
- concat: (_) => se_FormInputValuePropertyList(_),
1474
- value: [],
1475
- });
1476
- };
1477
- const se_FormInputValuePropertyList = (input, context) => {
1478
- return input
1479
- .filter((e) => e != null)
1480
- .map((entry) => {
1481
- return se_FormInputValueProperty(entry);
1482
- });
1483
- };
1484
- const se_MutationActionSetStateParameter = (input, context) => {
1485
- return smithyClient.take(input, {
1486
- componentName: [],
1487
- property: [],
1488
- set: (_) => se_ComponentProperty(_),
1489
- });
1490
- };
1491
- const se_Predicate = (input, context) => {
1492
- return smithyClient.take(input, {
1493
- and: (_) => se_PredicateList(_),
1494
- field: [],
1495
- operand: [],
1496
- operandType: [],
1497
- operator: [],
1498
- or: (_) => se_PredicateList(_),
1499
- });
1500
- };
1501
- const se_PredicateList = (input, context) => {
1502
- return input
1503
- .filter((e) => e != null)
1504
- .map((entry) => {
1505
- return se_Predicate(entry);
1506
- });
1507
- };
1508
- const se_ThemeValue = (input, context) => {
1509
- return smithyClient.take(input, {
1510
- children: (_) => se_ThemeValuesList(_),
1511
- value: [],
1512
- });
1513
323
  };
1514
- const se_ThemeValues = (input, context) => {
1515
- return smithyClient.take(input, {
1516
- key: [],
1517
- value: (_) => se_ThemeValue(_),
1518
- });
1519
- };
1520
- const se_ThemeValuesList = (input, context) => {
1521
- return input
1522
- .filter((e) => e != null)
1523
- .map((entry) => {
1524
- return se_ThemeValues(entry);
1525
- });
1526
- };
1527
- const se_UpdateComponentData = (input, context) => {
1528
- return smithyClient.take(input, {
1529
- bindingProperties: (_) => se_ComponentBindingProperties(_),
1530
- children: (_) => se_ComponentChildList(_),
1531
- collectionProperties: (_) => se_ComponentCollectionProperties(_),
1532
- componentType: [],
1533
- events: (_) => se_ComponentEvents(_),
1534
- id: [],
1535
- name: [],
1536
- overrides: smithyClient._json,
1537
- properties: (_) => se_ComponentProperties(_),
1538
- schemaVersion: [],
1539
- sourceId: [],
1540
- variants: smithyClient._json,
1541
- });
1542
- };
1543
- const se_UpdateFormData = (input, context) => {
1544
- return smithyClient.take(input, {
1545
- cta: smithyClient._json,
1546
- dataType: smithyClient._json,
1547
- fields: (_) => se_FieldsMap(_),
1548
- formActionType: [],
1549
- labelDecorator: [],
1550
- name: [],
1551
- schemaVersion: [],
1552
- sectionalElements: smithyClient._json,
1553
- style: smithyClient._json,
1554
- });
1555
- };
1556
- const se_UpdateThemeData = (input, context) => {
1557
- return smithyClient.take(input, {
1558
- id: [],
1559
- name: [],
1560
- overrides: (_) => se_ThemeValuesList(_),
1561
- values: (_) => se_ThemeValuesList(_),
1562
- });
1563
- };
1564
- const se_ValueMapping = (input, context) => {
1565
- return smithyClient.take(input, {
1566
- displayValue: (_) => se_FormInputValueProperty(_),
1567
- value: (_) => se_FormInputValueProperty(_),
1568
- });
1569
- };
1570
- const se_ValueMappingList = (input, context) => {
1571
- return input
1572
- .filter((e) => e != null)
1573
- .map((entry) => {
1574
- return se_ValueMapping(entry);
1575
- });
1576
- };
1577
- const se_ValueMappings = (input, context) => {
1578
- return smithyClient.take(input, {
1579
- bindingProperties: smithyClient._json,
1580
- values: (_) => se_ValueMappingList(_),
1581
- });
1582
- };
1583
- const de_ActionParameters = (output, context) => {
1584
- return smithyClient.take(output, {
1585
- anchor: (_) => de_ComponentProperty(_),
1586
- fields: (_) => de_ComponentProperties(_),
1587
- global: (_) => de_ComponentProperty(_),
1588
- id: (_) => de_ComponentProperty(_),
1589
- model: smithyClient.expectString,
1590
- state: (_) => de_MutationActionSetStateParameter(_),
1591
- target: (_) => de_ComponentProperty(_),
1592
- type: (_) => de_ComponentProperty(_),
1593
- url: (_) => de_ComponentProperty(_),
1594
- });
1595
- };
1596
- const de_CodegenJob = (output, context) => {
1597
- return smithyClient.take(output, {
1598
- appId: smithyClient.expectString,
1599
- asset: smithyClient._json,
1600
- autoGenerateForms: smithyClient.expectBoolean,
1601
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1602
- dependencies: smithyClient._json,
1603
- environmentName: smithyClient.expectString,
1604
- features: smithyClient._json,
1605
- genericDataSchema: smithyClient._json,
1606
- id: smithyClient.expectString,
1607
- modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1608
- renderConfig: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1609
- status: smithyClient.expectString,
1610
- statusMessage: smithyClient.expectString,
1611
- tags: smithyClient._json,
1612
- });
1613
- };
1614
- const de_CodegenJobSummary = (output, context) => {
1615
- return smithyClient.take(output, {
1616
- appId: smithyClient.expectString,
1617
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1618
- environmentName: smithyClient.expectString,
1619
- id: smithyClient.expectString,
1620
- modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1621
- });
1622
- };
1623
- const de_CodegenJobSummaryList = (output, context) => {
1624
- const retVal = (output || [])
1625
- .filter((e) => e != null)
1626
- .map((entry) => {
1627
- return de_CodegenJobSummary(entry);
1628
- });
1629
- return retVal;
1630
- };
1631
- const de_Component = (output, context) => {
1632
- return smithyClient.take(output, {
1633
- appId: smithyClient.expectString,
1634
- bindingProperties: (_) => de_ComponentBindingProperties(_),
1635
- children: (_) => de_ComponentChildList(_),
1636
- collectionProperties: (_) => de_ComponentCollectionProperties(_),
1637
- componentType: smithyClient.expectString,
1638
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1639
- environmentName: smithyClient.expectString,
1640
- events: (_) => de_ComponentEvents(_),
1641
- id: smithyClient.expectString,
1642
- modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1643
- name: smithyClient.expectString,
1644
- overrides: smithyClient._json,
1645
- properties: (_) => de_ComponentProperties(_),
1646
- schemaVersion: smithyClient.expectString,
1647
- sourceId: smithyClient.expectString,
1648
- tags: smithyClient._json,
1649
- variants: smithyClient._json,
1650
- });
1651
- };
1652
- const de_ComponentBindingProperties = (output, context) => {
1653
- return Object.entries(output).reduce((acc, [key, value]) => {
1654
- if (value === null) {
1655
- return acc;
1656
- }
1657
- acc[key] = de_ComponentBindingPropertiesValue(value);
1658
- return acc;
1659
- }, {});
1660
- };
1661
- const de_ComponentBindingPropertiesValue = (output, context) => {
1662
- return smithyClient.take(output, {
1663
- bindingProperties: (_) => de_ComponentBindingPropertiesValueProperties(_),
1664
- defaultValue: smithyClient.expectString,
1665
- type: smithyClient.expectString,
1666
- });
1667
- };
1668
- const de_ComponentBindingPropertiesValueProperties = (output, context) => {
1669
- return smithyClient.take(output, {
1670
- bucket: smithyClient.expectString,
1671
- defaultValue: smithyClient.expectString,
1672
- field: smithyClient.expectString,
1673
- key: smithyClient.expectString,
1674
- model: smithyClient.expectString,
1675
- predicates: (_) => de_PredicateList(_),
1676
- slotName: smithyClient.expectString,
1677
- userAttribute: smithyClient.expectString,
1678
- });
1679
- };
1680
- const de_ComponentChild = (output, context) => {
1681
- return smithyClient.take(output, {
1682
- children: (_) => de_ComponentChildList(_),
1683
- componentType: smithyClient.expectString,
1684
- events: (_) => de_ComponentEvents(_),
1685
- name: smithyClient.expectString,
1686
- properties: (_) => de_ComponentProperties(_),
1687
- sourceId: smithyClient.expectString,
1688
- });
1689
- };
1690
- const de_ComponentChildList = (output, context) => {
1691
- const retVal = (output || [])
1692
- .filter((e) => e != null)
1693
- .map((entry) => {
1694
- return de_ComponentChild(entry);
1695
- });
1696
- return retVal;
1697
- };
1698
- const de_ComponentCollectionProperties = (output, context) => {
1699
- return Object.entries(output).reduce((acc, [key, value]) => {
1700
- if (value === null) {
1701
- return acc;
1702
- }
1703
- acc[key] = de_ComponentDataConfiguration(value);
1704
- return acc;
1705
- }, {});
1706
- };
1707
- const de_ComponentConditionProperty = (output, context) => {
1708
- return smithyClient.take(output, {
1709
- else: (_) => de_ComponentProperty(_),
1710
- field: smithyClient.expectString,
1711
- operand: smithyClient.expectString,
1712
- operandType: smithyClient.expectString,
1713
- operator: smithyClient.expectString,
1714
- property: smithyClient.expectString,
1715
- then: (_) => de_ComponentProperty(_),
1716
- });
1717
- };
1718
- const de_ComponentDataConfiguration = (output, context) => {
1719
- return smithyClient.take(output, {
1720
- identifiers: smithyClient._json,
1721
- model: smithyClient.expectString,
1722
- predicate: (_) => de_Predicate(_),
1723
- sort: smithyClient._json,
1724
- });
1725
- };
1726
- const de_ComponentEvent = (output, context) => {
1727
- return smithyClient.take(output, {
1728
- action: smithyClient.expectString,
1729
- bindingEvent: smithyClient.expectString,
1730
- parameters: (_) => de_ActionParameters(_),
1731
- });
1732
- };
1733
- const de_ComponentEvents = (output, context) => {
1734
- return Object.entries(output).reduce((acc, [key, value]) => {
1735
- if (value === null) {
1736
- return acc;
1737
- }
1738
- acc[key] = de_ComponentEvent(value);
1739
- return acc;
1740
- }, {});
1741
- };
1742
- const de_ComponentList = (output, context) => {
1743
- const retVal = (output || [])
1744
- .filter((e) => e != null)
1745
- .map((entry) => {
1746
- return de_Component(entry);
1747
- });
1748
- return retVal;
1749
- };
1750
- const de_ComponentProperties = (output, context) => {
1751
- return Object.entries(output).reduce((acc, [key, value]) => {
1752
- if (value === null) {
1753
- return acc;
1754
- }
1755
- acc[key] = de_ComponentProperty(value);
1756
- return acc;
1757
- }, {});
1758
- };
1759
- const de_ComponentProperty = (output, context) => {
1760
- return smithyClient.take(output, {
1761
- bindingProperties: smithyClient._json,
1762
- bindings: smithyClient._json,
1763
- collectionBindingProperties: smithyClient._json,
1764
- componentName: smithyClient.expectString,
1765
- concat: (_) => de_ComponentPropertyList(_),
1766
- condition: (_) => de_ComponentConditionProperty(_),
1767
- configured: smithyClient.expectBoolean,
1768
- defaultValue: smithyClient.expectString,
1769
- event: smithyClient.expectString,
1770
- importedValue: smithyClient.expectString,
1771
- model: smithyClient.expectString,
1772
- property: smithyClient.expectString,
1773
- type: smithyClient.expectString,
1774
- userAttribute: smithyClient.expectString,
1775
- value: smithyClient.expectString,
1776
- });
1777
- };
1778
- const de_ComponentPropertyList = (output, context) => {
1779
- const retVal = (output || [])
1780
- .filter((e) => e != null)
1781
- .map((entry) => {
1782
- return de_ComponentProperty(entry);
1783
- });
1784
- return retVal;
1785
- };
1786
- const de_FieldConfig = (output, context) => {
1787
- return smithyClient.take(output, {
1788
- excluded: smithyClient.expectBoolean,
1789
- inputType: (_) => de_FieldInputConfig(_),
1790
- label: smithyClient.expectString,
1791
- position: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
1792
- validations: smithyClient._json,
1793
- });
1794
- };
1795
- const de_FieldInputConfig = (output, context) => {
1796
- return smithyClient.take(output, {
1797
- defaultChecked: smithyClient.expectBoolean,
1798
- defaultCountryCode: smithyClient.expectString,
1799
- defaultValue: smithyClient.expectString,
1800
- descriptiveText: smithyClient.expectString,
1801
- fileUploaderConfig: smithyClient._json,
1802
- isArray: smithyClient.expectBoolean,
1803
- maxValue: smithyClient.limitedParseFloat32,
1804
- minValue: smithyClient.limitedParseFloat32,
1805
- name: smithyClient.expectString,
1806
- placeholder: smithyClient.expectString,
1807
- readOnly: smithyClient.expectBoolean,
1808
- required: smithyClient.expectBoolean,
1809
- step: smithyClient.limitedParseFloat32,
1810
- type: smithyClient.expectString,
1811
- value: smithyClient.expectString,
1812
- valueMappings: (_) => de_ValueMappings(_),
1813
- });
1814
- };
1815
- const de_FieldsMap = (output, context) => {
1816
- return Object.entries(output).reduce((acc, [key, value]) => {
1817
- if (value === null) {
1818
- return acc;
1819
- }
1820
- acc[key] = de_FieldConfig(value);
1821
- return acc;
1822
- }, {});
1823
- };
1824
- const de_Form = (output, context) => {
1825
- return smithyClient.take(output, {
1826
- appId: smithyClient.expectString,
1827
- cta: smithyClient._json,
1828
- dataType: smithyClient._json,
1829
- environmentName: smithyClient.expectString,
1830
- fields: (_) => de_FieldsMap(_),
1831
- formActionType: smithyClient.expectString,
1832
- id: smithyClient.expectString,
1833
- labelDecorator: smithyClient.expectString,
1834
- name: smithyClient.expectString,
1835
- schemaVersion: smithyClient.expectString,
1836
- sectionalElements: smithyClient._json,
1837
- style: smithyClient._json,
1838
- tags: smithyClient._json,
1839
- });
1840
- };
1841
- const de_FormInputValueProperty = (output, context) => {
1842
- return smithyClient.take(output, {
1843
- bindingProperties: smithyClient._json,
1844
- concat: (_) => de_FormInputValuePropertyList(_),
1845
- value: smithyClient.expectString,
1846
- });
1847
- };
1848
- const de_FormInputValuePropertyList = (output, context) => {
1849
- const retVal = (output || [])
1850
- .filter((e) => e != null)
1851
- .map((entry) => {
1852
- return de_FormInputValueProperty(entry);
1853
- });
1854
- return retVal;
1855
- };
1856
- const de_FormList = (output, context) => {
1857
- const retVal = (output || [])
1858
- .filter((e) => e != null)
1859
- .map((entry) => {
1860
- return de_Form(entry);
1861
- });
1862
- return retVal;
1863
- };
1864
- const de_MutationActionSetStateParameter = (output, context) => {
1865
- return smithyClient.take(output, {
1866
- componentName: smithyClient.expectString,
1867
- property: smithyClient.expectString,
1868
- set: (_) => de_ComponentProperty(_),
1869
- });
1870
- };
1871
- const de_Predicate = (output, context) => {
1872
- return smithyClient.take(output, {
1873
- and: (_) => de_PredicateList(_),
1874
- field: smithyClient.expectString,
1875
- operand: smithyClient.expectString,
1876
- operandType: smithyClient.expectString,
1877
- operator: smithyClient.expectString,
1878
- or: (_) => de_PredicateList(_),
1879
- });
1880
- };
1881
- const de_PredicateList = (output, context) => {
1882
- const retVal = (output || [])
1883
- .filter((e) => e != null)
1884
- .map((entry) => {
1885
- return de_Predicate(entry);
1886
- });
1887
- return retVal;
1888
- };
1889
- const de_Theme = (output, context) => {
1890
- return smithyClient.take(output, {
1891
- appId: smithyClient.expectString,
1892
- createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1893
- environmentName: smithyClient.expectString,
1894
- id: smithyClient.expectString,
1895
- modifiedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
1896
- name: smithyClient.expectString,
1897
- overrides: (_) => de_ThemeValuesList(_),
1898
- tags: smithyClient._json,
1899
- values: (_) => de_ThemeValuesList(_),
1900
- });
1901
- };
1902
- const de_ThemeList = (output, context) => {
1903
- const retVal = (output || [])
1904
- .filter((e) => e != null)
1905
- .map((entry) => {
1906
- return de_Theme(entry);
1907
- });
1908
- return retVal;
1909
- };
1910
- const de_ThemeValue = (output, context) => {
1911
- return smithyClient.take(output, {
1912
- children: (_) => de_ThemeValuesList(_),
1913
- value: smithyClient.expectString,
1914
- });
1915
- };
1916
- const de_ThemeValues = (output, context) => {
1917
- return smithyClient.take(output, {
1918
- key: smithyClient.expectString,
1919
- value: (_) => de_ThemeValue(_),
1920
- });
1921
- };
1922
- const de_ThemeValuesList = (output, context) => {
1923
- const retVal = (output || [])
1924
- .filter((e) => e != null)
1925
- .map((entry) => {
1926
- return de_ThemeValues(entry);
1927
- });
1928
- return retVal;
1929
- };
1930
- const de_ValueMapping = (output, context) => {
1931
- return smithyClient.take(output, {
1932
- displayValue: (_) => de_FormInputValueProperty(_),
1933
- value: (_) => de_FormInputValueProperty(_),
1934
- });
1935
- };
1936
- const de_ValueMappingList = (output, context) => {
1937
- const retVal = (output || [])
1938
- .filter((e) => e != null)
1939
- .map((entry) => {
1940
- return de_ValueMapping(entry);
1941
- });
1942
- return retVal;
1943
- };
1944
- const de_ValueMappings = (output, context) => {
1945
- return smithyClient.take(output, {
1946
- bindingProperties: smithyClient._json,
1947
- values: (_) => de_ValueMappingList(_),
1948
- });
1949
- };
1950
- const deserializeMetadata = (output) => ({
1951
- httpStatusCode: output.statusCode,
1952
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1953
- extendedRequestId: output.headers["x-amz-id-2"],
1954
- cfId: output.headers["x-amz-cf-id"],
1955
- });
1956
- const _cT = "clientToken";
324
+
325
+ const _AC = "ApiConfiguration";
326
+ const _AP = "ActionParameters";
327
+ const _C = "Component";
328
+ const _CBP = "ComponentBindingProperties";
329
+ const _CBPV = "ComponentBindingPropertiesValue";
330
+ const _CBPVP = "ComponentBindingPropertiesValueProperties";
331
+ const _CC = "ComponentChild";
332
+ const _CCD = "CreateComponentData";
333
+ const _CCL = "ComponentChildList";
334
+ const _CCP = "ComponentConditionProperty";
335
+ const _CCPo = "ComponentCollectionProperties";
336
+ const _CCR = "CreateComponentRequest";
337
+ const _CCRr = "CreateComponentResponse";
338
+ const _CCr = "CreateComponent";
339
+ const _CD = "CodegenDependency";
340
+ const _CDC = "ComponentDataConfiguration";
341
+ const _CDo = "CodegenDependencies";
342
+ const _CE = "ComponentEvent";
343
+ const _CEo = "ComponentEvents";
344
+ const _CF = "CreateForm";
345
+ const _CFD = "CreateFormData";
346
+ const _CFF = "CodegenFeatureFlags";
347
+ const _CFR = "CreateFormRequest";
348
+ const _CFRr = "CreateFormResponse";
349
+ const _CGDE = "CodegenGenericDataEnum";
350
+ const _CGDEo = "CodegenGenericDataEnums";
351
+ const _CGDF = "CodegenGenericDataField";
352
+ const _CGDFo = "CodegenGenericDataFields";
353
+ const _CGDM = "CodegenGenericDataModel";
354
+ const _CGDMo = "CodegenGenericDataModels";
355
+ const _CGDNM = "CodegenGenericDataNonModel";
356
+ const _CGDNMF = "CodegenGenericDataNonModelFields";
357
+ const _CGDNMo = "CodegenGenericDataNonModels";
358
+ const _CGDRT = "CodegenGenericDataRelationshipType";
359
+ const _CJ = "CodegenJob";
360
+ const _CJA = "CodegenJobAsset";
361
+ const _CJGDS = "CodegenJobGenericDataSchema";
362
+ const _CJRC = "CodegenJobRenderConfig";
363
+ const _CJS = "CodegenJobSummary";
364
+ const _CJSL = "CodegenJobSummaryList";
365
+ const _CL = "ComponentList";
366
+ const _CO = "ComponentOverrides";
367
+ const _CP = "ComponentProperty";
368
+ const _CPBP = "ComponentPropertyBindingProperties";
369
+ const _CPL = "ComponentPropertyList";
370
+ const _CPo = "ComponentProperties";
371
+ const _CS = "ComponentSummary";
372
+ const _CSL = "ComponentSummaryList";
373
+ const _CT = "CreateTheme";
374
+ const _CTD = "CreateThemeData";
375
+ const _CTR = "CreateThemeRequest";
376
+ const _CTRr = "CreateThemeResponse";
377
+ const _CV = "ComponentVariant";
378
+ const _CVo = "ComponentVariants";
379
+ const _DC = "DeleteComponent";
380
+ const _DCR = "DeleteComponentRequest";
381
+ const _DF = "DeleteForm";
382
+ const _DFR = "DeleteFormRequest";
383
+ const _DSRC = "DataStoreRenderConfig";
384
+ const _DT = "DeleteTheme";
385
+ const _DTR = "DeleteThemeRequest";
386
+ const _EC = "ExportComponents";
387
+ const _ECFT = "ExchangeCodeForToken";
388
+ const _ECFTR = "ExchangeCodeForTokenRequest";
389
+ const _ECFTRB = "ExchangeCodeForTokenRequestBody";
390
+ const _ECFTRx = "ExchangeCodeForTokenResponse";
391
+ const _ECR = "ExportComponentsRequest";
392
+ const _ECRx = "ExportComponentsResponse";
393
+ const _EF = "ExportForms";
394
+ const _EFR = "ExportFormsRequest";
395
+ const _EFRx = "ExportFormsResponse";
396
+ const _ET = "ExportThemes";
397
+ const _ETR = "ExportThemesRequest";
398
+ const _ETRx = "ExportThemesResponse";
399
+ const _F = "Form";
400
+ const _FB = "FormButton";
401
+ const _FBE = "FormBindingElement";
402
+ const _FBo = "FormBindings";
403
+ const _FC = "FieldConfig";
404
+ const _FCTA = "FormCTA";
405
+ const _FDTC = "FormDataTypeConfig";
406
+ const _FIBP = "FormInputBindingProperties";
407
+ const _FIBPV = "FormInputBindingPropertiesValue";
408
+ const _FIBPVP = "FormInputBindingPropertiesValueProperties";
409
+ const _FIC = "FieldInputConfig";
410
+ const _FIVP = "FormInputValueProperty";
411
+ const _FIVPBP = "FormInputValuePropertyBindingProperties";
412
+ const _FIVPL = "FormInputValuePropertyList";
413
+ const _FL = "FormList";
414
+ const _FM = "FieldsMap";
415
+ const _FP = "FieldPosition";
416
+ const _FS = "FormStyle";
417
+ const _FSC = "FormStyleConfig";
418
+ const _FSL = "FormSummaryList";
419
+ const _FSo = "FormSummary";
420
+ const _FUFC = "FileUploaderFieldConfig";
421
+ const _FVC = "FieldValidationConfiguration";
422
+ const _GC = "GetComponent";
423
+ const _GCJ = "GetCodegenJob";
424
+ const _GCJR = "GetCodegenJobRequest";
425
+ const _GCJRe = "GetCodegenJobResponse";
426
+ const _GCR = "GetComponentRequest";
427
+ const _GCRe = "GetComponentResponse";
428
+ const _GF = "GetForm";
429
+ const _GFR = "GetFormRequest";
430
+ const _GFRe = "GetFormResponse";
431
+ const _GM = "GetMetadata";
432
+ const _GMR = "GetMetadataRequest";
433
+ const _GMRe = "GetMetadataResponse";
434
+ const _GQLRC = "GraphQLRenderConfig";
435
+ const _GT = "GetTheme";
436
+ const _GTR = "GetThemeRequest";
437
+ const _GTRe = "GetThemeResponse";
438
+ const _IPE = "InvalidParameterException";
439
+ const _ISE = "InternalServerException";
440
+ const _LC = "ListComponents";
441
+ const _LCJ = "ListCodegenJobs";
442
+ const _LCJR = "ListCodegenJobsRequest";
443
+ const _LCJRi = "ListCodegenJobsResponse";
444
+ const _LCR = "ListComponentsRequest";
445
+ const _LCRi = "ListComponentsResponse";
446
+ const _LF = "ListForms";
447
+ const _LFR = "ListFormsRequest";
448
+ const _LFRi = "ListFormsResponse";
449
+ const _LT = "ListThemes";
450
+ const _LTFR = "ListTagsForResource";
451
+ const _LTFRR = "ListTagsForResourceRequest";
452
+ const _LTFRRi = "ListTagsForResourceResponse";
453
+ const _LTR = "ListThemesRequest";
454
+ const _LTRi = "ListThemesResponse";
455
+ const _MASSP = "MutationActionSetStateParameter";
456
+ const _NARC = "NoApiRenderConfig";
457
+ const _P = "Predicate";
458
+ const _PL = "PredicateList";
459
+ const _PMF = "PutMetadataFlag";
460
+ const _PMFB = "PutMetadataFlagBody";
461
+ const _PMFR = "PutMetadataFlagRequest";
462
+ const _RCE = "ResourceConflictException";
463
+ const _RNFE = "ResourceNotFoundException";
464
+ const _RSCJD = "ReactStartCodegenJobData";
465
+ const _RT = "RefreshToken";
466
+ const _RTR = "RefreshTokenRequest";
467
+ const _RTRB = "RefreshTokenRequestBody";
468
+ const _RTRe = "RefreshTokenResponse";
469
+ const _SCJ = "StartCodegenJob";
470
+ const _SCJD = "StartCodegenJobData";
471
+ const _SCJR = "StartCodegenJobRequest";
472
+ const _SCJRt = "StartCodegenJobResponse";
473
+ const _SE = "SectionalElement";
474
+ const _SEM = "SectionalElementMap";
475
+ const _SP = "SortProperty";
476
+ const _SPL = "SortPropertyList";
477
+ const _SQEE = "ServiceQuotaExceededException";
478
+ const _SS = "SensitiveString";
479
+ const _T = "Theme";
480
+ const _TE = "ThrottlingException";
481
+ const _TL = "ThemeList";
482
+ const _TR = "TagResource";
483
+ const _TRR = "TagResourceRequest";
484
+ const _TRRa = "TagResourceResponse";
485
+ const _TS = "ThemeSummary";
486
+ const _TSL = "ThemeSummaryList";
487
+ const _TV = "ThemeValue";
488
+ const _TVL = "ThemeValuesList";
489
+ const _TVh = "ThemeValues";
490
+ const _UC = "UpdateComponent";
491
+ const _UCD = "UpdateComponentData";
492
+ const _UCR = "UpdateComponentRequest";
493
+ const _UCRp = "UpdateComponentResponse";
494
+ const _UE = "UnauthorizedException";
495
+ const _UF = "UpdateForm";
496
+ const _UFD = "UpdateFormData";
497
+ const _UFR = "UpdateFormRequest";
498
+ const _UFRp = "UpdateFormResponse";
499
+ const _UR = "UntagResource";
500
+ const _URR = "UntagResourceRequest";
501
+ const _URRn = "UntagResourceResponse";
502
+ const _UT = "UpdateTheme";
503
+ const _UTD = "UpdateThemeData";
504
+ const _UTR = "UpdateThemeRequest";
505
+ const _UTRp = "UpdateThemeResponse";
506
+ const _VL = "ValidationsList";
507
+ const _VM = "ValueMapping";
508
+ const _VML = "ValueMappingList";
509
+ const _VMa = "ValueMappings";
510
+ const _a = "anchor";
511
+ const _aC = "apiConfiguration";
512
+ const _aF = "associatedFields";
513
+ const _aFT = "acceptedFileTypes";
514
+ const _aGF = "autoGenerateForms";
515
+ const _aI = "appId";
516
+ const _aL = "accessLevel";
517
+ const _aT = "accessToken";
518
+ const _ac = "action";
519
+ const _an = "and";
520
+ const _as = "asset";
521
+ const _b = "bucket";
522
+ const _bE = "bindingEvent";
523
+ const _bP = "bindingProperties";
524
+ const _bTFORM = "belongsToFieldOnRelatedModel";
525
+ const _be = "below";
526
+ const _bi = "bindings";
527
+ const _bo = "body";
528
+ const _c = "children";
529
+ const _cA = "createdAt";
530
+ const _cBP = "collectionBindingProperties";
531
+ const _cI = "clientId";
532
+ const _cJTC = "codegenJobToCreate";
533
+ const _cN = "componentName";
534
+ const _cP = "collectionProperties";
535
+ const _cT = "componentType";
536
+ const _cTC = "componentToCreate";
537
+ const _cTl = "clientToken";
538
+ const _cUAM = "canUnlinkAssociatedModel";
539
+ const _ca = "cancel";
540
+ const _cl = "clear";
541
+ const _cli = "client";
542
+ const _co = "concat";
543
+ const _cod = "code";
544
+ const _com = "component";
545
+ const _con = "condition";
546
+ const _conf = "configured";
547
+ const _ct = "cta";
548
+ const _d = "dependencies";
549
+ const _dC = "defaultChecked";
550
+ const _dCC = "defaultCountryCode";
551
+ const _dSC = "dataStoreConfig";
552
+ const _dST = "dataSourceType";
553
+ const _dT = "dataType";
554
+ const _dTN = "dataTypeName";
555
+ const _dTV = "dataTypeValue";
556
+ const _dTe = "descriptiveText";
557
+ const _dU = "downloadUrl";
558
+ const _dV = "defaultValue";
559
+ const _dVi = "displayValue";
560
+ const _di = "direction";
561
+ const _e = "enums";
562
+ const _eI = "expiresIn";
563
+ const _eN = "environmentName";
564
+ const _el = "else";
565
+ const _ele = "element";
566
+ const _en = "entity";
567
+ const _ent = "entities";
568
+ const _er = "error";
569
+ const _ev = "events";
570
+ const _eve = "event";
571
+ const _ex = "excluded";
572
+ const _f = "fields";
573
+ const _fAT = "formActionType";
574
+ const _fFP = "fragmentsFilePath";
575
+ const _fN = "featureName";
576
+ const _fTC = "formToCreate";
577
+ const _fUC = "fileUploaderConfig";
578
+ const _fe = "features";
579
+ const _fi = "field";
580
+ const _fix = "fixed";
581
+ const _fo = "form";
582
+ const _g = "global";
583
+ const _gDS = "genericDataSchema";
584
+ const _gQLC = "graphQLConfig";
585
+ const _h = "http";
586
+ const _hE = "httpError";
587
+ const _hG = "horizontalGap";
588
+ const _hQ = "httpQuery";
589
+ const _i = "id";
590
+ const _iA = "isArray";
591
+ const _iHMI = "isHasManyIndex";
592
+ const _iJT = "isJoinTable";
593
+ const _iNMS = "isNonModelSupported";
594
+ const _iR = "isResumable";
595
+ const _iRS = "isRelationshipSupported";
596
+ const _iSM = "inlineSourceMap";
597
+ const _iSV = "isSemVer";
598
+ const _iT = "idempotencyToken";
599
+ const _iTn = "inputType";
600
+ const _iV = "importedValue";
601
+ const _id = "identifiers";
602
+ const _j = "job";
603
+ const _k = "key";
604
+ const _l = "label";
605
+ const _lD = "labelDecorator";
606
+ const _le = "level";
607
+ const _m = "model";
608
+ const _mA = "modifiedAt";
609
+ const _mFC = "maxFileCount";
610
+ const _mFP = "mutationsFilePath";
1957
611
  const _mR = "maxResults";
612
+ const _mS = "maxSize";
613
+ const _mV = "minValue";
614
+ const _mVa = "maxValue";
615
+ const _me = "message";
616
+ const _mo = "models";
617
+ const _mod = "module";
618
+ const _n = "name";
619
+ const _nAC = "noApiConfig";
620
+ const _nM = "nonModels";
1958
621
  const _nT = "nextToken";
622
+ const _nV = "numValues";
623
+ const _nVe = "newValue";
624
+ const _o = "overrides";
625
+ const _oP = "outerPadding";
626
+ const _oT = "operandType";
627
+ const _op = "operator";
628
+ const _ope = "operand";
629
+ const _or = "or";
630
+ const _ori = "orientation";
631
+ const _p = "properties";
632
+ const _pK = "primaryKeys";
633
+ const _pa = "parameters";
634
+ const _pl = "placeholder";
635
+ const _po = "position";
636
+ const _pr = "predicates";
637
+ const _pre = "predicate";
638
+ const _pro = "property";
639
+ const _prov = "provider";
640
+ const _qFP = "queriesFilePath";
641
+ const _r = "reason";
642
+ const _rA = "resourceArn";
643
+ const _rC = "renderConfig";
644
+ const _rJFN = "relatedJoinFieldName";
645
+ const _rJTN = "relatedJoinTableName";
646
+ const _rMF = "relatedModelFields";
647
+ const _rMN = "relatedModelName";
648
+ const _rO = "readOnly";
649
+ const _rOi = "rightOf";
650
+ const _rT = "refreshToken";
651
+ const _rTB = "refreshTokenBody";
652
+ const _rTD = "renderTypeDeclarations";
653
+ const _rU = "redirectUri";
654
+ const _re = "required";
655
+ const _rea = "react";
656
+ const _rel = "relationship";
657
+ const _req = "request";
658
+ const _s = "state";
659
+ const _sE = "sectionalElements";
660
+ const _sFP = "subscriptionsFilePath";
661
+ const _sI = "sourceId";
662
+ const _sM = "statusMessage";
663
+ const _sN = "slotName";
664
+ const _sT = "showThumbnails";
665
+ const _sV = "supportedVersion";
666
+ const _sVc = "schemaVersion";
667
+ const _sVt = "strValues";
668
+ const _sc = "script";
669
+ const _se = "server";
670
+ const _set = "set";
671
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.amplifyuibuilder";
672
+ const _so = "sort";
673
+ const _st = "status";
674
+ const _ste = "step";
675
+ const _sty = "style";
676
+ const _su = "submit";
677
+ const _t = "type";
678
+ const _tFP = "typesFilePath";
1959
679
  const _tK = "tagKeys";
680
+ const _tR = "tokenReference";
681
+ const _tTC = "themeToCreate";
682
+ const _ta = "target";
683
+ const _tag = "tags";
684
+ const _te = "text";
685
+ const _th = "then";
686
+ const _the = "theme";
687
+ const _to = "token";
688
+ const _u = "url";
689
+ const _uA = "userAttribute";
690
+ const _uC = "updatedComponent";
691
+ const _uF = "updatedForm";
692
+ const _uT = "updatedTheme";
693
+ const _v = "values";
694
+ const _vG = "verticalGap";
695
+ const _vM = "valueMappings";
696
+ const _vMa = "validationMessage";
697
+ const _vV = "variantValues";
698
+ const _va = "variants";
699
+ const _val = "value";
700
+ const _vali = "validations";
701
+ const n0 = "com.amazonaws.amplifyuibuilder";
702
+ var SensitiveString = [0, n0, _SS, 8, 0];
703
+ var ActionParameters = [
704
+ 3,
705
+ n0,
706
+ _AP,
707
+ 0,
708
+ [_t, _u, _a, _ta, _g, _m, _i, _f, _s],
709
+ [
710
+ () => ComponentProperty,
711
+ () => ComponentProperty,
712
+ () => ComponentProperty,
713
+ () => ComponentProperty,
714
+ () => ComponentProperty,
715
+ 0,
716
+ () => ComponentProperty,
717
+ () => ComponentProperties,
718
+ () => MutationActionSetStateParameter,
719
+ ],
720
+ ];
721
+ var CodegenDependency = [3, n0, _CD, 0, [_n, _sV, _iSV, _r], [0, 0, 2, 0]];
722
+ var CodegenFeatureFlags = [3, n0, _CFF, 0, [_iRS, _iNMS], [2, 2]];
723
+ var CodegenGenericDataEnum = [3, n0, _CGDE, 0, [_v], [64 | 0]];
724
+ var CodegenGenericDataField = [
725
+ 3,
726
+ n0,
727
+ _CGDF,
728
+ 0,
729
+ [_dT, _dTV, _re, _rO, _iA, _rel],
730
+ [0, 0, 2, 2, 2, () => CodegenGenericDataRelationshipType],
731
+ ];
732
+ var CodegenGenericDataModel = [
733
+ 3,
734
+ n0,
735
+ _CGDM,
736
+ 0,
737
+ [_f, _iJT, _pK],
738
+ [() => CodegenGenericDataFields, 2, 64 | 0],
739
+ ];
740
+ var CodegenGenericDataNonModel = [
741
+ 3,
742
+ n0,
743
+ _CGDNM,
744
+ 0,
745
+ [_f],
746
+ [() => CodegenGenericDataNonModelFields],
747
+ ];
748
+ var CodegenGenericDataRelationshipType = [
749
+ 3,
750
+ n0,
751
+ _CGDRT,
752
+ 0,
753
+ [_t, _rMN, _rMF, _cUAM, _rJFN, _rJTN, _bTFORM, _aF, _iHMI],
754
+ [0, 0, 64 | 0, 2, 0, 0, 0, 64 | 0, 2],
755
+ ];
756
+ var CodegenJob = [
757
+ 3,
758
+ n0,
759
+ _CJ,
760
+ 0,
761
+ [_i, _aI, _eN, _rC, _gDS, _aGF, _fe, _st, _sM, _as, _tag, _cA, _mA, _d],
762
+ [
763
+ 0,
764
+ 0,
765
+ 0,
766
+ () => CodegenJobRenderConfig,
767
+ () => CodegenJobGenericDataSchema,
768
+ 2,
769
+ () => CodegenFeatureFlags,
770
+ 0,
771
+ 0,
772
+ () => CodegenJobAsset,
773
+ 128 | 0,
774
+ 5,
775
+ 5,
776
+ () => CodegenDependencies,
777
+ ],
778
+ ];
779
+ var CodegenJobAsset = [3, n0, _CJA, 0, [_dU], [0]];
780
+ var CodegenJobGenericDataSchema = [
781
+ 3,
782
+ n0,
783
+ _CJGDS,
784
+ 0,
785
+ [_dST, _mo, _e, _nM],
786
+ [0, () => CodegenGenericDataModels, () => CodegenGenericDataEnums, () => CodegenGenericDataNonModels],
787
+ ];
788
+ var CodegenJobSummary = [3, n0, _CJS, 0, [_aI, _eN, _i, _cA, _mA], [0, 0, 0, 5, 5]];
789
+ var Component = [
790
+ 3,
791
+ n0,
792
+ _C,
793
+ 0,
794
+ [_aI, _eN, _sI, _i, _n, _cT, _p, _c, _va, _o, _bP, _cP, _cA, _mA, _tag, _ev, _sVc],
795
+ [
796
+ 0,
797
+ 0,
798
+ 0,
799
+ 0,
800
+ 0,
801
+ 0,
802
+ () => ComponentProperties,
803
+ () => ComponentChildList,
804
+ () => ComponentVariants,
805
+ [2, n0, _CO, 0, 0, 128 | 0],
806
+ () => ComponentBindingProperties,
807
+ () => ComponentCollectionProperties,
808
+ 5,
809
+ 5,
810
+ 128 | 0,
811
+ () => ComponentEvents,
812
+ 0,
813
+ ],
814
+ ];
815
+ var ComponentBindingPropertiesValue = [
816
+ 3,
817
+ n0,
818
+ _CBPV,
819
+ 0,
820
+ [_t, _bP, _dV],
821
+ [0, () => ComponentBindingPropertiesValueProperties, 0],
822
+ ];
823
+ var ComponentBindingPropertiesValueProperties = [
824
+ 3,
825
+ n0,
826
+ _CBPVP,
827
+ 0,
828
+ [_m, _fi, _pr, _uA, _b, _k, _dV, _sN],
829
+ [0, 0, () => PredicateList, 0, 0, 0, 0, 0],
830
+ ];
831
+ var ComponentChild = [
832
+ 3,
833
+ n0,
834
+ _CC,
835
+ 0,
836
+ [_cT, _n, _p, _c, _ev, _sI],
837
+ [0, 0, () => ComponentProperties, () => ComponentChildList, () => ComponentEvents, 0],
838
+ ];
839
+ var ComponentConditionProperty = [
840
+ 3,
841
+ n0,
842
+ _CCP,
843
+ 0,
844
+ [_pro, _fi, _op, _ope, _th, _el, _oT],
845
+ [0, 0, 0, 0, () => ComponentProperty, () => ComponentProperty, 0],
846
+ ];
847
+ var ComponentDataConfiguration = [
848
+ 3,
849
+ n0,
850
+ _CDC,
851
+ 0,
852
+ [_m, _so, _pre, _id],
853
+ [0, () => SortPropertyList, () => Predicate, 64 | 0],
854
+ ];
855
+ var ComponentEvent = [3, n0, _CE, 0, [_ac, _pa, _bE], [0, () => ActionParameters, 0]];
856
+ var ComponentProperty = [
857
+ 3,
858
+ n0,
859
+ _CP,
860
+ 0,
861
+ [_val, _bP, _cBP, _dV, _m, _bi, _eve, _uA, _co, _con, _conf, _t, _iV, _cN, _pro],
862
+ [
863
+ 0,
864
+ () => ComponentPropertyBindingProperties,
865
+ () => ComponentPropertyBindingProperties,
866
+ 0,
867
+ 0,
868
+ () => FormBindings,
869
+ 0,
870
+ 0,
871
+ () => ComponentPropertyList,
872
+ () => ComponentConditionProperty,
873
+ 2,
874
+ 0,
875
+ 0,
876
+ 0,
877
+ 0,
878
+ ],
879
+ ];
880
+ var ComponentPropertyBindingProperties = [3, n0, _CPBP, 0, [_pro, _fi], [0, 0]];
881
+ var ComponentSummary = [3, n0, _CS, 0, [_aI, _eN, _i, _n, _cT], [0, 0, 0, 0, 0]];
882
+ var ComponentVariant = [3, n0, _CV, 0, [_vV, _o], [128 | 0, [2, n0, _CO, 0, 0, 128 | 0]]];
883
+ var CreateComponentData = [
884
+ 3,
885
+ n0,
886
+ _CCD,
887
+ 0,
888
+ [_n, _sI, _cT, _p, _c, _va, _o, _bP, _cP, _tag, _ev, _sVc],
889
+ [
890
+ 0,
891
+ 0,
892
+ 0,
893
+ () => ComponentProperties,
894
+ () => ComponentChildList,
895
+ () => ComponentVariants,
896
+ [2, n0, _CO, 0, 0, 128 | 0],
897
+ () => ComponentBindingProperties,
898
+ () => ComponentCollectionProperties,
899
+ 128 | 0,
900
+ () => ComponentEvents,
901
+ 0,
902
+ ],
903
+ ];
904
+ var CreateComponentRequest = [
905
+ 3,
906
+ n0,
907
+ _CCR,
908
+ 0,
909
+ [_aI, _eN, _cTl, _cTC],
910
+ [
911
+ [0, 1],
912
+ [0, 1],
913
+ [
914
+ 0,
915
+ {
916
+ [_iT]: 1,
917
+ [_hQ]: _cTl,
918
+ },
919
+ ],
920
+ [() => CreateComponentData, 16],
921
+ ],
922
+ ];
923
+ var CreateComponentResponse = [3, n0, _CCRr, 0, [_en], [[() => Component, 16]]];
924
+ var CreateFormData = [
925
+ 3,
926
+ n0,
927
+ _CFD,
928
+ 0,
929
+ [_n, _dT, _fAT, _f, _sty, _sE, _sVc, _ct, _tag, _lD],
930
+ [
931
+ 0,
932
+ () => FormDataTypeConfig,
933
+ 0,
934
+ () => FieldsMap,
935
+ () => FormStyle,
936
+ () => SectionalElementMap,
937
+ 0,
938
+ () => FormCTA,
939
+ 128 | 0,
940
+ 0,
941
+ ],
942
+ ];
943
+ var CreateFormRequest = [
944
+ 3,
945
+ n0,
946
+ _CFR,
947
+ 0,
948
+ [_aI, _eN, _cTl, _fTC],
949
+ [
950
+ [0, 1],
951
+ [0, 1],
952
+ [
953
+ 0,
954
+ {
955
+ [_iT]: 1,
956
+ [_hQ]: _cTl,
957
+ },
958
+ ],
959
+ [() => CreateFormData, 16],
960
+ ],
961
+ ];
962
+ var CreateFormResponse = [3, n0, _CFRr, 0, [_en], [[() => Form, 16]]];
963
+ var CreateThemeData = [
964
+ 3,
965
+ n0,
966
+ _CTD,
967
+ 0,
968
+ [_n, _v, _o, _tag],
969
+ [0, () => ThemeValuesList, () => ThemeValuesList, 128 | 0],
970
+ ];
971
+ var CreateThemeRequest = [
972
+ 3,
973
+ n0,
974
+ _CTR,
975
+ 0,
976
+ [_aI, _eN, _cTl, _tTC],
977
+ [
978
+ [0, 1],
979
+ [0, 1],
980
+ [
981
+ 0,
982
+ {
983
+ [_iT]: 1,
984
+ [_hQ]: _cTl,
985
+ },
986
+ ],
987
+ [() => CreateThemeData, 16],
988
+ ],
989
+ ];
990
+ var CreateThemeResponse = [3, n0, _CTRr, 0, [_en], [[() => Theme, 16]]];
991
+ var DataStoreRenderConfig = [3, n0, _DSRC, 0, [], []];
992
+ var DeleteComponentRequest = [
993
+ 3,
994
+ n0,
995
+ _DCR,
996
+ 0,
997
+ [_aI, _eN, _i],
998
+ [
999
+ [0, 1],
1000
+ [0, 1],
1001
+ [0, 1],
1002
+ ],
1003
+ ];
1004
+ var DeleteFormRequest = [
1005
+ 3,
1006
+ n0,
1007
+ _DFR,
1008
+ 0,
1009
+ [_aI, _eN, _i],
1010
+ [
1011
+ [0, 1],
1012
+ [0, 1],
1013
+ [0, 1],
1014
+ ],
1015
+ ];
1016
+ var DeleteThemeRequest = [
1017
+ 3,
1018
+ n0,
1019
+ _DTR,
1020
+ 0,
1021
+ [_aI, _eN, _i],
1022
+ [
1023
+ [0, 1],
1024
+ [0, 1],
1025
+ [0, 1],
1026
+ ],
1027
+ ];
1028
+ var ExchangeCodeForTokenRequest = [
1029
+ 3,
1030
+ n0,
1031
+ _ECFTR,
1032
+ 0,
1033
+ [_prov, _req],
1034
+ [
1035
+ [0, 1],
1036
+ [() => ExchangeCodeForTokenRequestBody, 16],
1037
+ ],
1038
+ ];
1039
+ var ExchangeCodeForTokenRequestBody = [
1040
+ 3,
1041
+ n0,
1042
+ _ECFTRB,
1043
+ 0,
1044
+ [_cod, _rU, _cI],
1045
+ [[() => SensitiveString, 0], 0, [() => SensitiveString, 0]],
1046
+ ];
1047
+ var ExchangeCodeForTokenResponse = [
1048
+ 3,
1049
+ n0,
1050
+ _ECFTRx,
1051
+ 0,
1052
+ [_aT, _eI, _rT],
1053
+ [[() => SensitiveString, 0], 1, [() => SensitiveString, 0]],
1054
+ ];
1055
+ var ExportComponentsRequest = [
1056
+ 3,
1057
+ n0,
1058
+ _ECR,
1059
+ 0,
1060
+ [_aI, _eN, _nT],
1061
+ [
1062
+ [0, 1],
1063
+ [0, 1],
1064
+ [
1065
+ 0,
1066
+ {
1067
+ [_hQ]: _nT,
1068
+ },
1069
+ ],
1070
+ ],
1071
+ ];
1072
+ var ExportComponentsResponse = [3, n0, _ECRx, 0, [_ent, _nT], [() => ComponentList, 0]];
1073
+ var ExportFormsRequest = [
1074
+ 3,
1075
+ n0,
1076
+ _EFR,
1077
+ 0,
1078
+ [_aI, _eN, _nT],
1079
+ [
1080
+ [0, 1],
1081
+ [0, 1],
1082
+ [
1083
+ 0,
1084
+ {
1085
+ [_hQ]: _nT,
1086
+ },
1087
+ ],
1088
+ ],
1089
+ ];
1090
+ var ExportFormsResponse = [3, n0, _EFRx, 0, [_ent, _nT], [() => FormList, 0]];
1091
+ var ExportThemesRequest = [
1092
+ 3,
1093
+ n0,
1094
+ _ETR,
1095
+ 0,
1096
+ [_aI, _eN, _nT],
1097
+ [
1098
+ [0, 1],
1099
+ [0, 1],
1100
+ [
1101
+ 0,
1102
+ {
1103
+ [_hQ]: _nT,
1104
+ },
1105
+ ],
1106
+ ],
1107
+ ];
1108
+ var ExportThemesResponse = [3, n0, _ETRx, 0, [_ent, _nT], [() => ThemeList, 0]];
1109
+ var FieldConfig = [
1110
+ 3,
1111
+ n0,
1112
+ _FC,
1113
+ 0,
1114
+ [_l, _po, _ex, _iTn, _vali],
1115
+ [0, () => FieldPosition, 2, () => FieldInputConfig, () => ValidationsList],
1116
+ ];
1117
+ var FieldInputConfig = [
1118
+ 3,
1119
+ n0,
1120
+ _FIC,
1121
+ 0,
1122
+ [_t, _re, _rO, _pl, _dV, _dTe, _dC, _dCC, _vM, _n, _mV, _mVa, _ste, _val, _iA, _fUC],
1123
+ [0, 2, 2, 0, 0, 0, 2, 0, () => ValueMappings, 0, 1, 1, 1, 0, 2, () => FileUploaderFieldConfig],
1124
+ ];
1125
+ var FieldValidationConfiguration = [
1126
+ 3,
1127
+ n0,
1128
+ _FVC,
1129
+ 0,
1130
+ [_t, _sVt, _nV, _vMa],
1131
+ [0, 64 | 0, 64 | 1, 0],
1132
+ ];
1133
+ var FileUploaderFieldConfig = [
1134
+ 3,
1135
+ n0,
1136
+ _FUFC,
1137
+ 0,
1138
+ [_aL, _aFT, _sT, _iR, _mFC, _mS],
1139
+ [0, 64 | 0, 2, 2, 1, 1],
1140
+ ];
1141
+ var Form = [
1142
+ 3,
1143
+ n0,
1144
+ _F,
1145
+ 0,
1146
+ [_aI, _eN, _i, _n, _fAT, _sty, _dT, _f, _sE, _sVc, _tag, _ct, _lD],
1147
+ [
1148
+ 0,
1149
+ 0,
1150
+ 0,
1151
+ 0,
1152
+ 0,
1153
+ () => FormStyle,
1154
+ () => FormDataTypeConfig,
1155
+ () => FieldsMap,
1156
+ () => SectionalElementMap,
1157
+ 0,
1158
+ 128 | 0,
1159
+ () => FormCTA,
1160
+ 0,
1161
+ ],
1162
+ ];
1163
+ var FormBindingElement = [3, n0, _FBE, 0, [_ele, _pro], [0, 0]];
1164
+ var FormButton = [3, n0, _FB, 0, [_ex, _c, _po], [2, 0, () => FieldPosition]];
1165
+ var FormCTA = [
1166
+ 3,
1167
+ n0,
1168
+ _FCTA,
1169
+ 0,
1170
+ [_po, _cl, _ca, _su],
1171
+ [0, () => FormButton, () => FormButton, () => FormButton],
1172
+ ];
1173
+ var FormDataTypeConfig = [3, n0, _FDTC, 0, [_dST, _dTN], [0, 0]];
1174
+ var FormInputBindingPropertiesValue = [
1175
+ 3,
1176
+ n0,
1177
+ _FIBPV,
1178
+ 0,
1179
+ [_t, _bP],
1180
+ [0, () => FormInputBindingPropertiesValueProperties],
1181
+ ];
1182
+ var FormInputBindingPropertiesValueProperties = [3, n0, _FIBPVP, 0, [_m], [0]];
1183
+ var FormInputValueProperty = [
1184
+ 3,
1185
+ n0,
1186
+ _FIVP,
1187
+ 0,
1188
+ [_val, _bP, _co],
1189
+ [0, () => FormInputValuePropertyBindingProperties, () => FormInputValuePropertyList],
1190
+ ];
1191
+ var FormInputValuePropertyBindingProperties = [3, n0, _FIVPBP, 0, [_pro, _fi], [0, 0]];
1192
+ var FormStyle = [
1193
+ 3,
1194
+ n0,
1195
+ _FS,
1196
+ 0,
1197
+ [_hG, _vG, _oP],
1198
+ [() => FormStyleConfig, () => FormStyleConfig, () => FormStyleConfig],
1199
+ ];
1200
+ var FormSummary = [
1201
+ 3,
1202
+ n0,
1203
+ _FSo,
1204
+ 0,
1205
+ [_aI, _dT, _eN, _fAT, _i, _n],
1206
+ [0, () => FormDataTypeConfig, 0, 0, 0, 0],
1207
+ ];
1208
+ var GetCodegenJobRequest = [
1209
+ 3,
1210
+ n0,
1211
+ _GCJR,
1212
+ 0,
1213
+ [_aI, _eN, _i],
1214
+ [
1215
+ [0, 1],
1216
+ [0, 1],
1217
+ [0, 1],
1218
+ ],
1219
+ ];
1220
+ var GetCodegenJobResponse = [3, n0, _GCJRe, 0, [_j], [[() => CodegenJob, 16]]];
1221
+ var GetComponentRequest = [
1222
+ 3,
1223
+ n0,
1224
+ _GCR,
1225
+ 0,
1226
+ [_aI, _eN, _i],
1227
+ [
1228
+ [0, 1],
1229
+ [0, 1],
1230
+ [0, 1],
1231
+ ],
1232
+ ];
1233
+ var GetComponentResponse = [3, n0, _GCRe, 0, [_com], [[() => Component, 16]]];
1234
+ var GetFormRequest = [
1235
+ 3,
1236
+ n0,
1237
+ _GFR,
1238
+ 0,
1239
+ [_aI, _eN, _i],
1240
+ [
1241
+ [0, 1],
1242
+ [0, 1],
1243
+ [0, 1],
1244
+ ],
1245
+ ];
1246
+ var GetFormResponse = [3, n0, _GFRe, 0, [_fo], [[() => Form, 16]]];
1247
+ var GetMetadataRequest = [
1248
+ 3,
1249
+ n0,
1250
+ _GMR,
1251
+ 0,
1252
+ [_aI, _eN],
1253
+ [
1254
+ [0, 1],
1255
+ [0, 1],
1256
+ ],
1257
+ ];
1258
+ var GetMetadataResponse = [3, n0, _GMRe, 0, [_fe], [128 | 0]];
1259
+ var GetThemeRequest = [
1260
+ 3,
1261
+ n0,
1262
+ _GTR,
1263
+ 0,
1264
+ [_aI, _eN, _i],
1265
+ [
1266
+ [0, 1],
1267
+ [0, 1],
1268
+ [0, 1],
1269
+ ],
1270
+ ];
1271
+ var GetThemeResponse = [3, n0, _GTRe, 0, [_the], [[() => Theme, 16]]];
1272
+ var GraphQLRenderConfig = [
1273
+ 3,
1274
+ n0,
1275
+ _GQLRC,
1276
+ 0,
1277
+ [_tFP, _qFP, _mFP, _sFP, _fFP],
1278
+ [0, 0, 0, 0, 0],
1279
+ ];
1280
+ var InternalServerException = [
1281
+ -3,
1282
+ n0,
1283
+ _ISE,
1284
+ {
1285
+ [_er]: _se,
1286
+ [_hE]: 500,
1287
+ },
1288
+ [_me],
1289
+ [0],
1290
+ ];
1291
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
1292
+ var InvalidParameterException = [
1293
+ -3,
1294
+ n0,
1295
+ _IPE,
1296
+ {
1297
+ [_er]: _cli,
1298
+ [_hE]: 400,
1299
+ },
1300
+ [_me],
1301
+ [0],
1302
+ ];
1303
+ schema.TypeRegistry.for(n0).registerError(InvalidParameterException, InvalidParameterException$1);
1304
+ var ListCodegenJobsRequest = [
1305
+ 3,
1306
+ n0,
1307
+ _LCJR,
1308
+ 0,
1309
+ [_aI, _eN, _nT, _mR],
1310
+ [
1311
+ [0, 1],
1312
+ [0, 1],
1313
+ [
1314
+ 0,
1315
+ {
1316
+ [_hQ]: _nT,
1317
+ },
1318
+ ],
1319
+ [
1320
+ 1,
1321
+ {
1322
+ [_hQ]: _mR,
1323
+ },
1324
+ ],
1325
+ ],
1326
+ ];
1327
+ var ListCodegenJobsResponse = [
1328
+ 3,
1329
+ n0,
1330
+ _LCJRi,
1331
+ 0,
1332
+ [_ent, _nT],
1333
+ [() => CodegenJobSummaryList, 0],
1334
+ ];
1335
+ var ListComponentsRequest = [
1336
+ 3,
1337
+ n0,
1338
+ _LCR,
1339
+ 0,
1340
+ [_aI, _eN, _nT, _mR],
1341
+ [
1342
+ [0, 1],
1343
+ [0, 1],
1344
+ [
1345
+ 0,
1346
+ {
1347
+ [_hQ]: _nT,
1348
+ },
1349
+ ],
1350
+ [
1351
+ 1,
1352
+ {
1353
+ [_hQ]: _mR,
1354
+ },
1355
+ ],
1356
+ ],
1357
+ ];
1358
+ var ListComponentsResponse = [
1359
+ 3,
1360
+ n0,
1361
+ _LCRi,
1362
+ 0,
1363
+ [_ent, _nT],
1364
+ [() => ComponentSummaryList, 0],
1365
+ ];
1366
+ var ListFormsRequest = [
1367
+ 3,
1368
+ n0,
1369
+ _LFR,
1370
+ 0,
1371
+ [_aI, _eN, _nT, _mR],
1372
+ [
1373
+ [0, 1],
1374
+ [0, 1],
1375
+ [
1376
+ 0,
1377
+ {
1378
+ [_hQ]: _nT,
1379
+ },
1380
+ ],
1381
+ [
1382
+ 1,
1383
+ {
1384
+ [_hQ]: _mR,
1385
+ },
1386
+ ],
1387
+ ],
1388
+ ];
1389
+ var ListFormsResponse = [3, n0, _LFRi, 0, [_ent, _nT], [() => FormSummaryList, 0]];
1390
+ var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA], [[0, 1]]];
1391
+ var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_tag], [128 | 0]];
1392
+ var ListThemesRequest = [
1393
+ 3,
1394
+ n0,
1395
+ _LTR,
1396
+ 0,
1397
+ [_aI, _eN, _nT, _mR],
1398
+ [
1399
+ [0, 1],
1400
+ [0, 1],
1401
+ [
1402
+ 0,
1403
+ {
1404
+ [_hQ]: _nT,
1405
+ },
1406
+ ],
1407
+ [
1408
+ 1,
1409
+ {
1410
+ [_hQ]: _mR,
1411
+ },
1412
+ ],
1413
+ ],
1414
+ ];
1415
+ var ListThemesResponse = [3, n0, _LTRi, 0, [_ent, _nT], [() => ThemeSummaryList, 0]];
1416
+ var MutationActionSetStateParameter = [
1417
+ 3,
1418
+ n0,
1419
+ _MASSP,
1420
+ 0,
1421
+ [_cN, _pro, _set],
1422
+ [0, 0, () => ComponentProperty],
1423
+ ];
1424
+ var NoApiRenderConfig = [3, n0, _NARC, 0, [], []];
1425
+ var Predicate = [
1426
+ 3,
1427
+ n0,
1428
+ _P,
1429
+ 0,
1430
+ [_or, _an, _fi, _op, _ope, _oT],
1431
+ [() => PredicateList, () => PredicateList, 0, 0, 0, 0],
1432
+ ];
1433
+ var PutMetadataFlagBody = [3, n0, _PMFB, 0, [_nVe], [0]];
1434
+ var PutMetadataFlagRequest = [
1435
+ 3,
1436
+ n0,
1437
+ _PMFR,
1438
+ 0,
1439
+ [_aI, _eN, _fN, _bo],
1440
+ [
1441
+ [0, 1],
1442
+ [0, 1],
1443
+ [0, 1],
1444
+ [() => PutMetadataFlagBody, 16],
1445
+ ],
1446
+ ];
1447
+ var ReactStartCodegenJobData = [
1448
+ 3,
1449
+ n0,
1450
+ _RSCJD,
1451
+ 0,
1452
+ [_mod, _ta, _sc, _rTD, _iSM, _aC, _d],
1453
+ [0, 0, 0, 2, 2, () => ApiConfiguration, 128 | 0],
1454
+ ];
1455
+ var RefreshTokenRequest = [
1456
+ 3,
1457
+ n0,
1458
+ _RTR,
1459
+ 0,
1460
+ [_prov, _rTB],
1461
+ [
1462
+ [0, 1],
1463
+ [() => RefreshTokenRequestBody, 16],
1464
+ ],
1465
+ ];
1466
+ var RefreshTokenRequestBody = [
1467
+ 3,
1468
+ n0,
1469
+ _RTRB,
1470
+ 0,
1471
+ [_to, _cI],
1472
+ [
1473
+ [() => SensitiveString, 0],
1474
+ [() => SensitiveString, 0],
1475
+ ],
1476
+ ];
1477
+ var RefreshTokenResponse = [3, n0, _RTRe, 0, [_aT, _eI], [[() => SensitiveString, 0], 1]];
1478
+ var ResourceConflictException = [
1479
+ -3,
1480
+ n0,
1481
+ _RCE,
1482
+ {
1483
+ [_er]: _cli,
1484
+ [_hE]: 409,
1485
+ },
1486
+ [_me],
1487
+ [0],
1488
+ ];
1489
+ schema.TypeRegistry.for(n0).registerError(ResourceConflictException, ResourceConflictException$1);
1490
+ var ResourceNotFoundException = [
1491
+ -3,
1492
+ n0,
1493
+ _RNFE,
1494
+ {
1495
+ [_er]: _cli,
1496
+ [_hE]: 404,
1497
+ },
1498
+ [_me],
1499
+ [0],
1500
+ ];
1501
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
1502
+ var SectionalElement = [
1503
+ 3,
1504
+ n0,
1505
+ _SE,
1506
+ 0,
1507
+ [_t, _po, _te, _le, _ori, _ex],
1508
+ [0, () => FieldPosition, 0, 1, 0, 2],
1509
+ ];
1510
+ var ServiceQuotaExceededException = [
1511
+ -3,
1512
+ n0,
1513
+ _SQEE,
1514
+ {
1515
+ [_er]: _cli,
1516
+ [_hE]: 402,
1517
+ },
1518
+ [_me],
1519
+ [0],
1520
+ ];
1521
+ schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
1522
+ var SortProperty = [3, n0, _SP, 0, [_fi, _di], [0, 0]];
1523
+ var StartCodegenJobData = [
1524
+ 3,
1525
+ n0,
1526
+ _SCJD,
1527
+ 0,
1528
+ [_rC, _gDS, _aGF, _fe, _tag],
1529
+ [() => CodegenJobRenderConfig, () => CodegenJobGenericDataSchema, 2, () => CodegenFeatureFlags, 128 | 0],
1530
+ ];
1531
+ var StartCodegenJobRequest = [
1532
+ 3,
1533
+ n0,
1534
+ _SCJR,
1535
+ 0,
1536
+ [_aI, _eN, _cTl, _cJTC],
1537
+ [
1538
+ [0, 1],
1539
+ [0, 1],
1540
+ [
1541
+ 0,
1542
+ {
1543
+ [_iT]: 1,
1544
+ [_hQ]: _cTl,
1545
+ },
1546
+ ],
1547
+ [() => StartCodegenJobData, 16],
1548
+ ],
1549
+ ];
1550
+ var StartCodegenJobResponse = [3, n0, _SCJRt, 0, [_en], [[() => CodegenJob, 16]]];
1551
+ var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _tag], [[0, 1], 128 | 0]];
1552
+ var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
1553
+ var Theme = [
1554
+ 3,
1555
+ n0,
1556
+ _T,
1557
+ 0,
1558
+ [_aI, _eN, _i, _n, _cA, _mA, _v, _o, _tag],
1559
+ [0, 0, 0, 0, 5, 5, () => ThemeValuesList, () => ThemeValuesList, 128 | 0],
1560
+ ];
1561
+ var ThemeSummary = [3, n0, _TS, 0, [_aI, _eN, _i, _n], [0, 0, 0, 0]];
1562
+ var ThemeValue = [3, n0, _TV, 0, [_val, _c], [0, () => ThemeValuesList]];
1563
+ var ThemeValues = [3, n0, _TVh, 0, [_k, _val], [0, () => ThemeValue]];
1564
+ var ThrottlingException = [
1565
+ -3,
1566
+ n0,
1567
+ _TE,
1568
+ {
1569
+ [_er]: _cli,
1570
+ [_hE]: 429,
1571
+ },
1572
+ [_me],
1573
+ [0],
1574
+ ];
1575
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
1576
+ var UnauthorizedException = [
1577
+ -3,
1578
+ n0,
1579
+ _UE,
1580
+ {
1581
+ [_er]: _cli,
1582
+ [_hE]: 401,
1583
+ },
1584
+ [_me],
1585
+ [0],
1586
+ ];
1587
+ schema.TypeRegistry.for(n0).registerError(UnauthorizedException, UnauthorizedException$1);
1588
+ var UntagResourceRequest = [
1589
+ 3,
1590
+ n0,
1591
+ _URR,
1592
+ 0,
1593
+ [_rA, _tK],
1594
+ [
1595
+ [0, 1],
1596
+ [
1597
+ 64 | 0,
1598
+ {
1599
+ [_hQ]: _tK,
1600
+ },
1601
+ ],
1602
+ ],
1603
+ ];
1604
+ var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
1605
+ var UpdateComponentData = [
1606
+ 3,
1607
+ n0,
1608
+ _UCD,
1609
+ 0,
1610
+ [_i, _n, _sI, _cT, _p, _c, _va, _o, _bP, _cP, _ev, _sVc],
1611
+ [
1612
+ 0,
1613
+ 0,
1614
+ 0,
1615
+ 0,
1616
+ () => ComponentProperties,
1617
+ () => ComponentChildList,
1618
+ () => ComponentVariants,
1619
+ [2, n0, _CO, 0, 0, 128 | 0],
1620
+ () => ComponentBindingProperties,
1621
+ () => ComponentCollectionProperties,
1622
+ () => ComponentEvents,
1623
+ 0,
1624
+ ],
1625
+ ];
1626
+ var UpdateComponentRequest = [
1627
+ 3,
1628
+ n0,
1629
+ _UCR,
1630
+ 0,
1631
+ [_aI, _eN, _i, _cTl, _uC],
1632
+ [
1633
+ [0, 1],
1634
+ [0, 1],
1635
+ [0, 1],
1636
+ [
1637
+ 0,
1638
+ {
1639
+ [_iT]: 1,
1640
+ [_hQ]: _cTl,
1641
+ },
1642
+ ],
1643
+ [() => UpdateComponentData, 16],
1644
+ ],
1645
+ ];
1646
+ var UpdateComponentResponse = [3, n0, _UCRp, 0, [_en], [[() => Component, 16]]];
1647
+ var UpdateFormData = [
1648
+ 3,
1649
+ n0,
1650
+ _UFD,
1651
+ 0,
1652
+ [_n, _dT, _fAT, _f, _sty, _sE, _sVc, _ct, _lD],
1653
+ [0, () => FormDataTypeConfig, 0, () => FieldsMap, () => FormStyle, () => SectionalElementMap, 0, () => FormCTA, 0],
1654
+ ];
1655
+ var UpdateFormRequest = [
1656
+ 3,
1657
+ n0,
1658
+ _UFR,
1659
+ 0,
1660
+ [_aI, _eN, _i, _cTl, _uF],
1661
+ [
1662
+ [0, 1],
1663
+ [0, 1],
1664
+ [0, 1],
1665
+ [
1666
+ 0,
1667
+ {
1668
+ [_iT]: 1,
1669
+ [_hQ]: _cTl,
1670
+ },
1671
+ ],
1672
+ [() => UpdateFormData, 16],
1673
+ ],
1674
+ ];
1675
+ var UpdateFormResponse = [3, n0, _UFRp, 0, [_en], [[() => Form, 16]]];
1676
+ var UpdateThemeData = [
1677
+ 3,
1678
+ n0,
1679
+ _UTD,
1680
+ 0,
1681
+ [_i, _n, _v, _o],
1682
+ [0, 0, () => ThemeValuesList, () => ThemeValuesList],
1683
+ ];
1684
+ var UpdateThemeRequest = [
1685
+ 3,
1686
+ n0,
1687
+ _UTR,
1688
+ 0,
1689
+ [_aI, _eN, _i, _cTl, _uT],
1690
+ [
1691
+ [0, 1],
1692
+ [0, 1],
1693
+ [0, 1],
1694
+ [
1695
+ 0,
1696
+ {
1697
+ [_iT]: 1,
1698
+ [_hQ]: _cTl,
1699
+ },
1700
+ ],
1701
+ [() => UpdateThemeData, 16],
1702
+ ],
1703
+ ];
1704
+ var UpdateThemeResponse = [3, n0, _UTRp, 0, [_en], [[() => Theme, 16]]];
1705
+ var ValueMapping = [
1706
+ 3,
1707
+ n0,
1708
+ _VM,
1709
+ 0,
1710
+ [_dVi, _val],
1711
+ [() => FormInputValueProperty, () => FormInputValueProperty],
1712
+ ];
1713
+ var ValueMappings = [
1714
+ 3,
1715
+ n0,
1716
+ _VMa,
1717
+ 0,
1718
+ [_v, _bP],
1719
+ [() => ValueMappingList, () => FormInputBindingProperties],
1720
+ ];
1721
+ var __Unit = "unit";
1722
+ var AmplifyUIBuilderServiceException = [
1723
+ -3,
1724
+ _sm,
1725
+ "AmplifyUIBuilderServiceException",
1726
+ 0,
1727
+ [],
1728
+ [],
1729
+ ];
1730
+ schema.TypeRegistry.for(_sm).registerError(AmplifyUIBuilderServiceException, AmplifyUIBuilderServiceException$1);
1731
+ var CodegenDependencies = [1, n0, _CDo, 0, () => CodegenDependency];
1732
+ var CodegenJobSummaryList = [1, n0, _CJSL, 0, () => CodegenJobSummary];
1733
+ var ComponentChildList = [1, n0, _CCL, 0, () => ComponentChild];
1734
+ var ComponentList = [1, n0, _CL, 0, () => Component];
1735
+ var ComponentPropertyList = [1, n0, _CPL, 0, () => ComponentProperty];
1736
+ var ComponentSummaryList = [1, n0, _CSL, 0, () => ComponentSummary];
1737
+ var ComponentVariants = [1, n0, _CVo, 0, () => ComponentVariant];
1738
+ var FormInputValuePropertyList = [1, n0, _FIVPL, 0, () => FormInputValueProperty];
1739
+ var FormList = [1, n0, _FL, 0, () => Form];
1740
+ var FormSummaryList = [1, n0, _FSL, 0, () => FormSummary];
1741
+ var PredicateList = [1, n0, _PL, 0, () => Predicate];
1742
+ var SortPropertyList = [1, n0, _SPL, 0, () => SortProperty];
1743
+ var ThemeList = [1, n0, _TL, 0, () => Theme];
1744
+ var ThemeSummaryList = [1, n0, _TSL, 0, () => ThemeSummary];
1745
+ var ThemeValuesList = [1, n0, _TVL, 0, () => ThemeValues];
1746
+ var ValidationsList = [1, n0, _VL, 0, () => FieldValidationConfiguration];
1747
+ var ValueMappingList = [1, n0, _VML, 0, () => ValueMapping];
1748
+ var CodegenGenericDataEnums = [2, n0, _CGDEo, 0, 0, () => CodegenGenericDataEnum];
1749
+ var CodegenGenericDataFields = [2, n0, _CGDFo, 0, 0, () => CodegenGenericDataField];
1750
+ var CodegenGenericDataModels = [2, n0, _CGDMo, 0, 0, () => CodegenGenericDataModel];
1751
+ var CodegenGenericDataNonModelFields = [2, n0, _CGDNMF, 0, 0, () => CodegenGenericDataField];
1752
+ var CodegenGenericDataNonModels = [2, n0, _CGDNMo, 0, 0, () => CodegenGenericDataNonModel];
1753
+ var ComponentBindingProperties = [2, n0, _CBP, 0, 0, () => ComponentBindingPropertiesValue];
1754
+ var ComponentCollectionProperties = [2, n0, _CCPo, 0, 0, () => ComponentDataConfiguration];
1755
+ var ComponentEvents = [2, n0, _CEo, 0, 0, () => ComponentEvent];
1756
+ var ComponentProperties = [2, n0, _CPo, 0, 0, () => ComponentProperty];
1757
+ var FieldsMap = [2, n0, _FM, 0, 0, () => FieldConfig];
1758
+ var FormBindings = [2, n0, _FBo, 0, 0, () => FormBindingElement];
1759
+ var FormInputBindingProperties = [2, n0, _FIBP, 0, 0, () => FormInputBindingPropertiesValue];
1760
+ var SectionalElementMap = [2, n0, _SEM, 0, 0, () => SectionalElement];
1761
+ var ApiConfiguration = [
1762
+ 3,
1763
+ n0,
1764
+ _AC,
1765
+ 0,
1766
+ [_gQLC, _dSC, _nAC],
1767
+ [() => GraphQLRenderConfig, () => DataStoreRenderConfig, () => NoApiRenderConfig],
1768
+ ];
1769
+ var CodegenJobRenderConfig = [3, n0, _CJRC, 0, [_rea], [() => ReactStartCodegenJobData]];
1770
+ var FieldPosition = [3, n0, _FP, 0, [_fix, _rOi, _be], [0, 0, 0]];
1771
+ var FormStyleConfig = [3, n0, _FSC, 0, [_tR, _val], [0, 0]];
1772
+ var CreateComponent = [
1773
+ 9,
1774
+ n0,
1775
+ _CCr,
1776
+ {
1777
+ [_h]: ["POST", "/app/{appId}/environment/{environmentName}/components", 200],
1778
+ },
1779
+ () => CreateComponentRequest,
1780
+ () => CreateComponentResponse,
1781
+ ];
1782
+ var CreateForm = [
1783
+ 9,
1784
+ n0,
1785
+ _CF,
1786
+ {
1787
+ [_h]: ["POST", "/app/{appId}/environment/{environmentName}/forms", 200],
1788
+ },
1789
+ () => CreateFormRequest,
1790
+ () => CreateFormResponse,
1791
+ ];
1792
+ var CreateTheme = [
1793
+ 9,
1794
+ n0,
1795
+ _CT,
1796
+ {
1797
+ [_h]: ["POST", "/app/{appId}/environment/{environmentName}/themes", 200],
1798
+ },
1799
+ () => CreateThemeRequest,
1800
+ () => CreateThemeResponse,
1801
+ ];
1802
+ var DeleteComponent = [
1803
+ 9,
1804
+ n0,
1805
+ _DC,
1806
+ {
1807
+ [_h]: ["DELETE", "/app/{appId}/environment/{environmentName}/components/{id}", 200],
1808
+ },
1809
+ () => DeleteComponentRequest,
1810
+ () => __Unit,
1811
+ ];
1812
+ var DeleteForm = [
1813
+ 9,
1814
+ n0,
1815
+ _DF,
1816
+ {
1817
+ [_h]: ["DELETE", "/app/{appId}/environment/{environmentName}/forms/{id}", 200],
1818
+ },
1819
+ () => DeleteFormRequest,
1820
+ () => __Unit,
1821
+ ];
1822
+ var DeleteTheme = [
1823
+ 9,
1824
+ n0,
1825
+ _DT,
1826
+ {
1827
+ [_h]: ["DELETE", "/app/{appId}/environment/{environmentName}/themes/{id}", 200],
1828
+ },
1829
+ () => DeleteThemeRequest,
1830
+ () => __Unit,
1831
+ ];
1832
+ var ExchangeCodeForToken = [
1833
+ 9,
1834
+ n0,
1835
+ _ECFT,
1836
+ {
1837
+ [_h]: ["POST", "/tokens/{provider}", 200],
1838
+ },
1839
+ () => ExchangeCodeForTokenRequest,
1840
+ () => ExchangeCodeForTokenResponse,
1841
+ ];
1842
+ var ExportComponents = [
1843
+ 9,
1844
+ n0,
1845
+ _EC,
1846
+ {
1847
+ [_h]: ["GET", "/export/app/{appId}/environment/{environmentName}/components", 200],
1848
+ },
1849
+ () => ExportComponentsRequest,
1850
+ () => ExportComponentsResponse,
1851
+ ];
1852
+ var ExportForms = [
1853
+ 9,
1854
+ n0,
1855
+ _EF,
1856
+ {
1857
+ [_h]: ["GET", "/export/app/{appId}/environment/{environmentName}/forms", 200],
1858
+ },
1859
+ () => ExportFormsRequest,
1860
+ () => ExportFormsResponse,
1861
+ ];
1862
+ var ExportThemes = [
1863
+ 9,
1864
+ n0,
1865
+ _ET,
1866
+ {
1867
+ [_h]: ["GET", "/export/app/{appId}/environment/{environmentName}/themes", 200],
1868
+ },
1869
+ () => ExportThemesRequest,
1870
+ () => ExportThemesResponse,
1871
+ ];
1872
+ var GetCodegenJob = [
1873
+ 9,
1874
+ n0,
1875
+ _GCJ,
1876
+ {
1877
+ [_h]: ["GET", "/app/{appId}/environment/{environmentName}/codegen-jobs/{id}", 200],
1878
+ },
1879
+ () => GetCodegenJobRequest,
1880
+ () => GetCodegenJobResponse,
1881
+ ];
1882
+ var GetComponent = [
1883
+ 9,
1884
+ n0,
1885
+ _GC,
1886
+ {
1887
+ [_h]: ["GET", "/app/{appId}/environment/{environmentName}/components/{id}", 200],
1888
+ },
1889
+ () => GetComponentRequest,
1890
+ () => GetComponentResponse,
1891
+ ];
1892
+ var GetForm = [
1893
+ 9,
1894
+ n0,
1895
+ _GF,
1896
+ {
1897
+ [_h]: ["GET", "/app/{appId}/environment/{environmentName}/forms/{id}", 200],
1898
+ },
1899
+ () => GetFormRequest,
1900
+ () => GetFormResponse,
1901
+ ];
1902
+ var GetMetadata = [
1903
+ 9,
1904
+ n0,
1905
+ _GM,
1906
+ {
1907
+ [_h]: ["GET", "/app/{appId}/environment/{environmentName}/metadata", 200],
1908
+ },
1909
+ () => GetMetadataRequest,
1910
+ () => GetMetadataResponse,
1911
+ ];
1912
+ var GetTheme = [
1913
+ 9,
1914
+ n0,
1915
+ _GT,
1916
+ {
1917
+ [_h]: ["GET", "/app/{appId}/environment/{environmentName}/themes/{id}", 200],
1918
+ },
1919
+ () => GetThemeRequest,
1920
+ () => GetThemeResponse,
1921
+ ];
1922
+ var ListCodegenJobs = [
1923
+ 9,
1924
+ n0,
1925
+ _LCJ,
1926
+ {
1927
+ [_h]: ["GET", "/app/{appId}/environment/{environmentName}/codegen-jobs", 200],
1928
+ },
1929
+ () => ListCodegenJobsRequest,
1930
+ () => ListCodegenJobsResponse,
1931
+ ];
1932
+ var ListComponents = [
1933
+ 9,
1934
+ n0,
1935
+ _LC,
1936
+ {
1937
+ [_h]: ["GET", "/app/{appId}/environment/{environmentName}/components", 200],
1938
+ },
1939
+ () => ListComponentsRequest,
1940
+ () => ListComponentsResponse,
1941
+ ];
1942
+ var ListForms = [
1943
+ 9,
1944
+ n0,
1945
+ _LF,
1946
+ {
1947
+ [_h]: ["GET", "/app/{appId}/environment/{environmentName}/forms", 200],
1948
+ },
1949
+ () => ListFormsRequest,
1950
+ () => ListFormsResponse,
1951
+ ];
1952
+ var ListTagsForResource = [
1953
+ 9,
1954
+ n0,
1955
+ _LTFR,
1956
+ {
1957
+ [_h]: ["GET", "/tags/{resourceArn}", 200],
1958
+ },
1959
+ () => ListTagsForResourceRequest,
1960
+ () => ListTagsForResourceResponse,
1961
+ ];
1962
+ var ListThemes = [
1963
+ 9,
1964
+ n0,
1965
+ _LT,
1966
+ {
1967
+ [_h]: ["GET", "/app/{appId}/environment/{environmentName}/themes", 200],
1968
+ },
1969
+ () => ListThemesRequest,
1970
+ () => ListThemesResponse,
1971
+ ];
1972
+ var PutMetadataFlag = [
1973
+ 9,
1974
+ n0,
1975
+ _PMF,
1976
+ {
1977
+ [_h]: ["PUT", "/app/{appId}/environment/{environmentName}/metadata/features/{featureName}", 200],
1978
+ },
1979
+ () => PutMetadataFlagRequest,
1980
+ () => __Unit,
1981
+ ];
1982
+ var RefreshToken = [
1983
+ 9,
1984
+ n0,
1985
+ _RT,
1986
+ {
1987
+ [_h]: ["POST", "/tokens/{provider}/refresh", 200],
1988
+ },
1989
+ () => RefreshTokenRequest,
1990
+ () => RefreshTokenResponse,
1991
+ ];
1992
+ var StartCodegenJob = [
1993
+ 9,
1994
+ n0,
1995
+ _SCJ,
1996
+ {
1997
+ [_h]: ["POST", "/app/{appId}/environment/{environmentName}/codegen-jobs", 200],
1998
+ },
1999
+ () => StartCodegenJobRequest,
2000
+ () => StartCodegenJobResponse,
2001
+ ];
2002
+ var TagResource = [
2003
+ 9,
2004
+ n0,
2005
+ _TR,
2006
+ {
2007
+ [_h]: ["POST", "/tags/{resourceArn}", 200],
2008
+ },
2009
+ () => TagResourceRequest,
2010
+ () => TagResourceResponse,
2011
+ ];
2012
+ var UntagResource = [
2013
+ 9,
2014
+ n0,
2015
+ _UR,
2016
+ {
2017
+ [_h]: ["DELETE", "/tags/{resourceArn}", 200],
2018
+ },
2019
+ () => UntagResourceRequest,
2020
+ () => UntagResourceResponse,
2021
+ ];
2022
+ var UpdateComponent = [
2023
+ 9,
2024
+ n0,
2025
+ _UC,
2026
+ {
2027
+ [_h]: ["PATCH", "/app/{appId}/environment/{environmentName}/components/{id}", 200],
2028
+ },
2029
+ () => UpdateComponentRequest,
2030
+ () => UpdateComponentResponse,
2031
+ ];
2032
+ var UpdateForm = [
2033
+ 9,
2034
+ n0,
2035
+ _UF,
2036
+ {
2037
+ [_h]: ["PATCH", "/app/{appId}/environment/{environmentName}/forms/{id}", 200],
2038
+ },
2039
+ () => UpdateFormRequest,
2040
+ () => UpdateFormResponse,
2041
+ ];
2042
+ var UpdateTheme = [
2043
+ 9,
2044
+ n0,
2045
+ _UT,
2046
+ {
2047
+ [_h]: ["PATCH", "/app/{appId}/environment/{environmentName}/themes/{id}", 200],
2048
+ },
2049
+ () => UpdateThemeRequest,
2050
+ () => UpdateThemeResponse,
2051
+ ];
1960
2052
 
1961
2053
  class CreateComponentCommand extends smithyClient.Command
1962
2054
  .classBuilder()
1963
2055
  .ep(commonParams)
1964
2056
  .m(function (Command, cs, config, o) {
1965
- return [
1966
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1967
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1968
- ];
2057
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1969
2058
  })
1970
2059
  .s("AmplifyUIBuilder", "CreateComponent", {})
1971
2060
  .n("AmplifyUIBuilderClient", "CreateComponentCommand")
1972
- .f(void 0, void 0)
1973
- .ser(se_CreateComponentCommand)
1974
- .de(de_CreateComponentCommand)
2061
+ .sc(CreateComponent)
1975
2062
  .build() {
1976
2063
  }
1977
2064
 
@@ -1979,16 +2066,11 @@ class CreateFormCommand extends smithyClient.Command
1979
2066
  .classBuilder()
1980
2067
  .ep(commonParams)
1981
2068
  .m(function (Command, cs, config, o) {
1982
- return [
1983
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1984
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1985
- ];
2069
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1986
2070
  })
1987
2071
  .s("AmplifyUIBuilder", "CreateForm", {})
1988
2072
  .n("AmplifyUIBuilderClient", "CreateFormCommand")
1989
- .f(void 0, void 0)
1990
- .ser(se_CreateFormCommand)
1991
- .de(de_CreateFormCommand)
2073
+ .sc(CreateForm)
1992
2074
  .build() {
1993
2075
  }
1994
2076
 
@@ -1996,16 +2078,11 @@ class CreateThemeCommand extends smithyClient.Command
1996
2078
  .classBuilder()
1997
2079
  .ep(commonParams)
1998
2080
  .m(function (Command, cs, config, o) {
1999
- return [
2000
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2001
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2002
- ];
2081
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2003
2082
  })
2004
2083
  .s("AmplifyUIBuilder", "CreateTheme", {})
2005
2084
  .n("AmplifyUIBuilderClient", "CreateThemeCommand")
2006
- .f(void 0, void 0)
2007
- .ser(se_CreateThemeCommand)
2008
- .de(de_CreateThemeCommand)
2085
+ .sc(CreateTheme)
2009
2086
  .build() {
2010
2087
  }
2011
2088
 
@@ -2013,16 +2090,11 @@ class DeleteComponentCommand extends smithyClient.Command
2013
2090
  .classBuilder()
2014
2091
  .ep(commonParams)
2015
2092
  .m(function (Command, cs, config, o) {
2016
- return [
2017
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2018
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2019
- ];
2093
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2020
2094
  })
2021
2095
  .s("AmplifyUIBuilder", "DeleteComponent", {})
2022
2096
  .n("AmplifyUIBuilderClient", "DeleteComponentCommand")
2023
- .f(void 0, void 0)
2024
- .ser(se_DeleteComponentCommand)
2025
- .de(de_DeleteComponentCommand)
2097
+ .sc(DeleteComponent)
2026
2098
  .build() {
2027
2099
  }
2028
2100
 
@@ -2030,16 +2102,11 @@ class DeleteFormCommand extends smithyClient.Command
2030
2102
  .classBuilder()
2031
2103
  .ep(commonParams)
2032
2104
  .m(function (Command, cs, config, o) {
2033
- return [
2034
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2035
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2036
- ];
2105
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2037
2106
  })
2038
2107
  .s("AmplifyUIBuilder", "DeleteForm", {})
2039
2108
  .n("AmplifyUIBuilderClient", "DeleteFormCommand")
2040
- .f(void 0, void 0)
2041
- .ser(se_DeleteFormCommand)
2042
- .de(de_DeleteFormCommand)
2109
+ .sc(DeleteForm)
2043
2110
  .build() {
2044
2111
  }
2045
2112
 
@@ -2047,16 +2114,11 @@ class DeleteThemeCommand extends smithyClient.Command
2047
2114
  .classBuilder()
2048
2115
  .ep(commonParams)
2049
2116
  .m(function (Command, cs, config, o) {
2050
- return [
2051
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2052
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2053
- ];
2117
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2054
2118
  })
2055
2119
  .s("AmplifyUIBuilder", "DeleteTheme", {})
2056
2120
  .n("AmplifyUIBuilderClient", "DeleteThemeCommand")
2057
- .f(void 0, void 0)
2058
- .ser(se_DeleteThemeCommand)
2059
- .de(de_DeleteThemeCommand)
2121
+ .sc(DeleteTheme)
2060
2122
  .build() {
2061
2123
  }
2062
2124
 
@@ -2064,16 +2126,11 @@ class ExchangeCodeForTokenCommand extends smithyClient.Command
2064
2126
  .classBuilder()
2065
2127
  .ep(commonParams)
2066
2128
  .m(function (Command, cs, config, o) {
2067
- return [
2068
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2069
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2070
- ];
2129
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2071
2130
  })
2072
2131
  .s("AmplifyUIBuilder", "ExchangeCodeForToken", {})
2073
2132
  .n("AmplifyUIBuilderClient", "ExchangeCodeForTokenCommand")
2074
- .f(ExchangeCodeForTokenRequestFilterSensitiveLog, ExchangeCodeForTokenResponseFilterSensitiveLog)
2075
- .ser(se_ExchangeCodeForTokenCommand)
2076
- .de(de_ExchangeCodeForTokenCommand)
2133
+ .sc(ExchangeCodeForToken)
2077
2134
  .build() {
2078
2135
  }
2079
2136
 
@@ -2081,16 +2138,11 @@ class ExportComponentsCommand extends smithyClient.Command
2081
2138
  .classBuilder()
2082
2139
  .ep(commonParams)
2083
2140
  .m(function (Command, cs, config, o) {
2084
- return [
2085
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2086
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2087
- ];
2141
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2088
2142
  })
2089
2143
  .s("AmplifyUIBuilder", "ExportComponents", {})
2090
2144
  .n("AmplifyUIBuilderClient", "ExportComponentsCommand")
2091
- .f(void 0, void 0)
2092
- .ser(se_ExportComponentsCommand)
2093
- .de(de_ExportComponentsCommand)
2145
+ .sc(ExportComponents)
2094
2146
  .build() {
2095
2147
  }
2096
2148
 
@@ -2098,16 +2150,11 @@ class ExportFormsCommand extends smithyClient.Command
2098
2150
  .classBuilder()
2099
2151
  .ep(commonParams)
2100
2152
  .m(function (Command, cs, config, o) {
2101
- return [
2102
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2103
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2104
- ];
2153
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2105
2154
  })
2106
2155
  .s("AmplifyUIBuilder", "ExportForms", {})
2107
2156
  .n("AmplifyUIBuilderClient", "ExportFormsCommand")
2108
- .f(void 0, void 0)
2109
- .ser(se_ExportFormsCommand)
2110
- .de(de_ExportFormsCommand)
2157
+ .sc(ExportForms)
2111
2158
  .build() {
2112
2159
  }
2113
2160
 
@@ -2115,16 +2162,11 @@ class ExportThemesCommand extends smithyClient.Command
2115
2162
  .classBuilder()
2116
2163
  .ep(commonParams)
2117
2164
  .m(function (Command, cs, config, o) {
2118
- return [
2119
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2120
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2121
- ];
2165
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2122
2166
  })
2123
2167
  .s("AmplifyUIBuilder", "ExportThemes", {})
2124
2168
  .n("AmplifyUIBuilderClient", "ExportThemesCommand")
2125
- .f(void 0, void 0)
2126
- .ser(se_ExportThemesCommand)
2127
- .de(de_ExportThemesCommand)
2169
+ .sc(ExportThemes)
2128
2170
  .build() {
2129
2171
  }
2130
2172
 
@@ -2132,16 +2174,11 @@ class GetCodegenJobCommand extends smithyClient.Command
2132
2174
  .classBuilder()
2133
2175
  .ep(commonParams)
2134
2176
  .m(function (Command, cs, config, o) {
2135
- return [
2136
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2137
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2138
- ];
2177
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2139
2178
  })
2140
2179
  .s("AmplifyUIBuilder", "GetCodegenJob", {})
2141
2180
  .n("AmplifyUIBuilderClient", "GetCodegenJobCommand")
2142
- .f(void 0, void 0)
2143
- .ser(se_GetCodegenJobCommand)
2144
- .de(de_GetCodegenJobCommand)
2181
+ .sc(GetCodegenJob)
2145
2182
  .build() {
2146
2183
  }
2147
2184
 
@@ -2149,16 +2186,11 @@ class GetComponentCommand extends smithyClient.Command
2149
2186
  .classBuilder()
2150
2187
  .ep(commonParams)
2151
2188
  .m(function (Command, cs, config, o) {
2152
- return [
2153
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2154
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2155
- ];
2189
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2156
2190
  })
2157
2191
  .s("AmplifyUIBuilder", "GetComponent", {})
2158
2192
  .n("AmplifyUIBuilderClient", "GetComponentCommand")
2159
- .f(void 0, void 0)
2160
- .ser(se_GetComponentCommand)
2161
- .de(de_GetComponentCommand)
2193
+ .sc(GetComponent)
2162
2194
  .build() {
2163
2195
  }
2164
2196
 
@@ -2166,16 +2198,11 @@ class GetFormCommand extends smithyClient.Command
2166
2198
  .classBuilder()
2167
2199
  .ep(commonParams)
2168
2200
  .m(function (Command, cs, config, o) {
2169
- return [
2170
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2171
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2172
- ];
2201
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2173
2202
  })
2174
2203
  .s("AmplifyUIBuilder", "GetForm", {})
2175
2204
  .n("AmplifyUIBuilderClient", "GetFormCommand")
2176
- .f(void 0, void 0)
2177
- .ser(se_GetFormCommand)
2178
- .de(de_GetFormCommand)
2205
+ .sc(GetForm)
2179
2206
  .build() {
2180
2207
  }
2181
2208
 
@@ -2183,16 +2210,11 @@ class GetMetadataCommand extends smithyClient.Command
2183
2210
  .classBuilder()
2184
2211
  .ep(commonParams)
2185
2212
  .m(function (Command, cs, config, o) {
2186
- return [
2187
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2188
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2189
- ];
2213
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2190
2214
  })
2191
2215
  .s("AmplifyUIBuilder", "GetMetadata", {})
2192
2216
  .n("AmplifyUIBuilderClient", "GetMetadataCommand")
2193
- .f(void 0, void 0)
2194
- .ser(se_GetMetadataCommand)
2195
- .de(de_GetMetadataCommand)
2217
+ .sc(GetMetadata)
2196
2218
  .build() {
2197
2219
  }
2198
2220
 
@@ -2200,16 +2222,11 @@ class GetThemeCommand extends smithyClient.Command
2200
2222
  .classBuilder()
2201
2223
  .ep(commonParams)
2202
2224
  .m(function (Command, cs, config, o) {
2203
- return [
2204
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2205
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2206
- ];
2225
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2207
2226
  })
2208
2227
  .s("AmplifyUIBuilder", "GetTheme", {})
2209
2228
  .n("AmplifyUIBuilderClient", "GetThemeCommand")
2210
- .f(void 0, void 0)
2211
- .ser(se_GetThemeCommand)
2212
- .de(de_GetThemeCommand)
2229
+ .sc(GetTheme)
2213
2230
  .build() {
2214
2231
  }
2215
2232
 
@@ -2217,16 +2234,11 @@ class ListCodegenJobsCommand extends smithyClient.Command
2217
2234
  .classBuilder()
2218
2235
  .ep(commonParams)
2219
2236
  .m(function (Command, cs, config, o) {
2220
- return [
2221
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2222
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2223
- ];
2237
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2224
2238
  })
2225
2239
  .s("AmplifyUIBuilder", "ListCodegenJobs", {})
2226
2240
  .n("AmplifyUIBuilderClient", "ListCodegenJobsCommand")
2227
- .f(void 0, void 0)
2228
- .ser(se_ListCodegenJobsCommand)
2229
- .de(de_ListCodegenJobsCommand)
2241
+ .sc(ListCodegenJobs)
2230
2242
  .build() {
2231
2243
  }
2232
2244
 
@@ -2234,16 +2246,11 @@ class ListComponentsCommand extends smithyClient.Command
2234
2246
  .classBuilder()
2235
2247
  .ep(commonParams)
2236
2248
  .m(function (Command, cs, config, o) {
2237
- return [
2238
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2239
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2240
- ];
2249
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2241
2250
  })
2242
2251
  .s("AmplifyUIBuilder", "ListComponents", {})
2243
2252
  .n("AmplifyUIBuilderClient", "ListComponentsCommand")
2244
- .f(void 0, void 0)
2245
- .ser(se_ListComponentsCommand)
2246
- .de(de_ListComponentsCommand)
2253
+ .sc(ListComponents)
2247
2254
  .build() {
2248
2255
  }
2249
2256
 
@@ -2251,16 +2258,11 @@ class ListFormsCommand extends smithyClient.Command
2251
2258
  .classBuilder()
2252
2259
  .ep(commonParams)
2253
2260
  .m(function (Command, cs, config, o) {
2254
- return [
2255
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2256
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2257
- ];
2261
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2258
2262
  })
2259
2263
  .s("AmplifyUIBuilder", "ListForms", {})
2260
2264
  .n("AmplifyUIBuilderClient", "ListFormsCommand")
2261
- .f(void 0, void 0)
2262
- .ser(se_ListFormsCommand)
2263
- .de(de_ListFormsCommand)
2265
+ .sc(ListForms)
2264
2266
  .build() {
2265
2267
  }
2266
2268
 
@@ -2268,16 +2270,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
2268
2270
  .classBuilder()
2269
2271
  .ep(commonParams)
2270
2272
  .m(function (Command, cs, config, o) {
2271
- return [
2272
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2273
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2274
- ];
2273
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2275
2274
  })
2276
2275
  .s("AmplifyUIBuilder", "ListTagsForResource", {})
2277
2276
  .n("AmplifyUIBuilderClient", "ListTagsForResourceCommand")
2278
- .f(void 0, void 0)
2279
- .ser(se_ListTagsForResourceCommand)
2280
- .de(de_ListTagsForResourceCommand)
2277
+ .sc(ListTagsForResource)
2281
2278
  .build() {
2282
2279
  }
2283
2280
 
@@ -2285,16 +2282,11 @@ class ListThemesCommand extends smithyClient.Command
2285
2282
  .classBuilder()
2286
2283
  .ep(commonParams)
2287
2284
  .m(function (Command, cs, config, o) {
2288
- return [
2289
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2290
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2291
- ];
2285
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2292
2286
  })
2293
2287
  .s("AmplifyUIBuilder", "ListThemes", {})
2294
2288
  .n("AmplifyUIBuilderClient", "ListThemesCommand")
2295
- .f(void 0, void 0)
2296
- .ser(se_ListThemesCommand)
2297
- .de(de_ListThemesCommand)
2289
+ .sc(ListThemes)
2298
2290
  .build() {
2299
2291
  }
2300
2292
 
@@ -2302,16 +2294,11 @@ class PutMetadataFlagCommand extends smithyClient.Command
2302
2294
  .classBuilder()
2303
2295
  .ep(commonParams)
2304
2296
  .m(function (Command, cs, config, o) {
2305
- return [
2306
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2307
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2308
- ];
2297
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2309
2298
  })
2310
2299
  .s("AmplifyUIBuilder", "PutMetadataFlag", {})
2311
2300
  .n("AmplifyUIBuilderClient", "PutMetadataFlagCommand")
2312
- .f(void 0, void 0)
2313
- .ser(se_PutMetadataFlagCommand)
2314
- .de(de_PutMetadataFlagCommand)
2301
+ .sc(PutMetadataFlag)
2315
2302
  .build() {
2316
2303
  }
2317
2304
 
@@ -2319,16 +2306,11 @@ class RefreshTokenCommand extends smithyClient.Command
2319
2306
  .classBuilder()
2320
2307
  .ep(commonParams)
2321
2308
  .m(function (Command, cs, config, o) {
2322
- return [
2323
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2324
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2325
- ];
2309
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2326
2310
  })
2327
2311
  .s("AmplifyUIBuilder", "RefreshToken", {})
2328
2312
  .n("AmplifyUIBuilderClient", "RefreshTokenCommand")
2329
- .f(RefreshTokenRequestFilterSensitiveLog, RefreshTokenResponseFilterSensitiveLog)
2330
- .ser(se_RefreshTokenCommand)
2331
- .de(de_RefreshTokenCommand)
2313
+ .sc(RefreshToken)
2332
2314
  .build() {
2333
2315
  }
2334
2316
 
@@ -2336,16 +2318,11 @@ class StartCodegenJobCommand extends smithyClient.Command
2336
2318
  .classBuilder()
2337
2319
  .ep(commonParams)
2338
2320
  .m(function (Command, cs, config, o) {
2339
- return [
2340
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2341
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2342
- ];
2321
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2343
2322
  })
2344
2323
  .s("AmplifyUIBuilder", "StartCodegenJob", {})
2345
2324
  .n("AmplifyUIBuilderClient", "StartCodegenJobCommand")
2346
- .f(void 0, void 0)
2347
- .ser(se_StartCodegenJobCommand)
2348
- .de(de_StartCodegenJobCommand)
2325
+ .sc(StartCodegenJob)
2349
2326
  .build() {
2350
2327
  }
2351
2328
 
@@ -2353,16 +2330,11 @@ class TagResourceCommand extends smithyClient.Command
2353
2330
  .classBuilder()
2354
2331
  .ep(commonParams)
2355
2332
  .m(function (Command, cs, config, o) {
2356
- return [
2357
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2358
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2359
- ];
2333
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2360
2334
  })
2361
2335
  .s("AmplifyUIBuilder", "TagResource", {})
2362
2336
  .n("AmplifyUIBuilderClient", "TagResourceCommand")
2363
- .f(void 0, void 0)
2364
- .ser(se_TagResourceCommand)
2365
- .de(de_TagResourceCommand)
2337
+ .sc(TagResource)
2366
2338
  .build() {
2367
2339
  }
2368
2340
 
@@ -2370,16 +2342,11 @@ class UntagResourceCommand extends smithyClient.Command
2370
2342
  .classBuilder()
2371
2343
  .ep(commonParams)
2372
2344
  .m(function (Command, cs, config, o) {
2373
- return [
2374
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2375
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2376
- ];
2345
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2377
2346
  })
2378
2347
  .s("AmplifyUIBuilder", "UntagResource", {})
2379
2348
  .n("AmplifyUIBuilderClient", "UntagResourceCommand")
2380
- .f(void 0, void 0)
2381
- .ser(se_UntagResourceCommand)
2382
- .de(de_UntagResourceCommand)
2349
+ .sc(UntagResource)
2383
2350
  .build() {
2384
2351
  }
2385
2352
 
@@ -2387,16 +2354,11 @@ class UpdateComponentCommand extends smithyClient.Command
2387
2354
  .classBuilder()
2388
2355
  .ep(commonParams)
2389
2356
  .m(function (Command, cs, config, o) {
2390
- return [
2391
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2392
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2393
- ];
2357
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2394
2358
  })
2395
2359
  .s("AmplifyUIBuilder", "UpdateComponent", {})
2396
2360
  .n("AmplifyUIBuilderClient", "UpdateComponentCommand")
2397
- .f(void 0, void 0)
2398
- .ser(se_UpdateComponentCommand)
2399
- .de(de_UpdateComponentCommand)
2361
+ .sc(UpdateComponent)
2400
2362
  .build() {
2401
2363
  }
2402
2364
 
@@ -2404,16 +2366,11 @@ class UpdateFormCommand extends smithyClient.Command
2404
2366
  .classBuilder()
2405
2367
  .ep(commonParams)
2406
2368
  .m(function (Command, cs, config, o) {
2407
- return [
2408
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2409
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2410
- ];
2369
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2411
2370
  })
2412
2371
  .s("AmplifyUIBuilder", "UpdateForm", {})
2413
2372
  .n("AmplifyUIBuilderClient", "UpdateFormCommand")
2414
- .f(void 0, void 0)
2415
- .ser(se_UpdateFormCommand)
2416
- .de(de_UpdateFormCommand)
2373
+ .sc(UpdateForm)
2417
2374
  .build() {
2418
2375
  }
2419
2376
 
@@ -2421,16 +2378,11 @@ class UpdateThemeCommand extends smithyClient.Command
2421
2378
  .classBuilder()
2422
2379
  .ep(commonParams)
2423
2380
  .m(function (Command, cs, config, o) {
2424
- return [
2425
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2426
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2427
- ];
2381
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2428
2382
  })
2429
2383
  .s("AmplifyUIBuilder", "UpdateTheme", {})
2430
2384
  .n("AmplifyUIBuilderClient", "UpdateThemeCommand")
2431
- .f(void 0, void 0)
2432
- .ser(se_UpdateThemeCommand)
2433
- .de(de_UpdateThemeCommand)
2385
+ .sc(UpdateTheme)
2434
2386
  .build() {
2435
2387
  }
2436
2388
 
@@ -2492,7 +2444,7 @@ Object.defineProperty(exports, "__Client", {
2492
2444
  });
2493
2445
  exports.AmplifyUIBuilder = AmplifyUIBuilder;
2494
2446
  exports.AmplifyUIBuilderClient = AmplifyUIBuilderClient;
2495
- exports.AmplifyUIBuilderServiceException = AmplifyUIBuilderServiceException;
2447
+ exports.AmplifyUIBuilderServiceException = AmplifyUIBuilderServiceException$1;
2496
2448
  exports.CodegenGenericDataFieldDataType = CodegenGenericDataFieldDataType;
2497
2449
  exports.CodegenJobGenericDataSourceType = CodegenJobGenericDataSourceType;
2498
2450
  exports.CodegenJobStatus = CodegenJobStatus;
@@ -2503,9 +2455,6 @@ exports.DeleteComponentCommand = DeleteComponentCommand;
2503
2455
  exports.DeleteFormCommand = DeleteFormCommand;
2504
2456
  exports.DeleteThemeCommand = DeleteThemeCommand;
2505
2457
  exports.ExchangeCodeForTokenCommand = ExchangeCodeForTokenCommand;
2506
- exports.ExchangeCodeForTokenRequestBodyFilterSensitiveLog = ExchangeCodeForTokenRequestBodyFilterSensitiveLog;
2507
- exports.ExchangeCodeForTokenRequestFilterSensitiveLog = ExchangeCodeForTokenRequestFilterSensitiveLog;
2508
- exports.ExchangeCodeForTokenResponseFilterSensitiveLog = ExchangeCodeForTokenResponseFilterSensitiveLog;
2509
2458
  exports.ExportComponentsCommand = ExportComponentsCommand;
2510
2459
  exports.ExportFormsCommand = ExportFormsCommand;
2511
2460
  exports.ExportThemesCommand = ExportThemesCommand;
@@ -2519,8 +2468,8 @@ exports.GetComponentCommand = GetComponentCommand;
2519
2468
  exports.GetFormCommand = GetFormCommand;
2520
2469
  exports.GetMetadataCommand = GetMetadataCommand;
2521
2470
  exports.GetThemeCommand = GetThemeCommand;
2522
- exports.InternalServerException = InternalServerException;
2523
- exports.InvalidParameterException = InvalidParameterException;
2471
+ exports.InternalServerException = InternalServerException$1;
2472
+ exports.InvalidParameterException = InvalidParameterException$1;
2524
2473
  exports.JSModule = JSModule;
2525
2474
  exports.JSScript = JSScript;
2526
2475
  exports.JSTarget = JSTarget;
@@ -2532,19 +2481,16 @@ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2532
2481
  exports.ListThemesCommand = ListThemesCommand;
2533
2482
  exports.PutMetadataFlagCommand = PutMetadataFlagCommand;
2534
2483
  exports.RefreshTokenCommand = RefreshTokenCommand;
2535
- exports.RefreshTokenRequestBodyFilterSensitiveLog = RefreshTokenRequestBodyFilterSensitiveLog;
2536
- exports.RefreshTokenRequestFilterSensitiveLog = RefreshTokenRequestFilterSensitiveLog;
2537
- exports.RefreshTokenResponseFilterSensitiveLog = RefreshTokenResponseFilterSensitiveLog;
2538
- exports.ResourceConflictException = ResourceConflictException;
2539
- exports.ResourceNotFoundException = ResourceNotFoundException;
2540
- exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
2484
+ exports.ResourceConflictException = ResourceConflictException$1;
2485
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
2486
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
2541
2487
  exports.SortDirection = SortDirection;
2542
2488
  exports.StartCodegenJobCommand = StartCodegenJobCommand;
2543
2489
  exports.StorageAccessLevel = StorageAccessLevel;
2544
2490
  exports.TagResourceCommand = TagResourceCommand;
2545
- exports.ThrottlingException = ThrottlingException;
2491
+ exports.ThrottlingException = ThrottlingException$1;
2546
2492
  exports.TokenProviders = TokenProviders;
2547
- exports.UnauthorizedException = UnauthorizedException;
2493
+ exports.UnauthorizedException = UnauthorizedException$1;
2548
2494
  exports.UntagResourceCommand = UntagResourceCommand;
2549
2495
  exports.UpdateComponentCommand = UpdateComponentCommand;
2550
2496
  exports.UpdateFormCommand = UpdateFormCommand;