@aws-sdk/client-iottwinmaker 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/IoTTwinMakerClient.js +13 -13
- package/dist-cjs/commands/BatchPutPropertyValuesCommand.js +3 -3
- package/dist-cjs/commands/CreateComponentTypeCommand.js +3 -3
- package/dist-cjs/commands/CreateEntityCommand.js +3 -3
- package/dist-cjs/commands/CreateSceneCommand.js +3 -3
- package/dist-cjs/commands/CreateWorkspaceCommand.js +3 -3
- package/dist-cjs/commands/DeleteComponentTypeCommand.js +3 -3
- package/dist-cjs/commands/DeleteEntityCommand.js +3 -3
- package/dist-cjs/commands/DeleteSceneCommand.js +3 -3
- package/dist-cjs/commands/DeleteWorkspaceCommand.js +3 -3
- package/dist-cjs/commands/GetComponentTypeCommand.js +3 -3
- package/dist-cjs/commands/GetEntityCommand.js +3 -3
- package/dist-cjs/commands/GetPropertyValueCommand.js +3 -3
- package/dist-cjs/commands/GetPropertyValueHistoryCommand.js +3 -3
- package/dist-cjs/commands/GetSceneCommand.js +3 -3
- package/dist-cjs/commands/GetWorkspaceCommand.js +3 -3
- package/dist-cjs/commands/ListComponentTypesCommand.js +3 -3
- package/dist-cjs/commands/ListEntitiesCommand.js +3 -3
- package/dist-cjs/commands/ListScenesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListWorkspacesCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateComponentTypeCommand.js +3 -3
- package/dist-cjs/commands/UpdateEntityCommand.js +3 -3
- package/dist-cjs/commands/UpdateSceneCommand.js +3 -3
- package/dist-cjs/commands/UpdateWorkspaceCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +254 -254
- 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/IoTTwinMaker.js +26 -26
- package/dist-es/pagination/GetPropertyValueHistoryPaginator.js +4 -4
- package/dist-es/pagination/ListComponentTypesPaginator.js +4 -4
- package/dist-es/pagination/ListEntitiesPaginator.js +4 -4
- package/dist-es/pagination/ListScenesPaginator.js +4 -4
- package/dist-es/pagination/ListWorkspacesPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +26 -26
- 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
|
@@ -18,7 +18,7 @@ const serializeAws_restJson1BatchPutPropertyValuesCommand = async (input, contex
|
|
|
18
18
|
if (labelValue.length <= 0) {
|
|
19
19
|
throw new Error("Empty value provided for input HTTP label: workspaceId.");
|
|
20
20
|
}
|
|
21
|
-
resolvedPath = resolvedPath.replace("{workspaceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
21
|
+
resolvedPath = resolvedPath.replace("{workspaceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
22
22
|
}
|
|
23
23
|
else {
|
|
24
24
|
throw new Error("No value provided for input HTTP label: workspaceId.");
|
|
@@ -31,7 +31,7 @@ const serializeAws_restJson1BatchPutPropertyValuesCommand = async (input, contex
|
|
|
31
31
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
32
32
|
if (context.disableHostPrefix !== true) {
|
|
33
33
|
resolvedHostname = "data." + resolvedHostname;
|
|
34
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
34
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
35
35
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -58,7 +58,7 @@ const serializeAws_restJson1CreateComponentTypeCommand = async (input, context)
|
|
|
58
58
|
if (labelValue.length <= 0) {
|
|
59
59
|
throw new Error("Empty value provided for input HTTP label: workspaceId.");
|
|
60
60
|
}
|
|
61
|
-
resolvedPath = resolvedPath.replace("{workspaceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
61
|
+
resolvedPath = resolvedPath.replace("{workspaceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
62
62
|
}
|
|
63
63
|
else {
|
|
64
64
|
throw new Error("No value provided for input HTTP label: workspaceId.");
|
|
@@ -68,7 +68,7 @@ const serializeAws_restJson1CreateComponentTypeCommand = async (input, context)
|
|
|
68
68
|
if (labelValue.length <= 0) {
|
|
69
69
|
throw new Error("Empty value provided for input HTTP label: componentTypeId.");
|
|
70
70
|
}
|
|
71
|
-
resolvedPath = resolvedPath.replace("{componentTypeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
71
|
+
resolvedPath = resolvedPath.replace("{componentTypeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
72
72
|
}
|
|
73
73
|
else {
|
|
74
74
|
throw new Error("No value provided for input HTTP label: componentTypeId.");
|
|
@@ -90,7 +90,7 @@ const serializeAws_restJson1CreateComponentTypeCommand = async (input, context)
|
|
|
90
90
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
91
91
|
if (context.disableHostPrefix !== true) {
|
|
92
92
|
resolvedHostname = "api." + resolvedHostname;
|
|
93
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
93
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
94
94
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
95
95
|
}
|
|
96
96
|
}
|
|
@@ -116,7 +116,7 @@ const serializeAws_restJson1CreateEntityCommand = async (input, context) => {
|
|
|
116
116
|
if (labelValue.length <= 0) {
|
|
117
117
|
throw new Error("Empty value provided for input HTTP label: workspaceId.");
|
|
118
118
|
}
|
|
119
|
-
resolvedPath = resolvedPath.replace("{workspaceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
119
|
+
resolvedPath = resolvedPath.replace("{workspaceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
120
120
|
}
|
|
121
121
|
else {
|
|
122
122
|
throw new Error("No value provided for input HTTP label: workspaceId.");
|
|
@@ -137,7 +137,7 @@ const serializeAws_restJson1CreateEntityCommand = async (input, context) => {
|
|
|
137
137
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
138
138
|
if (context.disableHostPrefix !== true) {
|
|
139
139
|
resolvedHostname = "api." + resolvedHostname;
|
|
140
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
140
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
141
141
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
142
142
|
}
|
|
143
143
|
}
|
|
@@ -163,7 +163,7 @@ const serializeAws_restJson1CreateSceneCommand = async (input, context) => {
|
|
|
163
163
|
if (labelValue.length <= 0) {
|
|
164
164
|
throw new Error("Empty value provided for input HTTP label: workspaceId.");
|
|
165
165
|
}
|
|
166
|
-
resolvedPath = resolvedPath.replace("{workspaceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
166
|
+
resolvedPath = resolvedPath.replace("{workspaceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
167
167
|
}
|
|
168
168
|
else {
|
|
169
169
|
throw new Error("No value provided for input HTTP label: workspaceId.");
|
|
@@ -183,7 +183,7 @@ const serializeAws_restJson1CreateSceneCommand = async (input, context) => {
|
|
|
183
183
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
184
184
|
if (context.disableHostPrefix !== true) {
|
|
185
185
|
resolvedHostname = "api." + resolvedHostname;
|
|
186
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
186
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
187
187
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
188
188
|
}
|
|
189
189
|
}
|
|
@@ -209,7 +209,7 @@ const serializeAws_restJson1CreateWorkspaceCommand = async (input, context) => {
|
|
|
209
209
|
if (labelValue.length <= 0) {
|
|
210
210
|
throw new Error("Empty value provided for input HTTP label: workspaceId.");
|
|
211
211
|
}
|
|
212
|
-
resolvedPath = resolvedPath.replace("{workspaceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
212
|
+
resolvedPath = resolvedPath.replace("{workspaceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
213
213
|
}
|
|
214
214
|
else {
|
|
215
215
|
throw new Error("No value provided for input HTTP label: workspaceId.");
|
|
@@ -224,7 +224,7 @@ const serializeAws_restJson1CreateWorkspaceCommand = async (input, context) => {
|
|
|
224
224
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
225
225
|
if (context.disableHostPrefix !== true) {
|
|
226
226
|
resolvedHostname = "api." + resolvedHostname;
|
|
227
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
227
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
228
228
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
229
229
|
}
|
|
230
230
|
}
|
|
@@ -249,7 +249,7 @@ const serializeAws_restJson1DeleteComponentTypeCommand = async (input, context)
|
|
|
249
249
|
if (labelValue.length <= 0) {
|
|
250
250
|
throw new Error("Empty value provided for input HTTP label: workspaceId.");
|
|
251
251
|
}
|
|
252
|
-
resolvedPath = resolvedPath.replace("{workspaceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
252
|
+
resolvedPath = resolvedPath.replace("{workspaceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
253
253
|
}
|
|
254
254
|
else {
|
|
255
255
|
throw new Error("No value provided for input HTTP label: workspaceId.");
|
|
@@ -259,7 +259,7 @@ const serializeAws_restJson1DeleteComponentTypeCommand = async (input, context)
|
|
|
259
259
|
if (labelValue.length <= 0) {
|
|
260
260
|
throw new Error("Empty value provided for input HTTP label: componentTypeId.");
|
|
261
261
|
}
|
|
262
|
-
resolvedPath = resolvedPath.replace("{componentTypeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
262
|
+
resolvedPath = resolvedPath.replace("{componentTypeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
263
263
|
}
|
|
264
264
|
else {
|
|
265
265
|
throw new Error("No value provided for input HTTP label: componentTypeId.");
|
|
@@ -268,7 +268,7 @@ const serializeAws_restJson1DeleteComponentTypeCommand = async (input, context)
|
|
|
268
268
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
269
269
|
if (context.disableHostPrefix !== true) {
|
|
270
270
|
resolvedHostname = "api." + resolvedHostname;
|
|
271
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
271
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
272
272
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
273
273
|
}
|
|
274
274
|
}
|
|
@@ -293,7 +293,7 @@ const serializeAws_restJson1DeleteEntityCommand = async (input, context) => {
|
|
|
293
293
|
if (labelValue.length <= 0) {
|
|
294
294
|
throw new Error("Empty value provided for input HTTP label: workspaceId.");
|
|
295
295
|
}
|
|
296
|
-
resolvedPath = resolvedPath.replace("{workspaceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
296
|
+
resolvedPath = resolvedPath.replace("{workspaceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
297
297
|
}
|
|
298
298
|
else {
|
|
299
299
|
throw new Error("No value provided for input HTTP label: workspaceId.");
|
|
@@ -303,7 +303,7 @@ const serializeAws_restJson1DeleteEntityCommand = async (input, context) => {
|
|
|
303
303
|
if (labelValue.length <= 0) {
|
|
304
304
|
throw new Error("Empty value provided for input HTTP label: entityId.");
|
|
305
305
|
}
|
|
306
|
-
resolvedPath = resolvedPath.replace("{entityId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
306
|
+
resolvedPath = resolvedPath.replace("{entityId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
307
307
|
}
|
|
308
308
|
else {
|
|
309
309
|
throw new Error("No value provided for input HTTP label: entityId.");
|
|
@@ -315,7 +315,7 @@ const serializeAws_restJson1DeleteEntityCommand = async (input, context) => {
|
|
|
315
315
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
316
316
|
if (context.disableHostPrefix !== true) {
|
|
317
317
|
resolvedHostname = "api." + resolvedHostname;
|
|
318
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
318
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
319
319
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
320
320
|
}
|
|
321
321
|
}
|
|
@@ -341,7 +341,7 @@ const serializeAws_restJson1DeleteSceneCommand = async (input, context) => {
|
|
|
341
341
|
if (labelValue.length <= 0) {
|
|
342
342
|
throw new Error("Empty value provided for input HTTP label: workspaceId.");
|
|
343
343
|
}
|
|
344
|
-
resolvedPath = resolvedPath.replace("{workspaceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
344
|
+
resolvedPath = resolvedPath.replace("{workspaceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
345
345
|
}
|
|
346
346
|
else {
|
|
347
347
|
throw new Error("No value provided for input HTTP label: workspaceId.");
|
|
@@ -351,7 +351,7 @@ const serializeAws_restJson1DeleteSceneCommand = async (input, context) => {
|
|
|
351
351
|
if (labelValue.length <= 0) {
|
|
352
352
|
throw new Error("Empty value provided for input HTTP label: sceneId.");
|
|
353
353
|
}
|
|
354
|
-
resolvedPath = resolvedPath.replace("{sceneId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
354
|
+
resolvedPath = resolvedPath.replace("{sceneId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
355
355
|
}
|
|
356
356
|
else {
|
|
357
357
|
throw new Error("No value provided for input HTTP label: sceneId.");
|
|
@@ -360,7 +360,7 @@ const serializeAws_restJson1DeleteSceneCommand = async (input, context) => {
|
|
|
360
360
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
361
361
|
if (context.disableHostPrefix !== true) {
|
|
362
362
|
resolvedHostname = "api." + resolvedHostname;
|
|
363
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
363
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
364
364
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
365
365
|
}
|
|
366
366
|
}
|
|
@@ -384,7 +384,7 @@ const serializeAws_restJson1DeleteWorkspaceCommand = async (input, context) => {
|
|
|
384
384
|
if (labelValue.length <= 0) {
|
|
385
385
|
throw new Error("Empty value provided for input HTTP label: workspaceId.");
|
|
386
386
|
}
|
|
387
|
-
resolvedPath = resolvedPath.replace("{workspaceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
387
|
+
resolvedPath = resolvedPath.replace("{workspaceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
388
388
|
}
|
|
389
389
|
else {
|
|
390
390
|
throw new Error("No value provided for input HTTP label: workspaceId.");
|
|
@@ -393,7 +393,7 @@ const serializeAws_restJson1DeleteWorkspaceCommand = async (input, context) => {
|
|
|
393
393
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
394
394
|
if (context.disableHostPrefix !== true) {
|
|
395
395
|
resolvedHostname = "api." + resolvedHostname;
|
|
396
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
396
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
397
397
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
398
398
|
}
|
|
399
399
|
}
|
|
@@ -418,7 +418,7 @@ const serializeAws_restJson1GetComponentTypeCommand = async (input, context) =>
|
|
|
418
418
|
if (labelValue.length <= 0) {
|
|
419
419
|
throw new Error("Empty value provided for input HTTP label: workspaceId.");
|
|
420
420
|
}
|
|
421
|
-
resolvedPath = resolvedPath.replace("{workspaceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
421
|
+
resolvedPath = resolvedPath.replace("{workspaceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
422
422
|
}
|
|
423
423
|
else {
|
|
424
424
|
throw new Error("No value provided for input HTTP label: workspaceId.");
|
|
@@ -428,7 +428,7 @@ const serializeAws_restJson1GetComponentTypeCommand = async (input, context) =>
|
|
|
428
428
|
if (labelValue.length <= 0) {
|
|
429
429
|
throw new Error("Empty value provided for input HTTP label: componentTypeId.");
|
|
430
430
|
}
|
|
431
|
-
resolvedPath = resolvedPath.replace("{componentTypeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
431
|
+
resolvedPath = resolvedPath.replace("{componentTypeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
432
432
|
}
|
|
433
433
|
else {
|
|
434
434
|
throw new Error("No value provided for input HTTP label: componentTypeId.");
|
|
@@ -437,7 +437,7 @@ const serializeAws_restJson1GetComponentTypeCommand = async (input, context) =>
|
|
|
437
437
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
438
438
|
if (context.disableHostPrefix !== true) {
|
|
439
439
|
resolvedHostname = "api." + resolvedHostname;
|
|
440
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
440
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
441
441
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
442
442
|
}
|
|
443
443
|
}
|
|
@@ -462,7 +462,7 @@ const serializeAws_restJson1GetEntityCommand = async (input, context) => {
|
|
|
462
462
|
if (labelValue.length <= 0) {
|
|
463
463
|
throw new Error("Empty value provided for input HTTP label: workspaceId.");
|
|
464
464
|
}
|
|
465
|
-
resolvedPath = resolvedPath.replace("{workspaceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
465
|
+
resolvedPath = resolvedPath.replace("{workspaceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
466
466
|
}
|
|
467
467
|
else {
|
|
468
468
|
throw new Error("No value provided for input HTTP label: workspaceId.");
|
|
@@ -472,7 +472,7 @@ const serializeAws_restJson1GetEntityCommand = async (input, context) => {
|
|
|
472
472
|
if (labelValue.length <= 0) {
|
|
473
473
|
throw new Error("Empty value provided for input HTTP label: entityId.");
|
|
474
474
|
}
|
|
475
|
-
resolvedPath = resolvedPath.replace("{entityId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
475
|
+
resolvedPath = resolvedPath.replace("{entityId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
476
476
|
}
|
|
477
477
|
else {
|
|
478
478
|
throw new Error("No value provided for input HTTP label: entityId.");
|
|
@@ -481,7 +481,7 @@ const serializeAws_restJson1GetEntityCommand = async (input, context) => {
|
|
|
481
481
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
482
482
|
if (context.disableHostPrefix !== true) {
|
|
483
483
|
resolvedHostname = "api." + resolvedHostname;
|
|
484
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
484
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
485
485
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
486
486
|
}
|
|
487
487
|
}
|
|
@@ -508,7 +508,7 @@ const serializeAws_restJson1GetPropertyValueCommand = async (input, context) =>
|
|
|
508
508
|
if (labelValue.length <= 0) {
|
|
509
509
|
throw new Error("Empty value provided for input HTTP label: workspaceId.");
|
|
510
510
|
}
|
|
511
|
-
resolvedPath = resolvedPath.replace("{workspaceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
511
|
+
resolvedPath = resolvedPath.replace("{workspaceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
512
512
|
}
|
|
513
513
|
else {
|
|
514
514
|
throw new Error("No value provided for input HTTP label: workspaceId.");
|
|
@@ -527,7 +527,7 @@ const serializeAws_restJson1GetPropertyValueCommand = async (input, context) =>
|
|
|
527
527
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
528
528
|
if (context.disableHostPrefix !== true) {
|
|
529
529
|
resolvedHostname = "data." + resolvedHostname;
|
|
530
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
530
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
531
531
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
532
532
|
}
|
|
533
533
|
}
|
|
@@ -554,7 +554,7 @@ const serializeAws_restJson1GetPropertyValueHistoryCommand = async (input, conte
|
|
|
554
554
|
if (labelValue.length <= 0) {
|
|
555
555
|
throw new Error("Empty value provided for input HTTP label: workspaceId.");
|
|
556
556
|
}
|
|
557
|
-
resolvedPath = resolvedPath.replace("{workspaceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
557
|
+
resolvedPath = resolvedPath.replace("{workspaceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
558
558
|
}
|
|
559
559
|
else {
|
|
560
560
|
throw new Error("No value provided for input HTTP label: workspaceId.");
|
|
@@ -588,7 +588,7 @@ const serializeAws_restJson1GetPropertyValueHistoryCommand = async (input, conte
|
|
|
588
588
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
589
589
|
if (context.disableHostPrefix !== true) {
|
|
590
590
|
resolvedHostname = "data." + resolvedHostname;
|
|
591
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
591
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
592
592
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
593
593
|
}
|
|
594
594
|
}
|
|
@@ -613,7 +613,7 @@ const serializeAws_restJson1GetSceneCommand = async (input, context) => {
|
|
|
613
613
|
if (labelValue.length <= 0) {
|
|
614
614
|
throw new Error("Empty value provided for input HTTP label: workspaceId.");
|
|
615
615
|
}
|
|
616
|
-
resolvedPath = resolvedPath.replace("{workspaceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
616
|
+
resolvedPath = resolvedPath.replace("{workspaceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
617
617
|
}
|
|
618
618
|
else {
|
|
619
619
|
throw new Error("No value provided for input HTTP label: workspaceId.");
|
|
@@ -623,7 +623,7 @@ const serializeAws_restJson1GetSceneCommand = async (input, context) => {
|
|
|
623
623
|
if (labelValue.length <= 0) {
|
|
624
624
|
throw new Error("Empty value provided for input HTTP label: sceneId.");
|
|
625
625
|
}
|
|
626
|
-
resolvedPath = resolvedPath.replace("{sceneId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
626
|
+
resolvedPath = resolvedPath.replace("{sceneId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
627
627
|
}
|
|
628
628
|
else {
|
|
629
629
|
throw new Error("No value provided for input HTTP label: sceneId.");
|
|
@@ -632,7 +632,7 @@ const serializeAws_restJson1GetSceneCommand = async (input, context) => {
|
|
|
632
632
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
633
633
|
if (context.disableHostPrefix !== true) {
|
|
634
634
|
resolvedHostname = "api." + resolvedHostname;
|
|
635
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
635
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
636
636
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
637
637
|
}
|
|
638
638
|
}
|
|
@@ -656,7 +656,7 @@ const serializeAws_restJson1GetWorkspaceCommand = async (input, context) => {
|
|
|
656
656
|
if (labelValue.length <= 0) {
|
|
657
657
|
throw new Error("Empty value provided for input HTTP label: workspaceId.");
|
|
658
658
|
}
|
|
659
|
-
resolvedPath = resolvedPath.replace("{workspaceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
659
|
+
resolvedPath = resolvedPath.replace("{workspaceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
660
660
|
}
|
|
661
661
|
else {
|
|
662
662
|
throw new Error("No value provided for input HTTP label: workspaceId.");
|
|
@@ -665,7 +665,7 @@ const serializeAws_restJson1GetWorkspaceCommand = async (input, context) => {
|
|
|
665
665
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
666
666
|
if (context.disableHostPrefix !== true) {
|
|
667
667
|
resolvedHostname = "api." + resolvedHostname;
|
|
668
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
668
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
669
669
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
670
670
|
}
|
|
671
671
|
}
|
|
@@ -692,7 +692,7 @@ const serializeAws_restJson1ListComponentTypesCommand = async (input, context) =
|
|
|
692
692
|
if (labelValue.length <= 0) {
|
|
693
693
|
throw new Error("Empty value provided for input HTTP label: workspaceId.");
|
|
694
694
|
}
|
|
695
|
-
resolvedPath = resolvedPath.replace("{workspaceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
695
|
+
resolvedPath = resolvedPath.replace("{workspaceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
696
696
|
}
|
|
697
697
|
else {
|
|
698
698
|
throw new Error("No value provided for input HTTP label: workspaceId.");
|
|
@@ -707,7 +707,7 @@ const serializeAws_restJson1ListComponentTypesCommand = async (input, context) =
|
|
|
707
707
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
708
708
|
if (context.disableHostPrefix !== true) {
|
|
709
709
|
resolvedHostname = "api." + resolvedHostname;
|
|
710
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
710
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
711
711
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
712
712
|
}
|
|
713
713
|
}
|
|
@@ -733,7 +733,7 @@ const serializeAws_restJson1ListEntitiesCommand = async (input, context) => {
|
|
|
733
733
|
if (labelValue.length <= 0) {
|
|
734
734
|
throw new Error("Empty value provided for input HTTP label: workspaceId.");
|
|
735
735
|
}
|
|
736
|
-
resolvedPath = resolvedPath.replace("{workspaceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
736
|
+
resolvedPath = resolvedPath.replace("{workspaceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
737
737
|
}
|
|
738
738
|
else {
|
|
739
739
|
throw new Error("No value provided for input HTTP label: workspaceId.");
|
|
@@ -748,7 +748,7 @@ const serializeAws_restJson1ListEntitiesCommand = async (input, context) => {
|
|
|
748
748
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
749
749
|
if (context.disableHostPrefix !== true) {
|
|
750
750
|
resolvedHostname = "api." + resolvedHostname;
|
|
751
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
751
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
752
752
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
753
753
|
}
|
|
754
754
|
}
|
|
@@ -774,7 +774,7 @@ const serializeAws_restJson1ListScenesCommand = async (input, context) => {
|
|
|
774
774
|
if (labelValue.length <= 0) {
|
|
775
775
|
throw new Error("Empty value provided for input HTTP label: workspaceId.");
|
|
776
776
|
}
|
|
777
|
-
resolvedPath = resolvedPath.replace("{workspaceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
777
|
+
resolvedPath = resolvedPath.replace("{workspaceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
778
778
|
}
|
|
779
779
|
else {
|
|
780
780
|
throw new Error("No value provided for input HTTP label: workspaceId.");
|
|
@@ -787,7 +787,7 @@ const serializeAws_restJson1ListScenesCommand = async (input, context) => {
|
|
|
787
787
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
788
788
|
if (context.disableHostPrefix !== true) {
|
|
789
789
|
resolvedHostname = "api." + resolvedHostname;
|
|
790
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
790
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
791
791
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
792
792
|
}
|
|
793
793
|
}
|
|
@@ -817,7 +817,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
817
817
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
818
818
|
if (context.disableHostPrefix !== true) {
|
|
819
819
|
resolvedHostname = "api." + resolvedHostname;
|
|
820
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
820
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
821
821
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
822
822
|
}
|
|
823
823
|
}
|
|
@@ -846,7 +846,7 @@ const serializeAws_restJson1ListWorkspacesCommand = async (input, context) => {
|
|
|
846
846
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
847
847
|
if (context.disableHostPrefix !== true) {
|
|
848
848
|
resolvedHostname = "api." + resolvedHostname;
|
|
849
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
849
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
850
850
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
851
851
|
}
|
|
852
852
|
}
|
|
@@ -875,7 +875,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
875
875
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
876
876
|
if (context.disableHostPrefix !== true) {
|
|
877
877
|
resolvedHostname = "api." + resolvedHostname;
|
|
878
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
878
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
879
879
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
880
880
|
}
|
|
881
881
|
}
|
|
@@ -902,7 +902,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
902
902
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
903
903
|
if (context.disableHostPrefix !== true) {
|
|
904
904
|
resolvedHostname = "api." + resolvedHostname;
|
|
905
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
905
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
906
906
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
907
907
|
}
|
|
908
908
|
}
|
|
@@ -930,7 +930,7 @@ const serializeAws_restJson1UpdateComponentTypeCommand = async (input, context)
|
|
|
930
930
|
if (labelValue.length <= 0) {
|
|
931
931
|
throw new Error("Empty value provided for input HTTP label: workspaceId.");
|
|
932
932
|
}
|
|
933
|
-
resolvedPath = resolvedPath.replace("{workspaceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
933
|
+
resolvedPath = resolvedPath.replace("{workspaceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
934
934
|
}
|
|
935
935
|
else {
|
|
936
936
|
throw new Error("No value provided for input HTTP label: workspaceId.");
|
|
@@ -940,7 +940,7 @@ const serializeAws_restJson1UpdateComponentTypeCommand = async (input, context)
|
|
|
940
940
|
if (labelValue.length <= 0) {
|
|
941
941
|
throw new Error("Empty value provided for input HTTP label: componentTypeId.");
|
|
942
942
|
}
|
|
943
|
-
resolvedPath = resolvedPath.replace("{componentTypeId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
943
|
+
resolvedPath = resolvedPath.replace("{componentTypeId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
944
944
|
}
|
|
945
945
|
else {
|
|
946
946
|
throw new Error("No value provided for input HTTP label: componentTypeId.");
|
|
@@ -961,7 +961,7 @@ const serializeAws_restJson1UpdateComponentTypeCommand = async (input, context)
|
|
|
961
961
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
962
962
|
if (context.disableHostPrefix !== true) {
|
|
963
963
|
resolvedHostname = "api." + resolvedHostname;
|
|
964
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
964
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
965
965
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
966
966
|
}
|
|
967
967
|
}
|
|
@@ -988,7 +988,7 @@ const serializeAws_restJson1UpdateEntityCommand = async (input, context) => {
|
|
|
988
988
|
if (labelValue.length <= 0) {
|
|
989
989
|
throw new Error("Empty value provided for input HTTP label: workspaceId.");
|
|
990
990
|
}
|
|
991
|
-
resolvedPath = resolvedPath.replace("{workspaceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
991
|
+
resolvedPath = resolvedPath.replace("{workspaceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
992
992
|
}
|
|
993
993
|
else {
|
|
994
994
|
throw new Error("No value provided for input HTTP label: workspaceId.");
|
|
@@ -998,7 +998,7 @@ const serializeAws_restJson1UpdateEntityCommand = async (input, context) => {
|
|
|
998
998
|
if (labelValue.length <= 0) {
|
|
999
999
|
throw new Error("Empty value provided for input HTTP label: entityId.");
|
|
1000
1000
|
}
|
|
1001
|
-
resolvedPath = resolvedPath.replace("{entityId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1001
|
+
resolvedPath = resolvedPath.replace("{entityId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1002
1002
|
}
|
|
1003
1003
|
else {
|
|
1004
1004
|
throw new Error("No value provided for input HTTP label: entityId.");
|
|
@@ -1019,7 +1019,7 @@ const serializeAws_restJson1UpdateEntityCommand = async (input, context) => {
|
|
|
1019
1019
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1020
1020
|
if (context.disableHostPrefix !== true) {
|
|
1021
1021
|
resolvedHostname = "api." + resolvedHostname;
|
|
1022
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
1022
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1023
1023
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1024
1024
|
}
|
|
1025
1025
|
}
|
|
@@ -1046,7 +1046,7 @@ const serializeAws_restJson1UpdateSceneCommand = async (input, context) => {
|
|
|
1046
1046
|
if (labelValue.length <= 0) {
|
|
1047
1047
|
throw new Error("Empty value provided for input HTTP label: workspaceId.");
|
|
1048
1048
|
}
|
|
1049
|
-
resolvedPath = resolvedPath.replace("{workspaceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1049
|
+
resolvedPath = resolvedPath.replace("{workspaceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1050
1050
|
}
|
|
1051
1051
|
else {
|
|
1052
1052
|
throw new Error("No value provided for input HTTP label: workspaceId.");
|
|
@@ -1056,7 +1056,7 @@ const serializeAws_restJson1UpdateSceneCommand = async (input, context) => {
|
|
|
1056
1056
|
if (labelValue.length <= 0) {
|
|
1057
1057
|
throw new Error("Empty value provided for input HTTP label: sceneId.");
|
|
1058
1058
|
}
|
|
1059
|
-
resolvedPath = resolvedPath.replace("{sceneId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1059
|
+
resolvedPath = resolvedPath.replace("{sceneId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1060
1060
|
}
|
|
1061
1061
|
else {
|
|
1062
1062
|
throw new Error("No value provided for input HTTP label: sceneId.");
|
|
@@ -1074,7 +1074,7 @@ const serializeAws_restJson1UpdateSceneCommand = async (input, context) => {
|
|
|
1074
1074
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1075
1075
|
if (context.disableHostPrefix !== true) {
|
|
1076
1076
|
resolvedHostname = "api." + resolvedHostname;
|
|
1077
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
1077
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1078
1078
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1079
1079
|
}
|
|
1080
1080
|
}
|
|
@@ -1100,7 +1100,7 @@ const serializeAws_restJson1UpdateWorkspaceCommand = async (input, context) => {
|
|
|
1100
1100
|
if (labelValue.length <= 0) {
|
|
1101
1101
|
throw new Error("Empty value provided for input HTTP label: workspaceId.");
|
|
1102
1102
|
}
|
|
1103
|
-
resolvedPath = resolvedPath.replace("{workspaceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1103
|
+
resolvedPath = resolvedPath.replace("{workspaceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1104
1104
|
}
|
|
1105
1105
|
else {
|
|
1106
1106
|
throw new Error("No value provided for input HTTP label: workspaceId.");
|
|
@@ -1113,7 +1113,7 @@ const serializeAws_restJson1UpdateWorkspaceCommand = async (input, context) => {
|
|
|
1113
1113
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1114
1114
|
if (context.disableHostPrefix !== true) {
|
|
1115
1115
|
resolvedHostname = "api." + resolvedHostname;
|
|
1116
|
-
if (!protocol_http_1.isValidHostname(resolvedHostname)) {
|
|
1116
|
+
if (!(0, protocol_http_1.isValidHostname)(resolvedHostname)) {
|
|
1117
1117
|
throw new Error("ValidationError: prefixed hostname must be hostname compatible.");
|
|
1118
1118
|
}
|
|
1119
1119
|
}
|
|
@@ -1136,7 +1136,7 @@ const deserializeAws_restJson1BatchPutPropertyValuesCommand = async (output, con
|
|
|
1136
1136
|
$metadata: deserializeMetadata(output),
|
|
1137
1137
|
errorEntries: undefined,
|
|
1138
1138
|
};
|
|
1139
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1139
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1140
1140
|
if (data.errorEntries !== undefined && data.errorEntries !== null) {
|
|
1141
1141
|
contents.errorEntries = deserializeAws_restJson1ErrorEntries(data.errorEntries, context);
|
|
1142
1142
|
}
|
|
@@ -1171,7 +1171,7 @@ const deserializeAws_restJson1BatchPutPropertyValuesCommandError = async (output
|
|
|
1171
1171
|
$fault: "client",
|
|
1172
1172
|
$metadata: deserializeMetadata(output),
|
|
1173
1173
|
});
|
|
1174
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1174
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1175
1175
|
}
|
|
1176
1176
|
};
|
|
1177
1177
|
const deserializeAws_restJson1CreateComponentTypeCommand = async (output, context) => {
|
|
@@ -1184,15 +1184,15 @@ const deserializeAws_restJson1CreateComponentTypeCommand = async (output, contex
|
|
|
1184
1184
|
creationDateTime: undefined,
|
|
1185
1185
|
state: undefined,
|
|
1186
1186
|
};
|
|
1187
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1187
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1188
1188
|
if (data.arn !== undefined && data.arn !== null) {
|
|
1189
|
-
contents.arn = smithy_client_1.expectString(data.arn);
|
|
1189
|
+
contents.arn = (0, smithy_client_1.expectString)(data.arn);
|
|
1190
1190
|
}
|
|
1191
1191
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
1192
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
1192
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
1193
1193
|
}
|
|
1194
1194
|
if (data.state !== undefined && data.state !== null) {
|
|
1195
|
-
contents.state = smithy_client_1.expectString(data.state);
|
|
1195
|
+
contents.state = (0, smithy_client_1.expectString)(data.state);
|
|
1196
1196
|
}
|
|
1197
1197
|
return Promise.resolve(contents);
|
|
1198
1198
|
};
|
|
@@ -1231,7 +1231,7 @@ const deserializeAws_restJson1CreateComponentTypeCommandError = async (output, c
|
|
|
1231
1231
|
$fault: "client",
|
|
1232
1232
|
$metadata: deserializeMetadata(output),
|
|
1233
1233
|
});
|
|
1234
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1234
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1235
1235
|
}
|
|
1236
1236
|
};
|
|
1237
1237
|
const deserializeAws_restJson1CreateEntityCommand = async (output, context) => {
|
|
@@ -1245,18 +1245,18 @@ const deserializeAws_restJson1CreateEntityCommand = async (output, context) => {
|
|
|
1245
1245
|
entityId: undefined,
|
|
1246
1246
|
state: undefined,
|
|
1247
1247
|
};
|
|
1248
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1248
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1249
1249
|
if (data.arn !== undefined && data.arn !== null) {
|
|
1250
|
-
contents.arn = smithy_client_1.expectString(data.arn);
|
|
1250
|
+
contents.arn = (0, smithy_client_1.expectString)(data.arn);
|
|
1251
1251
|
}
|
|
1252
1252
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
1253
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
1253
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
1254
1254
|
}
|
|
1255
1255
|
if (data.entityId !== undefined && data.entityId !== null) {
|
|
1256
|
-
contents.entityId = smithy_client_1.expectString(data.entityId);
|
|
1256
|
+
contents.entityId = (0, smithy_client_1.expectString)(data.entityId);
|
|
1257
1257
|
}
|
|
1258
1258
|
if (data.state !== undefined && data.state !== null) {
|
|
1259
|
-
contents.state = smithy_client_1.expectString(data.state);
|
|
1259
|
+
contents.state = (0, smithy_client_1.expectString)(data.state);
|
|
1260
1260
|
}
|
|
1261
1261
|
return Promise.resolve(contents);
|
|
1262
1262
|
};
|
|
@@ -1295,7 +1295,7 @@ const deserializeAws_restJson1CreateEntityCommandError = async (output, context)
|
|
|
1295
1295
|
$fault: "client",
|
|
1296
1296
|
$metadata: deserializeMetadata(output),
|
|
1297
1297
|
});
|
|
1298
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1298
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1299
1299
|
}
|
|
1300
1300
|
};
|
|
1301
1301
|
const deserializeAws_restJson1CreateSceneCommand = async (output, context) => {
|
|
@@ -1307,12 +1307,12 @@ const deserializeAws_restJson1CreateSceneCommand = async (output, context) => {
|
|
|
1307
1307
|
arn: undefined,
|
|
1308
1308
|
creationDateTime: undefined,
|
|
1309
1309
|
};
|
|
1310
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1310
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1311
1311
|
if (data.arn !== undefined && data.arn !== null) {
|
|
1312
|
-
contents.arn = smithy_client_1.expectString(data.arn);
|
|
1312
|
+
contents.arn = (0, smithy_client_1.expectString)(data.arn);
|
|
1313
1313
|
}
|
|
1314
1314
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
1315
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
1315
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
1316
1316
|
}
|
|
1317
1317
|
return Promise.resolve(contents);
|
|
1318
1318
|
};
|
|
@@ -1351,7 +1351,7 @@ const deserializeAws_restJson1CreateSceneCommandError = async (output, context)
|
|
|
1351
1351
|
$fault: "client",
|
|
1352
1352
|
$metadata: deserializeMetadata(output),
|
|
1353
1353
|
});
|
|
1354
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1354
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1355
1355
|
}
|
|
1356
1356
|
};
|
|
1357
1357
|
const deserializeAws_restJson1CreateWorkspaceCommand = async (output, context) => {
|
|
@@ -1363,12 +1363,12 @@ const deserializeAws_restJson1CreateWorkspaceCommand = async (output, context) =
|
|
|
1363
1363
|
arn: undefined,
|
|
1364
1364
|
creationDateTime: undefined,
|
|
1365
1365
|
};
|
|
1366
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1366
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1367
1367
|
if (data.arn !== undefined && data.arn !== null) {
|
|
1368
|
-
contents.arn = smithy_client_1.expectString(data.arn);
|
|
1368
|
+
contents.arn = (0, smithy_client_1.expectString)(data.arn);
|
|
1369
1369
|
}
|
|
1370
1370
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
1371
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
1371
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
1372
1372
|
}
|
|
1373
1373
|
return Promise.resolve(contents);
|
|
1374
1374
|
};
|
|
@@ -1407,7 +1407,7 @@ const deserializeAws_restJson1CreateWorkspaceCommandError = async (output, conte
|
|
|
1407
1407
|
$fault: "client",
|
|
1408
1408
|
$metadata: deserializeMetadata(output),
|
|
1409
1409
|
});
|
|
1410
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1410
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1411
1411
|
}
|
|
1412
1412
|
};
|
|
1413
1413
|
const deserializeAws_restJson1DeleteComponentTypeCommand = async (output, context) => {
|
|
@@ -1418,9 +1418,9 @@ const deserializeAws_restJson1DeleteComponentTypeCommand = async (output, contex
|
|
|
1418
1418
|
$metadata: deserializeMetadata(output),
|
|
1419
1419
|
state: undefined,
|
|
1420
1420
|
};
|
|
1421
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1421
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1422
1422
|
if (data.state !== undefined && data.state !== null) {
|
|
1423
|
-
contents.state = smithy_client_1.expectString(data.state);
|
|
1423
|
+
contents.state = (0, smithy_client_1.expectString)(data.state);
|
|
1424
1424
|
}
|
|
1425
1425
|
return Promise.resolve(contents);
|
|
1426
1426
|
};
|
|
@@ -1456,7 +1456,7 @@ const deserializeAws_restJson1DeleteComponentTypeCommandError = async (output, c
|
|
|
1456
1456
|
$fault: "client",
|
|
1457
1457
|
$metadata: deserializeMetadata(output),
|
|
1458
1458
|
});
|
|
1459
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1459
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1460
1460
|
}
|
|
1461
1461
|
};
|
|
1462
1462
|
const deserializeAws_restJson1DeleteEntityCommand = async (output, context) => {
|
|
@@ -1467,9 +1467,9 @@ const deserializeAws_restJson1DeleteEntityCommand = async (output, context) => {
|
|
|
1467
1467
|
$metadata: deserializeMetadata(output),
|
|
1468
1468
|
state: undefined,
|
|
1469
1469
|
};
|
|
1470
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1470
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1471
1471
|
if (data.state !== undefined && data.state !== null) {
|
|
1472
|
-
contents.state = smithy_client_1.expectString(data.state);
|
|
1472
|
+
contents.state = (0, smithy_client_1.expectString)(data.state);
|
|
1473
1473
|
}
|
|
1474
1474
|
return Promise.resolve(contents);
|
|
1475
1475
|
};
|
|
@@ -1505,7 +1505,7 @@ const deserializeAws_restJson1DeleteEntityCommandError = async (output, context)
|
|
|
1505
1505
|
$fault: "client",
|
|
1506
1506
|
$metadata: deserializeMetadata(output),
|
|
1507
1507
|
});
|
|
1508
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1508
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1509
1509
|
}
|
|
1510
1510
|
};
|
|
1511
1511
|
const deserializeAws_restJson1DeleteSceneCommand = async (output, context) => {
|
|
@@ -1550,7 +1550,7 @@ const deserializeAws_restJson1DeleteSceneCommandError = async (output, context)
|
|
|
1550
1550
|
$fault: "client",
|
|
1551
1551
|
$metadata: deserializeMetadata(output),
|
|
1552
1552
|
});
|
|
1553
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1553
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1554
1554
|
}
|
|
1555
1555
|
};
|
|
1556
1556
|
const deserializeAws_restJson1DeleteWorkspaceCommand = async (output, context) => {
|
|
@@ -1595,7 +1595,7 @@ const deserializeAws_restJson1DeleteWorkspaceCommandError = async (output, conte
|
|
|
1595
1595
|
$fault: "client",
|
|
1596
1596
|
$metadata: deserializeMetadata(output),
|
|
1597
1597
|
});
|
|
1598
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1598
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1599
1599
|
}
|
|
1600
1600
|
};
|
|
1601
1601
|
const deserializeAws_restJson1GetComponentTypeCommand = async (output, context) => {
|
|
@@ -1618,18 +1618,18 @@ const deserializeAws_restJson1GetComponentTypeCommand = async (output, context)
|
|
|
1618
1618
|
updateDateTime: undefined,
|
|
1619
1619
|
workspaceId: undefined,
|
|
1620
1620
|
};
|
|
1621
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1621
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1622
1622
|
if (data.arn !== undefined && data.arn !== null) {
|
|
1623
|
-
contents.arn = smithy_client_1.expectString(data.arn);
|
|
1623
|
+
contents.arn = (0, smithy_client_1.expectString)(data.arn);
|
|
1624
1624
|
}
|
|
1625
1625
|
if (data.componentTypeId !== undefined && data.componentTypeId !== null) {
|
|
1626
|
-
contents.componentTypeId = smithy_client_1.expectString(data.componentTypeId);
|
|
1626
|
+
contents.componentTypeId = (0, smithy_client_1.expectString)(data.componentTypeId);
|
|
1627
1627
|
}
|
|
1628
1628
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
1629
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
1629
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
1630
1630
|
}
|
|
1631
1631
|
if (data.description !== undefined && data.description !== null) {
|
|
1632
|
-
contents.description = smithy_client_1.expectString(data.description);
|
|
1632
|
+
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
1633
1633
|
}
|
|
1634
1634
|
if (data.extendsFrom !== undefined && data.extendsFrom !== null) {
|
|
1635
1635
|
contents.extendsFrom = deserializeAws_restJson1ExtendsFrom(data.extendsFrom, context);
|
|
@@ -1638,13 +1638,13 @@ const deserializeAws_restJson1GetComponentTypeCommand = async (output, context)
|
|
|
1638
1638
|
contents.functions = deserializeAws_restJson1FunctionsResponse(data.functions, context);
|
|
1639
1639
|
}
|
|
1640
1640
|
if (data.isAbstract !== undefined && data.isAbstract !== null) {
|
|
1641
|
-
contents.isAbstract = smithy_client_1.expectBoolean(data.isAbstract);
|
|
1641
|
+
contents.isAbstract = (0, smithy_client_1.expectBoolean)(data.isAbstract);
|
|
1642
1642
|
}
|
|
1643
1643
|
if (data.isSchemaInitialized !== undefined && data.isSchemaInitialized !== null) {
|
|
1644
|
-
contents.isSchemaInitialized = smithy_client_1.expectBoolean(data.isSchemaInitialized);
|
|
1644
|
+
contents.isSchemaInitialized = (0, smithy_client_1.expectBoolean)(data.isSchemaInitialized);
|
|
1645
1645
|
}
|
|
1646
1646
|
if (data.isSingleton !== undefined && data.isSingleton !== null) {
|
|
1647
|
-
contents.isSingleton = smithy_client_1.expectBoolean(data.isSingleton);
|
|
1647
|
+
contents.isSingleton = (0, smithy_client_1.expectBoolean)(data.isSingleton);
|
|
1648
1648
|
}
|
|
1649
1649
|
if (data.propertyDefinitions !== undefined && data.propertyDefinitions !== null) {
|
|
1650
1650
|
contents.propertyDefinitions = deserializeAws_restJson1PropertyDefinitionsResponse(data.propertyDefinitions, context);
|
|
@@ -1653,10 +1653,10 @@ const deserializeAws_restJson1GetComponentTypeCommand = async (output, context)
|
|
|
1653
1653
|
contents.status = deserializeAws_restJson1Status(data.status, context);
|
|
1654
1654
|
}
|
|
1655
1655
|
if (data.updateDateTime !== undefined && data.updateDateTime !== null) {
|
|
1656
|
-
contents.updateDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.updateDateTime)));
|
|
1656
|
+
contents.updateDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.updateDateTime)));
|
|
1657
1657
|
}
|
|
1658
1658
|
if (data.workspaceId !== undefined && data.workspaceId !== null) {
|
|
1659
|
-
contents.workspaceId = smithy_client_1.expectString(data.workspaceId);
|
|
1659
|
+
contents.workspaceId = (0, smithy_client_1.expectString)(data.workspaceId);
|
|
1660
1660
|
}
|
|
1661
1661
|
return Promise.resolve(contents);
|
|
1662
1662
|
};
|
|
@@ -1689,7 +1689,7 @@ const deserializeAws_restJson1GetComponentTypeCommandError = async (output, cont
|
|
|
1689
1689
|
$fault: "client",
|
|
1690
1690
|
$metadata: deserializeMetadata(output),
|
|
1691
1691
|
});
|
|
1692
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1692
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1693
1693
|
}
|
|
1694
1694
|
};
|
|
1695
1695
|
const deserializeAws_restJson1GetEntityCommand = async (output, context) => {
|
|
@@ -1710,39 +1710,39 @@ const deserializeAws_restJson1GetEntityCommand = async (output, context) => {
|
|
|
1710
1710
|
updateDateTime: undefined,
|
|
1711
1711
|
workspaceId: undefined,
|
|
1712
1712
|
};
|
|
1713
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1713
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1714
1714
|
if (data.arn !== undefined && data.arn !== null) {
|
|
1715
|
-
contents.arn = smithy_client_1.expectString(data.arn);
|
|
1715
|
+
contents.arn = (0, smithy_client_1.expectString)(data.arn);
|
|
1716
1716
|
}
|
|
1717
1717
|
if (data.components !== undefined && data.components !== null) {
|
|
1718
1718
|
contents.components = deserializeAws_restJson1ComponentsMap(data.components, context);
|
|
1719
1719
|
}
|
|
1720
1720
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
1721
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
1721
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
1722
1722
|
}
|
|
1723
1723
|
if (data.description !== undefined && data.description !== null) {
|
|
1724
|
-
contents.description = smithy_client_1.expectString(data.description);
|
|
1724
|
+
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
1725
1725
|
}
|
|
1726
1726
|
if (data.entityId !== undefined && data.entityId !== null) {
|
|
1727
|
-
contents.entityId = smithy_client_1.expectString(data.entityId);
|
|
1727
|
+
contents.entityId = (0, smithy_client_1.expectString)(data.entityId);
|
|
1728
1728
|
}
|
|
1729
1729
|
if (data.entityName !== undefined && data.entityName !== null) {
|
|
1730
|
-
contents.entityName = smithy_client_1.expectString(data.entityName);
|
|
1730
|
+
contents.entityName = (0, smithy_client_1.expectString)(data.entityName);
|
|
1731
1731
|
}
|
|
1732
1732
|
if (data.hasChildEntities !== undefined && data.hasChildEntities !== null) {
|
|
1733
|
-
contents.hasChildEntities = smithy_client_1.expectBoolean(data.hasChildEntities);
|
|
1733
|
+
contents.hasChildEntities = (0, smithy_client_1.expectBoolean)(data.hasChildEntities);
|
|
1734
1734
|
}
|
|
1735
1735
|
if (data.parentEntityId !== undefined && data.parentEntityId !== null) {
|
|
1736
|
-
contents.parentEntityId = smithy_client_1.expectString(data.parentEntityId);
|
|
1736
|
+
contents.parentEntityId = (0, smithy_client_1.expectString)(data.parentEntityId);
|
|
1737
1737
|
}
|
|
1738
1738
|
if (data.status !== undefined && data.status !== null) {
|
|
1739
1739
|
contents.status = deserializeAws_restJson1Status(data.status, context);
|
|
1740
1740
|
}
|
|
1741
1741
|
if (data.updateDateTime !== undefined && data.updateDateTime !== null) {
|
|
1742
|
-
contents.updateDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.updateDateTime)));
|
|
1742
|
+
contents.updateDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.updateDateTime)));
|
|
1743
1743
|
}
|
|
1744
1744
|
if (data.workspaceId !== undefined && data.workspaceId !== null) {
|
|
1745
|
-
contents.workspaceId = smithy_client_1.expectString(data.workspaceId);
|
|
1745
|
+
contents.workspaceId = (0, smithy_client_1.expectString)(data.workspaceId);
|
|
1746
1746
|
}
|
|
1747
1747
|
return Promise.resolve(contents);
|
|
1748
1748
|
};
|
|
@@ -1778,7 +1778,7 @@ const deserializeAws_restJson1GetEntityCommandError = async (output, context) =>
|
|
|
1778
1778
|
$fault: "client",
|
|
1779
1779
|
$metadata: deserializeMetadata(output),
|
|
1780
1780
|
});
|
|
1781
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1781
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1782
1782
|
}
|
|
1783
1783
|
};
|
|
1784
1784
|
const deserializeAws_restJson1GetPropertyValueCommand = async (output, context) => {
|
|
@@ -1789,7 +1789,7 @@ const deserializeAws_restJson1GetPropertyValueCommand = async (output, context)
|
|
|
1789
1789
|
$metadata: deserializeMetadata(output),
|
|
1790
1790
|
propertyValues: undefined,
|
|
1791
1791
|
};
|
|
1792
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1792
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1793
1793
|
if (data.propertyValues !== undefined && data.propertyValues !== null) {
|
|
1794
1794
|
contents.propertyValues = deserializeAws_restJson1PropertyLatestValueMap(data.propertyValues, context);
|
|
1795
1795
|
}
|
|
@@ -1833,7 +1833,7 @@ const deserializeAws_restJson1GetPropertyValueCommandError = async (output, cont
|
|
|
1833
1833
|
$fault: "client",
|
|
1834
1834
|
$metadata: deserializeMetadata(output),
|
|
1835
1835
|
});
|
|
1836
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1836
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1837
1837
|
}
|
|
1838
1838
|
};
|
|
1839
1839
|
const deserializeAws_restJson1GetPropertyValueHistoryCommand = async (output, context) => {
|
|
@@ -1845,9 +1845,9 @@ const deserializeAws_restJson1GetPropertyValueHistoryCommand = async (output, co
|
|
|
1845
1845
|
nextToken: undefined,
|
|
1846
1846
|
propertyValues: undefined,
|
|
1847
1847
|
};
|
|
1848
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1848
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1849
1849
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1850
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1850
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1851
1851
|
}
|
|
1852
1852
|
if (data.propertyValues !== undefined && data.propertyValues !== null) {
|
|
1853
1853
|
contents.propertyValues = deserializeAws_restJson1PropertyValueList(data.propertyValues, context);
|
|
@@ -1892,7 +1892,7 @@ const deserializeAws_restJson1GetPropertyValueHistoryCommandError = async (outpu
|
|
|
1892
1892
|
$fault: "client",
|
|
1893
1893
|
$metadata: deserializeMetadata(output),
|
|
1894
1894
|
});
|
|
1895
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1895
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1896
1896
|
}
|
|
1897
1897
|
};
|
|
1898
1898
|
const deserializeAws_restJson1GetSceneCommand = async (output, context) => {
|
|
@@ -1910,30 +1910,30 @@ const deserializeAws_restJson1GetSceneCommand = async (output, context) => {
|
|
|
1910
1910
|
updateDateTime: undefined,
|
|
1911
1911
|
workspaceId: undefined,
|
|
1912
1912
|
};
|
|
1913
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1913
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1914
1914
|
if (data.arn !== undefined && data.arn !== null) {
|
|
1915
|
-
contents.arn = smithy_client_1.expectString(data.arn);
|
|
1915
|
+
contents.arn = (0, smithy_client_1.expectString)(data.arn);
|
|
1916
1916
|
}
|
|
1917
1917
|
if (data.capabilities !== undefined && data.capabilities !== null) {
|
|
1918
1918
|
contents.capabilities = deserializeAws_restJson1SceneCapabilities(data.capabilities, context);
|
|
1919
1919
|
}
|
|
1920
1920
|
if (data.contentLocation !== undefined && data.contentLocation !== null) {
|
|
1921
|
-
contents.contentLocation = smithy_client_1.expectString(data.contentLocation);
|
|
1921
|
+
contents.contentLocation = (0, smithy_client_1.expectString)(data.contentLocation);
|
|
1922
1922
|
}
|
|
1923
1923
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
1924
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
1924
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
1925
1925
|
}
|
|
1926
1926
|
if (data.description !== undefined && data.description !== null) {
|
|
1927
|
-
contents.description = smithy_client_1.expectString(data.description);
|
|
1927
|
+
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
1928
1928
|
}
|
|
1929
1929
|
if (data.sceneId !== undefined && data.sceneId !== null) {
|
|
1930
|
-
contents.sceneId = smithy_client_1.expectString(data.sceneId);
|
|
1930
|
+
contents.sceneId = (0, smithy_client_1.expectString)(data.sceneId);
|
|
1931
1931
|
}
|
|
1932
1932
|
if (data.updateDateTime !== undefined && data.updateDateTime !== null) {
|
|
1933
|
-
contents.updateDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.updateDateTime)));
|
|
1933
|
+
contents.updateDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.updateDateTime)));
|
|
1934
1934
|
}
|
|
1935
1935
|
if (data.workspaceId !== undefined && data.workspaceId !== null) {
|
|
1936
|
-
contents.workspaceId = smithy_client_1.expectString(data.workspaceId);
|
|
1936
|
+
contents.workspaceId = (0, smithy_client_1.expectString)(data.workspaceId);
|
|
1937
1937
|
}
|
|
1938
1938
|
return Promise.resolve(contents);
|
|
1939
1939
|
};
|
|
@@ -1969,7 +1969,7 @@ const deserializeAws_restJson1GetSceneCommandError = async (output, context) =>
|
|
|
1969
1969
|
$fault: "client",
|
|
1970
1970
|
$metadata: deserializeMetadata(output),
|
|
1971
1971
|
});
|
|
1972
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1972
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1973
1973
|
}
|
|
1974
1974
|
};
|
|
1975
1975
|
const deserializeAws_restJson1GetWorkspaceCommand = async (output, context) => {
|
|
@@ -1986,27 +1986,27 @@ const deserializeAws_restJson1GetWorkspaceCommand = async (output, context) => {
|
|
|
1986
1986
|
updateDateTime: undefined,
|
|
1987
1987
|
workspaceId: undefined,
|
|
1988
1988
|
};
|
|
1989
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1989
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1990
1990
|
if (data.arn !== undefined && data.arn !== null) {
|
|
1991
|
-
contents.arn = smithy_client_1.expectString(data.arn);
|
|
1991
|
+
contents.arn = (0, smithy_client_1.expectString)(data.arn);
|
|
1992
1992
|
}
|
|
1993
1993
|
if (data.creationDateTime !== undefined && data.creationDateTime !== null) {
|
|
1994
|
-
contents.creationDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.creationDateTime)));
|
|
1994
|
+
contents.creationDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.creationDateTime)));
|
|
1995
1995
|
}
|
|
1996
1996
|
if (data.description !== undefined && data.description !== null) {
|
|
1997
|
-
contents.description = smithy_client_1.expectString(data.description);
|
|
1997
|
+
contents.description = (0, smithy_client_1.expectString)(data.description);
|
|
1998
1998
|
}
|
|
1999
1999
|
if (data.role !== undefined && data.role !== null) {
|
|
2000
|
-
contents.role = smithy_client_1.expectString(data.role);
|
|
2000
|
+
contents.role = (0, smithy_client_1.expectString)(data.role);
|
|
2001
2001
|
}
|
|
2002
2002
|
if (data.s3Location !== undefined && data.s3Location !== null) {
|
|
2003
|
-
contents.s3Location = smithy_client_1.expectString(data.s3Location);
|
|
2003
|
+
contents.s3Location = (0, smithy_client_1.expectString)(data.s3Location);
|
|
2004
2004
|
}
|
|
2005
2005
|
if (data.updateDateTime !== undefined && data.updateDateTime !== null) {
|
|
2006
|
-
contents.updateDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.updateDateTime)));
|
|
2006
|
+
contents.updateDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.updateDateTime)));
|
|
2007
2007
|
}
|
|
2008
2008
|
if (data.workspaceId !== undefined && data.workspaceId !== null) {
|
|
2009
|
-
contents.workspaceId = smithy_client_1.expectString(data.workspaceId);
|
|
2009
|
+
contents.workspaceId = (0, smithy_client_1.expectString)(data.workspaceId);
|
|
2010
2010
|
}
|
|
2011
2011
|
return Promise.resolve(contents);
|
|
2012
2012
|
};
|
|
@@ -2042,7 +2042,7 @@ const deserializeAws_restJson1GetWorkspaceCommandError = async (output, context)
|
|
|
2042
2042
|
$fault: "client",
|
|
2043
2043
|
$metadata: deserializeMetadata(output),
|
|
2044
2044
|
});
|
|
2045
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2045
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2046
2046
|
}
|
|
2047
2047
|
};
|
|
2048
2048
|
const deserializeAws_restJson1ListComponentTypesCommand = async (output, context) => {
|
|
@@ -2056,18 +2056,18 @@ const deserializeAws_restJson1ListComponentTypesCommand = async (output, context
|
|
|
2056
2056
|
nextToken: undefined,
|
|
2057
2057
|
workspaceId: undefined,
|
|
2058
2058
|
};
|
|
2059
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2059
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2060
2060
|
if (data.componentTypeSummaries !== undefined && data.componentTypeSummaries !== null) {
|
|
2061
2061
|
contents.componentTypeSummaries = deserializeAws_restJson1ComponentTypeSummaries(data.componentTypeSummaries, context);
|
|
2062
2062
|
}
|
|
2063
2063
|
if (data.maxResults !== undefined && data.maxResults !== null) {
|
|
2064
|
-
contents.maxResults = smithy_client_1.expectInt32(data.maxResults);
|
|
2064
|
+
contents.maxResults = (0, smithy_client_1.expectInt32)(data.maxResults);
|
|
2065
2065
|
}
|
|
2066
2066
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2067
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
2067
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2068
2068
|
}
|
|
2069
2069
|
if (data.workspaceId !== undefined && data.workspaceId !== null) {
|
|
2070
|
-
contents.workspaceId = smithy_client_1.expectString(data.workspaceId);
|
|
2070
|
+
contents.workspaceId = (0, smithy_client_1.expectString)(data.workspaceId);
|
|
2071
2071
|
}
|
|
2072
2072
|
return Promise.resolve(contents);
|
|
2073
2073
|
};
|
|
@@ -2100,7 +2100,7 @@ const deserializeAws_restJson1ListComponentTypesCommandError = async (output, co
|
|
|
2100
2100
|
$fault: "client",
|
|
2101
2101
|
$metadata: deserializeMetadata(output),
|
|
2102
2102
|
});
|
|
2103
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2103
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2104
2104
|
}
|
|
2105
2105
|
};
|
|
2106
2106
|
const deserializeAws_restJson1ListEntitiesCommand = async (output, context) => {
|
|
@@ -2112,12 +2112,12 @@ const deserializeAws_restJson1ListEntitiesCommand = async (output, context) => {
|
|
|
2112
2112
|
entitySummaries: undefined,
|
|
2113
2113
|
nextToken: undefined,
|
|
2114
2114
|
};
|
|
2115
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2115
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2116
2116
|
if (data.entitySummaries !== undefined && data.entitySummaries !== null) {
|
|
2117
2117
|
contents.entitySummaries = deserializeAws_restJson1EntitySummaries(data.entitySummaries, context);
|
|
2118
2118
|
}
|
|
2119
2119
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2120
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
2120
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2121
2121
|
}
|
|
2122
2122
|
return Promise.resolve(contents);
|
|
2123
2123
|
};
|
|
@@ -2150,7 +2150,7 @@ const deserializeAws_restJson1ListEntitiesCommandError = async (output, context)
|
|
|
2150
2150
|
$fault: "client",
|
|
2151
2151
|
$metadata: deserializeMetadata(output),
|
|
2152
2152
|
});
|
|
2153
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2153
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2154
2154
|
}
|
|
2155
2155
|
};
|
|
2156
2156
|
const deserializeAws_restJson1ListScenesCommand = async (output, context) => {
|
|
@@ -2162,9 +2162,9 @@ const deserializeAws_restJson1ListScenesCommand = async (output, context) => {
|
|
|
2162
2162
|
nextToken: undefined,
|
|
2163
2163
|
sceneSummaries: undefined,
|
|
2164
2164
|
};
|
|
2165
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2165
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2166
2166
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2167
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
2167
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2168
2168
|
}
|
|
2169
2169
|
if (data.sceneSummaries !== undefined && data.sceneSummaries !== null) {
|
|
2170
2170
|
contents.sceneSummaries = deserializeAws_restJson1SceneSummaries(data.sceneSummaries, context);
|
|
@@ -2200,7 +2200,7 @@ const deserializeAws_restJson1ListScenesCommandError = async (output, context) =
|
|
|
2200
2200
|
$fault: "client",
|
|
2201
2201
|
$metadata: deserializeMetadata(output),
|
|
2202
2202
|
});
|
|
2203
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2203
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2204
2204
|
}
|
|
2205
2205
|
};
|
|
2206
2206
|
const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -2212,9 +2212,9 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
2212
2212
|
nextToken: undefined,
|
|
2213
2213
|
tags: undefined,
|
|
2214
2214
|
};
|
|
2215
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2215
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2216
2216
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2217
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
2217
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2218
2218
|
}
|
|
2219
2219
|
if (data.tags !== undefined && data.tags !== null) {
|
|
2220
2220
|
contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
|
|
@@ -2244,7 +2244,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
2244
2244
|
$fault: "client",
|
|
2245
2245
|
$metadata: deserializeMetadata(output),
|
|
2246
2246
|
});
|
|
2247
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2247
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2248
2248
|
}
|
|
2249
2249
|
};
|
|
2250
2250
|
const deserializeAws_restJson1ListWorkspacesCommand = async (output, context) => {
|
|
@@ -2256,9 +2256,9 @@ const deserializeAws_restJson1ListWorkspacesCommand = async (output, context) =>
|
|
|
2256
2256
|
nextToken: undefined,
|
|
2257
2257
|
workspaceSummaries: undefined,
|
|
2258
2258
|
};
|
|
2259
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2259
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2260
2260
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2261
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
2261
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2262
2262
|
}
|
|
2263
2263
|
if (data.workspaceSummaries !== undefined && data.workspaceSummaries !== null) {
|
|
2264
2264
|
contents.workspaceSummaries = deserializeAws_restJson1WorkspaceSummaries(data.workspaceSummaries, context);
|
|
@@ -2294,7 +2294,7 @@ const deserializeAws_restJson1ListWorkspacesCommandError = async (output, contex
|
|
|
2294
2294
|
$fault: "client",
|
|
2295
2295
|
$metadata: deserializeMetadata(output),
|
|
2296
2296
|
});
|
|
2297
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2297
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2298
2298
|
}
|
|
2299
2299
|
};
|
|
2300
2300
|
const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
@@ -2333,7 +2333,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
2333
2333
|
$fault: "client",
|
|
2334
2334
|
$metadata: deserializeMetadata(output),
|
|
2335
2335
|
});
|
|
2336
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2336
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2337
2337
|
}
|
|
2338
2338
|
};
|
|
2339
2339
|
const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
|
|
@@ -2369,7 +2369,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
2369
2369
|
$fault: "client",
|
|
2370
2370
|
$metadata: deserializeMetadata(output),
|
|
2371
2371
|
});
|
|
2372
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2372
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2373
2373
|
}
|
|
2374
2374
|
};
|
|
2375
2375
|
const deserializeAws_restJson1UpdateComponentTypeCommand = async (output, context) => {
|
|
@@ -2383,18 +2383,18 @@ const deserializeAws_restJson1UpdateComponentTypeCommand = async (output, contex
|
|
|
2383
2383
|
state: undefined,
|
|
2384
2384
|
workspaceId: undefined,
|
|
2385
2385
|
};
|
|
2386
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2386
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2387
2387
|
if (data.arn !== undefined && data.arn !== null) {
|
|
2388
|
-
contents.arn = smithy_client_1.expectString(data.arn);
|
|
2388
|
+
contents.arn = (0, smithy_client_1.expectString)(data.arn);
|
|
2389
2389
|
}
|
|
2390
2390
|
if (data.componentTypeId !== undefined && data.componentTypeId !== null) {
|
|
2391
|
-
contents.componentTypeId = smithy_client_1.expectString(data.componentTypeId);
|
|
2391
|
+
contents.componentTypeId = (0, smithy_client_1.expectString)(data.componentTypeId);
|
|
2392
2392
|
}
|
|
2393
2393
|
if (data.state !== undefined && data.state !== null) {
|
|
2394
|
-
contents.state = smithy_client_1.expectString(data.state);
|
|
2394
|
+
contents.state = (0, smithy_client_1.expectString)(data.state);
|
|
2395
2395
|
}
|
|
2396
2396
|
if (data.workspaceId !== undefined && data.workspaceId !== null) {
|
|
2397
|
-
contents.workspaceId = smithy_client_1.expectString(data.workspaceId);
|
|
2397
|
+
contents.workspaceId = (0, smithy_client_1.expectString)(data.workspaceId);
|
|
2398
2398
|
}
|
|
2399
2399
|
return Promise.resolve(contents);
|
|
2400
2400
|
};
|
|
@@ -2433,7 +2433,7 @@ const deserializeAws_restJson1UpdateComponentTypeCommandError = async (output, c
|
|
|
2433
2433
|
$fault: "client",
|
|
2434
2434
|
$metadata: deserializeMetadata(output),
|
|
2435
2435
|
});
|
|
2436
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2436
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2437
2437
|
}
|
|
2438
2438
|
};
|
|
2439
2439
|
const deserializeAws_restJson1UpdateEntityCommand = async (output, context) => {
|
|
@@ -2445,12 +2445,12 @@ const deserializeAws_restJson1UpdateEntityCommand = async (output, context) => {
|
|
|
2445
2445
|
state: undefined,
|
|
2446
2446
|
updateDateTime: undefined,
|
|
2447
2447
|
};
|
|
2448
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2448
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2449
2449
|
if (data.state !== undefined && data.state !== null) {
|
|
2450
|
-
contents.state = smithy_client_1.expectString(data.state);
|
|
2450
|
+
contents.state = (0, smithy_client_1.expectString)(data.state);
|
|
2451
2451
|
}
|
|
2452
2452
|
if (data.updateDateTime !== undefined && data.updateDateTime !== null) {
|
|
2453
|
-
contents.updateDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.updateDateTime)));
|
|
2453
|
+
contents.updateDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.updateDateTime)));
|
|
2454
2454
|
}
|
|
2455
2455
|
return Promise.resolve(contents);
|
|
2456
2456
|
};
|
|
@@ -2492,7 +2492,7 @@ const deserializeAws_restJson1UpdateEntityCommandError = async (output, context)
|
|
|
2492
2492
|
$fault: "client",
|
|
2493
2493
|
$metadata: deserializeMetadata(output),
|
|
2494
2494
|
});
|
|
2495
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2495
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2496
2496
|
}
|
|
2497
2497
|
};
|
|
2498
2498
|
const deserializeAws_restJson1UpdateSceneCommand = async (output, context) => {
|
|
@@ -2503,9 +2503,9 @@ const deserializeAws_restJson1UpdateSceneCommand = async (output, context) => {
|
|
|
2503
2503
|
$metadata: deserializeMetadata(output),
|
|
2504
2504
|
updateDateTime: undefined,
|
|
2505
2505
|
};
|
|
2506
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2506
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2507
2507
|
if (data.updateDateTime !== undefined && data.updateDateTime !== null) {
|
|
2508
|
-
contents.updateDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.updateDateTime)));
|
|
2508
|
+
contents.updateDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.updateDateTime)));
|
|
2509
2509
|
}
|
|
2510
2510
|
return Promise.resolve(contents);
|
|
2511
2511
|
};
|
|
@@ -2541,7 +2541,7 @@ const deserializeAws_restJson1UpdateSceneCommandError = async (output, context)
|
|
|
2541
2541
|
$fault: "client",
|
|
2542
2542
|
$metadata: deserializeMetadata(output),
|
|
2543
2543
|
});
|
|
2544
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2544
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2545
2545
|
}
|
|
2546
2546
|
};
|
|
2547
2547
|
const deserializeAws_restJson1UpdateWorkspaceCommand = async (output, context) => {
|
|
@@ -2552,9 +2552,9 @@ const deserializeAws_restJson1UpdateWorkspaceCommand = async (output, context) =
|
|
|
2552
2552
|
$metadata: deserializeMetadata(output),
|
|
2553
2553
|
updateDateTime: undefined,
|
|
2554
2554
|
};
|
|
2555
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2555
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2556
2556
|
if (data.updateDateTime !== undefined && data.updateDateTime !== null) {
|
|
2557
|
-
contents.updateDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.updateDateTime)));
|
|
2557
|
+
contents.updateDateTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.updateDateTime)));
|
|
2558
2558
|
}
|
|
2559
2559
|
return Promise.resolve(contents);
|
|
2560
2560
|
};
|
|
@@ -2593,128 +2593,128 @@ const deserializeAws_restJson1UpdateWorkspaceCommandError = async (output, conte
|
|
|
2593
2593
|
$fault: "client",
|
|
2594
2594
|
$metadata: deserializeMetadata(output),
|
|
2595
2595
|
});
|
|
2596
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2596
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2597
2597
|
}
|
|
2598
2598
|
};
|
|
2599
2599
|
const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
2600
2600
|
const contents = {};
|
|
2601
2601
|
const data = parsedOutput.body;
|
|
2602
2602
|
if (data.message !== undefined && data.message !== null) {
|
|
2603
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
2603
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
2604
2604
|
}
|
|
2605
2605
|
const exception = new models_0_1.AccessDeniedException({
|
|
2606
2606
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2607
2607
|
...contents,
|
|
2608
2608
|
});
|
|
2609
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2609
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2610
2610
|
};
|
|
2611
2611
|
const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
|
|
2612
2612
|
const contents = {};
|
|
2613
2613
|
const data = parsedOutput.body;
|
|
2614
2614
|
if (data.message !== undefined && data.message !== null) {
|
|
2615
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
2615
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
2616
2616
|
}
|
|
2617
2617
|
const exception = new models_0_1.ConflictException({
|
|
2618
2618
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2619
2619
|
...contents,
|
|
2620
2620
|
});
|
|
2621
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2621
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2622
2622
|
};
|
|
2623
2623
|
const deserializeAws_restJson1ConnectorFailureExceptionResponse = async (parsedOutput, context) => {
|
|
2624
2624
|
const contents = {};
|
|
2625
2625
|
const data = parsedOutput.body;
|
|
2626
2626
|
if (data.message !== undefined && data.message !== null) {
|
|
2627
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
2627
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
2628
2628
|
}
|
|
2629
2629
|
const exception = new models_0_1.ConnectorFailureException({
|
|
2630
2630
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2631
2631
|
...contents,
|
|
2632
2632
|
});
|
|
2633
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2633
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2634
2634
|
};
|
|
2635
2635
|
const deserializeAws_restJson1ConnectorTimeoutExceptionResponse = async (parsedOutput, context) => {
|
|
2636
2636
|
const contents = {};
|
|
2637
2637
|
const data = parsedOutput.body;
|
|
2638
2638
|
if (data.message !== undefined && data.message !== null) {
|
|
2639
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
2639
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
2640
2640
|
}
|
|
2641
2641
|
const exception = new models_0_1.ConnectorTimeoutException({
|
|
2642
2642
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2643
2643
|
...contents,
|
|
2644
2644
|
});
|
|
2645
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2645
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2646
2646
|
};
|
|
2647
2647
|
const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
|
|
2648
2648
|
const contents = {};
|
|
2649
2649
|
const data = parsedOutput.body;
|
|
2650
2650
|
if (data.message !== undefined && data.message !== null) {
|
|
2651
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
2651
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
2652
2652
|
}
|
|
2653
2653
|
const exception = new models_0_1.InternalServerException({
|
|
2654
2654
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2655
2655
|
...contents,
|
|
2656
2656
|
});
|
|
2657
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2657
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2658
2658
|
};
|
|
2659
2659
|
const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
2660
2660
|
const contents = {};
|
|
2661
2661
|
const data = parsedOutput.body;
|
|
2662
2662
|
if (data.message !== undefined && data.message !== null) {
|
|
2663
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
2663
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
2664
2664
|
}
|
|
2665
2665
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
2666
2666
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2667
2667
|
...contents,
|
|
2668
2668
|
});
|
|
2669
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2669
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2670
2670
|
};
|
|
2671
2671
|
const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
|
|
2672
2672
|
const contents = {};
|
|
2673
2673
|
const data = parsedOutput.body;
|
|
2674
2674
|
if (data.message !== undefined && data.message !== null) {
|
|
2675
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
2675
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
2676
2676
|
}
|
|
2677
2677
|
const exception = new models_0_1.ServiceQuotaExceededException({
|
|
2678
2678
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2679
2679
|
...contents,
|
|
2680
2680
|
});
|
|
2681
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2681
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2682
2682
|
};
|
|
2683
2683
|
const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
|
|
2684
2684
|
const contents = {};
|
|
2685
2685
|
const data = parsedOutput.body;
|
|
2686
2686
|
if (data.message !== undefined && data.message !== null) {
|
|
2687
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
2687
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
2688
2688
|
}
|
|
2689
2689
|
const exception = new models_0_1.ThrottlingException({
|
|
2690
2690
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2691
2691
|
...contents,
|
|
2692
2692
|
});
|
|
2693
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2693
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2694
2694
|
};
|
|
2695
2695
|
const deserializeAws_restJson1TooManyTagsExceptionResponse = async (parsedOutput, context) => {
|
|
2696
2696
|
const contents = {};
|
|
2697
2697
|
const data = parsedOutput.body;
|
|
2698
2698
|
if (data.message !== undefined && data.message !== null) {
|
|
2699
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
2699
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
2700
2700
|
}
|
|
2701
2701
|
const exception = new models_0_1.TooManyTagsException({
|
|
2702
2702
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2703
2703
|
...contents,
|
|
2704
2704
|
});
|
|
2705
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2705
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2706
2706
|
};
|
|
2707
2707
|
const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
|
|
2708
2708
|
const contents = {};
|
|
2709
2709
|
const data = parsedOutput.body;
|
|
2710
2710
|
if (data.message !== undefined && data.message !== null) {
|
|
2711
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
2711
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
2712
2712
|
}
|
|
2713
2713
|
const exception = new models_0_1.ValidationException({
|
|
2714
2714
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2715
2715
|
...contents,
|
|
2716
2716
|
});
|
|
2717
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2717
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2718
2718
|
};
|
|
2719
2719
|
const serializeAws_restJson1ComponentRequest = (input, context) => {
|
|
2720
2720
|
return {
|
|
@@ -2795,7 +2795,7 @@ const serializeAws_restJson1DataValue = (input, context) => {
|
|
|
2795
2795
|
return {
|
|
2796
2796
|
...(input.booleanValue !== undefined && input.booleanValue !== null && { booleanValue: input.booleanValue }),
|
|
2797
2797
|
...(input.doubleValue !== undefined &&
|
|
2798
|
-
input.doubleValue !== null && { doubleValue: smithy_client_1.serializeFloat(input.doubleValue) }),
|
|
2798
|
+
input.doubleValue !== null && { doubleValue: (0, smithy_client_1.serializeFloat)(input.doubleValue) }),
|
|
2799
2799
|
...(input.expression !== undefined && input.expression !== null && { expression: input.expression }),
|
|
2800
2800
|
...(input.integerValue !== undefined && input.integerValue !== null && { integerValue: input.integerValue }),
|
|
2801
2801
|
...(input.listValue !== undefined &&
|
|
@@ -3113,8 +3113,8 @@ const deserializeAws_restJson1BatchPutPropertyError = (output, context) => {
|
|
|
3113
3113
|
entry: output.entry !== undefined && output.entry !== null
|
|
3114
3114
|
? deserializeAws_restJson1PropertyValueEntry(output.entry, context)
|
|
3115
3115
|
: undefined,
|
|
3116
|
-
errorCode: smithy_client_1.expectString(output.errorCode),
|
|
3117
|
-
errorMessage: smithy_client_1.expectString(output.errorMessage),
|
|
3116
|
+
errorCode: (0, smithy_client_1.expectString)(output.errorCode),
|
|
3117
|
+
errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
|
|
3118
3118
|
};
|
|
3119
3119
|
};
|
|
3120
3120
|
const deserializeAws_restJson1BatchPutPropertyErrorEntry = (output, context) => {
|
|
@@ -3126,10 +3126,10 @@ const deserializeAws_restJson1BatchPutPropertyErrorEntry = (output, context) =>
|
|
|
3126
3126
|
};
|
|
3127
3127
|
const deserializeAws_restJson1ComponentResponse = (output, context) => {
|
|
3128
3128
|
return {
|
|
3129
|
-
componentName: smithy_client_1.expectString(output.componentName),
|
|
3130
|
-
componentTypeId: smithy_client_1.expectString(output.componentTypeId),
|
|
3131
|
-
definedIn: smithy_client_1.expectString(output.definedIn),
|
|
3132
|
-
description: smithy_client_1.expectString(output.description),
|
|
3129
|
+
componentName: (0, smithy_client_1.expectString)(output.componentName),
|
|
3130
|
+
componentTypeId: (0, smithy_client_1.expectString)(output.componentTypeId),
|
|
3131
|
+
definedIn: (0, smithy_client_1.expectString)(output.definedIn),
|
|
3132
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
3133
3133
|
properties: output.properties !== undefined && output.properties !== null
|
|
3134
3134
|
? deserializeAws_restJson1PropertyResponses(output.properties, context)
|
|
3135
3135
|
: undefined,
|
|
@@ -3162,17 +3162,17 @@ const deserializeAws_restJson1ComponentTypeSummaries = (output, context) => {
|
|
|
3162
3162
|
};
|
|
3163
3163
|
const deserializeAws_restJson1ComponentTypeSummary = (output, context) => {
|
|
3164
3164
|
return {
|
|
3165
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
3166
|
-
componentTypeId: smithy_client_1.expectString(output.componentTypeId),
|
|
3165
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3166
|
+
componentTypeId: (0, smithy_client_1.expectString)(output.componentTypeId),
|
|
3167
3167
|
creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
|
|
3168
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
|
|
3168
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationDateTime)))
|
|
3169
3169
|
: undefined,
|
|
3170
|
-
description: smithy_client_1.expectString(output.description),
|
|
3170
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
3171
3171
|
status: output.status !== undefined && output.status !== null
|
|
3172
3172
|
? deserializeAws_restJson1Status(output.status, context)
|
|
3173
3173
|
: undefined,
|
|
3174
3174
|
updateDateTime: output.updateDateTime !== undefined && output.updateDateTime !== null
|
|
3175
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.updateDateTime)))
|
|
3175
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updateDateTime)))
|
|
3176
3176
|
: undefined,
|
|
3177
3177
|
};
|
|
3178
3178
|
};
|
|
@@ -3183,13 +3183,13 @@ const deserializeAws_restJson1Configuration = (output, context) => {
|
|
|
3183
3183
|
}
|
|
3184
3184
|
return {
|
|
3185
3185
|
...acc,
|
|
3186
|
-
[key]: smithy_client_1.expectString(value),
|
|
3186
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
3187
3187
|
};
|
|
3188
3188
|
}, {});
|
|
3189
3189
|
};
|
|
3190
3190
|
const deserializeAws_restJson1DataConnector = (output, context) => {
|
|
3191
3191
|
return {
|
|
3192
|
-
isNative: smithy_client_1.expectBoolean(output.isNative),
|
|
3192
|
+
isNative: (0, smithy_client_1.expectBoolean)(output.isNative),
|
|
3193
3193
|
lambda: output.lambda !== undefined && output.lambda !== null
|
|
3194
3194
|
? deserializeAws_restJson1LambdaFunction(output.lambda, context)
|
|
3195
3195
|
: undefined,
|
|
@@ -3206,27 +3206,27 @@ const deserializeAws_restJson1DataType = (output, context) => {
|
|
|
3206
3206
|
relationship: output.relationship !== undefined && output.relationship !== null
|
|
3207
3207
|
? deserializeAws_restJson1Relationship(output.relationship, context)
|
|
3208
3208
|
: undefined,
|
|
3209
|
-
type: smithy_client_1.expectString(output.type),
|
|
3210
|
-
unitOfMeasure: smithy_client_1.expectString(output.unitOfMeasure),
|
|
3209
|
+
type: (0, smithy_client_1.expectString)(output.type),
|
|
3210
|
+
unitOfMeasure: (0, smithy_client_1.expectString)(output.unitOfMeasure),
|
|
3211
3211
|
};
|
|
3212
3212
|
};
|
|
3213
3213
|
const deserializeAws_restJson1DataValue = (output, context) => {
|
|
3214
3214
|
return {
|
|
3215
|
-
booleanValue: smithy_client_1.expectBoolean(output.booleanValue),
|
|
3216
|
-
doubleValue: smithy_client_1.limitedParseDouble(output.doubleValue),
|
|
3217
|
-
expression: smithy_client_1.expectString(output.expression),
|
|
3218
|
-
integerValue: smithy_client_1.expectInt32(output.integerValue),
|
|
3215
|
+
booleanValue: (0, smithy_client_1.expectBoolean)(output.booleanValue),
|
|
3216
|
+
doubleValue: (0, smithy_client_1.limitedParseDouble)(output.doubleValue),
|
|
3217
|
+
expression: (0, smithy_client_1.expectString)(output.expression),
|
|
3218
|
+
integerValue: (0, smithy_client_1.expectInt32)(output.integerValue),
|
|
3219
3219
|
listValue: output.listValue !== undefined && output.listValue !== null
|
|
3220
3220
|
? deserializeAws_restJson1DataValueList(output.listValue, context)
|
|
3221
3221
|
: undefined,
|
|
3222
|
-
longValue: smithy_client_1.expectLong(output.longValue),
|
|
3222
|
+
longValue: (0, smithy_client_1.expectLong)(output.longValue),
|
|
3223
3223
|
mapValue: output.mapValue !== undefined && output.mapValue !== null
|
|
3224
3224
|
? deserializeAws_restJson1DataValueMap(output.mapValue, context)
|
|
3225
3225
|
: undefined,
|
|
3226
3226
|
relationshipValue: output.relationshipValue !== undefined && output.relationshipValue !== null
|
|
3227
3227
|
? deserializeAws_restJson1RelationshipValue(output.relationshipValue, context)
|
|
3228
3228
|
: undefined,
|
|
3229
|
-
stringValue: smithy_client_1.expectString(output.stringValue),
|
|
3229
|
+
stringValue: (0, smithy_client_1.expectString)(output.stringValue),
|
|
3230
3230
|
};
|
|
3231
3231
|
};
|
|
3232
3232
|
const deserializeAws_restJson1DataValueList = (output, context) => {
|
|
@@ -3253,12 +3253,12 @@ const deserializeAws_restJson1DataValueMap = (output, context) => {
|
|
|
3253
3253
|
};
|
|
3254
3254
|
const deserializeAws_restJson1EntityPropertyReference = (output, context) => {
|
|
3255
3255
|
return {
|
|
3256
|
-
componentName: smithy_client_1.expectString(output.componentName),
|
|
3257
|
-
entityId: smithy_client_1.expectString(output.entityId),
|
|
3256
|
+
componentName: (0, smithy_client_1.expectString)(output.componentName),
|
|
3257
|
+
entityId: (0, smithy_client_1.expectString)(output.entityId),
|
|
3258
3258
|
externalIdProperty: output.externalIdProperty !== undefined && output.externalIdProperty !== null
|
|
3259
3259
|
? deserializeAws_restJson1ExternalIdProperty(output.externalIdProperty, context)
|
|
3260
3260
|
: undefined,
|
|
3261
|
-
propertyName: smithy_client_1.expectString(output.propertyName),
|
|
3261
|
+
propertyName: (0, smithy_client_1.expectString)(output.propertyName),
|
|
3262
3262
|
};
|
|
3263
3263
|
};
|
|
3264
3264
|
const deserializeAws_restJson1EntitySummaries = (output, context) => {
|
|
@@ -3274,27 +3274,27 @@ const deserializeAws_restJson1EntitySummaries = (output, context) => {
|
|
|
3274
3274
|
};
|
|
3275
3275
|
const deserializeAws_restJson1EntitySummary = (output, context) => {
|
|
3276
3276
|
return {
|
|
3277
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
3277
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3278
3278
|
creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
|
|
3279
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
|
|
3279
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationDateTime)))
|
|
3280
3280
|
: undefined,
|
|
3281
|
-
description: smithy_client_1.expectString(output.description),
|
|
3282
|
-
entityId: smithy_client_1.expectString(output.entityId),
|
|
3283
|
-
entityName: smithy_client_1.expectString(output.entityName),
|
|
3284
|
-
hasChildEntities: smithy_client_1.expectBoolean(output.hasChildEntities),
|
|
3285
|
-
parentEntityId: smithy_client_1.expectString(output.parentEntityId),
|
|
3281
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
3282
|
+
entityId: (0, smithy_client_1.expectString)(output.entityId),
|
|
3283
|
+
entityName: (0, smithy_client_1.expectString)(output.entityName),
|
|
3284
|
+
hasChildEntities: (0, smithy_client_1.expectBoolean)(output.hasChildEntities),
|
|
3285
|
+
parentEntityId: (0, smithy_client_1.expectString)(output.parentEntityId),
|
|
3286
3286
|
status: output.status !== undefined && output.status !== null
|
|
3287
3287
|
? deserializeAws_restJson1Status(output.status, context)
|
|
3288
3288
|
: undefined,
|
|
3289
3289
|
updateDateTime: output.updateDateTime !== undefined && output.updateDateTime !== null
|
|
3290
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.updateDateTime)))
|
|
3290
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updateDateTime)))
|
|
3291
3291
|
: undefined,
|
|
3292
3292
|
};
|
|
3293
3293
|
};
|
|
3294
3294
|
const deserializeAws_restJson1ErrorDetails = (output, context) => {
|
|
3295
3295
|
return {
|
|
3296
|
-
code: smithy_client_1.expectString(output.code),
|
|
3297
|
-
message: smithy_client_1.expectString(output.message),
|
|
3296
|
+
code: (0, smithy_client_1.expectString)(output.code),
|
|
3297
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3298
3298
|
};
|
|
3299
3299
|
};
|
|
3300
3300
|
const deserializeAws_restJson1ErrorEntries = (output, context) => {
|
|
@@ -3326,7 +3326,7 @@ const deserializeAws_restJson1ExtendsFrom = (output, context) => {
|
|
|
3326
3326
|
if (entry === null) {
|
|
3327
3327
|
return null;
|
|
3328
3328
|
}
|
|
3329
|
-
return smithy_client_1.expectString(entry);
|
|
3329
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3330
3330
|
});
|
|
3331
3331
|
return retVal;
|
|
3332
3332
|
};
|
|
@@ -3337,7 +3337,7 @@ const deserializeAws_restJson1ExternalIdProperty = (output, context) => {
|
|
|
3337
3337
|
}
|
|
3338
3338
|
return {
|
|
3339
3339
|
...acc,
|
|
3340
|
-
[key]: smithy_client_1.expectString(value),
|
|
3340
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
3341
3341
|
};
|
|
3342
3342
|
}, {});
|
|
3343
3343
|
};
|
|
@@ -3346,11 +3346,11 @@ const deserializeAws_restJson1FunctionResponse = (output, context) => {
|
|
|
3346
3346
|
implementedBy: output.implementedBy !== undefined && output.implementedBy !== null
|
|
3347
3347
|
? deserializeAws_restJson1DataConnector(output.implementedBy, context)
|
|
3348
3348
|
: undefined,
|
|
3349
|
-
isInherited: smithy_client_1.expectBoolean(output.isInherited),
|
|
3349
|
+
isInherited: (0, smithy_client_1.expectBoolean)(output.isInherited),
|
|
3350
3350
|
requiredProperties: output.requiredProperties !== undefined && output.requiredProperties !== null
|
|
3351
3351
|
? deserializeAws_restJson1RequiredProperties(output.requiredProperties, context)
|
|
3352
3352
|
: undefined,
|
|
3353
|
-
scope: smithy_client_1.expectString(output.scope),
|
|
3353
|
+
scope: (0, smithy_client_1.expectString)(output.scope),
|
|
3354
3354
|
};
|
|
3355
3355
|
};
|
|
3356
3356
|
const deserializeAws_restJson1FunctionsResponse = (output, context) => {
|
|
@@ -3366,7 +3366,7 @@ const deserializeAws_restJson1FunctionsResponse = (output, context) => {
|
|
|
3366
3366
|
};
|
|
3367
3367
|
const deserializeAws_restJson1LambdaFunction = (output, context) => {
|
|
3368
3368
|
return {
|
|
3369
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
3369
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3370
3370
|
};
|
|
3371
3371
|
};
|
|
3372
3372
|
const deserializeAws_restJson1PropertyDefinitionResponse = (output, context) => {
|
|
@@ -3380,13 +3380,13 @@ const deserializeAws_restJson1PropertyDefinitionResponse = (output, context) =>
|
|
|
3380
3380
|
defaultValue: output.defaultValue !== undefined && output.defaultValue !== null
|
|
3381
3381
|
? deserializeAws_restJson1DataValue(output.defaultValue, context)
|
|
3382
3382
|
: undefined,
|
|
3383
|
-
isExternalId: smithy_client_1.expectBoolean(output.isExternalId),
|
|
3384
|
-
isFinal: smithy_client_1.expectBoolean(output.isFinal),
|
|
3385
|
-
isImported: smithy_client_1.expectBoolean(output.isImported),
|
|
3386
|
-
isInherited: smithy_client_1.expectBoolean(output.isInherited),
|
|
3387
|
-
isRequiredInEntity: smithy_client_1.expectBoolean(output.isRequiredInEntity),
|
|
3388
|
-
isStoredExternally: smithy_client_1.expectBoolean(output.isStoredExternally),
|
|
3389
|
-
isTimeSeries: smithy_client_1.expectBoolean(output.isTimeSeries),
|
|
3383
|
+
isExternalId: (0, smithy_client_1.expectBoolean)(output.isExternalId),
|
|
3384
|
+
isFinal: (0, smithy_client_1.expectBoolean)(output.isFinal),
|
|
3385
|
+
isImported: (0, smithy_client_1.expectBoolean)(output.isImported),
|
|
3386
|
+
isInherited: (0, smithy_client_1.expectBoolean)(output.isInherited),
|
|
3387
|
+
isRequiredInEntity: (0, smithy_client_1.expectBoolean)(output.isRequiredInEntity),
|
|
3388
|
+
isStoredExternally: (0, smithy_client_1.expectBoolean)(output.isStoredExternally),
|
|
3389
|
+
isTimeSeries: (0, smithy_client_1.expectBoolean)(output.isTimeSeries),
|
|
3390
3390
|
};
|
|
3391
3391
|
};
|
|
3392
3392
|
const deserializeAws_restJson1PropertyDefinitionsResponse = (output, context) => {
|
|
@@ -3445,7 +3445,7 @@ const deserializeAws_restJson1PropertyResponses = (output, context) => {
|
|
|
3445
3445
|
const deserializeAws_restJson1PropertyValue = (output, context) => {
|
|
3446
3446
|
return {
|
|
3447
3447
|
timestamp: output.timestamp !== undefined && output.timestamp !== null
|
|
3448
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.timestamp)))
|
|
3448
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.timestamp)))
|
|
3449
3449
|
: undefined,
|
|
3450
3450
|
value: output.value !== undefined && output.value !== null
|
|
3451
3451
|
? deserializeAws_restJson1DataValue(output.value, context)
|
|
@@ -3496,14 +3496,14 @@ const deserializeAws_restJson1PropertyValues = (output, context) => {
|
|
|
3496
3496
|
};
|
|
3497
3497
|
const deserializeAws_restJson1Relationship = (output, context) => {
|
|
3498
3498
|
return {
|
|
3499
|
-
relationshipType: smithy_client_1.expectString(output.relationshipType),
|
|
3500
|
-
targetComponentTypeId: smithy_client_1.expectString(output.targetComponentTypeId),
|
|
3499
|
+
relationshipType: (0, smithy_client_1.expectString)(output.relationshipType),
|
|
3500
|
+
targetComponentTypeId: (0, smithy_client_1.expectString)(output.targetComponentTypeId),
|
|
3501
3501
|
};
|
|
3502
3502
|
};
|
|
3503
3503
|
const deserializeAws_restJson1RelationshipValue = (output, context) => {
|
|
3504
3504
|
return {
|
|
3505
|
-
targetComponentName: smithy_client_1.expectString(output.targetComponentName),
|
|
3506
|
-
targetEntityId: smithy_client_1.expectString(output.targetEntityId),
|
|
3505
|
+
targetComponentName: (0, smithy_client_1.expectString)(output.targetComponentName),
|
|
3506
|
+
targetEntityId: (0, smithy_client_1.expectString)(output.targetEntityId),
|
|
3507
3507
|
};
|
|
3508
3508
|
};
|
|
3509
3509
|
const deserializeAws_restJson1RequiredProperties = (output, context) => {
|
|
@@ -3513,7 +3513,7 @@ const deserializeAws_restJson1RequiredProperties = (output, context) => {
|
|
|
3513
3513
|
if (entry === null) {
|
|
3514
3514
|
return null;
|
|
3515
3515
|
}
|
|
3516
|
-
return smithy_client_1.expectString(entry);
|
|
3516
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3517
3517
|
});
|
|
3518
3518
|
return retVal;
|
|
3519
3519
|
};
|
|
@@ -3524,7 +3524,7 @@ const deserializeAws_restJson1SceneCapabilities = (output, context) => {
|
|
|
3524
3524
|
if (entry === null) {
|
|
3525
3525
|
return null;
|
|
3526
3526
|
}
|
|
3527
|
-
return smithy_client_1.expectString(entry);
|
|
3527
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3528
3528
|
});
|
|
3529
3529
|
return retVal;
|
|
3530
3530
|
};
|
|
@@ -3541,15 +3541,15 @@ const deserializeAws_restJson1SceneSummaries = (output, context) => {
|
|
|
3541
3541
|
};
|
|
3542
3542
|
const deserializeAws_restJson1SceneSummary = (output, context) => {
|
|
3543
3543
|
return {
|
|
3544
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
3545
|
-
contentLocation: smithy_client_1.expectString(output.contentLocation),
|
|
3544
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3545
|
+
contentLocation: (0, smithy_client_1.expectString)(output.contentLocation),
|
|
3546
3546
|
creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
|
|
3547
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
|
|
3547
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationDateTime)))
|
|
3548
3548
|
: undefined,
|
|
3549
|
-
description: smithy_client_1.expectString(output.description),
|
|
3550
|
-
sceneId: smithy_client_1.expectString(output.sceneId),
|
|
3549
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
3550
|
+
sceneId: (0, smithy_client_1.expectString)(output.sceneId),
|
|
3551
3551
|
updateDateTime: output.updateDateTime !== undefined && output.updateDateTime !== null
|
|
3552
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.updateDateTime)))
|
|
3552
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updateDateTime)))
|
|
3553
3553
|
: undefined,
|
|
3554
3554
|
};
|
|
3555
3555
|
};
|
|
@@ -3558,7 +3558,7 @@ const deserializeAws_restJson1Status = (output, context) => {
|
|
|
3558
3558
|
error: output.error !== undefined && output.error !== null
|
|
3559
3559
|
? deserializeAws_restJson1ErrorDetails(output.error, context)
|
|
3560
3560
|
: undefined,
|
|
3561
|
-
state: smithy_client_1.expectString(output.state),
|
|
3561
|
+
state: (0, smithy_client_1.expectString)(output.state),
|
|
3562
3562
|
};
|
|
3563
3563
|
};
|
|
3564
3564
|
const deserializeAws_restJson1TagMap = (output, context) => {
|
|
@@ -3568,7 +3568,7 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
3568
3568
|
}
|
|
3569
3569
|
return {
|
|
3570
3570
|
...acc,
|
|
3571
|
-
[key]: smithy_client_1.expectString(value),
|
|
3571
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
3572
3572
|
};
|
|
3573
3573
|
}, {});
|
|
3574
3574
|
};
|
|
@@ -3596,15 +3596,15 @@ const deserializeAws_restJson1WorkspaceSummaries = (output, context) => {
|
|
|
3596
3596
|
};
|
|
3597
3597
|
const deserializeAws_restJson1WorkspaceSummary = (output, context) => {
|
|
3598
3598
|
return {
|
|
3599
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
3599
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3600
3600
|
creationDateTime: output.creationDateTime !== undefined && output.creationDateTime !== null
|
|
3601
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationDateTime)))
|
|
3601
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationDateTime)))
|
|
3602
3602
|
: undefined,
|
|
3603
|
-
description: smithy_client_1.expectString(output.description),
|
|
3603
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
3604
3604
|
updateDateTime: output.updateDateTime !== undefined && output.updateDateTime !== null
|
|
3605
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.updateDateTime)))
|
|
3605
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updateDateTime)))
|
|
3606
3606
|
: undefined,
|
|
3607
|
-
workspaceId: smithy_client_1.expectString(output.workspaceId),
|
|
3607
|
+
workspaceId: (0, smithy_client_1.expectString)(output.workspaceId),
|
|
3608
3608
|
};
|
|
3609
3609
|
};
|
|
3610
3610
|
const deserializeMetadata = (output) => {
|