@aws-sdk/client-devops-guru 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 +218 -332
- package/dist-es/protocols/Aws_restJson1.js +176 -290
- package/package.json +26 -26
|
@@ -15,8 +15,7 @@ const serializeAws_restJson1AddNotificationChannelCommand = async (input, contex
|
|
|
15
15
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/channels";
|
|
16
16
|
let body;
|
|
17
17
|
body = JSON.stringify({
|
|
18
|
-
...(input.Config
|
|
19
|
-
input.Config !== null && { Config: serializeAws_restJson1NotificationChannelConfig(input.Config, context) }),
|
|
18
|
+
...(input.Config != null && { Config: serializeAws_restJson1NotificationChannelConfig(input.Config, context) }),
|
|
20
19
|
});
|
|
21
20
|
return new protocol_http_1.HttpRequest({
|
|
22
21
|
protocol,
|
|
@@ -82,9 +81,8 @@ const serializeAws_restJson1DescribeAccountOverviewCommand = async (input, conte
|
|
|
82
81
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/accounts/overview";
|
|
83
82
|
let body;
|
|
84
83
|
body = JSON.stringify({
|
|
85
|
-
...(input.FromTime
|
|
86
|
-
|
|
87
|
-
...(input.ToTime !== undefined && input.ToTime !== null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
|
|
84
|
+
...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
|
|
85
|
+
...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
|
|
88
86
|
});
|
|
89
87
|
return new protocol_http_1.HttpRequest({
|
|
90
88
|
protocol,
|
|
@@ -154,7 +152,7 @@ const serializeAws_restJson1DescribeFeedbackCommand = async (input, context) =>
|
|
|
154
152
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/feedback";
|
|
155
153
|
let body;
|
|
156
154
|
body = JSON.stringify({
|
|
157
|
-
...(input.InsightId
|
|
155
|
+
...(input.InsightId != null && { InsightId: input.InsightId }),
|
|
158
156
|
});
|
|
159
157
|
return new protocol_http_1.HttpRequest({
|
|
160
158
|
protocol,
|
|
@@ -205,10 +203,8 @@ const serializeAws_restJson1DescribeOrganizationHealthCommand = async (input, co
|
|
|
205
203
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/organization/health";
|
|
206
204
|
let body;
|
|
207
205
|
body = JSON.stringify({
|
|
208
|
-
...(input.AccountIds
|
|
209
|
-
|
|
210
|
-
...(input.OrganizationalUnitIds !== undefined &&
|
|
211
|
-
input.OrganizationalUnitIds !== null && {
|
|
206
|
+
...(input.AccountIds != null && { AccountIds: serializeAws_restJson1AccountIdList(input.AccountIds, context) }),
|
|
207
|
+
...(input.OrganizationalUnitIds != null && {
|
|
212
208
|
OrganizationalUnitIds: serializeAws_restJson1OrganizationalUnitIdList(input.OrganizationalUnitIds, context),
|
|
213
209
|
}),
|
|
214
210
|
});
|
|
@@ -231,15 +227,12 @@ const serializeAws_restJson1DescribeOrganizationOverviewCommand = async (input,
|
|
|
231
227
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/organization/overview";
|
|
232
228
|
let body;
|
|
233
229
|
body = JSON.stringify({
|
|
234
|
-
...(input.AccountIds
|
|
235
|
-
|
|
236
|
-
...(input.
|
|
237
|
-
input.FromTime !== null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
|
|
238
|
-
...(input.OrganizationalUnitIds !== undefined &&
|
|
239
|
-
input.OrganizationalUnitIds !== null && {
|
|
230
|
+
...(input.AccountIds != null && { AccountIds: serializeAws_restJson1AccountIdList(input.AccountIds, context) }),
|
|
231
|
+
...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
|
|
232
|
+
...(input.OrganizationalUnitIds != null && {
|
|
240
233
|
OrganizationalUnitIds: serializeAws_restJson1OrganizationalUnitIdList(input.OrganizationalUnitIds, context),
|
|
241
234
|
}),
|
|
242
|
-
...(input.ToTime
|
|
235
|
+
...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
|
|
243
236
|
});
|
|
244
237
|
return new protocol_http_1.HttpRequest({
|
|
245
238
|
protocol,
|
|
@@ -260,16 +253,13 @@ const serializeAws_restJson1DescribeOrganizationResourceCollectionHealthCommand
|
|
|
260
253
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/organization/health/resource-collection";
|
|
261
254
|
let body;
|
|
262
255
|
body = JSON.stringify({
|
|
263
|
-
...(input.AccountIds
|
|
264
|
-
|
|
265
|
-
...(input.
|
|
266
|
-
...(input.
|
|
267
|
-
...(input.OrganizationResourceCollectionType !== undefined &&
|
|
268
|
-
input.OrganizationResourceCollectionType !== null && {
|
|
256
|
+
...(input.AccountIds != null && { AccountIds: serializeAws_restJson1AccountIdList(input.AccountIds, context) }),
|
|
257
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
258
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
259
|
+
...(input.OrganizationResourceCollectionType != null && {
|
|
269
260
|
OrganizationResourceCollectionType: input.OrganizationResourceCollectionType,
|
|
270
261
|
}),
|
|
271
|
-
...(input.OrganizationalUnitIds
|
|
272
|
-
input.OrganizationalUnitIds !== null && {
|
|
262
|
+
...(input.OrganizationalUnitIds != null && {
|
|
273
263
|
OrganizationalUnitIds: serializeAws_restJson1OrganizationalUnitIdList(input.OrganizationalUnitIds, context),
|
|
274
264
|
}),
|
|
275
265
|
});
|
|
@@ -403,11 +393,10 @@ const serializeAws_restJson1ListAnomaliesForInsightCommand = async (input, conte
|
|
|
403
393
|
}
|
|
404
394
|
let body;
|
|
405
395
|
body = JSON.stringify({
|
|
406
|
-
...(input.AccountId
|
|
407
|
-
...(input.MaxResults
|
|
408
|
-
...(input.NextToken
|
|
409
|
-
...(input.StartTimeRange
|
|
410
|
-
input.StartTimeRange !== null && {
|
|
396
|
+
...(input.AccountId != null && { AccountId: input.AccountId }),
|
|
397
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
398
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
399
|
+
...(input.StartTimeRange != null && {
|
|
411
400
|
StartTimeRange: serializeAws_restJson1StartTimeRange(input.StartTimeRange, context),
|
|
412
401
|
}),
|
|
413
402
|
});
|
|
@@ -430,11 +419,10 @@ const serializeAws_restJson1ListEventsCommand = async (input, context) => {
|
|
|
430
419
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/events";
|
|
431
420
|
let body;
|
|
432
421
|
body = JSON.stringify({
|
|
433
|
-
...(input.AccountId
|
|
434
|
-
...(input.Filters
|
|
435
|
-
|
|
436
|
-
...(input.
|
|
437
|
-
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
422
|
+
...(input.AccountId != null && { AccountId: input.AccountId }),
|
|
423
|
+
...(input.Filters != null && { Filters: serializeAws_restJson1ListEventsFilters(input.Filters, context) }),
|
|
424
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
425
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
438
426
|
});
|
|
439
427
|
return new protocol_http_1.HttpRequest({
|
|
440
428
|
protocol,
|
|
@@ -455,10 +443,9 @@ const serializeAws_restJson1ListInsightsCommand = async (input, context) => {
|
|
|
455
443
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/insights";
|
|
456
444
|
let body;
|
|
457
445
|
body = JSON.stringify({
|
|
458
|
-
...(input.MaxResults
|
|
459
|
-
...(input.NextToken
|
|
460
|
-
...(input.StatusFilter
|
|
461
|
-
input.StatusFilter !== null && {
|
|
446
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
447
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
448
|
+
...(input.StatusFilter != null && {
|
|
462
449
|
StatusFilter: serializeAws_restJson1ListInsightsStatusFilter(input.StatusFilter, context),
|
|
463
450
|
}),
|
|
464
451
|
});
|
|
@@ -481,7 +468,7 @@ const serializeAws_restJson1ListNotificationChannelsCommand = async (input, cont
|
|
|
481
468
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/channels";
|
|
482
469
|
let body;
|
|
483
470
|
body = JSON.stringify({
|
|
484
|
-
...(input.NextToken
|
|
471
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
485
472
|
});
|
|
486
473
|
return new protocol_http_1.HttpRequest({
|
|
487
474
|
protocol,
|
|
@@ -502,18 +489,15 @@ const serializeAws_restJson1ListOrganizationInsightsCommand = async (input, cont
|
|
|
502
489
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/organization/insights";
|
|
503
490
|
let body;
|
|
504
491
|
body = JSON.stringify({
|
|
505
|
-
...(input.AccountIds
|
|
506
|
-
input.AccountIds !== null && {
|
|
492
|
+
...(input.AccountIds != null && {
|
|
507
493
|
AccountIds: serializeAws_restJson1ListInsightsAccountIdList(input.AccountIds, context),
|
|
508
494
|
}),
|
|
509
|
-
...(input.MaxResults
|
|
510
|
-
...(input.NextToken
|
|
511
|
-
...(input.OrganizationalUnitIds
|
|
512
|
-
input.OrganizationalUnitIds !== null && {
|
|
495
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
496
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
497
|
+
...(input.OrganizationalUnitIds != null && {
|
|
513
498
|
OrganizationalUnitIds: serializeAws_restJson1ListInsightsOrganizationalUnitIdList(input.OrganizationalUnitIds, context),
|
|
514
499
|
}),
|
|
515
|
-
...(input.StatusFilter
|
|
516
|
-
input.StatusFilter !== null && {
|
|
500
|
+
...(input.StatusFilter != null && {
|
|
517
501
|
StatusFilter: serializeAws_restJson1ListInsightsStatusFilter(input.StatusFilter, context),
|
|
518
502
|
}),
|
|
519
503
|
});
|
|
@@ -536,10 +520,10 @@ const serializeAws_restJson1ListRecommendationsCommand = async (input, context)
|
|
|
536
520
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/recommendations";
|
|
537
521
|
let body;
|
|
538
522
|
body = JSON.stringify({
|
|
539
|
-
...(input.AccountId
|
|
540
|
-
...(input.InsightId
|
|
541
|
-
...(input.Locale
|
|
542
|
-
...(input.NextToken
|
|
523
|
+
...(input.AccountId != null && { AccountId: input.AccountId }),
|
|
524
|
+
...(input.InsightId != null && { InsightId: input.InsightId }),
|
|
525
|
+
...(input.Locale != null && { Locale: input.Locale }),
|
|
526
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
543
527
|
});
|
|
544
528
|
return new protocol_http_1.HttpRequest({
|
|
545
529
|
protocol,
|
|
@@ -560,8 +544,7 @@ const serializeAws_restJson1PutFeedbackCommand = async (input, context) => {
|
|
|
560
544
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/feedback";
|
|
561
545
|
let body;
|
|
562
546
|
body = JSON.stringify({
|
|
563
|
-
...(input.InsightFeedback
|
|
564
|
-
input.InsightFeedback !== null && {
|
|
547
|
+
...(input.InsightFeedback != null && {
|
|
565
548
|
InsightFeedback: serializeAws_restJson1InsightFeedback(input.InsightFeedback, context),
|
|
566
549
|
}),
|
|
567
550
|
});
|
|
@@ -610,15 +593,13 @@ const serializeAws_restJson1SearchInsightsCommand = async (input, context) => {
|
|
|
610
593
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/insights/search";
|
|
611
594
|
let body;
|
|
612
595
|
body = JSON.stringify({
|
|
613
|
-
...(input.Filters
|
|
614
|
-
|
|
615
|
-
...(input.
|
|
616
|
-
...(input.
|
|
617
|
-
...(input.StartTimeRange !== undefined &&
|
|
618
|
-
input.StartTimeRange !== null && {
|
|
596
|
+
...(input.Filters != null && { Filters: serializeAws_restJson1SearchInsightsFilters(input.Filters, context) }),
|
|
597
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
598
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
599
|
+
...(input.StartTimeRange != null && {
|
|
619
600
|
StartTimeRange: serializeAws_restJson1StartTimeRange(input.StartTimeRange, context),
|
|
620
601
|
}),
|
|
621
|
-
...(input.Type
|
|
602
|
+
...(input.Type != null && { Type: input.Type }),
|
|
622
603
|
});
|
|
623
604
|
return new protocol_http_1.HttpRequest({
|
|
624
605
|
protocol,
|
|
@@ -639,21 +620,18 @@ const serializeAws_restJson1SearchOrganizationInsightsCommand = async (input, co
|
|
|
639
620
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/organization/insights/search";
|
|
640
621
|
let body;
|
|
641
622
|
body = JSON.stringify({
|
|
642
|
-
...(input.AccountIds
|
|
643
|
-
input.AccountIds !== null && {
|
|
623
|
+
...(input.AccountIds != null && {
|
|
644
624
|
AccountIds: serializeAws_restJson1SearchInsightsAccountIdList(input.AccountIds, context),
|
|
645
625
|
}),
|
|
646
|
-
...(input.Filters
|
|
647
|
-
input.Filters !== null && {
|
|
626
|
+
...(input.Filters != null && {
|
|
648
627
|
Filters: serializeAws_restJson1SearchOrganizationInsightsFilters(input.Filters, context),
|
|
649
628
|
}),
|
|
650
|
-
...(input.MaxResults
|
|
651
|
-
...(input.NextToken
|
|
652
|
-
...(input.StartTimeRange
|
|
653
|
-
input.StartTimeRange !== null && {
|
|
629
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
630
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
631
|
+
...(input.StartTimeRange != null && {
|
|
654
632
|
StartTimeRange: serializeAws_restJson1StartTimeRange(input.StartTimeRange, context),
|
|
655
633
|
}),
|
|
656
|
-
...(input.Type
|
|
634
|
+
...(input.Type != null && { Type: input.Type }),
|
|
657
635
|
});
|
|
658
636
|
return new protocol_http_1.HttpRequest({
|
|
659
637
|
protocol,
|
|
@@ -676,8 +654,7 @@ const serializeAws_restJson1StartCostEstimationCommand = async (input, context)
|
|
|
676
654
|
let body;
|
|
677
655
|
body = JSON.stringify({
|
|
678
656
|
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
679
|
-
...(input.ResourceCollection
|
|
680
|
-
input.ResourceCollection !== null && {
|
|
657
|
+
...(input.ResourceCollection != null && {
|
|
681
658
|
ResourceCollection: serializeAws_restJson1CostEstimationResourceCollectionFilter(input.ResourceCollection, context),
|
|
682
659
|
}),
|
|
683
660
|
});
|
|
@@ -700,8 +677,7 @@ const serializeAws_restJson1UpdateEventSourcesConfigCommand = async (input, cont
|
|
|
700
677
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/event-sources";
|
|
701
678
|
let body;
|
|
702
679
|
body = JSON.stringify({
|
|
703
|
-
...(input.EventSources
|
|
704
|
-
input.EventSources !== null && {
|
|
680
|
+
...(input.EventSources != null && {
|
|
705
681
|
EventSources: serializeAws_restJson1EventSourcesConfig(input.EventSources, context),
|
|
706
682
|
}),
|
|
707
683
|
});
|
|
@@ -724,9 +700,8 @@ const serializeAws_restJson1UpdateResourceCollectionCommand = async (input, cont
|
|
|
724
700
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/resource-collections";
|
|
725
701
|
let body;
|
|
726
702
|
body = JSON.stringify({
|
|
727
|
-
...(input.Action
|
|
728
|
-
...(input.ResourceCollection
|
|
729
|
-
input.ResourceCollection !== null && {
|
|
703
|
+
...(input.Action != null && { Action: input.Action }),
|
|
704
|
+
...(input.ResourceCollection != null && {
|
|
730
705
|
ResourceCollection: serializeAws_restJson1UpdateResourceCollectionFilter(input.ResourceCollection, context),
|
|
731
706
|
}),
|
|
732
707
|
});
|
|
@@ -749,8 +724,7 @@ const serializeAws_restJson1UpdateServiceIntegrationCommand = async (input, cont
|
|
|
749
724
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/service-integrations";
|
|
750
725
|
let body;
|
|
751
726
|
body = JSON.stringify({
|
|
752
|
-
...(input.ServiceIntegration
|
|
753
|
-
input.ServiceIntegration !== null && {
|
|
727
|
+
...(input.ServiceIntegration != null && {
|
|
754
728
|
ServiceIntegration: serializeAws_restJson1UpdateServiceIntegrationConfig(input.ServiceIntegration, context),
|
|
755
729
|
}),
|
|
756
730
|
});
|
|
@@ -2437,31 +2411,27 @@ const serializeAws_restJson1AccountIdList = (input, context) => {
|
|
|
2437
2411
|
};
|
|
2438
2412
|
const serializeAws_restJson1AmazonCodeGuruProfilerIntegration = (input, context) => {
|
|
2439
2413
|
return {
|
|
2440
|
-
...(input.Status
|
|
2414
|
+
...(input.Status != null && { Status: input.Status }),
|
|
2441
2415
|
};
|
|
2442
2416
|
};
|
|
2443
2417
|
const serializeAws_restJson1CloudFormationCollection = (input, context) => {
|
|
2444
2418
|
return {
|
|
2445
|
-
...(input.StackNames
|
|
2446
|
-
input.StackNames !== null && { StackNames: serializeAws_restJson1StackNames(input.StackNames, context) }),
|
|
2419
|
+
...(input.StackNames != null && { StackNames: serializeAws_restJson1StackNames(input.StackNames, context) }),
|
|
2447
2420
|
};
|
|
2448
2421
|
};
|
|
2449
2422
|
const serializeAws_restJson1CloudFormationCostEstimationResourceCollectionFilter = (input, context) => {
|
|
2450
2423
|
return {
|
|
2451
|
-
...(input.StackNames
|
|
2452
|
-
input.StackNames !== null && {
|
|
2424
|
+
...(input.StackNames != null && {
|
|
2453
2425
|
StackNames: serializeAws_restJson1CostEstimationStackNames(input.StackNames, context),
|
|
2454
2426
|
}),
|
|
2455
2427
|
};
|
|
2456
2428
|
};
|
|
2457
2429
|
const serializeAws_restJson1CostEstimationResourceCollectionFilter = (input, context) => {
|
|
2458
2430
|
return {
|
|
2459
|
-
...(input.CloudFormation
|
|
2460
|
-
input.CloudFormation !== null && {
|
|
2431
|
+
...(input.CloudFormation != null && {
|
|
2461
2432
|
CloudFormation: serializeAws_restJson1CloudFormationCostEstimationResourceCollectionFilter(input.CloudFormation, context),
|
|
2462
2433
|
}),
|
|
2463
|
-
...(input.Tags
|
|
2464
|
-
input.Tags !== null && {
|
|
2434
|
+
...(input.Tags != null && {
|
|
2465
2435
|
Tags: serializeAws_restJson1TagCostEstimationResourceCollectionFilters(input.Tags, context),
|
|
2466
2436
|
}),
|
|
2467
2437
|
};
|
|
@@ -2488,30 +2458,27 @@ const serializeAws_restJson1CostEstimationTagValues = (input, context) => {
|
|
|
2488
2458
|
};
|
|
2489
2459
|
const serializeAws_restJson1EndTimeRange = (input, context) => {
|
|
2490
2460
|
return {
|
|
2491
|
-
...(input.FromTime
|
|
2492
|
-
|
|
2493
|
-
...(input.ToTime !== undefined && input.ToTime !== null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
|
|
2461
|
+
...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
|
|
2462
|
+
...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
|
|
2494
2463
|
};
|
|
2495
2464
|
};
|
|
2496
2465
|
const serializeAws_restJson1EventSourcesConfig = (input, context) => {
|
|
2497
2466
|
return {
|
|
2498
|
-
...(input.AmazonCodeGuruProfiler
|
|
2499
|
-
input.AmazonCodeGuruProfiler !== null && {
|
|
2467
|
+
...(input.AmazonCodeGuruProfiler != null && {
|
|
2500
2468
|
AmazonCodeGuruProfiler: serializeAws_restJson1AmazonCodeGuruProfilerIntegration(input.AmazonCodeGuruProfiler, context),
|
|
2501
2469
|
}),
|
|
2502
2470
|
};
|
|
2503
2471
|
};
|
|
2504
2472
|
const serializeAws_restJson1EventTimeRange = (input, context) => {
|
|
2505
2473
|
return {
|
|
2506
|
-
...(input.FromTime
|
|
2507
|
-
|
|
2508
|
-
...(input.ToTime !== undefined && input.ToTime !== null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
|
|
2474
|
+
...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
|
|
2475
|
+
...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
|
|
2509
2476
|
};
|
|
2510
2477
|
};
|
|
2511
2478
|
const serializeAws_restJson1InsightFeedback = (input, context) => {
|
|
2512
2479
|
return {
|
|
2513
|
-
...(input.Feedback
|
|
2514
|
-
...(input.Id
|
|
2480
|
+
...(input.Feedback != null && { Feedback: input.Feedback }),
|
|
2481
|
+
...(input.Id != null && { Id: input.Id }),
|
|
2515
2482
|
};
|
|
2516
2483
|
};
|
|
2517
2484
|
const serializeAws_restJson1InsightSeverities = (input, context) => {
|
|
@@ -2536,16 +2503,14 @@ const serializeAws_restJson1InsightStatuses = (input, context) => {
|
|
|
2536
2503
|
};
|
|
2537
2504
|
const serializeAws_restJson1ListEventsFilters = (input, context) => {
|
|
2538
2505
|
return {
|
|
2539
|
-
...(input.DataSource
|
|
2540
|
-
...(input.EventClass
|
|
2541
|
-
...(input.EventSource
|
|
2542
|
-
...(input.EventTimeRange
|
|
2543
|
-
input.EventTimeRange !== null && {
|
|
2506
|
+
...(input.DataSource != null && { DataSource: input.DataSource }),
|
|
2507
|
+
...(input.EventClass != null && { EventClass: input.EventClass }),
|
|
2508
|
+
...(input.EventSource != null && { EventSource: input.EventSource }),
|
|
2509
|
+
...(input.EventTimeRange != null && {
|
|
2544
2510
|
EventTimeRange: serializeAws_restJson1EventTimeRange(input.EventTimeRange, context),
|
|
2545
2511
|
}),
|
|
2546
|
-
...(input.InsightId
|
|
2547
|
-
...(input.ResourceCollection
|
|
2548
|
-
input.ResourceCollection !== null && {
|
|
2512
|
+
...(input.InsightId != null && { InsightId: input.InsightId }),
|
|
2513
|
+
...(input.ResourceCollection != null && {
|
|
2549
2514
|
ResourceCollection: serializeAws_restJson1ResourceCollection(input.ResourceCollection, context),
|
|
2550
2515
|
}),
|
|
2551
2516
|
};
|
|
@@ -2562,23 +2527,23 @@ const serializeAws_restJson1ListInsightsAccountIdList = (input, context) => {
|
|
|
2562
2527
|
};
|
|
2563
2528
|
const serializeAws_restJson1ListInsightsAnyStatusFilter = (input, context) => {
|
|
2564
2529
|
return {
|
|
2565
|
-
...(input.StartTimeRange
|
|
2566
|
-
input.StartTimeRange !== null && {
|
|
2530
|
+
...(input.StartTimeRange != null && {
|
|
2567
2531
|
StartTimeRange: serializeAws_restJson1StartTimeRange(input.StartTimeRange, context),
|
|
2568
2532
|
}),
|
|
2569
|
-
...(input.Type
|
|
2533
|
+
...(input.Type != null && { Type: input.Type }),
|
|
2570
2534
|
};
|
|
2571
2535
|
};
|
|
2572
2536
|
const serializeAws_restJson1ListInsightsClosedStatusFilter = (input, context) => {
|
|
2573
2537
|
return {
|
|
2574
|
-
...(input.EndTimeRange
|
|
2575
|
-
|
|
2576
|
-
|
|
2538
|
+
...(input.EndTimeRange != null && {
|
|
2539
|
+
EndTimeRange: serializeAws_restJson1EndTimeRange(input.EndTimeRange, context),
|
|
2540
|
+
}),
|
|
2541
|
+
...(input.Type != null && { Type: input.Type }),
|
|
2577
2542
|
};
|
|
2578
2543
|
};
|
|
2579
2544
|
const serializeAws_restJson1ListInsightsOngoingStatusFilter = (input, context) => {
|
|
2580
2545
|
return {
|
|
2581
|
-
...(input.Type
|
|
2546
|
+
...(input.Type != null && { Type: input.Type }),
|
|
2582
2547
|
};
|
|
2583
2548
|
};
|
|
2584
2549
|
const serializeAws_restJson1ListInsightsOrganizationalUnitIdList = (input, context) => {
|
|
@@ -2593,25 +2558,23 @@ const serializeAws_restJson1ListInsightsOrganizationalUnitIdList = (input, conte
|
|
|
2593
2558
|
};
|
|
2594
2559
|
const serializeAws_restJson1ListInsightsStatusFilter = (input, context) => {
|
|
2595
2560
|
return {
|
|
2596
|
-
...(input.Any
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
...(input.Ongoing
|
|
2601
|
-
input.Ongoing !== null && {
|
|
2561
|
+
...(input.Any != null && { Any: serializeAws_restJson1ListInsightsAnyStatusFilter(input.Any, context) }),
|
|
2562
|
+
...(input.Closed != null && {
|
|
2563
|
+
Closed: serializeAws_restJson1ListInsightsClosedStatusFilter(input.Closed, context),
|
|
2564
|
+
}),
|
|
2565
|
+
...(input.Ongoing != null && {
|
|
2602
2566
|
Ongoing: serializeAws_restJson1ListInsightsOngoingStatusFilter(input.Ongoing, context),
|
|
2603
2567
|
}),
|
|
2604
2568
|
};
|
|
2605
2569
|
};
|
|
2606
2570
|
const serializeAws_restJson1NotificationChannelConfig = (input, context) => {
|
|
2607
2571
|
return {
|
|
2608
|
-
...(input.Sns
|
|
2609
|
-
input.Sns !== null && { Sns: serializeAws_restJson1SnsChannelConfig(input.Sns, context) }),
|
|
2572
|
+
...(input.Sns != null && { Sns: serializeAws_restJson1SnsChannelConfig(input.Sns, context) }),
|
|
2610
2573
|
};
|
|
2611
2574
|
};
|
|
2612
2575
|
const serializeAws_restJson1OpsCenterIntegrationConfig = (input, context) => {
|
|
2613
2576
|
return {
|
|
2614
|
-
...(input.OptInStatus
|
|
2577
|
+
...(input.OptInStatus != null && { OptInStatus: input.OptInStatus }),
|
|
2615
2578
|
};
|
|
2616
2579
|
};
|
|
2617
2580
|
const serializeAws_restJson1OrganizationalUnitIdList = (input, context) => {
|
|
@@ -2626,12 +2589,10 @@ const serializeAws_restJson1OrganizationalUnitIdList = (input, context) => {
|
|
|
2626
2589
|
};
|
|
2627
2590
|
const serializeAws_restJson1ResourceCollection = (input, context) => {
|
|
2628
2591
|
return {
|
|
2629
|
-
...(input.CloudFormation
|
|
2630
|
-
input.CloudFormation !== null && {
|
|
2592
|
+
...(input.CloudFormation != null && {
|
|
2631
2593
|
CloudFormation: serializeAws_restJson1CloudFormationCollection(input.CloudFormation, context),
|
|
2632
2594
|
}),
|
|
2633
|
-
...(input.Tags
|
|
2634
|
-
input.Tags !== null && { Tags: serializeAws_restJson1TagCollections(input.Tags, context) }),
|
|
2595
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1TagCollections(input.Tags, context) }),
|
|
2635
2596
|
};
|
|
2636
2597
|
};
|
|
2637
2598
|
const serializeAws_restJson1SearchInsightsAccountIdList = (input, context) => {
|
|
@@ -2646,40 +2607,33 @@ const serializeAws_restJson1SearchInsightsAccountIdList = (input, context) => {
|
|
|
2646
2607
|
};
|
|
2647
2608
|
const serializeAws_restJson1SearchInsightsFilters = (input, context) => {
|
|
2648
2609
|
return {
|
|
2649
|
-
...(input.ResourceCollection
|
|
2650
|
-
input.ResourceCollection !== null && {
|
|
2610
|
+
...(input.ResourceCollection != null && {
|
|
2651
2611
|
ResourceCollection: serializeAws_restJson1ResourceCollection(input.ResourceCollection, context),
|
|
2652
2612
|
}),
|
|
2653
|
-
...(input.ServiceCollection
|
|
2654
|
-
input.ServiceCollection !== null && {
|
|
2613
|
+
...(input.ServiceCollection != null && {
|
|
2655
2614
|
ServiceCollection: serializeAws_restJson1ServiceCollection(input.ServiceCollection, context),
|
|
2656
2615
|
}),
|
|
2657
|
-
...(input.Severities
|
|
2658
|
-
|
|
2659
|
-
...(input.Statuses !== undefined &&
|
|
2660
|
-
input.Statuses !== null && { Statuses: serializeAws_restJson1InsightStatuses(input.Statuses, context) }),
|
|
2616
|
+
...(input.Severities != null && { Severities: serializeAws_restJson1InsightSeverities(input.Severities, context) }),
|
|
2617
|
+
...(input.Statuses != null && { Statuses: serializeAws_restJson1InsightStatuses(input.Statuses, context) }),
|
|
2661
2618
|
};
|
|
2662
2619
|
};
|
|
2663
2620
|
const serializeAws_restJson1SearchOrganizationInsightsFilters = (input, context) => {
|
|
2664
2621
|
return {
|
|
2665
|
-
...(input.ResourceCollection
|
|
2666
|
-
input.ResourceCollection !== null && {
|
|
2622
|
+
...(input.ResourceCollection != null && {
|
|
2667
2623
|
ResourceCollection: serializeAws_restJson1ResourceCollection(input.ResourceCollection, context),
|
|
2668
2624
|
}),
|
|
2669
|
-
...(input.ServiceCollection
|
|
2670
|
-
input.ServiceCollection !== null && {
|
|
2625
|
+
...(input.ServiceCollection != null && {
|
|
2671
2626
|
ServiceCollection: serializeAws_restJson1ServiceCollection(input.ServiceCollection, context),
|
|
2672
2627
|
}),
|
|
2673
|
-
...(input.Severities
|
|
2674
|
-
|
|
2675
|
-
...(input.Statuses !== undefined &&
|
|
2676
|
-
input.Statuses !== null && { Statuses: serializeAws_restJson1InsightStatuses(input.Statuses, context) }),
|
|
2628
|
+
...(input.Severities != null && { Severities: serializeAws_restJson1InsightSeverities(input.Severities, context) }),
|
|
2629
|
+
...(input.Statuses != null && { Statuses: serializeAws_restJson1InsightStatuses(input.Statuses, context) }),
|
|
2677
2630
|
};
|
|
2678
2631
|
};
|
|
2679
2632
|
const serializeAws_restJson1ServiceCollection = (input, context) => {
|
|
2680
2633
|
return {
|
|
2681
|
-
...(input.ServiceNames
|
|
2682
|
-
|
|
2634
|
+
...(input.ServiceNames != null && {
|
|
2635
|
+
ServiceNames: serializeAws_restJson1ServiceNames(input.ServiceNames, context),
|
|
2636
|
+
}),
|
|
2683
2637
|
};
|
|
2684
2638
|
};
|
|
2685
2639
|
const serializeAws_restJson1ServiceNames = (input, context) => {
|
|
@@ -2694,7 +2648,7 @@ const serializeAws_restJson1ServiceNames = (input, context) => {
|
|
|
2694
2648
|
};
|
|
2695
2649
|
const serializeAws_restJson1SnsChannelConfig = (input, context) => {
|
|
2696
2650
|
return {
|
|
2697
|
-
...(input.TopicArn
|
|
2651
|
+
...(input.TopicArn != null && { TopicArn: input.TopicArn }),
|
|
2698
2652
|
};
|
|
2699
2653
|
};
|
|
2700
2654
|
const serializeAws_restJson1StackNames = (input, context) => {
|
|
@@ -2709,17 +2663,14 @@ const serializeAws_restJson1StackNames = (input, context) => {
|
|
|
2709
2663
|
};
|
|
2710
2664
|
const serializeAws_restJson1StartTimeRange = (input, context) => {
|
|
2711
2665
|
return {
|
|
2712
|
-
...(input.FromTime
|
|
2713
|
-
|
|
2714
|
-
...(input.ToTime !== undefined && input.ToTime !== null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
|
|
2666
|
+
...(input.FromTime != null && { FromTime: Math.round(input.FromTime.getTime() / 1000) }),
|
|
2667
|
+
...(input.ToTime != null && { ToTime: Math.round(input.ToTime.getTime() / 1000) }),
|
|
2715
2668
|
};
|
|
2716
2669
|
};
|
|
2717
2670
|
const serializeAws_restJson1TagCollection = (input, context) => {
|
|
2718
2671
|
return {
|
|
2719
|
-
...(input.AppBoundaryKey
|
|
2720
|
-
|
|
2721
|
-
...(input.TagValues !== undefined &&
|
|
2722
|
-
input.TagValues !== null && { TagValues: serializeAws_restJson1TagValues(input.TagValues, context) }),
|
|
2672
|
+
...(input.AppBoundaryKey != null && { AppBoundaryKey: input.AppBoundaryKey }),
|
|
2673
|
+
...(input.TagValues != null && { TagValues: serializeAws_restJson1TagValues(input.TagValues, context) }),
|
|
2723
2674
|
};
|
|
2724
2675
|
};
|
|
2725
2676
|
const serializeAws_restJson1TagCollections = (input, context) => {
|
|
@@ -2734,10 +2685,8 @@ const serializeAws_restJson1TagCollections = (input, context) => {
|
|
|
2734
2685
|
};
|
|
2735
2686
|
const serializeAws_restJson1TagCostEstimationResourceCollectionFilter = (input, context) => {
|
|
2736
2687
|
return {
|
|
2737
|
-
...(input.AppBoundaryKey
|
|
2738
|
-
|
|
2739
|
-
...(input.TagValues !== undefined &&
|
|
2740
|
-
input.TagValues !== null && {
|
|
2688
|
+
...(input.AppBoundaryKey != null && { AppBoundaryKey: input.AppBoundaryKey }),
|
|
2689
|
+
...(input.TagValues != null && {
|
|
2741
2690
|
TagValues: serializeAws_restJson1CostEstimationTagValues(input.TagValues, context),
|
|
2742
2691
|
}),
|
|
2743
2692
|
};
|
|
@@ -2764,24 +2713,20 @@ const serializeAws_restJson1TagValues = (input, context) => {
|
|
|
2764
2713
|
};
|
|
2765
2714
|
const serializeAws_restJson1UpdateCloudFormationCollectionFilter = (input, context) => {
|
|
2766
2715
|
return {
|
|
2767
|
-
...(input.StackNames
|
|
2768
|
-
input.StackNames !== null && { StackNames: serializeAws_restJson1UpdateStackNames(input.StackNames, context) }),
|
|
2716
|
+
...(input.StackNames != null && { StackNames: serializeAws_restJson1UpdateStackNames(input.StackNames, context) }),
|
|
2769
2717
|
};
|
|
2770
2718
|
};
|
|
2771
2719
|
const serializeAws_restJson1UpdateResourceCollectionFilter = (input, context) => {
|
|
2772
2720
|
return {
|
|
2773
|
-
...(input.CloudFormation
|
|
2774
|
-
input.CloudFormation !== null && {
|
|
2721
|
+
...(input.CloudFormation != null && {
|
|
2775
2722
|
CloudFormation: serializeAws_restJson1UpdateCloudFormationCollectionFilter(input.CloudFormation, context),
|
|
2776
2723
|
}),
|
|
2777
|
-
...(input.Tags
|
|
2778
|
-
input.Tags !== null && { Tags: serializeAws_restJson1UpdateTagCollectionFilters(input.Tags, context) }),
|
|
2724
|
+
...(input.Tags != null && { Tags: serializeAws_restJson1UpdateTagCollectionFilters(input.Tags, context) }),
|
|
2779
2725
|
};
|
|
2780
2726
|
};
|
|
2781
2727
|
const serializeAws_restJson1UpdateServiceIntegrationConfig = (input, context) => {
|
|
2782
2728
|
return {
|
|
2783
|
-
...(input.OpsCenter
|
|
2784
|
-
input.OpsCenter !== null && {
|
|
2729
|
+
...(input.OpsCenter != null && {
|
|
2785
2730
|
OpsCenter: serializeAws_restJson1OpsCenterIntegrationConfig(input.OpsCenter, context),
|
|
2786
2731
|
}),
|
|
2787
2732
|
};
|
|
@@ -2798,10 +2743,8 @@ const serializeAws_restJson1UpdateStackNames = (input, context) => {
|
|
|
2798
2743
|
};
|
|
2799
2744
|
const serializeAws_restJson1UpdateTagCollectionFilter = (input, context) => {
|
|
2800
2745
|
return {
|
|
2801
|
-
...(input.AppBoundaryKey
|
|
2802
|
-
|
|
2803
|
-
...(input.TagValues !== undefined &&
|
|
2804
|
-
input.TagValues !== null && { TagValues: serializeAws_restJson1UpdateTagValues(input.TagValues, context) }),
|
|
2746
|
+
...(input.AppBoundaryKey != null && { AppBoundaryKey: input.AppBoundaryKey }),
|
|
2747
|
+
...(input.TagValues != null && { TagValues: serializeAws_restJson1UpdateTagValues(input.TagValues, context) }),
|
|
2805
2748
|
};
|
|
2806
2749
|
};
|
|
2807
2750
|
const serializeAws_restJson1UpdateTagCollectionFilters = (input, context) => {
|
|
@@ -2827,9 +2770,7 @@ const serializeAws_restJson1UpdateTagValues = (input, context) => {
|
|
|
2827
2770
|
const deserializeAws_restJson1AccountHealth = (output, context) => {
|
|
2828
2771
|
return {
|
|
2829
2772
|
AccountId: (0, smithy_client_1.expectString)(output.AccountId),
|
|
2830
|
-
Insight: output.Insight
|
|
2831
|
-
? deserializeAws_restJson1AccountInsightHealth(output.Insight, context)
|
|
2832
|
-
: undefined,
|
|
2773
|
+
Insight: output.Insight != null ? deserializeAws_restJson1AccountInsightHealth(output.Insight, context) : undefined,
|
|
2833
2774
|
};
|
|
2834
2775
|
};
|
|
2835
2776
|
const deserializeAws_restJson1AccountHealths = (output, context) => {
|
|
@@ -2856,12 +2797,8 @@ const deserializeAws_restJson1AmazonCodeGuruProfilerIntegration = (output, conte
|
|
|
2856
2797
|
};
|
|
2857
2798
|
const deserializeAws_restJson1AnomalyReportedTimeRange = (output, context) => {
|
|
2858
2799
|
return {
|
|
2859
|
-
CloseTime: output.CloseTime
|
|
2860
|
-
|
|
2861
|
-
: undefined,
|
|
2862
|
-
OpenTime: output.OpenTime !== undefined && output.OpenTime !== null
|
|
2863
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.OpenTime)))
|
|
2864
|
-
: undefined,
|
|
2800
|
+
CloseTime: output.CloseTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CloseTime))) : undefined,
|
|
2801
|
+
OpenTime: output.OpenTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.OpenTime))) : undefined,
|
|
2865
2802
|
};
|
|
2866
2803
|
};
|
|
2867
2804
|
const deserializeAws_restJson1AnomalyResource = (output, context) => {
|
|
@@ -2883,10 +2820,10 @@ const deserializeAws_restJson1AnomalyResources = (output, context) => {
|
|
|
2883
2820
|
};
|
|
2884
2821
|
const deserializeAws_restJson1AnomalySourceDetails = (output, context) => {
|
|
2885
2822
|
return {
|
|
2886
|
-
CloudWatchMetrics: output.CloudWatchMetrics
|
|
2823
|
+
CloudWatchMetrics: output.CloudWatchMetrics != null
|
|
2887
2824
|
? deserializeAws_restJson1CloudWatchMetricsDetails(output.CloudWatchMetrics, context)
|
|
2888
2825
|
: undefined,
|
|
2889
|
-
PerformanceInsightsMetrics: output.PerformanceInsightsMetrics
|
|
2826
|
+
PerformanceInsightsMetrics: output.PerformanceInsightsMetrics != null
|
|
2890
2827
|
? deserializeAws_restJson1PerformanceInsightsMetricsDetails(output.PerformanceInsightsMetrics, context)
|
|
2891
2828
|
: undefined,
|
|
2892
2829
|
};
|
|
@@ -2900,12 +2837,8 @@ const deserializeAws_restJson1AnomalySourceMetadata = (output, context) => {
|
|
|
2900
2837
|
};
|
|
2901
2838
|
const deserializeAws_restJson1AnomalyTimeRange = (output, context) => {
|
|
2902
2839
|
return {
|
|
2903
|
-
EndTime: output.EndTime
|
|
2904
|
-
|
|
2905
|
-
: undefined,
|
|
2906
|
-
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
2907
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
|
|
2908
|
-
: undefined,
|
|
2840
|
+
EndTime: output.EndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime))) : undefined,
|
|
2841
|
+
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime))) : undefined,
|
|
2909
2842
|
};
|
|
2910
2843
|
};
|
|
2911
2844
|
const deserializeAws_restJson1AssociatedResourceArns = (output, context) => {
|
|
@@ -2932,30 +2865,24 @@ const deserializeAws_restJson1Channels = (output, context) => {
|
|
|
2932
2865
|
};
|
|
2933
2866
|
const deserializeAws_restJson1CloudFormationCollection = (output, context) => {
|
|
2934
2867
|
return {
|
|
2935
|
-
StackNames: output.StackNames
|
|
2936
|
-
? deserializeAws_restJson1StackNames(output.StackNames, context)
|
|
2937
|
-
: undefined,
|
|
2868
|
+
StackNames: output.StackNames != null ? deserializeAws_restJson1StackNames(output.StackNames, context) : undefined,
|
|
2938
2869
|
};
|
|
2939
2870
|
};
|
|
2940
2871
|
const deserializeAws_restJson1CloudFormationCollectionFilter = (output, context) => {
|
|
2941
2872
|
return {
|
|
2942
|
-
StackNames: output.StackNames
|
|
2943
|
-
? deserializeAws_restJson1StackNames(output.StackNames, context)
|
|
2944
|
-
: undefined,
|
|
2873
|
+
StackNames: output.StackNames != null ? deserializeAws_restJson1StackNames(output.StackNames, context) : undefined,
|
|
2945
2874
|
};
|
|
2946
2875
|
};
|
|
2947
2876
|
const deserializeAws_restJson1CloudFormationCostEstimationResourceCollectionFilter = (output, context) => {
|
|
2948
2877
|
return {
|
|
2949
|
-
StackNames: output.StackNames
|
|
2878
|
+
StackNames: output.StackNames != null
|
|
2950
2879
|
? deserializeAws_restJson1CostEstimationStackNames(output.StackNames, context)
|
|
2951
2880
|
: undefined,
|
|
2952
2881
|
};
|
|
2953
2882
|
};
|
|
2954
2883
|
const deserializeAws_restJson1CloudFormationHealth = (output, context) => {
|
|
2955
2884
|
return {
|
|
2956
|
-
Insight: output.Insight
|
|
2957
|
-
? deserializeAws_restJson1InsightHealth(output.Insight, context)
|
|
2958
|
-
: undefined,
|
|
2885
|
+
Insight: output.Insight != null ? deserializeAws_restJson1InsightHealth(output.Insight, context) : undefined,
|
|
2959
2886
|
StackName: (0, smithy_client_1.expectString)(output.StackName),
|
|
2960
2887
|
};
|
|
2961
2888
|
};
|
|
@@ -2973,17 +2900,17 @@ const deserializeAws_restJson1CloudFormationHealths = (output, context) => {
|
|
|
2973
2900
|
const deserializeAws_restJson1CloudWatchMetricsDataSummary = (output, context) => {
|
|
2974
2901
|
return {
|
|
2975
2902
|
StatusCode: (0, smithy_client_1.expectString)(output.StatusCode),
|
|
2976
|
-
TimestampMetricValuePairList: output.TimestampMetricValuePairList
|
|
2903
|
+
TimestampMetricValuePairList: output.TimestampMetricValuePairList != null
|
|
2977
2904
|
? deserializeAws_restJson1TimestampMetricValuePairList(output.TimestampMetricValuePairList, context)
|
|
2978
2905
|
: undefined,
|
|
2979
2906
|
};
|
|
2980
2907
|
};
|
|
2981
2908
|
const deserializeAws_restJson1CloudWatchMetricsDetail = (output, context) => {
|
|
2982
2909
|
return {
|
|
2983
|
-
Dimensions: output.Dimensions
|
|
2910
|
+
Dimensions: output.Dimensions != null
|
|
2984
2911
|
? deserializeAws_restJson1CloudWatchMetricsDimensions(output.Dimensions, context)
|
|
2985
2912
|
: undefined,
|
|
2986
|
-
MetricDataSummary: output.MetricDataSummary
|
|
2913
|
+
MetricDataSummary: output.MetricDataSummary != null
|
|
2987
2914
|
? deserializeAws_restJson1CloudWatchMetricsDataSummary(output.MetricDataSummary, context)
|
|
2988
2915
|
: undefined,
|
|
2989
2916
|
MetricName: (0, smithy_client_1.expectString)(output.MetricName),
|
|
@@ -3023,10 +2950,10 @@ const deserializeAws_restJson1CloudWatchMetricsDimensions = (output, context) =>
|
|
|
3023
2950
|
};
|
|
3024
2951
|
const deserializeAws_restJson1CostEstimationResourceCollectionFilter = (output, context) => {
|
|
3025
2952
|
return {
|
|
3026
|
-
CloudFormation: output.CloudFormation
|
|
2953
|
+
CloudFormation: output.CloudFormation != null
|
|
3027
2954
|
? deserializeAws_restJson1CloudFormationCostEstimationResourceCollectionFilter(output.CloudFormation, context)
|
|
3028
2955
|
: undefined,
|
|
3029
|
-
Tags: output.Tags
|
|
2956
|
+
Tags: output.Tags != null
|
|
3030
2957
|
? deserializeAws_restJson1TagCostEstimationResourceCollectionFilters(output.Tags, context)
|
|
3031
2958
|
: undefined,
|
|
3032
2959
|
};
|
|
@@ -3055,12 +2982,8 @@ const deserializeAws_restJson1CostEstimationTagValues = (output, context) => {
|
|
|
3055
2982
|
};
|
|
3056
2983
|
const deserializeAws_restJson1CostEstimationTimeRange = (output, context) => {
|
|
3057
2984
|
return {
|
|
3058
|
-
EndTime: output.EndTime
|
|
3059
|
-
|
|
3060
|
-
: undefined,
|
|
3061
|
-
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
3062
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
|
|
3063
|
-
: undefined,
|
|
2985
|
+
EndTime: output.EndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime))) : undefined,
|
|
2986
|
+
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime))) : undefined,
|
|
3064
2987
|
};
|
|
3065
2988
|
};
|
|
3066
2989
|
const deserializeAws_restJson1Event = (output, context) => {
|
|
@@ -3070,15 +2993,11 @@ const deserializeAws_restJson1Event = (output, context) => {
|
|
|
3070
2993
|
EventSource: (0, smithy_client_1.expectString)(output.EventSource),
|
|
3071
2994
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3072
2995
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3073
|
-
ResourceCollection: output.ResourceCollection
|
|
2996
|
+
ResourceCollection: output.ResourceCollection != null
|
|
3074
2997
|
? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
|
|
3075
2998
|
: undefined,
|
|
3076
|
-
Resources: output.Resources
|
|
3077
|
-
|
|
3078
|
-
: undefined,
|
|
3079
|
-
Time: output.Time !== undefined && output.Time !== null
|
|
3080
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Time)))
|
|
3081
|
-
: undefined,
|
|
2999
|
+
Resources: output.Resources != null ? deserializeAws_restJson1EventResources(output.Resources, context) : undefined,
|
|
3000
|
+
Time: output.Time != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Time))) : undefined,
|
|
3082
3001
|
};
|
|
3083
3002
|
};
|
|
3084
3003
|
const deserializeAws_restJson1EventResource = (output, context) => {
|
|
@@ -3112,7 +3031,7 @@ const deserializeAws_restJson1Events = (output, context) => {
|
|
|
3112
3031
|
};
|
|
3113
3032
|
const deserializeAws_restJson1EventSourcesConfig = (output, context) => {
|
|
3114
3033
|
return {
|
|
3115
|
-
AmazonCodeGuruProfiler: output.AmazonCodeGuruProfiler
|
|
3034
|
+
AmazonCodeGuruProfiler: output.AmazonCodeGuruProfiler != null
|
|
3116
3035
|
? deserializeAws_restJson1AmazonCodeGuruProfilerIntegration(output.AmazonCodeGuruProfiler, context)
|
|
3117
3036
|
: undefined,
|
|
3118
3037
|
};
|
|
@@ -3132,27 +3051,19 @@ const deserializeAws_restJson1InsightHealth = (output, context) => {
|
|
|
3132
3051
|
};
|
|
3133
3052
|
const deserializeAws_restJson1InsightTimeRange = (output, context) => {
|
|
3134
3053
|
return {
|
|
3135
|
-
EndTime: output.EndTime
|
|
3136
|
-
|
|
3137
|
-
: undefined,
|
|
3138
|
-
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
3139
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
|
|
3140
|
-
: undefined,
|
|
3054
|
+
EndTime: output.EndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime))) : undefined,
|
|
3055
|
+
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime))) : undefined,
|
|
3141
3056
|
};
|
|
3142
3057
|
};
|
|
3143
3058
|
const deserializeAws_restJson1NotificationChannel = (output, context) => {
|
|
3144
3059
|
return {
|
|
3145
|
-
Config: output.Config
|
|
3146
|
-
? deserializeAws_restJson1NotificationChannelConfig(output.Config, context)
|
|
3147
|
-
: undefined,
|
|
3060
|
+
Config: output.Config != null ? deserializeAws_restJson1NotificationChannelConfig(output.Config, context) : undefined,
|
|
3148
3061
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3149
3062
|
};
|
|
3150
3063
|
};
|
|
3151
3064
|
const deserializeAws_restJson1NotificationChannelConfig = (output, context) => {
|
|
3152
3065
|
return {
|
|
3153
|
-
Sns: output.Sns
|
|
3154
|
-
? deserializeAws_restJson1SnsChannelConfig(output.Sns, context)
|
|
3155
|
-
: undefined,
|
|
3066
|
+
Sns: output.Sns != null ? deserializeAws_restJson1SnsChannelConfig(output.Sns, context) : undefined,
|
|
3156
3067
|
};
|
|
3157
3068
|
};
|
|
3158
3069
|
const deserializeAws_restJson1OpsCenterIntegration = (output, context) => {
|
|
@@ -3162,7 +3073,7 @@ const deserializeAws_restJson1OpsCenterIntegration = (output, context) => {
|
|
|
3162
3073
|
};
|
|
3163
3074
|
const deserializeAws_restJson1PerformanceInsightsMetricDimensionGroup = (output, context) => {
|
|
3164
3075
|
return {
|
|
3165
|
-
Dimensions: output.Dimensions
|
|
3076
|
+
Dimensions: output.Dimensions != null
|
|
3166
3077
|
? deserializeAws_restJson1PerformanceInsightsMetricDimensions(output.Dimensions, context)
|
|
3167
3078
|
: undefined,
|
|
3168
3079
|
Group: (0, smithy_client_1.expectString)(output.Group),
|
|
@@ -3193,10 +3104,10 @@ const deserializeAws_restJson1PerformanceInsightsMetricFilterMap = (output, cont
|
|
|
3193
3104
|
};
|
|
3194
3105
|
const deserializeAws_restJson1PerformanceInsightsMetricQuery = (output, context) => {
|
|
3195
3106
|
return {
|
|
3196
|
-
Filter: output.Filter
|
|
3107
|
+
Filter: output.Filter != null
|
|
3197
3108
|
? deserializeAws_restJson1PerformanceInsightsMetricFilterMap(output.Filter, context)
|
|
3198
3109
|
: undefined,
|
|
3199
|
-
GroupBy: output.GroupBy
|
|
3110
|
+
GroupBy: output.GroupBy != null
|
|
3200
3111
|
? deserializeAws_restJson1PerformanceInsightsMetricDimensionGroup(output.GroupBy, context)
|
|
3201
3112
|
: undefined,
|
|
3202
3113
|
Metric: (0, smithy_client_1.expectString)(output.Metric),
|
|
@@ -3205,16 +3116,16 @@ const deserializeAws_restJson1PerformanceInsightsMetricQuery = (output, context)
|
|
|
3205
3116
|
const deserializeAws_restJson1PerformanceInsightsMetricsDetail = (output, context) => {
|
|
3206
3117
|
return {
|
|
3207
3118
|
MetricDisplayName: (0, smithy_client_1.expectString)(output.MetricDisplayName),
|
|
3208
|
-
MetricQuery: output.MetricQuery
|
|
3119
|
+
MetricQuery: output.MetricQuery != null
|
|
3209
3120
|
? deserializeAws_restJson1PerformanceInsightsMetricQuery(output.MetricQuery, context)
|
|
3210
3121
|
: undefined,
|
|
3211
|
-
ReferenceData: output.ReferenceData
|
|
3122
|
+
ReferenceData: output.ReferenceData != null
|
|
3212
3123
|
? deserializeAws_restJson1PerformanceInsightsReferenceDataList(output.ReferenceData, context)
|
|
3213
3124
|
: undefined,
|
|
3214
|
-
StatsAtAnomaly: output.StatsAtAnomaly
|
|
3125
|
+
StatsAtAnomaly: output.StatsAtAnomaly != null
|
|
3215
3126
|
? deserializeAws_restJson1PerformanceInsightsStats(output.StatsAtAnomaly, context)
|
|
3216
3127
|
: undefined,
|
|
3217
|
-
StatsAtBaseline: output.StatsAtBaseline
|
|
3128
|
+
StatsAtBaseline: output.StatsAtBaseline != null
|
|
3218
3129
|
? deserializeAws_restJson1PerformanceInsightsStats(output.StatsAtBaseline, context)
|
|
3219
3130
|
: undefined,
|
|
3220
3131
|
Unit: (0, smithy_client_1.expectString)(output.Unit),
|
|
@@ -3233,17 +3144,17 @@ const deserializeAws_restJson1PerformanceInsightsMetricsDetails = (output, conte
|
|
|
3233
3144
|
};
|
|
3234
3145
|
const deserializeAws_restJson1PerformanceInsightsReferenceComparisonValues = (output, context) => {
|
|
3235
3146
|
return {
|
|
3236
|
-
ReferenceMetric: output.ReferenceMetric
|
|
3147
|
+
ReferenceMetric: output.ReferenceMetric != null
|
|
3237
3148
|
? deserializeAws_restJson1PerformanceInsightsReferenceMetric(output.ReferenceMetric, context)
|
|
3238
3149
|
: undefined,
|
|
3239
|
-
ReferenceScalar: output.ReferenceScalar
|
|
3150
|
+
ReferenceScalar: output.ReferenceScalar != null
|
|
3240
3151
|
? deserializeAws_restJson1PerformanceInsightsReferenceScalar(output.ReferenceScalar, context)
|
|
3241
3152
|
: undefined,
|
|
3242
3153
|
};
|
|
3243
3154
|
};
|
|
3244
3155
|
const deserializeAws_restJson1PerformanceInsightsReferenceData = (output, context) => {
|
|
3245
3156
|
return {
|
|
3246
|
-
ComparisonValues: output.ComparisonValues
|
|
3157
|
+
ComparisonValues: output.ComparisonValues != null
|
|
3247
3158
|
? deserializeAws_restJson1PerformanceInsightsReferenceComparisonValues(output.ComparisonValues, context)
|
|
3248
3159
|
: undefined,
|
|
3249
3160
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
@@ -3262,7 +3173,7 @@ const deserializeAws_restJson1PerformanceInsightsReferenceDataList = (output, co
|
|
|
3262
3173
|
};
|
|
3263
3174
|
const deserializeAws_restJson1PerformanceInsightsReferenceMetric = (output, context) => {
|
|
3264
3175
|
return {
|
|
3265
|
-
MetricQuery: output.MetricQuery
|
|
3176
|
+
MetricQuery: output.MetricQuery != null
|
|
3266
3177
|
? deserializeAws_restJson1PerformanceInsightsMetricQuery(output.MetricQuery, context)
|
|
3267
3178
|
: undefined,
|
|
3268
3179
|
};
|
|
@@ -3291,12 +3202,8 @@ const deserializeAws_restJson1PerformanceInsightsStats = (output, context) => {
|
|
|
3291
3202
|
};
|
|
3292
3203
|
const deserializeAws_restJson1PredictionTimeRange = (output, context) => {
|
|
3293
3204
|
return {
|
|
3294
|
-
EndTime: output.EndTime
|
|
3295
|
-
|
|
3296
|
-
: undefined,
|
|
3297
|
-
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
3298
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
|
|
3299
|
-
: undefined,
|
|
3205
|
+
EndTime: output.EndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime))) : undefined,
|
|
3206
|
+
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime))) : undefined,
|
|
3300
3207
|
};
|
|
3301
3208
|
};
|
|
3302
3209
|
const deserializeAws_restJson1ProactiveAnomalies = (output, context) => {
|
|
@@ -3312,82 +3219,78 @@ const deserializeAws_restJson1ProactiveAnomalies = (output, context) => {
|
|
|
3312
3219
|
};
|
|
3313
3220
|
const deserializeAws_restJson1ProactiveAnomaly = (output, context) => {
|
|
3314
3221
|
return {
|
|
3315
|
-
AnomalyReportedTimeRange: output.AnomalyReportedTimeRange
|
|
3222
|
+
AnomalyReportedTimeRange: output.AnomalyReportedTimeRange != null
|
|
3316
3223
|
? deserializeAws_restJson1AnomalyReportedTimeRange(output.AnomalyReportedTimeRange, context)
|
|
3317
3224
|
: undefined,
|
|
3318
|
-
AnomalyResources: output.AnomalyResources
|
|
3225
|
+
AnomalyResources: output.AnomalyResources != null
|
|
3319
3226
|
? deserializeAws_restJson1AnomalyResources(output.AnomalyResources, context)
|
|
3320
3227
|
: undefined,
|
|
3321
|
-
AnomalyTimeRange: output.AnomalyTimeRange
|
|
3228
|
+
AnomalyTimeRange: output.AnomalyTimeRange != null
|
|
3322
3229
|
? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
|
|
3323
3230
|
: undefined,
|
|
3324
3231
|
AssociatedInsightId: (0, smithy_client_1.expectString)(output.AssociatedInsightId),
|
|
3325
3232
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3326
3233
|
Limit: (0, smithy_client_1.limitedParseDouble)(output.Limit),
|
|
3327
|
-
PredictionTimeRange: output.PredictionTimeRange
|
|
3234
|
+
PredictionTimeRange: output.PredictionTimeRange != null
|
|
3328
3235
|
? deserializeAws_restJson1PredictionTimeRange(output.PredictionTimeRange, context)
|
|
3329
3236
|
: undefined,
|
|
3330
|
-
ResourceCollection: output.ResourceCollection
|
|
3237
|
+
ResourceCollection: output.ResourceCollection != null
|
|
3331
3238
|
? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
|
|
3332
3239
|
: undefined,
|
|
3333
3240
|
Severity: (0, smithy_client_1.expectString)(output.Severity),
|
|
3334
|
-
SourceDetails: output.SourceDetails
|
|
3241
|
+
SourceDetails: output.SourceDetails != null
|
|
3335
3242
|
? deserializeAws_restJson1AnomalySourceDetails(output.SourceDetails, context)
|
|
3336
3243
|
: undefined,
|
|
3337
|
-
SourceMetadata: output.SourceMetadata
|
|
3244
|
+
SourceMetadata: output.SourceMetadata != null
|
|
3338
3245
|
? deserializeAws_restJson1AnomalySourceMetadata(output.SourceMetadata, context)
|
|
3339
3246
|
: undefined,
|
|
3340
3247
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3341
|
-
UpdateTime: output.UpdateTime
|
|
3342
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdateTime)))
|
|
3343
|
-
: undefined,
|
|
3248
|
+
UpdateTime: output.UpdateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdateTime))) : undefined,
|
|
3344
3249
|
};
|
|
3345
3250
|
};
|
|
3346
3251
|
const deserializeAws_restJson1ProactiveAnomalySummary = (output, context) => {
|
|
3347
3252
|
return {
|
|
3348
|
-
AnomalyReportedTimeRange: output.AnomalyReportedTimeRange
|
|
3253
|
+
AnomalyReportedTimeRange: output.AnomalyReportedTimeRange != null
|
|
3349
3254
|
? deserializeAws_restJson1AnomalyReportedTimeRange(output.AnomalyReportedTimeRange, context)
|
|
3350
3255
|
: undefined,
|
|
3351
|
-
AnomalyResources: output.AnomalyResources
|
|
3256
|
+
AnomalyResources: output.AnomalyResources != null
|
|
3352
3257
|
? deserializeAws_restJson1AnomalyResources(output.AnomalyResources, context)
|
|
3353
3258
|
: undefined,
|
|
3354
|
-
AnomalyTimeRange: output.AnomalyTimeRange
|
|
3259
|
+
AnomalyTimeRange: output.AnomalyTimeRange != null
|
|
3355
3260
|
? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
|
|
3356
3261
|
: undefined,
|
|
3357
3262
|
AssociatedInsightId: (0, smithy_client_1.expectString)(output.AssociatedInsightId),
|
|
3358
3263
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3359
3264
|
Limit: (0, smithy_client_1.limitedParseDouble)(output.Limit),
|
|
3360
|
-
PredictionTimeRange: output.PredictionTimeRange
|
|
3265
|
+
PredictionTimeRange: output.PredictionTimeRange != null
|
|
3361
3266
|
? deserializeAws_restJson1PredictionTimeRange(output.PredictionTimeRange, context)
|
|
3362
3267
|
: undefined,
|
|
3363
|
-
ResourceCollection: output.ResourceCollection
|
|
3268
|
+
ResourceCollection: output.ResourceCollection != null
|
|
3364
3269
|
? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
|
|
3365
3270
|
: undefined,
|
|
3366
3271
|
Severity: (0, smithy_client_1.expectString)(output.Severity),
|
|
3367
|
-
SourceDetails: output.SourceDetails
|
|
3272
|
+
SourceDetails: output.SourceDetails != null
|
|
3368
3273
|
? deserializeAws_restJson1AnomalySourceDetails(output.SourceDetails, context)
|
|
3369
3274
|
: undefined,
|
|
3370
|
-
SourceMetadata: output.SourceMetadata
|
|
3275
|
+
SourceMetadata: output.SourceMetadata != null
|
|
3371
3276
|
? deserializeAws_restJson1AnomalySourceMetadata(output.SourceMetadata, context)
|
|
3372
3277
|
: undefined,
|
|
3373
3278
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3374
|
-
UpdateTime: output.UpdateTime
|
|
3375
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdateTime)))
|
|
3376
|
-
: undefined,
|
|
3279
|
+
UpdateTime: output.UpdateTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdateTime))) : undefined,
|
|
3377
3280
|
};
|
|
3378
3281
|
};
|
|
3379
3282
|
const deserializeAws_restJson1ProactiveInsight = (output, context) => {
|
|
3380
3283
|
return {
|
|
3381
3284
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3382
3285
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3383
|
-
InsightTimeRange: output.InsightTimeRange
|
|
3286
|
+
InsightTimeRange: output.InsightTimeRange != null
|
|
3384
3287
|
? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
|
|
3385
3288
|
: undefined,
|
|
3386
3289
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3387
|
-
PredictionTimeRange: output.PredictionTimeRange
|
|
3290
|
+
PredictionTimeRange: output.PredictionTimeRange != null
|
|
3388
3291
|
? deserializeAws_restJson1PredictionTimeRange(output.PredictionTimeRange, context)
|
|
3389
3292
|
: undefined,
|
|
3390
|
-
ResourceCollection: output.ResourceCollection
|
|
3293
|
+
ResourceCollection: output.ResourceCollection != null
|
|
3391
3294
|
? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
|
|
3392
3295
|
: undefined,
|
|
3393
3296
|
Severity: (0, smithy_client_1.expectString)(output.Severity),
|
|
@@ -3408,21 +3311,21 @@ const deserializeAws_restJson1ProactiveInsights = (output, context) => {
|
|
|
3408
3311
|
};
|
|
3409
3312
|
const deserializeAws_restJson1ProactiveInsightSummary = (output, context) => {
|
|
3410
3313
|
return {
|
|
3411
|
-
AssociatedResourceArns: output.AssociatedResourceArns
|
|
3314
|
+
AssociatedResourceArns: output.AssociatedResourceArns != null
|
|
3412
3315
|
? deserializeAws_restJson1AssociatedResourceArns(output.AssociatedResourceArns, context)
|
|
3413
3316
|
: undefined,
|
|
3414
3317
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3415
|
-
InsightTimeRange: output.InsightTimeRange
|
|
3318
|
+
InsightTimeRange: output.InsightTimeRange != null
|
|
3416
3319
|
? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
|
|
3417
3320
|
: undefined,
|
|
3418
3321
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3419
|
-
PredictionTimeRange: output.PredictionTimeRange
|
|
3322
|
+
PredictionTimeRange: output.PredictionTimeRange != null
|
|
3420
3323
|
? deserializeAws_restJson1PredictionTimeRange(output.PredictionTimeRange, context)
|
|
3421
3324
|
: undefined,
|
|
3422
|
-
ResourceCollection: output.ResourceCollection
|
|
3325
|
+
ResourceCollection: output.ResourceCollection != null
|
|
3423
3326
|
? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
|
|
3424
3327
|
: undefined,
|
|
3425
|
-
ServiceCollection: output.ServiceCollection
|
|
3328
|
+
ServiceCollection: output.ServiceCollection != null
|
|
3426
3329
|
? deserializeAws_restJson1ServiceCollection(output.ServiceCollection, context)
|
|
3427
3330
|
: undefined,
|
|
3428
3331
|
Severity: (0, smithy_client_1.expectString)(output.Severity),
|
|
@@ -3444,18 +3347,18 @@ const deserializeAws_restJson1ProactiveOrganizationInsightSummary = (output, con
|
|
|
3444
3347
|
return {
|
|
3445
3348
|
AccountId: (0, smithy_client_1.expectString)(output.AccountId),
|
|
3446
3349
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3447
|
-
InsightTimeRange: output.InsightTimeRange
|
|
3350
|
+
InsightTimeRange: output.InsightTimeRange != null
|
|
3448
3351
|
? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
|
|
3449
3352
|
: undefined,
|
|
3450
3353
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3451
3354
|
OrganizationalUnitId: (0, smithy_client_1.expectString)(output.OrganizationalUnitId),
|
|
3452
|
-
PredictionTimeRange: output.PredictionTimeRange
|
|
3355
|
+
PredictionTimeRange: output.PredictionTimeRange != null
|
|
3453
3356
|
? deserializeAws_restJson1PredictionTimeRange(output.PredictionTimeRange, context)
|
|
3454
3357
|
: undefined,
|
|
3455
|
-
ResourceCollection: output.ResourceCollection
|
|
3358
|
+
ResourceCollection: output.ResourceCollection != null
|
|
3456
3359
|
? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
|
|
3457
3360
|
: undefined,
|
|
3458
|
-
ServiceCollection: output.ServiceCollection
|
|
3361
|
+
ServiceCollection: output.ServiceCollection != null
|
|
3459
3362
|
? deserializeAws_restJson1ServiceCollection(output.ServiceCollection, context)
|
|
3460
3363
|
: undefined,
|
|
3461
3364
|
Severity: (0, smithy_client_1.expectString)(output.Severity),
|
|
@@ -3475,13 +3378,13 @@ const deserializeAws_restJson1ReactiveAnomalies = (output, context) => {
|
|
|
3475
3378
|
};
|
|
3476
3379
|
const deserializeAws_restJson1ReactiveAnomaly = (output, context) => {
|
|
3477
3380
|
return {
|
|
3478
|
-
AnomalyReportedTimeRange: output.AnomalyReportedTimeRange
|
|
3381
|
+
AnomalyReportedTimeRange: output.AnomalyReportedTimeRange != null
|
|
3479
3382
|
? deserializeAws_restJson1AnomalyReportedTimeRange(output.AnomalyReportedTimeRange, context)
|
|
3480
3383
|
: undefined,
|
|
3481
|
-
AnomalyResources: output.AnomalyResources
|
|
3384
|
+
AnomalyResources: output.AnomalyResources != null
|
|
3482
3385
|
? deserializeAws_restJson1AnomalyResources(output.AnomalyResources, context)
|
|
3483
3386
|
: undefined,
|
|
3484
|
-
AnomalyTimeRange: output.AnomalyTimeRange
|
|
3387
|
+
AnomalyTimeRange: output.AnomalyTimeRange != null
|
|
3485
3388
|
? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
|
|
3486
3389
|
: undefined,
|
|
3487
3390
|
AssociatedInsightId: (0, smithy_client_1.expectString)(output.AssociatedInsightId),
|
|
@@ -3489,11 +3392,11 @@ const deserializeAws_restJson1ReactiveAnomaly = (output, context) => {
|
|
|
3489
3392
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3490
3393
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3491
3394
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3492
|
-
ResourceCollection: output.ResourceCollection
|
|
3395
|
+
ResourceCollection: output.ResourceCollection != null
|
|
3493
3396
|
? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
|
|
3494
3397
|
: undefined,
|
|
3495
3398
|
Severity: (0, smithy_client_1.expectString)(output.Severity),
|
|
3496
|
-
SourceDetails: output.SourceDetails
|
|
3399
|
+
SourceDetails: output.SourceDetails != null
|
|
3497
3400
|
? deserializeAws_restJson1AnomalySourceDetails(output.SourceDetails, context)
|
|
3498
3401
|
: undefined,
|
|
3499
3402
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
@@ -3502,13 +3405,13 @@ const deserializeAws_restJson1ReactiveAnomaly = (output, context) => {
|
|
|
3502
3405
|
};
|
|
3503
3406
|
const deserializeAws_restJson1ReactiveAnomalySummary = (output, context) => {
|
|
3504
3407
|
return {
|
|
3505
|
-
AnomalyReportedTimeRange: output.AnomalyReportedTimeRange
|
|
3408
|
+
AnomalyReportedTimeRange: output.AnomalyReportedTimeRange != null
|
|
3506
3409
|
? deserializeAws_restJson1AnomalyReportedTimeRange(output.AnomalyReportedTimeRange, context)
|
|
3507
3410
|
: undefined,
|
|
3508
|
-
AnomalyResources: output.AnomalyResources
|
|
3411
|
+
AnomalyResources: output.AnomalyResources != null
|
|
3509
3412
|
? deserializeAws_restJson1AnomalyResources(output.AnomalyResources, context)
|
|
3510
3413
|
: undefined,
|
|
3511
|
-
AnomalyTimeRange: output.AnomalyTimeRange
|
|
3414
|
+
AnomalyTimeRange: output.AnomalyTimeRange != null
|
|
3512
3415
|
? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
|
|
3513
3416
|
: undefined,
|
|
3514
3417
|
AssociatedInsightId: (0, smithy_client_1.expectString)(output.AssociatedInsightId),
|
|
@@ -3516,11 +3419,11 @@ const deserializeAws_restJson1ReactiveAnomalySummary = (output, context) => {
|
|
|
3516
3419
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3517
3420
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3518
3421
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3519
|
-
ResourceCollection: output.ResourceCollection
|
|
3422
|
+
ResourceCollection: output.ResourceCollection != null
|
|
3520
3423
|
? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
|
|
3521
3424
|
: undefined,
|
|
3522
3425
|
Severity: (0, smithy_client_1.expectString)(output.Severity),
|
|
3523
|
-
SourceDetails: output.SourceDetails
|
|
3426
|
+
SourceDetails: output.SourceDetails != null
|
|
3524
3427
|
? deserializeAws_restJson1AnomalySourceDetails(output.SourceDetails, context)
|
|
3525
3428
|
: undefined,
|
|
3526
3429
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
@@ -3531,11 +3434,11 @@ const deserializeAws_restJson1ReactiveInsight = (output, context) => {
|
|
|
3531
3434
|
return {
|
|
3532
3435
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3533
3436
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3534
|
-
InsightTimeRange: output.InsightTimeRange
|
|
3437
|
+
InsightTimeRange: output.InsightTimeRange != null
|
|
3535
3438
|
? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
|
|
3536
3439
|
: undefined,
|
|
3537
3440
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3538
|
-
ResourceCollection: output.ResourceCollection
|
|
3441
|
+
ResourceCollection: output.ResourceCollection != null
|
|
3539
3442
|
? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
|
|
3540
3443
|
: undefined,
|
|
3541
3444
|
Severity: (0, smithy_client_1.expectString)(output.Severity),
|
|
@@ -3556,18 +3459,18 @@ const deserializeAws_restJson1ReactiveInsights = (output, context) => {
|
|
|
3556
3459
|
};
|
|
3557
3460
|
const deserializeAws_restJson1ReactiveInsightSummary = (output, context) => {
|
|
3558
3461
|
return {
|
|
3559
|
-
AssociatedResourceArns: output.AssociatedResourceArns
|
|
3462
|
+
AssociatedResourceArns: output.AssociatedResourceArns != null
|
|
3560
3463
|
? deserializeAws_restJson1AssociatedResourceArns(output.AssociatedResourceArns, context)
|
|
3561
3464
|
: undefined,
|
|
3562
3465
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3563
|
-
InsightTimeRange: output.InsightTimeRange
|
|
3466
|
+
InsightTimeRange: output.InsightTimeRange != null
|
|
3564
3467
|
? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
|
|
3565
3468
|
: undefined,
|
|
3566
3469
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3567
|
-
ResourceCollection: output.ResourceCollection
|
|
3470
|
+
ResourceCollection: output.ResourceCollection != null
|
|
3568
3471
|
? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
|
|
3569
3472
|
: undefined,
|
|
3570
|
-
ServiceCollection: output.ServiceCollection
|
|
3473
|
+
ServiceCollection: output.ServiceCollection != null
|
|
3571
3474
|
? deserializeAws_restJson1ServiceCollection(output.ServiceCollection, context)
|
|
3572
3475
|
: undefined,
|
|
3573
3476
|
Severity: (0, smithy_client_1.expectString)(output.Severity),
|
|
@@ -3589,15 +3492,15 @@ const deserializeAws_restJson1ReactiveOrganizationInsightSummary = (output, cont
|
|
|
3589
3492
|
return {
|
|
3590
3493
|
AccountId: (0, smithy_client_1.expectString)(output.AccountId),
|
|
3591
3494
|
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3592
|
-
InsightTimeRange: output.InsightTimeRange
|
|
3495
|
+
InsightTimeRange: output.InsightTimeRange != null
|
|
3593
3496
|
? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
|
|
3594
3497
|
: undefined,
|
|
3595
3498
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3596
3499
|
OrganizationalUnitId: (0, smithy_client_1.expectString)(output.OrganizationalUnitId),
|
|
3597
|
-
ResourceCollection: output.ResourceCollection
|
|
3500
|
+
ResourceCollection: output.ResourceCollection != null
|
|
3598
3501
|
? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
|
|
3599
3502
|
: undefined,
|
|
3600
|
-
ServiceCollection: output.ServiceCollection
|
|
3503
|
+
ServiceCollection: output.ServiceCollection != null
|
|
3601
3504
|
? deserializeAws_restJson1ServiceCollection(output.ServiceCollection, context)
|
|
3602
3505
|
: undefined,
|
|
3603
3506
|
Severity: (0, smithy_client_1.expectString)(output.Severity),
|
|
@@ -3611,10 +3514,10 @@ const deserializeAws_restJson1Recommendation = (output, context) => {
|
|
|
3611
3514
|
Link: (0, smithy_client_1.expectString)(output.Link),
|
|
3612
3515
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3613
3516
|
Reason: (0, smithy_client_1.expectString)(output.Reason),
|
|
3614
|
-
RelatedAnomalies: output.RelatedAnomalies
|
|
3517
|
+
RelatedAnomalies: output.RelatedAnomalies != null
|
|
3615
3518
|
? deserializeAws_restJson1RecommendationRelatedAnomalies(output.RelatedAnomalies, context)
|
|
3616
3519
|
: undefined,
|
|
3617
|
-
RelatedEvents: output.RelatedEvents
|
|
3520
|
+
RelatedEvents: output.RelatedEvents != null
|
|
3618
3521
|
? deserializeAws_restJson1RecommendationRelatedEvents(output.RelatedEvents, context)
|
|
3619
3522
|
: undefined,
|
|
3620
3523
|
};
|
|
@@ -3633,10 +3536,10 @@ const deserializeAws_restJson1RecommendationRelatedAnomalies = (output, context)
|
|
|
3633
3536
|
const deserializeAws_restJson1RecommendationRelatedAnomaly = (output, context) => {
|
|
3634
3537
|
return {
|
|
3635
3538
|
AnomalyId: (0, smithy_client_1.expectString)(output.AnomalyId),
|
|
3636
|
-
Resources: output.Resources
|
|
3539
|
+
Resources: output.Resources != null
|
|
3637
3540
|
? deserializeAws_restJson1RecommendationRelatedAnomalyResources(output.Resources, context)
|
|
3638
3541
|
: undefined,
|
|
3639
|
-
SourceDetails: output.SourceDetails
|
|
3542
|
+
SourceDetails: output.SourceDetails != null
|
|
3640
3543
|
? deserializeAws_restJson1RelatedAnomalySourceDetails(output.SourceDetails, context)
|
|
3641
3544
|
: undefined,
|
|
3642
3545
|
};
|
|
@@ -3660,7 +3563,7 @@ const deserializeAws_restJson1RecommendationRelatedAnomalyResources = (output, c
|
|
|
3660
3563
|
};
|
|
3661
3564
|
const deserializeAws_restJson1RecommendationRelatedAnomalySourceDetail = (output, context) => {
|
|
3662
3565
|
return {
|
|
3663
|
-
CloudWatchMetrics: output.CloudWatchMetrics
|
|
3566
|
+
CloudWatchMetrics: output.CloudWatchMetrics != null
|
|
3664
3567
|
? deserializeAws_restJson1RecommendationRelatedCloudWatchMetricsSourceDetails(output.CloudWatchMetrics, context)
|
|
3665
3568
|
: undefined,
|
|
3666
3569
|
};
|
|
@@ -3685,7 +3588,7 @@ const deserializeAws_restJson1RecommendationRelatedCloudWatchMetricsSourceDetail
|
|
|
3685
3588
|
const deserializeAws_restJson1RecommendationRelatedEvent = (output, context) => {
|
|
3686
3589
|
return {
|
|
3687
3590
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3688
|
-
Resources: output.Resources
|
|
3591
|
+
Resources: output.Resources != null
|
|
3689
3592
|
? deserializeAws_restJson1RecommendationRelatedEventResources(output.Resources, context)
|
|
3690
3593
|
: undefined,
|
|
3691
3594
|
};
|
|
@@ -3742,36 +3645,28 @@ const deserializeAws_restJson1RelatedAnomalySourceDetails = (output, context) =>
|
|
|
3742
3645
|
};
|
|
3743
3646
|
const deserializeAws_restJson1ResourceCollection = (output, context) => {
|
|
3744
3647
|
return {
|
|
3745
|
-
CloudFormation: output.CloudFormation
|
|
3648
|
+
CloudFormation: output.CloudFormation != null
|
|
3746
3649
|
? deserializeAws_restJson1CloudFormationCollection(output.CloudFormation, context)
|
|
3747
3650
|
: undefined,
|
|
3748
|
-
Tags: output.Tags
|
|
3749
|
-
? deserializeAws_restJson1TagCollections(output.Tags, context)
|
|
3750
|
-
: undefined,
|
|
3651
|
+
Tags: output.Tags != null ? deserializeAws_restJson1TagCollections(output.Tags, context) : undefined,
|
|
3751
3652
|
};
|
|
3752
3653
|
};
|
|
3753
3654
|
const deserializeAws_restJson1ResourceCollectionFilter = (output, context) => {
|
|
3754
3655
|
return {
|
|
3755
|
-
CloudFormation: output.CloudFormation
|
|
3656
|
+
CloudFormation: output.CloudFormation != null
|
|
3756
3657
|
? deserializeAws_restJson1CloudFormationCollectionFilter(output.CloudFormation, context)
|
|
3757
3658
|
: undefined,
|
|
3758
|
-
Tags: output.Tags
|
|
3759
|
-
? deserializeAws_restJson1TagCollectionFilters(output.Tags, context)
|
|
3760
|
-
: undefined,
|
|
3659
|
+
Tags: output.Tags != null ? deserializeAws_restJson1TagCollectionFilters(output.Tags, context) : undefined,
|
|
3761
3660
|
};
|
|
3762
3661
|
};
|
|
3763
3662
|
const deserializeAws_restJson1ServiceCollection = (output, context) => {
|
|
3764
3663
|
return {
|
|
3765
|
-
ServiceNames: output.ServiceNames
|
|
3766
|
-
? deserializeAws_restJson1ServiceNames(output.ServiceNames, context)
|
|
3767
|
-
: undefined,
|
|
3664
|
+
ServiceNames: output.ServiceNames != null ? deserializeAws_restJson1ServiceNames(output.ServiceNames, context) : undefined,
|
|
3768
3665
|
};
|
|
3769
3666
|
};
|
|
3770
3667
|
const deserializeAws_restJson1ServiceHealth = (output, context) => {
|
|
3771
3668
|
return {
|
|
3772
|
-
Insight: output.Insight
|
|
3773
|
-
? deserializeAws_restJson1ServiceInsightHealth(output.Insight, context)
|
|
3774
|
-
: undefined,
|
|
3669
|
+
Insight: output.Insight != null ? deserializeAws_restJson1ServiceInsightHealth(output.Insight, context) : undefined,
|
|
3775
3670
|
ServiceName: (0, smithy_client_1.expectString)(output.ServiceName),
|
|
3776
3671
|
};
|
|
3777
3672
|
};
|
|
@@ -3794,9 +3689,7 @@ const deserializeAws_restJson1ServiceInsightHealth = (output, context) => {
|
|
|
3794
3689
|
};
|
|
3795
3690
|
const deserializeAws_restJson1ServiceIntegrationConfig = (output, context) => {
|
|
3796
3691
|
return {
|
|
3797
|
-
OpsCenter: output.OpsCenter
|
|
3798
|
-
? deserializeAws_restJson1OpsCenterIntegration(output.OpsCenter, context)
|
|
3799
|
-
: undefined,
|
|
3692
|
+
OpsCenter: output.OpsCenter != null ? deserializeAws_restJson1OpsCenterIntegration(output.OpsCenter, context) : undefined,
|
|
3800
3693
|
};
|
|
3801
3694
|
};
|
|
3802
3695
|
const deserializeAws_restJson1ServiceNames = (output, context) => {
|
|
@@ -3849,17 +3742,13 @@ const deserializeAws_restJson1StackNames = (output, context) => {
|
|
|
3849
3742
|
const deserializeAws_restJson1TagCollection = (output, context) => {
|
|
3850
3743
|
return {
|
|
3851
3744
|
AppBoundaryKey: (0, smithy_client_1.expectString)(output.AppBoundaryKey),
|
|
3852
|
-
TagValues: output.TagValues
|
|
3853
|
-
? deserializeAws_restJson1TagValues(output.TagValues, context)
|
|
3854
|
-
: undefined,
|
|
3745
|
+
TagValues: output.TagValues != null ? deserializeAws_restJson1TagValues(output.TagValues, context) : undefined,
|
|
3855
3746
|
};
|
|
3856
3747
|
};
|
|
3857
3748
|
const deserializeAws_restJson1TagCollectionFilter = (output, context) => {
|
|
3858
3749
|
return {
|
|
3859
3750
|
AppBoundaryKey: (0, smithy_client_1.expectString)(output.AppBoundaryKey),
|
|
3860
|
-
TagValues: output.TagValues
|
|
3861
|
-
? deserializeAws_restJson1TagValues(output.TagValues, context)
|
|
3862
|
-
: undefined,
|
|
3751
|
+
TagValues: output.TagValues != null ? deserializeAws_restJson1TagValues(output.TagValues, context) : undefined,
|
|
3863
3752
|
};
|
|
3864
3753
|
};
|
|
3865
3754
|
const deserializeAws_restJson1TagCollectionFilters = (output, context) => {
|
|
@@ -3887,9 +3776,7 @@ const deserializeAws_restJson1TagCollections = (output, context) => {
|
|
|
3887
3776
|
const deserializeAws_restJson1TagCostEstimationResourceCollectionFilter = (output, context) => {
|
|
3888
3777
|
return {
|
|
3889
3778
|
AppBoundaryKey: (0, smithy_client_1.expectString)(output.AppBoundaryKey),
|
|
3890
|
-
TagValues: output.TagValues
|
|
3891
|
-
? deserializeAws_restJson1CostEstimationTagValues(output.TagValues, context)
|
|
3892
|
-
: undefined,
|
|
3779
|
+
TagValues: output.TagValues != null ? deserializeAws_restJson1CostEstimationTagValues(output.TagValues, context) : undefined,
|
|
3893
3780
|
};
|
|
3894
3781
|
};
|
|
3895
3782
|
const deserializeAws_restJson1TagCostEstimationResourceCollectionFilters = (output, context) => {
|
|
@@ -3906,9 +3793,7 @@ const deserializeAws_restJson1TagCostEstimationResourceCollectionFilters = (outp
|
|
|
3906
3793
|
const deserializeAws_restJson1TagHealth = (output, context) => {
|
|
3907
3794
|
return {
|
|
3908
3795
|
AppBoundaryKey: (0, smithy_client_1.expectString)(output.AppBoundaryKey),
|
|
3909
|
-
Insight: output.Insight
|
|
3910
|
-
? deserializeAws_restJson1InsightHealth(output.Insight, context)
|
|
3911
|
-
: undefined,
|
|
3796
|
+
Insight: output.Insight != null ? deserializeAws_restJson1InsightHealth(output.Insight, context) : undefined,
|
|
3912
3797
|
TagValue: (0, smithy_client_1.expectString)(output.TagValue),
|
|
3913
3798
|
};
|
|
3914
3799
|
};
|
|
@@ -3937,9 +3822,7 @@ const deserializeAws_restJson1TagValues = (output, context) => {
|
|
|
3937
3822
|
const deserializeAws_restJson1TimestampMetricValuePair = (output, context) => {
|
|
3938
3823
|
return {
|
|
3939
3824
|
MetricValue: (0, smithy_client_1.limitedParseDouble)(output.MetricValue),
|
|
3940
|
-
Timestamp: output.Timestamp
|
|
3941
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Timestamp)))
|
|
3942
|
-
: undefined,
|
|
3825
|
+
Timestamp: output.Timestamp != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Timestamp))) : undefined,
|
|
3943
3826
|
};
|
|
3944
3827
|
};
|
|
3945
3828
|
const deserializeAws_restJson1TimestampMetricValuePairList = (output, context) => {
|
|
@@ -4001,6 +3884,9 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
4001
3884
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
4002
3885
|
const sanitizeErrorCode = (rawValue) => {
|
|
4003
3886
|
let cleanValue = rawValue;
|
|
3887
|
+
if (typeof cleanValue === "number") {
|
|
3888
|
+
cleanValue = cleanValue.toString();
|
|
3889
|
+
}
|
|
4004
3890
|
if (cleanValue.indexOf(":") >= 0) {
|
|
4005
3891
|
cleanValue = cleanValue.split(":")[0];
|
|
4006
3892
|
}
|