@aws-sdk/client-iotdeviceadvisor 3.53.0 → 3.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist-cjs/IotDeviceAdvisorClient.js +13 -13
- package/dist-cjs/commands/CreateSuiteDefinitionCommand.js +3 -3
- package/dist-cjs/commands/DeleteSuiteDefinitionCommand.js +3 -3
- package/dist-cjs/commands/GetEndpointCommand.js +3 -3
- package/dist-cjs/commands/GetSuiteDefinitionCommand.js +3 -3
- package/dist-cjs/commands/GetSuiteRunCommand.js +3 -3
- package/dist-cjs/commands/GetSuiteRunReportCommand.js +3 -3
- package/dist-cjs/commands/ListSuiteDefinitionsCommand.js +3 -3
- package/dist-cjs/commands/ListSuiteRunsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/StartSuiteRunCommand.js +3 -3
- package/dist-cjs/commands/StopSuiteRunCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateSuiteDefinitionCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +110 -110
- 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/IotDeviceAdvisor.js +14 -14
- package/dist-es/pagination/ListSuiteDefinitionsPaginator.js +4 -4
- package/dist-es/pagination/ListSuiteRunsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +14 -14
- package/dist-types/IotDeviceAdvisorClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/IotDeviceAdvisorClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -39,7 +39,7 @@ const serializeAws_restJson1DeleteSuiteDefinitionCommand = async (input, context
|
|
|
39
39
|
if (labelValue.length <= 0) {
|
|
40
40
|
throw new Error("Empty value provided for input HTTP label: suiteDefinitionId.");
|
|
41
41
|
}
|
|
42
|
-
resolvedPath = resolvedPath.replace("{suiteDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
42
|
+
resolvedPath = resolvedPath.replace("{suiteDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
43
43
|
}
|
|
44
44
|
else {
|
|
45
45
|
throw new Error("No value provided for input HTTP label: suiteDefinitionId.");
|
|
@@ -86,7 +86,7 @@ const serializeAws_restJson1GetSuiteDefinitionCommand = async (input, context) =
|
|
|
86
86
|
if (labelValue.length <= 0) {
|
|
87
87
|
throw new Error("Empty value provided for input HTTP label: suiteDefinitionId.");
|
|
88
88
|
}
|
|
89
|
-
resolvedPath = resolvedPath.replace("{suiteDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
89
|
+
resolvedPath = resolvedPath.replace("{suiteDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
90
90
|
}
|
|
91
91
|
else {
|
|
92
92
|
throw new Error("No value provided for input HTTP label: suiteDefinitionId.");
|
|
@@ -117,7 +117,7 @@ const serializeAws_restJson1GetSuiteRunCommand = async (input, context) => {
|
|
|
117
117
|
if (labelValue.length <= 0) {
|
|
118
118
|
throw new Error("Empty value provided for input HTTP label: suiteDefinitionId.");
|
|
119
119
|
}
|
|
120
|
-
resolvedPath = resolvedPath.replace("{suiteDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
120
|
+
resolvedPath = resolvedPath.replace("{suiteDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
121
121
|
}
|
|
122
122
|
else {
|
|
123
123
|
throw new Error("No value provided for input HTTP label: suiteDefinitionId.");
|
|
@@ -127,7 +127,7 @@ const serializeAws_restJson1GetSuiteRunCommand = async (input, context) => {
|
|
|
127
127
|
if (labelValue.length <= 0) {
|
|
128
128
|
throw new Error("Empty value provided for input HTTP label: suiteRunId.");
|
|
129
129
|
}
|
|
130
|
-
resolvedPath = resolvedPath.replace("{suiteRunId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
130
|
+
resolvedPath = resolvedPath.replace("{suiteRunId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
131
131
|
}
|
|
132
132
|
else {
|
|
133
133
|
throw new Error("No value provided for input HTTP label: suiteRunId.");
|
|
@@ -154,7 +154,7 @@ const serializeAws_restJson1GetSuiteRunReportCommand = async (input, context) =>
|
|
|
154
154
|
if (labelValue.length <= 0) {
|
|
155
155
|
throw new Error("Empty value provided for input HTTP label: suiteDefinitionId.");
|
|
156
156
|
}
|
|
157
|
-
resolvedPath = resolvedPath.replace("{suiteDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
157
|
+
resolvedPath = resolvedPath.replace("{suiteDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
158
158
|
}
|
|
159
159
|
else {
|
|
160
160
|
throw new Error("No value provided for input HTTP label: suiteDefinitionId.");
|
|
@@ -164,7 +164,7 @@ const serializeAws_restJson1GetSuiteRunReportCommand = async (input, context) =>
|
|
|
164
164
|
if (labelValue.length <= 0) {
|
|
165
165
|
throw new Error("Empty value provided for input HTTP label: suiteRunId.");
|
|
166
166
|
}
|
|
167
|
-
resolvedPath = resolvedPath.replace("{suiteRunId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
167
|
+
resolvedPath = resolvedPath.replace("{suiteRunId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
168
168
|
}
|
|
169
169
|
else {
|
|
170
170
|
throw new Error("No value provided for input HTTP label: suiteRunId.");
|
|
@@ -234,7 +234,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
234
234
|
if (labelValue.length <= 0) {
|
|
235
235
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
236
236
|
}
|
|
237
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
237
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
238
238
|
}
|
|
239
239
|
else {
|
|
240
240
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -263,7 +263,7 @@ const serializeAws_restJson1StartSuiteRunCommand = async (input, context) => {
|
|
|
263
263
|
if (labelValue.length <= 0) {
|
|
264
264
|
throw new Error("Empty value provided for input HTTP label: suiteDefinitionId.");
|
|
265
265
|
}
|
|
266
|
-
resolvedPath = resolvedPath.replace("{suiteDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
266
|
+
resolvedPath = resolvedPath.replace("{suiteDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
267
267
|
}
|
|
268
268
|
else {
|
|
269
269
|
throw new Error("No value provided for input HTTP label: suiteDefinitionId.");
|
|
@@ -299,7 +299,7 @@ const serializeAws_restJson1StopSuiteRunCommand = async (input, context) => {
|
|
|
299
299
|
if (labelValue.length <= 0) {
|
|
300
300
|
throw new Error("Empty value provided for input HTTP label: suiteDefinitionId.");
|
|
301
301
|
}
|
|
302
|
-
resolvedPath = resolvedPath.replace("{suiteDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
302
|
+
resolvedPath = resolvedPath.replace("{suiteDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
303
303
|
}
|
|
304
304
|
else {
|
|
305
305
|
throw new Error("No value provided for input HTTP label: suiteDefinitionId.");
|
|
@@ -309,7 +309,7 @@ const serializeAws_restJson1StopSuiteRunCommand = async (input, context) => {
|
|
|
309
309
|
if (labelValue.length <= 0) {
|
|
310
310
|
throw new Error("Empty value provided for input HTTP label: suiteRunId.");
|
|
311
311
|
}
|
|
312
|
-
resolvedPath = resolvedPath.replace("{suiteRunId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
312
|
+
resolvedPath = resolvedPath.replace("{suiteRunId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
313
313
|
}
|
|
314
314
|
else {
|
|
315
315
|
throw new Error("No value provided for input HTTP label: suiteRunId.");
|
|
@@ -337,7 +337,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
337
337
|
if (labelValue.length <= 0) {
|
|
338
338
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
339
339
|
}
|
|
340
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
340
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
341
341
|
}
|
|
342
342
|
else {
|
|
343
343
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -366,7 +366,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
366
366
|
if (labelValue.length <= 0) {
|
|
367
367
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
368
368
|
}
|
|
369
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
369
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
370
370
|
}
|
|
371
371
|
else {
|
|
372
372
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -398,7 +398,7 @@ const serializeAws_restJson1UpdateSuiteDefinitionCommand = async (input, context
|
|
|
398
398
|
if (labelValue.length <= 0) {
|
|
399
399
|
throw new Error("Empty value provided for input HTTP label: suiteDefinitionId.");
|
|
400
400
|
}
|
|
401
|
-
resolvedPath = resolvedPath.replace("{suiteDefinitionId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
401
|
+
resolvedPath = resolvedPath.replace("{suiteDefinitionId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
402
402
|
}
|
|
403
403
|
else {
|
|
404
404
|
throw new Error("No value provided for input HTTP label: suiteDefinitionId.");
|
|
@@ -432,18 +432,18 @@ const deserializeAws_restJson1CreateSuiteDefinitionCommand = async (output, cont
|
|
|
432
432
|
suiteDefinitionId: undefined,
|
|
433
433
|
suiteDefinitionName: undefined,
|
|
434
434
|
};
|
|
435
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
435
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
436
436
|
if (data.createdAt !== undefined && data.createdAt !== null) {
|
|
437
|
-
contents.createdAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.createdAt)));
|
|
437
|
+
contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.createdAt)));
|
|
438
438
|
}
|
|
439
439
|
if (data.suiteDefinitionArn !== undefined && data.suiteDefinitionArn !== null) {
|
|
440
|
-
contents.suiteDefinitionArn = smithy_client_1.expectString(data.suiteDefinitionArn);
|
|
440
|
+
contents.suiteDefinitionArn = (0, smithy_client_1.expectString)(data.suiteDefinitionArn);
|
|
441
441
|
}
|
|
442
442
|
if (data.suiteDefinitionId !== undefined && data.suiteDefinitionId !== null) {
|
|
443
|
-
contents.suiteDefinitionId = smithy_client_1.expectString(data.suiteDefinitionId);
|
|
443
|
+
contents.suiteDefinitionId = (0, smithy_client_1.expectString)(data.suiteDefinitionId);
|
|
444
444
|
}
|
|
445
445
|
if (data.suiteDefinitionName !== undefined && data.suiteDefinitionName !== null) {
|
|
446
|
-
contents.suiteDefinitionName = smithy_client_1.expectString(data.suiteDefinitionName);
|
|
446
|
+
contents.suiteDefinitionName = (0, smithy_client_1.expectString)(data.suiteDefinitionName);
|
|
447
447
|
}
|
|
448
448
|
return Promise.resolve(contents);
|
|
449
449
|
};
|
|
@@ -470,7 +470,7 @@ const deserializeAws_restJson1CreateSuiteDefinitionCommandError = async (output,
|
|
|
470
470
|
$fault: "client",
|
|
471
471
|
$metadata: deserializeMetadata(output),
|
|
472
472
|
});
|
|
473
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
473
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
474
474
|
}
|
|
475
475
|
};
|
|
476
476
|
const deserializeAws_restJson1DeleteSuiteDefinitionCommand = async (output, context) => {
|
|
@@ -506,7 +506,7 @@ const deserializeAws_restJson1DeleteSuiteDefinitionCommandError = async (output,
|
|
|
506
506
|
$fault: "client",
|
|
507
507
|
$metadata: deserializeMetadata(output),
|
|
508
508
|
});
|
|
509
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
509
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
510
510
|
}
|
|
511
511
|
};
|
|
512
512
|
const deserializeAws_restJson1GetEndpointCommand = async (output, context) => {
|
|
@@ -517,9 +517,9 @@ const deserializeAws_restJson1GetEndpointCommand = async (output, context) => {
|
|
|
517
517
|
$metadata: deserializeMetadata(output),
|
|
518
518
|
endpoint: undefined,
|
|
519
519
|
};
|
|
520
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
520
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
521
521
|
if (data.endpoint !== undefined && data.endpoint !== null) {
|
|
522
|
-
contents.endpoint = smithy_client_1.expectString(data.endpoint);
|
|
522
|
+
contents.endpoint = (0, smithy_client_1.expectString)(data.endpoint);
|
|
523
523
|
}
|
|
524
524
|
return Promise.resolve(contents);
|
|
525
525
|
};
|
|
@@ -549,7 +549,7 @@ const deserializeAws_restJson1GetEndpointCommandError = async (output, context)
|
|
|
549
549
|
$fault: "client",
|
|
550
550
|
$metadata: deserializeMetadata(output),
|
|
551
551
|
});
|
|
552
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
552
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
553
553
|
}
|
|
554
554
|
};
|
|
555
555
|
const deserializeAws_restJson1GetSuiteDefinitionCommand = async (output, context) => {
|
|
@@ -567,27 +567,27 @@ const deserializeAws_restJson1GetSuiteDefinitionCommand = async (output, context
|
|
|
567
567
|
suiteDefinitionVersion: undefined,
|
|
568
568
|
tags: undefined,
|
|
569
569
|
};
|
|
570
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
570
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
571
571
|
if (data.createdAt !== undefined && data.createdAt !== null) {
|
|
572
|
-
contents.createdAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.createdAt)));
|
|
572
|
+
contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.createdAt)));
|
|
573
573
|
}
|
|
574
574
|
if (data.lastModifiedAt !== undefined && data.lastModifiedAt !== null) {
|
|
575
|
-
contents.lastModifiedAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastModifiedAt)));
|
|
575
|
+
contents.lastModifiedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastModifiedAt)));
|
|
576
576
|
}
|
|
577
577
|
if (data.latestVersion !== undefined && data.latestVersion !== null) {
|
|
578
|
-
contents.latestVersion = smithy_client_1.expectString(data.latestVersion);
|
|
578
|
+
contents.latestVersion = (0, smithy_client_1.expectString)(data.latestVersion);
|
|
579
579
|
}
|
|
580
580
|
if (data.suiteDefinitionArn !== undefined && data.suiteDefinitionArn !== null) {
|
|
581
|
-
contents.suiteDefinitionArn = smithy_client_1.expectString(data.suiteDefinitionArn);
|
|
581
|
+
contents.suiteDefinitionArn = (0, smithy_client_1.expectString)(data.suiteDefinitionArn);
|
|
582
582
|
}
|
|
583
583
|
if (data.suiteDefinitionConfiguration !== undefined && data.suiteDefinitionConfiguration !== null) {
|
|
584
584
|
contents.suiteDefinitionConfiguration = deserializeAws_restJson1SuiteDefinitionConfiguration(data.suiteDefinitionConfiguration, context);
|
|
585
585
|
}
|
|
586
586
|
if (data.suiteDefinitionId !== undefined && data.suiteDefinitionId !== null) {
|
|
587
|
-
contents.suiteDefinitionId = smithy_client_1.expectString(data.suiteDefinitionId);
|
|
587
|
+
contents.suiteDefinitionId = (0, smithy_client_1.expectString)(data.suiteDefinitionId);
|
|
588
588
|
}
|
|
589
589
|
if (data.suiteDefinitionVersion !== undefined && data.suiteDefinitionVersion !== null) {
|
|
590
|
-
contents.suiteDefinitionVersion = smithy_client_1.expectString(data.suiteDefinitionVersion);
|
|
590
|
+
contents.suiteDefinitionVersion = (0, smithy_client_1.expectString)(data.suiteDefinitionVersion);
|
|
591
591
|
}
|
|
592
592
|
if (data.tags !== undefined && data.tags !== null) {
|
|
593
593
|
contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
|
|
@@ -620,7 +620,7 @@ const deserializeAws_restJson1GetSuiteDefinitionCommandError = async (output, co
|
|
|
620
620
|
$fault: "client",
|
|
621
621
|
$metadata: deserializeMetadata(output),
|
|
622
622
|
});
|
|
623
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
623
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
624
624
|
}
|
|
625
625
|
};
|
|
626
626
|
const deserializeAws_restJson1GetSuiteRunCommand = async (output, context) => {
|
|
@@ -641,33 +641,33 @@ const deserializeAws_restJson1GetSuiteRunCommand = async (output, context) => {
|
|
|
641
641
|
tags: undefined,
|
|
642
642
|
testResult: undefined,
|
|
643
643
|
};
|
|
644
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
644
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
645
645
|
if (data.endTime !== undefined && data.endTime !== null) {
|
|
646
|
-
contents.endTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.endTime)));
|
|
646
|
+
contents.endTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.endTime)));
|
|
647
647
|
}
|
|
648
648
|
if (data.errorReason !== undefined && data.errorReason !== null) {
|
|
649
|
-
contents.errorReason = smithy_client_1.expectString(data.errorReason);
|
|
649
|
+
contents.errorReason = (0, smithy_client_1.expectString)(data.errorReason);
|
|
650
650
|
}
|
|
651
651
|
if (data.startTime !== undefined && data.startTime !== null) {
|
|
652
|
-
contents.startTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.startTime)));
|
|
652
|
+
contents.startTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.startTime)));
|
|
653
653
|
}
|
|
654
654
|
if (data.status !== undefined && data.status !== null) {
|
|
655
|
-
contents.status = smithy_client_1.expectString(data.status);
|
|
655
|
+
contents.status = (0, smithy_client_1.expectString)(data.status);
|
|
656
656
|
}
|
|
657
657
|
if (data.suiteDefinitionId !== undefined && data.suiteDefinitionId !== null) {
|
|
658
|
-
contents.suiteDefinitionId = smithy_client_1.expectString(data.suiteDefinitionId);
|
|
658
|
+
contents.suiteDefinitionId = (0, smithy_client_1.expectString)(data.suiteDefinitionId);
|
|
659
659
|
}
|
|
660
660
|
if (data.suiteDefinitionVersion !== undefined && data.suiteDefinitionVersion !== null) {
|
|
661
|
-
contents.suiteDefinitionVersion = smithy_client_1.expectString(data.suiteDefinitionVersion);
|
|
661
|
+
contents.suiteDefinitionVersion = (0, smithy_client_1.expectString)(data.suiteDefinitionVersion);
|
|
662
662
|
}
|
|
663
663
|
if (data.suiteRunArn !== undefined && data.suiteRunArn !== null) {
|
|
664
|
-
contents.suiteRunArn = smithy_client_1.expectString(data.suiteRunArn);
|
|
664
|
+
contents.suiteRunArn = (0, smithy_client_1.expectString)(data.suiteRunArn);
|
|
665
665
|
}
|
|
666
666
|
if (data.suiteRunConfiguration !== undefined && data.suiteRunConfiguration !== null) {
|
|
667
667
|
contents.suiteRunConfiguration = deserializeAws_restJson1SuiteRunConfiguration(data.suiteRunConfiguration, context);
|
|
668
668
|
}
|
|
669
669
|
if (data.suiteRunId !== undefined && data.suiteRunId !== null) {
|
|
670
|
-
contents.suiteRunId = smithy_client_1.expectString(data.suiteRunId);
|
|
670
|
+
contents.suiteRunId = (0, smithy_client_1.expectString)(data.suiteRunId);
|
|
671
671
|
}
|
|
672
672
|
if (data.tags !== undefined && data.tags !== null) {
|
|
673
673
|
contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
|
|
@@ -703,7 +703,7 @@ const deserializeAws_restJson1GetSuiteRunCommandError = async (output, context)
|
|
|
703
703
|
$fault: "client",
|
|
704
704
|
$metadata: deserializeMetadata(output),
|
|
705
705
|
});
|
|
706
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
706
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
707
707
|
}
|
|
708
708
|
};
|
|
709
709
|
const deserializeAws_restJson1GetSuiteRunReportCommand = async (output, context) => {
|
|
@@ -714,9 +714,9 @@ const deserializeAws_restJson1GetSuiteRunReportCommand = async (output, context)
|
|
|
714
714
|
$metadata: deserializeMetadata(output),
|
|
715
715
|
qualificationReportDownloadUrl: undefined,
|
|
716
716
|
};
|
|
717
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
717
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
718
718
|
if (data.qualificationReportDownloadUrl !== undefined && data.qualificationReportDownloadUrl !== null) {
|
|
719
|
-
contents.qualificationReportDownloadUrl = smithy_client_1.expectString(data.qualificationReportDownloadUrl);
|
|
719
|
+
contents.qualificationReportDownloadUrl = (0, smithy_client_1.expectString)(data.qualificationReportDownloadUrl);
|
|
720
720
|
}
|
|
721
721
|
return Promise.resolve(contents);
|
|
722
722
|
};
|
|
@@ -746,7 +746,7 @@ const deserializeAws_restJson1GetSuiteRunReportCommandError = async (output, con
|
|
|
746
746
|
$fault: "client",
|
|
747
747
|
$metadata: deserializeMetadata(output),
|
|
748
748
|
});
|
|
749
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
749
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
750
750
|
}
|
|
751
751
|
};
|
|
752
752
|
const deserializeAws_restJson1ListSuiteDefinitionsCommand = async (output, context) => {
|
|
@@ -758,9 +758,9 @@ const deserializeAws_restJson1ListSuiteDefinitionsCommand = async (output, conte
|
|
|
758
758
|
nextToken: undefined,
|
|
759
759
|
suiteDefinitionInformationList: undefined,
|
|
760
760
|
};
|
|
761
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
761
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
762
762
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
763
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
763
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
764
764
|
}
|
|
765
765
|
if (data.suiteDefinitionInformationList !== undefined && data.suiteDefinitionInformationList !== null) {
|
|
766
766
|
contents.suiteDefinitionInformationList = deserializeAws_restJson1SuiteDefinitionInformationList(data.suiteDefinitionInformationList, context);
|
|
@@ -790,7 +790,7 @@ const deserializeAws_restJson1ListSuiteDefinitionsCommandError = async (output,
|
|
|
790
790
|
$fault: "client",
|
|
791
791
|
$metadata: deserializeMetadata(output),
|
|
792
792
|
});
|
|
793
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
793
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
794
794
|
}
|
|
795
795
|
};
|
|
796
796
|
const deserializeAws_restJson1ListSuiteRunsCommand = async (output, context) => {
|
|
@@ -802,9 +802,9 @@ const deserializeAws_restJson1ListSuiteRunsCommand = async (output, context) =>
|
|
|
802
802
|
nextToken: undefined,
|
|
803
803
|
suiteRunsList: undefined,
|
|
804
804
|
};
|
|
805
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
805
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
806
806
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
807
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
807
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
808
808
|
}
|
|
809
809
|
if (data.suiteRunsList !== undefined && data.suiteRunsList !== null) {
|
|
810
810
|
contents.suiteRunsList = deserializeAws_restJson1SuiteRunsList(data.suiteRunsList, context);
|
|
@@ -834,7 +834,7 @@ const deserializeAws_restJson1ListSuiteRunsCommandError = async (output, context
|
|
|
834
834
|
$fault: "client",
|
|
835
835
|
$metadata: deserializeMetadata(output),
|
|
836
836
|
});
|
|
837
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
837
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
838
838
|
}
|
|
839
839
|
};
|
|
840
840
|
const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -845,7 +845,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
845
845
|
$metadata: deserializeMetadata(output),
|
|
846
846
|
tags: undefined,
|
|
847
847
|
};
|
|
848
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
848
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
849
849
|
if (data.tags !== undefined && data.tags !== null) {
|
|
850
850
|
contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
|
|
851
851
|
}
|
|
@@ -877,7 +877,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
877
877
|
$fault: "client",
|
|
878
878
|
$metadata: deserializeMetadata(output),
|
|
879
879
|
});
|
|
880
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
880
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
881
881
|
}
|
|
882
882
|
};
|
|
883
883
|
const deserializeAws_restJson1StartSuiteRunCommand = async (output, context) => {
|
|
@@ -890,15 +890,15 @@ const deserializeAws_restJson1StartSuiteRunCommand = async (output, context) =>
|
|
|
890
890
|
suiteRunArn: undefined,
|
|
891
891
|
suiteRunId: undefined,
|
|
892
892
|
};
|
|
893
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
893
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
894
894
|
if (data.createdAt !== undefined && data.createdAt !== null) {
|
|
895
|
-
contents.createdAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.createdAt)));
|
|
895
|
+
contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.createdAt)));
|
|
896
896
|
}
|
|
897
897
|
if (data.suiteRunArn !== undefined && data.suiteRunArn !== null) {
|
|
898
|
-
contents.suiteRunArn = smithy_client_1.expectString(data.suiteRunArn);
|
|
898
|
+
contents.suiteRunArn = (0, smithy_client_1.expectString)(data.suiteRunArn);
|
|
899
899
|
}
|
|
900
900
|
if (data.suiteRunId !== undefined && data.suiteRunId !== null) {
|
|
901
|
-
contents.suiteRunId = smithy_client_1.expectString(data.suiteRunId);
|
|
901
|
+
contents.suiteRunId = (0, smithy_client_1.expectString)(data.suiteRunId);
|
|
902
902
|
}
|
|
903
903
|
return Promise.resolve(contents);
|
|
904
904
|
};
|
|
@@ -928,7 +928,7 @@ const deserializeAws_restJson1StartSuiteRunCommandError = async (output, context
|
|
|
928
928
|
$fault: "client",
|
|
929
929
|
$metadata: deserializeMetadata(output),
|
|
930
930
|
});
|
|
931
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
931
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
932
932
|
}
|
|
933
933
|
};
|
|
934
934
|
const deserializeAws_restJson1StopSuiteRunCommand = async (output, context) => {
|
|
@@ -967,7 +967,7 @@ const deserializeAws_restJson1StopSuiteRunCommandError = async (output, context)
|
|
|
967
967
|
$fault: "client",
|
|
968
968
|
$metadata: deserializeMetadata(output),
|
|
969
969
|
});
|
|
970
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
970
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
971
971
|
}
|
|
972
972
|
};
|
|
973
973
|
const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
@@ -1006,7 +1006,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
1006
1006
|
$fault: "client",
|
|
1007
1007
|
$metadata: deserializeMetadata(output),
|
|
1008
1008
|
});
|
|
1009
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1009
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1010
1010
|
}
|
|
1011
1011
|
};
|
|
1012
1012
|
const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
|
|
@@ -1045,7 +1045,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
1045
1045
|
$fault: "client",
|
|
1046
1046
|
$metadata: deserializeMetadata(output),
|
|
1047
1047
|
});
|
|
1048
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1048
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1049
1049
|
}
|
|
1050
1050
|
};
|
|
1051
1051
|
const deserializeAws_restJson1UpdateSuiteDefinitionCommand = async (output, context) => {
|
|
@@ -1061,24 +1061,24 @@ const deserializeAws_restJson1UpdateSuiteDefinitionCommand = async (output, cont
|
|
|
1061
1061
|
suiteDefinitionName: undefined,
|
|
1062
1062
|
suiteDefinitionVersion: undefined,
|
|
1063
1063
|
};
|
|
1064
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1064
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1065
1065
|
if (data.createdAt !== undefined && data.createdAt !== null) {
|
|
1066
|
-
contents.createdAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.createdAt)));
|
|
1066
|
+
contents.createdAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.createdAt)));
|
|
1067
1067
|
}
|
|
1068
1068
|
if (data.lastUpdatedAt !== undefined && data.lastUpdatedAt !== null) {
|
|
1069
|
-
contents.lastUpdatedAt = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedAt)));
|
|
1069
|
+
contents.lastUpdatedAt = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.lastUpdatedAt)));
|
|
1070
1070
|
}
|
|
1071
1071
|
if (data.suiteDefinitionArn !== undefined && data.suiteDefinitionArn !== null) {
|
|
1072
|
-
contents.suiteDefinitionArn = smithy_client_1.expectString(data.suiteDefinitionArn);
|
|
1072
|
+
contents.suiteDefinitionArn = (0, smithy_client_1.expectString)(data.suiteDefinitionArn);
|
|
1073
1073
|
}
|
|
1074
1074
|
if (data.suiteDefinitionId !== undefined && data.suiteDefinitionId !== null) {
|
|
1075
|
-
contents.suiteDefinitionId = smithy_client_1.expectString(data.suiteDefinitionId);
|
|
1075
|
+
contents.suiteDefinitionId = (0, smithy_client_1.expectString)(data.suiteDefinitionId);
|
|
1076
1076
|
}
|
|
1077
1077
|
if (data.suiteDefinitionName !== undefined && data.suiteDefinitionName !== null) {
|
|
1078
|
-
contents.suiteDefinitionName = smithy_client_1.expectString(data.suiteDefinitionName);
|
|
1078
|
+
contents.suiteDefinitionName = (0, smithy_client_1.expectString)(data.suiteDefinitionName);
|
|
1079
1079
|
}
|
|
1080
1080
|
if (data.suiteDefinitionVersion !== undefined && data.suiteDefinitionVersion !== null) {
|
|
1081
|
-
contents.suiteDefinitionVersion = smithy_client_1.expectString(data.suiteDefinitionVersion);
|
|
1081
|
+
contents.suiteDefinitionVersion = (0, smithy_client_1.expectString)(data.suiteDefinitionVersion);
|
|
1082
1082
|
}
|
|
1083
1083
|
return Promise.resolve(contents);
|
|
1084
1084
|
};
|
|
@@ -1105,56 +1105,56 @@ const deserializeAws_restJson1UpdateSuiteDefinitionCommandError = async (output,
|
|
|
1105
1105
|
$fault: "client",
|
|
1106
1106
|
$metadata: deserializeMetadata(output),
|
|
1107
1107
|
});
|
|
1108
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1108
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1109
1109
|
}
|
|
1110
1110
|
};
|
|
1111
1111
|
const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
|
|
1112
1112
|
const contents = {};
|
|
1113
1113
|
const data = parsedOutput.body;
|
|
1114
1114
|
if (data.message !== undefined && data.message !== null) {
|
|
1115
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1115
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1116
1116
|
}
|
|
1117
1117
|
const exception = new models_0_1.ConflictException({
|
|
1118
1118
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1119
1119
|
...contents,
|
|
1120
1120
|
});
|
|
1121
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1121
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1122
1122
|
};
|
|
1123
1123
|
const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
|
|
1124
1124
|
const contents = {};
|
|
1125
1125
|
const data = parsedOutput.body;
|
|
1126
1126
|
if (data.message !== undefined && data.message !== null) {
|
|
1127
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1127
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1128
1128
|
}
|
|
1129
1129
|
const exception = new models_0_1.InternalServerException({
|
|
1130
1130
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1131
1131
|
...contents,
|
|
1132
1132
|
});
|
|
1133
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1133
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1134
1134
|
};
|
|
1135
1135
|
const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
1136
1136
|
const contents = {};
|
|
1137
1137
|
const data = parsedOutput.body;
|
|
1138
1138
|
if (data.message !== undefined && data.message !== null) {
|
|
1139
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1139
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1140
1140
|
}
|
|
1141
1141
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
1142
1142
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1143
1143
|
...contents,
|
|
1144
1144
|
});
|
|
1145
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1145
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1146
1146
|
};
|
|
1147
1147
|
const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
|
|
1148
1148
|
const contents = {};
|
|
1149
1149
|
const data = parsedOutput.body;
|
|
1150
1150
|
if (data.message !== undefined && data.message !== null) {
|
|
1151
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1151
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1152
1152
|
}
|
|
1153
1153
|
const exception = new models_0_1.ValidationException({
|
|
1154
1154
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1155
1155
|
...contents,
|
|
1156
1156
|
});
|
|
1157
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1157
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1158
1158
|
};
|
|
1159
1159
|
const serializeAws_restJson1DeviceUnderTest = (input, context) => {
|
|
1160
1160
|
return {
|
|
@@ -1222,8 +1222,8 @@ const serializeAws_restJson1TagMap = (input, context) => {
|
|
|
1222
1222
|
};
|
|
1223
1223
|
const deserializeAws_restJson1DeviceUnderTest = (output, context) => {
|
|
1224
1224
|
return {
|
|
1225
|
-
certificateArn: smithy_client_1.expectString(output.certificateArn),
|
|
1226
|
-
thingArn: smithy_client_1.expectString(output.thingArn),
|
|
1225
|
+
certificateArn: (0, smithy_client_1.expectString)(output.certificateArn),
|
|
1226
|
+
thingArn: (0, smithy_client_1.expectString)(output.thingArn),
|
|
1227
1227
|
};
|
|
1228
1228
|
};
|
|
1229
1229
|
const deserializeAws_restJson1DeviceUnderTestList = (output, context) => {
|
|
@@ -1239,8 +1239,8 @@ const deserializeAws_restJson1DeviceUnderTestList = (output, context) => {
|
|
|
1239
1239
|
};
|
|
1240
1240
|
const deserializeAws_restJson1GroupResult = (output, context) => {
|
|
1241
1241
|
return {
|
|
1242
|
-
groupId: smithy_client_1.expectString(output.groupId),
|
|
1243
|
-
groupName: smithy_client_1.expectString(output.groupName),
|
|
1242
|
+
groupId: (0, smithy_client_1.expectString)(output.groupId),
|
|
1243
|
+
groupName: (0, smithy_client_1.expectString)(output.groupName),
|
|
1244
1244
|
tests: output.tests !== undefined && output.tests !== null
|
|
1245
1245
|
? deserializeAws_restJson1TestCaseRuns(output.tests, context)
|
|
1246
1246
|
: undefined,
|
|
@@ -1264,32 +1264,32 @@ const deserializeAws_restJson1SelectedTestList = (output, context) => {
|
|
|
1264
1264
|
if (entry === null) {
|
|
1265
1265
|
return null;
|
|
1266
1266
|
}
|
|
1267
|
-
return smithy_client_1.expectString(entry);
|
|
1267
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
1268
1268
|
});
|
|
1269
1269
|
return retVal;
|
|
1270
1270
|
};
|
|
1271
1271
|
const deserializeAws_restJson1SuiteDefinitionConfiguration = (output, context) => {
|
|
1272
1272
|
return {
|
|
1273
|
-
devicePermissionRoleArn: smithy_client_1.expectString(output.devicePermissionRoleArn),
|
|
1273
|
+
devicePermissionRoleArn: (0, smithy_client_1.expectString)(output.devicePermissionRoleArn),
|
|
1274
1274
|
devices: output.devices !== undefined && output.devices !== null
|
|
1275
1275
|
? deserializeAws_restJson1DeviceUnderTestList(output.devices, context)
|
|
1276
1276
|
: undefined,
|
|
1277
|
-
intendedForQualification: smithy_client_1.expectBoolean(output.intendedForQualification),
|
|
1278
|
-
rootGroup: smithy_client_1.expectString(output.rootGroup),
|
|
1279
|
-
suiteDefinitionName: smithy_client_1.expectString(output.suiteDefinitionName),
|
|
1277
|
+
intendedForQualification: (0, smithy_client_1.expectBoolean)(output.intendedForQualification),
|
|
1278
|
+
rootGroup: (0, smithy_client_1.expectString)(output.rootGroup),
|
|
1279
|
+
suiteDefinitionName: (0, smithy_client_1.expectString)(output.suiteDefinitionName),
|
|
1280
1280
|
};
|
|
1281
1281
|
};
|
|
1282
1282
|
const deserializeAws_restJson1SuiteDefinitionInformation = (output, context) => {
|
|
1283
1283
|
return {
|
|
1284
1284
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
1285
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
1285
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
|
|
1286
1286
|
: undefined,
|
|
1287
1287
|
defaultDevices: output.defaultDevices !== undefined && output.defaultDevices !== null
|
|
1288
1288
|
? deserializeAws_restJson1DeviceUnderTestList(output.defaultDevices, context)
|
|
1289
1289
|
: undefined,
|
|
1290
|
-
intendedForQualification: smithy_client_1.expectBoolean(output.intendedForQualification),
|
|
1291
|
-
suiteDefinitionId: smithy_client_1.expectString(output.suiteDefinitionId),
|
|
1292
|
-
suiteDefinitionName: smithy_client_1.expectString(output.suiteDefinitionName),
|
|
1290
|
+
intendedForQualification: (0, smithy_client_1.expectBoolean)(output.intendedForQualification),
|
|
1291
|
+
suiteDefinitionId: (0, smithy_client_1.expectString)(output.suiteDefinitionId),
|
|
1292
|
+
suiteDefinitionName: (0, smithy_client_1.expectString)(output.suiteDefinitionName),
|
|
1293
1293
|
};
|
|
1294
1294
|
};
|
|
1295
1295
|
const deserializeAws_restJson1SuiteDefinitionInformationList = (output, context) => {
|
|
@@ -1305,7 +1305,7 @@ const deserializeAws_restJson1SuiteDefinitionInformationList = (output, context)
|
|
|
1305
1305
|
};
|
|
1306
1306
|
const deserializeAws_restJson1SuiteRunConfiguration = (output, context) => {
|
|
1307
1307
|
return {
|
|
1308
|
-
parallelRun: smithy_client_1.expectBoolean(output.parallelRun),
|
|
1308
|
+
parallelRun: (0, smithy_client_1.expectBoolean)(output.parallelRun),
|
|
1309
1309
|
primaryDevice: output.primaryDevice !== undefined && output.primaryDevice !== null
|
|
1310
1310
|
? deserializeAws_restJson1DeviceUnderTest(output.primaryDevice, context)
|
|
1311
1311
|
: undefined,
|
|
@@ -1317,21 +1317,21 @@ const deserializeAws_restJson1SuiteRunConfiguration = (output, context) => {
|
|
|
1317
1317
|
const deserializeAws_restJson1SuiteRunInformation = (output, context) => {
|
|
1318
1318
|
return {
|
|
1319
1319
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
1320
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
1320
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
|
|
1321
1321
|
: undefined,
|
|
1322
1322
|
endAt: output.endAt !== undefined && output.endAt !== null
|
|
1323
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.endAt)))
|
|
1323
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endAt)))
|
|
1324
1324
|
: undefined,
|
|
1325
|
-
failed: smithy_client_1.expectInt32(output.failed),
|
|
1326
|
-
passed: smithy_client_1.expectInt32(output.passed),
|
|
1325
|
+
failed: (0, smithy_client_1.expectInt32)(output.failed),
|
|
1326
|
+
passed: (0, smithy_client_1.expectInt32)(output.passed),
|
|
1327
1327
|
startedAt: output.startedAt !== undefined && output.startedAt !== null
|
|
1328
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startedAt)))
|
|
1328
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startedAt)))
|
|
1329
1329
|
: undefined,
|
|
1330
|
-
status: smithy_client_1.expectString(output.status),
|
|
1331
|
-
suiteDefinitionId: smithy_client_1.expectString(output.suiteDefinitionId),
|
|
1332
|
-
suiteDefinitionName: smithy_client_1.expectString(output.suiteDefinitionName),
|
|
1333
|
-
suiteDefinitionVersion: smithy_client_1.expectString(output.suiteDefinitionVersion),
|
|
1334
|
-
suiteRunId: smithy_client_1.expectString(output.suiteRunId),
|
|
1330
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
1331
|
+
suiteDefinitionId: (0, smithy_client_1.expectString)(output.suiteDefinitionId),
|
|
1332
|
+
suiteDefinitionName: (0, smithy_client_1.expectString)(output.suiteDefinitionName),
|
|
1333
|
+
suiteDefinitionVersion: (0, smithy_client_1.expectString)(output.suiteDefinitionVersion),
|
|
1334
|
+
suiteRunId: (0, smithy_client_1.expectString)(output.suiteRunId),
|
|
1335
1335
|
};
|
|
1336
1336
|
};
|
|
1337
1337
|
const deserializeAws_restJson1SuiteRunsList = (output, context) => {
|
|
@@ -1352,25 +1352,25 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
1352
1352
|
}
|
|
1353
1353
|
return {
|
|
1354
1354
|
...acc,
|
|
1355
|
-
[key]: smithy_client_1.expectString(value),
|
|
1355
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
1356
1356
|
};
|
|
1357
1357
|
}, {});
|
|
1358
1358
|
};
|
|
1359
1359
|
const deserializeAws_restJson1TestCaseRun = (output, context) => {
|
|
1360
1360
|
return {
|
|
1361
1361
|
endTime: output.endTime !== undefined && output.endTime !== null
|
|
1362
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.endTime)))
|
|
1362
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.endTime)))
|
|
1363
1363
|
: undefined,
|
|
1364
|
-
failure: smithy_client_1.expectString(output.failure),
|
|
1365
|
-
logUrl: smithy_client_1.expectString(output.logUrl),
|
|
1364
|
+
failure: (0, smithy_client_1.expectString)(output.failure),
|
|
1365
|
+
logUrl: (0, smithy_client_1.expectString)(output.logUrl),
|
|
1366
1366
|
startTime: output.startTime !== undefined && output.startTime !== null
|
|
1367
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startTime)))
|
|
1367
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startTime)))
|
|
1368
1368
|
: undefined,
|
|
1369
|
-
status: smithy_client_1.expectString(output.status),
|
|
1370
|
-
testCaseDefinitionId: smithy_client_1.expectString(output.testCaseDefinitionId),
|
|
1371
|
-
testCaseDefinitionName: smithy_client_1.expectString(output.testCaseDefinitionName),
|
|
1372
|
-
testCaseRunId: smithy_client_1.expectString(output.testCaseRunId),
|
|
1373
|
-
warnings: smithy_client_1.expectString(output.warnings),
|
|
1369
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
1370
|
+
testCaseDefinitionId: (0, smithy_client_1.expectString)(output.testCaseDefinitionId),
|
|
1371
|
+
testCaseDefinitionName: (0, smithy_client_1.expectString)(output.testCaseDefinitionName),
|
|
1372
|
+
testCaseRunId: (0, smithy_client_1.expectString)(output.testCaseRunId),
|
|
1373
|
+
warnings: (0, smithy_client_1.expectString)(output.warnings),
|
|
1374
1374
|
};
|
|
1375
1375
|
};
|
|
1376
1376
|
const deserializeAws_restJson1TestCaseRuns = (output, context) => {
|