@aws-sdk/client-amplifyuibuilder 3.53.0 → 3.55.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 (56) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +8 -9
  3. package/dist-cjs/AmplifyUIBuilderClient.js +13 -13
  4. package/dist-cjs/commands/CreateComponentCommand.js +3 -3
  5. package/dist-cjs/commands/CreateThemeCommand.js +3 -3
  6. package/dist-cjs/commands/DeleteComponentCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteThemeCommand.js +3 -3
  8. package/dist-cjs/commands/ExchangeCodeForTokenCommand.js +3 -3
  9. package/dist-cjs/commands/ExportComponentsCommand.js +3 -3
  10. package/dist-cjs/commands/ExportThemesCommand.js +3 -3
  11. package/dist-cjs/commands/GetComponentCommand.js +3 -3
  12. package/dist-cjs/commands/GetThemeCommand.js +3 -3
  13. package/dist-cjs/commands/ListComponentsCommand.js +3 -3
  14. package/dist-cjs/commands/ListThemesCommand.js +3 -3
  15. package/dist-cjs/commands/RefreshTokenCommand.js +3 -3
  16. package/dist-cjs/commands/UpdateComponentCommand.js +3 -3
  17. package/dist-cjs/commands/UpdateThemeCommand.js +3 -3
  18. package/dist-cjs/endpoints.js +1 -1
  19. package/dist-cjs/models/models_0.js +20 -2
  20. package/dist-cjs/pagination/ExportComponentsPaginator.js +34 -0
  21. package/dist-cjs/pagination/ExportThemesPaginator.js +34 -0
  22. package/dist-cjs/pagination/index.js +2 -0
  23. package/dist-cjs/protocols/Aws_restJson1.js +277 -136
  24. package/dist-cjs/runtimeConfig.browser.js +4 -4
  25. package/dist-cjs/runtimeConfig.js +9 -9
  26. package/dist-cjs/runtimeConfig.native.js +1 -1
  27. package/dist-es/AmplifyUIBuilder.js +14 -14
  28. package/dist-es/models/models_0.js +12 -0
  29. package/dist-es/pagination/ExportComponentsPaginator.js +73 -0
  30. package/dist-es/pagination/ExportThemesPaginator.js +73 -0
  31. package/dist-es/pagination/ListComponentsPaginator.js +4 -4
  32. package/dist-es/pagination/ListThemesPaginator.js +4 -4
  33. package/dist-es/pagination/index.js +2 -0
  34. package/dist-es/protocols/Aws_restJson1.js +139 -29
  35. package/dist-types/AmplifyUIBuilder.d.ts +14 -15
  36. package/dist-types/AmplifyUIBuilderClient.d.ts +10 -11
  37. package/dist-types/commands/ExportComponentsCommand.d.ts +1 -2
  38. package/dist-types/commands/ExportThemesCommand.d.ts +1 -2
  39. package/dist-types/commands/ListComponentsCommand.d.ts +2 -1
  40. package/dist-types/commands/ListThemesCommand.d.ts +2 -1
  41. package/dist-types/models/models_0.d.ts +233 -42
  42. package/dist-types/pagination/ExportComponentsPaginator.d.ts +4 -0
  43. package/dist-types/pagination/ExportThemesPaginator.d.ts +4 -0
  44. package/dist-types/pagination/index.d.ts +2 -0
  45. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  46. package/dist-types/runtimeConfig.d.ts +1 -1
  47. package/dist-types/runtimeConfig.native.d.ts +3 -3
  48. package/dist-types/ts3.4/AmplifyUIBuilderClient.d.ts +2 -2
  49. package/dist-types/ts3.4/models/models_0.d.ts +87 -0
  50. package/dist-types/ts3.4/pagination/ExportComponentsPaginator.d.ts +4 -0
  51. package/dist-types/ts3.4/pagination/ExportThemesPaginator.d.ts +4 -0
  52. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  53. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  54. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  55. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  56. package/package.json +34 -34
@@ -17,7 +17,7 @@ const serializeAws_restJson1CreateComponentCommand = async (input, context) => {
17
17
  if (labelValue.length <= 0) {
18
18
  throw new Error("Empty value provided for input HTTP label: appId.");
19
19
  }
20
- resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
20
+ resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
21
21
  }
22
22
  else {
23
23
  throw new Error("No value provided for input HTTP label: appId.");
@@ -27,7 +27,7 @@ const serializeAws_restJson1CreateComponentCommand = async (input, context) => {
27
27
  if (labelValue.length <= 0) {
28
28
  throw new Error("Empty value provided for input HTTP label: environmentName.");
29
29
  }
30
- resolvedPath = resolvedPath.replace("{environmentName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
30
+ resolvedPath = resolvedPath.replace("{environmentName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
31
31
  }
32
32
  else {
33
33
  throw new Error("No value provided for input HTTP label: environmentName.");
@@ -67,7 +67,7 @@ const serializeAws_restJson1CreateThemeCommand = async (input, context) => {
67
67
  if (labelValue.length <= 0) {
68
68
  throw new Error("Empty value provided for input HTTP label: appId.");
69
69
  }
70
- resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
70
+ resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
71
71
  }
72
72
  else {
73
73
  throw new Error("No value provided for input HTTP label: appId.");
@@ -77,7 +77,7 @@ const serializeAws_restJson1CreateThemeCommand = async (input, context) => {
77
77
  if (labelValue.length <= 0) {
78
78
  throw new Error("Empty value provided for input HTTP label: environmentName.");
79
79
  }
80
- resolvedPath = resolvedPath.replace("{environmentName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
80
+ resolvedPath = resolvedPath.replace("{environmentName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
81
81
  }
82
82
  else {
83
83
  throw new Error("No value provided for input HTTP label: environmentName.");
@@ -115,7 +115,7 @@ const serializeAws_restJson1DeleteComponentCommand = async (input, context) => {
115
115
  if (labelValue.length <= 0) {
116
116
  throw new Error("Empty value provided for input HTTP label: appId.");
117
117
  }
118
- resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
118
+ resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
119
119
  }
120
120
  else {
121
121
  throw new Error("No value provided for input HTTP label: appId.");
@@ -125,7 +125,7 @@ const serializeAws_restJson1DeleteComponentCommand = async (input, context) => {
125
125
  if (labelValue.length <= 0) {
126
126
  throw new Error("Empty value provided for input HTTP label: environmentName.");
127
127
  }
128
- resolvedPath = resolvedPath.replace("{environmentName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
128
+ resolvedPath = resolvedPath.replace("{environmentName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
129
129
  }
130
130
  else {
131
131
  throw new Error("No value provided for input HTTP label: environmentName.");
@@ -135,7 +135,7 @@ const serializeAws_restJson1DeleteComponentCommand = async (input, context) => {
135
135
  if (labelValue.length <= 0) {
136
136
  throw new Error("Empty value provided for input HTTP label: id.");
137
137
  }
138
- resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
138
+ resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
139
139
  }
140
140
  else {
141
141
  throw new Error("No value provided for input HTTP label: id.");
@@ -162,7 +162,7 @@ const serializeAws_restJson1DeleteThemeCommand = async (input, context) => {
162
162
  if (labelValue.length <= 0) {
163
163
  throw new Error("Empty value provided for input HTTP label: appId.");
164
164
  }
165
- resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
165
+ resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
166
166
  }
167
167
  else {
168
168
  throw new Error("No value provided for input HTTP label: appId.");
@@ -172,7 +172,7 @@ const serializeAws_restJson1DeleteThemeCommand = async (input, context) => {
172
172
  if (labelValue.length <= 0) {
173
173
  throw new Error("Empty value provided for input HTTP label: environmentName.");
174
174
  }
175
- resolvedPath = resolvedPath.replace("{environmentName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
175
+ resolvedPath = resolvedPath.replace("{environmentName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
176
176
  }
177
177
  else {
178
178
  throw new Error("No value provided for input HTTP label: environmentName.");
@@ -182,7 +182,7 @@ const serializeAws_restJson1DeleteThemeCommand = async (input, context) => {
182
182
  if (labelValue.length <= 0) {
183
183
  throw new Error("Empty value provided for input HTTP label: id.");
184
184
  }
185
- resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
185
+ resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
186
186
  }
187
187
  else {
188
188
  throw new Error("No value provided for input HTTP label: id.");
@@ -210,7 +210,7 @@ const serializeAws_restJson1ExchangeCodeForTokenCommand = async (input, context)
210
210
  if (labelValue.length <= 0) {
211
211
  throw new Error("Empty value provided for input HTTP label: provider.");
212
212
  }
213
- resolvedPath = resolvedPath.replace("{provider}", smithy_client_1.extendedEncodeURIComponent(labelValue));
213
+ resolvedPath = resolvedPath.replace("{provider}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
214
214
  }
215
215
  else {
216
216
  throw new Error("No value provided for input HTTP label: provider.");
@@ -244,7 +244,7 @@ const serializeAws_restJson1ExportComponentsCommand = async (input, context) =>
244
244
  if (labelValue.length <= 0) {
245
245
  throw new Error("Empty value provided for input HTTP label: appId.");
246
246
  }
247
- resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
247
+ resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
248
248
  }
249
249
  else {
250
250
  throw new Error("No value provided for input HTTP label: appId.");
@@ -254,11 +254,14 @@ const serializeAws_restJson1ExportComponentsCommand = async (input, context) =>
254
254
  if (labelValue.length <= 0) {
255
255
  throw new Error("Empty value provided for input HTTP label: environmentName.");
256
256
  }
257
- resolvedPath = resolvedPath.replace("{environmentName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
257
+ resolvedPath = resolvedPath.replace("{environmentName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
258
258
  }
259
259
  else {
260
260
  throw new Error("No value provided for input HTTP label: environmentName.");
261
261
  }
262
+ const query = {
263
+ ...(input.nextToken !== undefined && { nextToken: input.nextToken }),
264
+ };
262
265
  let body;
263
266
  return new protocol_http_1.HttpRequest({
264
267
  protocol,
@@ -267,6 +270,7 @@ const serializeAws_restJson1ExportComponentsCommand = async (input, context) =>
267
270
  method: "GET",
268
271
  headers,
269
272
  path: resolvedPath,
273
+ query,
270
274
  body,
271
275
  });
272
276
  };
@@ -281,7 +285,7 @@ const serializeAws_restJson1ExportThemesCommand = async (input, context) => {
281
285
  if (labelValue.length <= 0) {
282
286
  throw new Error("Empty value provided for input HTTP label: appId.");
283
287
  }
284
- resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
288
+ resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
285
289
  }
286
290
  else {
287
291
  throw new Error("No value provided for input HTTP label: appId.");
@@ -291,11 +295,14 @@ const serializeAws_restJson1ExportThemesCommand = async (input, context) => {
291
295
  if (labelValue.length <= 0) {
292
296
  throw new Error("Empty value provided for input HTTP label: environmentName.");
293
297
  }
294
- resolvedPath = resolvedPath.replace("{environmentName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
298
+ resolvedPath = resolvedPath.replace("{environmentName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
295
299
  }
296
300
  else {
297
301
  throw new Error("No value provided for input HTTP label: environmentName.");
298
302
  }
303
+ const query = {
304
+ ...(input.nextToken !== undefined && { nextToken: input.nextToken }),
305
+ };
299
306
  let body;
300
307
  return new protocol_http_1.HttpRequest({
301
308
  protocol,
@@ -304,6 +311,7 @@ const serializeAws_restJson1ExportThemesCommand = async (input, context) => {
304
311
  method: "GET",
305
312
  headers,
306
313
  path: resolvedPath,
314
+ query,
307
315
  body,
308
316
  });
309
317
  };
@@ -318,7 +326,7 @@ const serializeAws_restJson1GetComponentCommand = async (input, context) => {
318
326
  if (labelValue.length <= 0) {
319
327
  throw new Error("Empty value provided for input HTTP label: appId.");
320
328
  }
321
- resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
329
+ resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
322
330
  }
323
331
  else {
324
332
  throw new Error("No value provided for input HTTP label: appId.");
@@ -328,7 +336,7 @@ const serializeAws_restJson1GetComponentCommand = async (input, context) => {
328
336
  if (labelValue.length <= 0) {
329
337
  throw new Error("Empty value provided for input HTTP label: environmentName.");
330
338
  }
331
- resolvedPath = resolvedPath.replace("{environmentName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
339
+ resolvedPath = resolvedPath.replace("{environmentName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
332
340
  }
333
341
  else {
334
342
  throw new Error("No value provided for input HTTP label: environmentName.");
@@ -338,7 +346,7 @@ const serializeAws_restJson1GetComponentCommand = async (input, context) => {
338
346
  if (labelValue.length <= 0) {
339
347
  throw new Error("Empty value provided for input HTTP label: id.");
340
348
  }
341
- resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
349
+ resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
342
350
  }
343
351
  else {
344
352
  throw new Error("No value provided for input HTTP label: id.");
@@ -365,7 +373,7 @@ const serializeAws_restJson1GetThemeCommand = async (input, context) => {
365
373
  if (labelValue.length <= 0) {
366
374
  throw new Error("Empty value provided for input HTTP label: appId.");
367
375
  }
368
- resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
376
+ resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
369
377
  }
370
378
  else {
371
379
  throw new Error("No value provided for input HTTP label: appId.");
@@ -375,7 +383,7 @@ const serializeAws_restJson1GetThemeCommand = async (input, context) => {
375
383
  if (labelValue.length <= 0) {
376
384
  throw new Error("Empty value provided for input HTTP label: environmentName.");
377
385
  }
378
- resolvedPath = resolvedPath.replace("{environmentName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
386
+ resolvedPath = resolvedPath.replace("{environmentName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
379
387
  }
380
388
  else {
381
389
  throw new Error("No value provided for input HTTP label: environmentName.");
@@ -385,7 +393,7 @@ const serializeAws_restJson1GetThemeCommand = async (input, context) => {
385
393
  if (labelValue.length <= 0) {
386
394
  throw new Error("Empty value provided for input HTTP label: id.");
387
395
  }
388
- resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
396
+ resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
389
397
  }
390
398
  else {
391
399
  throw new Error("No value provided for input HTTP label: id.");
@@ -412,7 +420,7 @@ const serializeAws_restJson1ListComponentsCommand = async (input, context) => {
412
420
  if (labelValue.length <= 0) {
413
421
  throw new Error("Empty value provided for input HTTP label: appId.");
414
422
  }
415
- resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
423
+ resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
416
424
  }
417
425
  else {
418
426
  throw new Error("No value provided for input HTTP label: appId.");
@@ -422,7 +430,7 @@ const serializeAws_restJson1ListComponentsCommand = async (input, context) => {
422
430
  if (labelValue.length <= 0) {
423
431
  throw new Error("Empty value provided for input HTTP label: environmentName.");
424
432
  }
425
- resolvedPath = resolvedPath.replace("{environmentName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
433
+ resolvedPath = resolvedPath.replace("{environmentName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
426
434
  }
427
435
  else {
428
436
  throw new Error("No value provided for input HTTP label: environmentName.");
@@ -454,7 +462,7 @@ const serializeAws_restJson1ListThemesCommand = async (input, context) => {
454
462
  if (labelValue.length <= 0) {
455
463
  throw new Error("Empty value provided for input HTTP label: appId.");
456
464
  }
457
- resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
465
+ resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
458
466
  }
459
467
  else {
460
468
  throw new Error("No value provided for input HTTP label: appId.");
@@ -464,7 +472,7 @@ const serializeAws_restJson1ListThemesCommand = async (input, context) => {
464
472
  if (labelValue.length <= 0) {
465
473
  throw new Error("Empty value provided for input HTTP label: environmentName.");
466
474
  }
467
- resolvedPath = resolvedPath.replace("{environmentName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
475
+ resolvedPath = resolvedPath.replace("{environmentName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
468
476
  }
469
477
  else {
470
478
  throw new Error("No value provided for input HTTP label: environmentName.");
@@ -497,7 +505,7 @@ const serializeAws_restJson1RefreshTokenCommand = async (input, context) => {
497
505
  if (labelValue.length <= 0) {
498
506
  throw new Error("Empty value provided for input HTTP label: provider.");
499
507
  }
500
- resolvedPath = resolvedPath.replace("{provider}", smithy_client_1.extendedEncodeURIComponent(labelValue));
508
+ resolvedPath = resolvedPath.replace("{provider}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
501
509
  }
502
510
  else {
503
511
  throw new Error("No value provided for input HTTP label: provider.");
@@ -533,7 +541,7 @@ const serializeAws_restJson1UpdateComponentCommand = async (input, context) => {
533
541
  if (labelValue.length <= 0) {
534
542
  throw new Error("Empty value provided for input HTTP label: appId.");
535
543
  }
536
- resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
544
+ resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
537
545
  }
538
546
  else {
539
547
  throw new Error("No value provided for input HTTP label: appId.");
@@ -543,7 +551,7 @@ const serializeAws_restJson1UpdateComponentCommand = async (input, context) => {
543
551
  if (labelValue.length <= 0) {
544
552
  throw new Error("Empty value provided for input HTTP label: environmentName.");
545
553
  }
546
- resolvedPath = resolvedPath.replace("{environmentName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
554
+ resolvedPath = resolvedPath.replace("{environmentName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
547
555
  }
548
556
  else {
549
557
  throw new Error("No value provided for input HTTP label: environmentName.");
@@ -553,7 +561,7 @@ const serializeAws_restJson1UpdateComponentCommand = async (input, context) => {
553
561
  if (labelValue.length <= 0) {
554
562
  throw new Error("Empty value provided for input HTTP label: id.");
555
563
  }
556
- resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
564
+ resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
557
565
  }
558
566
  else {
559
567
  throw new Error("No value provided for input HTTP label: id.");
@@ -593,7 +601,7 @@ const serializeAws_restJson1UpdateThemeCommand = async (input, context) => {
593
601
  if (labelValue.length <= 0) {
594
602
  throw new Error("Empty value provided for input HTTP label: appId.");
595
603
  }
596
- resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
604
+ resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
597
605
  }
598
606
  else {
599
607
  throw new Error("No value provided for input HTTP label: appId.");
@@ -603,7 +611,7 @@ const serializeAws_restJson1UpdateThemeCommand = async (input, context) => {
603
611
  if (labelValue.length <= 0) {
604
612
  throw new Error("Empty value provided for input HTTP label: environmentName.");
605
613
  }
606
- resolvedPath = resolvedPath.replace("{environmentName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
614
+ resolvedPath = resolvedPath.replace("{environmentName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
607
615
  }
608
616
  else {
609
617
  throw new Error("No value provided for input HTTP label: environmentName.");
@@ -613,7 +621,7 @@ const serializeAws_restJson1UpdateThemeCommand = async (input, context) => {
613
621
  if (labelValue.length <= 0) {
614
622
  throw new Error("Empty value provided for input HTTP label: id.");
615
623
  }
616
- resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
624
+ resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
617
625
  }
618
626
  else {
619
627
  throw new Error("No value provided for input HTTP label: id.");
@@ -649,7 +657,7 @@ const deserializeAws_restJson1CreateComponentCommand = async (output, context) =
649
657
  $metadata: deserializeMetadata(output),
650
658
  entity: undefined,
651
659
  };
652
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
660
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
653
661
  contents.entity = deserializeAws_restJson1Component(data, context);
654
662
  return Promise.resolve(contents);
655
663
  };
@@ -682,7 +690,7 @@ const deserializeAws_restJson1CreateComponentCommandError = async (output, conte
682
690
  $fault: "client",
683
691
  $metadata: deserializeMetadata(output),
684
692
  });
685
- throw smithy_client_1.decorateServiceException(response, parsedBody);
693
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
686
694
  }
687
695
  };
688
696
  const deserializeAws_restJson1CreateThemeCommand = async (output, context) => {
@@ -693,7 +701,7 @@ const deserializeAws_restJson1CreateThemeCommand = async (output, context) => {
693
701
  $metadata: deserializeMetadata(output),
694
702
  entity: undefined,
695
703
  };
696
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
704
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
697
705
  contents.entity = deserializeAws_restJson1Theme(data, context);
698
706
  return Promise.resolve(contents);
699
707
  };
@@ -726,7 +734,7 @@ const deserializeAws_restJson1CreateThemeCommandError = async (output, context)
726
734
  $fault: "client",
727
735
  $metadata: deserializeMetadata(output),
728
736
  });
729
- throw smithy_client_1.decorateServiceException(response, parsedBody);
737
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
730
738
  }
731
739
  };
732
740
  const deserializeAws_restJson1DeleteComponentCommand = async (output, context) => {
@@ -765,7 +773,7 @@ const deserializeAws_restJson1DeleteComponentCommandError = async (output, conte
765
773
  $fault: "client",
766
774
  $metadata: deserializeMetadata(output),
767
775
  });
768
- throw smithy_client_1.decorateServiceException(response, parsedBody);
776
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
769
777
  }
770
778
  };
771
779
  const deserializeAws_restJson1DeleteThemeCommand = async (output, context) => {
@@ -804,7 +812,7 @@ const deserializeAws_restJson1DeleteThemeCommandError = async (output, context)
804
812
  $fault: "client",
805
813
  $metadata: deserializeMetadata(output),
806
814
  });
807
- throw smithy_client_1.decorateServiceException(response, parsedBody);
815
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
808
816
  }
809
817
  };
810
818
  const deserializeAws_restJson1ExchangeCodeForTokenCommand = async (output, context) => {
@@ -817,15 +825,15 @@ const deserializeAws_restJson1ExchangeCodeForTokenCommand = async (output, conte
817
825
  expiresIn: undefined,
818
826
  refreshToken: undefined,
819
827
  };
820
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
828
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
821
829
  if (data.accessToken !== undefined && data.accessToken !== null) {
822
- contents.accessToken = smithy_client_1.expectString(data.accessToken);
830
+ contents.accessToken = (0, smithy_client_1.expectString)(data.accessToken);
823
831
  }
824
832
  if (data.expiresIn !== undefined && data.expiresIn !== null) {
825
- contents.expiresIn = smithy_client_1.expectInt32(data.expiresIn);
833
+ contents.expiresIn = (0, smithy_client_1.expectInt32)(data.expiresIn);
826
834
  }
827
835
  if (data.refreshToken !== undefined && data.refreshToken !== null) {
828
- contents.refreshToken = smithy_client_1.expectString(data.refreshToken);
836
+ contents.refreshToken = (0, smithy_client_1.expectString)(data.refreshToken);
829
837
  }
830
838
  return Promise.resolve(contents);
831
839
  };
@@ -849,7 +857,7 @@ const deserializeAws_restJson1ExchangeCodeForTokenCommandError = async (output,
849
857
  $fault: "client",
850
858
  $metadata: deserializeMetadata(output),
851
859
  });
852
- throw smithy_client_1.decorateServiceException(response, parsedBody);
860
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
853
861
  }
854
862
  };
855
863
  const deserializeAws_restJson1ExportComponentsCommand = async (output, context) => {
@@ -859,11 +867,15 @@ const deserializeAws_restJson1ExportComponentsCommand = async (output, context)
859
867
  const contents = {
860
868
  $metadata: deserializeMetadata(output),
861
869
  entities: undefined,
870
+ nextToken: undefined,
862
871
  };
863
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
872
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
864
873
  if (data.entities !== undefined && data.entities !== null) {
865
874
  contents.entities = deserializeAws_restJson1ComponentList(data.entities, context);
866
875
  }
876
+ if (data.nextToken !== undefined && data.nextToken !== null) {
877
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
878
+ }
867
879
  return Promise.resolve(contents);
868
880
  };
869
881
  exports.deserializeAws_restJson1ExportComponentsCommand = deserializeAws_restJson1ExportComponentsCommand;
@@ -889,7 +901,7 @@ const deserializeAws_restJson1ExportComponentsCommandError = async (output, cont
889
901
  $fault: "client",
890
902
  $metadata: deserializeMetadata(output),
891
903
  });
892
- throw smithy_client_1.decorateServiceException(response, parsedBody);
904
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
893
905
  }
894
906
  };
895
907
  const deserializeAws_restJson1ExportThemesCommand = async (output, context) => {
@@ -899,11 +911,15 @@ const deserializeAws_restJson1ExportThemesCommand = async (output, context) => {
899
911
  const contents = {
900
912
  $metadata: deserializeMetadata(output),
901
913
  entities: undefined,
914
+ nextToken: undefined,
902
915
  };
903
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
916
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
904
917
  if (data.entities !== undefined && data.entities !== null) {
905
918
  contents.entities = deserializeAws_restJson1ThemeList(data.entities, context);
906
919
  }
920
+ if (data.nextToken !== undefined && data.nextToken !== null) {
921
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
922
+ }
907
923
  return Promise.resolve(contents);
908
924
  };
909
925
  exports.deserializeAws_restJson1ExportThemesCommand = deserializeAws_restJson1ExportThemesCommand;
@@ -929,7 +945,7 @@ const deserializeAws_restJson1ExportThemesCommandError = async (output, context)
929
945
  $fault: "client",
930
946
  $metadata: deserializeMetadata(output),
931
947
  });
932
- throw smithy_client_1.decorateServiceException(response, parsedBody);
948
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
933
949
  }
934
950
  };
935
951
  const deserializeAws_restJson1GetComponentCommand = async (output, context) => {
@@ -940,7 +956,7 @@ const deserializeAws_restJson1GetComponentCommand = async (output, context) => {
940
956
  $metadata: deserializeMetadata(output),
941
957
  component: undefined,
942
958
  };
943
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
959
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
944
960
  contents.component = deserializeAws_restJson1Component(data, context);
945
961
  return Promise.resolve(contents);
946
962
  };
@@ -970,7 +986,7 @@ const deserializeAws_restJson1GetComponentCommandError = async (output, context)
970
986
  $fault: "client",
971
987
  $metadata: deserializeMetadata(output),
972
988
  });
973
- throw smithy_client_1.decorateServiceException(response, parsedBody);
989
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
974
990
  }
975
991
  };
976
992
  const deserializeAws_restJson1GetThemeCommand = async (output, context) => {
@@ -981,7 +997,7 @@ const deserializeAws_restJson1GetThemeCommand = async (output, context) => {
981
997
  $metadata: deserializeMetadata(output),
982
998
  theme: undefined,
983
999
  };
984
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
1000
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
985
1001
  contents.theme = deserializeAws_restJson1Theme(data, context);
986
1002
  return Promise.resolve(contents);
987
1003
  };
@@ -1011,7 +1027,7 @@ const deserializeAws_restJson1GetThemeCommandError = async (output, context) =>
1011
1027
  $fault: "client",
1012
1028
  $metadata: deserializeMetadata(output),
1013
1029
  });
1014
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1030
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1015
1031
  }
1016
1032
  };
1017
1033
  const deserializeAws_restJson1ListComponentsCommand = async (output, context) => {
@@ -1023,12 +1039,12 @@ const deserializeAws_restJson1ListComponentsCommand = async (output, context) =>
1023
1039
  entities: undefined,
1024
1040
  nextToken: undefined,
1025
1041
  };
1026
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1042
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1027
1043
  if (data.entities !== undefined && data.entities !== null) {
1028
1044
  contents.entities = deserializeAws_restJson1ComponentSummaryList(data.entities, context);
1029
1045
  }
1030
1046
  if (data.nextToken !== undefined && data.nextToken !== null) {
1031
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
1047
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1032
1048
  }
1033
1049
  return Promise.resolve(contents);
1034
1050
  };
@@ -1055,7 +1071,7 @@ const deserializeAws_restJson1ListComponentsCommandError = async (output, contex
1055
1071
  $fault: "client",
1056
1072
  $metadata: deserializeMetadata(output),
1057
1073
  });
1058
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1074
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1059
1075
  }
1060
1076
  };
1061
1077
  const deserializeAws_restJson1ListThemesCommand = async (output, context) => {
@@ -1067,12 +1083,12 @@ const deserializeAws_restJson1ListThemesCommand = async (output, context) => {
1067
1083
  entities: undefined,
1068
1084
  nextToken: undefined,
1069
1085
  };
1070
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1086
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1071
1087
  if (data.entities !== undefined && data.entities !== null) {
1072
1088
  contents.entities = deserializeAws_restJson1ThemeSummaryList(data.entities, context);
1073
1089
  }
1074
1090
  if (data.nextToken !== undefined && data.nextToken !== null) {
1075
- contents.nextToken = smithy_client_1.expectString(data.nextToken);
1091
+ contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
1076
1092
  }
1077
1093
  return Promise.resolve(contents);
1078
1094
  };
@@ -1099,7 +1115,7 @@ const deserializeAws_restJson1ListThemesCommandError = async (output, context) =
1099
1115
  $fault: "client",
1100
1116
  $metadata: deserializeMetadata(output),
1101
1117
  });
1102
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1118
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1103
1119
  }
1104
1120
  };
1105
1121
  const deserializeAws_restJson1RefreshTokenCommand = async (output, context) => {
@@ -1111,12 +1127,12 @@ const deserializeAws_restJson1RefreshTokenCommand = async (output, context) => {
1111
1127
  accessToken: undefined,
1112
1128
  expiresIn: undefined,
1113
1129
  };
1114
- const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
1130
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
1115
1131
  if (data.accessToken !== undefined && data.accessToken !== null) {
1116
- contents.accessToken = smithy_client_1.expectString(data.accessToken);
1132
+ contents.accessToken = (0, smithy_client_1.expectString)(data.accessToken);
1117
1133
  }
1118
1134
  if (data.expiresIn !== undefined && data.expiresIn !== null) {
1119
- contents.expiresIn = smithy_client_1.expectInt32(data.expiresIn);
1135
+ contents.expiresIn = (0, smithy_client_1.expectInt32)(data.expiresIn);
1120
1136
  }
1121
1137
  return Promise.resolve(contents);
1122
1138
  };
@@ -1140,7 +1156,7 @@ const deserializeAws_restJson1RefreshTokenCommandError = async (output, context)
1140
1156
  $fault: "client",
1141
1157
  $metadata: deserializeMetadata(output),
1142
1158
  });
1143
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1159
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1144
1160
  }
1145
1161
  };
1146
1162
  const deserializeAws_restJson1UpdateComponentCommand = async (output, context) => {
@@ -1151,7 +1167,7 @@ const deserializeAws_restJson1UpdateComponentCommand = async (output, context) =
1151
1167
  $metadata: deserializeMetadata(output),
1152
1168
  entity: undefined,
1153
1169
  };
1154
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
1170
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
1155
1171
  contents.entity = deserializeAws_restJson1Component(data, context);
1156
1172
  return Promise.resolve(contents);
1157
1173
  };
@@ -1181,7 +1197,7 @@ const deserializeAws_restJson1UpdateComponentCommandError = async (output, conte
1181
1197
  $fault: "client",
1182
1198
  $metadata: deserializeMetadata(output),
1183
1199
  });
1184
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1200
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1185
1201
  }
1186
1202
  };
1187
1203
  const deserializeAws_restJson1UpdateThemeCommand = async (output, context) => {
@@ -1192,7 +1208,7 @@ const deserializeAws_restJson1UpdateThemeCommand = async (output, context) => {
1192
1208
  $metadata: deserializeMetadata(output),
1193
1209
  entity: undefined,
1194
1210
  };
1195
- const data = smithy_client_1.expectObject(await parseBody(output.body, context));
1211
+ const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
1196
1212
  contents.entity = deserializeAws_restJson1Theme(data, context);
1197
1213
  return Promise.resolve(contents);
1198
1214
  };
@@ -1222,68 +1238,89 @@ const deserializeAws_restJson1UpdateThemeCommandError = async (output, context)
1222
1238
  $fault: "client",
1223
1239
  $metadata: deserializeMetadata(output),
1224
1240
  });
1225
- throw smithy_client_1.decorateServiceException(response, parsedBody);
1241
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
1226
1242
  }
1227
1243
  };
1228
1244
  const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
1229
1245
  const contents = {};
1230
1246
  const data = parsedOutput.body;
1231
1247
  if (data.message !== undefined && data.message !== null) {
1232
- contents.message = smithy_client_1.expectString(data.message);
1248
+ contents.message = (0, smithy_client_1.expectString)(data.message);
1233
1249
  }
1234
1250
  const exception = new models_0_1.InternalServerException({
1235
1251
  $metadata: deserializeMetadata(parsedOutput),
1236
1252
  ...contents,
1237
1253
  });
1238
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1254
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1239
1255
  };
1240
1256
  const deserializeAws_restJson1InvalidParameterExceptionResponse = async (parsedOutput, context) => {
1241
1257
  const contents = {};
1242
1258
  const data = parsedOutput.body;
1243
1259
  if (data.message !== undefined && data.message !== null) {
1244
- contents.message = smithy_client_1.expectString(data.message);
1260
+ contents.message = (0, smithy_client_1.expectString)(data.message);
1245
1261
  }
1246
1262
  const exception = new models_0_1.InvalidParameterException({
1247
1263
  $metadata: deserializeMetadata(parsedOutput),
1248
1264
  ...contents,
1249
1265
  });
1250
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1266
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1251
1267
  };
1252
1268
  const deserializeAws_restJson1ResourceConflictExceptionResponse = async (parsedOutput, context) => {
1253
1269
  const contents = {};
1254
1270
  const data = parsedOutput.body;
1255
1271
  if (data.message !== undefined && data.message !== null) {
1256
- contents.message = smithy_client_1.expectString(data.message);
1272
+ contents.message = (0, smithy_client_1.expectString)(data.message);
1257
1273
  }
1258
1274
  const exception = new models_0_1.ResourceConflictException({
1259
1275
  $metadata: deserializeMetadata(parsedOutput),
1260
1276
  ...contents,
1261
1277
  });
1262
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1278
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1263
1279
  };
1264
1280
  const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
1265
1281
  const contents = {};
1266
1282
  const data = parsedOutput.body;
1267
1283
  if (data.message !== undefined && data.message !== null) {
1268
- contents.message = smithy_client_1.expectString(data.message);
1284
+ contents.message = (0, smithy_client_1.expectString)(data.message);
1269
1285
  }
1270
1286
  const exception = new models_0_1.ResourceNotFoundException({
1271
1287
  $metadata: deserializeMetadata(parsedOutput),
1272
1288
  ...contents,
1273
1289
  });
1274
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1290
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1275
1291
  };
1276
1292
  const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
1277
1293
  const contents = {};
1278
1294
  const data = parsedOutput.body;
1279
1295
  if (data.message !== undefined && data.message !== null) {
1280
- contents.message = smithy_client_1.expectString(data.message);
1296
+ contents.message = (0, smithy_client_1.expectString)(data.message);
1281
1297
  }
1282
1298
  const exception = new models_0_1.ServiceQuotaExceededException({
1283
1299
  $metadata: deserializeMetadata(parsedOutput),
1284
1300
  ...contents,
1285
1301
  });
1286
- return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
1302
+ return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
1303
+ };
1304
+ const serializeAws_restJson1ActionParameters = (input, context) => {
1305
+ return {
1306
+ ...(input.anchor !== undefined &&
1307
+ input.anchor !== null && { anchor: serializeAws_restJson1ComponentProperty(input.anchor, context) }),
1308
+ ...(input.fields !== undefined &&
1309
+ input.fields !== null && { fields: serializeAws_restJson1ComponentProperties(input.fields, context) }),
1310
+ ...(input.global !== undefined &&
1311
+ input.global !== null && { global: serializeAws_restJson1ComponentProperty(input.global, context) }),
1312
+ ...(input.id !== undefined &&
1313
+ input.id !== null && { id: serializeAws_restJson1ComponentProperty(input.id, context) }),
1314
+ ...(input.model !== undefined && input.model !== null && { model: input.model }),
1315
+ ...(input.state !== undefined &&
1316
+ input.state !== null && { state: serializeAws_restJson1MutationActionSetStateParameter(input.state, context) }),
1317
+ ...(input.target !== undefined &&
1318
+ input.target !== null && { target: serializeAws_restJson1ComponentProperty(input.target, context) }),
1319
+ ...(input.type !== undefined &&
1320
+ input.type !== null && { type: serializeAws_restJson1ComponentProperty(input.type, context) }),
1321
+ ...(input.url !== undefined &&
1322
+ input.url !== null && { url: serializeAws_restJson1ComponentProperty(input.url, context) }),
1323
+ };
1287
1324
  };
1288
1325
  const serializeAws_restJson1ComponentBindingProperties = (input, context) => {
1289
1326
  return Object.entries(input).reduce((acc, [key, value]) => {
@@ -1323,6 +1360,8 @@ const serializeAws_restJson1ComponentChild = (input, context) => {
1323
1360
  ...(input.children !== undefined &&
1324
1361
  input.children !== null && { children: serializeAws_restJson1ComponentChildList(input.children, context) }),
1325
1362
  ...(input.componentType !== undefined && input.componentType !== null && { componentType: input.componentType }),
1363
+ ...(input.events !== undefined &&
1364
+ input.events !== null && { events: serializeAws_restJson1ComponentEvents(input.events, context) }),
1326
1365
  ...(input.name !== undefined && input.name !== null && { name: input.name }),
1327
1366
  ...(input.properties !== undefined &&
1328
1367
  input.properties !== null && {
@@ -1357,6 +1396,7 @@ const serializeAws_restJson1ComponentConditionProperty = (input, context) => {
1357
1396
  input.else !== null && { else: serializeAws_restJson1ComponentProperty(input.else, context) }),
1358
1397
  ...(input.field !== undefined && input.field !== null && { field: input.field }),
1359
1398
  ...(input.operand !== undefined && input.operand !== null && { operand: input.operand }),
1399
+ ...(input.operandType !== undefined && input.operandType !== null && { operandType: input.operandType }),
1360
1400
  ...(input.operator !== undefined && input.operator !== null && { operator: input.operator }),
1361
1401
  ...(input.property !== undefined && input.property !== null && { property: input.property }),
1362
1402
  ...(input.then !== undefined &&
@@ -1374,6 +1414,24 @@ const serializeAws_restJson1ComponentDataConfiguration = (input, context) => {
1374
1414
  input.sort !== null && { sort: serializeAws_restJson1SortPropertyList(input.sort, context) }),
1375
1415
  };
1376
1416
  };
1417
+ const serializeAws_restJson1ComponentEvent = (input, context) => {
1418
+ return {
1419
+ ...(input.action !== undefined && input.action !== null && { action: input.action }),
1420
+ ...(input.parameters !== undefined &&
1421
+ input.parameters !== null && { parameters: serializeAws_restJson1ActionParameters(input.parameters, context) }),
1422
+ };
1423
+ };
1424
+ const serializeAws_restJson1ComponentEvents = (input, context) => {
1425
+ return Object.entries(input).reduce((acc, [key, value]) => {
1426
+ if (value === null) {
1427
+ return acc;
1428
+ }
1429
+ return {
1430
+ ...acc,
1431
+ [key]: serializeAws_restJson1ComponentEvent(value, context),
1432
+ };
1433
+ }, {});
1434
+ };
1377
1435
  const serializeAws_restJson1ComponentOverrides = (input, context) => {
1378
1436
  return Object.entries(input).reduce((acc, [key, value]) => {
1379
1437
  if (value === null) {
@@ -1419,6 +1477,7 @@ const serializeAws_restJson1ComponentProperty = (input, context) => {
1419
1477
  input.collectionBindingProperties !== null && {
1420
1478
  collectionBindingProperties: serializeAws_restJson1ComponentPropertyBindingProperties(input.collectionBindingProperties, context),
1421
1479
  }),
1480
+ ...(input.componentName !== undefined && input.componentName !== null && { componentName: input.componentName }),
1422
1481
  ...(input.concat !== undefined &&
1423
1482
  input.concat !== null && { concat: serializeAws_restJson1ComponentPropertyList(input.concat, context) }),
1424
1483
  ...(input.condition !== undefined &&
@@ -1430,6 +1489,7 @@ const serializeAws_restJson1ComponentProperty = (input, context) => {
1430
1489
  ...(input.event !== undefined && input.event !== null && { event: input.event }),
1431
1490
  ...(input.importedValue !== undefined && input.importedValue !== null && { importedValue: input.importedValue }),
1432
1491
  ...(input.model !== undefined && input.model !== null && { model: input.model }),
1492
+ ...(input.property !== undefined && input.property !== null && { property: input.property }),
1433
1493
  ...(input.type !== undefined && input.type !== null && { type: input.type }),
1434
1494
  ...(input.userAttribute !== undefined && input.userAttribute !== null && { userAttribute: input.userAttribute }),
1435
1495
  ...(input.value !== undefined && input.value !== null && { value: input.value }),
@@ -1495,6 +1555,8 @@ const serializeAws_restJson1CreateComponentData = (input, context) => {
1495
1555
  collectionProperties: serializeAws_restJson1ComponentCollectionProperties(input.collectionProperties, context),
1496
1556
  }),
1497
1557
  ...(input.componentType !== undefined && input.componentType !== null && { componentType: input.componentType }),
1558
+ ...(input.events !== undefined &&
1559
+ input.events !== null && { events: serializeAws_restJson1ComponentEvents(input.events, context) }),
1498
1560
  ...(input.name !== undefined && input.name !== null && { name: input.name }),
1499
1561
  ...(input.overrides !== undefined &&
1500
1562
  input.overrides !== null && { overrides: serializeAws_restJson1ComponentOverrides(input.overrides, context) }),
@@ -1502,6 +1564,7 @@ const serializeAws_restJson1CreateComponentData = (input, context) => {
1502
1564
  input.properties !== null && {
1503
1565
  properties: serializeAws_restJson1ComponentProperties(input.properties, context),
1504
1566
  }),
1567
+ ...(input.schemaVersion !== undefined && input.schemaVersion !== null && { schemaVersion: input.schemaVersion }),
1505
1568
  ...(input.sourceId !== undefined && input.sourceId !== null && { sourceId: input.sourceId }),
1506
1569
  ...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1Tags(input.tags, context) }),
1507
1570
  ...(input.variants !== undefined &&
@@ -1551,6 +1614,14 @@ const serializeAws_restJson1IdentifierList = (input, context) => {
1551
1614
  return entry;
1552
1615
  });
1553
1616
  };
1617
+ const serializeAws_restJson1MutationActionSetStateParameter = (input, context) => {
1618
+ return {
1619
+ ...(input.componentName !== undefined && input.componentName !== null && { componentName: input.componentName }),
1620
+ ...(input.property !== undefined && input.property !== null && { property: input.property }),
1621
+ ...(input.set !== undefined &&
1622
+ input.set !== null && { set: serializeAws_restJson1ComponentProperty(input.set, context) }),
1623
+ };
1624
+ };
1554
1625
  const serializeAws_restJson1Predicate = (input, context) => {
1555
1626
  return {
1556
1627
  ...(input.and !== undefined &&
@@ -1640,6 +1711,8 @@ const serializeAws_restJson1UpdateComponentData = (input, context) => {
1640
1711
  collectionProperties: serializeAws_restJson1ComponentCollectionProperties(input.collectionProperties, context),
1641
1712
  }),
1642
1713
  ...(input.componentType !== undefined && input.componentType !== null && { componentType: input.componentType }),
1714
+ ...(input.events !== undefined &&
1715
+ input.events !== null && { events: serializeAws_restJson1ComponentEvents(input.events, context) }),
1643
1716
  ...(input.id !== undefined && input.id !== null && { id: input.id }),
1644
1717
  ...(input.name !== undefined && input.name !== null && { name: input.name }),
1645
1718
  ...(input.overrides !== undefined &&
@@ -1648,6 +1721,7 @@ const serializeAws_restJson1UpdateComponentData = (input, context) => {
1648
1721
  input.properties !== null && {
1649
1722
  properties: serializeAws_restJson1ComponentProperties(input.properties, context),
1650
1723
  }),
1724
+ ...(input.schemaVersion !== undefined && input.schemaVersion !== null && { schemaVersion: input.schemaVersion }),
1651
1725
  ...(input.sourceId !== undefined && input.sourceId !== null && { sourceId: input.sourceId }),
1652
1726
  ...(input.variants !== undefined &&
1653
1727
  input.variants !== null && { variants: serializeAws_restJson1ComponentVariants(input.variants, context) }),
@@ -1663,9 +1737,38 @@ const serializeAws_restJson1UpdateThemeData = (input, context) => {
1663
1737
  input.values !== null && { values: serializeAws_restJson1ThemeValuesList(input.values, context) }),
1664
1738
  };
1665
1739
  };
1740
+ const deserializeAws_restJson1ActionParameters = (output, context) => {
1741
+ return {
1742
+ anchor: output.anchor !== undefined && output.anchor !== null
1743
+ ? deserializeAws_restJson1ComponentProperty(output.anchor, context)
1744
+ : undefined,
1745
+ fields: output.fields !== undefined && output.fields !== null
1746
+ ? deserializeAws_restJson1ComponentProperties(output.fields, context)
1747
+ : undefined,
1748
+ global: output.global !== undefined && output.global !== null
1749
+ ? deserializeAws_restJson1ComponentProperty(output.global, context)
1750
+ : undefined,
1751
+ id: output.id !== undefined && output.id !== null
1752
+ ? deserializeAws_restJson1ComponentProperty(output.id, context)
1753
+ : undefined,
1754
+ model: (0, smithy_client_1.expectString)(output.model),
1755
+ state: output.state !== undefined && output.state !== null
1756
+ ? deserializeAws_restJson1MutationActionSetStateParameter(output.state, context)
1757
+ : undefined,
1758
+ target: output.target !== undefined && output.target !== null
1759
+ ? deserializeAws_restJson1ComponentProperty(output.target, context)
1760
+ : undefined,
1761
+ type: output.type !== undefined && output.type !== null
1762
+ ? deserializeAws_restJson1ComponentProperty(output.type, context)
1763
+ : undefined,
1764
+ url: output.url !== undefined && output.url !== null
1765
+ ? deserializeAws_restJson1ComponentProperty(output.url, context)
1766
+ : undefined,
1767
+ };
1768
+ };
1666
1769
  const deserializeAws_restJson1Component = (output, context) => {
1667
1770
  return {
1668
- appId: smithy_client_1.expectString(output.appId),
1771
+ appId: (0, smithy_client_1.expectString)(output.appId),
1669
1772
  bindingProperties: output.bindingProperties !== undefined && output.bindingProperties !== null
1670
1773
  ? deserializeAws_restJson1ComponentBindingProperties(output.bindingProperties, context)
1671
1774
  : undefined,
@@ -1675,23 +1778,27 @@ const deserializeAws_restJson1Component = (output, context) => {
1675
1778
  collectionProperties: output.collectionProperties !== undefined && output.collectionProperties !== null
1676
1779
  ? deserializeAws_restJson1ComponentCollectionProperties(output.collectionProperties, context)
1677
1780
  : undefined,
1678
- componentType: smithy_client_1.expectString(output.componentType),
1781
+ componentType: (0, smithy_client_1.expectString)(output.componentType),
1679
1782
  createdAt: output.createdAt !== undefined && output.createdAt !== null
1680
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.createdAt))
1783
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdAt))
1784
+ : undefined,
1785
+ environmentName: (0, smithy_client_1.expectString)(output.environmentName),
1786
+ events: output.events !== undefined && output.events !== null
1787
+ ? deserializeAws_restJson1ComponentEvents(output.events, context)
1681
1788
  : undefined,
1682
- environmentName: smithy_client_1.expectString(output.environmentName),
1683
- id: smithy_client_1.expectString(output.id),
1789
+ id: (0, smithy_client_1.expectString)(output.id),
1684
1790
  modifiedAt: output.modifiedAt !== undefined && output.modifiedAt !== null
1685
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.modifiedAt))
1791
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.modifiedAt))
1686
1792
  : undefined,
1687
- name: smithy_client_1.expectString(output.name),
1793
+ name: (0, smithy_client_1.expectString)(output.name),
1688
1794
  overrides: output.overrides !== undefined && output.overrides !== null
1689
1795
  ? deserializeAws_restJson1ComponentOverrides(output.overrides, context)
1690
1796
  : undefined,
1691
1797
  properties: output.properties !== undefined && output.properties !== null
1692
1798
  ? deserializeAws_restJson1ComponentProperties(output.properties, context)
1693
1799
  : undefined,
1694
- sourceId: smithy_client_1.expectString(output.sourceId),
1800
+ schemaVersion: (0, smithy_client_1.expectString)(output.schemaVersion),
1801
+ sourceId: (0, smithy_client_1.expectString)(output.sourceId),
1695
1802
  tags: output.tags !== undefined && output.tags !== null
1696
1803
  ? deserializeAws_restJson1Tags(output.tags, context)
1697
1804
  : undefined,
@@ -1716,21 +1823,21 @@ const deserializeAws_restJson1ComponentBindingPropertiesValue = (output, context
1716
1823
  bindingProperties: output.bindingProperties !== undefined && output.bindingProperties !== null
1717
1824
  ? deserializeAws_restJson1ComponentBindingPropertiesValueProperties(output.bindingProperties, context)
1718
1825
  : undefined,
1719
- defaultValue: smithy_client_1.expectString(output.defaultValue),
1720
- type: smithy_client_1.expectString(output.type),
1826
+ defaultValue: (0, smithy_client_1.expectString)(output.defaultValue),
1827
+ type: (0, smithy_client_1.expectString)(output.type),
1721
1828
  };
1722
1829
  };
1723
1830
  const deserializeAws_restJson1ComponentBindingPropertiesValueProperties = (output, context) => {
1724
1831
  return {
1725
- bucket: smithy_client_1.expectString(output.bucket),
1726
- defaultValue: smithy_client_1.expectString(output.defaultValue),
1727
- field: smithy_client_1.expectString(output.field),
1728
- key: smithy_client_1.expectString(output.key),
1729
- model: smithy_client_1.expectString(output.model),
1832
+ bucket: (0, smithy_client_1.expectString)(output.bucket),
1833
+ defaultValue: (0, smithy_client_1.expectString)(output.defaultValue),
1834
+ field: (0, smithy_client_1.expectString)(output.field),
1835
+ key: (0, smithy_client_1.expectString)(output.key),
1836
+ model: (0, smithy_client_1.expectString)(output.model),
1730
1837
  predicates: output.predicates !== undefined && output.predicates !== null
1731
1838
  ? deserializeAws_restJson1PredicateList(output.predicates, context)
1732
1839
  : undefined,
1733
- userAttribute: smithy_client_1.expectString(output.userAttribute),
1840
+ userAttribute: (0, smithy_client_1.expectString)(output.userAttribute),
1734
1841
  };
1735
1842
  };
1736
1843
  const deserializeAws_restJson1ComponentChild = (output, context) => {
@@ -1738,8 +1845,11 @@ const deserializeAws_restJson1ComponentChild = (output, context) => {
1738
1845
  children: output.children !== undefined && output.children !== null
1739
1846
  ? deserializeAws_restJson1ComponentChildList(output.children, context)
1740
1847
  : undefined,
1741
- componentType: smithy_client_1.expectString(output.componentType),
1742
- name: smithy_client_1.expectString(output.name),
1848
+ componentType: (0, smithy_client_1.expectString)(output.componentType),
1849
+ events: output.events !== undefined && output.events !== null
1850
+ ? deserializeAws_restJson1ComponentEvents(output.events, context)
1851
+ : undefined,
1852
+ name: (0, smithy_client_1.expectString)(output.name),
1743
1853
  properties: output.properties !== undefined && output.properties !== null
1744
1854
  ? deserializeAws_restJson1ComponentProperties(output.properties, context)
1745
1855
  : undefined,
@@ -1772,10 +1882,11 @@ const deserializeAws_restJson1ComponentConditionProperty = (output, context) =>
1772
1882
  else: output.else !== undefined && output.else !== null
1773
1883
  ? deserializeAws_restJson1ComponentProperty(output.else, context)
1774
1884
  : undefined,
1775
- field: smithy_client_1.expectString(output.field),
1776
- operand: smithy_client_1.expectString(output.operand),
1777
- operator: smithy_client_1.expectString(output.operator),
1778
- property: smithy_client_1.expectString(output.property),
1885
+ field: (0, smithy_client_1.expectString)(output.field),
1886
+ operand: (0, smithy_client_1.expectString)(output.operand),
1887
+ operandType: (0, smithy_client_1.expectString)(output.operandType),
1888
+ operator: (0, smithy_client_1.expectString)(output.operator),
1889
+ property: (0, smithy_client_1.expectString)(output.property),
1779
1890
  then: output.then !== undefined && output.then !== null
1780
1891
  ? deserializeAws_restJson1ComponentProperty(output.then, context)
1781
1892
  : undefined,
@@ -1786,7 +1897,7 @@ const deserializeAws_restJson1ComponentDataConfiguration = (output, context) =>
1786
1897
  identifiers: output.identifiers !== undefined && output.identifiers !== null
1787
1898
  ? deserializeAws_restJson1IdentifierList(output.identifiers, context)
1788
1899
  : undefined,
1789
- model: smithy_client_1.expectString(output.model),
1900
+ model: (0, smithy_client_1.expectString)(output.model),
1790
1901
  predicate: output.predicate !== undefined && output.predicate !== null
1791
1902
  ? deserializeAws_restJson1Predicate(output.predicate, context)
1792
1903
  : undefined,
@@ -1795,6 +1906,25 @@ const deserializeAws_restJson1ComponentDataConfiguration = (output, context) =>
1795
1906
  : undefined,
1796
1907
  };
1797
1908
  };
1909
+ const deserializeAws_restJson1ComponentEvent = (output, context) => {
1910
+ return {
1911
+ action: (0, smithy_client_1.expectString)(output.action),
1912
+ parameters: output.parameters !== undefined && output.parameters !== null
1913
+ ? deserializeAws_restJson1ActionParameters(output.parameters, context)
1914
+ : undefined,
1915
+ };
1916
+ };
1917
+ const deserializeAws_restJson1ComponentEvents = (output, context) => {
1918
+ return Object.entries(output).reduce((acc, [key, value]) => {
1919
+ if (value === null) {
1920
+ return acc;
1921
+ }
1922
+ return {
1923
+ ...acc,
1924
+ [key]: deserializeAws_restJson1ComponentEvent(value, context),
1925
+ };
1926
+ }, {});
1927
+ };
1798
1928
  const deserializeAws_restJson1ComponentList = (output, context) => {
1799
1929
  const retVal = (output || [])
1800
1930
  .filter((e) => e != null)
@@ -1824,7 +1954,7 @@ const deserializeAws_restJson1ComponentOverridesValue = (output, context) => {
1824
1954
  }
1825
1955
  return {
1826
1956
  ...acc,
1827
- [key]: smithy_client_1.expectString(value),
1957
+ [key]: (0, smithy_client_1.expectString)(value),
1828
1958
  };
1829
1959
  }, {});
1830
1960
  };
@@ -1850,26 +1980,28 @@ const deserializeAws_restJson1ComponentProperty = (output, context) => {
1850
1980
  collectionBindingProperties: output.collectionBindingProperties !== undefined && output.collectionBindingProperties !== null
1851
1981
  ? deserializeAws_restJson1ComponentPropertyBindingProperties(output.collectionBindingProperties, context)
1852
1982
  : undefined,
1983
+ componentName: (0, smithy_client_1.expectString)(output.componentName),
1853
1984
  concat: output.concat !== undefined && output.concat !== null
1854
1985
  ? deserializeAws_restJson1ComponentPropertyList(output.concat, context)
1855
1986
  : undefined,
1856
1987
  condition: output.condition !== undefined && output.condition !== null
1857
1988
  ? deserializeAws_restJson1ComponentConditionProperty(output.condition, context)
1858
1989
  : undefined,
1859
- configured: smithy_client_1.expectBoolean(output.configured),
1860
- defaultValue: smithy_client_1.expectString(output.defaultValue),
1861
- event: smithy_client_1.expectString(output.event),
1862
- importedValue: smithy_client_1.expectString(output.importedValue),
1863
- model: smithy_client_1.expectString(output.model),
1864
- type: smithy_client_1.expectString(output.type),
1865
- userAttribute: smithy_client_1.expectString(output.userAttribute),
1866
- value: smithy_client_1.expectString(output.value),
1990
+ configured: (0, smithy_client_1.expectBoolean)(output.configured),
1991
+ defaultValue: (0, smithy_client_1.expectString)(output.defaultValue),
1992
+ event: (0, smithy_client_1.expectString)(output.event),
1993
+ importedValue: (0, smithy_client_1.expectString)(output.importedValue),
1994
+ model: (0, smithy_client_1.expectString)(output.model),
1995
+ property: (0, smithy_client_1.expectString)(output.property),
1996
+ type: (0, smithy_client_1.expectString)(output.type),
1997
+ userAttribute: (0, smithy_client_1.expectString)(output.userAttribute),
1998
+ value: (0, smithy_client_1.expectString)(output.value),
1867
1999
  };
1868
2000
  };
1869
2001
  const deserializeAws_restJson1ComponentPropertyBindingProperties = (output, context) => {
1870
2002
  return {
1871
- field: smithy_client_1.expectString(output.field),
1872
- property: smithy_client_1.expectString(output.property),
2003
+ field: (0, smithy_client_1.expectString)(output.field),
2004
+ property: (0, smithy_client_1.expectString)(output.property),
1873
2005
  };
1874
2006
  };
1875
2007
  const deserializeAws_restJson1ComponentPropertyList = (output, context) => {
@@ -1885,11 +2017,11 @@ const deserializeAws_restJson1ComponentPropertyList = (output, context) => {
1885
2017
  };
1886
2018
  const deserializeAws_restJson1ComponentSummary = (output, context) => {
1887
2019
  return {
1888
- appId: smithy_client_1.expectString(output.appId),
1889
- componentType: smithy_client_1.expectString(output.componentType),
1890
- environmentName: smithy_client_1.expectString(output.environmentName),
1891
- id: smithy_client_1.expectString(output.id),
1892
- name: smithy_client_1.expectString(output.name),
2020
+ appId: (0, smithy_client_1.expectString)(output.appId),
2021
+ componentType: (0, smithy_client_1.expectString)(output.componentType),
2022
+ environmentName: (0, smithy_client_1.expectString)(output.environmentName),
2023
+ id: (0, smithy_client_1.expectString)(output.id),
2024
+ name: (0, smithy_client_1.expectString)(output.name),
1893
2025
  };
1894
2026
  };
1895
2027
  const deserializeAws_restJson1ComponentSummaryList = (output, context) => {
@@ -1931,14 +2063,14 @@ const deserializeAws_restJson1ComponentVariantValues = (output, context) => {
1931
2063
  }
1932
2064
  return {
1933
2065
  ...acc,
1934
- [key]: smithy_client_1.expectString(value),
2066
+ [key]: (0, smithy_client_1.expectString)(value),
1935
2067
  };
1936
2068
  }, {});
1937
2069
  };
1938
2070
  const deserializeAws_restJson1FormBindingElement = (output, context) => {
1939
2071
  return {
1940
- element: smithy_client_1.expectString(output.element),
1941
- property: smithy_client_1.expectString(output.property),
2072
+ element: (0, smithy_client_1.expectString)(output.element),
2073
+ property: (0, smithy_client_1.expectString)(output.property),
1942
2074
  };
1943
2075
  };
1944
2076
  const deserializeAws_restJson1FormBindings = (output, context) => {
@@ -1959,18 +2091,27 @@ const deserializeAws_restJson1IdentifierList = (output, context) => {
1959
2091
  if (entry === null) {
1960
2092
  return null;
1961
2093
  }
1962
- return smithy_client_1.expectString(entry);
2094
+ return (0, smithy_client_1.expectString)(entry);
1963
2095
  });
1964
2096
  return retVal;
1965
2097
  };
2098
+ const deserializeAws_restJson1MutationActionSetStateParameter = (output, context) => {
2099
+ return {
2100
+ componentName: (0, smithy_client_1.expectString)(output.componentName),
2101
+ property: (0, smithy_client_1.expectString)(output.property),
2102
+ set: output.set !== undefined && output.set !== null
2103
+ ? deserializeAws_restJson1ComponentProperty(output.set, context)
2104
+ : undefined,
2105
+ };
2106
+ };
1966
2107
  const deserializeAws_restJson1Predicate = (output, context) => {
1967
2108
  return {
1968
2109
  and: output.and !== undefined && output.and !== null
1969
2110
  ? deserializeAws_restJson1PredicateList(output.and, context)
1970
2111
  : undefined,
1971
- field: smithy_client_1.expectString(output.field),
1972
- operand: smithy_client_1.expectString(output.operand),
1973
- operator: smithy_client_1.expectString(output.operator),
2112
+ field: (0, smithy_client_1.expectString)(output.field),
2113
+ operand: (0, smithy_client_1.expectString)(output.operand),
2114
+ operator: (0, smithy_client_1.expectString)(output.operator),
1974
2115
  or: output.or !== undefined && output.or !== null
1975
2116
  ? deserializeAws_restJson1PredicateList(output.or, context)
1976
2117
  : undefined,
@@ -1989,8 +2130,8 @@ const deserializeAws_restJson1PredicateList = (output, context) => {
1989
2130
  };
1990
2131
  const deserializeAws_restJson1SortProperty = (output, context) => {
1991
2132
  return {
1992
- direction: smithy_client_1.expectString(output.direction),
1993
- field: smithy_client_1.expectString(output.field),
2133
+ direction: (0, smithy_client_1.expectString)(output.direction),
2134
+ field: (0, smithy_client_1.expectString)(output.field),
1994
2135
  };
1995
2136
  };
1996
2137
  const deserializeAws_restJson1SortPropertyList = (output, context) => {
@@ -2011,22 +2152,22 @@ const deserializeAws_restJson1Tags = (output, context) => {
2011
2152
  }
2012
2153
  return {
2013
2154
  ...acc,
2014
- [key]: smithy_client_1.expectString(value),
2155
+ [key]: (0, smithy_client_1.expectString)(value),
2015
2156
  };
2016
2157
  }, {});
2017
2158
  };
2018
2159
  const deserializeAws_restJson1Theme = (output, context) => {
2019
2160
  return {
2020
- appId: smithy_client_1.expectString(output.appId),
2161
+ appId: (0, smithy_client_1.expectString)(output.appId),
2021
2162
  createdAt: output.createdAt !== undefined && output.createdAt !== null
2022
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.createdAt))
2163
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdAt))
2023
2164
  : undefined,
2024
- environmentName: smithy_client_1.expectString(output.environmentName),
2025
- id: smithy_client_1.expectString(output.id),
2165
+ environmentName: (0, smithy_client_1.expectString)(output.environmentName),
2166
+ id: (0, smithy_client_1.expectString)(output.id),
2026
2167
  modifiedAt: output.modifiedAt !== undefined && output.modifiedAt !== null
2027
- ? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.modifiedAt))
2168
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.modifiedAt))
2028
2169
  : undefined,
2029
- name: smithy_client_1.expectString(output.name),
2170
+ name: (0, smithy_client_1.expectString)(output.name),
2030
2171
  overrides: output.overrides !== undefined && output.overrides !== null
2031
2172
  ? deserializeAws_restJson1ThemeValuesList(output.overrides, context)
2032
2173
  : undefined,
@@ -2051,10 +2192,10 @@ const deserializeAws_restJson1ThemeList = (output, context) => {
2051
2192
  };
2052
2193
  const deserializeAws_restJson1ThemeSummary = (output, context) => {
2053
2194
  return {
2054
- appId: smithy_client_1.expectString(output.appId),
2055
- environmentName: smithy_client_1.expectString(output.environmentName),
2056
- id: smithy_client_1.expectString(output.id),
2057
- name: smithy_client_1.expectString(output.name),
2195
+ appId: (0, smithy_client_1.expectString)(output.appId),
2196
+ environmentName: (0, smithy_client_1.expectString)(output.environmentName),
2197
+ id: (0, smithy_client_1.expectString)(output.id),
2198
+ name: (0, smithy_client_1.expectString)(output.name),
2058
2199
  };
2059
2200
  };
2060
2201
  const deserializeAws_restJson1ThemeSummaryList = (output, context) => {
@@ -2073,12 +2214,12 @@ const deserializeAws_restJson1ThemeValue = (output, context) => {
2073
2214
  children: output.children !== undefined && output.children !== null
2074
2215
  ? deserializeAws_restJson1ThemeValuesList(output.children, context)
2075
2216
  : undefined,
2076
- value: smithy_client_1.expectString(output.value),
2217
+ value: (0, smithy_client_1.expectString)(output.value),
2077
2218
  };
2078
2219
  };
2079
2220
  const deserializeAws_restJson1ThemeValues = (output, context) => {
2080
2221
  return {
2081
- key: smithy_client_1.expectString(output.key),
2222
+ key: (0, smithy_client_1.expectString)(output.key),
2082
2223
  value: output.value !== undefined && output.value !== null
2083
2224
  ? deserializeAws_restJson1ThemeValue(output.value, context)
2084
2225
  : undefined,