@aws-sdk/client-devops-guru 3.54.1 → 3.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist-cjs/DevOpsGuruClient.js +13 -13
- package/dist-cjs/commands/AddNotificationChannelCommand.js +3 -3
- package/dist-cjs/commands/DescribeAccountHealthCommand.js +3 -3
- package/dist-cjs/commands/DescribeAccountOverviewCommand.js +3 -3
- package/dist-cjs/commands/DescribeAnomalyCommand.js +3 -3
- package/dist-cjs/commands/DescribeEventSourcesConfigCommand.js +3 -3
- package/dist-cjs/commands/DescribeFeedbackCommand.js +3 -3
- package/dist-cjs/commands/DescribeInsightCommand.js +3 -3
- package/dist-cjs/commands/DescribeOrganizationHealthCommand.js +3 -3
- package/dist-cjs/commands/DescribeOrganizationOverviewCommand.js +3 -3
- package/dist-cjs/commands/DescribeOrganizationResourceCollectionHealthCommand.js +3 -3
- package/dist-cjs/commands/DescribeResourceCollectionHealthCommand.js +3 -3
- package/dist-cjs/commands/DescribeServiceIntegrationCommand.js +3 -3
- package/dist-cjs/commands/GetCostEstimationCommand.js +3 -3
- package/dist-cjs/commands/GetResourceCollectionCommand.js +3 -3
- package/dist-cjs/commands/ListAnomaliesForInsightCommand.js +3 -3
- package/dist-cjs/commands/ListEventsCommand.js +3 -3
- package/dist-cjs/commands/ListInsightsCommand.js +3 -3
- package/dist-cjs/commands/ListNotificationChannelsCommand.js +3 -3
- package/dist-cjs/commands/ListOrganizationInsightsCommand.js +3 -3
- package/dist-cjs/commands/ListRecommendationsCommand.js +3 -3
- package/dist-cjs/commands/PutFeedbackCommand.js +3 -3
- package/dist-cjs/commands/RemoveNotificationChannelCommand.js +3 -3
- package/dist-cjs/commands/SearchInsightsCommand.js +3 -3
- package/dist-cjs/commands/SearchOrganizationInsightsCommand.js +3 -3
- package/dist-cjs/commands/StartCostEstimationCommand.js +3 -3
- package/dist-cjs/commands/UpdateEventSourcesConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdateResourceCollectionCommand.js +3 -3
- package/dist-cjs/commands/UpdateServiceIntegrationCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +260 -260
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/DevOpsGuru.js +28 -28
- package/dist-es/pagination/DescribeOrganizationResourceCollectionHealthPaginator.js +4 -4
- package/dist-es/pagination/DescribeResourceCollectionHealthPaginator.js +4 -4
- package/dist-es/pagination/GetCostEstimationPaginator.js +4 -4
- package/dist-es/pagination/GetResourceCollectionPaginator.js +4 -4
- package/dist-es/pagination/ListAnomaliesForInsightPaginator.js +4 -4
- package/dist-es/pagination/ListEventsPaginator.js +4 -4
- package/dist-es/pagination/ListInsightsPaginator.js +4 -4
- package/dist-es/pagination/ListNotificationChannelsPaginator.js +4 -4
- package/dist-es/pagination/ListOrganizationInsightsPaginator.js +4 -4
- package/dist-es/pagination/ListRecommendationsPaginator.js +4 -4
- package/dist-es/pagination/SearchInsightsPaginator.js +4 -4
- package/dist-es/pagination/SearchOrganizationInsightsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +28 -28
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -80,7 +80,7 @@ const serializeAws_restJson1DescribeAnomalyCommand = async (input, context) => {
|
|
|
80
80
|
if (labelValue.length <= 0) {
|
|
81
81
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
82
82
|
}
|
|
83
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
83
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
84
84
|
}
|
|
85
85
|
else {
|
|
86
86
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -150,7 +150,7 @@ const serializeAws_restJson1DescribeInsightCommand = async (input, context) => {
|
|
|
150
150
|
if (labelValue.length <= 0) {
|
|
151
151
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
152
152
|
}
|
|
153
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
153
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
154
154
|
}
|
|
155
155
|
else {
|
|
156
156
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -268,7 +268,7 @@ const serializeAws_restJson1DescribeResourceCollectionHealthCommand = async (inp
|
|
|
268
268
|
if (labelValue.length <= 0) {
|
|
269
269
|
throw new Error("Empty value provided for input HTTP label: ResourceCollectionType.");
|
|
270
270
|
}
|
|
271
|
-
resolvedPath = resolvedPath.replace("{ResourceCollectionType}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
271
|
+
resolvedPath = resolvedPath.replace("{ResourceCollectionType}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
272
272
|
}
|
|
273
273
|
else {
|
|
274
274
|
throw new Error("No value provided for input HTTP label: ResourceCollectionType.");
|
|
@@ -338,7 +338,7 @@ const serializeAws_restJson1GetResourceCollectionCommand = async (input, context
|
|
|
338
338
|
if (labelValue.length <= 0) {
|
|
339
339
|
throw new Error("Empty value provided for input HTTP label: ResourceCollectionType.");
|
|
340
340
|
}
|
|
341
|
-
resolvedPath = resolvedPath.replace("{ResourceCollectionType}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
341
|
+
resolvedPath = resolvedPath.replace("{ResourceCollectionType}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
342
342
|
}
|
|
343
343
|
else {
|
|
344
344
|
throw new Error("No value provided for input HTTP label: ResourceCollectionType.");
|
|
@@ -370,7 +370,7 @@ const serializeAws_restJson1ListAnomaliesForInsightCommand = async (input, conte
|
|
|
370
370
|
if (labelValue.length <= 0) {
|
|
371
371
|
throw new Error("Empty value provided for input HTTP label: InsightId.");
|
|
372
372
|
}
|
|
373
|
-
resolvedPath = resolvedPath.replace("{InsightId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
373
|
+
resolvedPath = resolvedPath.replace("{InsightId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
374
374
|
}
|
|
375
375
|
else {
|
|
376
376
|
throw new Error("No value provided for input HTTP label: InsightId.");
|
|
@@ -559,7 +559,7 @@ const serializeAws_restJson1RemoveNotificationChannelCommand = async (input, con
|
|
|
559
559
|
if (labelValue.length <= 0) {
|
|
560
560
|
throw new Error("Empty value provided for input HTTP label: Id.");
|
|
561
561
|
}
|
|
562
|
-
resolvedPath = resolvedPath.replace("{Id}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
562
|
+
resolvedPath = resolvedPath.replace("{Id}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
563
563
|
}
|
|
564
564
|
else {
|
|
565
565
|
throw new Error("No value provided for input HTTP label: Id.");
|
|
@@ -649,7 +649,7 @@ const serializeAws_restJson1StartCostEstimationCommand = async (input, context)
|
|
|
649
649
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/cost-estimation";
|
|
650
650
|
let body;
|
|
651
651
|
body = JSON.stringify({
|
|
652
|
-
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
652
|
+
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
|
|
653
653
|
...(input.ResourceCollection !== undefined &&
|
|
654
654
|
input.ResourceCollection !== null && {
|
|
655
655
|
ResourceCollection: serializeAws_restJson1CostEstimationResourceCollectionFilter(input.ResourceCollection, context),
|
|
@@ -747,9 +747,9 @@ const deserializeAws_restJson1AddNotificationChannelCommand = async (output, con
|
|
|
747
747
|
$metadata: deserializeMetadata(output),
|
|
748
748
|
Id: undefined,
|
|
749
749
|
};
|
|
750
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
750
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
751
751
|
if (data.Id !== undefined && data.Id !== null) {
|
|
752
|
-
contents.Id = smithy_client_1.expectString(data.Id);
|
|
752
|
+
contents.Id = (0, smithy_client_1.expectString)(data.Id);
|
|
753
753
|
}
|
|
754
754
|
return Promise.resolve(contents);
|
|
755
755
|
};
|
|
@@ -791,7 +791,7 @@ const deserializeAws_restJson1AddNotificationChannelCommandError = async (output
|
|
|
791
791
|
$fault: "client",
|
|
792
792
|
$metadata: deserializeMetadata(output),
|
|
793
793
|
});
|
|
794
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
794
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
795
795
|
}
|
|
796
796
|
};
|
|
797
797
|
const deserializeAws_restJson1DescribeAccountHealthCommand = async (output, context) => {
|
|
@@ -805,18 +805,18 @@ const deserializeAws_restJson1DescribeAccountHealthCommand = async (output, cont
|
|
|
805
805
|
OpenReactiveInsights: undefined,
|
|
806
806
|
ResourceHours: undefined,
|
|
807
807
|
};
|
|
808
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
808
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
809
809
|
if (data.MetricsAnalyzed !== undefined && data.MetricsAnalyzed !== null) {
|
|
810
|
-
contents.MetricsAnalyzed = smithy_client_1.expectInt32(data.MetricsAnalyzed);
|
|
810
|
+
contents.MetricsAnalyzed = (0, smithy_client_1.expectInt32)(data.MetricsAnalyzed);
|
|
811
811
|
}
|
|
812
812
|
if (data.OpenProactiveInsights !== undefined && data.OpenProactiveInsights !== null) {
|
|
813
|
-
contents.OpenProactiveInsights = smithy_client_1.expectInt32(data.OpenProactiveInsights);
|
|
813
|
+
contents.OpenProactiveInsights = (0, smithy_client_1.expectInt32)(data.OpenProactiveInsights);
|
|
814
814
|
}
|
|
815
815
|
if (data.OpenReactiveInsights !== undefined && data.OpenReactiveInsights !== null) {
|
|
816
|
-
contents.OpenReactiveInsights = smithy_client_1.expectInt32(data.OpenReactiveInsights);
|
|
816
|
+
contents.OpenReactiveInsights = (0, smithy_client_1.expectInt32)(data.OpenReactiveInsights);
|
|
817
817
|
}
|
|
818
818
|
if (data.ResourceHours !== undefined && data.ResourceHours !== null) {
|
|
819
|
-
contents.ResourceHours = smithy_client_1.expectLong(data.ResourceHours);
|
|
819
|
+
contents.ResourceHours = (0, smithy_client_1.expectLong)(data.ResourceHours);
|
|
820
820
|
}
|
|
821
821
|
return Promise.resolve(contents);
|
|
822
822
|
};
|
|
@@ -849,7 +849,7 @@ const deserializeAws_restJson1DescribeAccountHealthCommandError = async (output,
|
|
|
849
849
|
$fault: "client",
|
|
850
850
|
$metadata: deserializeMetadata(output),
|
|
851
851
|
});
|
|
852
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
852
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
853
853
|
}
|
|
854
854
|
};
|
|
855
855
|
const deserializeAws_restJson1DescribeAccountOverviewCommand = async (output, context) => {
|
|
@@ -862,15 +862,15 @@ const deserializeAws_restJson1DescribeAccountOverviewCommand = async (output, co
|
|
|
862
862
|
ProactiveInsights: undefined,
|
|
863
863
|
ReactiveInsights: undefined,
|
|
864
864
|
};
|
|
865
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
865
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
866
866
|
if (data.MeanTimeToRecoverInMilliseconds !== undefined && data.MeanTimeToRecoverInMilliseconds !== null) {
|
|
867
|
-
contents.MeanTimeToRecoverInMilliseconds = smithy_client_1.expectLong(data.MeanTimeToRecoverInMilliseconds);
|
|
867
|
+
contents.MeanTimeToRecoverInMilliseconds = (0, smithy_client_1.expectLong)(data.MeanTimeToRecoverInMilliseconds);
|
|
868
868
|
}
|
|
869
869
|
if (data.ProactiveInsights !== undefined && data.ProactiveInsights !== null) {
|
|
870
|
-
contents.ProactiveInsights = smithy_client_1.expectInt32(data.ProactiveInsights);
|
|
870
|
+
contents.ProactiveInsights = (0, smithy_client_1.expectInt32)(data.ProactiveInsights);
|
|
871
871
|
}
|
|
872
872
|
if (data.ReactiveInsights !== undefined && data.ReactiveInsights !== null) {
|
|
873
|
-
contents.ReactiveInsights = smithy_client_1.expectInt32(data.ReactiveInsights);
|
|
873
|
+
contents.ReactiveInsights = (0, smithy_client_1.expectInt32)(data.ReactiveInsights);
|
|
874
874
|
}
|
|
875
875
|
return Promise.resolve(contents);
|
|
876
876
|
};
|
|
@@ -903,7 +903,7 @@ const deserializeAws_restJson1DescribeAccountOverviewCommandError = async (outpu
|
|
|
903
903
|
$fault: "client",
|
|
904
904
|
$metadata: deserializeMetadata(output),
|
|
905
905
|
});
|
|
906
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
906
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
907
907
|
}
|
|
908
908
|
};
|
|
909
909
|
const deserializeAws_restJson1DescribeAnomalyCommand = async (output, context) => {
|
|
@@ -915,7 +915,7 @@ const deserializeAws_restJson1DescribeAnomalyCommand = async (output, context) =
|
|
|
915
915
|
ProactiveAnomaly: undefined,
|
|
916
916
|
ReactiveAnomaly: undefined,
|
|
917
917
|
};
|
|
918
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
918
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
919
919
|
if (data.ProactiveAnomaly !== undefined && data.ProactiveAnomaly !== null) {
|
|
920
920
|
contents.ProactiveAnomaly = deserializeAws_restJson1ProactiveAnomaly(data.ProactiveAnomaly, context);
|
|
921
921
|
}
|
|
@@ -956,7 +956,7 @@ const deserializeAws_restJson1DescribeAnomalyCommandError = async (output, conte
|
|
|
956
956
|
$fault: "client",
|
|
957
957
|
$metadata: deserializeMetadata(output),
|
|
958
958
|
});
|
|
959
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
959
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
960
960
|
}
|
|
961
961
|
};
|
|
962
962
|
const deserializeAws_restJson1DescribeEventSourcesConfigCommand = async (output, context) => {
|
|
@@ -967,7 +967,7 @@ const deserializeAws_restJson1DescribeEventSourcesConfigCommand = async (output,
|
|
|
967
967
|
$metadata: deserializeMetadata(output),
|
|
968
968
|
EventSources: undefined,
|
|
969
969
|
};
|
|
970
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
970
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
971
971
|
if (data.EventSources !== undefined && data.EventSources !== null) {
|
|
972
972
|
contents.EventSources = deserializeAws_restJson1EventSourcesConfig(data.EventSources, context);
|
|
973
973
|
}
|
|
@@ -1002,7 +1002,7 @@ const deserializeAws_restJson1DescribeEventSourcesConfigCommandError = async (ou
|
|
|
1002
1002
|
$fault: "client",
|
|
1003
1003
|
$metadata: deserializeMetadata(output),
|
|
1004
1004
|
});
|
|
1005
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1005
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1006
1006
|
}
|
|
1007
1007
|
};
|
|
1008
1008
|
const deserializeAws_restJson1DescribeFeedbackCommand = async (output, context) => {
|
|
@@ -1013,7 +1013,7 @@ const deserializeAws_restJson1DescribeFeedbackCommand = async (output, context)
|
|
|
1013
1013
|
$metadata: deserializeMetadata(output),
|
|
1014
1014
|
InsightFeedback: undefined,
|
|
1015
1015
|
};
|
|
1016
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1016
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1017
1017
|
if (data.InsightFeedback !== undefined && data.InsightFeedback !== null) {
|
|
1018
1018
|
contents.InsightFeedback = deserializeAws_restJson1InsightFeedback(data.InsightFeedback, context);
|
|
1019
1019
|
}
|
|
@@ -1051,7 +1051,7 @@ const deserializeAws_restJson1DescribeFeedbackCommandError = async (output, cont
|
|
|
1051
1051
|
$fault: "client",
|
|
1052
1052
|
$metadata: deserializeMetadata(output),
|
|
1053
1053
|
});
|
|
1054
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1054
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1055
1055
|
}
|
|
1056
1056
|
};
|
|
1057
1057
|
const deserializeAws_restJson1DescribeInsightCommand = async (output, context) => {
|
|
@@ -1063,7 +1063,7 @@ const deserializeAws_restJson1DescribeInsightCommand = async (output, context) =
|
|
|
1063
1063
|
ProactiveInsight: undefined,
|
|
1064
1064
|
ReactiveInsight: undefined,
|
|
1065
1065
|
};
|
|
1066
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1066
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1067
1067
|
if (data.ProactiveInsight !== undefined && data.ProactiveInsight !== null) {
|
|
1068
1068
|
contents.ProactiveInsight = deserializeAws_restJson1ProactiveInsight(data.ProactiveInsight, context);
|
|
1069
1069
|
}
|
|
@@ -1104,7 +1104,7 @@ const deserializeAws_restJson1DescribeInsightCommandError = async (output, conte
|
|
|
1104
1104
|
$fault: "client",
|
|
1105
1105
|
$metadata: deserializeMetadata(output),
|
|
1106
1106
|
});
|
|
1107
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1107
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1108
1108
|
}
|
|
1109
1109
|
};
|
|
1110
1110
|
const deserializeAws_restJson1DescribeOrganizationHealthCommand = async (output, context) => {
|
|
@@ -1118,18 +1118,18 @@ const deserializeAws_restJson1DescribeOrganizationHealthCommand = async (output,
|
|
|
1118
1118
|
OpenReactiveInsights: undefined,
|
|
1119
1119
|
ResourceHours: undefined,
|
|
1120
1120
|
};
|
|
1121
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1121
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1122
1122
|
if (data.MetricsAnalyzed !== undefined && data.MetricsAnalyzed !== null) {
|
|
1123
|
-
contents.MetricsAnalyzed = smithy_client_1.expectInt32(data.MetricsAnalyzed);
|
|
1123
|
+
contents.MetricsAnalyzed = (0, smithy_client_1.expectInt32)(data.MetricsAnalyzed);
|
|
1124
1124
|
}
|
|
1125
1125
|
if (data.OpenProactiveInsights !== undefined && data.OpenProactiveInsights !== null) {
|
|
1126
|
-
contents.OpenProactiveInsights = smithy_client_1.expectInt32(data.OpenProactiveInsights);
|
|
1126
|
+
contents.OpenProactiveInsights = (0, smithy_client_1.expectInt32)(data.OpenProactiveInsights);
|
|
1127
1127
|
}
|
|
1128
1128
|
if (data.OpenReactiveInsights !== undefined && data.OpenReactiveInsights !== null) {
|
|
1129
|
-
contents.OpenReactiveInsights = smithy_client_1.expectInt32(data.OpenReactiveInsights);
|
|
1129
|
+
contents.OpenReactiveInsights = (0, smithy_client_1.expectInt32)(data.OpenReactiveInsights);
|
|
1130
1130
|
}
|
|
1131
1131
|
if (data.ResourceHours !== undefined && data.ResourceHours !== null) {
|
|
1132
|
-
contents.ResourceHours = smithy_client_1.expectLong(data.ResourceHours);
|
|
1132
|
+
contents.ResourceHours = (0, smithy_client_1.expectLong)(data.ResourceHours);
|
|
1133
1133
|
}
|
|
1134
1134
|
return Promise.resolve(contents);
|
|
1135
1135
|
};
|
|
@@ -1162,7 +1162,7 @@ const deserializeAws_restJson1DescribeOrganizationHealthCommandError = async (ou
|
|
|
1162
1162
|
$fault: "client",
|
|
1163
1163
|
$metadata: deserializeMetadata(output),
|
|
1164
1164
|
});
|
|
1165
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1165
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1166
1166
|
}
|
|
1167
1167
|
};
|
|
1168
1168
|
const deserializeAws_restJson1DescribeOrganizationOverviewCommand = async (output, context) => {
|
|
@@ -1174,12 +1174,12 @@ const deserializeAws_restJson1DescribeOrganizationOverviewCommand = async (outpu
|
|
|
1174
1174
|
ProactiveInsights: undefined,
|
|
1175
1175
|
ReactiveInsights: undefined,
|
|
1176
1176
|
};
|
|
1177
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1177
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1178
1178
|
if (data.ProactiveInsights !== undefined && data.ProactiveInsights !== null) {
|
|
1179
|
-
contents.ProactiveInsights = smithy_client_1.expectInt32(data.ProactiveInsights);
|
|
1179
|
+
contents.ProactiveInsights = (0, smithy_client_1.expectInt32)(data.ProactiveInsights);
|
|
1180
1180
|
}
|
|
1181
1181
|
if (data.ReactiveInsights !== undefined && data.ReactiveInsights !== null) {
|
|
1182
|
-
contents.ReactiveInsights = smithy_client_1.expectInt32(data.ReactiveInsights);
|
|
1182
|
+
contents.ReactiveInsights = (0, smithy_client_1.expectInt32)(data.ReactiveInsights);
|
|
1183
1183
|
}
|
|
1184
1184
|
return Promise.resolve(contents);
|
|
1185
1185
|
};
|
|
@@ -1212,7 +1212,7 @@ const deserializeAws_restJson1DescribeOrganizationOverviewCommandError = async (
|
|
|
1212
1212
|
$fault: "client",
|
|
1213
1213
|
$metadata: deserializeMetadata(output),
|
|
1214
1214
|
});
|
|
1215
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1215
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1216
1216
|
}
|
|
1217
1217
|
};
|
|
1218
1218
|
const deserializeAws_restJson1DescribeOrganizationResourceCollectionHealthCommand = async (output, context) => {
|
|
@@ -1227,7 +1227,7 @@ const deserializeAws_restJson1DescribeOrganizationResourceCollectionHealthComman
|
|
|
1227
1227
|
Service: undefined,
|
|
1228
1228
|
Tags: undefined,
|
|
1229
1229
|
};
|
|
1230
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1230
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1231
1231
|
if (data.Account !== undefined && data.Account !== null) {
|
|
1232
1232
|
contents.Account = deserializeAws_restJson1AccountHealths(data.Account, context);
|
|
1233
1233
|
}
|
|
@@ -1235,7 +1235,7 @@ const deserializeAws_restJson1DescribeOrganizationResourceCollectionHealthComman
|
|
|
1235
1235
|
contents.CloudFormation = deserializeAws_restJson1CloudFormationHealths(data.CloudFormation, context);
|
|
1236
1236
|
}
|
|
1237
1237
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1238
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1238
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
1239
1239
|
}
|
|
1240
1240
|
if (data.Service !== undefined && data.Service !== null) {
|
|
1241
1241
|
contents.Service = deserializeAws_restJson1ServiceHealths(data.Service, context);
|
|
@@ -1274,7 +1274,7 @@ const deserializeAws_restJson1DescribeOrganizationResourceCollectionHealthComman
|
|
|
1274
1274
|
$fault: "client",
|
|
1275
1275
|
$metadata: deserializeMetadata(output),
|
|
1276
1276
|
});
|
|
1277
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1277
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1278
1278
|
}
|
|
1279
1279
|
};
|
|
1280
1280
|
const deserializeAws_restJson1DescribeResourceCollectionHealthCommand = async (output, context) => {
|
|
@@ -1288,12 +1288,12 @@ const deserializeAws_restJson1DescribeResourceCollectionHealthCommand = async (o
|
|
|
1288
1288
|
Service: undefined,
|
|
1289
1289
|
Tags: undefined,
|
|
1290
1290
|
};
|
|
1291
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1291
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1292
1292
|
if (data.CloudFormation !== undefined && data.CloudFormation !== null) {
|
|
1293
1293
|
contents.CloudFormation = deserializeAws_restJson1CloudFormationHealths(data.CloudFormation, context);
|
|
1294
1294
|
}
|
|
1295
1295
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1296
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1296
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
1297
1297
|
}
|
|
1298
1298
|
if (data.Service !== undefined && data.Service !== null) {
|
|
1299
1299
|
contents.Service = deserializeAws_restJson1ServiceHealths(data.Service, context);
|
|
@@ -1332,7 +1332,7 @@ const deserializeAws_restJson1DescribeResourceCollectionHealthCommandError = asy
|
|
|
1332
1332
|
$fault: "client",
|
|
1333
1333
|
$metadata: deserializeMetadata(output),
|
|
1334
1334
|
});
|
|
1335
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1335
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1336
1336
|
}
|
|
1337
1337
|
};
|
|
1338
1338
|
const deserializeAws_restJson1DescribeServiceIntegrationCommand = async (output, context) => {
|
|
@@ -1343,7 +1343,7 @@ const deserializeAws_restJson1DescribeServiceIntegrationCommand = async (output,
|
|
|
1343
1343
|
$metadata: deserializeMetadata(output),
|
|
1344
1344
|
ServiceIntegration: undefined,
|
|
1345
1345
|
};
|
|
1346
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1346
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1347
1347
|
if (data.ServiceIntegration !== undefined && data.ServiceIntegration !== null) {
|
|
1348
1348
|
contents.ServiceIntegration = deserializeAws_restJson1ServiceIntegrationConfig(data.ServiceIntegration, context);
|
|
1349
1349
|
}
|
|
@@ -1378,7 +1378,7 @@ const deserializeAws_restJson1DescribeServiceIntegrationCommandError = async (ou
|
|
|
1378
1378
|
$fault: "client",
|
|
1379
1379
|
$metadata: deserializeMetadata(output),
|
|
1380
1380
|
});
|
|
1381
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1381
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1382
1382
|
}
|
|
1383
1383
|
};
|
|
1384
1384
|
const deserializeAws_restJson1GetCostEstimationCommand = async (output, context) => {
|
|
@@ -1394,24 +1394,24 @@ const deserializeAws_restJson1GetCostEstimationCommand = async (output, context)
|
|
|
1394
1394
|
TimeRange: undefined,
|
|
1395
1395
|
TotalCost: undefined,
|
|
1396
1396
|
};
|
|
1397
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1397
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1398
1398
|
if (data.Costs !== undefined && data.Costs !== null) {
|
|
1399
1399
|
contents.Costs = deserializeAws_restJson1ServiceResourceCosts(data.Costs, context);
|
|
1400
1400
|
}
|
|
1401
1401
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1402
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1402
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
1403
1403
|
}
|
|
1404
1404
|
if (data.ResourceCollection !== undefined && data.ResourceCollection !== null) {
|
|
1405
1405
|
contents.ResourceCollection = deserializeAws_restJson1CostEstimationResourceCollectionFilter(data.ResourceCollection, context);
|
|
1406
1406
|
}
|
|
1407
1407
|
if (data.Status !== undefined && data.Status !== null) {
|
|
1408
|
-
contents.Status = smithy_client_1.expectString(data.Status);
|
|
1408
|
+
contents.Status = (0, smithy_client_1.expectString)(data.Status);
|
|
1409
1409
|
}
|
|
1410
1410
|
if (data.TimeRange !== undefined && data.TimeRange !== null) {
|
|
1411
1411
|
contents.TimeRange = deserializeAws_restJson1CostEstimationTimeRange(data.TimeRange, context);
|
|
1412
1412
|
}
|
|
1413
1413
|
if (data.TotalCost !== undefined && data.TotalCost !== null) {
|
|
1414
|
-
contents.TotalCost = smithy_client_1.limitedParseDouble(data.TotalCost);
|
|
1414
|
+
contents.TotalCost = (0, smithy_client_1.limitedParseDouble)(data.TotalCost);
|
|
1415
1415
|
}
|
|
1416
1416
|
return Promise.resolve(contents);
|
|
1417
1417
|
};
|
|
@@ -1447,7 +1447,7 @@ const deserializeAws_restJson1GetCostEstimationCommandError = async (output, con
|
|
|
1447
1447
|
$fault: "client",
|
|
1448
1448
|
$metadata: deserializeMetadata(output),
|
|
1449
1449
|
});
|
|
1450
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1450
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1451
1451
|
}
|
|
1452
1452
|
};
|
|
1453
1453
|
const deserializeAws_restJson1GetResourceCollectionCommand = async (output, context) => {
|
|
@@ -1459,9 +1459,9 @@ const deserializeAws_restJson1GetResourceCollectionCommand = async (output, cont
|
|
|
1459
1459
|
NextToken: undefined,
|
|
1460
1460
|
ResourceCollection: undefined,
|
|
1461
1461
|
};
|
|
1462
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1462
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1463
1463
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1464
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1464
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
1465
1465
|
}
|
|
1466
1466
|
if (data.ResourceCollection !== undefined && data.ResourceCollection !== null) {
|
|
1467
1467
|
contents.ResourceCollection = deserializeAws_restJson1ResourceCollectionFilter(data.ResourceCollection, context);
|
|
@@ -1500,7 +1500,7 @@ const deserializeAws_restJson1GetResourceCollectionCommandError = async (output,
|
|
|
1500
1500
|
$fault: "client",
|
|
1501
1501
|
$metadata: deserializeMetadata(output),
|
|
1502
1502
|
});
|
|
1503
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1503
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1504
1504
|
}
|
|
1505
1505
|
};
|
|
1506
1506
|
const deserializeAws_restJson1ListAnomaliesForInsightCommand = async (output, context) => {
|
|
@@ -1513,9 +1513,9 @@ const deserializeAws_restJson1ListAnomaliesForInsightCommand = async (output, co
|
|
|
1513
1513
|
ProactiveAnomalies: undefined,
|
|
1514
1514
|
ReactiveAnomalies: undefined,
|
|
1515
1515
|
};
|
|
1516
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1516
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1517
1517
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1518
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1518
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
1519
1519
|
}
|
|
1520
1520
|
if (data.ProactiveAnomalies !== undefined && data.ProactiveAnomalies !== null) {
|
|
1521
1521
|
contents.ProactiveAnomalies = deserializeAws_restJson1ProactiveAnomalies(data.ProactiveAnomalies, context);
|
|
@@ -1557,7 +1557,7 @@ const deserializeAws_restJson1ListAnomaliesForInsightCommandError = async (outpu
|
|
|
1557
1557
|
$fault: "client",
|
|
1558
1558
|
$metadata: deserializeMetadata(output),
|
|
1559
1559
|
});
|
|
1560
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1560
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1561
1561
|
}
|
|
1562
1562
|
};
|
|
1563
1563
|
const deserializeAws_restJson1ListEventsCommand = async (output, context) => {
|
|
@@ -1569,12 +1569,12 @@ const deserializeAws_restJson1ListEventsCommand = async (output, context) => {
|
|
|
1569
1569
|
Events: undefined,
|
|
1570
1570
|
NextToken: undefined,
|
|
1571
1571
|
};
|
|
1572
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1572
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1573
1573
|
if (data.Events !== undefined && data.Events !== null) {
|
|
1574
1574
|
contents.Events = deserializeAws_restJson1Events(data.Events, context);
|
|
1575
1575
|
}
|
|
1576
1576
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1577
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1577
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
1578
1578
|
}
|
|
1579
1579
|
return Promise.resolve(contents);
|
|
1580
1580
|
};
|
|
@@ -1610,7 +1610,7 @@ const deserializeAws_restJson1ListEventsCommandError = async (output, context) =
|
|
|
1610
1610
|
$fault: "client",
|
|
1611
1611
|
$metadata: deserializeMetadata(output),
|
|
1612
1612
|
});
|
|
1613
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1613
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1614
1614
|
}
|
|
1615
1615
|
};
|
|
1616
1616
|
const deserializeAws_restJson1ListInsightsCommand = async (output, context) => {
|
|
@@ -1623,9 +1623,9 @@ const deserializeAws_restJson1ListInsightsCommand = async (output, context) => {
|
|
|
1623
1623
|
ProactiveInsights: undefined,
|
|
1624
1624
|
ReactiveInsights: undefined,
|
|
1625
1625
|
};
|
|
1626
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1626
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1627
1627
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1628
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1628
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
1629
1629
|
}
|
|
1630
1630
|
if (data.ProactiveInsights !== undefined && data.ProactiveInsights !== null) {
|
|
1631
1631
|
contents.ProactiveInsights = deserializeAws_restJson1ProactiveInsights(data.ProactiveInsights, context);
|
|
@@ -1664,7 +1664,7 @@ const deserializeAws_restJson1ListInsightsCommandError = async (output, context)
|
|
|
1664
1664
|
$fault: "client",
|
|
1665
1665
|
$metadata: deserializeMetadata(output),
|
|
1666
1666
|
});
|
|
1667
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1667
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1668
1668
|
}
|
|
1669
1669
|
};
|
|
1670
1670
|
const deserializeAws_restJson1ListNotificationChannelsCommand = async (output, context) => {
|
|
@@ -1676,12 +1676,12 @@ const deserializeAws_restJson1ListNotificationChannelsCommand = async (output, c
|
|
|
1676
1676
|
Channels: undefined,
|
|
1677
1677
|
NextToken: undefined,
|
|
1678
1678
|
};
|
|
1679
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1679
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1680
1680
|
if (data.Channels !== undefined && data.Channels !== null) {
|
|
1681
1681
|
contents.Channels = deserializeAws_restJson1Channels(data.Channels, context);
|
|
1682
1682
|
}
|
|
1683
1683
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1684
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1684
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
1685
1685
|
}
|
|
1686
1686
|
return Promise.resolve(contents);
|
|
1687
1687
|
};
|
|
@@ -1714,7 +1714,7 @@ const deserializeAws_restJson1ListNotificationChannelsCommandError = async (outp
|
|
|
1714
1714
|
$fault: "client",
|
|
1715
1715
|
$metadata: deserializeMetadata(output),
|
|
1716
1716
|
});
|
|
1717
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1717
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1718
1718
|
}
|
|
1719
1719
|
};
|
|
1720
1720
|
const deserializeAws_restJson1ListOrganizationInsightsCommand = async (output, context) => {
|
|
@@ -1727,9 +1727,9 @@ const deserializeAws_restJson1ListOrganizationInsightsCommand = async (output, c
|
|
|
1727
1727
|
ProactiveInsights: undefined,
|
|
1728
1728
|
ReactiveInsights: undefined,
|
|
1729
1729
|
};
|
|
1730
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1730
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1731
1731
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1732
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1732
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
1733
1733
|
}
|
|
1734
1734
|
if (data.ProactiveInsights !== undefined && data.ProactiveInsights !== null) {
|
|
1735
1735
|
contents.ProactiveInsights = deserializeAws_restJson1ProactiveOrganizationInsights(data.ProactiveInsights, context);
|
|
@@ -1768,7 +1768,7 @@ const deserializeAws_restJson1ListOrganizationInsightsCommandError = async (outp
|
|
|
1768
1768
|
$fault: "client",
|
|
1769
1769
|
$metadata: deserializeMetadata(output),
|
|
1770
1770
|
});
|
|
1771
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1771
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1772
1772
|
}
|
|
1773
1773
|
};
|
|
1774
1774
|
const deserializeAws_restJson1ListRecommendationsCommand = async (output, context) => {
|
|
@@ -1780,9 +1780,9 @@ const deserializeAws_restJson1ListRecommendationsCommand = async (output, contex
|
|
|
1780
1780
|
NextToken: undefined,
|
|
1781
1781
|
Recommendations: undefined,
|
|
1782
1782
|
};
|
|
1783
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1783
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1784
1784
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1785
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1785
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
1786
1786
|
}
|
|
1787
1787
|
if (data.Recommendations !== undefined && data.Recommendations !== null) {
|
|
1788
1788
|
contents.Recommendations = deserializeAws_restJson1Recommendations(data.Recommendations, context);
|
|
@@ -1821,7 +1821,7 @@ const deserializeAws_restJson1ListRecommendationsCommandError = async (output, c
|
|
|
1821
1821
|
$fault: "client",
|
|
1822
1822
|
$metadata: deserializeMetadata(output),
|
|
1823
1823
|
});
|
|
1824
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1824
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1825
1825
|
}
|
|
1826
1826
|
};
|
|
1827
1827
|
const deserializeAws_restJson1PutFeedbackCommand = async (output, context) => {
|
|
@@ -1869,7 +1869,7 @@ const deserializeAws_restJson1PutFeedbackCommandError = async (output, context)
|
|
|
1869
1869
|
$fault: "client",
|
|
1870
1870
|
$metadata: deserializeMetadata(output),
|
|
1871
1871
|
});
|
|
1872
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1872
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1873
1873
|
}
|
|
1874
1874
|
};
|
|
1875
1875
|
const deserializeAws_restJson1RemoveNotificationChannelCommand = async (output, context) => {
|
|
@@ -1917,7 +1917,7 @@ const deserializeAws_restJson1RemoveNotificationChannelCommandError = async (out
|
|
|
1917
1917
|
$fault: "client",
|
|
1918
1918
|
$metadata: deserializeMetadata(output),
|
|
1919
1919
|
});
|
|
1920
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1920
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1921
1921
|
}
|
|
1922
1922
|
};
|
|
1923
1923
|
const deserializeAws_restJson1SearchInsightsCommand = async (output, context) => {
|
|
@@ -1930,9 +1930,9 @@ const deserializeAws_restJson1SearchInsightsCommand = async (output, context) =>
|
|
|
1930
1930
|
ProactiveInsights: undefined,
|
|
1931
1931
|
ReactiveInsights: undefined,
|
|
1932
1932
|
};
|
|
1933
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1933
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1934
1934
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1935
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1935
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
1936
1936
|
}
|
|
1937
1937
|
if (data.ProactiveInsights !== undefined && data.ProactiveInsights !== null) {
|
|
1938
1938
|
contents.ProactiveInsights = deserializeAws_restJson1ProactiveInsights(data.ProactiveInsights, context);
|
|
@@ -1971,7 +1971,7 @@ const deserializeAws_restJson1SearchInsightsCommandError = async (output, contex
|
|
|
1971
1971
|
$fault: "client",
|
|
1972
1972
|
$metadata: deserializeMetadata(output),
|
|
1973
1973
|
});
|
|
1974
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1974
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1975
1975
|
}
|
|
1976
1976
|
};
|
|
1977
1977
|
const deserializeAws_restJson1SearchOrganizationInsightsCommand = async (output, context) => {
|
|
@@ -1984,9 +1984,9 @@ const deserializeAws_restJson1SearchOrganizationInsightsCommand = async (output,
|
|
|
1984
1984
|
ProactiveInsights: undefined,
|
|
1985
1985
|
ReactiveInsights: undefined,
|
|
1986
1986
|
};
|
|
1987
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1987
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1988
1988
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
1989
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
1989
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
1990
1990
|
}
|
|
1991
1991
|
if (data.ProactiveInsights !== undefined && data.ProactiveInsights !== null) {
|
|
1992
1992
|
contents.ProactiveInsights = deserializeAws_restJson1ProactiveInsights(data.ProactiveInsights, context);
|
|
@@ -2025,7 +2025,7 @@ const deserializeAws_restJson1SearchOrganizationInsightsCommandError = async (ou
|
|
|
2025
2025
|
$fault: "client",
|
|
2026
2026
|
$metadata: deserializeMetadata(output),
|
|
2027
2027
|
});
|
|
2028
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2028
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2029
2029
|
}
|
|
2030
2030
|
};
|
|
2031
2031
|
const deserializeAws_restJson1StartCostEstimationCommand = async (output, context) => {
|
|
@@ -2073,7 +2073,7 @@ const deserializeAws_restJson1StartCostEstimationCommandError = async (output, c
|
|
|
2073
2073
|
$fault: "client",
|
|
2074
2074
|
$metadata: deserializeMetadata(output),
|
|
2075
2075
|
});
|
|
2076
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2076
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2077
2077
|
}
|
|
2078
2078
|
};
|
|
2079
2079
|
const deserializeAws_restJson1UpdateEventSourcesConfigCommand = async (output, context) => {
|
|
@@ -2115,7 +2115,7 @@ const deserializeAws_restJson1UpdateEventSourcesConfigCommandError = async (outp
|
|
|
2115
2115
|
$fault: "client",
|
|
2116
2116
|
$metadata: deserializeMetadata(output),
|
|
2117
2117
|
});
|
|
2118
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2118
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2119
2119
|
}
|
|
2120
2120
|
};
|
|
2121
2121
|
const deserializeAws_restJson1UpdateResourceCollectionCommand = async (output, context) => {
|
|
@@ -2160,7 +2160,7 @@ const deserializeAws_restJson1UpdateResourceCollectionCommandError = async (outp
|
|
|
2160
2160
|
$fault: "client",
|
|
2161
2161
|
$metadata: deserializeMetadata(output),
|
|
2162
2162
|
});
|
|
2163
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2163
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2164
2164
|
}
|
|
2165
2165
|
};
|
|
2166
2166
|
const deserializeAws_restJson1UpdateServiceIntegrationCommand = async (output, context) => {
|
|
@@ -2205,104 +2205,104 @@ const deserializeAws_restJson1UpdateServiceIntegrationCommandError = async (outp
|
|
|
2205
2205
|
$fault: "client",
|
|
2206
2206
|
$metadata: deserializeMetadata(output),
|
|
2207
2207
|
});
|
|
2208
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2208
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2209
2209
|
}
|
|
2210
2210
|
};
|
|
2211
2211
|
const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
2212
2212
|
const contents = {};
|
|
2213
2213
|
const data = parsedOutput.body;
|
|
2214
2214
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2215
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2215
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
2216
2216
|
}
|
|
2217
2217
|
const exception = new models_0_1.AccessDeniedException({
|
|
2218
2218
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2219
2219
|
...contents,
|
|
2220
2220
|
});
|
|
2221
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2221
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2222
2222
|
};
|
|
2223
2223
|
const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
|
|
2224
2224
|
const contents = {};
|
|
2225
2225
|
const data = parsedOutput.body;
|
|
2226
2226
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2227
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2227
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
2228
2228
|
}
|
|
2229
2229
|
if (data.ResourceId !== undefined && data.ResourceId !== null) {
|
|
2230
|
-
contents.ResourceId = smithy_client_1.expectString(data.ResourceId);
|
|
2230
|
+
contents.ResourceId = (0, smithy_client_1.expectString)(data.ResourceId);
|
|
2231
2231
|
}
|
|
2232
2232
|
if (data.ResourceType !== undefined && data.ResourceType !== null) {
|
|
2233
|
-
contents.ResourceType = smithy_client_1.expectString(data.ResourceType);
|
|
2233
|
+
contents.ResourceType = (0, smithy_client_1.expectString)(data.ResourceType);
|
|
2234
2234
|
}
|
|
2235
2235
|
const exception = new models_0_1.ConflictException({
|
|
2236
2236
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2237
2237
|
...contents,
|
|
2238
2238
|
});
|
|
2239
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2239
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2240
2240
|
};
|
|
2241
2241
|
const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
|
|
2242
2242
|
const contents = {};
|
|
2243
2243
|
if (parsedOutput.headers["retry-after"] !== undefined) {
|
|
2244
|
-
contents.RetryAfterSeconds = smithy_client_1.strictParseInt32(parsedOutput.headers["retry-after"]);
|
|
2244
|
+
contents.RetryAfterSeconds = (0, smithy_client_1.strictParseInt32)(parsedOutput.headers["retry-after"]);
|
|
2245
2245
|
}
|
|
2246
2246
|
const data = parsedOutput.body;
|
|
2247
2247
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2248
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2248
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
2249
2249
|
}
|
|
2250
2250
|
const exception = new models_0_1.InternalServerException({
|
|
2251
2251
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2252
2252
|
...contents,
|
|
2253
2253
|
});
|
|
2254
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2254
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2255
2255
|
};
|
|
2256
2256
|
const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
2257
2257
|
const contents = {};
|
|
2258
2258
|
const data = parsedOutput.body;
|
|
2259
2259
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2260
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2260
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
2261
2261
|
}
|
|
2262
2262
|
if (data.ResourceId !== undefined && data.ResourceId !== null) {
|
|
2263
|
-
contents.ResourceId = smithy_client_1.expectString(data.ResourceId);
|
|
2263
|
+
contents.ResourceId = (0, smithy_client_1.expectString)(data.ResourceId);
|
|
2264
2264
|
}
|
|
2265
2265
|
if (data.ResourceType !== undefined && data.ResourceType !== null) {
|
|
2266
|
-
contents.ResourceType = smithy_client_1.expectString(data.ResourceType);
|
|
2266
|
+
contents.ResourceType = (0, smithy_client_1.expectString)(data.ResourceType);
|
|
2267
2267
|
}
|
|
2268
2268
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
2269
2269
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2270
2270
|
...contents,
|
|
2271
2271
|
});
|
|
2272
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2272
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2273
2273
|
};
|
|
2274
2274
|
const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
|
|
2275
2275
|
const contents = {};
|
|
2276
2276
|
const data = parsedOutput.body;
|
|
2277
2277
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2278
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2278
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
2279
2279
|
}
|
|
2280
2280
|
const exception = new models_0_1.ServiceQuotaExceededException({
|
|
2281
2281
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2282
2282
|
...contents,
|
|
2283
2283
|
});
|
|
2284
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2284
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2285
2285
|
};
|
|
2286
2286
|
const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
|
|
2287
2287
|
const contents = {};
|
|
2288
2288
|
if (parsedOutput.headers["retry-after"] !== undefined) {
|
|
2289
|
-
contents.RetryAfterSeconds = smithy_client_1.strictParseInt32(parsedOutput.headers["retry-after"]);
|
|
2289
|
+
contents.RetryAfterSeconds = (0, smithy_client_1.strictParseInt32)(parsedOutput.headers["retry-after"]);
|
|
2290
2290
|
}
|
|
2291
2291
|
const data = parsedOutput.body;
|
|
2292
2292
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2293
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2293
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
2294
2294
|
}
|
|
2295
2295
|
if (data.QuotaCode !== undefined && data.QuotaCode !== null) {
|
|
2296
|
-
contents.QuotaCode = smithy_client_1.expectString(data.QuotaCode);
|
|
2296
|
+
contents.QuotaCode = (0, smithy_client_1.expectString)(data.QuotaCode);
|
|
2297
2297
|
}
|
|
2298
2298
|
if (data.ServiceCode !== undefined && data.ServiceCode !== null) {
|
|
2299
|
-
contents.ServiceCode = smithy_client_1.expectString(data.ServiceCode);
|
|
2299
|
+
contents.ServiceCode = (0, smithy_client_1.expectString)(data.ServiceCode);
|
|
2300
2300
|
}
|
|
2301
2301
|
const exception = new models_0_1.ThrottlingException({
|
|
2302
2302
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2303
2303
|
...contents,
|
|
2304
2304
|
});
|
|
2305
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2305
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2306
2306
|
};
|
|
2307
2307
|
const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
|
|
2308
2308
|
const contents = {};
|
|
@@ -2311,16 +2311,16 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
|
|
|
2311
2311
|
contents.Fields = deserializeAws_restJson1ValidationExceptionFields(data.Fields, context);
|
|
2312
2312
|
}
|
|
2313
2313
|
if (data.Message !== undefined && data.Message !== null) {
|
|
2314
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
2314
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
2315
2315
|
}
|
|
2316
2316
|
if (data.Reason !== undefined && data.Reason !== null) {
|
|
2317
|
-
contents.Reason = smithy_client_1.expectString(data.Reason);
|
|
2317
|
+
contents.Reason = (0, smithy_client_1.expectString)(data.Reason);
|
|
2318
2318
|
}
|
|
2319
2319
|
const exception = new models_0_1.ValidationException({
|
|
2320
2320
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2321
2321
|
...contents,
|
|
2322
2322
|
});
|
|
2323
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
2323
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
2324
2324
|
};
|
|
2325
2325
|
const serializeAws_restJson1AccountIdList = (input, context) => {
|
|
2326
2326
|
return input
|
|
@@ -2723,7 +2723,7 @@ const serializeAws_restJson1UpdateTagValues = (input, context) => {
|
|
|
2723
2723
|
};
|
|
2724
2724
|
const deserializeAws_restJson1AccountHealth = (output, context) => {
|
|
2725
2725
|
return {
|
|
2726
|
-
AccountId: smithy_client_1.expectString(output.AccountId),
|
|
2726
|
+
AccountId: (0, smithy_client_1.expectString)(output.AccountId),
|
|
2727
2727
|
Insight: output.Insight !== undefined && output.Insight !== null
|
|
2728
2728
|
? deserializeAws_restJson1AccountInsightHealth(output.Insight, context)
|
|
2729
2729
|
: undefined,
|
|
@@ -2742,29 +2742,29 @@ const deserializeAws_restJson1AccountHealths = (output, context) => {
|
|
|
2742
2742
|
};
|
|
2743
2743
|
const deserializeAws_restJson1AccountInsightHealth = (output, context) => {
|
|
2744
2744
|
return {
|
|
2745
|
-
OpenProactiveInsights: smithy_client_1.expectInt32(output.OpenProactiveInsights),
|
|
2746
|
-
OpenReactiveInsights: smithy_client_1.expectInt32(output.OpenReactiveInsights),
|
|
2745
|
+
OpenProactiveInsights: (0, smithy_client_1.expectInt32)(output.OpenProactiveInsights),
|
|
2746
|
+
OpenReactiveInsights: (0, smithy_client_1.expectInt32)(output.OpenReactiveInsights),
|
|
2747
2747
|
};
|
|
2748
2748
|
};
|
|
2749
2749
|
const deserializeAws_restJson1AmazonCodeGuruProfilerIntegration = (output, context) => {
|
|
2750
2750
|
return {
|
|
2751
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
2751
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
2752
2752
|
};
|
|
2753
2753
|
};
|
|
2754
2754
|
const deserializeAws_restJson1AnomalyReportedTimeRange = (output, context) => {
|
|
2755
2755
|
return {
|
|
2756
2756
|
CloseTime: output.CloseTime !== undefined && output.CloseTime !== null
|
|
2757
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CloseTime)))
|
|
2757
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CloseTime)))
|
|
2758
2758
|
: undefined,
|
|
2759
2759
|
OpenTime: output.OpenTime !== undefined && output.OpenTime !== null
|
|
2760
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.OpenTime)))
|
|
2760
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.OpenTime)))
|
|
2761
2761
|
: undefined,
|
|
2762
2762
|
};
|
|
2763
2763
|
};
|
|
2764
2764
|
const deserializeAws_restJson1AnomalyResource = (output, context) => {
|
|
2765
2765
|
return {
|
|
2766
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
2767
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
2766
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2767
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2768
2768
|
};
|
|
2769
2769
|
};
|
|
2770
2770
|
const deserializeAws_restJson1AnomalyResources = (output, context) => {
|
|
@@ -2790,18 +2790,18 @@ const deserializeAws_restJson1AnomalySourceDetails = (output, context) => {
|
|
|
2790
2790
|
};
|
|
2791
2791
|
const deserializeAws_restJson1AnomalySourceMetadata = (output, context) => {
|
|
2792
2792
|
return {
|
|
2793
|
-
Source: smithy_client_1.expectString(output.Source),
|
|
2794
|
-
SourceResourceName: smithy_client_1.expectString(output.SourceResourceName),
|
|
2795
|
-
SourceResourceType: smithy_client_1.expectString(output.SourceResourceType),
|
|
2793
|
+
Source: (0, smithy_client_1.expectString)(output.Source),
|
|
2794
|
+
SourceResourceName: (0, smithy_client_1.expectString)(output.SourceResourceName),
|
|
2795
|
+
SourceResourceType: (0, smithy_client_1.expectString)(output.SourceResourceType),
|
|
2796
2796
|
};
|
|
2797
2797
|
};
|
|
2798
2798
|
const deserializeAws_restJson1AnomalyTimeRange = (output, context) => {
|
|
2799
2799
|
return {
|
|
2800
2800
|
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
2801
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
|
|
2801
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
|
|
2802
2802
|
: undefined,
|
|
2803
2803
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
2804
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
|
|
2804
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
|
|
2805
2805
|
: undefined,
|
|
2806
2806
|
};
|
|
2807
2807
|
};
|
|
@@ -2812,7 +2812,7 @@ const deserializeAws_restJson1AssociatedResourceArns = (output, context) => {
|
|
|
2812
2812
|
if (entry === null) {
|
|
2813
2813
|
return null;
|
|
2814
2814
|
}
|
|
2815
|
-
return smithy_client_1.expectString(entry);
|
|
2815
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2816
2816
|
});
|
|
2817
2817
|
return retVal;
|
|
2818
2818
|
};
|
|
@@ -2853,7 +2853,7 @@ const deserializeAws_restJson1CloudFormationHealth = (output, context) => {
|
|
|
2853
2853
|
Insight: output.Insight !== undefined && output.Insight !== null
|
|
2854
2854
|
? deserializeAws_restJson1InsightHealth(output.Insight, context)
|
|
2855
2855
|
: undefined,
|
|
2856
|
-
StackName: smithy_client_1.expectString(output.StackName),
|
|
2856
|
+
StackName: (0, smithy_client_1.expectString)(output.StackName),
|
|
2857
2857
|
};
|
|
2858
2858
|
};
|
|
2859
2859
|
const deserializeAws_restJson1CloudFormationHealths = (output, context) => {
|
|
@@ -2869,7 +2869,7 @@ const deserializeAws_restJson1CloudFormationHealths = (output, context) => {
|
|
|
2869
2869
|
};
|
|
2870
2870
|
const deserializeAws_restJson1CloudWatchMetricsDataSummary = (output, context) => {
|
|
2871
2871
|
return {
|
|
2872
|
-
StatusCode: smithy_client_1.expectString(output.StatusCode),
|
|
2872
|
+
StatusCode: (0, smithy_client_1.expectString)(output.StatusCode),
|
|
2873
2873
|
TimestampMetricValuePairList: output.TimestampMetricValuePairList !== undefined && output.TimestampMetricValuePairList !== null
|
|
2874
2874
|
? deserializeAws_restJson1TimestampMetricValuePairList(output.TimestampMetricValuePairList, context)
|
|
2875
2875
|
: undefined,
|
|
@@ -2883,11 +2883,11 @@ const deserializeAws_restJson1CloudWatchMetricsDetail = (output, context) => {
|
|
|
2883
2883
|
MetricDataSummary: output.MetricDataSummary !== undefined && output.MetricDataSummary !== null
|
|
2884
2884
|
? deserializeAws_restJson1CloudWatchMetricsDataSummary(output.MetricDataSummary, context)
|
|
2885
2885
|
: undefined,
|
|
2886
|
-
MetricName: smithy_client_1.expectString(output.MetricName),
|
|
2887
|
-
Namespace: smithy_client_1.expectString(output.Namespace),
|
|
2888
|
-
Period: smithy_client_1.expectInt32(output.Period),
|
|
2889
|
-
Stat: smithy_client_1.expectString(output.Stat),
|
|
2890
|
-
Unit: smithy_client_1.expectString(output.Unit),
|
|
2886
|
+
MetricName: (0, smithy_client_1.expectString)(output.MetricName),
|
|
2887
|
+
Namespace: (0, smithy_client_1.expectString)(output.Namespace),
|
|
2888
|
+
Period: (0, smithy_client_1.expectInt32)(output.Period),
|
|
2889
|
+
Stat: (0, smithy_client_1.expectString)(output.Stat),
|
|
2890
|
+
Unit: (0, smithy_client_1.expectString)(output.Unit),
|
|
2891
2891
|
};
|
|
2892
2892
|
};
|
|
2893
2893
|
const deserializeAws_restJson1CloudWatchMetricsDetails = (output, context) => {
|
|
@@ -2903,8 +2903,8 @@ const deserializeAws_restJson1CloudWatchMetricsDetails = (output, context) => {
|
|
|
2903
2903
|
};
|
|
2904
2904
|
const deserializeAws_restJson1CloudWatchMetricsDimension = (output, context) => {
|
|
2905
2905
|
return {
|
|
2906
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
2907
|
-
Value: smithy_client_1.expectString(output.Value),
|
|
2906
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2907
|
+
Value: (0, smithy_client_1.expectString)(output.Value),
|
|
2908
2908
|
};
|
|
2909
2909
|
};
|
|
2910
2910
|
const deserializeAws_restJson1CloudWatchMetricsDimensions = (output, context) => {
|
|
@@ -2935,7 +2935,7 @@ const deserializeAws_restJson1CostEstimationStackNames = (output, context) => {
|
|
|
2935
2935
|
if (entry === null) {
|
|
2936
2936
|
return null;
|
|
2937
2937
|
}
|
|
2938
|
-
return smithy_client_1.expectString(entry);
|
|
2938
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2939
2939
|
});
|
|
2940
2940
|
return retVal;
|
|
2941
2941
|
};
|
|
@@ -2946,27 +2946,27 @@ const deserializeAws_restJson1CostEstimationTagValues = (output, context) => {
|
|
|
2946
2946
|
if (entry === null) {
|
|
2947
2947
|
return null;
|
|
2948
2948
|
}
|
|
2949
|
-
return smithy_client_1.expectString(entry);
|
|
2949
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2950
2950
|
});
|
|
2951
2951
|
return retVal;
|
|
2952
2952
|
};
|
|
2953
2953
|
const deserializeAws_restJson1CostEstimationTimeRange = (output, context) => {
|
|
2954
2954
|
return {
|
|
2955
2955
|
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
2956
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
|
|
2956
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
|
|
2957
2957
|
: undefined,
|
|
2958
2958
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
2959
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
|
|
2959
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
|
|
2960
2960
|
: undefined,
|
|
2961
2961
|
};
|
|
2962
2962
|
};
|
|
2963
2963
|
const deserializeAws_restJson1Event = (output, context) => {
|
|
2964
2964
|
return {
|
|
2965
|
-
DataSource: smithy_client_1.expectString(output.DataSource),
|
|
2966
|
-
EventClass: smithy_client_1.expectString(output.EventClass),
|
|
2967
|
-
EventSource: smithy_client_1.expectString(output.EventSource),
|
|
2968
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
2969
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
2965
|
+
DataSource: (0, smithy_client_1.expectString)(output.DataSource),
|
|
2966
|
+
EventClass: (0, smithy_client_1.expectString)(output.EventClass),
|
|
2967
|
+
EventSource: (0, smithy_client_1.expectString)(output.EventSource),
|
|
2968
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
2969
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2970
2970
|
ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
|
|
2971
2971
|
? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
|
|
2972
2972
|
: undefined,
|
|
@@ -2974,15 +2974,15 @@ const deserializeAws_restJson1Event = (output, context) => {
|
|
|
2974
2974
|
? deserializeAws_restJson1EventResources(output.Resources, context)
|
|
2975
2975
|
: undefined,
|
|
2976
2976
|
Time: output.Time !== undefined && output.Time !== null
|
|
2977
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.Time)))
|
|
2977
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Time)))
|
|
2978
2978
|
: undefined,
|
|
2979
2979
|
};
|
|
2980
2980
|
};
|
|
2981
2981
|
const deserializeAws_restJson1EventResource = (output, context) => {
|
|
2982
2982
|
return {
|
|
2983
|
-
Arn: smithy_client_1.expectString(output.Arn),
|
|
2984
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
2985
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
2983
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
2984
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2985
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
2986
2986
|
};
|
|
2987
2987
|
};
|
|
2988
2988
|
const deserializeAws_restJson1EventResources = (output, context) => {
|
|
@@ -3016,24 +3016,24 @@ const deserializeAws_restJson1EventSourcesConfig = (output, context) => {
|
|
|
3016
3016
|
};
|
|
3017
3017
|
const deserializeAws_restJson1InsightFeedback = (output, context) => {
|
|
3018
3018
|
return {
|
|
3019
|
-
Feedback: smithy_client_1.expectString(output.Feedback),
|
|
3020
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
3019
|
+
Feedback: (0, smithy_client_1.expectString)(output.Feedback),
|
|
3020
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3021
3021
|
};
|
|
3022
3022
|
};
|
|
3023
3023
|
const deserializeAws_restJson1InsightHealth = (output, context) => {
|
|
3024
3024
|
return {
|
|
3025
|
-
MeanTimeToRecoverInMilliseconds: smithy_client_1.expectLong(output.MeanTimeToRecoverInMilliseconds),
|
|
3026
|
-
OpenProactiveInsights: smithy_client_1.expectInt32(output.OpenProactiveInsights),
|
|
3027
|
-
OpenReactiveInsights: smithy_client_1.expectInt32(output.OpenReactiveInsights),
|
|
3025
|
+
MeanTimeToRecoverInMilliseconds: (0, smithy_client_1.expectLong)(output.MeanTimeToRecoverInMilliseconds),
|
|
3026
|
+
OpenProactiveInsights: (0, smithy_client_1.expectInt32)(output.OpenProactiveInsights),
|
|
3027
|
+
OpenReactiveInsights: (0, smithy_client_1.expectInt32)(output.OpenReactiveInsights),
|
|
3028
3028
|
};
|
|
3029
3029
|
};
|
|
3030
3030
|
const deserializeAws_restJson1InsightTimeRange = (output, context) => {
|
|
3031
3031
|
return {
|
|
3032
3032
|
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
3033
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
|
|
3033
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
|
|
3034
3034
|
: undefined,
|
|
3035
3035
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
3036
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
|
|
3036
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
|
|
3037
3037
|
: undefined,
|
|
3038
3038
|
};
|
|
3039
3039
|
};
|
|
@@ -3042,7 +3042,7 @@ const deserializeAws_restJson1NotificationChannel = (output, context) => {
|
|
|
3042
3042
|
Config: output.Config !== undefined && output.Config !== null
|
|
3043
3043
|
? deserializeAws_restJson1NotificationChannelConfig(output.Config, context)
|
|
3044
3044
|
: undefined,
|
|
3045
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
3045
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3046
3046
|
};
|
|
3047
3047
|
};
|
|
3048
3048
|
const deserializeAws_restJson1NotificationChannelConfig = (output, context) => {
|
|
@@ -3054,7 +3054,7 @@ const deserializeAws_restJson1NotificationChannelConfig = (output, context) => {
|
|
|
3054
3054
|
};
|
|
3055
3055
|
const deserializeAws_restJson1OpsCenterIntegration = (output, context) => {
|
|
3056
3056
|
return {
|
|
3057
|
-
OptInStatus: smithy_client_1.expectString(output.OptInStatus),
|
|
3057
|
+
OptInStatus: (0, smithy_client_1.expectString)(output.OptInStatus),
|
|
3058
3058
|
};
|
|
3059
3059
|
};
|
|
3060
3060
|
const deserializeAws_restJson1PerformanceInsightsMetricDimensionGroup = (output, context) => {
|
|
@@ -3062,8 +3062,8 @@ const deserializeAws_restJson1PerformanceInsightsMetricDimensionGroup = (output,
|
|
|
3062
3062
|
Dimensions: output.Dimensions !== undefined && output.Dimensions !== null
|
|
3063
3063
|
? deserializeAws_restJson1PerformanceInsightsMetricDimensions(output.Dimensions, context)
|
|
3064
3064
|
: undefined,
|
|
3065
|
-
Group: smithy_client_1.expectString(output.Group),
|
|
3066
|
-
Limit: smithy_client_1.expectInt32(output.Limit),
|
|
3065
|
+
Group: (0, smithy_client_1.expectString)(output.Group),
|
|
3066
|
+
Limit: (0, smithy_client_1.expectInt32)(output.Limit),
|
|
3067
3067
|
};
|
|
3068
3068
|
};
|
|
3069
3069
|
const deserializeAws_restJson1PerformanceInsightsMetricDimensions = (output, context) => {
|
|
@@ -3073,7 +3073,7 @@ const deserializeAws_restJson1PerformanceInsightsMetricDimensions = (output, con
|
|
|
3073
3073
|
if (entry === null) {
|
|
3074
3074
|
return null;
|
|
3075
3075
|
}
|
|
3076
|
-
return smithy_client_1.expectString(entry);
|
|
3076
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3077
3077
|
});
|
|
3078
3078
|
return retVal;
|
|
3079
3079
|
};
|
|
@@ -3084,7 +3084,7 @@ const deserializeAws_restJson1PerformanceInsightsMetricFilterMap = (output, cont
|
|
|
3084
3084
|
}
|
|
3085
3085
|
return {
|
|
3086
3086
|
...acc,
|
|
3087
|
-
[key]: smithy_client_1.expectString(value),
|
|
3087
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
3088
3088
|
};
|
|
3089
3089
|
}, {});
|
|
3090
3090
|
};
|
|
@@ -3096,12 +3096,12 @@ const deserializeAws_restJson1PerformanceInsightsMetricQuery = (output, context)
|
|
|
3096
3096
|
GroupBy: output.GroupBy !== undefined && output.GroupBy !== null
|
|
3097
3097
|
? deserializeAws_restJson1PerformanceInsightsMetricDimensionGroup(output.GroupBy, context)
|
|
3098
3098
|
: undefined,
|
|
3099
|
-
Metric: smithy_client_1.expectString(output.Metric),
|
|
3099
|
+
Metric: (0, smithy_client_1.expectString)(output.Metric),
|
|
3100
3100
|
};
|
|
3101
3101
|
};
|
|
3102
3102
|
const deserializeAws_restJson1PerformanceInsightsMetricsDetail = (output, context) => {
|
|
3103
3103
|
return {
|
|
3104
|
-
MetricDisplayName: smithy_client_1.expectString(output.MetricDisplayName),
|
|
3104
|
+
MetricDisplayName: (0, smithy_client_1.expectString)(output.MetricDisplayName),
|
|
3105
3105
|
MetricQuery: output.MetricQuery !== undefined && output.MetricQuery !== null
|
|
3106
3106
|
? deserializeAws_restJson1PerformanceInsightsMetricQuery(output.MetricQuery, context)
|
|
3107
3107
|
: undefined,
|
|
@@ -3114,7 +3114,7 @@ const deserializeAws_restJson1PerformanceInsightsMetricsDetail = (output, contex
|
|
|
3114
3114
|
StatsAtBaseline: output.StatsAtBaseline !== undefined && output.StatsAtBaseline !== null
|
|
3115
3115
|
? deserializeAws_restJson1PerformanceInsightsStats(output.StatsAtBaseline, context)
|
|
3116
3116
|
: undefined,
|
|
3117
|
-
Unit: smithy_client_1.expectString(output.Unit),
|
|
3117
|
+
Unit: (0, smithy_client_1.expectString)(output.Unit),
|
|
3118
3118
|
};
|
|
3119
3119
|
};
|
|
3120
3120
|
const deserializeAws_restJson1PerformanceInsightsMetricsDetails = (output, context) => {
|
|
@@ -3143,7 +3143,7 @@ const deserializeAws_restJson1PerformanceInsightsReferenceData = (output, contex
|
|
|
3143
3143
|
ComparisonValues: output.ComparisonValues !== undefined && output.ComparisonValues !== null
|
|
3144
3144
|
? deserializeAws_restJson1PerformanceInsightsReferenceComparisonValues(output.ComparisonValues, context)
|
|
3145
3145
|
: undefined,
|
|
3146
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
3146
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3147
3147
|
};
|
|
3148
3148
|
};
|
|
3149
3149
|
const deserializeAws_restJson1PerformanceInsightsReferenceDataList = (output, context) => {
|
|
@@ -3166,13 +3166,13 @@ const deserializeAws_restJson1PerformanceInsightsReferenceMetric = (output, cont
|
|
|
3166
3166
|
};
|
|
3167
3167
|
const deserializeAws_restJson1PerformanceInsightsReferenceScalar = (output, context) => {
|
|
3168
3168
|
return {
|
|
3169
|
-
Value: smithy_client_1.limitedParseDouble(output.Value),
|
|
3169
|
+
Value: (0, smithy_client_1.limitedParseDouble)(output.Value),
|
|
3170
3170
|
};
|
|
3171
3171
|
};
|
|
3172
3172
|
const deserializeAws_restJson1PerformanceInsightsStat = (output, context) => {
|
|
3173
3173
|
return {
|
|
3174
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
3175
|
-
Value: smithy_client_1.limitedParseDouble(output.Value),
|
|
3174
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3175
|
+
Value: (0, smithy_client_1.limitedParseDouble)(output.Value),
|
|
3176
3176
|
};
|
|
3177
3177
|
};
|
|
3178
3178
|
const deserializeAws_restJson1PerformanceInsightsStats = (output, context) => {
|
|
@@ -3189,10 +3189,10 @@ const deserializeAws_restJson1PerformanceInsightsStats = (output, context) => {
|
|
|
3189
3189
|
const deserializeAws_restJson1PredictionTimeRange = (output, context) => {
|
|
3190
3190
|
return {
|
|
3191
3191
|
EndTime: output.EndTime !== undefined && output.EndTime !== null
|
|
3192
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.EndTime)))
|
|
3192
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime)))
|
|
3193
3193
|
: undefined,
|
|
3194
3194
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
3195
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartTime)))
|
|
3195
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime)))
|
|
3196
3196
|
: undefined,
|
|
3197
3197
|
};
|
|
3198
3198
|
};
|
|
@@ -3218,25 +3218,25 @@ const deserializeAws_restJson1ProactiveAnomaly = (output, context) => {
|
|
|
3218
3218
|
AnomalyTimeRange: output.AnomalyTimeRange !== undefined && output.AnomalyTimeRange !== null
|
|
3219
3219
|
? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
|
|
3220
3220
|
: undefined,
|
|
3221
|
-
AssociatedInsightId: smithy_client_1.expectString(output.AssociatedInsightId),
|
|
3222
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
3223
|
-
Limit: smithy_client_1.limitedParseDouble(output.Limit),
|
|
3221
|
+
AssociatedInsightId: (0, smithy_client_1.expectString)(output.AssociatedInsightId),
|
|
3222
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3223
|
+
Limit: (0, smithy_client_1.limitedParseDouble)(output.Limit),
|
|
3224
3224
|
PredictionTimeRange: output.PredictionTimeRange !== undefined && output.PredictionTimeRange !== null
|
|
3225
3225
|
? deserializeAws_restJson1PredictionTimeRange(output.PredictionTimeRange, context)
|
|
3226
3226
|
: undefined,
|
|
3227
3227
|
ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
|
|
3228
3228
|
? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
|
|
3229
3229
|
: undefined,
|
|
3230
|
-
Severity: smithy_client_1.expectString(output.Severity),
|
|
3230
|
+
Severity: (0, smithy_client_1.expectString)(output.Severity),
|
|
3231
3231
|
SourceDetails: output.SourceDetails !== undefined && output.SourceDetails !== null
|
|
3232
3232
|
? deserializeAws_restJson1AnomalySourceDetails(output.SourceDetails, context)
|
|
3233
3233
|
: undefined,
|
|
3234
3234
|
SourceMetadata: output.SourceMetadata !== undefined && output.SourceMetadata !== null
|
|
3235
3235
|
? deserializeAws_restJson1AnomalySourceMetadata(output.SourceMetadata, context)
|
|
3236
3236
|
: undefined,
|
|
3237
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
3237
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3238
3238
|
UpdateTime: output.UpdateTime !== undefined && output.UpdateTime !== null
|
|
3239
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdateTime)))
|
|
3239
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdateTime)))
|
|
3240
3240
|
: undefined,
|
|
3241
3241
|
};
|
|
3242
3242
|
};
|
|
@@ -3251,45 +3251,45 @@ const deserializeAws_restJson1ProactiveAnomalySummary = (output, context) => {
|
|
|
3251
3251
|
AnomalyTimeRange: output.AnomalyTimeRange !== undefined && output.AnomalyTimeRange !== null
|
|
3252
3252
|
? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
|
|
3253
3253
|
: undefined,
|
|
3254
|
-
AssociatedInsightId: smithy_client_1.expectString(output.AssociatedInsightId),
|
|
3255
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
3256
|
-
Limit: smithy_client_1.limitedParseDouble(output.Limit),
|
|
3254
|
+
AssociatedInsightId: (0, smithy_client_1.expectString)(output.AssociatedInsightId),
|
|
3255
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3256
|
+
Limit: (0, smithy_client_1.limitedParseDouble)(output.Limit),
|
|
3257
3257
|
PredictionTimeRange: output.PredictionTimeRange !== undefined && output.PredictionTimeRange !== null
|
|
3258
3258
|
? deserializeAws_restJson1PredictionTimeRange(output.PredictionTimeRange, context)
|
|
3259
3259
|
: undefined,
|
|
3260
3260
|
ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
|
|
3261
3261
|
? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
|
|
3262
3262
|
: undefined,
|
|
3263
|
-
Severity: smithy_client_1.expectString(output.Severity),
|
|
3263
|
+
Severity: (0, smithy_client_1.expectString)(output.Severity),
|
|
3264
3264
|
SourceDetails: output.SourceDetails !== undefined && output.SourceDetails !== null
|
|
3265
3265
|
? deserializeAws_restJson1AnomalySourceDetails(output.SourceDetails, context)
|
|
3266
3266
|
: undefined,
|
|
3267
3267
|
SourceMetadata: output.SourceMetadata !== undefined && output.SourceMetadata !== null
|
|
3268
3268
|
? deserializeAws_restJson1AnomalySourceMetadata(output.SourceMetadata, context)
|
|
3269
3269
|
: undefined,
|
|
3270
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
3270
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3271
3271
|
UpdateTime: output.UpdateTime !== undefined && output.UpdateTime !== null
|
|
3272
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.UpdateTime)))
|
|
3272
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.UpdateTime)))
|
|
3273
3273
|
: undefined,
|
|
3274
3274
|
};
|
|
3275
3275
|
};
|
|
3276
3276
|
const deserializeAws_restJson1ProactiveInsight = (output, context) => {
|
|
3277
3277
|
return {
|
|
3278
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
3279
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
3278
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3279
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3280
3280
|
InsightTimeRange: output.InsightTimeRange !== undefined && output.InsightTimeRange !== null
|
|
3281
3281
|
? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
|
|
3282
3282
|
: undefined,
|
|
3283
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
3283
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3284
3284
|
PredictionTimeRange: output.PredictionTimeRange !== undefined && output.PredictionTimeRange !== null
|
|
3285
3285
|
? deserializeAws_restJson1PredictionTimeRange(output.PredictionTimeRange, context)
|
|
3286
3286
|
: undefined,
|
|
3287
3287
|
ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
|
|
3288
3288
|
? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
|
|
3289
3289
|
: undefined,
|
|
3290
|
-
Severity: smithy_client_1.expectString(output.Severity),
|
|
3291
|
-
SsmOpsItemId: smithy_client_1.expectString(output.SsmOpsItemId),
|
|
3292
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
3290
|
+
Severity: (0, smithy_client_1.expectString)(output.Severity),
|
|
3291
|
+
SsmOpsItemId: (0, smithy_client_1.expectString)(output.SsmOpsItemId),
|
|
3292
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3293
3293
|
};
|
|
3294
3294
|
};
|
|
3295
3295
|
const deserializeAws_restJson1ProactiveInsights = (output, context) => {
|
|
@@ -3308,11 +3308,11 @@ const deserializeAws_restJson1ProactiveInsightSummary = (output, context) => {
|
|
|
3308
3308
|
AssociatedResourceArns: output.AssociatedResourceArns !== undefined && output.AssociatedResourceArns !== null
|
|
3309
3309
|
? deserializeAws_restJson1AssociatedResourceArns(output.AssociatedResourceArns, context)
|
|
3310
3310
|
: undefined,
|
|
3311
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
3311
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3312
3312
|
InsightTimeRange: output.InsightTimeRange !== undefined && output.InsightTimeRange !== null
|
|
3313
3313
|
? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
|
|
3314
3314
|
: undefined,
|
|
3315
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
3315
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3316
3316
|
PredictionTimeRange: output.PredictionTimeRange !== undefined && output.PredictionTimeRange !== null
|
|
3317
3317
|
? deserializeAws_restJson1PredictionTimeRange(output.PredictionTimeRange, context)
|
|
3318
3318
|
: undefined,
|
|
@@ -3322,8 +3322,8 @@ const deserializeAws_restJson1ProactiveInsightSummary = (output, context) => {
|
|
|
3322
3322
|
ServiceCollection: output.ServiceCollection !== undefined && output.ServiceCollection !== null
|
|
3323
3323
|
? deserializeAws_restJson1ServiceCollection(output.ServiceCollection, context)
|
|
3324
3324
|
: undefined,
|
|
3325
|
-
Severity: smithy_client_1.expectString(output.Severity),
|
|
3326
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
3325
|
+
Severity: (0, smithy_client_1.expectString)(output.Severity),
|
|
3326
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3327
3327
|
};
|
|
3328
3328
|
};
|
|
3329
3329
|
const deserializeAws_restJson1ProactiveOrganizationInsights = (output, context) => {
|
|
@@ -3339,13 +3339,13 @@ const deserializeAws_restJson1ProactiveOrganizationInsights = (output, context)
|
|
|
3339
3339
|
};
|
|
3340
3340
|
const deserializeAws_restJson1ProactiveOrganizationInsightSummary = (output, context) => {
|
|
3341
3341
|
return {
|
|
3342
|
-
AccountId: smithy_client_1.expectString(output.AccountId),
|
|
3343
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
3342
|
+
AccountId: (0, smithy_client_1.expectString)(output.AccountId),
|
|
3343
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3344
3344
|
InsightTimeRange: output.InsightTimeRange !== undefined && output.InsightTimeRange !== null
|
|
3345
3345
|
? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
|
|
3346
3346
|
: undefined,
|
|
3347
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
3348
|
-
OrganizationalUnitId: smithy_client_1.expectString(output.OrganizationalUnitId),
|
|
3347
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3348
|
+
OrganizationalUnitId: (0, smithy_client_1.expectString)(output.OrganizationalUnitId),
|
|
3349
3349
|
PredictionTimeRange: output.PredictionTimeRange !== undefined && output.PredictionTimeRange !== null
|
|
3350
3350
|
? deserializeAws_restJson1PredictionTimeRange(output.PredictionTimeRange, context)
|
|
3351
3351
|
: undefined,
|
|
@@ -3355,8 +3355,8 @@ const deserializeAws_restJson1ProactiveOrganizationInsightSummary = (output, con
|
|
|
3355
3355
|
ServiceCollection: output.ServiceCollection !== undefined && output.ServiceCollection !== null
|
|
3356
3356
|
? deserializeAws_restJson1ServiceCollection(output.ServiceCollection, context)
|
|
3357
3357
|
: undefined,
|
|
3358
|
-
Severity: smithy_client_1.expectString(output.Severity),
|
|
3359
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
3358
|
+
Severity: (0, smithy_client_1.expectString)(output.Severity),
|
|
3359
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3360
3360
|
};
|
|
3361
3361
|
};
|
|
3362
3362
|
const deserializeAws_restJson1ReactiveAnomalies = (output, context) => {
|
|
@@ -3381,20 +3381,20 @@ const deserializeAws_restJson1ReactiveAnomaly = (output, context) => {
|
|
|
3381
3381
|
AnomalyTimeRange: output.AnomalyTimeRange !== undefined && output.AnomalyTimeRange !== null
|
|
3382
3382
|
? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
|
|
3383
3383
|
: undefined,
|
|
3384
|
-
AssociatedInsightId: smithy_client_1.expectString(output.AssociatedInsightId),
|
|
3385
|
-
CausalAnomalyId: smithy_client_1.expectString(output.CausalAnomalyId),
|
|
3386
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
3387
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
3388
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
3384
|
+
AssociatedInsightId: (0, smithy_client_1.expectString)(output.AssociatedInsightId),
|
|
3385
|
+
CausalAnomalyId: (0, smithy_client_1.expectString)(output.CausalAnomalyId),
|
|
3386
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3387
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3388
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3389
3389
|
ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
|
|
3390
3390
|
? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
|
|
3391
3391
|
: undefined,
|
|
3392
|
-
Severity: smithy_client_1.expectString(output.Severity),
|
|
3392
|
+
Severity: (0, smithy_client_1.expectString)(output.Severity),
|
|
3393
3393
|
SourceDetails: output.SourceDetails !== undefined && output.SourceDetails !== null
|
|
3394
3394
|
? deserializeAws_restJson1AnomalySourceDetails(output.SourceDetails, context)
|
|
3395
3395
|
: undefined,
|
|
3396
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
3397
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
3396
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3397
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3398
3398
|
};
|
|
3399
3399
|
};
|
|
3400
3400
|
const deserializeAws_restJson1ReactiveAnomalySummary = (output, context) => {
|
|
@@ -3408,36 +3408,36 @@ const deserializeAws_restJson1ReactiveAnomalySummary = (output, context) => {
|
|
|
3408
3408
|
AnomalyTimeRange: output.AnomalyTimeRange !== undefined && output.AnomalyTimeRange !== null
|
|
3409
3409
|
? deserializeAws_restJson1AnomalyTimeRange(output.AnomalyTimeRange, context)
|
|
3410
3410
|
: undefined,
|
|
3411
|
-
AssociatedInsightId: smithy_client_1.expectString(output.AssociatedInsightId),
|
|
3412
|
-
CausalAnomalyId: smithy_client_1.expectString(output.CausalAnomalyId),
|
|
3413
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
3414
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
3415
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
3411
|
+
AssociatedInsightId: (0, smithy_client_1.expectString)(output.AssociatedInsightId),
|
|
3412
|
+
CausalAnomalyId: (0, smithy_client_1.expectString)(output.CausalAnomalyId),
|
|
3413
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3414
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3415
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3416
3416
|
ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
|
|
3417
3417
|
? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
|
|
3418
3418
|
: undefined,
|
|
3419
|
-
Severity: smithy_client_1.expectString(output.Severity),
|
|
3419
|
+
Severity: (0, smithy_client_1.expectString)(output.Severity),
|
|
3420
3420
|
SourceDetails: output.SourceDetails !== undefined && output.SourceDetails !== null
|
|
3421
3421
|
? deserializeAws_restJson1AnomalySourceDetails(output.SourceDetails, context)
|
|
3422
3422
|
: undefined,
|
|
3423
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
3424
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
3423
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3424
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3425
3425
|
};
|
|
3426
3426
|
};
|
|
3427
3427
|
const deserializeAws_restJson1ReactiveInsight = (output, context) => {
|
|
3428
3428
|
return {
|
|
3429
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
3430
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
3429
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3430
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3431
3431
|
InsightTimeRange: output.InsightTimeRange !== undefined && output.InsightTimeRange !== null
|
|
3432
3432
|
? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
|
|
3433
3433
|
: undefined,
|
|
3434
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
3434
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3435
3435
|
ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
|
|
3436
3436
|
? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
|
|
3437
3437
|
: undefined,
|
|
3438
|
-
Severity: smithy_client_1.expectString(output.Severity),
|
|
3439
|
-
SsmOpsItemId: smithy_client_1.expectString(output.SsmOpsItemId),
|
|
3440
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
3438
|
+
Severity: (0, smithy_client_1.expectString)(output.Severity),
|
|
3439
|
+
SsmOpsItemId: (0, smithy_client_1.expectString)(output.SsmOpsItemId),
|
|
3440
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3441
3441
|
};
|
|
3442
3442
|
};
|
|
3443
3443
|
const deserializeAws_restJson1ReactiveInsights = (output, context) => {
|
|
@@ -3456,19 +3456,19 @@ const deserializeAws_restJson1ReactiveInsightSummary = (output, context) => {
|
|
|
3456
3456
|
AssociatedResourceArns: output.AssociatedResourceArns !== undefined && output.AssociatedResourceArns !== null
|
|
3457
3457
|
? deserializeAws_restJson1AssociatedResourceArns(output.AssociatedResourceArns, context)
|
|
3458
3458
|
: undefined,
|
|
3459
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
3459
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3460
3460
|
InsightTimeRange: output.InsightTimeRange !== undefined && output.InsightTimeRange !== null
|
|
3461
3461
|
? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
|
|
3462
3462
|
: undefined,
|
|
3463
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
3463
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3464
3464
|
ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
|
|
3465
3465
|
? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
|
|
3466
3466
|
: undefined,
|
|
3467
3467
|
ServiceCollection: output.ServiceCollection !== undefined && output.ServiceCollection !== null
|
|
3468
3468
|
? deserializeAws_restJson1ServiceCollection(output.ServiceCollection, context)
|
|
3469
3469
|
: undefined,
|
|
3470
|
-
Severity: smithy_client_1.expectString(output.Severity),
|
|
3471
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
3470
|
+
Severity: (0, smithy_client_1.expectString)(output.Severity),
|
|
3471
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3472
3472
|
};
|
|
3473
3473
|
};
|
|
3474
3474
|
const deserializeAws_restJson1ReactiveOrganizationInsights = (output, context) => {
|
|
@@ -3484,30 +3484,30 @@ const deserializeAws_restJson1ReactiveOrganizationInsights = (output, context) =
|
|
|
3484
3484
|
};
|
|
3485
3485
|
const deserializeAws_restJson1ReactiveOrganizationInsightSummary = (output, context) => {
|
|
3486
3486
|
return {
|
|
3487
|
-
AccountId: smithy_client_1.expectString(output.AccountId),
|
|
3488
|
-
Id: smithy_client_1.expectString(output.Id),
|
|
3487
|
+
AccountId: (0, smithy_client_1.expectString)(output.AccountId),
|
|
3488
|
+
Id: (0, smithy_client_1.expectString)(output.Id),
|
|
3489
3489
|
InsightTimeRange: output.InsightTimeRange !== undefined && output.InsightTimeRange !== null
|
|
3490
3490
|
? deserializeAws_restJson1InsightTimeRange(output.InsightTimeRange, context)
|
|
3491
3491
|
: undefined,
|
|
3492
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
3493
|
-
OrganizationalUnitId: smithy_client_1.expectString(output.OrganizationalUnitId),
|
|
3492
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3493
|
+
OrganizationalUnitId: (0, smithy_client_1.expectString)(output.OrganizationalUnitId),
|
|
3494
3494
|
ResourceCollection: output.ResourceCollection !== undefined && output.ResourceCollection !== null
|
|
3495
3495
|
? deserializeAws_restJson1ResourceCollection(output.ResourceCollection, context)
|
|
3496
3496
|
: undefined,
|
|
3497
3497
|
ServiceCollection: output.ServiceCollection !== undefined && output.ServiceCollection !== null
|
|
3498
3498
|
? deserializeAws_restJson1ServiceCollection(output.ServiceCollection, context)
|
|
3499
3499
|
: undefined,
|
|
3500
|
-
Severity: smithy_client_1.expectString(output.Severity),
|
|
3501
|
-
Status: smithy_client_1.expectString(output.Status),
|
|
3500
|
+
Severity: (0, smithy_client_1.expectString)(output.Severity),
|
|
3501
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
3502
3502
|
};
|
|
3503
3503
|
};
|
|
3504
3504
|
const deserializeAws_restJson1Recommendation = (output, context) => {
|
|
3505
3505
|
return {
|
|
3506
|
-
Category: smithy_client_1.expectString(output.Category),
|
|
3507
|
-
Description: smithy_client_1.expectString(output.Description),
|
|
3508
|
-
Link: smithy_client_1.expectString(output.Link),
|
|
3509
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
3510
|
-
Reason: smithy_client_1.expectString(output.Reason),
|
|
3506
|
+
Category: (0, smithy_client_1.expectString)(output.Category),
|
|
3507
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3508
|
+
Link: (0, smithy_client_1.expectString)(output.Link),
|
|
3509
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3510
|
+
Reason: (0, smithy_client_1.expectString)(output.Reason),
|
|
3511
3511
|
RelatedAnomalies: output.RelatedAnomalies !== undefined && output.RelatedAnomalies !== null
|
|
3512
3512
|
? deserializeAws_restJson1RecommendationRelatedAnomalies(output.RelatedAnomalies, context)
|
|
3513
3513
|
: undefined,
|
|
@@ -3529,7 +3529,7 @@ const deserializeAws_restJson1RecommendationRelatedAnomalies = (output, context)
|
|
|
3529
3529
|
};
|
|
3530
3530
|
const deserializeAws_restJson1RecommendationRelatedAnomaly = (output, context) => {
|
|
3531
3531
|
return {
|
|
3532
|
-
AnomalyId: smithy_client_1.expectString(output.AnomalyId),
|
|
3532
|
+
AnomalyId: (0, smithy_client_1.expectString)(output.AnomalyId),
|
|
3533
3533
|
Resources: output.Resources !== undefined && output.Resources !== null
|
|
3534
3534
|
? deserializeAws_restJson1RecommendationRelatedAnomalyResources(output.Resources, context)
|
|
3535
3535
|
: undefined,
|
|
@@ -3540,8 +3540,8 @@ const deserializeAws_restJson1RecommendationRelatedAnomaly = (output, context) =
|
|
|
3540
3540
|
};
|
|
3541
3541
|
const deserializeAws_restJson1RecommendationRelatedAnomalyResource = (output, context) => {
|
|
3542
3542
|
return {
|
|
3543
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
3544
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
3543
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3544
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3545
3545
|
};
|
|
3546
3546
|
};
|
|
3547
3547
|
const deserializeAws_restJson1RecommendationRelatedAnomalyResources = (output, context) => {
|
|
@@ -3564,8 +3564,8 @@ const deserializeAws_restJson1RecommendationRelatedAnomalySourceDetail = (output
|
|
|
3564
3564
|
};
|
|
3565
3565
|
const deserializeAws_restJson1RecommendationRelatedCloudWatchMetricsSourceDetail = (output, context) => {
|
|
3566
3566
|
return {
|
|
3567
|
-
MetricName: smithy_client_1.expectString(output.MetricName),
|
|
3568
|
-
Namespace: smithy_client_1.expectString(output.Namespace),
|
|
3567
|
+
MetricName: (0, smithy_client_1.expectString)(output.MetricName),
|
|
3568
|
+
Namespace: (0, smithy_client_1.expectString)(output.Namespace),
|
|
3569
3569
|
};
|
|
3570
3570
|
};
|
|
3571
3571
|
const deserializeAws_restJson1RecommendationRelatedCloudWatchMetricsSourceDetails = (output, context) => {
|
|
@@ -3581,7 +3581,7 @@ const deserializeAws_restJson1RecommendationRelatedCloudWatchMetricsSourceDetail
|
|
|
3581
3581
|
};
|
|
3582
3582
|
const deserializeAws_restJson1RecommendationRelatedEvent = (output, context) => {
|
|
3583
3583
|
return {
|
|
3584
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
3584
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3585
3585
|
Resources: output.Resources !== undefined && output.Resources !== null
|
|
3586
3586
|
? deserializeAws_restJson1RecommendationRelatedEventResources(output.Resources, context)
|
|
3587
3587
|
: undefined,
|
|
@@ -3589,8 +3589,8 @@ const deserializeAws_restJson1RecommendationRelatedEvent = (output, context) =>
|
|
|
3589
3589
|
};
|
|
3590
3590
|
const deserializeAws_restJson1RecommendationRelatedEventResource = (output, context) => {
|
|
3591
3591
|
return {
|
|
3592
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
3593
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
3592
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3593
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3594
3594
|
};
|
|
3595
3595
|
};
|
|
3596
3596
|
const deserializeAws_restJson1RecommendationRelatedEventResources = (output, context) => {
|
|
@@ -3669,7 +3669,7 @@ const deserializeAws_restJson1ServiceHealth = (output, context) => {
|
|
|
3669
3669
|
Insight: output.Insight !== undefined && output.Insight !== null
|
|
3670
3670
|
? deserializeAws_restJson1ServiceInsightHealth(output.Insight, context)
|
|
3671
3671
|
: undefined,
|
|
3672
|
-
ServiceName: smithy_client_1.expectString(output.ServiceName),
|
|
3672
|
+
ServiceName: (0, smithy_client_1.expectString)(output.ServiceName),
|
|
3673
3673
|
};
|
|
3674
3674
|
};
|
|
3675
3675
|
const deserializeAws_restJson1ServiceHealths = (output, context) => {
|
|
@@ -3685,8 +3685,8 @@ const deserializeAws_restJson1ServiceHealths = (output, context) => {
|
|
|
3685
3685
|
};
|
|
3686
3686
|
const deserializeAws_restJson1ServiceInsightHealth = (output, context) => {
|
|
3687
3687
|
return {
|
|
3688
|
-
OpenProactiveInsights: smithy_client_1.expectInt32(output.OpenProactiveInsights),
|
|
3689
|
-
OpenReactiveInsights: smithy_client_1.expectInt32(output.OpenReactiveInsights),
|
|
3688
|
+
OpenProactiveInsights: (0, smithy_client_1.expectInt32)(output.OpenProactiveInsights),
|
|
3689
|
+
OpenReactiveInsights: (0, smithy_client_1.expectInt32)(output.OpenReactiveInsights),
|
|
3690
3690
|
};
|
|
3691
3691
|
};
|
|
3692
3692
|
const deserializeAws_restJson1ServiceIntegrationConfig = (output, context) => {
|
|
@@ -3703,17 +3703,17 @@ const deserializeAws_restJson1ServiceNames = (output, context) => {
|
|
|
3703
3703
|
if (entry === null) {
|
|
3704
3704
|
return null;
|
|
3705
3705
|
}
|
|
3706
|
-
return smithy_client_1.expectString(entry);
|
|
3706
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3707
3707
|
});
|
|
3708
3708
|
return retVal;
|
|
3709
3709
|
};
|
|
3710
3710
|
const deserializeAws_restJson1ServiceResourceCost = (output, context) => {
|
|
3711
3711
|
return {
|
|
3712
|
-
Cost: smithy_client_1.limitedParseDouble(output.Cost),
|
|
3713
|
-
Count: smithy_client_1.expectInt32(output.Count),
|
|
3714
|
-
State: smithy_client_1.expectString(output.State),
|
|
3715
|
-
Type: smithy_client_1.expectString(output.Type),
|
|
3716
|
-
UnitCost: smithy_client_1.limitedParseDouble(output.UnitCost),
|
|
3712
|
+
Cost: (0, smithy_client_1.limitedParseDouble)(output.Cost),
|
|
3713
|
+
Count: (0, smithy_client_1.expectInt32)(output.Count),
|
|
3714
|
+
State: (0, smithy_client_1.expectString)(output.State),
|
|
3715
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3716
|
+
UnitCost: (0, smithy_client_1.limitedParseDouble)(output.UnitCost),
|
|
3717
3717
|
};
|
|
3718
3718
|
};
|
|
3719
3719
|
const deserializeAws_restJson1ServiceResourceCosts = (output, context) => {
|
|
@@ -3729,7 +3729,7 @@ const deserializeAws_restJson1ServiceResourceCosts = (output, context) => {
|
|
|
3729
3729
|
};
|
|
3730
3730
|
const deserializeAws_restJson1SnsChannelConfig = (output, context) => {
|
|
3731
3731
|
return {
|
|
3732
|
-
TopicArn: smithy_client_1.expectString(output.TopicArn),
|
|
3732
|
+
TopicArn: (0, smithy_client_1.expectString)(output.TopicArn),
|
|
3733
3733
|
};
|
|
3734
3734
|
};
|
|
3735
3735
|
const deserializeAws_restJson1StackNames = (output, context) => {
|
|
@@ -3739,13 +3739,13 @@ const deserializeAws_restJson1StackNames = (output, context) => {
|
|
|
3739
3739
|
if (entry === null) {
|
|
3740
3740
|
return null;
|
|
3741
3741
|
}
|
|
3742
|
-
return smithy_client_1.expectString(entry);
|
|
3742
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3743
3743
|
});
|
|
3744
3744
|
return retVal;
|
|
3745
3745
|
};
|
|
3746
3746
|
const deserializeAws_restJson1TagCollection = (output, context) => {
|
|
3747
3747
|
return {
|
|
3748
|
-
AppBoundaryKey: smithy_client_1.expectString(output.AppBoundaryKey),
|
|
3748
|
+
AppBoundaryKey: (0, smithy_client_1.expectString)(output.AppBoundaryKey),
|
|
3749
3749
|
TagValues: output.TagValues !== undefined && output.TagValues !== null
|
|
3750
3750
|
? deserializeAws_restJson1TagValues(output.TagValues, context)
|
|
3751
3751
|
: undefined,
|
|
@@ -3753,7 +3753,7 @@ const deserializeAws_restJson1TagCollection = (output, context) => {
|
|
|
3753
3753
|
};
|
|
3754
3754
|
const deserializeAws_restJson1TagCollectionFilter = (output, context) => {
|
|
3755
3755
|
return {
|
|
3756
|
-
AppBoundaryKey: smithy_client_1.expectString(output.AppBoundaryKey),
|
|
3756
|
+
AppBoundaryKey: (0, smithy_client_1.expectString)(output.AppBoundaryKey),
|
|
3757
3757
|
TagValues: output.TagValues !== undefined && output.TagValues !== null
|
|
3758
3758
|
? deserializeAws_restJson1TagValues(output.TagValues, context)
|
|
3759
3759
|
: undefined,
|
|
@@ -3783,7 +3783,7 @@ const deserializeAws_restJson1TagCollections = (output, context) => {
|
|
|
3783
3783
|
};
|
|
3784
3784
|
const deserializeAws_restJson1TagCostEstimationResourceCollectionFilter = (output, context) => {
|
|
3785
3785
|
return {
|
|
3786
|
-
AppBoundaryKey: smithy_client_1.expectString(output.AppBoundaryKey),
|
|
3786
|
+
AppBoundaryKey: (0, smithy_client_1.expectString)(output.AppBoundaryKey),
|
|
3787
3787
|
TagValues: output.TagValues !== undefined && output.TagValues !== null
|
|
3788
3788
|
? deserializeAws_restJson1CostEstimationTagValues(output.TagValues, context)
|
|
3789
3789
|
: undefined,
|
|
@@ -3802,11 +3802,11 @@ const deserializeAws_restJson1TagCostEstimationResourceCollectionFilters = (outp
|
|
|
3802
3802
|
};
|
|
3803
3803
|
const deserializeAws_restJson1TagHealth = (output, context) => {
|
|
3804
3804
|
return {
|
|
3805
|
-
AppBoundaryKey: smithy_client_1.expectString(output.AppBoundaryKey),
|
|
3805
|
+
AppBoundaryKey: (0, smithy_client_1.expectString)(output.AppBoundaryKey),
|
|
3806
3806
|
Insight: output.Insight !== undefined && output.Insight !== null
|
|
3807
3807
|
? deserializeAws_restJson1InsightHealth(output.Insight, context)
|
|
3808
3808
|
: undefined,
|
|
3809
|
-
TagValue: smithy_client_1.expectString(output.TagValue),
|
|
3809
|
+
TagValue: (0, smithy_client_1.expectString)(output.TagValue),
|
|
3810
3810
|
};
|
|
3811
3811
|
};
|
|
3812
3812
|
const deserializeAws_restJson1TagHealths = (output, context) => {
|
|
@@ -3827,15 +3827,15 @@ const deserializeAws_restJson1TagValues = (output, context) => {
|
|
|
3827
3827
|
if (entry === null) {
|
|
3828
3828
|
return null;
|
|
3829
3829
|
}
|
|
3830
|
-
return smithy_client_1.expectString(entry);
|
|
3830
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3831
3831
|
});
|
|
3832
3832
|
return retVal;
|
|
3833
3833
|
};
|
|
3834
3834
|
const deserializeAws_restJson1TimestampMetricValuePair = (output, context) => {
|
|
3835
3835
|
return {
|
|
3836
|
-
MetricValue: smithy_client_1.limitedParseDouble(output.MetricValue),
|
|
3836
|
+
MetricValue: (0, smithy_client_1.limitedParseDouble)(output.MetricValue),
|
|
3837
3837
|
Timestamp: output.Timestamp !== undefined && output.Timestamp !== null
|
|
3838
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.Timestamp)))
|
|
3838
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.Timestamp)))
|
|
3839
3839
|
: undefined,
|
|
3840
3840
|
};
|
|
3841
3841
|
};
|
|
@@ -3852,8 +3852,8 @@ const deserializeAws_restJson1TimestampMetricValuePairList = (output, context) =
|
|
|
3852
3852
|
};
|
|
3853
3853
|
const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
|
|
3854
3854
|
return {
|
|
3855
|
-
Message: smithy_client_1.expectString(output.Message),
|
|
3856
|
-
Name: smithy_client_1.expectString(output.Name),
|
|
3855
|
+
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
3856
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3857
3857
|
};
|
|
3858
3858
|
};
|
|
3859
3859
|
const deserializeAws_restJson1ValidationExceptionFields = (output, context) => {
|