@aws-sdk/client-amplifyuibuilder 3.210.0 → 3.212.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.
@@ -260,17 +260,11 @@ exports.FormStyleFilterSensitiveLog = FormStyleFilterSensitiveLog;
260
260
  const CreateFormDataFilterSensitiveLog = (obj) => ({
261
261
  ...obj,
262
262
  ...(obj.fields && {
263
- fields: Object.entries(obj.fields).reduce((acc, [key, value]) => ({
264
- ...acc,
265
- [key]: (0, exports.FieldConfigFilterSensitiveLog)(value),
266
- }), {}),
263
+ fields: Object.entries(obj.fields).reduce((acc, [key, value]) => ((acc[key] = (0, exports.FieldConfigFilterSensitiveLog)(value)), acc), {}),
267
264
  }),
268
265
  ...(obj.style && { style: (0, exports.FormStyleFilterSensitiveLog)(obj.style) }),
269
266
  ...(obj.sectionalElements && {
270
- sectionalElements: Object.entries(obj.sectionalElements).reduce((acc, [key, value]) => ({
271
- ...acc,
272
- [key]: (0, exports.SectionalElementFilterSensitiveLog)(value),
273
- }), {}),
267
+ sectionalElements: Object.entries(obj.sectionalElements).reduce((acc, [key, value]) => ((acc[key] = (0, exports.SectionalElementFilterSensitiveLog)(value)), acc), {}),
274
268
  }),
275
269
  ...(obj.cta && { cta: (0, exports.FormCTAFilterSensitiveLog)(obj.cta) }),
276
270
  });
@@ -284,16 +278,10 @@ const FormFilterSensitiveLog = (obj) => ({
284
278
  ...obj,
285
279
  ...(obj.style && { style: (0, exports.FormStyleFilterSensitiveLog)(obj.style) }),
286
280
  ...(obj.fields && {
287
- fields: Object.entries(obj.fields).reduce((acc, [key, value]) => ({
288
- ...acc,
289
- [key]: (0, exports.FieldConfigFilterSensitiveLog)(value),
290
- }), {}),
281
+ fields: Object.entries(obj.fields).reduce((acc, [key, value]) => ((acc[key] = (0, exports.FieldConfigFilterSensitiveLog)(value)), acc), {}),
291
282
  }),
292
283
  ...(obj.sectionalElements && {
293
- sectionalElements: Object.entries(obj.sectionalElements).reduce((acc, [key, value]) => ({
294
- ...acc,
295
- [key]: (0, exports.SectionalElementFilterSensitiveLog)(value),
296
- }), {}),
284
+ sectionalElements: Object.entries(obj.sectionalElements).reduce((acc, [key, value]) => ((acc[key] = (0, exports.SectionalElementFilterSensitiveLog)(value)), acc), {}),
297
285
  }),
298
286
  ...(obj.cta && { cta: (0, exports.FormCTAFilterSensitiveLog)(obj.cta) }),
299
287
  });
@@ -340,17 +328,11 @@ exports.ListFormsResponseFilterSensitiveLog = ListFormsResponseFilterSensitiveLo
340
328
  const UpdateFormDataFilterSensitiveLog = (obj) => ({
341
329
  ...obj,
342
330
  ...(obj.fields && {
343
- fields: Object.entries(obj.fields).reduce((acc, [key, value]) => ({
344
- ...acc,
345
- [key]: (0, exports.FieldConfigFilterSensitiveLog)(value),
346
- }), {}),
331
+ fields: Object.entries(obj.fields).reduce((acc, [key, value]) => ((acc[key] = (0, exports.FieldConfigFilterSensitiveLog)(value)), acc), {}),
347
332
  }),
348
333
  ...(obj.style && { style: (0, exports.FormStyleFilterSensitiveLog)(obj.style) }),
349
334
  ...(obj.sectionalElements && {
350
- sectionalElements: Object.entries(obj.sectionalElements).reduce((acc, [key, value]) => ({
351
- ...acc,
352
- [key]: (0, exports.SectionalElementFilterSensitiveLog)(value),
353
- }), {}),
335
+ sectionalElements: Object.entries(obj.sectionalElements).reduce((acc, [key, value]) => ((acc[key] = (0, exports.SectionalElementFilterSensitiveLog)(value)), acc), {}),
354
336
  }),
355
337
  ...(obj.cta && { cta: (0, exports.FormCTAFilterSensitiveLog)(obj.cta) }),
356
338
  });
@@ -1502,10 +1502,8 @@ const serializeAws_restJson1ComponentBindingProperties = (input, context) => {
1502
1502
  if (value === null) {
1503
1503
  return acc;
1504
1504
  }
1505
- return {
1506
- ...acc,
1507
- [key]: serializeAws_restJson1ComponentBindingPropertiesValue(value, context),
1508
- };
1505
+ acc[key] = serializeAws_restJson1ComponentBindingPropertiesValue(value, context);
1506
+ return acc;
1509
1507
  }, {});
1510
1508
  };
1511
1509
  const serializeAws_restJson1ComponentBindingPropertiesValue = (input, context) => {
@@ -1553,10 +1551,8 @@ const serializeAws_restJson1ComponentCollectionProperties = (input, context) =>
1553
1551
  if (value === null) {
1554
1552
  return acc;
1555
1553
  }
1556
- return {
1557
- ...acc,
1558
- [key]: serializeAws_restJson1ComponentDataConfiguration(value, context),
1559
- };
1554
+ acc[key] = serializeAws_restJson1ComponentDataConfiguration(value, context);
1555
+ return acc;
1560
1556
  }, {});
1561
1557
  };
1562
1558
  const serializeAws_restJson1ComponentConditionProperty = (input, context) => {
@@ -1590,10 +1586,8 @@ const serializeAws_restJson1ComponentEvents = (input, context) => {
1590
1586
  if (value === null) {
1591
1587
  return acc;
1592
1588
  }
1593
- return {
1594
- ...acc,
1595
- [key]: serializeAws_restJson1ComponentEvent(value, context),
1596
- };
1589
+ acc[key] = serializeAws_restJson1ComponentEvent(value, context);
1590
+ return acc;
1597
1591
  }, {});
1598
1592
  };
1599
1593
  const serializeAws_restJson1ComponentOverrides = (input, context) => {
@@ -1601,10 +1595,8 @@ const serializeAws_restJson1ComponentOverrides = (input, context) => {
1601
1595
  if (value === null) {
1602
1596
  return acc;
1603
1597
  }
1604
- return {
1605
- ...acc,
1606
- [key]: serializeAws_restJson1ComponentOverridesValue(value, context),
1607
- };
1598
+ acc[key] = serializeAws_restJson1ComponentOverridesValue(value, context);
1599
+ return acc;
1608
1600
  }, {});
1609
1601
  };
1610
1602
  const serializeAws_restJson1ComponentOverridesValue = (input, context) => {
@@ -1612,10 +1604,8 @@ const serializeAws_restJson1ComponentOverridesValue = (input, context) => {
1612
1604
  if (value === null) {
1613
1605
  return acc;
1614
1606
  }
1615
- return {
1616
- ...acc,
1617
- [key]: value,
1618
- };
1607
+ acc[key] = value;
1608
+ return acc;
1619
1609
  }, {});
1620
1610
  };
1621
1611
  const serializeAws_restJson1ComponentProperties = (input, context) => {
@@ -1623,10 +1613,8 @@ const serializeAws_restJson1ComponentProperties = (input, context) => {
1623
1613
  if (value === null) {
1624
1614
  return acc;
1625
1615
  }
1626
- return {
1627
- ...acc,
1628
- [key]: serializeAws_restJson1ComponentProperty(value, context),
1629
- };
1616
+ acc[key] = serializeAws_restJson1ComponentProperty(value, context);
1617
+ return acc;
1630
1618
  }, {});
1631
1619
  };
1632
1620
  const serializeAws_restJson1ComponentProperty = (input, context) => {
@@ -1687,10 +1675,8 @@ const serializeAws_restJson1ComponentVariantValues = (input, context) => {
1687
1675
  if (value === null) {
1688
1676
  return acc;
1689
1677
  }
1690
- return {
1691
- ...acc,
1692
- [key]: value,
1693
- };
1678
+ acc[key] = value;
1679
+ return acc;
1694
1680
  }, {});
1695
1681
  };
1696
1682
  const serializeAws_restJson1CreateComponentData = (input, context) => {
@@ -1789,10 +1775,8 @@ const serializeAws_restJson1FieldsMap = (input, context) => {
1789
1775
  if (value === null) {
1790
1776
  return acc;
1791
1777
  }
1792
- return {
1793
- ...acc,
1794
- [key]: serializeAws_restJson1FieldConfig(value, context),
1795
- };
1778
+ acc[key] = serializeAws_restJson1FieldConfig(value, context);
1779
+ return acc;
1796
1780
  }, {});
1797
1781
  };
1798
1782
  const serializeAws_restJson1FieldValidationConfiguration = (input, context) => {
@@ -1814,10 +1798,8 @@ const serializeAws_restJson1FormBindings = (input, context) => {
1814
1798
  if (value === null) {
1815
1799
  return acc;
1816
1800
  }
1817
- return {
1818
- ...acc,
1819
- [key]: serializeAws_restJson1FormBindingElement(value, context),
1820
- };
1801
+ acc[key] = serializeAws_restJson1FormBindingElement(value, context);
1802
+ return acc;
1821
1803
  }, {});
1822
1804
  };
1823
1805
  const serializeAws_restJson1FormButton = (input, context) => {
@@ -1927,10 +1909,8 @@ const serializeAws_restJson1SectionalElementMap = (input, context) => {
1927
1909
  if (value === null) {
1928
1910
  return acc;
1929
1911
  }
1930
- return {
1931
- ...acc,
1932
- [key]: serializeAws_restJson1SectionalElement(value, context),
1933
- };
1912
+ acc[key] = serializeAws_restJson1SectionalElement(value, context);
1913
+ return acc;
1934
1914
  }, {});
1935
1915
  };
1936
1916
  const serializeAws_restJson1SortProperty = (input, context) => {
@@ -1958,10 +1938,8 @@ const serializeAws_restJson1Tags = (input, context) => {
1958
1938
  if (value === null) {
1959
1939
  return acc;
1960
1940
  }
1961
- return {
1962
- ...acc,
1963
- [key]: value,
1964
- };
1941
+ acc[key] = value;
1942
+ return acc;
1965
1943
  }, {});
1966
1944
  };
1967
1945
  const serializeAws_restJson1ThemeValue = (input, context) => {
@@ -2097,10 +2075,8 @@ const deserializeAws_restJson1ComponentBindingProperties = (output, context) =>
2097
2075
  if (value === null) {
2098
2076
  return acc;
2099
2077
  }
2100
- return {
2101
- ...acc,
2102
- [key]: deserializeAws_restJson1ComponentBindingPropertiesValue(value, context),
2103
- };
2078
+ acc[key] = deserializeAws_restJson1ComponentBindingPropertiesValue(value, context);
2079
+ return acc;
2104
2080
  }, {});
2105
2081
  };
2106
2082
  const deserializeAws_restJson1ComponentBindingPropertiesValue = (output, context) => {
@@ -2150,10 +2126,8 @@ const deserializeAws_restJson1ComponentCollectionProperties = (output, context)
2150
2126
  if (value === null) {
2151
2127
  return acc;
2152
2128
  }
2153
- return {
2154
- ...acc,
2155
- [key]: deserializeAws_restJson1ComponentDataConfiguration(value, context),
2156
- };
2129
+ acc[key] = deserializeAws_restJson1ComponentDataConfiguration(value, context);
2130
+ return acc;
2157
2131
  }, {});
2158
2132
  };
2159
2133
  const deserializeAws_restJson1ComponentConditionProperty = (output, context) => {
@@ -2187,10 +2161,8 @@ const deserializeAws_restJson1ComponentEvents = (output, context) => {
2187
2161
  if (value === null) {
2188
2162
  return acc;
2189
2163
  }
2190
- return {
2191
- ...acc,
2192
- [key]: deserializeAws_restJson1ComponentEvent(value, context),
2193
- };
2164
+ acc[key] = deserializeAws_restJson1ComponentEvent(value, context);
2165
+ return acc;
2194
2166
  }, {});
2195
2167
  };
2196
2168
  const deserializeAws_restJson1ComponentList = (output, context) => {
@@ -2209,10 +2181,8 @@ const deserializeAws_restJson1ComponentOverrides = (output, context) => {
2209
2181
  if (value === null) {
2210
2182
  return acc;
2211
2183
  }
2212
- return {
2213
- ...acc,
2214
- [key]: deserializeAws_restJson1ComponentOverridesValue(value, context),
2215
- };
2184
+ acc[key] = deserializeAws_restJson1ComponentOverridesValue(value, context);
2185
+ return acc;
2216
2186
  }, {});
2217
2187
  };
2218
2188
  const deserializeAws_restJson1ComponentOverridesValue = (output, context) => {
@@ -2220,10 +2190,8 @@ const deserializeAws_restJson1ComponentOverridesValue = (output, context) => {
2220
2190
  if (value === null) {
2221
2191
  return acc;
2222
2192
  }
2223
- return {
2224
- ...acc,
2225
- [key]: (0, smithy_client_1.expectString)(value),
2226
- };
2193
+ acc[key] = (0, smithy_client_1.expectString)(value);
2194
+ return acc;
2227
2195
  }, {});
2228
2196
  };
2229
2197
  const deserializeAws_restJson1ComponentProperties = (output, context) => {
@@ -2231,10 +2199,8 @@ const deserializeAws_restJson1ComponentProperties = (output, context) => {
2231
2199
  if (value === null) {
2232
2200
  return acc;
2233
2201
  }
2234
- return {
2235
- ...acc,
2236
- [key]: deserializeAws_restJson1ComponentProperty(value, context),
2237
- };
2202
+ acc[key] = deserializeAws_restJson1ComponentProperty(value, context);
2203
+ return acc;
2238
2204
  }, {});
2239
2205
  };
2240
2206
  const deserializeAws_restJson1ComponentProperty = (output, context) => {
@@ -2323,10 +2289,8 @@ const deserializeAws_restJson1ComponentVariantValues = (output, context) => {
2323
2289
  if (value === null) {
2324
2290
  return acc;
2325
2291
  }
2326
- return {
2327
- ...acc,
2328
- [key]: (0, smithy_client_1.expectString)(value),
2329
- };
2292
+ acc[key] = (0, smithy_client_1.expectString)(value);
2293
+ return acc;
2330
2294
  }, {});
2331
2295
  };
2332
2296
  const deserializeAws_restJson1FeaturesMap = (output, context) => {
@@ -2334,10 +2298,8 @@ const deserializeAws_restJson1FeaturesMap = (output, context) => {
2334
2298
  if (value === null) {
2335
2299
  return acc;
2336
2300
  }
2337
- return {
2338
- ...acc,
2339
- [key]: (0, smithy_client_1.expectString)(value),
2340
- };
2301
+ acc[key] = (0, smithy_client_1.expectString)(value);
2302
+ return acc;
2341
2303
  }, {});
2342
2304
  };
2343
2305
  const deserializeAws_restJson1FieldConfig = (output, context) => {
@@ -2387,10 +2349,8 @@ const deserializeAws_restJson1FieldsMap = (output, context) => {
2387
2349
  if (value === null) {
2388
2350
  return acc;
2389
2351
  }
2390
- return {
2391
- ...acc,
2392
- [key]: deserializeAws_restJson1FieldConfig(value, context),
2393
- };
2352
+ acc[key] = deserializeAws_restJson1FieldConfig(value, context);
2353
+ return acc;
2394
2354
  }, {});
2395
2355
  };
2396
2356
  const deserializeAws_restJson1FieldValidationConfiguration = (output, context) => {
@@ -2430,10 +2390,8 @@ const deserializeAws_restJson1FormBindings = (output, context) => {
2430
2390
  if (value === null) {
2431
2391
  return acc;
2432
2392
  }
2433
- return {
2434
- ...acc,
2435
- [key]: deserializeAws_restJson1FormBindingElement(value, context),
2436
- };
2393
+ acc[key] = deserializeAws_restJson1FormBindingElement(value, context);
2394
+ return acc;
2437
2395
  }, {});
2438
2396
  };
2439
2397
  const deserializeAws_restJson1FormButton = (output, context) => {
@@ -2583,10 +2541,8 @@ const deserializeAws_restJson1SectionalElementMap = (output, context) => {
2583
2541
  if (value === null) {
2584
2542
  return acc;
2585
2543
  }
2586
- return {
2587
- ...acc,
2588
- [key]: deserializeAws_restJson1SectionalElement(value, context),
2589
- };
2544
+ acc[key] = deserializeAws_restJson1SectionalElement(value, context);
2545
+ return acc;
2590
2546
  }, {});
2591
2547
  };
2592
2548
  const deserializeAws_restJson1SortProperty = (output, context) => {
@@ -2622,10 +2578,8 @@ const deserializeAws_restJson1Tags = (output, context) => {
2622
2578
  if (value === null) {
2623
2579
  return acc;
2624
2580
  }
2625
- return {
2626
- ...acc,
2627
- [key]: (0, smithy_client_1.expectString)(value),
2628
- };
2581
+ acc[key] = (0, smithy_client_1.expectString)(value);
2582
+ return acc;
2629
2583
  }, {});
2630
2584
  };
2631
2585
  const deserializeAws_restJson1Theme = (output, context) => {
@@ -224,17 +224,11 @@ export const FormStyleFilterSensitiveLog = (obj) => ({
224
224
  export const CreateFormDataFilterSensitiveLog = (obj) => ({
225
225
  ...obj,
226
226
  ...(obj.fields && {
227
- fields: Object.entries(obj.fields).reduce((acc, [key, value]) => ({
228
- ...acc,
229
- [key]: FieldConfigFilterSensitiveLog(value),
230
- }), {}),
227
+ fields: Object.entries(obj.fields).reduce((acc, [key, value]) => ((acc[key] = FieldConfigFilterSensitiveLog(value)), acc), {}),
231
228
  }),
232
229
  ...(obj.style && { style: FormStyleFilterSensitiveLog(obj.style) }),
233
230
  ...(obj.sectionalElements && {
234
- sectionalElements: Object.entries(obj.sectionalElements).reduce((acc, [key, value]) => ({
235
- ...acc,
236
- [key]: SectionalElementFilterSensitiveLog(value),
237
- }), {}),
231
+ sectionalElements: Object.entries(obj.sectionalElements).reduce((acc, [key, value]) => ((acc[key] = SectionalElementFilterSensitiveLog(value)), acc), {}),
238
232
  }),
239
233
  ...(obj.cta && { cta: FormCTAFilterSensitiveLog(obj.cta) }),
240
234
  });
@@ -246,16 +240,10 @@ export const FormFilterSensitiveLog = (obj) => ({
246
240
  ...obj,
247
241
  ...(obj.style && { style: FormStyleFilterSensitiveLog(obj.style) }),
248
242
  ...(obj.fields && {
249
- fields: Object.entries(obj.fields).reduce((acc, [key, value]) => ({
250
- ...acc,
251
- [key]: FieldConfigFilterSensitiveLog(value),
252
- }), {}),
243
+ fields: Object.entries(obj.fields).reduce((acc, [key, value]) => ((acc[key] = FieldConfigFilterSensitiveLog(value)), acc), {}),
253
244
  }),
254
245
  ...(obj.sectionalElements && {
255
- sectionalElements: Object.entries(obj.sectionalElements).reduce((acc, [key, value]) => ({
256
- ...acc,
257
- [key]: SectionalElementFilterSensitiveLog(value),
258
- }), {}),
246
+ sectionalElements: Object.entries(obj.sectionalElements).reduce((acc, [key, value]) => ((acc[key] = SectionalElementFilterSensitiveLog(value)), acc), {}),
259
247
  }),
260
248
  ...(obj.cta && { cta: FormCTAFilterSensitiveLog(obj.cta) }),
261
249
  });
@@ -292,17 +280,11 @@ export const ListFormsResponseFilterSensitiveLog = (obj) => ({
292
280
  export const UpdateFormDataFilterSensitiveLog = (obj) => ({
293
281
  ...obj,
294
282
  ...(obj.fields && {
295
- fields: Object.entries(obj.fields).reduce((acc, [key, value]) => ({
296
- ...acc,
297
- [key]: FieldConfigFilterSensitiveLog(value),
298
- }), {}),
283
+ fields: Object.entries(obj.fields).reduce((acc, [key, value]) => ((acc[key] = FieldConfigFilterSensitiveLog(value)), acc), {}),
299
284
  }),
300
285
  ...(obj.style && { style: FormStyleFilterSensitiveLog(obj.style) }),
301
286
  ...(obj.sectionalElements && {
302
- sectionalElements: Object.entries(obj.sectionalElements).reduce((acc, [key, value]) => ({
303
- ...acc,
304
- [key]: SectionalElementFilterSensitiveLog(value),
305
- }), {}),
287
+ sectionalElements: Object.entries(obj.sectionalElements).reduce((acc, [key, value]) => ((acc[key] = SectionalElementFilterSensitiveLog(value)), acc), {}),
306
288
  }),
307
289
  ...(obj.cta && { cta: FormCTAFilterSensitiveLog(obj.cta) }),
308
290
  });
@@ -1455,10 +1455,8 @@ const serializeAws_restJson1ComponentBindingProperties = (input, context) => {
1455
1455
  if (value === null) {
1456
1456
  return acc;
1457
1457
  }
1458
- return {
1459
- ...acc,
1460
- [key]: serializeAws_restJson1ComponentBindingPropertiesValue(value, context),
1461
- };
1458
+ acc[key] = serializeAws_restJson1ComponentBindingPropertiesValue(value, context);
1459
+ return acc;
1462
1460
  }, {});
1463
1461
  };
1464
1462
  const serializeAws_restJson1ComponentBindingPropertiesValue = (input, context) => {
@@ -1506,10 +1504,8 @@ const serializeAws_restJson1ComponentCollectionProperties = (input, context) =>
1506
1504
  if (value === null) {
1507
1505
  return acc;
1508
1506
  }
1509
- return {
1510
- ...acc,
1511
- [key]: serializeAws_restJson1ComponentDataConfiguration(value, context),
1512
- };
1507
+ acc[key] = serializeAws_restJson1ComponentDataConfiguration(value, context);
1508
+ return acc;
1513
1509
  }, {});
1514
1510
  };
1515
1511
  const serializeAws_restJson1ComponentConditionProperty = (input, context) => {
@@ -1543,10 +1539,8 @@ const serializeAws_restJson1ComponentEvents = (input, context) => {
1543
1539
  if (value === null) {
1544
1540
  return acc;
1545
1541
  }
1546
- return {
1547
- ...acc,
1548
- [key]: serializeAws_restJson1ComponentEvent(value, context),
1549
- };
1542
+ acc[key] = serializeAws_restJson1ComponentEvent(value, context);
1543
+ return acc;
1550
1544
  }, {});
1551
1545
  };
1552
1546
  const serializeAws_restJson1ComponentOverrides = (input, context) => {
@@ -1554,10 +1548,8 @@ const serializeAws_restJson1ComponentOverrides = (input, context) => {
1554
1548
  if (value === null) {
1555
1549
  return acc;
1556
1550
  }
1557
- return {
1558
- ...acc,
1559
- [key]: serializeAws_restJson1ComponentOverridesValue(value, context),
1560
- };
1551
+ acc[key] = serializeAws_restJson1ComponentOverridesValue(value, context);
1552
+ return acc;
1561
1553
  }, {});
1562
1554
  };
1563
1555
  const serializeAws_restJson1ComponentOverridesValue = (input, context) => {
@@ -1565,10 +1557,8 @@ const serializeAws_restJson1ComponentOverridesValue = (input, context) => {
1565
1557
  if (value === null) {
1566
1558
  return acc;
1567
1559
  }
1568
- return {
1569
- ...acc,
1570
- [key]: value,
1571
- };
1560
+ acc[key] = value;
1561
+ return acc;
1572
1562
  }, {});
1573
1563
  };
1574
1564
  const serializeAws_restJson1ComponentProperties = (input, context) => {
@@ -1576,10 +1566,8 @@ const serializeAws_restJson1ComponentProperties = (input, context) => {
1576
1566
  if (value === null) {
1577
1567
  return acc;
1578
1568
  }
1579
- return {
1580
- ...acc,
1581
- [key]: serializeAws_restJson1ComponentProperty(value, context),
1582
- };
1569
+ acc[key] = serializeAws_restJson1ComponentProperty(value, context);
1570
+ return acc;
1583
1571
  }, {});
1584
1572
  };
1585
1573
  const serializeAws_restJson1ComponentProperty = (input, context) => {
@@ -1640,10 +1628,8 @@ const serializeAws_restJson1ComponentVariantValues = (input, context) => {
1640
1628
  if (value === null) {
1641
1629
  return acc;
1642
1630
  }
1643
- return {
1644
- ...acc,
1645
- [key]: value,
1646
- };
1631
+ acc[key] = value;
1632
+ return acc;
1647
1633
  }, {});
1648
1634
  };
1649
1635
  const serializeAws_restJson1CreateComponentData = (input, context) => {
@@ -1742,10 +1728,8 @@ const serializeAws_restJson1FieldsMap = (input, context) => {
1742
1728
  if (value === null) {
1743
1729
  return acc;
1744
1730
  }
1745
- return {
1746
- ...acc,
1747
- [key]: serializeAws_restJson1FieldConfig(value, context),
1748
- };
1731
+ acc[key] = serializeAws_restJson1FieldConfig(value, context);
1732
+ return acc;
1749
1733
  }, {});
1750
1734
  };
1751
1735
  const serializeAws_restJson1FieldValidationConfiguration = (input, context) => {
@@ -1767,10 +1751,8 @@ const serializeAws_restJson1FormBindings = (input, context) => {
1767
1751
  if (value === null) {
1768
1752
  return acc;
1769
1753
  }
1770
- return {
1771
- ...acc,
1772
- [key]: serializeAws_restJson1FormBindingElement(value, context),
1773
- };
1754
+ acc[key] = serializeAws_restJson1FormBindingElement(value, context);
1755
+ return acc;
1774
1756
  }, {});
1775
1757
  };
1776
1758
  const serializeAws_restJson1FormButton = (input, context) => {
@@ -1880,10 +1862,8 @@ const serializeAws_restJson1SectionalElementMap = (input, context) => {
1880
1862
  if (value === null) {
1881
1863
  return acc;
1882
1864
  }
1883
- return {
1884
- ...acc,
1885
- [key]: serializeAws_restJson1SectionalElement(value, context),
1886
- };
1865
+ acc[key] = serializeAws_restJson1SectionalElement(value, context);
1866
+ return acc;
1887
1867
  }, {});
1888
1868
  };
1889
1869
  const serializeAws_restJson1SortProperty = (input, context) => {
@@ -1911,10 +1891,8 @@ const serializeAws_restJson1Tags = (input, context) => {
1911
1891
  if (value === null) {
1912
1892
  return acc;
1913
1893
  }
1914
- return {
1915
- ...acc,
1916
- [key]: value,
1917
- };
1894
+ acc[key] = value;
1895
+ return acc;
1918
1896
  }, {});
1919
1897
  };
1920
1898
  const serializeAws_restJson1ThemeValue = (input, context) => {
@@ -2050,10 +2028,8 @@ const deserializeAws_restJson1ComponentBindingProperties = (output, context) =>
2050
2028
  if (value === null) {
2051
2029
  return acc;
2052
2030
  }
2053
- return {
2054
- ...acc,
2055
- [key]: deserializeAws_restJson1ComponentBindingPropertiesValue(value, context),
2056
- };
2031
+ acc[key] = deserializeAws_restJson1ComponentBindingPropertiesValue(value, context);
2032
+ return acc;
2057
2033
  }, {});
2058
2034
  };
2059
2035
  const deserializeAws_restJson1ComponentBindingPropertiesValue = (output, context) => {
@@ -2103,10 +2079,8 @@ const deserializeAws_restJson1ComponentCollectionProperties = (output, context)
2103
2079
  if (value === null) {
2104
2080
  return acc;
2105
2081
  }
2106
- return {
2107
- ...acc,
2108
- [key]: deserializeAws_restJson1ComponentDataConfiguration(value, context),
2109
- };
2082
+ acc[key] = deserializeAws_restJson1ComponentDataConfiguration(value, context);
2083
+ return acc;
2110
2084
  }, {});
2111
2085
  };
2112
2086
  const deserializeAws_restJson1ComponentConditionProperty = (output, context) => {
@@ -2140,10 +2114,8 @@ const deserializeAws_restJson1ComponentEvents = (output, context) => {
2140
2114
  if (value === null) {
2141
2115
  return acc;
2142
2116
  }
2143
- return {
2144
- ...acc,
2145
- [key]: deserializeAws_restJson1ComponentEvent(value, context),
2146
- };
2117
+ acc[key] = deserializeAws_restJson1ComponentEvent(value, context);
2118
+ return acc;
2147
2119
  }, {});
2148
2120
  };
2149
2121
  const deserializeAws_restJson1ComponentList = (output, context) => {
@@ -2162,10 +2134,8 @@ const deserializeAws_restJson1ComponentOverrides = (output, context) => {
2162
2134
  if (value === null) {
2163
2135
  return acc;
2164
2136
  }
2165
- return {
2166
- ...acc,
2167
- [key]: deserializeAws_restJson1ComponentOverridesValue(value, context),
2168
- };
2137
+ acc[key] = deserializeAws_restJson1ComponentOverridesValue(value, context);
2138
+ return acc;
2169
2139
  }, {});
2170
2140
  };
2171
2141
  const deserializeAws_restJson1ComponentOverridesValue = (output, context) => {
@@ -2173,10 +2143,8 @@ const deserializeAws_restJson1ComponentOverridesValue = (output, context) => {
2173
2143
  if (value === null) {
2174
2144
  return acc;
2175
2145
  }
2176
- return {
2177
- ...acc,
2178
- [key]: __expectString(value),
2179
- };
2146
+ acc[key] = __expectString(value);
2147
+ return acc;
2180
2148
  }, {});
2181
2149
  };
2182
2150
  const deserializeAws_restJson1ComponentProperties = (output, context) => {
@@ -2184,10 +2152,8 @@ const deserializeAws_restJson1ComponentProperties = (output, context) => {
2184
2152
  if (value === null) {
2185
2153
  return acc;
2186
2154
  }
2187
- return {
2188
- ...acc,
2189
- [key]: deserializeAws_restJson1ComponentProperty(value, context),
2190
- };
2155
+ acc[key] = deserializeAws_restJson1ComponentProperty(value, context);
2156
+ return acc;
2191
2157
  }, {});
2192
2158
  };
2193
2159
  const deserializeAws_restJson1ComponentProperty = (output, context) => {
@@ -2276,10 +2242,8 @@ const deserializeAws_restJson1ComponentVariantValues = (output, context) => {
2276
2242
  if (value === null) {
2277
2243
  return acc;
2278
2244
  }
2279
- return {
2280
- ...acc,
2281
- [key]: __expectString(value),
2282
- };
2245
+ acc[key] = __expectString(value);
2246
+ return acc;
2283
2247
  }, {});
2284
2248
  };
2285
2249
  const deserializeAws_restJson1FeaturesMap = (output, context) => {
@@ -2287,10 +2251,8 @@ const deserializeAws_restJson1FeaturesMap = (output, context) => {
2287
2251
  if (value === null) {
2288
2252
  return acc;
2289
2253
  }
2290
- return {
2291
- ...acc,
2292
- [key]: __expectString(value),
2293
- };
2254
+ acc[key] = __expectString(value);
2255
+ return acc;
2294
2256
  }, {});
2295
2257
  };
2296
2258
  const deserializeAws_restJson1FieldConfig = (output, context) => {
@@ -2340,10 +2302,8 @@ const deserializeAws_restJson1FieldsMap = (output, context) => {
2340
2302
  if (value === null) {
2341
2303
  return acc;
2342
2304
  }
2343
- return {
2344
- ...acc,
2345
- [key]: deserializeAws_restJson1FieldConfig(value, context),
2346
- };
2305
+ acc[key] = deserializeAws_restJson1FieldConfig(value, context);
2306
+ return acc;
2347
2307
  }, {});
2348
2308
  };
2349
2309
  const deserializeAws_restJson1FieldValidationConfiguration = (output, context) => {
@@ -2383,10 +2343,8 @@ const deserializeAws_restJson1FormBindings = (output, context) => {
2383
2343
  if (value === null) {
2384
2344
  return acc;
2385
2345
  }
2386
- return {
2387
- ...acc,
2388
- [key]: deserializeAws_restJson1FormBindingElement(value, context),
2389
- };
2346
+ acc[key] = deserializeAws_restJson1FormBindingElement(value, context);
2347
+ return acc;
2390
2348
  }, {});
2391
2349
  };
2392
2350
  const deserializeAws_restJson1FormButton = (output, context) => {
@@ -2536,10 +2494,8 @@ const deserializeAws_restJson1SectionalElementMap = (output, context) => {
2536
2494
  if (value === null) {
2537
2495
  return acc;
2538
2496
  }
2539
- return {
2540
- ...acc,
2541
- [key]: deserializeAws_restJson1SectionalElement(value, context),
2542
- };
2497
+ acc[key] = deserializeAws_restJson1SectionalElement(value, context);
2498
+ return acc;
2543
2499
  }, {});
2544
2500
  };
2545
2501
  const deserializeAws_restJson1SortProperty = (output, context) => {
@@ -2575,10 +2531,8 @@ const deserializeAws_restJson1Tags = (output, context) => {
2575
2531
  if (value === null) {
2576
2532
  return acc;
2577
2533
  }
2578
- return {
2579
- ...acc,
2580
- [key]: __expectString(value),
2581
- };
2534
+ acc[key] = __expectString(value);
2535
+ return acc;
2582
2536
  }, {});
2583
2537
  };
2584
2538
  const deserializeAws_restJson1Theme = (output, context) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-amplifyuibuilder",
3
3
  "description": "AWS SDK for JavaScript Amplifyuibuilder Client for Node.js, Browser and React Native",
4
- "version": "3.210.0",
4
+ "version": "3.212.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19,36 +19,36 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.210.0",
23
- "@aws-sdk/config-resolver": "3.209.0",
24
- "@aws-sdk/credential-provider-node": "3.210.0",
25
- "@aws-sdk/fetch-http-handler": "3.208.0",
26
- "@aws-sdk/hash-node": "3.208.0",
27
- "@aws-sdk/invalid-dependency": "3.208.0",
28
- "@aws-sdk/middleware-content-length": "3.208.0",
29
- "@aws-sdk/middleware-endpoint": "3.208.0",
30
- "@aws-sdk/middleware-host-header": "3.208.0",
31
- "@aws-sdk/middleware-logger": "3.208.0",
32
- "@aws-sdk/middleware-recursion-detection": "3.208.0",
33
- "@aws-sdk/middleware-retry": "3.209.0",
34
- "@aws-sdk/middleware-serde": "3.208.0",
35
- "@aws-sdk/middleware-signing": "3.208.0",
36
- "@aws-sdk/middleware-stack": "3.208.0",
37
- "@aws-sdk/middleware-user-agent": "3.208.0",
38
- "@aws-sdk/node-config-provider": "3.209.0",
39
- "@aws-sdk/node-http-handler": "3.208.0",
40
- "@aws-sdk/protocol-http": "3.208.0",
41
- "@aws-sdk/smithy-client": "3.209.0",
42
- "@aws-sdk/types": "3.208.0",
43
- "@aws-sdk/url-parser": "3.208.0",
22
+ "@aws-sdk/client-sts": "3.212.0",
23
+ "@aws-sdk/config-resolver": "3.212.0",
24
+ "@aws-sdk/credential-provider-node": "3.212.0",
25
+ "@aws-sdk/fetch-http-handler": "3.212.0",
26
+ "@aws-sdk/hash-node": "3.212.0",
27
+ "@aws-sdk/invalid-dependency": "3.212.0",
28
+ "@aws-sdk/middleware-content-length": "3.212.0",
29
+ "@aws-sdk/middleware-endpoint": "3.212.0",
30
+ "@aws-sdk/middleware-host-header": "3.212.0",
31
+ "@aws-sdk/middleware-logger": "3.212.0",
32
+ "@aws-sdk/middleware-recursion-detection": "3.212.0",
33
+ "@aws-sdk/middleware-retry": "3.212.0",
34
+ "@aws-sdk/middleware-serde": "3.212.0",
35
+ "@aws-sdk/middleware-signing": "3.212.0",
36
+ "@aws-sdk/middleware-stack": "3.212.0",
37
+ "@aws-sdk/middleware-user-agent": "3.212.0",
38
+ "@aws-sdk/node-config-provider": "3.212.0",
39
+ "@aws-sdk/node-http-handler": "3.212.0",
40
+ "@aws-sdk/protocol-http": "3.212.0",
41
+ "@aws-sdk/smithy-client": "3.212.0",
42
+ "@aws-sdk/types": "3.212.0",
43
+ "@aws-sdk/url-parser": "3.212.0",
44
44
  "@aws-sdk/util-base64": "3.208.0",
45
45
  "@aws-sdk/util-body-length-browser": "3.188.0",
46
46
  "@aws-sdk/util-body-length-node": "3.208.0",
47
- "@aws-sdk/util-defaults-mode-browser": "3.209.0",
48
- "@aws-sdk/util-defaults-mode-node": "3.209.0",
49
- "@aws-sdk/util-endpoints": "3.210.0",
50
- "@aws-sdk/util-user-agent-browser": "3.208.0",
51
- "@aws-sdk/util-user-agent-node": "3.209.0",
47
+ "@aws-sdk/util-defaults-mode-browser": "3.212.0",
48
+ "@aws-sdk/util-defaults-mode-node": "3.212.0",
49
+ "@aws-sdk/util-endpoints": "3.212.0",
50
+ "@aws-sdk/util-user-agent-browser": "3.212.0",
51
+ "@aws-sdk/util-user-agent-node": "3.212.0",
52
52
  "@aws-sdk/util-utf8-browser": "3.188.0",
53
53
  "@aws-sdk/util-utf8-node": "3.208.0",
54
54
  "tslib": "^2.3.1",