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