@aws-sdk/client-amplifyuibuilder 3.54.1 → 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.
- package/CHANGELOG.md +8 -0
- package/dist-cjs/AmplifyUIBuilderClient.js +13 -13
- package/dist-cjs/commands/CreateComponentCommand.js +3 -3
- package/dist-cjs/commands/CreateThemeCommand.js +3 -3
- package/dist-cjs/commands/DeleteComponentCommand.js +3 -3
- package/dist-cjs/commands/DeleteThemeCommand.js +3 -3
- package/dist-cjs/commands/ExchangeCodeForTokenCommand.js +3 -3
- package/dist-cjs/commands/ExportComponentsCommand.js +3 -3
- package/dist-cjs/commands/ExportThemesCommand.js +3 -3
- package/dist-cjs/commands/GetComponentCommand.js +3 -3
- package/dist-cjs/commands/GetThemeCommand.js +3 -3
- package/dist-cjs/commands/ListComponentsCommand.js +3 -3
- package/dist-cjs/commands/ListThemesCommand.js +3 -3
- package/dist-cjs/commands/RefreshTokenCommand.js +3 -3
- package/dist-cjs/commands/UpdateComponentCommand.js +3 -3
- package/dist-cjs/commands/UpdateThemeCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +146 -146
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/AmplifyUIBuilder.js +14 -14
- package/dist-es/pagination/ExportComponentsPaginator.js +4 -4
- package/dist-es/pagination/ExportThemesPaginator.js +4 -4
- package/dist-es/pagination/ListComponentsPaginator.js +4 -4
- package/dist-es/pagination/ListThemesPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +14 -14
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- 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,7 +254,7 @@ 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.");
|
|
@@ -285,7 +285,7 @@ const serializeAws_restJson1ExportThemesCommand = async (input, context) => {
|
|
|
285
285
|
if (labelValue.length <= 0) {
|
|
286
286
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
287
287
|
}
|
|
288
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
288
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
289
289
|
}
|
|
290
290
|
else {
|
|
291
291
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -295,7 +295,7 @@ const serializeAws_restJson1ExportThemesCommand = async (input, context) => {
|
|
|
295
295
|
if (labelValue.length <= 0) {
|
|
296
296
|
throw new Error("Empty value provided for input HTTP label: environmentName.");
|
|
297
297
|
}
|
|
298
|
-
resolvedPath = resolvedPath.replace("{environmentName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
298
|
+
resolvedPath = resolvedPath.replace("{environmentName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
299
299
|
}
|
|
300
300
|
else {
|
|
301
301
|
throw new Error("No value provided for input HTTP label: environmentName.");
|
|
@@ -326,7 +326,7 @@ const serializeAws_restJson1GetComponentCommand = async (input, context) => {
|
|
|
326
326
|
if (labelValue.length <= 0) {
|
|
327
327
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
328
328
|
}
|
|
329
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
329
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
330
330
|
}
|
|
331
331
|
else {
|
|
332
332
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -336,7 +336,7 @@ const serializeAws_restJson1GetComponentCommand = async (input, context) => {
|
|
|
336
336
|
if (labelValue.length <= 0) {
|
|
337
337
|
throw new Error("Empty value provided for input HTTP label: environmentName.");
|
|
338
338
|
}
|
|
339
|
-
resolvedPath = resolvedPath.replace("{environmentName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
339
|
+
resolvedPath = resolvedPath.replace("{environmentName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
340
340
|
}
|
|
341
341
|
else {
|
|
342
342
|
throw new Error("No value provided for input HTTP label: environmentName.");
|
|
@@ -346,7 +346,7 @@ const serializeAws_restJson1GetComponentCommand = async (input, context) => {
|
|
|
346
346
|
if (labelValue.length <= 0) {
|
|
347
347
|
throw new Error("Empty value provided for input HTTP label: id.");
|
|
348
348
|
}
|
|
349
|
-
resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
349
|
+
resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
350
350
|
}
|
|
351
351
|
else {
|
|
352
352
|
throw new Error("No value provided for input HTTP label: id.");
|
|
@@ -373,7 +373,7 @@ const serializeAws_restJson1GetThemeCommand = async (input, context) => {
|
|
|
373
373
|
if (labelValue.length <= 0) {
|
|
374
374
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
375
375
|
}
|
|
376
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
376
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
377
377
|
}
|
|
378
378
|
else {
|
|
379
379
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -383,7 +383,7 @@ const serializeAws_restJson1GetThemeCommand = async (input, context) => {
|
|
|
383
383
|
if (labelValue.length <= 0) {
|
|
384
384
|
throw new Error("Empty value provided for input HTTP label: environmentName.");
|
|
385
385
|
}
|
|
386
|
-
resolvedPath = resolvedPath.replace("{environmentName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
386
|
+
resolvedPath = resolvedPath.replace("{environmentName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
387
387
|
}
|
|
388
388
|
else {
|
|
389
389
|
throw new Error("No value provided for input HTTP label: environmentName.");
|
|
@@ -393,7 +393,7 @@ const serializeAws_restJson1GetThemeCommand = async (input, context) => {
|
|
|
393
393
|
if (labelValue.length <= 0) {
|
|
394
394
|
throw new Error("Empty value provided for input HTTP label: id.");
|
|
395
395
|
}
|
|
396
|
-
resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
396
|
+
resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
397
397
|
}
|
|
398
398
|
else {
|
|
399
399
|
throw new Error("No value provided for input HTTP label: id.");
|
|
@@ -420,7 +420,7 @@ const serializeAws_restJson1ListComponentsCommand = async (input, context) => {
|
|
|
420
420
|
if (labelValue.length <= 0) {
|
|
421
421
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
422
422
|
}
|
|
423
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
423
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
424
424
|
}
|
|
425
425
|
else {
|
|
426
426
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -430,7 +430,7 @@ const serializeAws_restJson1ListComponentsCommand = async (input, context) => {
|
|
|
430
430
|
if (labelValue.length <= 0) {
|
|
431
431
|
throw new Error("Empty value provided for input HTTP label: environmentName.");
|
|
432
432
|
}
|
|
433
|
-
resolvedPath = resolvedPath.replace("{environmentName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
433
|
+
resolvedPath = resolvedPath.replace("{environmentName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
434
434
|
}
|
|
435
435
|
else {
|
|
436
436
|
throw new Error("No value provided for input HTTP label: environmentName.");
|
|
@@ -462,7 +462,7 @@ const serializeAws_restJson1ListThemesCommand = async (input, context) => {
|
|
|
462
462
|
if (labelValue.length <= 0) {
|
|
463
463
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
464
464
|
}
|
|
465
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
465
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
466
466
|
}
|
|
467
467
|
else {
|
|
468
468
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -472,7 +472,7 @@ const serializeAws_restJson1ListThemesCommand = async (input, context) => {
|
|
|
472
472
|
if (labelValue.length <= 0) {
|
|
473
473
|
throw new Error("Empty value provided for input HTTP label: environmentName.");
|
|
474
474
|
}
|
|
475
|
-
resolvedPath = resolvedPath.replace("{environmentName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
475
|
+
resolvedPath = resolvedPath.replace("{environmentName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
476
476
|
}
|
|
477
477
|
else {
|
|
478
478
|
throw new Error("No value provided for input HTTP label: environmentName.");
|
|
@@ -505,7 +505,7 @@ const serializeAws_restJson1RefreshTokenCommand = async (input, context) => {
|
|
|
505
505
|
if (labelValue.length <= 0) {
|
|
506
506
|
throw new Error("Empty value provided for input HTTP label: provider.");
|
|
507
507
|
}
|
|
508
|
-
resolvedPath = resolvedPath.replace("{provider}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
508
|
+
resolvedPath = resolvedPath.replace("{provider}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
509
509
|
}
|
|
510
510
|
else {
|
|
511
511
|
throw new Error("No value provided for input HTTP label: provider.");
|
|
@@ -541,7 +541,7 @@ const serializeAws_restJson1UpdateComponentCommand = async (input, context) => {
|
|
|
541
541
|
if (labelValue.length <= 0) {
|
|
542
542
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
543
543
|
}
|
|
544
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
544
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
545
545
|
}
|
|
546
546
|
else {
|
|
547
547
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -551,7 +551,7 @@ const serializeAws_restJson1UpdateComponentCommand = async (input, context) => {
|
|
|
551
551
|
if (labelValue.length <= 0) {
|
|
552
552
|
throw new Error("Empty value provided for input HTTP label: environmentName.");
|
|
553
553
|
}
|
|
554
|
-
resolvedPath = resolvedPath.replace("{environmentName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
554
|
+
resolvedPath = resolvedPath.replace("{environmentName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
555
555
|
}
|
|
556
556
|
else {
|
|
557
557
|
throw new Error("No value provided for input HTTP label: environmentName.");
|
|
@@ -561,7 +561,7 @@ const serializeAws_restJson1UpdateComponentCommand = async (input, context) => {
|
|
|
561
561
|
if (labelValue.length <= 0) {
|
|
562
562
|
throw new Error("Empty value provided for input HTTP label: id.");
|
|
563
563
|
}
|
|
564
|
-
resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
564
|
+
resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
565
565
|
}
|
|
566
566
|
else {
|
|
567
567
|
throw new Error("No value provided for input HTTP label: id.");
|
|
@@ -601,7 +601,7 @@ const serializeAws_restJson1UpdateThemeCommand = async (input, context) => {
|
|
|
601
601
|
if (labelValue.length <= 0) {
|
|
602
602
|
throw new Error("Empty value provided for input HTTP label: appId.");
|
|
603
603
|
}
|
|
604
|
-
resolvedPath = resolvedPath.replace("{appId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
604
|
+
resolvedPath = resolvedPath.replace("{appId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
605
605
|
}
|
|
606
606
|
else {
|
|
607
607
|
throw new Error("No value provided for input HTTP label: appId.");
|
|
@@ -611,7 +611,7 @@ const serializeAws_restJson1UpdateThemeCommand = async (input, context) => {
|
|
|
611
611
|
if (labelValue.length <= 0) {
|
|
612
612
|
throw new Error("Empty value provided for input HTTP label: environmentName.");
|
|
613
613
|
}
|
|
614
|
-
resolvedPath = resolvedPath.replace("{environmentName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
614
|
+
resolvedPath = resolvedPath.replace("{environmentName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
615
615
|
}
|
|
616
616
|
else {
|
|
617
617
|
throw new Error("No value provided for input HTTP label: environmentName.");
|
|
@@ -621,7 +621,7 @@ const serializeAws_restJson1UpdateThemeCommand = async (input, context) => {
|
|
|
621
621
|
if (labelValue.length <= 0) {
|
|
622
622
|
throw new Error("Empty value provided for input HTTP label: id.");
|
|
623
623
|
}
|
|
624
|
-
resolvedPath = resolvedPath.replace("{id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
624
|
+
resolvedPath = resolvedPath.replace("{id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
625
625
|
}
|
|
626
626
|
else {
|
|
627
627
|
throw new Error("No value provided for input HTTP label: id.");
|
|
@@ -657,7 +657,7 @@ const deserializeAws_restJson1CreateComponentCommand = async (output, context) =
|
|
|
657
657
|
$metadata: deserializeMetadata(output),
|
|
658
658
|
entity: undefined,
|
|
659
659
|
};
|
|
660
|
-
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
660
|
+
const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
|
|
661
661
|
contents.entity = deserializeAws_restJson1Component(data, context);
|
|
662
662
|
return Promise.resolve(contents);
|
|
663
663
|
};
|
|
@@ -690,7 +690,7 @@ const deserializeAws_restJson1CreateComponentCommandError = async (output, conte
|
|
|
690
690
|
$fault: "client",
|
|
691
691
|
$metadata: deserializeMetadata(output),
|
|
692
692
|
});
|
|
693
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
693
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
694
694
|
}
|
|
695
695
|
};
|
|
696
696
|
const deserializeAws_restJson1CreateThemeCommand = async (output, context) => {
|
|
@@ -701,7 +701,7 @@ const deserializeAws_restJson1CreateThemeCommand = async (output, context) => {
|
|
|
701
701
|
$metadata: deserializeMetadata(output),
|
|
702
702
|
entity: undefined,
|
|
703
703
|
};
|
|
704
|
-
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
704
|
+
const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
|
|
705
705
|
contents.entity = deserializeAws_restJson1Theme(data, context);
|
|
706
706
|
return Promise.resolve(contents);
|
|
707
707
|
};
|
|
@@ -734,7 +734,7 @@ const deserializeAws_restJson1CreateThemeCommandError = async (output, context)
|
|
|
734
734
|
$fault: "client",
|
|
735
735
|
$metadata: deserializeMetadata(output),
|
|
736
736
|
});
|
|
737
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
737
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
738
738
|
}
|
|
739
739
|
};
|
|
740
740
|
const deserializeAws_restJson1DeleteComponentCommand = async (output, context) => {
|
|
@@ -773,7 +773,7 @@ const deserializeAws_restJson1DeleteComponentCommandError = async (output, conte
|
|
|
773
773
|
$fault: "client",
|
|
774
774
|
$metadata: deserializeMetadata(output),
|
|
775
775
|
});
|
|
776
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
776
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
777
777
|
}
|
|
778
778
|
};
|
|
779
779
|
const deserializeAws_restJson1DeleteThemeCommand = async (output, context) => {
|
|
@@ -812,7 +812,7 @@ const deserializeAws_restJson1DeleteThemeCommandError = async (output, context)
|
|
|
812
812
|
$fault: "client",
|
|
813
813
|
$metadata: deserializeMetadata(output),
|
|
814
814
|
});
|
|
815
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
815
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
816
816
|
}
|
|
817
817
|
};
|
|
818
818
|
const deserializeAws_restJson1ExchangeCodeForTokenCommand = async (output, context) => {
|
|
@@ -825,15 +825,15 @@ const deserializeAws_restJson1ExchangeCodeForTokenCommand = async (output, conte
|
|
|
825
825
|
expiresIn: undefined,
|
|
826
826
|
refreshToken: undefined,
|
|
827
827
|
};
|
|
828
|
-
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");
|
|
829
829
|
if (data.accessToken !== undefined && data.accessToken !== null) {
|
|
830
|
-
contents.accessToken = smithy_client_1.expectString(data.accessToken);
|
|
830
|
+
contents.accessToken = (0, smithy_client_1.expectString)(data.accessToken);
|
|
831
831
|
}
|
|
832
832
|
if (data.expiresIn !== undefined && data.expiresIn !== null) {
|
|
833
|
-
contents.expiresIn = smithy_client_1.expectInt32(data.expiresIn);
|
|
833
|
+
contents.expiresIn = (0, smithy_client_1.expectInt32)(data.expiresIn);
|
|
834
834
|
}
|
|
835
835
|
if (data.refreshToken !== undefined && data.refreshToken !== null) {
|
|
836
|
-
contents.refreshToken = smithy_client_1.expectString(data.refreshToken);
|
|
836
|
+
contents.refreshToken = (0, smithy_client_1.expectString)(data.refreshToken);
|
|
837
837
|
}
|
|
838
838
|
return Promise.resolve(contents);
|
|
839
839
|
};
|
|
@@ -857,7 +857,7 @@ const deserializeAws_restJson1ExchangeCodeForTokenCommandError = async (output,
|
|
|
857
857
|
$fault: "client",
|
|
858
858
|
$metadata: deserializeMetadata(output),
|
|
859
859
|
});
|
|
860
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
860
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
861
861
|
}
|
|
862
862
|
};
|
|
863
863
|
const deserializeAws_restJson1ExportComponentsCommand = async (output, context) => {
|
|
@@ -869,12 +869,12 @@ const deserializeAws_restJson1ExportComponentsCommand = async (output, context)
|
|
|
869
869
|
entities: undefined,
|
|
870
870
|
nextToken: undefined,
|
|
871
871
|
};
|
|
872
|
-
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");
|
|
873
873
|
if (data.entities !== undefined && data.entities !== null) {
|
|
874
874
|
contents.entities = deserializeAws_restJson1ComponentList(data.entities, context);
|
|
875
875
|
}
|
|
876
876
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
877
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
877
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
878
878
|
}
|
|
879
879
|
return Promise.resolve(contents);
|
|
880
880
|
};
|
|
@@ -901,7 +901,7 @@ const deserializeAws_restJson1ExportComponentsCommandError = async (output, cont
|
|
|
901
901
|
$fault: "client",
|
|
902
902
|
$metadata: deserializeMetadata(output),
|
|
903
903
|
});
|
|
904
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
904
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
905
905
|
}
|
|
906
906
|
};
|
|
907
907
|
const deserializeAws_restJson1ExportThemesCommand = async (output, context) => {
|
|
@@ -913,12 +913,12 @@ const deserializeAws_restJson1ExportThemesCommand = async (output, context) => {
|
|
|
913
913
|
entities: undefined,
|
|
914
914
|
nextToken: undefined,
|
|
915
915
|
};
|
|
916
|
-
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");
|
|
917
917
|
if (data.entities !== undefined && data.entities !== null) {
|
|
918
918
|
contents.entities = deserializeAws_restJson1ThemeList(data.entities, context);
|
|
919
919
|
}
|
|
920
920
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
921
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
921
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
922
922
|
}
|
|
923
923
|
return Promise.resolve(contents);
|
|
924
924
|
};
|
|
@@ -945,7 +945,7 @@ const deserializeAws_restJson1ExportThemesCommandError = async (output, context)
|
|
|
945
945
|
$fault: "client",
|
|
946
946
|
$metadata: deserializeMetadata(output),
|
|
947
947
|
});
|
|
948
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
948
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
949
949
|
}
|
|
950
950
|
};
|
|
951
951
|
const deserializeAws_restJson1GetComponentCommand = async (output, context) => {
|
|
@@ -956,7 +956,7 @@ const deserializeAws_restJson1GetComponentCommand = async (output, context) => {
|
|
|
956
956
|
$metadata: deserializeMetadata(output),
|
|
957
957
|
component: undefined,
|
|
958
958
|
};
|
|
959
|
-
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
959
|
+
const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
|
|
960
960
|
contents.component = deserializeAws_restJson1Component(data, context);
|
|
961
961
|
return Promise.resolve(contents);
|
|
962
962
|
};
|
|
@@ -986,7 +986,7 @@ const deserializeAws_restJson1GetComponentCommandError = async (output, context)
|
|
|
986
986
|
$fault: "client",
|
|
987
987
|
$metadata: deserializeMetadata(output),
|
|
988
988
|
});
|
|
989
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
989
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
990
990
|
}
|
|
991
991
|
};
|
|
992
992
|
const deserializeAws_restJson1GetThemeCommand = async (output, context) => {
|
|
@@ -997,7 +997,7 @@ const deserializeAws_restJson1GetThemeCommand = async (output, context) => {
|
|
|
997
997
|
$metadata: deserializeMetadata(output),
|
|
998
998
|
theme: undefined,
|
|
999
999
|
};
|
|
1000
|
-
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
1000
|
+
const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
|
|
1001
1001
|
contents.theme = deserializeAws_restJson1Theme(data, context);
|
|
1002
1002
|
return Promise.resolve(contents);
|
|
1003
1003
|
};
|
|
@@ -1027,7 +1027,7 @@ const deserializeAws_restJson1GetThemeCommandError = async (output, context) =>
|
|
|
1027
1027
|
$fault: "client",
|
|
1028
1028
|
$metadata: deserializeMetadata(output),
|
|
1029
1029
|
});
|
|
1030
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1030
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1031
1031
|
}
|
|
1032
1032
|
};
|
|
1033
1033
|
const deserializeAws_restJson1ListComponentsCommand = async (output, context) => {
|
|
@@ -1039,12 +1039,12 @@ const deserializeAws_restJson1ListComponentsCommand = async (output, context) =>
|
|
|
1039
1039
|
entities: undefined,
|
|
1040
1040
|
nextToken: undefined,
|
|
1041
1041
|
};
|
|
1042
|
-
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");
|
|
1043
1043
|
if (data.entities !== undefined && data.entities !== null) {
|
|
1044
1044
|
contents.entities = deserializeAws_restJson1ComponentSummaryList(data.entities, context);
|
|
1045
1045
|
}
|
|
1046
1046
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1047
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1047
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1048
1048
|
}
|
|
1049
1049
|
return Promise.resolve(contents);
|
|
1050
1050
|
};
|
|
@@ -1071,7 +1071,7 @@ const deserializeAws_restJson1ListComponentsCommandError = async (output, contex
|
|
|
1071
1071
|
$fault: "client",
|
|
1072
1072
|
$metadata: deserializeMetadata(output),
|
|
1073
1073
|
});
|
|
1074
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1074
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1075
1075
|
}
|
|
1076
1076
|
};
|
|
1077
1077
|
const deserializeAws_restJson1ListThemesCommand = async (output, context) => {
|
|
@@ -1083,12 +1083,12 @@ const deserializeAws_restJson1ListThemesCommand = async (output, context) => {
|
|
|
1083
1083
|
entities: undefined,
|
|
1084
1084
|
nextToken: undefined,
|
|
1085
1085
|
};
|
|
1086
|
-
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");
|
|
1087
1087
|
if (data.entities !== undefined && data.entities !== null) {
|
|
1088
1088
|
contents.entities = deserializeAws_restJson1ThemeSummaryList(data.entities, context);
|
|
1089
1089
|
}
|
|
1090
1090
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1091
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1091
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1092
1092
|
}
|
|
1093
1093
|
return Promise.resolve(contents);
|
|
1094
1094
|
};
|
|
@@ -1115,7 +1115,7 @@ const deserializeAws_restJson1ListThemesCommandError = async (output, context) =
|
|
|
1115
1115
|
$fault: "client",
|
|
1116
1116
|
$metadata: deserializeMetadata(output),
|
|
1117
1117
|
});
|
|
1118
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1118
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1119
1119
|
}
|
|
1120
1120
|
};
|
|
1121
1121
|
const deserializeAws_restJson1RefreshTokenCommand = async (output, context) => {
|
|
@@ -1127,12 +1127,12 @@ const deserializeAws_restJson1RefreshTokenCommand = async (output, context) => {
|
|
|
1127
1127
|
accessToken: undefined,
|
|
1128
1128
|
expiresIn: undefined,
|
|
1129
1129
|
};
|
|
1130
|
-
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");
|
|
1131
1131
|
if (data.accessToken !== undefined && data.accessToken !== null) {
|
|
1132
|
-
contents.accessToken = smithy_client_1.expectString(data.accessToken);
|
|
1132
|
+
contents.accessToken = (0, smithy_client_1.expectString)(data.accessToken);
|
|
1133
1133
|
}
|
|
1134
1134
|
if (data.expiresIn !== undefined && data.expiresIn !== null) {
|
|
1135
|
-
contents.expiresIn = smithy_client_1.expectInt32(data.expiresIn);
|
|
1135
|
+
contents.expiresIn = (0, smithy_client_1.expectInt32)(data.expiresIn);
|
|
1136
1136
|
}
|
|
1137
1137
|
return Promise.resolve(contents);
|
|
1138
1138
|
};
|
|
@@ -1156,7 +1156,7 @@ const deserializeAws_restJson1RefreshTokenCommandError = async (output, context)
|
|
|
1156
1156
|
$fault: "client",
|
|
1157
1157
|
$metadata: deserializeMetadata(output),
|
|
1158
1158
|
});
|
|
1159
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1159
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1160
1160
|
}
|
|
1161
1161
|
};
|
|
1162
1162
|
const deserializeAws_restJson1UpdateComponentCommand = async (output, context) => {
|
|
@@ -1167,7 +1167,7 @@ const deserializeAws_restJson1UpdateComponentCommand = async (output, context) =
|
|
|
1167
1167
|
$metadata: deserializeMetadata(output),
|
|
1168
1168
|
entity: undefined,
|
|
1169
1169
|
};
|
|
1170
|
-
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
1170
|
+
const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
|
|
1171
1171
|
contents.entity = deserializeAws_restJson1Component(data, context);
|
|
1172
1172
|
return Promise.resolve(contents);
|
|
1173
1173
|
};
|
|
@@ -1197,7 +1197,7 @@ const deserializeAws_restJson1UpdateComponentCommandError = async (output, conte
|
|
|
1197
1197
|
$fault: "client",
|
|
1198
1198
|
$metadata: deserializeMetadata(output),
|
|
1199
1199
|
});
|
|
1200
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1200
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1201
1201
|
}
|
|
1202
1202
|
};
|
|
1203
1203
|
const deserializeAws_restJson1UpdateThemeCommand = async (output, context) => {
|
|
@@ -1208,7 +1208,7 @@ const deserializeAws_restJson1UpdateThemeCommand = async (output, context) => {
|
|
|
1208
1208
|
$metadata: deserializeMetadata(output),
|
|
1209
1209
|
entity: undefined,
|
|
1210
1210
|
};
|
|
1211
|
-
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
1211
|
+
const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
|
|
1212
1212
|
contents.entity = deserializeAws_restJson1Theme(data, context);
|
|
1213
1213
|
return Promise.resolve(contents);
|
|
1214
1214
|
};
|
|
@@ -1238,68 +1238,68 @@ const deserializeAws_restJson1UpdateThemeCommandError = async (output, context)
|
|
|
1238
1238
|
$fault: "client",
|
|
1239
1239
|
$metadata: deserializeMetadata(output),
|
|
1240
1240
|
});
|
|
1241
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1241
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1242
1242
|
}
|
|
1243
1243
|
};
|
|
1244
1244
|
const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
|
|
1245
1245
|
const contents = {};
|
|
1246
1246
|
const data = parsedOutput.body;
|
|
1247
1247
|
if (data.message !== undefined && data.message !== null) {
|
|
1248
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1248
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1249
1249
|
}
|
|
1250
1250
|
const exception = new models_0_1.InternalServerException({
|
|
1251
1251
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1252
1252
|
...contents,
|
|
1253
1253
|
});
|
|
1254
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1254
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1255
1255
|
};
|
|
1256
1256
|
const deserializeAws_restJson1InvalidParameterExceptionResponse = async (parsedOutput, context) => {
|
|
1257
1257
|
const contents = {};
|
|
1258
1258
|
const data = parsedOutput.body;
|
|
1259
1259
|
if (data.message !== undefined && data.message !== null) {
|
|
1260
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1260
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1261
1261
|
}
|
|
1262
1262
|
const exception = new models_0_1.InvalidParameterException({
|
|
1263
1263
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1264
1264
|
...contents,
|
|
1265
1265
|
});
|
|
1266
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1266
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1267
1267
|
};
|
|
1268
1268
|
const deserializeAws_restJson1ResourceConflictExceptionResponse = async (parsedOutput, context) => {
|
|
1269
1269
|
const contents = {};
|
|
1270
1270
|
const data = parsedOutput.body;
|
|
1271
1271
|
if (data.message !== undefined && data.message !== null) {
|
|
1272
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1272
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1273
1273
|
}
|
|
1274
1274
|
const exception = new models_0_1.ResourceConflictException({
|
|
1275
1275
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1276
1276
|
...contents,
|
|
1277
1277
|
});
|
|
1278
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1278
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1279
1279
|
};
|
|
1280
1280
|
const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
1281
1281
|
const contents = {};
|
|
1282
1282
|
const data = parsedOutput.body;
|
|
1283
1283
|
if (data.message !== undefined && data.message !== null) {
|
|
1284
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1284
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1285
1285
|
}
|
|
1286
1286
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
1287
1287
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1288
1288
|
...contents,
|
|
1289
1289
|
});
|
|
1290
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1290
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1291
1291
|
};
|
|
1292
1292
|
const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
|
|
1293
1293
|
const contents = {};
|
|
1294
1294
|
const data = parsedOutput.body;
|
|
1295
1295
|
if (data.message !== undefined && data.message !== null) {
|
|
1296
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1296
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1297
1297
|
}
|
|
1298
1298
|
const exception = new models_0_1.ServiceQuotaExceededException({
|
|
1299
1299
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1300
1300
|
...contents,
|
|
1301
1301
|
});
|
|
1302
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1302
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1303
1303
|
};
|
|
1304
1304
|
const serializeAws_restJson1ActionParameters = (input, context) => {
|
|
1305
1305
|
return {
|
|
@@ -1751,7 +1751,7 @@ const deserializeAws_restJson1ActionParameters = (output, context) => {
|
|
|
1751
1751
|
id: output.id !== undefined && output.id !== null
|
|
1752
1752
|
? deserializeAws_restJson1ComponentProperty(output.id, context)
|
|
1753
1753
|
: undefined,
|
|
1754
|
-
model: smithy_client_1.expectString(output.model),
|
|
1754
|
+
model: (0, smithy_client_1.expectString)(output.model),
|
|
1755
1755
|
state: output.state !== undefined && output.state !== null
|
|
1756
1756
|
? deserializeAws_restJson1MutationActionSetStateParameter(output.state, context)
|
|
1757
1757
|
: undefined,
|
|
@@ -1768,7 +1768,7 @@ const deserializeAws_restJson1ActionParameters = (output, context) => {
|
|
|
1768
1768
|
};
|
|
1769
1769
|
const deserializeAws_restJson1Component = (output, context) => {
|
|
1770
1770
|
return {
|
|
1771
|
-
appId: smithy_client_1.expectString(output.appId),
|
|
1771
|
+
appId: (0, smithy_client_1.expectString)(output.appId),
|
|
1772
1772
|
bindingProperties: output.bindingProperties !== undefined && output.bindingProperties !== null
|
|
1773
1773
|
? deserializeAws_restJson1ComponentBindingProperties(output.bindingProperties, context)
|
|
1774
1774
|
: undefined,
|
|
@@ -1778,27 +1778,27 @@ const deserializeAws_restJson1Component = (output, context) => {
|
|
|
1778
1778
|
collectionProperties: output.collectionProperties !== undefined && output.collectionProperties !== null
|
|
1779
1779
|
? deserializeAws_restJson1ComponentCollectionProperties(output.collectionProperties, context)
|
|
1780
1780
|
: undefined,
|
|
1781
|
-
componentType: smithy_client_1.expectString(output.componentType),
|
|
1781
|
+
componentType: (0, smithy_client_1.expectString)(output.componentType),
|
|
1782
1782
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
1783
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.createdAt))
|
|
1783
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdAt))
|
|
1784
1784
|
: undefined,
|
|
1785
|
-
environmentName: smithy_client_1.expectString(output.environmentName),
|
|
1785
|
+
environmentName: (0, smithy_client_1.expectString)(output.environmentName),
|
|
1786
1786
|
events: output.events !== undefined && output.events !== null
|
|
1787
1787
|
? deserializeAws_restJson1ComponentEvents(output.events, context)
|
|
1788
1788
|
: undefined,
|
|
1789
|
-
id: smithy_client_1.expectString(output.id),
|
|
1789
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
1790
1790
|
modifiedAt: output.modifiedAt !== undefined && output.modifiedAt !== null
|
|
1791
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.modifiedAt))
|
|
1791
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.modifiedAt))
|
|
1792
1792
|
: undefined,
|
|
1793
|
-
name: smithy_client_1.expectString(output.name),
|
|
1793
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
1794
1794
|
overrides: output.overrides !== undefined && output.overrides !== null
|
|
1795
1795
|
? deserializeAws_restJson1ComponentOverrides(output.overrides, context)
|
|
1796
1796
|
: undefined,
|
|
1797
1797
|
properties: output.properties !== undefined && output.properties !== null
|
|
1798
1798
|
? deserializeAws_restJson1ComponentProperties(output.properties, context)
|
|
1799
1799
|
: undefined,
|
|
1800
|
-
schemaVersion: smithy_client_1.expectString(output.schemaVersion),
|
|
1801
|
-
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),
|
|
1802
1802
|
tags: output.tags !== undefined && output.tags !== null
|
|
1803
1803
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
1804
1804
|
: undefined,
|
|
@@ -1823,21 +1823,21 @@ const deserializeAws_restJson1ComponentBindingPropertiesValue = (output, context
|
|
|
1823
1823
|
bindingProperties: output.bindingProperties !== undefined && output.bindingProperties !== null
|
|
1824
1824
|
? deserializeAws_restJson1ComponentBindingPropertiesValueProperties(output.bindingProperties, context)
|
|
1825
1825
|
: undefined,
|
|
1826
|
-
defaultValue: smithy_client_1.expectString(output.defaultValue),
|
|
1827
|
-
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),
|
|
1828
1828
|
};
|
|
1829
1829
|
};
|
|
1830
1830
|
const deserializeAws_restJson1ComponentBindingPropertiesValueProperties = (output, context) => {
|
|
1831
1831
|
return {
|
|
1832
|
-
bucket: smithy_client_1.expectString(output.bucket),
|
|
1833
|
-
defaultValue: smithy_client_1.expectString(output.defaultValue),
|
|
1834
|
-
field: smithy_client_1.expectString(output.field),
|
|
1835
|
-
key: smithy_client_1.expectString(output.key),
|
|
1836
|
-
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),
|
|
1837
1837
|
predicates: output.predicates !== undefined && output.predicates !== null
|
|
1838
1838
|
? deserializeAws_restJson1PredicateList(output.predicates, context)
|
|
1839
1839
|
: undefined,
|
|
1840
|
-
userAttribute: smithy_client_1.expectString(output.userAttribute),
|
|
1840
|
+
userAttribute: (0, smithy_client_1.expectString)(output.userAttribute),
|
|
1841
1841
|
};
|
|
1842
1842
|
};
|
|
1843
1843
|
const deserializeAws_restJson1ComponentChild = (output, context) => {
|
|
@@ -1845,11 +1845,11 @@ const deserializeAws_restJson1ComponentChild = (output, context) => {
|
|
|
1845
1845
|
children: output.children !== undefined && output.children !== null
|
|
1846
1846
|
? deserializeAws_restJson1ComponentChildList(output.children, context)
|
|
1847
1847
|
: undefined,
|
|
1848
|
-
componentType: smithy_client_1.expectString(output.componentType),
|
|
1848
|
+
componentType: (0, smithy_client_1.expectString)(output.componentType),
|
|
1849
1849
|
events: output.events !== undefined && output.events !== null
|
|
1850
1850
|
? deserializeAws_restJson1ComponentEvents(output.events, context)
|
|
1851
1851
|
: undefined,
|
|
1852
|
-
name: smithy_client_1.expectString(output.name),
|
|
1852
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
1853
1853
|
properties: output.properties !== undefined && output.properties !== null
|
|
1854
1854
|
? deserializeAws_restJson1ComponentProperties(output.properties, context)
|
|
1855
1855
|
: undefined,
|
|
@@ -1882,11 +1882,11 @@ const deserializeAws_restJson1ComponentConditionProperty = (output, context) =>
|
|
|
1882
1882
|
else: output.else !== undefined && output.else !== null
|
|
1883
1883
|
? deserializeAws_restJson1ComponentProperty(output.else, context)
|
|
1884
1884
|
: undefined,
|
|
1885
|
-
field: smithy_client_1.expectString(output.field),
|
|
1886
|
-
operand: smithy_client_1.expectString(output.operand),
|
|
1887
|
-
operandType: smithy_client_1.expectString(output.operandType),
|
|
1888
|
-
operator: smithy_client_1.expectString(output.operator),
|
|
1889
|
-
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),
|
|
1890
1890
|
then: output.then !== undefined && output.then !== null
|
|
1891
1891
|
? deserializeAws_restJson1ComponentProperty(output.then, context)
|
|
1892
1892
|
: undefined,
|
|
@@ -1897,7 +1897,7 @@ const deserializeAws_restJson1ComponentDataConfiguration = (output, context) =>
|
|
|
1897
1897
|
identifiers: output.identifiers !== undefined && output.identifiers !== null
|
|
1898
1898
|
? deserializeAws_restJson1IdentifierList(output.identifiers, context)
|
|
1899
1899
|
: undefined,
|
|
1900
|
-
model: smithy_client_1.expectString(output.model),
|
|
1900
|
+
model: (0, smithy_client_1.expectString)(output.model),
|
|
1901
1901
|
predicate: output.predicate !== undefined && output.predicate !== null
|
|
1902
1902
|
? deserializeAws_restJson1Predicate(output.predicate, context)
|
|
1903
1903
|
: undefined,
|
|
@@ -1908,7 +1908,7 @@ const deserializeAws_restJson1ComponentDataConfiguration = (output, context) =>
|
|
|
1908
1908
|
};
|
|
1909
1909
|
const deserializeAws_restJson1ComponentEvent = (output, context) => {
|
|
1910
1910
|
return {
|
|
1911
|
-
action: smithy_client_1.expectString(output.action),
|
|
1911
|
+
action: (0, smithy_client_1.expectString)(output.action),
|
|
1912
1912
|
parameters: output.parameters !== undefined && output.parameters !== null
|
|
1913
1913
|
? deserializeAws_restJson1ActionParameters(output.parameters, context)
|
|
1914
1914
|
: undefined,
|
|
@@ -1954,7 +1954,7 @@ const deserializeAws_restJson1ComponentOverridesValue = (output, context) => {
|
|
|
1954
1954
|
}
|
|
1955
1955
|
return {
|
|
1956
1956
|
...acc,
|
|
1957
|
-
[key]: smithy_client_1.expectString(value),
|
|
1957
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
1958
1958
|
};
|
|
1959
1959
|
}, {});
|
|
1960
1960
|
};
|
|
@@ -1980,28 +1980,28 @@ const deserializeAws_restJson1ComponentProperty = (output, context) => {
|
|
|
1980
1980
|
collectionBindingProperties: output.collectionBindingProperties !== undefined && output.collectionBindingProperties !== null
|
|
1981
1981
|
? deserializeAws_restJson1ComponentPropertyBindingProperties(output.collectionBindingProperties, context)
|
|
1982
1982
|
: undefined,
|
|
1983
|
-
componentName: smithy_client_1.expectString(output.componentName),
|
|
1983
|
+
componentName: (0, smithy_client_1.expectString)(output.componentName),
|
|
1984
1984
|
concat: output.concat !== undefined && output.concat !== null
|
|
1985
1985
|
? deserializeAws_restJson1ComponentPropertyList(output.concat, context)
|
|
1986
1986
|
: undefined,
|
|
1987
1987
|
condition: output.condition !== undefined && output.condition !== null
|
|
1988
1988
|
? deserializeAws_restJson1ComponentConditionProperty(output.condition, context)
|
|
1989
1989
|
: undefined,
|
|
1990
|
-
configured: smithy_client_1.expectBoolean(output.configured),
|
|
1991
|
-
defaultValue: smithy_client_1.expectString(output.defaultValue),
|
|
1992
|
-
event: smithy_client_1.expectString(output.event),
|
|
1993
|
-
importedValue: smithy_client_1.expectString(output.importedValue),
|
|
1994
|
-
model: smithy_client_1.expectString(output.model),
|
|
1995
|
-
property: smithy_client_1.expectString(output.property),
|
|
1996
|
-
type: smithy_client_1.expectString(output.type),
|
|
1997
|
-
userAttribute: smithy_client_1.expectString(output.userAttribute),
|
|
1998
|
-
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),
|
|
1999
1999
|
};
|
|
2000
2000
|
};
|
|
2001
2001
|
const deserializeAws_restJson1ComponentPropertyBindingProperties = (output, context) => {
|
|
2002
2002
|
return {
|
|
2003
|
-
field: smithy_client_1.expectString(output.field),
|
|
2004
|
-
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),
|
|
2005
2005
|
};
|
|
2006
2006
|
};
|
|
2007
2007
|
const deserializeAws_restJson1ComponentPropertyList = (output, context) => {
|
|
@@ -2017,11 +2017,11 @@ const deserializeAws_restJson1ComponentPropertyList = (output, context) => {
|
|
|
2017
2017
|
};
|
|
2018
2018
|
const deserializeAws_restJson1ComponentSummary = (output, context) => {
|
|
2019
2019
|
return {
|
|
2020
|
-
appId: smithy_client_1.expectString(output.appId),
|
|
2021
|
-
componentType: smithy_client_1.expectString(output.componentType),
|
|
2022
|
-
environmentName: smithy_client_1.expectString(output.environmentName),
|
|
2023
|
-
id: smithy_client_1.expectString(output.id),
|
|
2024
|
-
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),
|
|
2025
2025
|
};
|
|
2026
2026
|
};
|
|
2027
2027
|
const deserializeAws_restJson1ComponentSummaryList = (output, context) => {
|
|
@@ -2063,14 +2063,14 @@ const deserializeAws_restJson1ComponentVariantValues = (output, context) => {
|
|
|
2063
2063
|
}
|
|
2064
2064
|
return {
|
|
2065
2065
|
...acc,
|
|
2066
|
-
[key]: smithy_client_1.expectString(value),
|
|
2066
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
2067
2067
|
};
|
|
2068
2068
|
}, {});
|
|
2069
2069
|
};
|
|
2070
2070
|
const deserializeAws_restJson1FormBindingElement = (output, context) => {
|
|
2071
2071
|
return {
|
|
2072
|
-
element: smithy_client_1.expectString(output.element),
|
|
2073
|
-
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),
|
|
2074
2074
|
};
|
|
2075
2075
|
};
|
|
2076
2076
|
const deserializeAws_restJson1FormBindings = (output, context) => {
|
|
@@ -2091,14 +2091,14 @@ const deserializeAws_restJson1IdentifierList = (output, context) => {
|
|
|
2091
2091
|
if (entry === null) {
|
|
2092
2092
|
return null;
|
|
2093
2093
|
}
|
|
2094
|
-
return smithy_client_1.expectString(entry);
|
|
2094
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2095
2095
|
});
|
|
2096
2096
|
return retVal;
|
|
2097
2097
|
};
|
|
2098
2098
|
const deserializeAws_restJson1MutationActionSetStateParameter = (output, context) => {
|
|
2099
2099
|
return {
|
|
2100
|
-
componentName: smithy_client_1.expectString(output.componentName),
|
|
2101
|
-
property: smithy_client_1.expectString(output.property),
|
|
2100
|
+
componentName: (0, smithy_client_1.expectString)(output.componentName),
|
|
2101
|
+
property: (0, smithy_client_1.expectString)(output.property),
|
|
2102
2102
|
set: output.set !== undefined && output.set !== null
|
|
2103
2103
|
? deserializeAws_restJson1ComponentProperty(output.set, context)
|
|
2104
2104
|
: undefined,
|
|
@@ -2109,9 +2109,9 @@ const deserializeAws_restJson1Predicate = (output, context) => {
|
|
|
2109
2109
|
and: output.and !== undefined && output.and !== null
|
|
2110
2110
|
? deserializeAws_restJson1PredicateList(output.and, context)
|
|
2111
2111
|
: undefined,
|
|
2112
|
-
field: smithy_client_1.expectString(output.field),
|
|
2113
|
-
operand: smithy_client_1.expectString(output.operand),
|
|
2114
|
-
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),
|
|
2115
2115
|
or: output.or !== undefined && output.or !== null
|
|
2116
2116
|
? deserializeAws_restJson1PredicateList(output.or, context)
|
|
2117
2117
|
: undefined,
|
|
@@ -2130,8 +2130,8 @@ const deserializeAws_restJson1PredicateList = (output, context) => {
|
|
|
2130
2130
|
};
|
|
2131
2131
|
const deserializeAws_restJson1SortProperty = (output, context) => {
|
|
2132
2132
|
return {
|
|
2133
|
-
direction: smithy_client_1.expectString(output.direction),
|
|
2134
|
-
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),
|
|
2135
2135
|
};
|
|
2136
2136
|
};
|
|
2137
2137
|
const deserializeAws_restJson1SortPropertyList = (output, context) => {
|
|
@@ -2152,22 +2152,22 @@ const deserializeAws_restJson1Tags = (output, context) => {
|
|
|
2152
2152
|
}
|
|
2153
2153
|
return {
|
|
2154
2154
|
...acc,
|
|
2155
|
-
[key]: smithy_client_1.expectString(value),
|
|
2155
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
2156
2156
|
};
|
|
2157
2157
|
}, {});
|
|
2158
2158
|
};
|
|
2159
2159
|
const deserializeAws_restJson1Theme = (output, context) => {
|
|
2160
2160
|
return {
|
|
2161
|
-
appId: smithy_client_1.expectString(output.appId),
|
|
2161
|
+
appId: (0, smithy_client_1.expectString)(output.appId),
|
|
2162
2162
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
2163
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.createdAt))
|
|
2163
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdAt))
|
|
2164
2164
|
: undefined,
|
|
2165
|
-
environmentName: smithy_client_1.expectString(output.environmentName),
|
|
2166
|
-
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),
|
|
2167
2167
|
modifiedAt: output.modifiedAt !== undefined && output.modifiedAt !== null
|
|
2168
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.modifiedAt))
|
|
2168
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.modifiedAt))
|
|
2169
2169
|
: undefined,
|
|
2170
|
-
name: smithy_client_1.expectString(output.name),
|
|
2170
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
2171
2171
|
overrides: output.overrides !== undefined && output.overrides !== null
|
|
2172
2172
|
? deserializeAws_restJson1ThemeValuesList(output.overrides, context)
|
|
2173
2173
|
: undefined,
|
|
@@ -2192,10 +2192,10 @@ const deserializeAws_restJson1ThemeList = (output, context) => {
|
|
|
2192
2192
|
};
|
|
2193
2193
|
const deserializeAws_restJson1ThemeSummary = (output, context) => {
|
|
2194
2194
|
return {
|
|
2195
|
-
appId: smithy_client_1.expectString(output.appId),
|
|
2196
|
-
environmentName: smithy_client_1.expectString(output.environmentName),
|
|
2197
|
-
id: smithy_client_1.expectString(output.id),
|
|
2198
|
-
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),
|
|
2199
2199
|
};
|
|
2200
2200
|
};
|
|
2201
2201
|
const deserializeAws_restJson1ThemeSummaryList = (output, context) => {
|
|
@@ -2214,12 +2214,12 @@ const deserializeAws_restJson1ThemeValue = (output, context) => {
|
|
|
2214
2214
|
children: output.children !== undefined && output.children !== null
|
|
2215
2215
|
? deserializeAws_restJson1ThemeValuesList(output.children, context)
|
|
2216
2216
|
: undefined,
|
|
2217
|
-
value: smithy_client_1.expectString(output.value),
|
|
2217
|
+
value: (0, smithy_client_1.expectString)(output.value),
|
|
2218
2218
|
};
|
|
2219
2219
|
};
|
|
2220
2220
|
const deserializeAws_restJson1ThemeValues = (output, context) => {
|
|
2221
2221
|
return {
|
|
2222
|
-
key: smithy_client_1.expectString(output.key),
|
|
2222
|
+
key: (0, smithy_client_1.expectString)(output.key),
|
|
2223
2223
|
value: output.value !== undefined && output.value !== null
|
|
2224
2224
|
? deserializeAws_restJson1ThemeValue(output.value, context)
|
|
2225
2225
|
: undefined,
|