@aws-sdk/client-codeguruprofiler 3.54.0 → 3.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist-cjs/CodeGuruProfilerClient.js +13 -13
- package/dist-cjs/commands/AddNotificationChannelsCommand.js +3 -3
- package/dist-cjs/commands/BatchGetFrameMetricDataCommand.js +3 -3
- package/dist-cjs/commands/ConfigureAgentCommand.js +3 -3
- package/dist-cjs/commands/CreateProfilingGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteProfilingGroupCommand.js +3 -3
- package/dist-cjs/commands/DescribeProfilingGroupCommand.js +3 -3
- package/dist-cjs/commands/GetFindingsReportAccountSummaryCommand.js +3 -3
- package/dist-cjs/commands/GetNotificationConfigurationCommand.js +3 -3
- package/dist-cjs/commands/GetPolicyCommand.js +3 -3
- package/dist-cjs/commands/GetProfileCommand.js +3 -3
- package/dist-cjs/commands/GetRecommendationsCommand.js +3 -3
- package/dist-cjs/commands/ListFindingsReportsCommand.js +3 -3
- package/dist-cjs/commands/ListProfileTimesCommand.js +3 -3
- package/dist-cjs/commands/ListProfilingGroupsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PostAgentProfileCommand.js +3 -3
- package/dist-cjs/commands/PutPermissionCommand.js +3 -3
- package/dist-cjs/commands/RemoveNotificationChannelCommand.js +3 -3
- package/dist-cjs/commands/RemovePermissionCommand.js +3 -3
- package/dist-cjs/commands/SubmitFeedbackCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateProfilingGroupCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +142 -142
- 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/CodeGuruProfiler.js +23 -23
- package/dist-es/pagination/GetFindingsReportAccountSummaryPaginator.js +4 -4
- package/dist-es/pagination/ListFindingsReportsPaginator.js +4 -4
- package/dist-es/pagination/ListProfileTimesPaginator.js +4 -4
- package/dist-es/pagination/ListProfilingGroupsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +23 -23
- 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
|
@@ -17,7 +17,7 @@ const serializeAws_restJson1AddNotificationChannelsCommand = async (input, conte
|
|
|
17
17
|
if (labelValue.length <= 0) {
|
|
18
18
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
19
19
|
}
|
|
20
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
20
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
21
21
|
}
|
|
22
22
|
else {
|
|
23
23
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -50,7 +50,7 @@ const serializeAws_restJson1BatchGetFrameMetricDataCommand = async (input, conte
|
|
|
50
50
|
if (labelValue.length <= 0) {
|
|
51
51
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
52
52
|
}
|
|
53
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
53
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
54
54
|
}
|
|
55
55
|
else {
|
|
56
56
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -90,7 +90,7 @@ const serializeAws_restJson1ConfigureAgentCommand = async (input, context) => {
|
|
|
90
90
|
if (labelValue.length <= 0) {
|
|
91
91
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
92
92
|
}
|
|
93
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
93
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
94
94
|
}
|
|
95
95
|
else {
|
|
96
96
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -156,7 +156,7 @@ const serializeAws_restJson1DeleteProfilingGroupCommand = async (input, context)
|
|
|
156
156
|
if (labelValue.length <= 0) {
|
|
157
157
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
158
158
|
}
|
|
159
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
159
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
160
160
|
}
|
|
161
161
|
else {
|
|
162
162
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -182,7 +182,7 @@ const serializeAws_restJson1DescribeProfilingGroupCommand = async (input, contex
|
|
|
182
182
|
if (labelValue.length <= 0) {
|
|
183
183
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
184
184
|
}
|
|
185
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
185
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
186
186
|
}
|
|
187
187
|
else {
|
|
188
188
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -231,7 +231,7 @@ const serializeAws_restJson1GetNotificationConfigurationCommand = async (input,
|
|
|
231
231
|
if (labelValue.length <= 0) {
|
|
232
232
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
233
233
|
}
|
|
234
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
234
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
235
235
|
}
|
|
236
236
|
else {
|
|
237
237
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -258,7 +258,7 @@ const serializeAws_restJson1GetPolicyCommand = async (input, context) => {
|
|
|
258
258
|
if (labelValue.length <= 0) {
|
|
259
259
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
260
260
|
}
|
|
261
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
261
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
262
262
|
}
|
|
263
263
|
else {
|
|
264
264
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -287,7 +287,7 @@ const serializeAws_restJson1GetProfileCommand = async (input, context) => {
|
|
|
287
287
|
if (labelValue.length <= 0) {
|
|
288
288
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
289
289
|
}
|
|
290
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
290
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
291
291
|
}
|
|
292
292
|
else {
|
|
293
293
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -321,7 +321,7 @@ const serializeAws_restJson1GetRecommendationsCommand = async (input, context) =
|
|
|
321
321
|
if (labelValue.length <= 0) {
|
|
322
322
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
323
323
|
}
|
|
324
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
324
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
325
325
|
}
|
|
326
326
|
else {
|
|
327
327
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -354,7 +354,7 @@ const serializeAws_restJson1ListFindingsReportsCommand = async (input, context)
|
|
|
354
354
|
if (labelValue.length <= 0) {
|
|
355
355
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
356
356
|
}
|
|
357
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
357
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
358
358
|
}
|
|
359
359
|
else {
|
|
360
360
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -389,7 +389,7 @@ const serializeAws_restJson1ListProfileTimesCommand = async (input, context) =>
|
|
|
389
389
|
if (labelValue.length <= 0) {
|
|
390
390
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
391
391
|
}
|
|
392
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
392
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
393
393
|
}
|
|
394
394
|
else {
|
|
395
395
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -446,7 +446,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
446
446
|
if (labelValue.length <= 0) {
|
|
447
447
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
448
448
|
}
|
|
449
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
449
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
450
450
|
}
|
|
451
451
|
else {
|
|
452
452
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -476,7 +476,7 @@ const serializeAws_restJson1PostAgentProfileCommand = async (input, context) =>
|
|
|
476
476
|
if (labelValue.length <= 0) {
|
|
477
477
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
478
478
|
}
|
|
479
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
479
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
480
480
|
}
|
|
481
481
|
else {
|
|
482
482
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -512,7 +512,7 @@ const serializeAws_restJson1PutPermissionCommand = async (input, context) => {
|
|
|
512
512
|
if (labelValue.length <= 0) {
|
|
513
513
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
514
514
|
}
|
|
515
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
515
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
516
516
|
}
|
|
517
517
|
else {
|
|
518
518
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -522,7 +522,7 @@ const serializeAws_restJson1PutPermissionCommand = async (input, context) => {
|
|
|
522
522
|
if (labelValue.length <= 0) {
|
|
523
523
|
throw new Error("Empty value provided for input HTTP label: actionGroup.");
|
|
524
524
|
}
|
|
525
|
-
resolvedPath = resolvedPath.replace("{actionGroup}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
525
|
+
resolvedPath = resolvedPath.replace("{actionGroup}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
526
526
|
}
|
|
527
527
|
else {
|
|
528
528
|
throw new Error("No value provided for input HTTP label: actionGroup.");
|
|
@@ -554,7 +554,7 @@ const serializeAws_restJson1RemoveNotificationChannelCommand = async (input, con
|
|
|
554
554
|
if (labelValue.length <= 0) {
|
|
555
555
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
556
556
|
}
|
|
557
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
557
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
558
558
|
}
|
|
559
559
|
else {
|
|
560
560
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -564,7 +564,7 @@ const serializeAws_restJson1RemoveNotificationChannelCommand = async (input, con
|
|
|
564
564
|
if (labelValue.length <= 0) {
|
|
565
565
|
throw new Error("Empty value provided for input HTTP label: channelId.");
|
|
566
566
|
}
|
|
567
|
-
resolvedPath = resolvedPath.replace("{channelId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
567
|
+
resolvedPath = resolvedPath.replace("{channelId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
568
568
|
}
|
|
569
569
|
else {
|
|
570
570
|
throw new Error("No value provided for input HTTP label: channelId.");
|
|
@@ -591,7 +591,7 @@ const serializeAws_restJson1RemovePermissionCommand = async (input, context) =>
|
|
|
591
591
|
if (labelValue.length <= 0) {
|
|
592
592
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
593
593
|
}
|
|
594
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
594
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
595
595
|
}
|
|
596
596
|
else {
|
|
597
597
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -601,7 +601,7 @@ const serializeAws_restJson1RemovePermissionCommand = async (input, context) =>
|
|
|
601
601
|
if (labelValue.length <= 0) {
|
|
602
602
|
throw new Error("Empty value provided for input HTTP label: actionGroup.");
|
|
603
603
|
}
|
|
604
|
-
resolvedPath = resolvedPath.replace("{actionGroup}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
604
|
+
resolvedPath = resolvedPath.replace("{actionGroup}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
605
605
|
}
|
|
606
606
|
else {
|
|
607
607
|
throw new Error("No value provided for input HTTP label: actionGroup.");
|
|
@@ -634,7 +634,7 @@ const serializeAws_restJson1SubmitFeedbackCommand = async (input, context) => {
|
|
|
634
634
|
if (labelValue.length <= 0) {
|
|
635
635
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
636
636
|
}
|
|
637
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
637
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
638
638
|
}
|
|
639
639
|
else {
|
|
640
640
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -644,7 +644,7 @@ const serializeAws_restJson1SubmitFeedbackCommand = async (input, context) => {
|
|
|
644
644
|
if (labelValue.length <= 0) {
|
|
645
645
|
throw new Error("Empty value provided for input HTTP label: anomalyInstanceId.");
|
|
646
646
|
}
|
|
647
|
-
resolvedPath = resolvedPath.replace("{anomalyInstanceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
647
|
+
resolvedPath = resolvedPath.replace("{anomalyInstanceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
648
648
|
}
|
|
649
649
|
else {
|
|
650
650
|
throw new Error("No value provided for input HTTP label: anomalyInstanceId.");
|
|
@@ -676,7 +676,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
676
676
|
if (labelValue.length <= 0) {
|
|
677
677
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
678
678
|
}
|
|
679
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
679
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
680
680
|
}
|
|
681
681
|
else {
|
|
682
682
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -706,7 +706,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
706
706
|
if (labelValue.length <= 0) {
|
|
707
707
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
708
708
|
}
|
|
709
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
709
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
710
710
|
}
|
|
711
711
|
else {
|
|
712
712
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -738,7 +738,7 @@ const serializeAws_restJson1UpdateProfilingGroupCommand = async (input, context)
|
|
|
738
738
|
if (labelValue.length <= 0) {
|
|
739
739
|
throw new Error("Empty value provided for input HTTP label: profilingGroupName.");
|
|
740
740
|
}
|
|
741
|
-
resolvedPath = resolvedPath.replace("{profilingGroupName}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
741
|
+
resolvedPath = resolvedPath.replace("{profilingGroupName}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
742
742
|
}
|
|
743
743
|
else {
|
|
744
744
|
throw new Error("No value provided for input HTTP label: profilingGroupName.");
|
|
@@ -769,7 +769,7 @@ const deserializeAws_restJson1AddNotificationChannelsCommand = async (output, co
|
|
|
769
769
|
$metadata: deserializeMetadata(output),
|
|
770
770
|
notificationConfiguration: undefined,
|
|
771
771
|
};
|
|
772
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
772
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
773
773
|
if (data.notificationConfiguration !== undefined && data.notificationConfiguration !== null) {
|
|
774
774
|
contents.notificationConfiguration = deserializeAws_restJson1NotificationConfiguration(data.notificationConfiguration, context);
|
|
775
775
|
}
|
|
@@ -810,7 +810,7 @@ const deserializeAws_restJson1AddNotificationChannelsCommandError = async (outpu
|
|
|
810
810
|
$fault: "client",
|
|
811
811
|
$metadata: deserializeMetadata(output),
|
|
812
812
|
});
|
|
813
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
813
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
814
814
|
}
|
|
815
815
|
};
|
|
816
816
|
const deserializeAws_restJson1BatchGetFrameMetricDataCommand = async (output, context) => {
|
|
@@ -826,9 +826,9 @@ const deserializeAws_restJson1BatchGetFrameMetricDataCommand = async (output, co
|
|
|
826
826
|
startTime: undefined,
|
|
827
827
|
unprocessedEndTimes: undefined,
|
|
828
828
|
};
|
|
829
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
829
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
830
830
|
if (data.endTime !== undefined && data.endTime !== null) {
|
|
831
|
-
contents.endTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.endTime));
|
|
831
|
+
contents.endTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.endTime));
|
|
832
832
|
}
|
|
833
833
|
if (data.endTimes !== undefined && data.endTimes !== null) {
|
|
834
834
|
contents.endTimes = deserializeAws_restJson1ListOfTimestamps(data.endTimes, context);
|
|
@@ -837,10 +837,10 @@ const deserializeAws_restJson1BatchGetFrameMetricDataCommand = async (output, co
|
|
|
837
837
|
contents.frameMetricData = deserializeAws_restJson1FrameMetricData(data.frameMetricData, context);
|
|
838
838
|
}
|
|
839
839
|
if (data.resolution !== undefined && data.resolution !== null) {
|
|
840
|
-
contents.resolution = smithy_client_1.expectString(data.resolution);
|
|
840
|
+
contents.resolution = (0, smithy_client_1.expectString)(data.resolution);
|
|
841
841
|
}
|
|
842
842
|
if (data.startTime !== undefined && data.startTime !== null) {
|
|
843
|
-
contents.startTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.startTime));
|
|
843
|
+
contents.startTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.startTime));
|
|
844
844
|
}
|
|
845
845
|
if (data.unprocessedEndTimes !== undefined && data.unprocessedEndTimes !== null) {
|
|
846
846
|
contents.unprocessedEndTimes = deserializeAws_restJson1UnprocessedEndTimeMap(data.unprocessedEndTimes, context);
|
|
@@ -876,7 +876,7 @@ const deserializeAws_restJson1BatchGetFrameMetricDataCommandError = async (outpu
|
|
|
876
876
|
$fault: "client",
|
|
877
877
|
$metadata: deserializeMetadata(output),
|
|
878
878
|
});
|
|
879
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
879
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
880
880
|
}
|
|
881
881
|
};
|
|
882
882
|
const deserializeAws_restJson1ConfigureAgentCommand = async (output, context) => {
|
|
@@ -887,7 +887,7 @@ const deserializeAws_restJson1ConfigureAgentCommand = async (output, context) =>
|
|
|
887
887
|
$metadata: deserializeMetadata(output),
|
|
888
888
|
configuration: undefined,
|
|
889
889
|
};
|
|
890
|
-
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
890
|
+
const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
|
|
891
891
|
contents.configuration = deserializeAws_restJson1AgentConfiguration(data, context);
|
|
892
892
|
return Promise.resolve(contents);
|
|
893
893
|
};
|
|
@@ -920,7 +920,7 @@ const deserializeAws_restJson1ConfigureAgentCommandError = async (output, contex
|
|
|
920
920
|
$fault: "client",
|
|
921
921
|
$metadata: deserializeMetadata(output),
|
|
922
922
|
});
|
|
923
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
923
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
924
924
|
}
|
|
925
925
|
};
|
|
926
926
|
const deserializeAws_restJson1CreateProfilingGroupCommand = async (output, context) => {
|
|
@@ -931,7 +931,7 @@ const deserializeAws_restJson1CreateProfilingGroupCommand = async (output, conte
|
|
|
931
931
|
$metadata: deserializeMetadata(output),
|
|
932
932
|
profilingGroup: undefined,
|
|
933
933
|
};
|
|
934
|
-
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
934
|
+
const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
|
|
935
935
|
contents.profilingGroup = deserializeAws_restJson1ProfilingGroupDescription(data, context);
|
|
936
936
|
return Promise.resolve(contents);
|
|
937
937
|
};
|
|
@@ -967,7 +967,7 @@ const deserializeAws_restJson1CreateProfilingGroupCommandError = async (output,
|
|
|
967
967
|
$fault: "client",
|
|
968
968
|
$metadata: deserializeMetadata(output),
|
|
969
969
|
});
|
|
970
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
970
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
971
971
|
}
|
|
972
972
|
};
|
|
973
973
|
const deserializeAws_restJson1DeleteProfilingGroupCommand = async (output, context) => {
|
|
@@ -1012,7 +1012,7 @@ const deserializeAws_restJson1DeleteProfilingGroupCommandError = async (output,
|
|
|
1012
1012
|
$fault: "client",
|
|
1013
1013
|
$metadata: deserializeMetadata(output),
|
|
1014
1014
|
});
|
|
1015
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1015
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1016
1016
|
}
|
|
1017
1017
|
};
|
|
1018
1018
|
const deserializeAws_restJson1DescribeProfilingGroupCommand = async (output, context) => {
|
|
@@ -1023,7 +1023,7 @@ const deserializeAws_restJson1DescribeProfilingGroupCommand = async (output, con
|
|
|
1023
1023
|
$metadata: deserializeMetadata(output),
|
|
1024
1024
|
profilingGroup: undefined,
|
|
1025
1025
|
};
|
|
1026
|
-
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
1026
|
+
const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
|
|
1027
1027
|
contents.profilingGroup = deserializeAws_restJson1ProfilingGroupDescription(data, context);
|
|
1028
1028
|
return Promise.resolve(contents);
|
|
1029
1029
|
};
|
|
@@ -1056,7 +1056,7 @@ const deserializeAws_restJson1DescribeProfilingGroupCommandError = async (output
|
|
|
1056
1056
|
$fault: "client",
|
|
1057
1057
|
$metadata: deserializeMetadata(output),
|
|
1058
1058
|
});
|
|
1059
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1059
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1060
1060
|
}
|
|
1061
1061
|
};
|
|
1062
1062
|
const deserializeAws_restJson1GetFindingsReportAccountSummaryCommand = async (output, context) => {
|
|
@@ -1068,9 +1068,9 @@ const deserializeAws_restJson1GetFindingsReportAccountSummaryCommand = async (ou
|
|
|
1068
1068
|
nextToken: undefined,
|
|
1069
1069
|
reportSummaries: undefined,
|
|
1070
1070
|
};
|
|
1071
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1071
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1072
1072
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1073
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1073
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1074
1074
|
}
|
|
1075
1075
|
if (data.reportSummaries !== undefined && data.reportSummaries !== null) {
|
|
1076
1076
|
contents.reportSummaries = deserializeAws_restJson1FindingsReportSummaries(data.reportSummaries, context);
|
|
@@ -1103,7 +1103,7 @@ const deserializeAws_restJson1GetFindingsReportAccountSummaryCommandError = asyn
|
|
|
1103
1103
|
$fault: "client",
|
|
1104
1104
|
$metadata: deserializeMetadata(output),
|
|
1105
1105
|
});
|
|
1106
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1106
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1107
1107
|
}
|
|
1108
1108
|
};
|
|
1109
1109
|
const deserializeAws_restJson1GetNotificationConfigurationCommand = async (output, context) => {
|
|
@@ -1114,7 +1114,7 @@ const deserializeAws_restJson1GetNotificationConfigurationCommand = async (outpu
|
|
|
1114
1114
|
$metadata: deserializeMetadata(output),
|
|
1115
1115
|
notificationConfiguration: undefined,
|
|
1116
1116
|
};
|
|
1117
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1117
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1118
1118
|
if (data.notificationConfiguration !== undefined && data.notificationConfiguration !== null) {
|
|
1119
1119
|
contents.notificationConfiguration = deserializeAws_restJson1NotificationConfiguration(data.notificationConfiguration, context);
|
|
1120
1120
|
}
|
|
@@ -1149,7 +1149,7 @@ const deserializeAws_restJson1GetNotificationConfigurationCommandError = async (
|
|
|
1149
1149
|
$fault: "client",
|
|
1150
1150
|
$metadata: deserializeMetadata(output),
|
|
1151
1151
|
});
|
|
1152
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1152
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1153
1153
|
}
|
|
1154
1154
|
};
|
|
1155
1155
|
const deserializeAws_restJson1GetPolicyCommand = async (output, context) => {
|
|
@@ -1161,12 +1161,12 @@ const deserializeAws_restJson1GetPolicyCommand = async (output, context) => {
|
|
|
1161
1161
|
policy: undefined,
|
|
1162
1162
|
revisionId: undefined,
|
|
1163
1163
|
};
|
|
1164
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1164
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1165
1165
|
if (data.policy !== undefined && data.policy !== null) {
|
|
1166
|
-
contents.policy = smithy_client_1.expectString(data.policy);
|
|
1166
|
+
contents.policy = (0, smithy_client_1.expectString)(data.policy);
|
|
1167
1167
|
}
|
|
1168
1168
|
if (data.revisionId !== undefined && data.revisionId !== null) {
|
|
1169
|
-
contents.revisionId = smithy_client_1.expectString(data.revisionId);
|
|
1169
|
+
contents.revisionId = (0, smithy_client_1.expectString)(data.revisionId);
|
|
1170
1170
|
}
|
|
1171
1171
|
return Promise.resolve(contents);
|
|
1172
1172
|
};
|
|
@@ -1196,7 +1196,7 @@ const deserializeAws_restJson1GetPolicyCommandError = async (output, context) =>
|
|
|
1196
1196
|
$fault: "client",
|
|
1197
1197
|
$metadata: deserializeMetadata(output),
|
|
1198
1198
|
});
|
|
1199
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1199
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1200
1200
|
}
|
|
1201
1201
|
};
|
|
1202
1202
|
const deserializeAws_restJson1GetProfileCommand = async (output, context) => {
|
|
@@ -1248,7 +1248,7 @@ const deserializeAws_restJson1GetProfileCommandError = async (output, context) =
|
|
|
1248
1248
|
$fault: "client",
|
|
1249
1249
|
$metadata: deserializeMetadata(output),
|
|
1250
1250
|
});
|
|
1251
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1251
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1252
1252
|
}
|
|
1253
1253
|
};
|
|
1254
1254
|
const deserializeAws_restJson1GetRecommendationsCommand = async (output, context) => {
|
|
@@ -1263,18 +1263,18 @@ const deserializeAws_restJson1GetRecommendationsCommand = async (output, context
|
|
|
1263
1263
|
profilingGroupName: undefined,
|
|
1264
1264
|
recommendations: undefined,
|
|
1265
1265
|
};
|
|
1266
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1266
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1267
1267
|
if (data.anomalies !== undefined && data.anomalies !== null) {
|
|
1268
1268
|
contents.anomalies = deserializeAws_restJson1Anomalies(data.anomalies, context);
|
|
1269
1269
|
}
|
|
1270
1270
|
if (data.profileEndTime !== undefined && data.profileEndTime !== null) {
|
|
1271
|
-
contents.profileEndTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.profileEndTime));
|
|
1271
|
+
contents.profileEndTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.profileEndTime));
|
|
1272
1272
|
}
|
|
1273
1273
|
if (data.profileStartTime !== undefined && data.profileStartTime !== null) {
|
|
1274
|
-
contents.profileStartTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(data.profileStartTime));
|
|
1274
|
+
contents.profileStartTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(data.profileStartTime));
|
|
1275
1275
|
}
|
|
1276
1276
|
if (data.profilingGroupName !== undefined && data.profilingGroupName !== null) {
|
|
1277
|
-
contents.profilingGroupName = smithy_client_1.expectString(data.profilingGroupName);
|
|
1277
|
+
contents.profilingGroupName = (0, smithy_client_1.expectString)(data.profilingGroupName);
|
|
1278
1278
|
}
|
|
1279
1279
|
if (data.recommendations !== undefined && data.recommendations !== null) {
|
|
1280
1280
|
contents.recommendations = deserializeAws_restJson1Recommendations(data.recommendations, context);
|
|
@@ -1310,7 +1310,7 @@ const deserializeAws_restJson1GetRecommendationsCommandError = async (output, co
|
|
|
1310
1310
|
$fault: "client",
|
|
1311
1311
|
$metadata: deserializeMetadata(output),
|
|
1312
1312
|
});
|
|
1313
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1313
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1314
1314
|
}
|
|
1315
1315
|
};
|
|
1316
1316
|
const deserializeAws_restJson1ListFindingsReportsCommand = async (output, context) => {
|
|
@@ -1322,12 +1322,12 @@ const deserializeAws_restJson1ListFindingsReportsCommand = async (output, contex
|
|
|
1322
1322
|
findingsReportSummaries: undefined,
|
|
1323
1323
|
nextToken: undefined,
|
|
1324
1324
|
};
|
|
1325
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1325
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1326
1326
|
if (data.findingsReportSummaries !== undefined && data.findingsReportSummaries !== null) {
|
|
1327
1327
|
contents.findingsReportSummaries = deserializeAws_restJson1FindingsReportSummaries(data.findingsReportSummaries, context);
|
|
1328
1328
|
}
|
|
1329
1329
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1330
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1330
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1331
1331
|
}
|
|
1332
1332
|
return Promise.resolve(contents);
|
|
1333
1333
|
};
|
|
@@ -1360,7 +1360,7 @@ const deserializeAws_restJson1ListFindingsReportsCommandError = async (output, c
|
|
|
1360
1360
|
$fault: "client",
|
|
1361
1361
|
$metadata: deserializeMetadata(output),
|
|
1362
1362
|
});
|
|
1363
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1363
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1364
1364
|
}
|
|
1365
1365
|
};
|
|
1366
1366
|
const deserializeAws_restJson1ListProfileTimesCommand = async (output, context) => {
|
|
@@ -1372,9 +1372,9 @@ const deserializeAws_restJson1ListProfileTimesCommand = async (output, context)
|
|
|
1372
1372
|
nextToken: undefined,
|
|
1373
1373
|
profileTimes: undefined,
|
|
1374
1374
|
};
|
|
1375
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1375
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1376
1376
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1377
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1377
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1378
1378
|
}
|
|
1379
1379
|
if (data.profileTimes !== undefined && data.profileTimes !== null) {
|
|
1380
1380
|
contents.profileTimes = deserializeAws_restJson1ProfileTimes(data.profileTimes, context);
|
|
@@ -1410,7 +1410,7 @@ const deserializeAws_restJson1ListProfileTimesCommandError = async (output, cont
|
|
|
1410
1410
|
$fault: "client",
|
|
1411
1411
|
$metadata: deserializeMetadata(output),
|
|
1412
1412
|
});
|
|
1413
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1413
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1414
1414
|
}
|
|
1415
1415
|
};
|
|
1416
1416
|
const deserializeAws_restJson1ListProfilingGroupsCommand = async (output, context) => {
|
|
@@ -1423,9 +1423,9 @@ const deserializeAws_restJson1ListProfilingGroupsCommand = async (output, contex
|
|
|
1423
1423
|
profilingGroupNames: undefined,
|
|
1424
1424
|
profilingGroups: undefined,
|
|
1425
1425
|
};
|
|
1426
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1426
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1427
1427
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
1428
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
1428
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
1429
1429
|
}
|
|
1430
1430
|
if (data.profilingGroupNames !== undefined && data.profilingGroupNames !== null) {
|
|
1431
1431
|
contents.profilingGroupNames = deserializeAws_restJson1ProfilingGroupNames(data.profilingGroupNames, context);
|
|
@@ -1458,7 +1458,7 @@ const deserializeAws_restJson1ListProfilingGroupsCommandError = async (output, c
|
|
|
1458
1458
|
$fault: "client",
|
|
1459
1459
|
$metadata: deserializeMetadata(output),
|
|
1460
1460
|
});
|
|
1461
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1461
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1462
1462
|
}
|
|
1463
1463
|
};
|
|
1464
1464
|
const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -1469,7 +1469,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
1469
1469
|
$metadata: deserializeMetadata(output),
|
|
1470
1470
|
tags: undefined,
|
|
1471
1471
|
};
|
|
1472
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1472
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1473
1473
|
if (data.tags !== undefined && data.tags !== null) {
|
|
1474
1474
|
contents.tags = deserializeAws_restJson1TagsMap(data.tags, context);
|
|
1475
1475
|
}
|
|
@@ -1501,7 +1501,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
1501
1501
|
$fault: "client",
|
|
1502
1502
|
$metadata: deserializeMetadata(output),
|
|
1503
1503
|
});
|
|
1504
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1504
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1505
1505
|
}
|
|
1506
1506
|
};
|
|
1507
1507
|
const deserializeAws_restJson1PostAgentProfileCommand = async (output, context) => {
|
|
@@ -1543,7 +1543,7 @@ const deserializeAws_restJson1PostAgentProfileCommandError = async (output, cont
|
|
|
1543
1543
|
$fault: "client",
|
|
1544
1544
|
$metadata: deserializeMetadata(output),
|
|
1545
1545
|
});
|
|
1546
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1546
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1547
1547
|
}
|
|
1548
1548
|
};
|
|
1549
1549
|
const deserializeAws_restJson1PutPermissionCommand = async (output, context) => {
|
|
@@ -1555,12 +1555,12 @@ const deserializeAws_restJson1PutPermissionCommand = async (output, context) =>
|
|
|
1555
1555
|
policy: undefined,
|
|
1556
1556
|
revisionId: undefined,
|
|
1557
1557
|
};
|
|
1558
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1558
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1559
1559
|
if (data.policy !== undefined && data.policy !== null) {
|
|
1560
|
-
contents.policy = smithy_client_1.expectString(data.policy);
|
|
1560
|
+
contents.policy = (0, smithy_client_1.expectString)(data.policy);
|
|
1561
1561
|
}
|
|
1562
1562
|
if (data.revisionId !== undefined && data.revisionId !== null) {
|
|
1563
|
-
contents.revisionId = smithy_client_1.expectString(data.revisionId);
|
|
1563
|
+
contents.revisionId = (0, smithy_client_1.expectString)(data.revisionId);
|
|
1564
1564
|
}
|
|
1565
1565
|
return Promise.resolve(contents);
|
|
1566
1566
|
};
|
|
@@ -1596,7 +1596,7 @@ const deserializeAws_restJson1PutPermissionCommandError = async (output, context
|
|
|
1596
1596
|
$fault: "client",
|
|
1597
1597
|
$metadata: deserializeMetadata(output),
|
|
1598
1598
|
});
|
|
1599
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1599
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1600
1600
|
}
|
|
1601
1601
|
};
|
|
1602
1602
|
const deserializeAws_restJson1RemoveNotificationChannelCommand = async (output, context) => {
|
|
@@ -1607,7 +1607,7 @@ const deserializeAws_restJson1RemoveNotificationChannelCommand = async (output,
|
|
|
1607
1607
|
$metadata: deserializeMetadata(output),
|
|
1608
1608
|
notificationConfiguration: undefined,
|
|
1609
1609
|
};
|
|
1610
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1610
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1611
1611
|
if (data.notificationConfiguration !== undefined && data.notificationConfiguration !== null) {
|
|
1612
1612
|
contents.notificationConfiguration = deserializeAws_restJson1NotificationConfiguration(data.notificationConfiguration, context);
|
|
1613
1613
|
}
|
|
@@ -1642,7 +1642,7 @@ const deserializeAws_restJson1RemoveNotificationChannelCommandError = async (out
|
|
|
1642
1642
|
$fault: "client",
|
|
1643
1643
|
$metadata: deserializeMetadata(output),
|
|
1644
1644
|
});
|
|
1645
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1645
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1646
1646
|
}
|
|
1647
1647
|
};
|
|
1648
1648
|
const deserializeAws_restJson1RemovePermissionCommand = async (output, context) => {
|
|
@@ -1654,12 +1654,12 @@ const deserializeAws_restJson1RemovePermissionCommand = async (output, context)
|
|
|
1654
1654
|
policy: undefined,
|
|
1655
1655
|
revisionId: undefined,
|
|
1656
1656
|
};
|
|
1657
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1657
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1658
1658
|
if (data.policy !== undefined && data.policy !== null) {
|
|
1659
|
-
contents.policy = smithy_client_1.expectString(data.policy);
|
|
1659
|
+
contents.policy = (0, smithy_client_1.expectString)(data.policy);
|
|
1660
1660
|
}
|
|
1661
1661
|
if (data.revisionId !== undefined && data.revisionId !== null) {
|
|
1662
|
-
contents.revisionId = smithy_client_1.expectString(data.revisionId);
|
|
1662
|
+
contents.revisionId = (0, smithy_client_1.expectString)(data.revisionId);
|
|
1663
1663
|
}
|
|
1664
1664
|
return Promise.resolve(contents);
|
|
1665
1665
|
};
|
|
@@ -1695,7 +1695,7 @@ const deserializeAws_restJson1RemovePermissionCommandError = async (output, cont
|
|
|
1695
1695
|
$fault: "client",
|
|
1696
1696
|
$metadata: deserializeMetadata(output),
|
|
1697
1697
|
});
|
|
1698
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1698
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1699
1699
|
}
|
|
1700
1700
|
};
|
|
1701
1701
|
const deserializeAws_restJson1SubmitFeedbackCommand = async (output, context) => {
|
|
@@ -1737,7 +1737,7 @@ const deserializeAws_restJson1SubmitFeedbackCommandError = async (output, contex
|
|
|
1737
1737
|
$fault: "client",
|
|
1738
1738
|
$metadata: deserializeMetadata(output),
|
|
1739
1739
|
});
|
|
1740
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1740
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1741
1741
|
}
|
|
1742
1742
|
};
|
|
1743
1743
|
const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
@@ -1776,7 +1776,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
1776
1776
|
$fault: "client",
|
|
1777
1777
|
$metadata: deserializeMetadata(output),
|
|
1778
1778
|
});
|
|
1779
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1779
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1780
1780
|
}
|
|
1781
1781
|
};
|
|
1782
1782
|
const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
|
|
@@ -1815,7 +1815,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
1815
1815
|
$fault: "client",
|
|
1816
1816
|
$metadata: deserializeMetadata(output),
|
|
1817
1817
|
});
|
|
1818
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1818
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1819
1819
|
}
|
|
1820
1820
|
};
|
|
1821
1821
|
const deserializeAws_restJson1UpdateProfilingGroupCommand = async (output, context) => {
|
|
@@ -1826,7 +1826,7 @@ const deserializeAws_restJson1UpdateProfilingGroupCommand = async (output, conte
|
|
|
1826
1826
|
$metadata: deserializeMetadata(output),
|
|
1827
1827
|
profilingGroup: undefined,
|
|
1828
1828
|
};
|
|
1829
|
-
const data = smithy_client_1.expectObject(await parseBody(output.body, context));
|
|
1829
|
+
const data = (0, smithy_client_1.expectObject)(await parseBody(output.body, context));
|
|
1830
1830
|
contents.profilingGroup = deserializeAws_restJson1ProfilingGroupDescription(data, context);
|
|
1831
1831
|
return Promise.resolve(contents);
|
|
1832
1832
|
};
|
|
@@ -1862,80 +1862,80 @@ const deserializeAws_restJson1UpdateProfilingGroupCommandError = async (output,
|
|
|
1862
1862
|
$fault: "client",
|
|
1863
1863
|
$metadata: deserializeMetadata(output),
|
|
1864
1864
|
});
|
|
1865
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1865
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1866
1866
|
}
|
|
1867
1867
|
};
|
|
1868
1868
|
const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
|
|
1869
1869
|
const contents = {};
|
|
1870
1870
|
const data = parsedOutput.body;
|
|
1871
1871
|
if (data.message !== undefined && data.message !== null) {
|
|
1872
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1872
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1873
1873
|
}
|
|
1874
1874
|
const exception = new models_0_1.ConflictException({
|
|
1875
1875
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1876
1876
|
...contents,
|
|
1877
1877
|
});
|
|
1878
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1878
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1879
1879
|
};
|
|
1880
1880
|
const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
|
|
1881
1881
|
const contents = {};
|
|
1882
1882
|
const data = parsedOutput.body;
|
|
1883
1883
|
if (data.message !== undefined && data.message !== null) {
|
|
1884
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1884
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1885
1885
|
}
|
|
1886
1886
|
const exception = new models_0_1.InternalServerException({
|
|
1887
1887
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1888
1888
|
...contents,
|
|
1889
1889
|
});
|
|
1890
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1890
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1891
1891
|
};
|
|
1892
1892
|
const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
1893
1893
|
const contents = {};
|
|
1894
1894
|
const data = parsedOutput.body;
|
|
1895
1895
|
if (data.message !== undefined && data.message !== null) {
|
|
1896
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1896
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1897
1897
|
}
|
|
1898
1898
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
1899
1899
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1900
1900
|
...contents,
|
|
1901
1901
|
});
|
|
1902
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1902
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1903
1903
|
};
|
|
1904
1904
|
const deserializeAws_restJson1ServiceQuotaExceededExceptionResponse = async (parsedOutput, context) => {
|
|
1905
1905
|
const contents = {};
|
|
1906
1906
|
const data = parsedOutput.body;
|
|
1907
1907
|
if (data.message !== undefined && data.message !== null) {
|
|
1908
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1908
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1909
1909
|
}
|
|
1910
1910
|
const exception = new models_0_1.ServiceQuotaExceededException({
|
|
1911
1911
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1912
1912
|
...contents,
|
|
1913
1913
|
});
|
|
1914
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1914
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1915
1915
|
};
|
|
1916
1916
|
const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
|
|
1917
1917
|
const contents = {};
|
|
1918
1918
|
const data = parsedOutput.body;
|
|
1919
1919
|
if (data.message !== undefined && data.message !== null) {
|
|
1920
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1920
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1921
1921
|
}
|
|
1922
1922
|
const exception = new models_0_1.ThrottlingException({
|
|
1923
1923
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1924
1924
|
...contents,
|
|
1925
1925
|
});
|
|
1926
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1926
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1927
1927
|
};
|
|
1928
1928
|
const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
|
|
1929
1929
|
const contents = {};
|
|
1930
1930
|
const data = parsedOutput.body;
|
|
1931
1931
|
if (data.message !== undefined && data.message !== null) {
|
|
1932
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
1932
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
1933
1933
|
}
|
|
1934
1934
|
const exception = new models_0_1.ValidationException({
|
|
1935
1935
|
$metadata: deserializeMetadata(parsedOutput),
|
|
1936
1936
|
...contents,
|
|
1937
1937
|
});
|
|
1938
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
1938
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
1939
1939
|
};
|
|
1940
1940
|
const serializeAws_restJson1AgentOrchestrationConfig = (input, context) => {
|
|
1941
1941
|
return {
|
|
@@ -2038,13 +2038,13 @@ const deserializeAws_restJson1AgentConfiguration = (output, context) => {
|
|
|
2038
2038
|
agentParameters: output.agentParameters !== undefined && output.agentParameters !== null
|
|
2039
2039
|
? deserializeAws_restJson1AgentParameters(output.agentParameters, context)
|
|
2040
2040
|
: undefined,
|
|
2041
|
-
periodInSeconds: smithy_client_1.expectInt32(output.periodInSeconds),
|
|
2042
|
-
shouldProfile: smithy_client_1.expectBoolean(output.shouldProfile),
|
|
2041
|
+
periodInSeconds: (0, smithy_client_1.expectInt32)(output.periodInSeconds),
|
|
2042
|
+
shouldProfile: (0, smithy_client_1.expectBoolean)(output.shouldProfile),
|
|
2043
2043
|
};
|
|
2044
2044
|
};
|
|
2045
2045
|
const deserializeAws_restJson1AgentOrchestrationConfig = (output, context) => {
|
|
2046
2046
|
return {
|
|
2047
|
-
profilingEnabled: smithy_client_1.expectBoolean(output.profilingEnabled),
|
|
2047
|
+
profilingEnabled: (0, smithy_client_1.expectBoolean)(output.profilingEnabled),
|
|
2048
2048
|
};
|
|
2049
2049
|
};
|
|
2050
2050
|
const deserializeAws_restJson1AgentParameters = (output, context) => {
|
|
@@ -2054,15 +2054,15 @@ const deserializeAws_restJson1AgentParameters = (output, context) => {
|
|
|
2054
2054
|
}
|
|
2055
2055
|
return {
|
|
2056
2056
|
...acc,
|
|
2057
|
-
[key]: smithy_client_1.expectString(value),
|
|
2057
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
2058
2058
|
};
|
|
2059
2059
|
}, {});
|
|
2060
2060
|
};
|
|
2061
2061
|
const deserializeAws_restJson1AggregatedProfileTime = (output, context) => {
|
|
2062
2062
|
return {
|
|
2063
|
-
period: smithy_client_1.expectString(output.period),
|
|
2063
|
+
period: (0, smithy_client_1.expectString)(output.period),
|
|
2064
2064
|
start: output.start !== undefined && output.start !== null
|
|
2065
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.start))
|
|
2065
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.start))
|
|
2066
2066
|
: undefined,
|
|
2067
2067
|
};
|
|
2068
2068
|
};
|
|
@@ -2085,17 +2085,17 @@ const deserializeAws_restJson1Anomaly = (output, context) => {
|
|
|
2085
2085
|
metric: output.metric !== undefined && output.metric !== null
|
|
2086
2086
|
? deserializeAws_restJson1Metric(output.metric, context)
|
|
2087
2087
|
: undefined,
|
|
2088
|
-
reason: smithy_client_1.expectString(output.reason),
|
|
2088
|
+
reason: (0, smithy_client_1.expectString)(output.reason),
|
|
2089
2089
|
};
|
|
2090
2090
|
};
|
|
2091
2091
|
const deserializeAws_restJson1AnomalyInstance = (output, context) => {
|
|
2092
2092
|
return {
|
|
2093
2093
|
endTime: output.endTime !== undefined && output.endTime !== null
|
|
2094
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.endTime))
|
|
2094
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.endTime))
|
|
2095
2095
|
: undefined,
|
|
2096
|
-
id: smithy_client_1.expectString(output.id),
|
|
2096
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
2097
2097
|
startTime: output.startTime !== undefined && output.startTime !== null
|
|
2098
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.startTime))
|
|
2098
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.startTime))
|
|
2099
2099
|
: undefined,
|
|
2100
2100
|
userFeedback: output.userFeedback !== undefined && output.userFeedback !== null
|
|
2101
2101
|
? deserializeAws_restJson1UserFeedback(output.userFeedback, context)
|
|
@@ -2118,8 +2118,8 @@ const deserializeAws_restJson1Channel = (output, context) => {
|
|
|
2118
2118
|
eventPublishers: output.eventPublishers !== undefined && output.eventPublishers !== null
|
|
2119
2119
|
? deserializeAws_restJson1EventPublishers(output.eventPublishers, context)
|
|
2120
2120
|
: undefined,
|
|
2121
|
-
id: smithy_client_1.expectString(output.id),
|
|
2122
|
-
uri: smithy_client_1.expectString(output.uri),
|
|
2121
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
2122
|
+
uri: (0, smithy_client_1.expectString)(output.uri),
|
|
2123
2123
|
};
|
|
2124
2124
|
};
|
|
2125
2125
|
const deserializeAws_restJson1Channels = (output, context) => {
|
|
@@ -2140,7 +2140,7 @@ const deserializeAws_restJson1EventPublishers = (output, context) => {
|
|
|
2140
2140
|
if (entry === null) {
|
|
2141
2141
|
return null;
|
|
2142
2142
|
}
|
|
2143
|
-
return smithy_client_1.expectString(entry);
|
|
2143
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2144
2144
|
});
|
|
2145
2145
|
return retVal;
|
|
2146
2146
|
};
|
|
@@ -2157,24 +2157,24 @@ const deserializeAws_restJson1FindingsReportSummaries = (output, context) => {
|
|
|
2157
2157
|
};
|
|
2158
2158
|
const deserializeAws_restJson1FindingsReportSummary = (output, context) => {
|
|
2159
2159
|
return {
|
|
2160
|
-
id: smithy_client_1.expectString(output.id),
|
|
2160
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
2161
2161
|
profileEndTime: output.profileEndTime !== undefined && output.profileEndTime !== null
|
|
2162
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.profileEndTime))
|
|
2162
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.profileEndTime))
|
|
2163
2163
|
: undefined,
|
|
2164
2164
|
profileStartTime: output.profileStartTime !== undefined && output.profileStartTime !== null
|
|
2165
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.profileStartTime))
|
|
2165
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.profileStartTime))
|
|
2166
2166
|
: undefined,
|
|
2167
|
-
profilingGroupName: smithy_client_1.expectString(output.profilingGroupName),
|
|
2168
|
-
totalNumberOfFindings: smithy_client_1.expectInt32(output.totalNumberOfFindings),
|
|
2167
|
+
profilingGroupName: (0, smithy_client_1.expectString)(output.profilingGroupName),
|
|
2168
|
+
totalNumberOfFindings: (0, smithy_client_1.expectInt32)(output.totalNumberOfFindings),
|
|
2169
2169
|
};
|
|
2170
2170
|
};
|
|
2171
2171
|
const deserializeAws_restJson1FrameMetric = (output, context) => {
|
|
2172
2172
|
return {
|
|
2173
|
-
frameName: smithy_client_1.expectString(output.frameName),
|
|
2173
|
+
frameName: (0, smithy_client_1.expectString)(output.frameName),
|
|
2174
2174
|
threadStates: output.threadStates !== undefined && output.threadStates !== null
|
|
2175
2175
|
? deserializeAws_restJson1ThreadStates(output.threadStates, context)
|
|
2176
2176
|
: undefined,
|
|
2177
|
-
type: smithy_client_1.expectString(output.type),
|
|
2177
|
+
type: (0, smithy_client_1.expectString)(output.type),
|
|
2178
2178
|
};
|
|
2179
2179
|
};
|
|
2180
2180
|
const deserializeAws_restJson1FrameMetricData = (output, context) => {
|
|
@@ -2205,7 +2205,7 @@ const deserializeAws_restJson1FrameMetricValues = (output, context) => {
|
|
|
2205
2205
|
if (entry === null) {
|
|
2206
2206
|
return null;
|
|
2207
2207
|
}
|
|
2208
|
-
return smithy_client_1.limitedParseDouble(entry);
|
|
2208
|
+
return (0, smithy_client_1.limitedParseDouble)(entry);
|
|
2209
2209
|
});
|
|
2210
2210
|
return retVal;
|
|
2211
2211
|
};
|
|
@@ -2222,9 +2222,9 @@ const deserializeAws_restJson1ListOfTimestamps = (output, context) => {
|
|
|
2222
2222
|
};
|
|
2223
2223
|
const deserializeAws_restJson1Match = (output, context) => {
|
|
2224
2224
|
return {
|
|
2225
|
-
frameAddress: smithy_client_1.expectString(output.frameAddress),
|
|
2226
|
-
targetFramesIndex: smithy_client_1.expectInt32(output.targetFramesIndex),
|
|
2227
|
-
thresholdBreachValue: smithy_client_1.limitedParseDouble(output.thresholdBreachValue),
|
|
2225
|
+
frameAddress: (0, smithy_client_1.expectString)(output.frameAddress),
|
|
2226
|
+
targetFramesIndex: (0, smithy_client_1.expectInt32)(output.targetFramesIndex),
|
|
2227
|
+
thresholdBreachValue: (0, smithy_client_1.limitedParseDouble)(output.thresholdBreachValue),
|
|
2228
2228
|
};
|
|
2229
2229
|
};
|
|
2230
2230
|
const deserializeAws_restJson1Matches = (output, context) => {
|
|
@@ -2240,11 +2240,11 @@ const deserializeAws_restJson1Matches = (output, context) => {
|
|
|
2240
2240
|
};
|
|
2241
2241
|
const deserializeAws_restJson1Metric = (output, context) => {
|
|
2242
2242
|
return {
|
|
2243
|
-
frameName: smithy_client_1.expectString(output.frameName),
|
|
2243
|
+
frameName: (0, smithy_client_1.expectString)(output.frameName),
|
|
2244
2244
|
threadStates: output.threadStates !== undefined && output.threadStates !== null
|
|
2245
2245
|
? deserializeAws_restJson1Strings(output.threadStates, context)
|
|
2246
2246
|
: undefined,
|
|
2247
|
-
type: smithy_client_1.expectString(output.type),
|
|
2247
|
+
type: (0, smithy_client_1.expectString)(output.type),
|
|
2248
2248
|
};
|
|
2249
2249
|
};
|
|
2250
2250
|
const deserializeAws_restJson1NotificationConfiguration = (output, context) => {
|
|
@@ -2259,20 +2259,20 @@ const deserializeAws_restJson1Pattern = (output, context) => {
|
|
|
2259
2259
|
countersToAggregate: output.countersToAggregate !== undefined && output.countersToAggregate !== null
|
|
2260
2260
|
? deserializeAws_restJson1Strings(output.countersToAggregate, context)
|
|
2261
2261
|
: undefined,
|
|
2262
|
-
description: smithy_client_1.expectString(output.description),
|
|
2263
|
-
id: smithy_client_1.expectString(output.id),
|
|
2264
|
-
name: smithy_client_1.expectString(output.name),
|
|
2265
|
-
resolutionSteps: smithy_client_1.expectString(output.resolutionSteps),
|
|
2262
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
2263
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
2264
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
2265
|
+
resolutionSteps: (0, smithy_client_1.expectString)(output.resolutionSteps),
|
|
2266
2266
|
targetFrames: output.targetFrames !== undefined && output.targetFrames !== null
|
|
2267
2267
|
? deserializeAws_restJson1TargetFrames(output.targetFrames, context)
|
|
2268
2268
|
: undefined,
|
|
2269
|
-
thresholdPercent: smithy_client_1.limitedParseDouble(output.thresholdPercent),
|
|
2269
|
+
thresholdPercent: (0, smithy_client_1.limitedParseDouble)(output.thresholdPercent),
|
|
2270
2270
|
};
|
|
2271
2271
|
};
|
|
2272
2272
|
const deserializeAws_restJson1ProfileTime = (output, context) => {
|
|
2273
2273
|
return {
|
|
2274
2274
|
start: output.start !== undefined && output.start !== null
|
|
2275
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.start))
|
|
2275
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.start))
|
|
2276
2276
|
: undefined,
|
|
2277
2277
|
};
|
|
2278
2278
|
};
|
|
@@ -2292,12 +2292,12 @@ const deserializeAws_restJson1ProfilingGroupDescription = (output, context) => {
|
|
|
2292
2292
|
agentOrchestrationConfig: output.agentOrchestrationConfig !== undefined && output.agentOrchestrationConfig !== null
|
|
2293
2293
|
? deserializeAws_restJson1AgentOrchestrationConfig(output.agentOrchestrationConfig, context)
|
|
2294
2294
|
: undefined,
|
|
2295
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
2296
|
-
computePlatform: smithy_client_1.expectString(output.computePlatform),
|
|
2295
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
2296
|
+
computePlatform: (0, smithy_client_1.expectString)(output.computePlatform),
|
|
2297
2297
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
2298
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.createdAt))
|
|
2298
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.createdAt))
|
|
2299
2299
|
: undefined,
|
|
2300
|
-
name: smithy_client_1.expectString(output.name),
|
|
2300
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
2301
2301
|
profilingStatus: output.profilingStatus !== undefined && output.profilingStatus !== null
|
|
2302
2302
|
? deserializeAws_restJson1ProfilingStatus(output.profilingStatus, context)
|
|
2303
2303
|
: undefined,
|
|
@@ -2305,7 +2305,7 @@ const deserializeAws_restJson1ProfilingGroupDescription = (output, context) => {
|
|
|
2305
2305
|
? deserializeAws_restJson1TagsMap(output.tags, context)
|
|
2306
2306
|
: undefined,
|
|
2307
2307
|
updatedAt: output.updatedAt !== undefined && output.updatedAt !== null
|
|
2308
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.updatedAt))
|
|
2308
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.updatedAt))
|
|
2309
2309
|
: undefined,
|
|
2310
2310
|
};
|
|
2311
2311
|
};
|
|
@@ -2327,17 +2327,17 @@ const deserializeAws_restJson1ProfilingGroupNames = (output, context) => {
|
|
|
2327
2327
|
if (entry === null) {
|
|
2328
2328
|
return null;
|
|
2329
2329
|
}
|
|
2330
|
-
return smithy_client_1.expectString(entry);
|
|
2330
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2331
2331
|
});
|
|
2332
2332
|
return retVal;
|
|
2333
2333
|
};
|
|
2334
2334
|
const deserializeAws_restJson1ProfilingStatus = (output, context) => {
|
|
2335
2335
|
return {
|
|
2336
2336
|
latestAgentOrchestratedAt: output.latestAgentOrchestratedAt !== undefined && output.latestAgentOrchestratedAt !== null
|
|
2337
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.latestAgentOrchestratedAt))
|
|
2337
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.latestAgentOrchestratedAt))
|
|
2338
2338
|
: undefined,
|
|
2339
2339
|
latestAgentProfileReportedAt: output.latestAgentProfileReportedAt !== undefined && output.latestAgentProfileReportedAt !== null
|
|
2340
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.latestAgentProfileReportedAt))
|
|
2340
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.latestAgentProfileReportedAt))
|
|
2341
2341
|
: undefined,
|
|
2342
2342
|
latestAggregatedProfile: output.latestAggregatedProfile !== undefined && output.latestAggregatedProfile !== null
|
|
2343
2343
|
? deserializeAws_restJson1AggregatedProfileTime(output.latestAggregatedProfile, context)
|
|
@@ -2346,16 +2346,16 @@ const deserializeAws_restJson1ProfilingStatus = (output, context) => {
|
|
|
2346
2346
|
};
|
|
2347
2347
|
const deserializeAws_restJson1Recommendation = (output, context) => {
|
|
2348
2348
|
return {
|
|
2349
|
-
allMatchesCount: smithy_client_1.expectInt32(output.allMatchesCount),
|
|
2350
|
-
allMatchesSum: smithy_client_1.limitedParseDouble(output.allMatchesSum),
|
|
2349
|
+
allMatchesCount: (0, smithy_client_1.expectInt32)(output.allMatchesCount),
|
|
2350
|
+
allMatchesSum: (0, smithy_client_1.limitedParseDouble)(output.allMatchesSum),
|
|
2351
2351
|
endTime: output.endTime !== undefined && output.endTime !== null
|
|
2352
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.endTime))
|
|
2352
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.endTime))
|
|
2353
2353
|
: undefined,
|
|
2354
2354
|
pattern: output.pattern !== undefined && output.pattern !== null
|
|
2355
2355
|
? deserializeAws_restJson1Pattern(output.pattern, context)
|
|
2356
2356
|
: undefined,
|
|
2357
2357
|
startTime: output.startTime !== undefined && output.startTime !== null
|
|
2358
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.startTime))
|
|
2358
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.startTime))
|
|
2359
2359
|
: undefined,
|
|
2360
2360
|
topMatches: output.topMatches !== undefined && output.topMatches !== null
|
|
2361
2361
|
? deserializeAws_restJson1Matches(output.topMatches, context)
|
|
@@ -2380,7 +2380,7 @@ const deserializeAws_restJson1Strings = (output, context) => {
|
|
|
2380
2380
|
if (entry === null) {
|
|
2381
2381
|
return null;
|
|
2382
2382
|
}
|
|
2383
|
-
return smithy_client_1.expectString(entry);
|
|
2383
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2384
2384
|
});
|
|
2385
2385
|
return retVal;
|
|
2386
2386
|
};
|
|
@@ -2391,7 +2391,7 @@ const deserializeAws_restJson1TagsMap = (output, context) => {
|
|
|
2391
2391
|
}
|
|
2392
2392
|
return {
|
|
2393
2393
|
...acc,
|
|
2394
|
-
[key]: smithy_client_1.expectString(value),
|
|
2394
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
2395
2395
|
};
|
|
2396
2396
|
}, {});
|
|
2397
2397
|
};
|
|
@@ -2402,7 +2402,7 @@ const deserializeAws_restJson1TargetFrame = (output, context) => {
|
|
|
2402
2402
|
if (entry === null) {
|
|
2403
2403
|
return null;
|
|
2404
2404
|
}
|
|
2405
|
-
return smithy_client_1.expectString(entry);
|
|
2405
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2406
2406
|
});
|
|
2407
2407
|
return retVal;
|
|
2408
2408
|
};
|
|
@@ -2424,14 +2424,14 @@ const deserializeAws_restJson1ThreadStates = (output, context) => {
|
|
|
2424
2424
|
if (entry === null) {
|
|
2425
2425
|
return null;
|
|
2426
2426
|
}
|
|
2427
|
-
return smithy_client_1.expectString(entry);
|
|
2427
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2428
2428
|
});
|
|
2429
2429
|
return retVal;
|
|
2430
2430
|
};
|
|
2431
2431
|
const deserializeAws_restJson1TimestampStructure = (output, context) => {
|
|
2432
2432
|
return {
|
|
2433
2433
|
value: output.value !== undefined && output.value !== null
|
|
2434
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output.value))
|
|
2434
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTime)(output.value))
|
|
2435
2435
|
: undefined,
|
|
2436
2436
|
};
|
|
2437
2437
|
};
|
|
@@ -2448,7 +2448,7 @@ const deserializeAws_restJson1UnprocessedEndTimeMap = (output, context) => {
|
|
|
2448
2448
|
};
|
|
2449
2449
|
const deserializeAws_restJson1UserFeedback = (output, context) => {
|
|
2450
2450
|
return {
|
|
2451
|
-
type: smithy_client_1.expectString(output.type),
|
|
2451
|
+
type: (0, smithy_client_1.expectString)(output.type),
|
|
2452
2452
|
};
|
|
2453
2453
|
};
|
|
2454
2454
|
const deserializeMetadata = (output) => {
|