@aws-sdk/client-iot-events 3.121.0 → 3.130.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 +27 -0
- package/dist-cjs/protocols/Aws_restJson1.js +253 -441
- package/dist-es/protocols/Aws_restJson1.js +164 -352
- package/package.json +26 -26
|
@@ -14,28 +14,22 @@ const serializeAws_restJson1CreateAlarmModelCommand = async (input, context) =>
|
|
|
14
14
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/alarm-models";
|
|
15
15
|
let body;
|
|
16
16
|
body = JSON.stringify({
|
|
17
|
-
...(input.alarmCapabilities
|
|
18
|
-
input.alarmCapabilities !== null && {
|
|
17
|
+
...(input.alarmCapabilities != null && {
|
|
19
18
|
alarmCapabilities: serializeAws_restJson1AlarmCapabilities(input.alarmCapabilities, context),
|
|
20
19
|
}),
|
|
21
|
-
...(input.alarmEventActions
|
|
22
|
-
input.alarmEventActions !== null && {
|
|
20
|
+
...(input.alarmEventActions != null && {
|
|
23
21
|
alarmEventActions: serializeAws_restJson1AlarmEventActions(input.alarmEventActions, context),
|
|
24
22
|
}),
|
|
25
|
-
...(input.alarmModelDescription
|
|
26
|
-
|
|
27
|
-
...(input.
|
|
28
|
-
input.alarmModelName !== null && { alarmModelName: input.alarmModelName }),
|
|
29
|
-
...(input.alarmNotification !== undefined &&
|
|
30
|
-
input.alarmNotification !== null && {
|
|
23
|
+
...(input.alarmModelDescription != null && { alarmModelDescription: input.alarmModelDescription }),
|
|
24
|
+
...(input.alarmModelName != null && { alarmModelName: input.alarmModelName }),
|
|
25
|
+
...(input.alarmNotification != null && {
|
|
31
26
|
alarmNotification: serializeAws_restJson1AlarmNotification(input.alarmNotification, context),
|
|
32
27
|
}),
|
|
33
|
-
...(input.alarmRule
|
|
34
|
-
|
|
35
|
-
...(input.
|
|
36
|
-
...(input.
|
|
37
|
-
...(input.
|
|
38
|
-
...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1Tags(input.tags, context) }),
|
|
28
|
+
...(input.alarmRule != null && { alarmRule: serializeAws_restJson1AlarmRule(input.alarmRule, context) }),
|
|
29
|
+
...(input.key != null && { key: input.key }),
|
|
30
|
+
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
31
|
+
...(input.severity != null && { severity: input.severity }),
|
|
32
|
+
...(input.tags != null && { tags: serializeAws_restJson1Tags(input.tags, context) }),
|
|
39
33
|
});
|
|
40
34
|
return new protocol_http_1.HttpRequest({
|
|
41
35
|
protocol,
|
|
@@ -56,19 +50,15 @@ const serializeAws_restJson1CreateDetectorModelCommand = async (input, context)
|
|
|
56
50
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/detector-models";
|
|
57
51
|
let body;
|
|
58
52
|
body = JSON.stringify({
|
|
59
|
-
...(input.detectorModelDefinition
|
|
60
|
-
input.detectorModelDefinition !== null && {
|
|
53
|
+
...(input.detectorModelDefinition != null && {
|
|
61
54
|
detectorModelDefinition: serializeAws_restJson1DetectorModelDefinition(input.detectorModelDefinition, context),
|
|
62
55
|
}),
|
|
63
|
-
...(input.detectorModelDescription
|
|
64
|
-
|
|
65
|
-
...(input.
|
|
66
|
-
|
|
67
|
-
...(input.
|
|
68
|
-
|
|
69
|
-
...(input.key !== undefined && input.key !== null && { key: input.key }),
|
|
70
|
-
...(input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn }),
|
|
71
|
-
...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1Tags(input.tags, context) }),
|
|
56
|
+
...(input.detectorModelDescription != null && { detectorModelDescription: input.detectorModelDescription }),
|
|
57
|
+
...(input.detectorModelName != null && { detectorModelName: input.detectorModelName }),
|
|
58
|
+
...(input.evaluationMethod != null && { evaluationMethod: input.evaluationMethod }),
|
|
59
|
+
...(input.key != null && { key: input.key }),
|
|
60
|
+
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
61
|
+
...(input.tags != null && { tags: serializeAws_restJson1Tags(input.tags, context) }),
|
|
72
62
|
});
|
|
73
63
|
return new protocol_http_1.HttpRequest({
|
|
74
64
|
protocol,
|
|
@@ -89,14 +79,12 @@ const serializeAws_restJson1CreateInputCommand = async (input, context) => {
|
|
|
89
79
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/inputs";
|
|
90
80
|
let body;
|
|
91
81
|
body = JSON.stringify({
|
|
92
|
-
...(input.inputDefinition
|
|
93
|
-
input.inputDefinition !== null && {
|
|
82
|
+
...(input.inputDefinition != null && {
|
|
94
83
|
inputDefinition: serializeAws_restJson1InputDefinition(input.inputDefinition, context),
|
|
95
84
|
}),
|
|
96
|
-
...(input.inputDescription
|
|
97
|
-
|
|
98
|
-
...(input.
|
|
99
|
-
...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1Tags(input.tags, context) }),
|
|
85
|
+
...(input.inputDescription != null && { inputDescription: input.inputDescription }),
|
|
86
|
+
...(input.inputName != null && { inputName: input.inputName }),
|
|
87
|
+
...(input.tags != null && { tags: serializeAws_restJson1Tags(input.tags, context) }),
|
|
100
88
|
});
|
|
101
89
|
return new protocol_http_1.HttpRequest({
|
|
102
90
|
protocol,
|
|
@@ -463,12 +451,11 @@ const serializeAws_restJson1ListInputRoutingsCommand = async (input, context) =>
|
|
|
463
451
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/input-routings";
|
|
464
452
|
let body;
|
|
465
453
|
body = JSON.stringify({
|
|
466
|
-
...(input.inputIdentifier
|
|
467
|
-
input.inputIdentifier !== null && {
|
|
454
|
+
...(input.inputIdentifier != null && {
|
|
468
455
|
inputIdentifier: serializeAws_restJson1InputIdentifier(input.inputIdentifier, context),
|
|
469
456
|
}),
|
|
470
|
-
...(input.maxResults
|
|
471
|
-
...(input.nextToken
|
|
457
|
+
...(input.maxResults != null && { maxResults: input.maxResults }),
|
|
458
|
+
...(input.nextToken != null && { nextToken: input.nextToken }),
|
|
472
459
|
});
|
|
473
460
|
return new protocol_http_1.HttpRequest({
|
|
474
461
|
protocol,
|
|
@@ -530,8 +517,7 @@ const serializeAws_restJson1PutLoggingOptionsCommand = async (input, context) =>
|
|
|
530
517
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/logging";
|
|
531
518
|
let body;
|
|
532
519
|
body = JSON.stringify({
|
|
533
|
-
...(input.loggingOptions
|
|
534
|
-
input.loggingOptions !== null && {
|
|
520
|
+
...(input.loggingOptions != null && {
|
|
535
521
|
loggingOptions: serializeAws_restJson1LoggingOptions(input.loggingOptions, context),
|
|
536
522
|
}),
|
|
537
523
|
});
|
|
@@ -554,8 +540,7 @@ const serializeAws_restJson1StartDetectorModelAnalysisCommand = async (input, co
|
|
|
554
540
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/analysis/detector-models";
|
|
555
541
|
let body;
|
|
556
542
|
body = JSON.stringify({
|
|
557
|
-
...(input.detectorModelDefinition
|
|
558
|
-
input.detectorModelDefinition !== null && {
|
|
543
|
+
...(input.detectorModelDefinition != null && {
|
|
559
544
|
detectorModelDefinition: serializeAws_restJson1DetectorModelDefinition(input.detectorModelDefinition, context),
|
|
560
545
|
}),
|
|
561
546
|
});
|
|
@@ -581,7 +566,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
581
566
|
};
|
|
582
567
|
let body;
|
|
583
568
|
body = JSON.stringify({
|
|
584
|
-
...(input.tags
|
|
569
|
+
...(input.tags != null && { tags: serializeAws_restJson1Tags(input.tags, context) }),
|
|
585
570
|
});
|
|
586
571
|
return new protocol_http_1.HttpRequest({
|
|
587
572
|
protocol,
|
|
@@ -634,24 +619,19 @@ const serializeAws_restJson1UpdateAlarmModelCommand = async (input, context) =>
|
|
|
634
619
|
}
|
|
635
620
|
let body;
|
|
636
621
|
body = JSON.stringify({
|
|
637
|
-
...(input.alarmCapabilities
|
|
638
|
-
input.alarmCapabilities !== null && {
|
|
622
|
+
...(input.alarmCapabilities != null && {
|
|
639
623
|
alarmCapabilities: serializeAws_restJson1AlarmCapabilities(input.alarmCapabilities, context),
|
|
640
624
|
}),
|
|
641
|
-
...(input.alarmEventActions
|
|
642
|
-
input.alarmEventActions !== null && {
|
|
625
|
+
...(input.alarmEventActions != null && {
|
|
643
626
|
alarmEventActions: serializeAws_restJson1AlarmEventActions(input.alarmEventActions, context),
|
|
644
627
|
}),
|
|
645
|
-
...(input.alarmModelDescription
|
|
646
|
-
|
|
647
|
-
...(input.alarmNotification !== undefined &&
|
|
648
|
-
input.alarmNotification !== null && {
|
|
628
|
+
...(input.alarmModelDescription != null && { alarmModelDescription: input.alarmModelDescription }),
|
|
629
|
+
...(input.alarmNotification != null && {
|
|
649
630
|
alarmNotification: serializeAws_restJson1AlarmNotification(input.alarmNotification, context),
|
|
650
631
|
}),
|
|
651
|
-
...(input.alarmRule
|
|
652
|
-
|
|
653
|
-
...(input.
|
|
654
|
-
...(input.severity !== undefined && input.severity !== null && { severity: input.severity }),
|
|
632
|
+
...(input.alarmRule != null && { alarmRule: serializeAws_restJson1AlarmRule(input.alarmRule, context) }),
|
|
633
|
+
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
634
|
+
...(input.severity != null && { severity: input.severity }),
|
|
655
635
|
});
|
|
656
636
|
return new protocol_http_1.HttpRequest({
|
|
657
637
|
protocol,
|
|
@@ -682,15 +662,12 @@ const serializeAws_restJson1UpdateDetectorModelCommand = async (input, context)
|
|
|
682
662
|
}
|
|
683
663
|
let body;
|
|
684
664
|
body = JSON.stringify({
|
|
685
|
-
...(input.detectorModelDefinition
|
|
686
|
-
input.detectorModelDefinition !== null && {
|
|
665
|
+
...(input.detectorModelDefinition != null && {
|
|
687
666
|
detectorModelDefinition: serializeAws_restJson1DetectorModelDefinition(input.detectorModelDefinition, context),
|
|
688
667
|
}),
|
|
689
|
-
...(input.detectorModelDescription
|
|
690
|
-
|
|
691
|
-
...(input.
|
|
692
|
-
input.evaluationMethod !== null && { evaluationMethod: input.evaluationMethod }),
|
|
693
|
-
...(input.roleArn !== undefined && input.roleArn !== null && { roleArn: input.roleArn }),
|
|
668
|
+
...(input.detectorModelDescription != null && { detectorModelDescription: input.detectorModelDescription }),
|
|
669
|
+
...(input.evaluationMethod != null && { evaluationMethod: input.evaluationMethod }),
|
|
670
|
+
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
694
671
|
});
|
|
695
672
|
return new protocol_http_1.HttpRequest({
|
|
696
673
|
protocol,
|
|
@@ -721,12 +698,10 @@ const serializeAws_restJson1UpdateInputCommand = async (input, context) => {
|
|
|
721
698
|
}
|
|
722
699
|
let body;
|
|
723
700
|
body = JSON.stringify({
|
|
724
|
-
...(input.inputDefinition
|
|
725
|
-
input.inputDefinition !== null && {
|
|
701
|
+
...(input.inputDefinition != null && {
|
|
726
702
|
inputDefinition: serializeAws_restJson1InputDefinition(input.inputDefinition, context),
|
|
727
703
|
}),
|
|
728
|
-
...(input.inputDescription
|
|
729
|
-
input.inputDescription !== null && { inputDescription: input.inputDescription }),
|
|
704
|
+
...(input.inputDescription != null && { inputDescription: input.inputDescription }),
|
|
730
705
|
});
|
|
731
706
|
return new protocol_http_1.HttpRequest({
|
|
732
707
|
protocol,
|
|
@@ -2277,42 +2252,30 @@ const deserializeAws_restJson1UnsupportedOperationExceptionResponse = async (par
|
|
|
2277
2252
|
};
|
|
2278
2253
|
const serializeAws_restJson1AcknowledgeFlow = (input, context) => {
|
|
2279
2254
|
return {
|
|
2280
|
-
...(input.enabled
|
|
2255
|
+
...(input.enabled != null && { enabled: input.enabled }),
|
|
2281
2256
|
};
|
|
2282
2257
|
};
|
|
2283
2258
|
const serializeAws_restJson1Action = (input, context) => {
|
|
2284
2259
|
return {
|
|
2285
|
-
...(input.clearTimer
|
|
2286
|
-
|
|
2287
|
-
...(input.
|
|
2288
|
-
|
|
2289
|
-
...(input.
|
|
2290
|
-
|
|
2291
|
-
...(input.firehose !== undefined &&
|
|
2292
|
-
input.firehose !== null && { firehose: serializeAws_restJson1FirehoseAction(input.firehose, context) }),
|
|
2293
|
-
...(input.iotEvents !== undefined &&
|
|
2294
|
-
input.iotEvents !== null && { iotEvents: serializeAws_restJson1IotEventsAction(input.iotEvents, context) }),
|
|
2295
|
-
...(input.iotSiteWise !== undefined &&
|
|
2296
|
-
input.iotSiteWise !== null && {
|
|
2260
|
+
...(input.clearTimer != null && { clearTimer: serializeAws_restJson1ClearTimerAction(input.clearTimer, context) }),
|
|
2261
|
+
...(input.dynamoDB != null && { dynamoDB: serializeAws_restJson1DynamoDBAction(input.dynamoDB, context) }),
|
|
2262
|
+
...(input.dynamoDBv2 != null && { dynamoDBv2: serializeAws_restJson1DynamoDBv2Action(input.dynamoDBv2, context) }),
|
|
2263
|
+
...(input.firehose != null && { firehose: serializeAws_restJson1FirehoseAction(input.firehose, context) }),
|
|
2264
|
+
...(input.iotEvents != null && { iotEvents: serializeAws_restJson1IotEventsAction(input.iotEvents, context) }),
|
|
2265
|
+
...(input.iotSiteWise != null && {
|
|
2297
2266
|
iotSiteWise: serializeAws_restJson1IotSiteWiseAction(input.iotSiteWise, context),
|
|
2298
2267
|
}),
|
|
2299
|
-
...(input.iotTopicPublish
|
|
2300
|
-
input.iotTopicPublish !== null && {
|
|
2268
|
+
...(input.iotTopicPublish != null && {
|
|
2301
2269
|
iotTopicPublish: serializeAws_restJson1IotTopicPublishAction(input.iotTopicPublish, context),
|
|
2302
2270
|
}),
|
|
2303
|
-
...(input.lambda
|
|
2304
|
-
|
|
2305
|
-
...(input.
|
|
2306
|
-
|
|
2307
|
-
...(input.setTimer !== undefined &&
|
|
2308
|
-
input.setTimer !== null && { setTimer: serializeAws_restJson1SetTimerAction(input.setTimer, context) }),
|
|
2309
|
-
...(input.setVariable !== undefined &&
|
|
2310
|
-
input.setVariable !== null && {
|
|
2271
|
+
...(input.lambda != null && { lambda: serializeAws_restJson1LambdaAction(input.lambda, context) }),
|
|
2272
|
+
...(input.resetTimer != null && { resetTimer: serializeAws_restJson1ResetTimerAction(input.resetTimer, context) }),
|
|
2273
|
+
...(input.setTimer != null && { setTimer: serializeAws_restJson1SetTimerAction(input.setTimer, context) }),
|
|
2274
|
+
...(input.setVariable != null && {
|
|
2311
2275
|
setVariable: serializeAws_restJson1SetVariableAction(input.setVariable, context),
|
|
2312
2276
|
}),
|
|
2313
|
-
...(input.sns
|
|
2314
|
-
|
|
2315
|
-
...(input.sqs !== undefined && input.sqs !== null && { sqs: serializeAws_restJson1SqsAction(input.sqs, context) }),
|
|
2277
|
+
...(input.sns != null && { sns: serializeAws_restJson1SNSTopicPublishAction(input.sns, context) }),
|
|
2278
|
+
...(input.sqs != null && { sqs: serializeAws_restJson1SqsAction(input.sqs, context) }),
|
|
2316
2279
|
};
|
|
2317
2280
|
};
|
|
2318
2281
|
const serializeAws_restJson1Actions = (input, context) => {
|
|
@@ -2327,27 +2290,19 @@ const serializeAws_restJson1Actions = (input, context) => {
|
|
|
2327
2290
|
};
|
|
2328
2291
|
const serializeAws_restJson1AlarmAction = (input, context) => {
|
|
2329
2292
|
return {
|
|
2330
|
-
...(input.dynamoDB
|
|
2331
|
-
|
|
2332
|
-
...(input.
|
|
2333
|
-
|
|
2334
|
-
...(input.
|
|
2335
|
-
input.firehose !== null && { firehose: serializeAws_restJson1FirehoseAction(input.firehose, context) }),
|
|
2336
|
-
...(input.iotEvents !== undefined &&
|
|
2337
|
-
input.iotEvents !== null && { iotEvents: serializeAws_restJson1IotEventsAction(input.iotEvents, context) }),
|
|
2338
|
-
...(input.iotSiteWise !== undefined &&
|
|
2339
|
-
input.iotSiteWise !== null && {
|
|
2293
|
+
...(input.dynamoDB != null && { dynamoDB: serializeAws_restJson1DynamoDBAction(input.dynamoDB, context) }),
|
|
2294
|
+
...(input.dynamoDBv2 != null && { dynamoDBv2: serializeAws_restJson1DynamoDBv2Action(input.dynamoDBv2, context) }),
|
|
2295
|
+
...(input.firehose != null && { firehose: serializeAws_restJson1FirehoseAction(input.firehose, context) }),
|
|
2296
|
+
...(input.iotEvents != null && { iotEvents: serializeAws_restJson1IotEventsAction(input.iotEvents, context) }),
|
|
2297
|
+
...(input.iotSiteWise != null && {
|
|
2340
2298
|
iotSiteWise: serializeAws_restJson1IotSiteWiseAction(input.iotSiteWise, context),
|
|
2341
2299
|
}),
|
|
2342
|
-
...(input.iotTopicPublish
|
|
2343
|
-
input.iotTopicPublish !== null && {
|
|
2300
|
+
...(input.iotTopicPublish != null && {
|
|
2344
2301
|
iotTopicPublish: serializeAws_restJson1IotTopicPublishAction(input.iotTopicPublish, context),
|
|
2345
2302
|
}),
|
|
2346
|
-
...(input.lambda
|
|
2347
|
-
|
|
2348
|
-
...(input.
|
|
2349
|
-
input.sns !== null && { sns: serializeAws_restJson1SNSTopicPublishAction(input.sns, context) }),
|
|
2350
|
-
...(input.sqs !== undefined && input.sqs !== null && { sqs: serializeAws_restJson1SqsAction(input.sqs, context) }),
|
|
2303
|
+
...(input.lambda != null && { lambda: serializeAws_restJson1LambdaAction(input.lambda, context) }),
|
|
2304
|
+
...(input.sns != null && { sns: serializeAws_restJson1SNSTopicPublishAction(input.sns, context) }),
|
|
2305
|
+
...(input.sqs != null && { sqs: serializeAws_restJson1SqsAction(input.sqs, context) }),
|
|
2351
2306
|
};
|
|
2352
2307
|
};
|
|
2353
2308
|
const serializeAws_restJson1AlarmActions = (input, context) => {
|
|
@@ -2362,64 +2317,59 @@ const serializeAws_restJson1AlarmActions = (input, context) => {
|
|
|
2362
2317
|
};
|
|
2363
2318
|
const serializeAws_restJson1AlarmCapabilities = (input, context) => {
|
|
2364
2319
|
return {
|
|
2365
|
-
...(input.acknowledgeFlow
|
|
2366
|
-
input.acknowledgeFlow !== null && {
|
|
2320
|
+
...(input.acknowledgeFlow != null && {
|
|
2367
2321
|
acknowledgeFlow: serializeAws_restJson1AcknowledgeFlow(input.acknowledgeFlow, context),
|
|
2368
2322
|
}),
|
|
2369
|
-
...(input.initializationConfiguration
|
|
2370
|
-
input.initializationConfiguration !== null && {
|
|
2323
|
+
...(input.initializationConfiguration != null && {
|
|
2371
2324
|
initializationConfiguration: serializeAws_restJson1InitializationConfiguration(input.initializationConfiguration, context),
|
|
2372
2325
|
}),
|
|
2373
2326
|
};
|
|
2374
2327
|
};
|
|
2375
2328
|
const serializeAws_restJson1AlarmEventActions = (input, context) => {
|
|
2376
2329
|
return {
|
|
2377
|
-
...(input.alarmActions
|
|
2378
|
-
|
|
2330
|
+
...(input.alarmActions != null && {
|
|
2331
|
+
alarmActions: serializeAws_restJson1AlarmActions(input.alarmActions, context),
|
|
2332
|
+
}),
|
|
2379
2333
|
};
|
|
2380
2334
|
};
|
|
2381
2335
|
const serializeAws_restJson1AlarmNotification = (input, context) => {
|
|
2382
2336
|
return {
|
|
2383
|
-
...(input.notificationActions
|
|
2384
|
-
input.notificationActions !== null && {
|
|
2337
|
+
...(input.notificationActions != null && {
|
|
2385
2338
|
notificationActions: serializeAws_restJson1NotificationActions(input.notificationActions, context),
|
|
2386
2339
|
}),
|
|
2387
2340
|
};
|
|
2388
2341
|
};
|
|
2389
2342
|
const serializeAws_restJson1AlarmRule = (input, context) => {
|
|
2390
2343
|
return {
|
|
2391
|
-
...(input.simpleRule
|
|
2392
|
-
input.simpleRule !== null && { simpleRule: serializeAws_restJson1SimpleRule(input.simpleRule, context) }),
|
|
2344
|
+
...(input.simpleRule != null && { simpleRule: serializeAws_restJson1SimpleRule(input.simpleRule, context) }),
|
|
2393
2345
|
};
|
|
2394
2346
|
};
|
|
2395
2347
|
const serializeAws_restJson1AssetPropertyTimestamp = (input, context) => {
|
|
2396
2348
|
return {
|
|
2397
|
-
...(input.offsetInNanos
|
|
2398
|
-
...(input.timeInSeconds
|
|
2349
|
+
...(input.offsetInNanos != null && { offsetInNanos: input.offsetInNanos }),
|
|
2350
|
+
...(input.timeInSeconds != null && { timeInSeconds: input.timeInSeconds }),
|
|
2399
2351
|
};
|
|
2400
2352
|
};
|
|
2401
2353
|
const serializeAws_restJson1AssetPropertyValue = (input, context) => {
|
|
2402
2354
|
return {
|
|
2403
|
-
...(input.quality
|
|
2404
|
-
...(input.timestamp
|
|
2405
|
-
input.timestamp !== null && {
|
|
2355
|
+
...(input.quality != null && { quality: input.quality }),
|
|
2356
|
+
...(input.timestamp != null && {
|
|
2406
2357
|
timestamp: serializeAws_restJson1AssetPropertyTimestamp(input.timestamp, context),
|
|
2407
2358
|
}),
|
|
2408
|
-
...(input.value
|
|
2409
|
-
input.value !== null && { value: serializeAws_restJson1AssetPropertyVariant(input.value, context) }),
|
|
2359
|
+
...(input.value != null && { value: serializeAws_restJson1AssetPropertyVariant(input.value, context) }),
|
|
2410
2360
|
};
|
|
2411
2361
|
};
|
|
2412
2362
|
const serializeAws_restJson1AssetPropertyVariant = (input, context) => {
|
|
2413
2363
|
return {
|
|
2414
|
-
...(input.booleanValue
|
|
2415
|
-
...(input.doubleValue
|
|
2416
|
-
...(input.integerValue
|
|
2417
|
-
...(input.stringValue
|
|
2364
|
+
...(input.booleanValue != null && { booleanValue: input.booleanValue }),
|
|
2365
|
+
...(input.doubleValue != null && { doubleValue: input.doubleValue }),
|
|
2366
|
+
...(input.integerValue != null && { integerValue: input.integerValue }),
|
|
2367
|
+
...(input.stringValue != null && { stringValue: input.stringValue }),
|
|
2418
2368
|
};
|
|
2419
2369
|
};
|
|
2420
2370
|
const serializeAws_restJson1Attribute = (input, context) => {
|
|
2421
2371
|
return {
|
|
2422
|
-
...(input.jsonPath
|
|
2372
|
+
...(input.jsonPath != null && { jsonPath: input.jsonPath }),
|
|
2423
2373
|
};
|
|
2424
2374
|
};
|
|
2425
2375
|
const serializeAws_restJson1Attributes = (input, context) => {
|
|
@@ -2434,14 +2384,13 @@ const serializeAws_restJson1Attributes = (input, context) => {
|
|
|
2434
2384
|
};
|
|
2435
2385
|
const serializeAws_restJson1ClearTimerAction = (input, context) => {
|
|
2436
2386
|
return {
|
|
2437
|
-
...(input.timerName
|
|
2387
|
+
...(input.timerName != null && { timerName: input.timerName }),
|
|
2438
2388
|
};
|
|
2439
2389
|
};
|
|
2440
2390
|
const serializeAws_restJson1DetectorDebugOption = (input, context) => {
|
|
2441
2391
|
return {
|
|
2442
|
-
...(input.detectorModelName
|
|
2443
|
-
|
|
2444
|
-
...(input.keyValue !== undefined && input.keyValue !== null && { keyValue: input.keyValue }),
|
|
2392
|
+
...(input.detectorModelName != null && { detectorModelName: input.detectorModelName }),
|
|
2393
|
+
...(input.keyValue != null && { keyValue: input.keyValue }),
|
|
2445
2394
|
};
|
|
2446
2395
|
};
|
|
2447
2396
|
const serializeAws_restJson1DetectorDebugOptions = (input, context) => {
|
|
@@ -2456,41 +2405,35 @@ const serializeAws_restJson1DetectorDebugOptions = (input, context) => {
|
|
|
2456
2405
|
};
|
|
2457
2406
|
const serializeAws_restJson1DetectorModelDefinition = (input, context) => {
|
|
2458
2407
|
return {
|
|
2459
|
-
...(input.initialStateName
|
|
2460
|
-
|
|
2461
|
-
...(input.states !== undefined &&
|
|
2462
|
-
input.states !== null && { states: serializeAws_restJson1States(input.states, context) }),
|
|
2408
|
+
...(input.initialStateName != null && { initialStateName: input.initialStateName }),
|
|
2409
|
+
...(input.states != null && { states: serializeAws_restJson1States(input.states, context) }),
|
|
2463
2410
|
};
|
|
2464
2411
|
};
|
|
2465
2412
|
const serializeAws_restJson1DynamoDBAction = (input, context) => {
|
|
2466
2413
|
return {
|
|
2467
|
-
...(input.hashKeyField
|
|
2468
|
-
...(input.hashKeyType
|
|
2469
|
-
...(input.hashKeyValue
|
|
2470
|
-
...(input.operation
|
|
2471
|
-
...(input.payload
|
|
2472
|
-
|
|
2473
|
-
...(input.
|
|
2474
|
-
...(input.
|
|
2475
|
-
...(input.
|
|
2476
|
-
...(input.
|
|
2477
|
-
...(input.tableName !== undefined && input.tableName !== null && { tableName: input.tableName }),
|
|
2414
|
+
...(input.hashKeyField != null && { hashKeyField: input.hashKeyField }),
|
|
2415
|
+
...(input.hashKeyType != null && { hashKeyType: input.hashKeyType }),
|
|
2416
|
+
...(input.hashKeyValue != null && { hashKeyValue: input.hashKeyValue }),
|
|
2417
|
+
...(input.operation != null && { operation: input.operation }),
|
|
2418
|
+
...(input.payload != null && { payload: serializeAws_restJson1Payload(input.payload, context) }),
|
|
2419
|
+
...(input.payloadField != null && { payloadField: input.payloadField }),
|
|
2420
|
+
...(input.rangeKeyField != null && { rangeKeyField: input.rangeKeyField }),
|
|
2421
|
+
...(input.rangeKeyType != null && { rangeKeyType: input.rangeKeyType }),
|
|
2422
|
+
...(input.rangeKeyValue != null && { rangeKeyValue: input.rangeKeyValue }),
|
|
2423
|
+
...(input.tableName != null && { tableName: input.tableName }),
|
|
2478
2424
|
};
|
|
2479
2425
|
};
|
|
2480
2426
|
const serializeAws_restJson1DynamoDBv2Action = (input, context) => {
|
|
2481
2427
|
return {
|
|
2482
|
-
...(input.payload
|
|
2483
|
-
|
|
2484
|
-
...(input.tableName !== undefined && input.tableName !== null && { tableName: input.tableName }),
|
|
2428
|
+
...(input.payload != null && { payload: serializeAws_restJson1Payload(input.payload, context) }),
|
|
2429
|
+
...(input.tableName != null && { tableName: input.tableName }),
|
|
2485
2430
|
};
|
|
2486
2431
|
};
|
|
2487
2432
|
const serializeAws_restJson1EmailConfiguration = (input, context) => {
|
|
2488
2433
|
return {
|
|
2489
|
-
...(input.content
|
|
2490
|
-
|
|
2491
|
-
...(input.
|
|
2492
|
-
...(input.recipients !== undefined &&
|
|
2493
|
-
input.recipients !== null && { recipients: serializeAws_restJson1EmailRecipients(input.recipients, context) }),
|
|
2434
|
+
...(input.content != null && { content: serializeAws_restJson1EmailContent(input.content, context) }),
|
|
2435
|
+
...(input.from != null && { from: input.from }),
|
|
2436
|
+
...(input.recipients != null && { recipients: serializeAws_restJson1EmailRecipients(input.recipients, context) }),
|
|
2494
2437
|
};
|
|
2495
2438
|
};
|
|
2496
2439
|
const serializeAws_restJson1EmailConfigurations = (input, context) => {
|
|
@@ -2505,23 +2448,20 @@ const serializeAws_restJson1EmailConfigurations = (input, context) => {
|
|
|
2505
2448
|
};
|
|
2506
2449
|
const serializeAws_restJson1EmailContent = (input, context) => {
|
|
2507
2450
|
return {
|
|
2508
|
-
...(input.additionalMessage
|
|
2509
|
-
|
|
2510
|
-
...(input.subject !== undefined && input.subject !== null && { subject: input.subject }),
|
|
2451
|
+
...(input.additionalMessage != null && { additionalMessage: input.additionalMessage }),
|
|
2452
|
+
...(input.subject != null && { subject: input.subject }),
|
|
2511
2453
|
};
|
|
2512
2454
|
};
|
|
2513
2455
|
const serializeAws_restJson1EmailRecipients = (input, context) => {
|
|
2514
2456
|
return {
|
|
2515
|
-
...(input.to
|
|
2516
|
-
input.to !== null && { to: serializeAws_restJson1RecipientDetails(input.to, context) }),
|
|
2457
|
+
...(input.to != null && { to: serializeAws_restJson1RecipientDetails(input.to, context) }),
|
|
2517
2458
|
};
|
|
2518
2459
|
};
|
|
2519
2460
|
const serializeAws_restJson1Event = (input, context) => {
|
|
2520
2461
|
return {
|
|
2521
|
-
...(input.actions
|
|
2522
|
-
|
|
2523
|
-
...(input.
|
|
2524
|
-
...(input.eventName !== undefined && input.eventName !== null && { eventName: input.eventName }),
|
|
2462
|
+
...(input.actions != null && { actions: serializeAws_restJson1Actions(input.actions, context) }),
|
|
2463
|
+
...(input.condition != null && { condition: input.condition }),
|
|
2464
|
+
...(input.eventName != null && { eventName: input.eventName }),
|
|
2525
2465
|
};
|
|
2526
2466
|
};
|
|
2527
2467
|
const serializeAws_restJson1Events = (input, context) => {
|
|
@@ -2536,110 +2476,95 @@ const serializeAws_restJson1Events = (input, context) => {
|
|
|
2536
2476
|
};
|
|
2537
2477
|
const serializeAws_restJson1FirehoseAction = (input, context) => {
|
|
2538
2478
|
return {
|
|
2539
|
-
...(input.deliveryStreamName
|
|
2540
|
-
|
|
2541
|
-
...(input.
|
|
2542
|
-
input.payload !== null && { payload: serializeAws_restJson1Payload(input.payload, context) }),
|
|
2543
|
-
...(input.separator !== undefined && input.separator !== null && { separator: input.separator }),
|
|
2479
|
+
...(input.deliveryStreamName != null && { deliveryStreamName: input.deliveryStreamName }),
|
|
2480
|
+
...(input.payload != null && { payload: serializeAws_restJson1Payload(input.payload, context) }),
|
|
2481
|
+
...(input.separator != null && { separator: input.separator }),
|
|
2544
2482
|
};
|
|
2545
2483
|
};
|
|
2546
2484
|
const serializeAws_restJson1InitializationConfiguration = (input, context) => {
|
|
2547
2485
|
return {
|
|
2548
|
-
...(input.disabledOnInitialization
|
|
2549
|
-
input.disabledOnInitialization !== null && { disabledOnInitialization: input.disabledOnInitialization }),
|
|
2486
|
+
...(input.disabledOnInitialization != null && { disabledOnInitialization: input.disabledOnInitialization }),
|
|
2550
2487
|
};
|
|
2551
2488
|
};
|
|
2552
2489
|
const serializeAws_restJson1InputDefinition = (input, context) => {
|
|
2553
2490
|
return {
|
|
2554
|
-
...(input.attributes
|
|
2555
|
-
input.attributes !== null && { attributes: serializeAws_restJson1Attributes(input.attributes, context) }),
|
|
2491
|
+
...(input.attributes != null && { attributes: serializeAws_restJson1Attributes(input.attributes, context) }),
|
|
2556
2492
|
};
|
|
2557
2493
|
};
|
|
2558
2494
|
const serializeAws_restJson1InputIdentifier = (input, context) => {
|
|
2559
2495
|
return {
|
|
2560
|
-
...(input.iotEventsInputIdentifier
|
|
2561
|
-
input.iotEventsInputIdentifier !== null && {
|
|
2496
|
+
...(input.iotEventsInputIdentifier != null && {
|
|
2562
2497
|
iotEventsInputIdentifier: serializeAws_restJson1IotEventsInputIdentifier(input.iotEventsInputIdentifier, context),
|
|
2563
2498
|
}),
|
|
2564
|
-
...(input.iotSiteWiseInputIdentifier
|
|
2565
|
-
input.iotSiteWiseInputIdentifier !== null && {
|
|
2499
|
+
...(input.iotSiteWiseInputIdentifier != null && {
|
|
2566
2500
|
iotSiteWiseInputIdentifier: serializeAws_restJson1IotSiteWiseInputIdentifier(input.iotSiteWiseInputIdentifier, context),
|
|
2567
2501
|
}),
|
|
2568
2502
|
};
|
|
2569
2503
|
};
|
|
2570
2504
|
const serializeAws_restJson1IotEventsAction = (input, context) => {
|
|
2571
2505
|
return {
|
|
2572
|
-
...(input.inputName
|
|
2573
|
-
...(input.payload
|
|
2574
|
-
input.payload !== null && { payload: serializeAws_restJson1Payload(input.payload, context) }),
|
|
2506
|
+
...(input.inputName != null && { inputName: input.inputName }),
|
|
2507
|
+
...(input.payload != null && { payload: serializeAws_restJson1Payload(input.payload, context) }),
|
|
2575
2508
|
};
|
|
2576
2509
|
};
|
|
2577
2510
|
const serializeAws_restJson1IotEventsInputIdentifier = (input, context) => {
|
|
2578
2511
|
return {
|
|
2579
|
-
...(input.inputName
|
|
2512
|
+
...(input.inputName != null && { inputName: input.inputName }),
|
|
2580
2513
|
};
|
|
2581
2514
|
};
|
|
2582
2515
|
const serializeAws_restJson1IotSiteWiseAction = (input, context) => {
|
|
2583
2516
|
return {
|
|
2584
|
-
...(input.assetId
|
|
2585
|
-
...(input.entryId
|
|
2586
|
-
...(input.propertyAlias
|
|
2587
|
-
...(input.propertyId
|
|
2588
|
-
...(input.propertyValue
|
|
2589
|
-
input.propertyValue !== null && {
|
|
2517
|
+
...(input.assetId != null && { assetId: input.assetId }),
|
|
2518
|
+
...(input.entryId != null && { entryId: input.entryId }),
|
|
2519
|
+
...(input.propertyAlias != null && { propertyAlias: input.propertyAlias }),
|
|
2520
|
+
...(input.propertyId != null && { propertyId: input.propertyId }),
|
|
2521
|
+
...(input.propertyValue != null && {
|
|
2590
2522
|
propertyValue: serializeAws_restJson1AssetPropertyValue(input.propertyValue, context),
|
|
2591
2523
|
}),
|
|
2592
2524
|
};
|
|
2593
2525
|
};
|
|
2594
2526
|
const serializeAws_restJson1IotSiteWiseAssetModelPropertyIdentifier = (input, context) => {
|
|
2595
2527
|
return {
|
|
2596
|
-
...(input.assetModelId
|
|
2597
|
-
...(input.propertyId
|
|
2528
|
+
...(input.assetModelId != null && { assetModelId: input.assetModelId }),
|
|
2529
|
+
...(input.propertyId != null && { propertyId: input.propertyId }),
|
|
2598
2530
|
};
|
|
2599
2531
|
};
|
|
2600
2532
|
const serializeAws_restJson1IotSiteWiseInputIdentifier = (input, context) => {
|
|
2601
2533
|
return {
|
|
2602
|
-
...(input.iotSiteWiseAssetModelPropertyIdentifier
|
|
2603
|
-
input.iotSiteWiseAssetModelPropertyIdentifier !== null && {
|
|
2534
|
+
...(input.iotSiteWiseAssetModelPropertyIdentifier != null && {
|
|
2604
2535
|
iotSiteWiseAssetModelPropertyIdentifier: serializeAws_restJson1IotSiteWiseAssetModelPropertyIdentifier(input.iotSiteWiseAssetModelPropertyIdentifier, context),
|
|
2605
2536
|
}),
|
|
2606
2537
|
};
|
|
2607
2538
|
};
|
|
2608
2539
|
const serializeAws_restJson1IotTopicPublishAction = (input, context) => {
|
|
2609
2540
|
return {
|
|
2610
|
-
...(input.mqttTopic
|
|
2611
|
-
...(input.payload
|
|
2612
|
-
input.payload !== null && { payload: serializeAws_restJson1Payload(input.payload, context) }),
|
|
2541
|
+
...(input.mqttTopic != null && { mqttTopic: input.mqttTopic }),
|
|
2542
|
+
...(input.payload != null && { payload: serializeAws_restJson1Payload(input.payload, context) }),
|
|
2613
2543
|
};
|
|
2614
2544
|
};
|
|
2615
2545
|
const serializeAws_restJson1LambdaAction = (input, context) => {
|
|
2616
2546
|
return {
|
|
2617
|
-
...(input.functionArn
|
|
2618
|
-
...(input.payload
|
|
2619
|
-
input.payload !== null && { payload: serializeAws_restJson1Payload(input.payload, context) }),
|
|
2547
|
+
...(input.functionArn != null && { functionArn: input.functionArn }),
|
|
2548
|
+
...(input.payload != null && { payload: serializeAws_restJson1Payload(input.payload, context) }),
|
|
2620
2549
|
};
|
|
2621
2550
|
};
|
|
2622
2551
|
const serializeAws_restJson1LoggingOptions = (input, context) => {
|
|
2623
2552
|
return {
|
|
2624
|
-
...(input.detectorDebugOptions
|
|
2625
|
-
input.detectorDebugOptions !== null && {
|
|
2553
|
+
...(input.detectorDebugOptions != null && {
|
|
2626
2554
|
detectorDebugOptions: serializeAws_restJson1DetectorDebugOptions(input.detectorDebugOptions, context),
|
|
2627
2555
|
}),
|
|
2628
|
-
...(input.enabled
|
|
2629
|
-
...(input.level
|
|
2630
|
-
...(input.roleArn
|
|
2556
|
+
...(input.enabled != null && { enabled: input.enabled }),
|
|
2557
|
+
...(input.level != null && { level: input.level }),
|
|
2558
|
+
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
2631
2559
|
};
|
|
2632
2560
|
};
|
|
2633
2561
|
const serializeAws_restJson1NotificationAction = (input, context) => {
|
|
2634
2562
|
return {
|
|
2635
|
-
...(input.action
|
|
2636
|
-
|
|
2637
|
-
...(input.emailConfigurations !== undefined &&
|
|
2638
|
-
input.emailConfigurations !== null && {
|
|
2563
|
+
...(input.action != null && { action: serializeAws_restJson1NotificationTargetActions(input.action, context) }),
|
|
2564
|
+
...(input.emailConfigurations != null && {
|
|
2639
2565
|
emailConfigurations: serializeAws_restJson1EmailConfigurations(input.emailConfigurations, context),
|
|
2640
2566
|
}),
|
|
2641
|
-
...(input.smsConfigurations
|
|
2642
|
-
input.smsConfigurations !== null && {
|
|
2567
|
+
...(input.smsConfigurations != null && {
|
|
2643
2568
|
smsConfigurations: serializeAws_restJson1SMSConfigurations(input.smsConfigurations, context),
|
|
2644
2569
|
}),
|
|
2645
2570
|
};
|
|
@@ -2656,43 +2581,38 @@ const serializeAws_restJson1NotificationActions = (input, context) => {
|
|
|
2656
2581
|
};
|
|
2657
2582
|
const serializeAws_restJson1NotificationTargetActions = (input, context) => {
|
|
2658
2583
|
return {
|
|
2659
|
-
...(input.lambdaAction
|
|
2660
|
-
|
|
2584
|
+
...(input.lambdaAction != null && {
|
|
2585
|
+
lambdaAction: serializeAws_restJson1LambdaAction(input.lambdaAction, context),
|
|
2586
|
+
}),
|
|
2661
2587
|
};
|
|
2662
2588
|
};
|
|
2663
2589
|
const serializeAws_restJson1OnEnterLifecycle = (input, context) => {
|
|
2664
2590
|
return {
|
|
2665
|
-
...(input.events
|
|
2666
|
-
input.events !== null && { events: serializeAws_restJson1Events(input.events, context) }),
|
|
2591
|
+
...(input.events != null && { events: serializeAws_restJson1Events(input.events, context) }),
|
|
2667
2592
|
};
|
|
2668
2593
|
};
|
|
2669
2594
|
const serializeAws_restJson1OnExitLifecycle = (input, context) => {
|
|
2670
2595
|
return {
|
|
2671
|
-
...(input.events
|
|
2672
|
-
input.events !== null && { events: serializeAws_restJson1Events(input.events, context) }),
|
|
2596
|
+
...(input.events != null && { events: serializeAws_restJson1Events(input.events, context) }),
|
|
2673
2597
|
};
|
|
2674
2598
|
};
|
|
2675
2599
|
const serializeAws_restJson1OnInputLifecycle = (input, context) => {
|
|
2676
2600
|
return {
|
|
2677
|
-
...(input.events
|
|
2678
|
-
|
|
2679
|
-
...(input.transitionEvents !== undefined &&
|
|
2680
|
-
input.transitionEvents !== null && {
|
|
2601
|
+
...(input.events != null && { events: serializeAws_restJson1Events(input.events, context) }),
|
|
2602
|
+
...(input.transitionEvents != null && {
|
|
2681
2603
|
transitionEvents: serializeAws_restJson1TransitionEvents(input.transitionEvents, context),
|
|
2682
2604
|
}),
|
|
2683
2605
|
};
|
|
2684
2606
|
};
|
|
2685
2607
|
const serializeAws_restJson1Payload = (input, context) => {
|
|
2686
2608
|
return {
|
|
2687
|
-
...(input.contentExpression
|
|
2688
|
-
|
|
2689
|
-
...(input.type !== undefined && input.type !== null && { type: input.type }),
|
|
2609
|
+
...(input.contentExpression != null && { contentExpression: input.contentExpression }),
|
|
2610
|
+
...(input.type != null && { type: input.type }),
|
|
2690
2611
|
};
|
|
2691
2612
|
};
|
|
2692
2613
|
const serializeAws_restJson1RecipientDetail = (input, context) => {
|
|
2693
2614
|
return {
|
|
2694
|
-
...(input.ssoIdentity
|
|
2695
|
-
input.ssoIdentity !== null && { ssoIdentity: serializeAws_restJson1SSOIdentity(input.ssoIdentity, context) }),
|
|
2615
|
+
...(input.ssoIdentity != null && { ssoIdentity: serializeAws_restJson1SSOIdentity(input.ssoIdentity, context) }),
|
|
2696
2616
|
};
|
|
2697
2617
|
};
|
|
2698
2618
|
const serializeAws_restJson1RecipientDetails = (input, context) => {
|
|
@@ -2707,38 +2627,34 @@ const serializeAws_restJson1RecipientDetails = (input, context) => {
|
|
|
2707
2627
|
};
|
|
2708
2628
|
const serializeAws_restJson1ResetTimerAction = (input, context) => {
|
|
2709
2629
|
return {
|
|
2710
|
-
...(input.timerName
|
|
2630
|
+
...(input.timerName != null && { timerName: input.timerName }),
|
|
2711
2631
|
};
|
|
2712
2632
|
};
|
|
2713
2633
|
const serializeAws_restJson1SetTimerAction = (input, context) => {
|
|
2714
2634
|
return {
|
|
2715
|
-
...(input.durationExpression
|
|
2716
|
-
|
|
2717
|
-
...(input.
|
|
2718
|
-
...(input.timerName !== undefined && input.timerName !== null && { timerName: input.timerName }),
|
|
2635
|
+
...(input.durationExpression != null && { durationExpression: input.durationExpression }),
|
|
2636
|
+
...(input.seconds != null && { seconds: input.seconds }),
|
|
2637
|
+
...(input.timerName != null && { timerName: input.timerName }),
|
|
2719
2638
|
};
|
|
2720
2639
|
};
|
|
2721
2640
|
const serializeAws_restJson1SetVariableAction = (input, context) => {
|
|
2722
2641
|
return {
|
|
2723
|
-
...(input.value
|
|
2724
|
-
...(input.variableName
|
|
2642
|
+
...(input.value != null && { value: input.value }),
|
|
2643
|
+
...(input.variableName != null && { variableName: input.variableName }),
|
|
2725
2644
|
};
|
|
2726
2645
|
};
|
|
2727
2646
|
const serializeAws_restJson1SimpleRule = (input, context) => {
|
|
2728
2647
|
return {
|
|
2729
|
-
...(input.comparisonOperator
|
|
2730
|
-
|
|
2731
|
-
...(input.
|
|
2732
|
-
...(input.threshold !== undefined && input.threshold !== null && { threshold: input.threshold }),
|
|
2648
|
+
...(input.comparisonOperator != null && { comparisonOperator: input.comparisonOperator }),
|
|
2649
|
+
...(input.inputProperty != null && { inputProperty: input.inputProperty }),
|
|
2650
|
+
...(input.threshold != null && { threshold: input.threshold }),
|
|
2733
2651
|
};
|
|
2734
2652
|
};
|
|
2735
2653
|
const serializeAws_restJson1SMSConfiguration = (input, context) => {
|
|
2736
2654
|
return {
|
|
2737
|
-
...(input.additionalMessage
|
|
2738
|
-
|
|
2739
|
-
...(input.
|
|
2740
|
-
input.recipients !== null && { recipients: serializeAws_restJson1RecipientDetails(input.recipients, context) }),
|
|
2741
|
-
...(input.senderId !== undefined && input.senderId !== null && { senderId: input.senderId }),
|
|
2655
|
+
...(input.additionalMessage != null && { additionalMessage: input.additionalMessage }),
|
|
2656
|
+
...(input.recipients != null && { recipients: serializeAws_restJson1RecipientDetails(input.recipients, context) }),
|
|
2657
|
+
...(input.senderId != null && { senderId: input.senderId }),
|
|
2742
2658
|
};
|
|
2743
2659
|
};
|
|
2744
2660
|
const serializeAws_restJson1SMSConfigurations = (input, context) => {
|
|
@@ -2753,35 +2669,29 @@ const serializeAws_restJson1SMSConfigurations = (input, context) => {
|
|
|
2753
2669
|
};
|
|
2754
2670
|
const serializeAws_restJson1SNSTopicPublishAction = (input, context) => {
|
|
2755
2671
|
return {
|
|
2756
|
-
...(input.payload
|
|
2757
|
-
|
|
2758
|
-
...(input.targetArn !== undefined && input.targetArn !== null && { targetArn: input.targetArn }),
|
|
2672
|
+
...(input.payload != null && { payload: serializeAws_restJson1Payload(input.payload, context) }),
|
|
2673
|
+
...(input.targetArn != null && { targetArn: input.targetArn }),
|
|
2759
2674
|
};
|
|
2760
2675
|
};
|
|
2761
2676
|
const serializeAws_restJson1SqsAction = (input, context) => {
|
|
2762
2677
|
return {
|
|
2763
|
-
...(input.payload
|
|
2764
|
-
|
|
2765
|
-
...(input.
|
|
2766
|
-
...(input.useBase64 !== undefined && input.useBase64 !== null && { useBase64: input.useBase64 }),
|
|
2678
|
+
...(input.payload != null && { payload: serializeAws_restJson1Payload(input.payload, context) }),
|
|
2679
|
+
...(input.queueUrl != null && { queueUrl: input.queueUrl }),
|
|
2680
|
+
...(input.useBase64 != null && { useBase64: input.useBase64 }),
|
|
2767
2681
|
};
|
|
2768
2682
|
};
|
|
2769
2683
|
const serializeAws_restJson1SSOIdentity = (input, context) => {
|
|
2770
2684
|
return {
|
|
2771
|
-
...(input.identityStoreId
|
|
2772
|
-
|
|
2773
|
-
...(input.userId !== undefined && input.userId !== null && { userId: input.userId }),
|
|
2685
|
+
...(input.identityStoreId != null && { identityStoreId: input.identityStoreId }),
|
|
2686
|
+
...(input.userId != null && { userId: input.userId }),
|
|
2774
2687
|
};
|
|
2775
2688
|
};
|
|
2776
2689
|
const serializeAws_restJson1State = (input, context) => {
|
|
2777
2690
|
return {
|
|
2778
|
-
...(input.onEnter
|
|
2779
|
-
|
|
2780
|
-
...(input.
|
|
2781
|
-
|
|
2782
|
-
...(input.onInput !== undefined &&
|
|
2783
|
-
input.onInput !== null && { onInput: serializeAws_restJson1OnInputLifecycle(input.onInput, context) }),
|
|
2784
|
-
...(input.stateName !== undefined && input.stateName !== null && { stateName: input.stateName }),
|
|
2691
|
+
...(input.onEnter != null && { onEnter: serializeAws_restJson1OnEnterLifecycle(input.onEnter, context) }),
|
|
2692
|
+
...(input.onExit != null && { onExit: serializeAws_restJson1OnExitLifecycle(input.onExit, context) }),
|
|
2693
|
+
...(input.onInput != null && { onInput: serializeAws_restJson1OnInputLifecycle(input.onInput, context) }),
|
|
2694
|
+
...(input.stateName != null && { stateName: input.stateName }),
|
|
2785
2695
|
};
|
|
2786
2696
|
};
|
|
2787
2697
|
const serializeAws_restJson1States = (input, context) => {
|
|
@@ -2796,8 +2706,8 @@ const serializeAws_restJson1States = (input, context) => {
|
|
|
2796
2706
|
};
|
|
2797
2707
|
const serializeAws_restJson1Tag = (input, context) => {
|
|
2798
2708
|
return {
|
|
2799
|
-
...(input.key
|
|
2800
|
-
...(input.value
|
|
2709
|
+
...(input.key != null && { key: input.key }),
|
|
2710
|
+
...(input.value != null && { value: input.value }),
|
|
2801
2711
|
};
|
|
2802
2712
|
};
|
|
2803
2713
|
const serializeAws_restJson1Tags = (input, context) => {
|
|
@@ -2812,11 +2722,10 @@ const serializeAws_restJson1Tags = (input, context) => {
|
|
|
2812
2722
|
};
|
|
2813
2723
|
const serializeAws_restJson1TransitionEvent = (input, context) => {
|
|
2814
2724
|
return {
|
|
2815
|
-
...(input.actions
|
|
2816
|
-
|
|
2817
|
-
...(input.
|
|
2818
|
-
...(input.
|
|
2819
|
-
...(input.nextState !== undefined && input.nextState !== null && { nextState: input.nextState }),
|
|
2725
|
+
...(input.actions != null && { actions: serializeAws_restJson1Actions(input.actions, context) }),
|
|
2726
|
+
...(input.condition != null && { condition: input.condition }),
|
|
2727
|
+
...(input.eventName != null && { eventName: input.eventName }),
|
|
2728
|
+
...(input.nextState != null && { nextState: input.nextState }),
|
|
2820
2729
|
};
|
|
2821
2730
|
};
|
|
2822
2731
|
const serializeAws_restJson1TransitionEvents = (input, context) => {
|
|
@@ -2836,45 +2745,21 @@ const deserializeAws_restJson1AcknowledgeFlow = (output, context) => {
|
|
|
2836
2745
|
};
|
|
2837
2746
|
const deserializeAws_restJson1Action = (output, context) => {
|
|
2838
2747
|
return {
|
|
2839
|
-
clearTimer: output.clearTimer
|
|
2840
|
-
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
? deserializeAws_restJson1DynamoDBv2Action(output.dynamoDBv2, context)
|
|
2847
|
-
: undefined,
|
|
2848
|
-
firehose: output.firehose !== undefined && output.firehose !== null
|
|
2849
|
-
? deserializeAws_restJson1FirehoseAction(output.firehose, context)
|
|
2850
|
-
: undefined,
|
|
2851
|
-
iotEvents: output.iotEvents !== undefined && output.iotEvents !== null
|
|
2852
|
-
? deserializeAws_restJson1IotEventsAction(output.iotEvents, context)
|
|
2853
|
-
: undefined,
|
|
2854
|
-
iotSiteWise: output.iotSiteWise !== undefined && output.iotSiteWise !== null
|
|
2855
|
-
? deserializeAws_restJson1IotSiteWiseAction(output.iotSiteWise, context)
|
|
2856
|
-
: undefined,
|
|
2857
|
-
iotTopicPublish: output.iotTopicPublish !== undefined && output.iotTopicPublish !== null
|
|
2748
|
+
clearTimer: output.clearTimer != null ? deserializeAws_restJson1ClearTimerAction(output.clearTimer, context) : undefined,
|
|
2749
|
+
dynamoDB: output.dynamoDB != null ? deserializeAws_restJson1DynamoDBAction(output.dynamoDB, context) : undefined,
|
|
2750
|
+
dynamoDBv2: output.dynamoDBv2 != null ? deserializeAws_restJson1DynamoDBv2Action(output.dynamoDBv2, context) : undefined,
|
|
2751
|
+
firehose: output.firehose != null ? deserializeAws_restJson1FirehoseAction(output.firehose, context) : undefined,
|
|
2752
|
+
iotEvents: output.iotEvents != null ? deserializeAws_restJson1IotEventsAction(output.iotEvents, context) : undefined,
|
|
2753
|
+
iotSiteWise: output.iotSiteWise != null ? deserializeAws_restJson1IotSiteWiseAction(output.iotSiteWise, context) : undefined,
|
|
2754
|
+
iotTopicPublish: output.iotTopicPublish != null
|
|
2858
2755
|
? deserializeAws_restJson1IotTopicPublishAction(output.iotTopicPublish, context)
|
|
2859
2756
|
: undefined,
|
|
2860
|
-
lambda: output.lambda
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
setTimer: output.setTimer !== undefined && output.setTimer !== null
|
|
2867
|
-
? deserializeAws_restJson1SetTimerAction(output.setTimer, context)
|
|
2868
|
-
: undefined,
|
|
2869
|
-
setVariable: output.setVariable !== undefined && output.setVariable !== null
|
|
2870
|
-
? deserializeAws_restJson1SetVariableAction(output.setVariable, context)
|
|
2871
|
-
: undefined,
|
|
2872
|
-
sns: output.sns !== undefined && output.sns !== null
|
|
2873
|
-
? deserializeAws_restJson1SNSTopicPublishAction(output.sns, context)
|
|
2874
|
-
: undefined,
|
|
2875
|
-
sqs: output.sqs !== undefined && output.sqs !== null
|
|
2876
|
-
? deserializeAws_restJson1SqsAction(output.sqs, context)
|
|
2877
|
-
: undefined,
|
|
2757
|
+
lambda: output.lambda != null ? deserializeAws_restJson1LambdaAction(output.lambda, context) : undefined,
|
|
2758
|
+
resetTimer: output.resetTimer != null ? deserializeAws_restJson1ResetTimerAction(output.resetTimer, context) : undefined,
|
|
2759
|
+
setTimer: output.setTimer != null ? deserializeAws_restJson1SetTimerAction(output.setTimer, context) : undefined,
|
|
2760
|
+
setVariable: output.setVariable != null ? deserializeAws_restJson1SetVariableAction(output.setVariable, context) : undefined,
|
|
2761
|
+
sns: output.sns != null ? deserializeAws_restJson1SNSTopicPublishAction(output.sns, context) : undefined,
|
|
2762
|
+
sqs: output.sqs != null ? deserializeAws_restJson1SqsAction(output.sqs, context) : undefined,
|
|
2878
2763
|
};
|
|
2879
2764
|
};
|
|
2880
2765
|
const deserializeAws_restJson1Actions = (output, context) => {
|
|
@@ -2890,33 +2775,17 @@ const deserializeAws_restJson1Actions = (output, context) => {
|
|
|
2890
2775
|
};
|
|
2891
2776
|
const deserializeAws_restJson1AlarmAction = (output, context) => {
|
|
2892
2777
|
return {
|
|
2893
|
-
dynamoDB: output.dynamoDB
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
firehose: output.firehose !== undefined && output.firehose !== null
|
|
2900
|
-
? deserializeAws_restJson1FirehoseAction(output.firehose, context)
|
|
2901
|
-
: undefined,
|
|
2902
|
-
iotEvents: output.iotEvents !== undefined && output.iotEvents !== null
|
|
2903
|
-
? deserializeAws_restJson1IotEventsAction(output.iotEvents, context)
|
|
2904
|
-
: undefined,
|
|
2905
|
-
iotSiteWise: output.iotSiteWise !== undefined && output.iotSiteWise !== null
|
|
2906
|
-
? deserializeAws_restJson1IotSiteWiseAction(output.iotSiteWise, context)
|
|
2907
|
-
: undefined,
|
|
2908
|
-
iotTopicPublish: output.iotTopicPublish !== undefined && output.iotTopicPublish !== null
|
|
2778
|
+
dynamoDB: output.dynamoDB != null ? deserializeAws_restJson1DynamoDBAction(output.dynamoDB, context) : undefined,
|
|
2779
|
+
dynamoDBv2: output.dynamoDBv2 != null ? deserializeAws_restJson1DynamoDBv2Action(output.dynamoDBv2, context) : undefined,
|
|
2780
|
+
firehose: output.firehose != null ? deserializeAws_restJson1FirehoseAction(output.firehose, context) : undefined,
|
|
2781
|
+
iotEvents: output.iotEvents != null ? deserializeAws_restJson1IotEventsAction(output.iotEvents, context) : undefined,
|
|
2782
|
+
iotSiteWise: output.iotSiteWise != null ? deserializeAws_restJson1IotSiteWiseAction(output.iotSiteWise, context) : undefined,
|
|
2783
|
+
iotTopicPublish: output.iotTopicPublish != null
|
|
2909
2784
|
? deserializeAws_restJson1IotTopicPublishAction(output.iotTopicPublish, context)
|
|
2910
2785
|
: undefined,
|
|
2911
|
-
lambda: output.lambda
|
|
2912
|
-
|
|
2913
|
-
|
|
2914
|
-
sns: output.sns !== undefined && output.sns !== null
|
|
2915
|
-
? deserializeAws_restJson1SNSTopicPublishAction(output.sns, context)
|
|
2916
|
-
: undefined,
|
|
2917
|
-
sqs: output.sqs !== undefined && output.sqs !== null
|
|
2918
|
-
? deserializeAws_restJson1SqsAction(output.sqs, context)
|
|
2919
|
-
: undefined,
|
|
2786
|
+
lambda: output.lambda != null ? deserializeAws_restJson1LambdaAction(output.lambda, context) : undefined,
|
|
2787
|
+
sns: output.sns != null ? deserializeAws_restJson1SNSTopicPublishAction(output.sns, context) : undefined,
|
|
2788
|
+
sqs: output.sqs != null ? deserializeAws_restJson1SqsAction(output.sqs, context) : undefined,
|
|
2920
2789
|
};
|
|
2921
2790
|
};
|
|
2922
2791
|
const deserializeAws_restJson1AlarmActions = (output, context) => {
|
|
@@ -2932,19 +2801,17 @@ const deserializeAws_restJson1AlarmActions = (output, context) => {
|
|
|
2932
2801
|
};
|
|
2933
2802
|
const deserializeAws_restJson1AlarmCapabilities = (output, context) => {
|
|
2934
2803
|
return {
|
|
2935
|
-
acknowledgeFlow: output.acknowledgeFlow
|
|
2804
|
+
acknowledgeFlow: output.acknowledgeFlow != null
|
|
2936
2805
|
? deserializeAws_restJson1AcknowledgeFlow(output.acknowledgeFlow, context)
|
|
2937
2806
|
: undefined,
|
|
2938
|
-
initializationConfiguration: output.initializationConfiguration
|
|
2807
|
+
initializationConfiguration: output.initializationConfiguration != null
|
|
2939
2808
|
? deserializeAws_restJson1InitializationConfiguration(output.initializationConfiguration, context)
|
|
2940
2809
|
: undefined,
|
|
2941
2810
|
};
|
|
2942
2811
|
};
|
|
2943
2812
|
const deserializeAws_restJson1AlarmEventActions = (output, context) => {
|
|
2944
2813
|
return {
|
|
2945
|
-
alarmActions: output.alarmActions
|
|
2946
|
-
? deserializeAws_restJson1AlarmActions(output.alarmActions, context)
|
|
2947
|
-
: undefined,
|
|
2814
|
+
alarmActions: output.alarmActions != null ? deserializeAws_restJson1AlarmActions(output.alarmActions, context) : undefined,
|
|
2948
2815
|
};
|
|
2949
2816
|
};
|
|
2950
2817
|
const deserializeAws_restJson1AlarmModelSummaries = (output, context) => {
|
|
@@ -2962,7 +2829,7 @@ const deserializeAws_restJson1AlarmModelSummary = (output, context) => {
|
|
|
2962
2829
|
return {
|
|
2963
2830
|
alarmModelDescription: (0, smithy_client_1.expectString)(output.alarmModelDescription),
|
|
2964
2831
|
alarmModelName: (0, smithy_client_1.expectString)(output.alarmModelName),
|
|
2965
|
-
creationTime: output.creationTime
|
|
2832
|
+
creationTime: output.creationTime != null
|
|
2966
2833
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
|
|
2967
2834
|
: undefined,
|
|
2968
2835
|
};
|
|
@@ -2983,10 +2850,10 @@ const deserializeAws_restJson1AlarmModelVersionSummary = (output, context) => {
|
|
|
2983
2850
|
alarmModelArn: (0, smithy_client_1.expectString)(output.alarmModelArn),
|
|
2984
2851
|
alarmModelName: (0, smithy_client_1.expectString)(output.alarmModelName),
|
|
2985
2852
|
alarmModelVersion: (0, smithy_client_1.expectString)(output.alarmModelVersion),
|
|
2986
|
-
creationTime: output.creationTime
|
|
2853
|
+
creationTime: output.creationTime != null
|
|
2987
2854
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
|
|
2988
2855
|
: undefined,
|
|
2989
|
-
lastUpdateTime: output.lastUpdateTime
|
|
2856
|
+
lastUpdateTime: output.lastUpdateTime != null
|
|
2990
2857
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdateTime)))
|
|
2991
2858
|
: undefined,
|
|
2992
2859
|
roleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
@@ -2996,24 +2863,20 @@ const deserializeAws_restJson1AlarmModelVersionSummary = (output, context) => {
|
|
|
2996
2863
|
};
|
|
2997
2864
|
const deserializeAws_restJson1AlarmNotification = (output, context) => {
|
|
2998
2865
|
return {
|
|
2999
|
-
notificationActions: output.notificationActions
|
|
2866
|
+
notificationActions: output.notificationActions != null
|
|
3000
2867
|
? deserializeAws_restJson1NotificationActions(output.notificationActions, context)
|
|
3001
2868
|
: undefined,
|
|
3002
2869
|
};
|
|
3003
2870
|
};
|
|
3004
2871
|
const deserializeAws_restJson1AlarmRule = (output, context) => {
|
|
3005
2872
|
return {
|
|
3006
|
-
simpleRule: output.simpleRule
|
|
3007
|
-
? deserializeAws_restJson1SimpleRule(output.simpleRule, context)
|
|
3008
|
-
: undefined,
|
|
2873
|
+
simpleRule: output.simpleRule != null ? deserializeAws_restJson1SimpleRule(output.simpleRule, context) : undefined,
|
|
3009
2874
|
};
|
|
3010
2875
|
};
|
|
3011
2876
|
const deserializeAws_restJson1AnalysisResult = (output, context) => {
|
|
3012
2877
|
return {
|
|
3013
2878
|
level: (0, smithy_client_1.expectString)(output.level),
|
|
3014
|
-
locations: output.locations
|
|
3015
|
-
? deserializeAws_restJson1AnalysisResultLocations(output.locations, context)
|
|
3016
|
-
: undefined,
|
|
2879
|
+
locations: output.locations != null ? deserializeAws_restJson1AnalysisResultLocations(output.locations, context) : undefined,
|
|
3017
2880
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
3018
2881
|
type: (0, smithy_client_1.expectString)(output.type),
|
|
3019
2882
|
};
|
|
@@ -3054,12 +2917,8 @@ const deserializeAws_restJson1AssetPropertyTimestamp = (output, context) => {
|
|
|
3054
2917
|
const deserializeAws_restJson1AssetPropertyValue = (output, context) => {
|
|
3055
2918
|
return {
|
|
3056
2919
|
quality: (0, smithy_client_1.expectString)(output.quality),
|
|
3057
|
-
timestamp: output.timestamp
|
|
3058
|
-
|
|
3059
|
-
: undefined,
|
|
3060
|
-
value: output.value !== undefined && output.value !== null
|
|
3061
|
-
? deserializeAws_restJson1AssetPropertyVariant(output.value, context)
|
|
3062
|
-
: undefined,
|
|
2920
|
+
timestamp: output.timestamp != null ? deserializeAws_restJson1AssetPropertyTimestamp(output.timestamp, context) : undefined,
|
|
2921
|
+
value: output.value != null ? deserializeAws_restJson1AssetPropertyVariant(output.value, context) : undefined,
|
|
3063
2922
|
};
|
|
3064
2923
|
};
|
|
3065
2924
|
const deserializeAws_restJson1AssetPropertyVariant = (output, context) => {
|
|
@@ -3110,17 +2969,17 @@ const deserializeAws_restJson1DetectorDebugOptions = (output, context) => {
|
|
|
3110
2969
|
};
|
|
3111
2970
|
const deserializeAws_restJson1DetectorModel = (output, context) => {
|
|
3112
2971
|
return {
|
|
3113
|
-
detectorModelConfiguration: output.detectorModelConfiguration
|
|
2972
|
+
detectorModelConfiguration: output.detectorModelConfiguration != null
|
|
3114
2973
|
? deserializeAws_restJson1DetectorModelConfiguration(output.detectorModelConfiguration, context)
|
|
3115
2974
|
: undefined,
|
|
3116
|
-
detectorModelDefinition: output.detectorModelDefinition
|
|
2975
|
+
detectorModelDefinition: output.detectorModelDefinition != null
|
|
3117
2976
|
? deserializeAws_restJson1DetectorModelDefinition(output.detectorModelDefinition, context)
|
|
3118
2977
|
: undefined,
|
|
3119
2978
|
};
|
|
3120
2979
|
};
|
|
3121
2980
|
const deserializeAws_restJson1DetectorModelConfiguration = (output, context) => {
|
|
3122
2981
|
return {
|
|
3123
|
-
creationTime: output.creationTime
|
|
2982
|
+
creationTime: output.creationTime != null
|
|
3124
2983
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
|
|
3125
2984
|
: undefined,
|
|
3126
2985
|
detectorModelArn: (0, smithy_client_1.expectString)(output.detectorModelArn),
|
|
@@ -3129,7 +2988,7 @@ const deserializeAws_restJson1DetectorModelConfiguration = (output, context) =>
|
|
|
3129
2988
|
detectorModelVersion: (0, smithy_client_1.expectString)(output.detectorModelVersion),
|
|
3130
2989
|
evaluationMethod: (0, smithy_client_1.expectString)(output.evaluationMethod),
|
|
3131
2990
|
key: (0, smithy_client_1.expectString)(output.key),
|
|
3132
|
-
lastUpdateTime: output.lastUpdateTime
|
|
2991
|
+
lastUpdateTime: output.lastUpdateTime != null
|
|
3133
2992
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdateTime)))
|
|
3134
2993
|
: undefined,
|
|
3135
2994
|
roleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
@@ -3139,9 +2998,7 @@ const deserializeAws_restJson1DetectorModelConfiguration = (output, context) =>
|
|
|
3139
2998
|
const deserializeAws_restJson1DetectorModelDefinition = (output, context) => {
|
|
3140
2999
|
return {
|
|
3141
3000
|
initialStateName: (0, smithy_client_1.expectString)(output.initialStateName),
|
|
3142
|
-
states: output.states
|
|
3143
|
-
? deserializeAws_restJson1States(output.states, context)
|
|
3144
|
-
: undefined,
|
|
3001
|
+
states: output.states != null ? deserializeAws_restJson1States(output.states, context) : undefined,
|
|
3145
3002
|
};
|
|
3146
3003
|
};
|
|
3147
3004
|
const deserializeAws_restJson1DetectorModelSummaries = (output, context) => {
|
|
@@ -3157,7 +3014,7 @@ const deserializeAws_restJson1DetectorModelSummaries = (output, context) => {
|
|
|
3157
3014
|
};
|
|
3158
3015
|
const deserializeAws_restJson1DetectorModelSummary = (output, context) => {
|
|
3159
3016
|
return {
|
|
3160
|
-
creationTime: output.creationTime
|
|
3017
|
+
creationTime: output.creationTime != null
|
|
3161
3018
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
|
|
3162
3019
|
: undefined,
|
|
3163
3020
|
detectorModelDescription: (0, smithy_client_1.expectString)(output.detectorModelDescription),
|
|
@@ -3177,14 +3034,14 @@ const deserializeAws_restJson1DetectorModelVersionSummaries = (output, context)
|
|
|
3177
3034
|
};
|
|
3178
3035
|
const deserializeAws_restJson1DetectorModelVersionSummary = (output, context) => {
|
|
3179
3036
|
return {
|
|
3180
|
-
creationTime: output.creationTime
|
|
3037
|
+
creationTime: output.creationTime != null
|
|
3181
3038
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
|
|
3182
3039
|
: undefined,
|
|
3183
3040
|
detectorModelArn: (0, smithy_client_1.expectString)(output.detectorModelArn),
|
|
3184
3041
|
detectorModelName: (0, smithy_client_1.expectString)(output.detectorModelName),
|
|
3185
3042
|
detectorModelVersion: (0, smithy_client_1.expectString)(output.detectorModelVersion),
|
|
3186
3043
|
evaluationMethod: (0, smithy_client_1.expectString)(output.evaluationMethod),
|
|
3187
|
-
lastUpdateTime: output.lastUpdateTime
|
|
3044
|
+
lastUpdateTime: output.lastUpdateTime != null
|
|
3188
3045
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdateTime)))
|
|
3189
3046
|
: undefined,
|
|
3190
3047
|
roleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
@@ -3197,9 +3054,7 @@ const deserializeAws_restJson1DynamoDBAction = (output, context) => {
|
|
|
3197
3054
|
hashKeyType: (0, smithy_client_1.expectString)(output.hashKeyType),
|
|
3198
3055
|
hashKeyValue: (0, smithy_client_1.expectString)(output.hashKeyValue),
|
|
3199
3056
|
operation: (0, smithy_client_1.expectString)(output.operation),
|
|
3200
|
-
payload: output.payload
|
|
3201
|
-
? deserializeAws_restJson1Payload(output.payload, context)
|
|
3202
|
-
: undefined,
|
|
3057
|
+
payload: output.payload != null ? deserializeAws_restJson1Payload(output.payload, context) : undefined,
|
|
3203
3058
|
payloadField: (0, smithy_client_1.expectString)(output.payloadField),
|
|
3204
3059
|
rangeKeyField: (0, smithy_client_1.expectString)(output.rangeKeyField),
|
|
3205
3060
|
rangeKeyType: (0, smithy_client_1.expectString)(output.rangeKeyType),
|
|
@@ -3209,21 +3064,15 @@ const deserializeAws_restJson1DynamoDBAction = (output, context) => {
|
|
|
3209
3064
|
};
|
|
3210
3065
|
const deserializeAws_restJson1DynamoDBv2Action = (output, context) => {
|
|
3211
3066
|
return {
|
|
3212
|
-
payload: output.payload
|
|
3213
|
-
? deserializeAws_restJson1Payload(output.payload, context)
|
|
3214
|
-
: undefined,
|
|
3067
|
+
payload: output.payload != null ? deserializeAws_restJson1Payload(output.payload, context) : undefined,
|
|
3215
3068
|
tableName: (0, smithy_client_1.expectString)(output.tableName),
|
|
3216
3069
|
};
|
|
3217
3070
|
};
|
|
3218
3071
|
const deserializeAws_restJson1EmailConfiguration = (output, context) => {
|
|
3219
3072
|
return {
|
|
3220
|
-
content: output.content
|
|
3221
|
-
? deserializeAws_restJson1EmailContent(output.content, context)
|
|
3222
|
-
: undefined,
|
|
3073
|
+
content: output.content != null ? deserializeAws_restJson1EmailContent(output.content, context) : undefined,
|
|
3223
3074
|
from: (0, smithy_client_1.expectString)(output.from),
|
|
3224
|
-
recipients: output.recipients
|
|
3225
|
-
? deserializeAws_restJson1EmailRecipients(output.recipients, context)
|
|
3226
|
-
: undefined,
|
|
3075
|
+
recipients: output.recipients != null ? deserializeAws_restJson1EmailRecipients(output.recipients, context) : undefined,
|
|
3227
3076
|
};
|
|
3228
3077
|
};
|
|
3229
3078
|
const deserializeAws_restJson1EmailConfigurations = (output, context) => {
|
|
@@ -3245,16 +3094,12 @@ const deserializeAws_restJson1EmailContent = (output, context) => {
|
|
|
3245
3094
|
};
|
|
3246
3095
|
const deserializeAws_restJson1EmailRecipients = (output, context) => {
|
|
3247
3096
|
return {
|
|
3248
|
-
to: output.to
|
|
3249
|
-
? deserializeAws_restJson1RecipientDetails(output.to, context)
|
|
3250
|
-
: undefined,
|
|
3097
|
+
to: output.to != null ? deserializeAws_restJson1RecipientDetails(output.to, context) : undefined,
|
|
3251
3098
|
};
|
|
3252
3099
|
};
|
|
3253
3100
|
const deserializeAws_restJson1Event = (output, context) => {
|
|
3254
3101
|
return {
|
|
3255
|
-
actions: output.actions
|
|
3256
|
-
? deserializeAws_restJson1Actions(output.actions, context)
|
|
3257
|
-
: undefined,
|
|
3102
|
+
actions: output.actions != null ? deserializeAws_restJson1Actions(output.actions, context) : undefined,
|
|
3258
3103
|
condition: (0, smithy_client_1.expectString)(output.condition),
|
|
3259
3104
|
eventName: (0, smithy_client_1.expectString)(output.eventName),
|
|
3260
3105
|
};
|
|
@@ -3273,9 +3118,7 @@ const deserializeAws_restJson1Events = (output, context) => {
|
|
|
3273
3118
|
const deserializeAws_restJson1FirehoseAction = (output, context) => {
|
|
3274
3119
|
return {
|
|
3275
3120
|
deliveryStreamName: (0, smithy_client_1.expectString)(output.deliveryStreamName),
|
|
3276
|
-
payload: output.payload
|
|
3277
|
-
? deserializeAws_restJson1Payload(output.payload, context)
|
|
3278
|
-
: undefined,
|
|
3121
|
+
payload: output.payload != null ? deserializeAws_restJson1Payload(output.payload, context) : undefined,
|
|
3279
3122
|
separator: (0, smithy_client_1.expectString)(output.separator),
|
|
3280
3123
|
};
|
|
3281
3124
|
};
|
|
@@ -3286,23 +3129,23 @@ const deserializeAws_restJson1InitializationConfiguration = (output, context) =>
|
|
|
3286
3129
|
};
|
|
3287
3130
|
const deserializeAws_restJson1Input = (output, context) => {
|
|
3288
3131
|
return {
|
|
3289
|
-
inputConfiguration: output.inputConfiguration
|
|
3132
|
+
inputConfiguration: output.inputConfiguration != null
|
|
3290
3133
|
? deserializeAws_restJson1InputConfiguration(output.inputConfiguration, context)
|
|
3291
3134
|
: undefined,
|
|
3292
|
-
inputDefinition: output.inputDefinition
|
|
3135
|
+
inputDefinition: output.inputDefinition != null
|
|
3293
3136
|
? deserializeAws_restJson1InputDefinition(output.inputDefinition, context)
|
|
3294
3137
|
: undefined,
|
|
3295
3138
|
};
|
|
3296
3139
|
};
|
|
3297
3140
|
const deserializeAws_restJson1InputConfiguration = (output, context) => {
|
|
3298
3141
|
return {
|
|
3299
|
-
creationTime: output.creationTime
|
|
3142
|
+
creationTime: output.creationTime != null
|
|
3300
3143
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
|
|
3301
3144
|
: undefined,
|
|
3302
3145
|
inputArn: (0, smithy_client_1.expectString)(output.inputArn),
|
|
3303
3146
|
inputDescription: (0, smithy_client_1.expectString)(output.inputDescription),
|
|
3304
3147
|
inputName: (0, smithy_client_1.expectString)(output.inputName),
|
|
3305
|
-
lastUpdateTime: output.lastUpdateTime
|
|
3148
|
+
lastUpdateTime: output.lastUpdateTime != null
|
|
3306
3149
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdateTime)))
|
|
3307
3150
|
: undefined,
|
|
3308
3151
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
@@ -3310,9 +3153,7 @@ const deserializeAws_restJson1InputConfiguration = (output, context) => {
|
|
|
3310
3153
|
};
|
|
3311
3154
|
const deserializeAws_restJson1InputDefinition = (output, context) => {
|
|
3312
3155
|
return {
|
|
3313
|
-
attributes: output.attributes
|
|
3314
|
-
? deserializeAws_restJson1Attributes(output.attributes, context)
|
|
3315
|
-
: undefined,
|
|
3156
|
+
attributes: output.attributes != null ? deserializeAws_restJson1Attributes(output.attributes, context) : undefined,
|
|
3316
3157
|
};
|
|
3317
3158
|
};
|
|
3318
3159
|
const deserializeAws_restJson1InputSummaries = (output, context) => {
|
|
@@ -3328,13 +3169,13 @@ const deserializeAws_restJson1InputSummaries = (output, context) => {
|
|
|
3328
3169
|
};
|
|
3329
3170
|
const deserializeAws_restJson1InputSummary = (output, context) => {
|
|
3330
3171
|
return {
|
|
3331
|
-
creationTime: output.creationTime
|
|
3172
|
+
creationTime: output.creationTime != null
|
|
3332
3173
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
|
|
3333
3174
|
: undefined,
|
|
3334
3175
|
inputArn: (0, smithy_client_1.expectString)(output.inputArn),
|
|
3335
3176
|
inputDescription: (0, smithy_client_1.expectString)(output.inputDescription),
|
|
3336
3177
|
inputName: (0, smithy_client_1.expectString)(output.inputName),
|
|
3337
|
-
lastUpdateTime: output.lastUpdateTime
|
|
3178
|
+
lastUpdateTime: output.lastUpdateTime != null
|
|
3338
3179
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdateTime)))
|
|
3339
3180
|
: undefined,
|
|
3340
3181
|
status: (0, smithy_client_1.expectString)(output.status),
|
|
@@ -3343,9 +3184,7 @@ const deserializeAws_restJson1InputSummary = (output, context) => {
|
|
|
3343
3184
|
const deserializeAws_restJson1IotEventsAction = (output, context) => {
|
|
3344
3185
|
return {
|
|
3345
3186
|
inputName: (0, smithy_client_1.expectString)(output.inputName),
|
|
3346
|
-
payload: output.payload
|
|
3347
|
-
? deserializeAws_restJson1Payload(output.payload, context)
|
|
3348
|
-
: undefined,
|
|
3187
|
+
payload: output.payload != null ? deserializeAws_restJson1Payload(output.payload, context) : undefined,
|
|
3349
3188
|
};
|
|
3350
3189
|
};
|
|
3351
3190
|
const deserializeAws_restJson1IotSiteWiseAction = (output, context) => {
|
|
@@ -3354,7 +3193,7 @@ const deserializeAws_restJson1IotSiteWiseAction = (output, context) => {
|
|
|
3354
3193
|
entryId: (0, smithy_client_1.expectString)(output.entryId),
|
|
3355
3194
|
propertyAlias: (0, smithy_client_1.expectString)(output.propertyAlias),
|
|
3356
3195
|
propertyId: (0, smithy_client_1.expectString)(output.propertyId),
|
|
3357
|
-
propertyValue: output.propertyValue
|
|
3196
|
+
propertyValue: output.propertyValue != null
|
|
3358
3197
|
? deserializeAws_restJson1AssetPropertyValue(output.propertyValue, context)
|
|
3359
3198
|
: undefined,
|
|
3360
3199
|
};
|
|
@@ -3362,22 +3201,18 @@ const deserializeAws_restJson1IotSiteWiseAction = (output, context) => {
|
|
|
3362
3201
|
const deserializeAws_restJson1IotTopicPublishAction = (output, context) => {
|
|
3363
3202
|
return {
|
|
3364
3203
|
mqttTopic: (0, smithy_client_1.expectString)(output.mqttTopic),
|
|
3365
|
-
payload: output.payload
|
|
3366
|
-
? deserializeAws_restJson1Payload(output.payload, context)
|
|
3367
|
-
: undefined,
|
|
3204
|
+
payload: output.payload != null ? deserializeAws_restJson1Payload(output.payload, context) : undefined,
|
|
3368
3205
|
};
|
|
3369
3206
|
};
|
|
3370
3207
|
const deserializeAws_restJson1LambdaAction = (output, context) => {
|
|
3371
3208
|
return {
|
|
3372
3209
|
functionArn: (0, smithy_client_1.expectString)(output.functionArn),
|
|
3373
|
-
payload: output.payload
|
|
3374
|
-
? deserializeAws_restJson1Payload(output.payload, context)
|
|
3375
|
-
: undefined,
|
|
3210
|
+
payload: output.payload != null ? deserializeAws_restJson1Payload(output.payload, context) : undefined,
|
|
3376
3211
|
};
|
|
3377
3212
|
};
|
|
3378
3213
|
const deserializeAws_restJson1LoggingOptions = (output, context) => {
|
|
3379
3214
|
return {
|
|
3380
|
-
detectorDebugOptions: output.detectorDebugOptions
|
|
3215
|
+
detectorDebugOptions: output.detectorDebugOptions != null
|
|
3381
3216
|
? deserializeAws_restJson1DetectorDebugOptions(output.detectorDebugOptions, context)
|
|
3382
3217
|
: undefined,
|
|
3383
3218
|
enabled: (0, smithy_client_1.expectBoolean)(output.enabled),
|
|
@@ -3387,13 +3222,11 @@ const deserializeAws_restJson1LoggingOptions = (output, context) => {
|
|
|
3387
3222
|
};
|
|
3388
3223
|
const deserializeAws_restJson1NotificationAction = (output, context) => {
|
|
3389
3224
|
return {
|
|
3390
|
-
action: output.action
|
|
3391
|
-
|
|
3392
|
-
: undefined,
|
|
3393
|
-
emailConfigurations: output.emailConfigurations !== undefined && output.emailConfigurations !== null
|
|
3225
|
+
action: output.action != null ? deserializeAws_restJson1NotificationTargetActions(output.action, context) : undefined,
|
|
3226
|
+
emailConfigurations: output.emailConfigurations != null
|
|
3394
3227
|
? deserializeAws_restJson1EmailConfigurations(output.emailConfigurations, context)
|
|
3395
3228
|
: undefined,
|
|
3396
|
-
smsConfigurations: output.smsConfigurations
|
|
3229
|
+
smsConfigurations: output.smsConfigurations != null
|
|
3397
3230
|
? deserializeAws_restJson1SMSConfigurations(output.smsConfigurations, context)
|
|
3398
3231
|
: undefined,
|
|
3399
3232
|
};
|
|
@@ -3411,31 +3244,23 @@ const deserializeAws_restJson1NotificationActions = (output, context) => {
|
|
|
3411
3244
|
};
|
|
3412
3245
|
const deserializeAws_restJson1NotificationTargetActions = (output, context) => {
|
|
3413
3246
|
return {
|
|
3414
|
-
lambdaAction: output.lambdaAction
|
|
3415
|
-
? deserializeAws_restJson1LambdaAction(output.lambdaAction, context)
|
|
3416
|
-
: undefined,
|
|
3247
|
+
lambdaAction: output.lambdaAction != null ? deserializeAws_restJson1LambdaAction(output.lambdaAction, context) : undefined,
|
|
3417
3248
|
};
|
|
3418
3249
|
};
|
|
3419
3250
|
const deserializeAws_restJson1OnEnterLifecycle = (output, context) => {
|
|
3420
3251
|
return {
|
|
3421
|
-
events: output.events
|
|
3422
|
-
? deserializeAws_restJson1Events(output.events, context)
|
|
3423
|
-
: undefined,
|
|
3252
|
+
events: output.events != null ? deserializeAws_restJson1Events(output.events, context) : undefined,
|
|
3424
3253
|
};
|
|
3425
3254
|
};
|
|
3426
3255
|
const deserializeAws_restJson1OnExitLifecycle = (output, context) => {
|
|
3427
3256
|
return {
|
|
3428
|
-
events: output.events
|
|
3429
|
-
? deserializeAws_restJson1Events(output.events, context)
|
|
3430
|
-
: undefined,
|
|
3257
|
+
events: output.events != null ? deserializeAws_restJson1Events(output.events, context) : undefined,
|
|
3431
3258
|
};
|
|
3432
3259
|
};
|
|
3433
3260
|
const deserializeAws_restJson1OnInputLifecycle = (output, context) => {
|
|
3434
3261
|
return {
|
|
3435
|
-
events: output.events
|
|
3436
|
-
|
|
3437
|
-
: undefined,
|
|
3438
|
-
transitionEvents: output.transitionEvents !== undefined && output.transitionEvents !== null
|
|
3262
|
+
events: output.events != null ? deserializeAws_restJson1Events(output.events, context) : undefined,
|
|
3263
|
+
transitionEvents: output.transitionEvents != null
|
|
3439
3264
|
? deserializeAws_restJson1TransitionEvents(output.transitionEvents, context)
|
|
3440
3265
|
: undefined,
|
|
3441
3266
|
};
|
|
@@ -3448,9 +3273,7 @@ const deserializeAws_restJson1Payload = (output, context) => {
|
|
|
3448
3273
|
};
|
|
3449
3274
|
const deserializeAws_restJson1RecipientDetail = (output, context) => {
|
|
3450
3275
|
return {
|
|
3451
|
-
ssoIdentity: output.ssoIdentity
|
|
3452
|
-
? deserializeAws_restJson1SSOIdentity(output.ssoIdentity, context)
|
|
3453
|
-
: undefined,
|
|
3276
|
+
ssoIdentity: output.ssoIdentity != null ? deserializeAws_restJson1SSOIdentity(output.ssoIdentity, context) : undefined,
|
|
3454
3277
|
};
|
|
3455
3278
|
};
|
|
3456
3279
|
const deserializeAws_restJson1RecipientDetails = (output, context) => {
|
|
@@ -3509,9 +3332,7 @@ const deserializeAws_restJson1SimpleRule = (output, context) => {
|
|
|
3509
3332
|
const deserializeAws_restJson1SMSConfiguration = (output, context) => {
|
|
3510
3333
|
return {
|
|
3511
3334
|
additionalMessage: (0, smithy_client_1.expectString)(output.additionalMessage),
|
|
3512
|
-
recipients: output.recipients
|
|
3513
|
-
? deserializeAws_restJson1RecipientDetails(output.recipients, context)
|
|
3514
|
-
: undefined,
|
|
3335
|
+
recipients: output.recipients != null ? deserializeAws_restJson1RecipientDetails(output.recipients, context) : undefined,
|
|
3515
3336
|
senderId: (0, smithy_client_1.expectString)(output.senderId),
|
|
3516
3337
|
};
|
|
3517
3338
|
};
|
|
@@ -3528,17 +3349,13 @@ const deserializeAws_restJson1SMSConfigurations = (output, context) => {
|
|
|
3528
3349
|
};
|
|
3529
3350
|
const deserializeAws_restJson1SNSTopicPublishAction = (output, context) => {
|
|
3530
3351
|
return {
|
|
3531
|
-
payload: output.payload
|
|
3532
|
-
? deserializeAws_restJson1Payload(output.payload, context)
|
|
3533
|
-
: undefined,
|
|
3352
|
+
payload: output.payload != null ? deserializeAws_restJson1Payload(output.payload, context) : undefined,
|
|
3534
3353
|
targetArn: (0, smithy_client_1.expectString)(output.targetArn),
|
|
3535
3354
|
};
|
|
3536
3355
|
};
|
|
3537
3356
|
const deserializeAws_restJson1SqsAction = (output, context) => {
|
|
3538
3357
|
return {
|
|
3539
|
-
payload: output.payload
|
|
3540
|
-
? deserializeAws_restJson1Payload(output.payload, context)
|
|
3541
|
-
: undefined,
|
|
3358
|
+
payload: output.payload != null ? deserializeAws_restJson1Payload(output.payload, context) : undefined,
|
|
3542
3359
|
queueUrl: (0, smithy_client_1.expectString)(output.queueUrl),
|
|
3543
3360
|
useBase64: (0, smithy_client_1.expectBoolean)(output.useBase64),
|
|
3544
3361
|
};
|
|
@@ -3551,15 +3368,9 @@ const deserializeAws_restJson1SSOIdentity = (output, context) => {
|
|
|
3551
3368
|
};
|
|
3552
3369
|
const deserializeAws_restJson1State = (output, context) => {
|
|
3553
3370
|
return {
|
|
3554
|
-
onEnter: output.onEnter
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
onExit: output.onExit !== undefined && output.onExit !== null
|
|
3558
|
-
? deserializeAws_restJson1OnExitLifecycle(output.onExit, context)
|
|
3559
|
-
: undefined,
|
|
3560
|
-
onInput: output.onInput !== undefined && output.onInput !== null
|
|
3561
|
-
? deserializeAws_restJson1OnInputLifecycle(output.onInput, context)
|
|
3562
|
-
: undefined,
|
|
3371
|
+
onEnter: output.onEnter != null ? deserializeAws_restJson1OnEnterLifecycle(output.onEnter, context) : undefined,
|
|
3372
|
+
onExit: output.onExit != null ? deserializeAws_restJson1OnExitLifecycle(output.onExit, context) : undefined,
|
|
3373
|
+
onInput: output.onInput != null ? deserializeAws_restJson1OnInputLifecycle(output.onInput, context) : undefined,
|
|
3563
3374
|
stateName: (0, smithy_client_1.expectString)(output.stateName),
|
|
3564
3375
|
};
|
|
3565
3376
|
};
|
|
@@ -3593,9 +3404,7 @@ const deserializeAws_restJson1Tags = (output, context) => {
|
|
|
3593
3404
|
};
|
|
3594
3405
|
const deserializeAws_restJson1TransitionEvent = (output, context) => {
|
|
3595
3406
|
return {
|
|
3596
|
-
actions: output.actions
|
|
3597
|
-
? deserializeAws_restJson1Actions(output.actions, context)
|
|
3598
|
-
: undefined,
|
|
3407
|
+
actions: output.actions != null ? deserializeAws_restJson1Actions(output.actions, context) : undefined,
|
|
3599
3408
|
condition: (0, smithy_client_1.expectString)(output.condition),
|
|
3600
3409
|
eventName: (0, smithy_client_1.expectString)(output.eventName),
|
|
3601
3410
|
nextState: (0, smithy_client_1.expectString)(output.nextState),
|
|
@@ -3643,6 +3452,9 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
3643
3452
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
3644
3453
|
const sanitizeErrorCode = (rawValue) => {
|
|
3645
3454
|
let cleanValue = rawValue;
|
|
3455
|
+
if (typeof cleanValue === "number") {
|
|
3456
|
+
cleanValue = cleanValue.toString();
|
|
3457
|
+
}
|
|
3646
3458
|
if (cleanValue.indexOf(":") >= 0) {
|
|
3647
3459
|
cleanValue = cleanValue.split(":")[0];
|
|
3648
3460
|
}
|