@aws-sdk/client-inspector 3.53.0 → 3.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist-cjs/InspectorClient.js +13 -13
- package/dist-cjs/commands/AddAttributesToFindingsCommand.js +3 -3
- package/dist-cjs/commands/CreateAssessmentTargetCommand.js +3 -3
- package/dist-cjs/commands/CreateAssessmentTemplateCommand.js +3 -3
- package/dist-cjs/commands/CreateExclusionsPreviewCommand.js +3 -3
- package/dist-cjs/commands/CreateResourceGroupCommand.js +3 -3
- package/dist-cjs/commands/DeleteAssessmentRunCommand.js +3 -3
- package/dist-cjs/commands/DeleteAssessmentTargetCommand.js +3 -3
- package/dist-cjs/commands/DeleteAssessmentTemplateCommand.js +3 -3
- package/dist-cjs/commands/DescribeAssessmentRunsCommand.js +3 -3
- package/dist-cjs/commands/DescribeAssessmentTargetsCommand.js +3 -3
- package/dist-cjs/commands/DescribeAssessmentTemplatesCommand.js +3 -3
- package/dist-cjs/commands/DescribeCrossAccountAccessRoleCommand.js +3 -3
- package/dist-cjs/commands/DescribeExclusionsCommand.js +3 -3
- package/dist-cjs/commands/DescribeFindingsCommand.js +3 -3
- package/dist-cjs/commands/DescribeResourceGroupsCommand.js +3 -3
- package/dist-cjs/commands/DescribeRulesPackagesCommand.js +3 -3
- package/dist-cjs/commands/GetAssessmentReportCommand.js +3 -3
- package/dist-cjs/commands/GetExclusionsPreviewCommand.js +3 -3
- package/dist-cjs/commands/GetTelemetryMetadataCommand.js +3 -3
- package/dist-cjs/commands/ListAssessmentRunAgentsCommand.js +3 -3
- package/dist-cjs/commands/ListAssessmentRunsCommand.js +3 -3
- package/dist-cjs/commands/ListAssessmentTargetsCommand.js +3 -3
- package/dist-cjs/commands/ListAssessmentTemplatesCommand.js +3 -3
- package/dist-cjs/commands/ListEventSubscriptionsCommand.js +3 -3
- package/dist-cjs/commands/ListExclusionsCommand.js +3 -3
- package/dist-cjs/commands/ListFindingsCommand.js +3 -3
- package/dist-cjs/commands/ListRulesPackagesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PreviewAgentsCommand.js +3 -3
- package/dist-cjs/commands/RegisterCrossAccountAccessRoleCommand.js +3 -3
- package/dist-cjs/commands/RemoveAttributesFromFindingsCommand.js +3 -3
- package/dist-cjs/commands/SetTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/StartAssessmentRunCommand.js +3 -3
- package/dist-cjs/commands/StopAssessmentRunCommand.js +3 -3
- package/dist-cjs/commands/SubscribeToEventCommand.js +3 -3
- package/dist-cjs/commands/UnsubscribeFromEventCommand.js +3 -3
- package/dist-cjs/commands/UpdateAssessmentTargetCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_1.js +215 -215
- 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/Inspector.js +37 -37
- package/dist-es/pagination/GetExclusionsPreviewPaginator.js +4 -4
- package/dist-es/pagination/ListAssessmentRunAgentsPaginator.js +4 -4
- package/dist-es/pagination/ListAssessmentRunsPaginator.js +4 -4
- package/dist-es/pagination/ListAssessmentTargetsPaginator.js +4 -4
- package/dist-es/pagination/ListAssessmentTemplatesPaginator.js +4 -4
- package/dist-es/pagination/ListEventSubscriptionsPaginator.js +4 -4
- package/dist-es/pagination/ListExclusionsPaginator.js +4 -4
- package/dist-es/pagination/ListFindingsPaginator.js +4 -4
- package/dist-es/pagination/ListRulesPackagesPaginator.js +4 -4
- package/dist-es/pagination/PreviewAgentsPaginator.js +4 -4
- package/dist-types/InspectorClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/InspectorClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -420,7 +420,7 @@ const deserializeAws_json1_1AddAttributesToFindingsCommandError = async (output,
|
|
|
420
420
|
$fault: "client",
|
|
421
421
|
$metadata: deserializeMetadata(output),
|
|
422
422
|
});
|
|
423
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
423
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
424
424
|
}
|
|
425
425
|
};
|
|
426
426
|
const deserializeAws_json1_1CreateAssessmentTargetCommand = async (output, context) => {
|
|
@@ -474,7 +474,7 @@ const deserializeAws_json1_1CreateAssessmentTargetCommandError = async (output,
|
|
|
474
474
|
$fault: "client",
|
|
475
475
|
$metadata: deserializeMetadata(output),
|
|
476
476
|
});
|
|
477
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
477
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
478
478
|
}
|
|
479
479
|
};
|
|
480
480
|
const deserializeAws_json1_1CreateAssessmentTemplateCommand = async (output, context) => {
|
|
@@ -525,7 +525,7 @@ const deserializeAws_json1_1CreateAssessmentTemplateCommandError = async (output
|
|
|
525
525
|
$fault: "client",
|
|
526
526
|
$metadata: deserializeMetadata(output),
|
|
527
527
|
});
|
|
528
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
528
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
529
529
|
}
|
|
530
530
|
};
|
|
531
531
|
const deserializeAws_json1_1CreateExclusionsPreviewCommand = async (output, context) => {
|
|
@@ -576,7 +576,7 @@ const deserializeAws_json1_1CreateExclusionsPreviewCommandError = async (output,
|
|
|
576
576
|
$fault: "client",
|
|
577
577
|
$metadata: deserializeMetadata(output),
|
|
578
578
|
});
|
|
579
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
579
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
580
580
|
}
|
|
581
581
|
};
|
|
582
582
|
const deserializeAws_json1_1CreateResourceGroupCommand = async (output, context) => {
|
|
@@ -624,7 +624,7 @@ const deserializeAws_json1_1CreateResourceGroupCommandError = async (output, con
|
|
|
624
624
|
$fault: "client",
|
|
625
625
|
$metadata: deserializeMetadata(output),
|
|
626
626
|
});
|
|
627
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
627
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
628
628
|
}
|
|
629
629
|
};
|
|
630
630
|
const deserializeAws_json1_1DeleteAssessmentRunCommand = async (output, context) => {
|
|
@@ -672,7 +672,7 @@ const deserializeAws_json1_1DeleteAssessmentRunCommandError = async (output, con
|
|
|
672
672
|
$fault: "client",
|
|
673
673
|
$metadata: deserializeMetadata(output),
|
|
674
674
|
});
|
|
675
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
675
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
676
676
|
}
|
|
677
677
|
};
|
|
678
678
|
const deserializeAws_json1_1DeleteAssessmentTargetCommand = async (output, context) => {
|
|
@@ -720,7 +720,7 @@ const deserializeAws_json1_1DeleteAssessmentTargetCommandError = async (output,
|
|
|
720
720
|
$fault: "client",
|
|
721
721
|
$metadata: deserializeMetadata(output),
|
|
722
722
|
});
|
|
723
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
723
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
724
724
|
}
|
|
725
725
|
};
|
|
726
726
|
const deserializeAws_json1_1DeleteAssessmentTemplateCommand = async (output, context) => {
|
|
@@ -768,7 +768,7 @@ const deserializeAws_json1_1DeleteAssessmentTemplateCommandError = async (output
|
|
|
768
768
|
$fault: "client",
|
|
769
769
|
$metadata: deserializeMetadata(output),
|
|
770
770
|
});
|
|
771
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
771
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
772
772
|
}
|
|
773
773
|
};
|
|
774
774
|
const deserializeAws_json1_1DescribeAssessmentRunsCommand = async (output, context) => {
|
|
@@ -807,7 +807,7 @@ const deserializeAws_json1_1DescribeAssessmentRunsCommandError = async (output,
|
|
|
807
807
|
$fault: "client",
|
|
808
808
|
$metadata: deserializeMetadata(output),
|
|
809
809
|
});
|
|
810
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
810
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
811
811
|
}
|
|
812
812
|
};
|
|
813
813
|
const deserializeAws_json1_1DescribeAssessmentTargetsCommand = async (output, context) => {
|
|
@@ -846,7 +846,7 @@ const deserializeAws_json1_1DescribeAssessmentTargetsCommandError = async (outpu
|
|
|
846
846
|
$fault: "client",
|
|
847
847
|
$metadata: deserializeMetadata(output),
|
|
848
848
|
});
|
|
849
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
849
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
850
850
|
}
|
|
851
851
|
};
|
|
852
852
|
const deserializeAws_json1_1DescribeAssessmentTemplatesCommand = async (output, context) => {
|
|
@@ -885,7 +885,7 @@ const deserializeAws_json1_1DescribeAssessmentTemplatesCommandError = async (out
|
|
|
885
885
|
$fault: "client",
|
|
886
886
|
$metadata: deserializeMetadata(output),
|
|
887
887
|
});
|
|
888
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
888
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
889
889
|
}
|
|
890
890
|
};
|
|
891
891
|
const deserializeAws_json1_1DescribeCrossAccountAccessRoleCommand = async (output, context) => {
|
|
@@ -921,7 +921,7 @@ const deserializeAws_json1_1DescribeCrossAccountAccessRoleCommandError = async (
|
|
|
921
921
|
$fault: "client",
|
|
922
922
|
$metadata: deserializeMetadata(output),
|
|
923
923
|
});
|
|
924
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
924
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
925
925
|
}
|
|
926
926
|
};
|
|
927
927
|
const deserializeAws_json1_1DescribeExclusionsCommand = async (output, context) => {
|
|
@@ -960,7 +960,7 @@ const deserializeAws_json1_1DescribeExclusionsCommandError = async (output, cont
|
|
|
960
960
|
$fault: "client",
|
|
961
961
|
$metadata: deserializeMetadata(output),
|
|
962
962
|
});
|
|
963
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
963
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
964
964
|
}
|
|
965
965
|
};
|
|
966
966
|
const deserializeAws_json1_1DescribeFindingsCommand = async (output, context) => {
|
|
@@ -999,7 +999,7 @@ const deserializeAws_json1_1DescribeFindingsCommandError = async (output, contex
|
|
|
999
999
|
$fault: "client",
|
|
1000
1000
|
$metadata: deserializeMetadata(output),
|
|
1001
1001
|
});
|
|
1002
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1002
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1003
1003
|
}
|
|
1004
1004
|
};
|
|
1005
1005
|
const deserializeAws_json1_1DescribeResourceGroupsCommand = async (output, context) => {
|
|
@@ -1038,7 +1038,7 @@ const deserializeAws_json1_1DescribeResourceGroupsCommandError = async (output,
|
|
|
1038
1038
|
$fault: "client",
|
|
1039
1039
|
$metadata: deserializeMetadata(output),
|
|
1040
1040
|
});
|
|
1041
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1041
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1042
1042
|
}
|
|
1043
1043
|
};
|
|
1044
1044
|
const deserializeAws_json1_1DescribeRulesPackagesCommand = async (output, context) => {
|
|
@@ -1077,7 +1077,7 @@ const deserializeAws_json1_1DescribeRulesPackagesCommandError = async (output, c
|
|
|
1077
1077
|
$fault: "client",
|
|
1078
1078
|
$metadata: deserializeMetadata(output),
|
|
1079
1079
|
});
|
|
1080
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1080
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1081
1081
|
}
|
|
1082
1082
|
};
|
|
1083
1083
|
const deserializeAws_json1_1GetAssessmentReportCommand = async (output, context) => {
|
|
@@ -1131,7 +1131,7 @@ const deserializeAws_json1_1GetAssessmentReportCommandError = async (output, con
|
|
|
1131
1131
|
$fault: "client",
|
|
1132
1132
|
$metadata: deserializeMetadata(output),
|
|
1133
1133
|
});
|
|
1134
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1134
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1135
1135
|
}
|
|
1136
1136
|
};
|
|
1137
1137
|
const deserializeAws_json1_1GetExclusionsPreviewCommand = async (output, context) => {
|
|
@@ -1176,7 +1176,7 @@ const deserializeAws_json1_1GetExclusionsPreviewCommandError = async (output, co
|
|
|
1176
1176
|
$fault: "client",
|
|
1177
1177
|
$metadata: deserializeMetadata(output),
|
|
1178
1178
|
});
|
|
1179
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1179
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1180
1180
|
}
|
|
1181
1181
|
};
|
|
1182
1182
|
const deserializeAws_json1_1GetTelemetryMetadataCommand = async (output, context) => {
|
|
@@ -1221,7 +1221,7 @@ const deserializeAws_json1_1GetTelemetryMetadataCommandError = async (output, co
|
|
|
1221
1221
|
$fault: "client",
|
|
1222
1222
|
$metadata: deserializeMetadata(output),
|
|
1223
1223
|
});
|
|
1224
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1224
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1225
1225
|
}
|
|
1226
1226
|
};
|
|
1227
1227
|
const deserializeAws_json1_1ListAssessmentRunAgentsCommand = async (output, context) => {
|
|
@@ -1266,7 +1266,7 @@ const deserializeAws_json1_1ListAssessmentRunAgentsCommandError = async (output,
|
|
|
1266
1266
|
$fault: "client",
|
|
1267
1267
|
$metadata: deserializeMetadata(output),
|
|
1268
1268
|
});
|
|
1269
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1269
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1270
1270
|
}
|
|
1271
1271
|
};
|
|
1272
1272
|
const deserializeAws_json1_1ListAssessmentRunsCommand = async (output, context) => {
|
|
@@ -1311,7 +1311,7 @@ const deserializeAws_json1_1ListAssessmentRunsCommandError = async (output, cont
|
|
|
1311
1311
|
$fault: "client",
|
|
1312
1312
|
$metadata: deserializeMetadata(output),
|
|
1313
1313
|
});
|
|
1314
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1314
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1315
1315
|
}
|
|
1316
1316
|
};
|
|
1317
1317
|
const deserializeAws_json1_1ListAssessmentTargetsCommand = async (output, context) => {
|
|
@@ -1353,7 +1353,7 @@ const deserializeAws_json1_1ListAssessmentTargetsCommandError = async (output, c
|
|
|
1353
1353
|
$fault: "client",
|
|
1354
1354
|
$metadata: deserializeMetadata(output),
|
|
1355
1355
|
});
|
|
1356
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1356
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1357
1357
|
}
|
|
1358
1358
|
};
|
|
1359
1359
|
const deserializeAws_json1_1ListAssessmentTemplatesCommand = async (output, context) => {
|
|
@@ -1398,7 +1398,7 @@ const deserializeAws_json1_1ListAssessmentTemplatesCommandError = async (output,
|
|
|
1398
1398
|
$fault: "client",
|
|
1399
1399
|
$metadata: deserializeMetadata(output),
|
|
1400
1400
|
});
|
|
1401
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1401
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1402
1402
|
}
|
|
1403
1403
|
};
|
|
1404
1404
|
const deserializeAws_json1_1ListEventSubscriptionsCommand = async (output, context) => {
|
|
@@ -1443,7 +1443,7 @@ const deserializeAws_json1_1ListEventSubscriptionsCommandError = async (output,
|
|
|
1443
1443
|
$fault: "client",
|
|
1444
1444
|
$metadata: deserializeMetadata(output),
|
|
1445
1445
|
});
|
|
1446
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1446
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1447
1447
|
}
|
|
1448
1448
|
};
|
|
1449
1449
|
const deserializeAws_json1_1ListExclusionsCommand = async (output, context) => {
|
|
@@ -1488,7 +1488,7 @@ const deserializeAws_json1_1ListExclusionsCommandError = async (output, context)
|
|
|
1488
1488
|
$fault: "client",
|
|
1489
1489
|
$metadata: deserializeMetadata(output),
|
|
1490
1490
|
});
|
|
1491
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1491
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1492
1492
|
}
|
|
1493
1493
|
};
|
|
1494
1494
|
const deserializeAws_json1_1ListFindingsCommand = async (output, context) => {
|
|
@@ -1533,7 +1533,7 @@ const deserializeAws_json1_1ListFindingsCommandError = async (output, context) =
|
|
|
1533
1533
|
$fault: "client",
|
|
1534
1534
|
$metadata: deserializeMetadata(output),
|
|
1535
1535
|
});
|
|
1536
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1536
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1537
1537
|
}
|
|
1538
1538
|
};
|
|
1539
1539
|
const deserializeAws_json1_1ListRulesPackagesCommand = async (output, context) => {
|
|
@@ -1575,7 +1575,7 @@ const deserializeAws_json1_1ListRulesPackagesCommandError = async (output, conte
|
|
|
1575
1575
|
$fault: "client",
|
|
1576
1576
|
$metadata: deserializeMetadata(output),
|
|
1577
1577
|
});
|
|
1578
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1578
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1579
1579
|
}
|
|
1580
1580
|
};
|
|
1581
1581
|
const deserializeAws_json1_1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -1620,7 +1620,7 @@ const deserializeAws_json1_1ListTagsForResourceCommandError = async (output, con
|
|
|
1620
1620
|
$fault: "client",
|
|
1621
1621
|
$metadata: deserializeMetadata(output),
|
|
1622
1622
|
});
|
|
1623
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1623
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1624
1624
|
}
|
|
1625
1625
|
};
|
|
1626
1626
|
const deserializeAws_json1_1PreviewAgentsCommand = async (output, context) => {
|
|
@@ -1668,7 +1668,7 @@ const deserializeAws_json1_1PreviewAgentsCommandError = async (output, context)
|
|
|
1668
1668
|
$fault: "client",
|
|
1669
1669
|
$metadata: deserializeMetadata(output),
|
|
1670
1670
|
});
|
|
1671
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1671
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1672
1672
|
}
|
|
1673
1673
|
};
|
|
1674
1674
|
const deserializeAws_json1_1RegisterCrossAccountAccessRoleCommand = async (output, context) => {
|
|
@@ -1713,7 +1713,7 @@ const deserializeAws_json1_1RegisterCrossAccountAccessRoleCommandError = async (
|
|
|
1713
1713
|
$fault: "client",
|
|
1714
1714
|
$metadata: deserializeMetadata(output),
|
|
1715
1715
|
});
|
|
1716
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1716
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1717
1717
|
}
|
|
1718
1718
|
};
|
|
1719
1719
|
const deserializeAws_json1_1RemoveAttributesFromFindingsCommand = async (output, context) => {
|
|
@@ -1761,7 +1761,7 @@ const deserializeAws_json1_1RemoveAttributesFromFindingsCommandError = async (ou
|
|
|
1761
1761
|
$fault: "client",
|
|
1762
1762
|
$metadata: deserializeMetadata(output),
|
|
1763
1763
|
});
|
|
1764
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1764
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1765
1765
|
}
|
|
1766
1766
|
};
|
|
1767
1767
|
const deserializeAws_json1_1SetTagsForResourceCommand = async (output, context) => {
|
|
@@ -1806,7 +1806,7 @@ const deserializeAws_json1_1SetTagsForResourceCommandError = async (output, cont
|
|
|
1806
1806
|
$fault: "client",
|
|
1807
1807
|
$metadata: deserializeMetadata(output),
|
|
1808
1808
|
});
|
|
1809
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1809
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1810
1810
|
}
|
|
1811
1811
|
};
|
|
1812
1812
|
const deserializeAws_json1_1StartAssessmentRunCommand = async (output, context) => {
|
|
@@ -1863,7 +1863,7 @@ const deserializeAws_json1_1StartAssessmentRunCommandError = async (output, cont
|
|
|
1863
1863
|
$fault: "client",
|
|
1864
1864
|
$metadata: deserializeMetadata(output),
|
|
1865
1865
|
});
|
|
1866
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1866
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1867
1867
|
}
|
|
1868
1868
|
};
|
|
1869
1869
|
const deserializeAws_json1_1StopAssessmentRunCommand = async (output, context) => {
|
|
@@ -1908,7 +1908,7 @@ const deserializeAws_json1_1StopAssessmentRunCommandError = async (output, conte
|
|
|
1908
1908
|
$fault: "client",
|
|
1909
1909
|
$metadata: deserializeMetadata(output),
|
|
1910
1910
|
});
|
|
1911
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1911
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1912
1912
|
}
|
|
1913
1913
|
};
|
|
1914
1914
|
const deserializeAws_json1_1SubscribeToEventCommand = async (output, context) => {
|
|
@@ -1956,7 +1956,7 @@ const deserializeAws_json1_1SubscribeToEventCommandError = async (output, contex
|
|
|
1956
1956
|
$fault: "client",
|
|
1957
1957
|
$metadata: deserializeMetadata(output),
|
|
1958
1958
|
});
|
|
1959
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1959
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1960
1960
|
}
|
|
1961
1961
|
};
|
|
1962
1962
|
const deserializeAws_json1_1UnsubscribeFromEventCommand = async (output, context) => {
|
|
@@ -2001,7 +2001,7 @@ const deserializeAws_json1_1UnsubscribeFromEventCommandError = async (output, co
|
|
|
2001
2001
|
$fault: "client",
|
|
2002
2002
|
$metadata: deserializeMetadata(output),
|
|
2003
2003
|
});
|
|
2004
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2004
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2005
2005
|
}
|
|
2006
2006
|
};
|
|
2007
2007
|
const deserializeAws_json1_1UpdateAssessmentTargetCommand = async (output, context) => {
|
|
@@ -2046,7 +2046,7 @@ const deserializeAws_json1_1UpdateAssessmentTargetCommandError = async (output,
|
|
|
2046
2046
|
$fault: "client",
|
|
2047
2047
|
$metadata: deserializeMetadata(output),
|
|
2048
2048
|
});
|
|
2049
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2049
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2050
2050
|
}
|
|
2051
2051
|
};
|
|
2052
2052
|
const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -2056,7 +2056,7 @@ const deserializeAws_json1_1AccessDeniedExceptionResponse = async (parsedOutput,
|
|
|
2056
2056
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2057
2057
|
...deserialized,
|
|
2058
2058
|
});
|
|
2059
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
2059
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2060
2060
|
};
|
|
2061
2061
|
const deserializeAws_json1_1AgentsAlreadyRunningAssessmentExceptionResponse = async (parsedOutput, context) => {
|
|
2062
2062
|
const body = parsedOutput.body;
|
|
@@ -2065,7 +2065,7 @@ const deserializeAws_json1_1AgentsAlreadyRunningAssessmentExceptionResponse = as
|
|
|
2065
2065
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2066
2066
|
...deserialized,
|
|
2067
2067
|
});
|
|
2068
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
2068
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2069
2069
|
};
|
|
2070
2070
|
const deserializeAws_json1_1AssessmentRunInProgressExceptionResponse = async (parsedOutput, context) => {
|
|
2071
2071
|
const body = parsedOutput.body;
|
|
@@ -2074,7 +2074,7 @@ const deserializeAws_json1_1AssessmentRunInProgressExceptionResponse = async (pa
|
|
|
2074
2074
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2075
2075
|
...deserialized,
|
|
2076
2076
|
});
|
|
2077
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
2077
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2078
2078
|
};
|
|
2079
2079
|
const deserializeAws_json1_1InternalExceptionResponse = async (parsedOutput, context) => {
|
|
2080
2080
|
const body = parsedOutput.body;
|
|
@@ -2083,7 +2083,7 @@ const deserializeAws_json1_1InternalExceptionResponse = async (parsedOutput, con
|
|
|
2083
2083
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2084
2084
|
...deserialized,
|
|
2085
2085
|
});
|
|
2086
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
2086
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2087
2087
|
};
|
|
2088
2088
|
const deserializeAws_json1_1InvalidCrossAccountRoleExceptionResponse = async (parsedOutput, context) => {
|
|
2089
2089
|
const body = parsedOutput.body;
|
|
@@ -2092,7 +2092,7 @@ const deserializeAws_json1_1InvalidCrossAccountRoleExceptionResponse = async (pa
|
|
|
2092
2092
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2093
2093
|
...deserialized,
|
|
2094
2094
|
});
|
|
2095
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
2095
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2096
2096
|
};
|
|
2097
2097
|
const deserializeAws_json1_1InvalidInputExceptionResponse = async (parsedOutput, context) => {
|
|
2098
2098
|
const body = parsedOutput.body;
|
|
@@ -2101,7 +2101,7 @@ const deserializeAws_json1_1InvalidInputExceptionResponse = async (parsedOutput,
|
|
|
2101
2101
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2102
2102
|
...deserialized,
|
|
2103
2103
|
});
|
|
2104
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
2104
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2105
2105
|
};
|
|
2106
2106
|
const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
2107
2107
|
const body = parsedOutput.body;
|
|
@@ -2110,7 +2110,7 @@ const deserializeAws_json1_1LimitExceededExceptionResponse = async (parsedOutput
|
|
|
2110
2110
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2111
2111
|
...deserialized,
|
|
2112
2112
|
});
|
|
2113
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
2113
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2114
2114
|
};
|
|
2115
2115
|
const deserializeAws_json1_1NoSuchEntityExceptionResponse = async (parsedOutput, context) => {
|
|
2116
2116
|
const body = parsedOutput.body;
|
|
@@ -2119,7 +2119,7 @@ const deserializeAws_json1_1NoSuchEntityExceptionResponse = async (parsedOutput,
|
|
|
2119
2119
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2120
2120
|
...deserialized,
|
|
2121
2121
|
});
|
|
2122
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
2122
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2123
2123
|
};
|
|
2124
2124
|
const deserializeAws_json1_1PreviewGenerationInProgressExceptionResponse = async (parsedOutput, context) => {
|
|
2125
2125
|
const body = parsedOutput.body;
|
|
@@ -2128,7 +2128,7 @@ const deserializeAws_json1_1PreviewGenerationInProgressExceptionResponse = async
|
|
|
2128
2128
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2129
2129
|
...deserialized,
|
|
2130
2130
|
});
|
|
2131
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
2131
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2132
2132
|
};
|
|
2133
2133
|
const deserializeAws_json1_1ServiceTemporarilyUnavailableExceptionResponse = async (parsedOutput, context) => {
|
|
2134
2134
|
const body = parsedOutput.body;
|
|
@@ -2137,7 +2137,7 @@ const deserializeAws_json1_1ServiceTemporarilyUnavailableExceptionResponse = asy
|
|
|
2137
2137
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2138
2138
|
...deserialized,
|
|
2139
2139
|
});
|
|
2140
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
2140
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2141
2141
|
};
|
|
2142
2142
|
const deserializeAws_json1_1UnsupportedFeatureExceptionResponse = async (parsedOutput, context) => {
|
|
2143
2143
|
const body = parsedOutput.body;
|
|
@@ -2146,7 +2146,7 @@ const deserializeAws_json1_1UnsupportedFeatureExceptionResponse = async (parsedO
|
|
|
2146
2146
|
$metadata: deserializeMetadata(parsedOutput),
|
|
2147
2147
|
...deserialized,
|
|
2148
2148
|
});
|
|
2149
|
-
return smithy_client_1.decorateServiceException(exception, body);
|
|
2149
|
+
return (0, smithy_client_1.decorateServiceException)(exception, body);
|
|
2150
2150
|
};
|
|
2151
2151
|
const serializeAws_json1_1AddAttributesToFindingsRequest = (input, context) => {
|
|
2152
2152
|
return {
|
|
@@ -2750,9 +2750,9 @@ const serializeAws_json1_1UserAttributeList = (input, context) => {
|
|
|
2750
2750
|
};
|
|
2751
2751
|
const deserializeAws_json1_1AccessDeniedException = (output, context) => {
|
|
2752
2752
|
return {
|
|
2753
|
-
canRetry: smithy_client_1.expectBoolean(output.canRetry),
|
|
2754
|
-
errorCode: smithy_client_1.expectString(output.errorCode),
|
|
2755
|
-
message: smithy_client_1.expectString(output.message),
|
|
2753
|
+
canRetry: (0, smithy_client_1.expectBoolean)(output.canRetry),
|
|
2754
|
+
errorCode: (0, smithy_client_1.expectString)(output.errorCode),
|
|
2755
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2756
2756
|
};
|
|
2757
2757
|
};
|
|
2758
2758
|
const deserializeAws_json1_1AddAttributesToFindingsResponse = (output, context) => {
|
|
@@ -2764,8 +2764,8 @@ const deserializeAws_json1_1AddAttributesToFindingsResponse = (output, context)
|
|
|
2764
2764
|
};
|
|
2765
2765
|
const deserializeAws_json1_1AgentAlreadyRunningAssessment = (output, context) => {
|
|
2766
2766
|
return {
|
|
2767
|
-
agentId: smithy_client_1.expectString(output.agentId),
|
|
2768
|
-
assessmentRunArn: smithy_client_1.expectString(output.assessmentRunArn),
|
|
2767
|
+
agentId: (0, smithy_client_1.expectString)(output.agentId),
|
|
2768
|
+
assessmentRunArn: (0, smithy_client_1.expectString)(output.assessmentRunArn),
|
|
2769
2769
|
};
|
|
2770
2770
|
};
|
|
2771
2771
|
const deserializeAws_json1_1AgentAlreadyRunningAssessmentList = (output, context) => {
|
|
@@ -2781,14 +2781,14 @@ const deserializeAws_json1_1AgentAlreadyRunningAssessmentList = (output, context
|
|
|
2781
2781
|
};
|
|
2782
2782
|
const deserializeAws_json1_1AgentPreview = (output, context) => {
|
|
2783
2783
|
return {
|
|
2784
|
-
agentHealth: smithy_client_1.expectString(output.agentHealth),
|
|
2785
|
-
agentId: smithy_client_1.expectString(output.agentId),
|
|
2786
|
-
agentVersion: smithy_client_1.expectString(output.agentVersion),
|
|
2787
|
-
autoScalingGroup: smithy_client_1.expectString(output.autoScalingGroup),
|
|
2788
|
-
hostname: smithy_client_1.expectString(output.hostname),
|
|
2789
|
-
ipv4Address: smithy_client_1.expectString(output.ipv4Address),
|
|
2790
|
-
kernelVersion: smithy_client_1.expectString(output.kernelVersion),
|
|
2791
|
-
operatingSystem: smithy_client_1.expectString(output.operatingSystem),
|
|
2784
|
+
agentHealth: (0, smithy_client_1.expectString)(output.agentHealth),
|
|
2785
|
+
agentId: (0, smithy_client_1.expectString)(output.agentId),
|
|
2786
|
+
agentVersion: (0, smithy_client_1.expectString)(output.agentVersion),
|
|
2787
|
+
autoScalingGroup: (0, smithy_client_1.expectString)(output.autoScalingGroup),
|
|
2788
|
+
hostname: (0, smithy_client_1.expectString)(output.hostname),
|
|
2789
|
+
ipv4Address: (0, smithy_client_1.expectString)(output.ipv4Address),
|
|
2790
|
+
kernelVersion: (0, smithy_client_1.expectString)(output.kernelVersion),
|
|
2791
|
+
operatingSystem: (0, smithy_client_1.expectString)(output.operatingSystem),
|
|
2792
2792
|
};
|
|
2793
2793
|
};
|
|
2794
2794
|
const deserializeAws_json1_1AgentPreviewList = (output, context) => {
|
|
@@ -2807,9 +2807,9 @@ const deserializeAws_json1_1AgentsAlreadyRunningAssessmentException = (output, c
|
|
|
2807
2807
|
agents: output.agents !== undefined && output.agents !== null
|
|
2808
2808
|
? deserializeAws_json1_1AgentAlreadyRunningAssessmentList(output.agents, context)
|
|
2809
2809
|
: undefined,
|
|
2810
|
-
agentsTruncated: smithy_client_1.expectBoolean(output.agentsTruncated),
|
|
2811
|
-
canRetry: smithy_client_1.expectBoolean(output.canRetry),
|
|
2812
|
-
message: smithy_client_1.expectString(output.message),
|
|
2810
|
+
agentsTruncated: (0, smithy_client_1.expectBoolean)(output.agentsTruncated),
|
|
2811
|
+
canRetry: (0, smithy_client_1.expectBoolean)(output.canRetry),
|
|
2812
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2813
2813
|
};
|
|
2814
2814
|
};
|
|
2815
2815
|
const deserializeAws_json1_1AssessmentRulesPackageArnList = (output, context) => {
|
|
@@ -2819,26 +2819,26 @@ const deserializeAws_json1_1AssessmentRulesPackageArnList = (output, context) =>
|
|
|
2819
2819
|
if (entry === null) {
|
|
2820
2820
|
return null;
|
|
2821
2821
|
}
|
|
2822
|
-
return smithy_client_1.expectString(entry);
|
|
2822
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2823
2823
|
});
|
|
2824
2824
|
return retVal;
|
|
2825
2825
|
};
|
|
2826
2826
|
const deserializeAws_json1_1AssessmentRun = (output, context) => {
|
|
2827
2827
|
return {
|
|
2828
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
2829
|
-
assessmentTemplateArn: smithy_client_1.expectString(output.assessmentTemplateArn),
|
|
2828
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
2829
|
+
assessmentTemplateArn: (0, smithy_client_1.expectString)(output.assessmentTemplateArn),
|
|
2830
2830
|
completedAt: output.completedAt !== undefined && output.completedAt !== null
|
|
2831
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.completedAt)))
|
|
2831
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.completedAt)))
|
|
2832
2832
|
: undefined,
|
|
2833
2833
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
2834
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
2834
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
|
|
2835
2835
|
: undefined,
|
|
2836
|
-
dataCollected: smithy_client_1.expectBoolean(output.dataCollected),
|
|
2837
|
-
durationInSeconds: smithy_client_1.expectInt32(output.durationInSeconds),
|
|
2836
|
+
dataCollected: (0, smithy_client_1.expectBoolean)(output.dataCollected),
|
|
2837
|
+
durationInSeconds: (0, smithy_client_1.expectInt32)(output.durationInSeconds),
|
|
2838
2838
|
findingCounts: output.findingCounts !== undefined && output.findingCounts !== null
|
|
2839
2839
|
? deserializeAws_json1_1AssessmentRunFindingCounts(output.findingCounts, context)
|
|
2840
2840
|
: undefined,
|
|
2841
|
-
name: smithy_client_1.expectString(output.name),
|
|
2841
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
2842
2842
|
notifications: output.notifications !== undefined && output.notifications !== null
|
|
2843
2843
|
? deserializeAws_json1_1AssessmentRunNotificationList(output.notifications, context)
|
|
2844
2844
|
: undefined,
|
|
@@ -2846,11 +2846,11 @@ const deserializeAws_json1_1AssessmentRun = (output, context) => {
|
|
|
2846
2846
|
? deserializeAws_json1_1AssessmentRulesPackageArnList(output.rulesPackageArns, context)
|
|
2847
2847
|
: undefined,
|
|
2848
2848
|
startedAt: output.startedAt !== undefined && output.startedAt !== null
|
|
2849
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.startedAt)))
|
|
2849
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.startedAt)))
|
|
2850
2850
|
: undefined,
|
|
2851
|
-
state: smithy_client_1.expectString(output.state),
|
|
2851
|
+
state: (0, smithy_client_1.expectString)(output.state),
|
|
2852
2852
|
stateChangedAt: output.stateChangedAt !== undefined && output.stateChangedAt !== null
|
|
2853
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.stateChangedAt)))
|
|
2853
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.stateChangedAt)))
|
|
2854
2854
|
: undefined,
|
|
2855
2855
|
stateChanges: output.stateChanges !== undefined && output.stateChanges !== null
|
|
2856
2856
|
? deserializeAws_json1_1AssessmentRunStateChangeList(output.stateChanges, context)
|
|
@@ -2862,12 +2862,12 @@ const deserializeAws_json1_1AssessmentRun = (output, context) => {
|
|
|
2862
2862
|
};
|
|
2863
2863
|
const deserializeAws_json1_1AssessmentRunAgent = (output, context) => {
|
|
2864
2864
|
return {
|
|
2865
|
-
agentHealth: smithy_client_1.expectString(output.agentHealth),
|
|
2866
|
-
agentHealthCode: smithy_client_1.expectString(output.agentHealthCode),
|
|
2867
|
-
agentHealthDetails: smithy_client_1.expectString(output.agentHealthDetails),
|
|
2868
|
-
agentId: smithy_client_1.expectString(output.agentId),
|
|
2869
|
-
assessmentRunArn: smithy_client_1.expectString(output.assessmentRunArn),
|
|
2870
|
-
autoScalingGroup: smithy_client_1.expectString(output.autoScalingGroup),
|
|
2865
|
+
agentHealth: (0, smithy_client_1.expectString)(output.agentHealth),
|
|
2866
|
+
agentHealthCode: (0, smithy_client_1.expectString)(output.agentHealthCode),
|
|
2867
|
+
agentHealthDetails: (0, smithy_client_1.expectString)(output.agentHealthDetails),
|
|
2868
|
+
agentId: (0, smithy_client_1.expectString)(output.agentId),
|
|
2869
|
+
assessmentRunArn: (0, smithy_client_1.expectString)(output.assessmentRunArn),
|
|
2870
|
+
autoScalingGroup: (0, smithy_client_1.expectString)(output.autoScalingGroup),
|
|
2871
2871
|
telemetryMetadata: output.telemetryMetadata !== undefined && output.telemetryMetadata !== null
|
|
2872
2872
|
? deserializeAws_json1_1TelemetryMetadataList(output.telemetryMetadata, context)
|
|
2873
2873
|
: undefined,
|
|
@@ -2891,7 +2891,7 @@ const deserializeAws_json1_1AssessmentRunFindingCounts = (output, context) => {
|
|
|
2891
2891
|
}
|
|
2892
2892
|
return {
|
|
2893
2893
|
...acc,
|
|
2894
|
-
[key]: smithy_client_1.expectInt32(value),
|
|
2894
|
+
[key]: (0, smithy_client_1.expectInt32)(value),
|
|
2895
2895
|
};
|
|
2896
2896
|
}, {});
|
|
2897
2897
|
};
|
|
@@ -2902,7 +2902,7 @@ const deserializeAws_json1_1AssessmentRunInProgressArnList = (output, context) =
|
|
|
2902
2902
|
if (entry === null) {
|
|
2903
2903
|
return null;
|
|
2904
2904
|
}
|
|
2905
|
-
return smithy_client_1.expectString(entry);
|
|
2905
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
2906
2906
|
});
|
|
2907
2907
|
return retVal;
|
|
2908
2908
|
};
|
|
@@ -2911,9 +2911,9 @@ const deserializeAws_json1_1AssessmentRunInProgressException = (output, context)
|
|
|
2911
2911
|
assessmentRunArns: output.assessmentRunArns !== undefined && output.assessmentRunArns !== null
|
|
2912
2912
|
? deserializeAws_json1_1AssessmentRunInProgressArnList(output.assessmentRunArns, context)
|
|
2913
2913
|
: undefined,
|
|
2914
|
-
assessmentRunArnsTruncated: smithy_client_1.expectBoolean(output.assessmentRunArnsTruncated),
|
|
2915
|
-
canRetry: smithy_client_1.expectBoolean(output.canRetry),
|
|
2916
|
-
message: smithy_client_1.expectString(output.message),
|
|
2914
|
+
assessmentRunArnsTruncated: (0, smithy_client_1.expectBoolean)(output.assessmentRunArnsTruncated),
|
|
2915
|
+
canRetry: (0, smithy_client_1.expectBoolean)(output.canRetry),
|
|
2916
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2917
2917
|
};
|
|
2918
2918
|
};
|
|
2919
2919
|
const deserializeAws_json1_1AssessmentRunList = (output, context) => {
|
|
@@ -2930,13 +2930,13 @@ const deserializeAws_json1_1AssessmentRunList = (output, context) => {
|
|
|
2930
2930
|
const deserializeAws_json1_1AssessmentRunNotification = (output, context) => {
|
|
2931
2931
|
return {
|
|
2932
2932
|
date: output.date !== undefined && output.date !== null
|
|
2933
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.date)))
|
|
2933
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.date)))
|
|
2934
2934
|
: undefined,
|
|
2935
|
-
error: smithy_client_1.expectBoolean(output.error),
|
|
2936
|
-
event: smithy_client_1.expectString(output.event),
|
|
2937
|
-
message: smithy_client_1.expectString(output.message),
|
|
2938
|
-
snsPublishStatusCode: smithy_client_1.expectString(output.snsPublishStatusCode),
|
|
2939
|
-
snsTopicArn: smithy_client_1.expectString(output.snsTopicArn),
|
|
2935
|
+
error: (0, smithy_client_1.expectBoolean)(output.error),
|
|
2936
|
+
event: (0, smithy_client_1.expectString)(output.event),
|
|
2937
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
2938
|
+
snsPublishStatusCode: (0, smithy_client_1.expectString)(output.snsPublishStatusCode),
|
|
2939
|
+
snsTopicArn: (0, smithy_client_1.expectString)(output.snsTopicArn),
|
|
2940
2940
|
};
|
|
2941
2941
|
};
|
|
2942
2942
|
const deserializeAws_json1_1AssessmentRunNotificationList = (output, context) => {
|
|
@@ -2952,9 +2952,9 @@ const deserializeAws_json1_1AssessmentRunNotificationList = (output, context) =>
|
|
|
2952
2952
|
};
|
|
2953
2953
|
const deserializeAws_json1_1AssessmentRunStateChange = (output, context) => {
|
|
2954
2954
|
return {
|
|
2955
|
-
state: smithy_client_1.expectString(output.state),
|
|
2955
|
+
state: (0, smithy_client_1.expectString)(output.state),
|
|
2956
2956
|
stateChangedAt: output.stateChangedAt !== undefined && output.stateChangedAt !== null
|
|
2957
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.stateChangedAt)))
|
|
2957
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.stateChangedAt)))
|
|
2958
2958
|
: undefined,
|
|
2959
2959
|
};
|
|
2960
2960
|
};
|
|
@@ -2971,14 +2971,14 @@ const deserializeAws_json1_1AssessmentRunStateChangeList = (output, context) =>
|
|
|
2971
2971
|
};
|
|
2972
2972
|
const deserializeAws_json1_1AssessmentTarget = (output, context) => {
|
|
2973
2973
|
return {
|
|
2974
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
2974
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
2975
2975
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
2976
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
2976
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
|
|
2977
2977
|
: undefined,
|
|
2978
|
-
name: smithy_client_1.expectString(output.name),
|
|
2979
|
-
resourceGroupArn: smithy_client_1.expectString(output.resourceGroupArn),
|
|
2978
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
2979
|
+
resourceGroupArn: (0, smithy_client_1.expectString)(output.resourceGroupArn),
|
|
2980
2980
|
updatedAt: output.updatedAt !== undefined && output.updatedAt !== null
|
|
2981
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.updatedAt)))
|
|
2981
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updatedAt)))
|
|
2982
2982
|
: undefined,
|
|
2983
2983
|
};
|
|
2984
2984
|
};
|
|
@@ -2995,15 +2995,15 @@ const deserializeAws_json1_1AssessmentTargetList = (output, context) => {
|
|
|
2995
2995
|
};
|
|
2996
2996
|
const deserializeAws_json1_1AssessmentTemplate = (output, context) => {
|
|
2997
2997
|
return {
|
|
2998
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
2999
|
-
assessmentRunCount: smithy_client_1.expectInt32(output.assessmentRunCount),
|
|
3000
|
-
assessmentTargetArn: smithy_client_1.expectString(output.assessmentTargetArn),
|
|
2998
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
2999
|
+
assessmentRunCount: (0, smithy_client_1.expectInt32)(output.assessmentRunCount),
|
|
3000
|
+
assessmentTargetArn: (0, smithy_client_1.expectString)(output.assessmentTargetArn),
|
|
3001
3001
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
3002
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
3002
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
|
|
3003
3003
|
: undefined,
|
|
3004
|
-
durationInSeconds: smithy_client_1.expectInt32(output.durationInSeconds),
|
|
3005
|
-
lastAssessmentRunArn: smithy_client_1.expectString(output.lastAssessmentRunArn),
|
|
3006
|
-
name: smithy_client_1.expectString(output.name),
|
|
3004
|
+
durationInSeconds: (0, smithy_client_1.expectInt32)(output.durationInSeconds),
|
|
3005
|
+
lastAssessmentRunArn: (0, smithy_client_1.expectString)(output.lastAssessmentRunArn),
|
|
3006
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
3007
3007
|
rulesPackageArns: output.rulesPackageArns !== undefined && output.rulesPackageArns !== null
|
|
3008
3008
|
? deserializeAws_json1_1AssessmentTemplateRulesPackageArnList(output.rulesPackageArns, context)
|
|
3009
3009
|
: undefined,
|
|
@@ -3030,30 +3030,30 @@ const deserializeAws_json1_1AssessmentTemplateRulesPackageArnList = (output, con
|
|
|
3030
3030
|
if (entry === null) {
|
|
3031
3031
|
return null;
|
|
3032
3032
|
}
|
|
3033
|
-
return smithy_client_1.expectString(entry);
|
|
3033
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3034
3034
|
});
|
|
3035
3035
|
return retVal;
|
|
3036
3036
|
};
|
|
3037
3037
|
const deserializeAws_json1_1AssetAttributes = (output, context) => {
|
|
3038
3038
|
return {
|
|
3039
|
-
agentId: smithy_client_1.expectString(output.agentId),
|
|
3040
|
-
amiId: smithy_client_1.expectString(output.amiId),
|
|
3041
|
-
autoScalingGroup: smithy_client_1.expectString(output.autoScalingGroup),
|
|
3042
|
-
hostname: smithy_client_1.expectString(output.hostname),
|
|
3039
|
+
agentId: (0, smithy_client_1.expectString)(output.agentId),
|
|
3040
|
+
amiId: (0, smithy_client_1.expectString)(output.amiId),
|
|
3041
|
+
autoScalingGroup: (0, smithy_client_1.expectString)(output.autoScalingGroup),
|
|
3042
|
+
hostname: (0, smithy_client_1.expectString)(output.hostname),
|
|
3043
3043
|
ipv4Addresses: output.ipv4Addresses !== undefined && output.ipv4Addresses !== null
|
|
3044
3044
|
? deserializeAws_json1_1Ipv4AddressList(output.ipv4Addresses, context)
|
|
3045
3045
|
: undefined,
|
|
3046
3046
|
networkInterfaces: output.networkInterfaces !== undefined && output.networkInterfaces !== null
|
|
3047
3047
|
? deserializeAws_json1_1NetworkInterfaces(output.networkInterfaces, context)
|
|
3048
3048
|
: undefined,
|
|
3049
|
-
schemaVersion: smithy_client_1.expectInt32(output.schemaVersion),
|
|
3049
|
+
schemaVersion: (0, smithy_client_1.expectInt32)(output.schemaVersion),
|
|
3050
3050
|
tags: output.tags !== undefined && output.tags !== null ? deserializeAws_json1_1Tags(output.tags, context) : undefined,
|
|
3051
3051
|
};
|
|
3052
3052
|
};
|
|
3053
3053
|
const deserializeAws_json1_1Attribute = (output, context) => {
|
|
3054
3054
|
return {
|
|
3055
|
-
key: smithy_client_1.expectString(output.key),
|
|
3056
|
-
value: smithy_client_1.expectString(output.value),
|
|
3055
|
+
key: (0, smithy_client_1.expectString)(output.key),
|
|
3056
|
+
value: (0, smithy_client_1.expectString)(output.value),
|
|
3057
3057
|
};
|
|
3058
3058
|
};
|
|
3059
3059
|
const deserializeAws_json1_1AttributeList = (output, context) => {
|
|
@@ -3069,22 +3069,22 @@ const deserializeAws_json1_1AttributeList = (output, context) => {
|
|
|
3069
3069
|
};
|
|
3070
3070
|
const deserializeAws_json1_1CreateAssessmentTargetResponse = (output, context) => {
|
|
3071
3071
|
return {
|
|
3072
|
-
assessmentTargetArn: smithy_client_1.expectString(output.assessmentTargetArn),
|
|
3072
|
+
assessmentTargetArn: (0, smithy_client_1.expectString)(output.assessmentTargetArn),
|
|
3073
3073
|
};
|
|
3074
3074
|
};
|
|
3075
3075
|
const deserializeAws_json1_1CreateAssessmentTemplateResponse = (output, context) => {
|
|
3076
3076
|
return {
|
|
3077
|
-
assessmentTemplateArn: smithy_client_1.expectString(output.assessmentTemplateArn),
|
|
3077
|
+
assessmentTemplateArn: (0, smithy_client_1.expectString)(output.assessmentTemplateArn),
|
|
3078
3078
|
};
|
|
3079
3079
|
};
|
|
3080
3080
|
const deserializeAws_json1_1CreateExclusionsPreviewResponse = (output, context) => {
|
|
3081
3081
|
return {
|
|
3082
|
-
previewToken: smithy_client_1.expectString(output.previewToken),
|
|
3082
|
+
previewToken: (0, smithy_client_1.expectString)(output.previewToken),
|
|
3083
3083
|
};
|
|
3084
3084
|
};
|
|
3085
3085
|
const deserializeAws_json1_1CreateResourceGroupResponse = (output, context) => {
|
|
3086
3086
|
return {
|
|
3087
|
-
resourceGroupArn: smithy_client_1.expectString(output.resourceGroupArn),
|
|
3087
|
+
resourceGroupArn: (0, smithy_client_1.expectString)(output.resourceGroupArn),
|
|
3088
3088
|
};
|
|
3089
3089
|
};
|
|
3090
3090
|
const deserializeAws_json1_1DescribeAssessmentRunsResponse = (output, context) => {
|
|
@@ -3120,10 +3120,10 @@ const deserializeAws_json1_1DescribeAssessmentTemplatesResponse = (output, conte
|
|
|
3120
3120
|
const deserializeAws_json1_1DescribeCrossAccountAccessRoleResponse = (output, context) => {
|
|
3121
3121
|
return {
|
|
3122
3122
|
registeredAt: output.registeredAt !== undefined && output.registeredAt !== null
|
|
3123
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.registeredAt)))
|
|
3123
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.registeredAt)))
|
|
3124
3124
|
: undefined,
|
|
3125
|
-
roleArn: smithy_client_1.expectString(output.roleArn),
|
|
3126
|
-
valid: smithy_client_1.expectBoolean(output.valid),
|
|
3125
|
+
roleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
3126
|
+
valid: (0, smithy_client_1.expectBoolean)(output.valid),
|
|
3127
3127
|
};
|
|
3128
3128
|
};
|
|
3129
3129
|
const deserializeAws_json1_1DescribeExclusionsResponse = (output, context) => {
|
|
@@ -3168,9 +3168,9 @@ const deserializeAws_json1_1DescribeRulesPackagesResponse = (output, context) =>
|
|
|
3168
3168
|
};
|
|
3169
3169
|
const deserializeAws_json1_1EventSubscription = (output, context) => {
|
|
3170
3170
|
return {
|
|
3171
|
-
event: smithy_client_1.expectString(output.event),
|
|
3171
|
+
event: (0, smithy_client_1.expectString)(output.event),
|
|
3172
3172
|
subscribedAt: output.subscribedAt !== undefined && output.subscribedAt !== null
|
|
3173
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.subscribedAt)))
|
|
3173
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.subscribedAt)))
|
|
3174
3174
|
: undefined,
|
|
3175
3175
|
};
|
|
3176
3176
|
};
|
|
@@ -3187,16 +3187,16 @@ const deserializeAws_json1_1EventSubscriptionList = (output, context) => {
|
|
|
3187
3187
|
};
|
|
3188
3188
|
const deserializeAws_json1_1Exclusion = (output, context) => {
|
|
3189
3189
|
return {
|
|
3190
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
3190
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3191
3191
|
attributes: output.attributes !== undefined && output.attributes !== null
|
|
3192
3192
|
? deserializeAws_json1_1AttributeList(output.attributes, context)
|
|
3193
3193
|
: undefined,
|
|
3194
|
-
description: smithy_client_1.expectString(output.description),
|
|
3195
|
-
recommendation: smithy_client_1.expectString(output.recommendation),
|
|
3194
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
3195
|
+
recommendation: (0, smithy_client_1.expectString)(output.recommendation),
|
|
3196
3196
|
scopes: output.scopes !== undefined && output.scopes !== null
|
|
3197
3197
|
? deserializeAws_json1_1ScopeList(output.scopes, context)
|
|
3198
3198
|
: undefined,
|
|
3199
|
-
title: smithy_client_1.expectString(output.title),
|
|
3199
|
+
title: (0, smithy_client_1.expectString)(output.title),
|
|
3200
3200
|
};
|
|
3201
3201
|
};
|
|
3202
3202
|
const deserializeAws_json1_1ExclusionMap = (output, context) => {
|
|
@@ -3215,12 +3215,12 @@ const deserializeAws_json1_1ExclusionPreview = (output, context) => {
|
|
|
3215
3215
|
attributes: output.attributes !== undefined && output.attributes !== null
|
|
3216
3216
|
? deserializeAws_json1_1AttributeList(output.attributes, context)
|
|
3217
3217
|
: undefined,
|
|
3218
|
-
description: smithy_client_1.expectString(output.description),
|
|
3219
|
-
recommendation: smithy_client_1.expectString(output.recommendation),
|
|
3218
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
3219
|
+
recommendation: (0, smithy_client_1.expectString)(output.recommendation),
|
|
3220
3220
|
scopes: output.scopes !== undefined && output.scopes !== null
|
|
3221
3221
|
? deserializeAws_json1_1ScopeList(output.scopes, context)
|
|
3222
3222
|
: undefined,
|
|
3223
|
-
title: smithy_client_1.expectString(output.title),
|
|
3223
|
+
title: (0, smithy_client_1.expectString)(output.title),
|
|
3224
3224
|
};
|
|
3225
3225
|
};
|
|
3226
3226
|
const deserializeAws_json1_1ExclusionPreviewList = (output, context) => {
|
|
@@ -3236,8 +3236,8 @@ const deserializeAws_json1_1ExclusionPreviewList = (output, context) => {
|
|
|
3236
3236
|
};
|
|
3237
3237
|
const deserializeAws_json1_1FailedItemDetails = (output, context) => {
|
|
3238
3238
|
return {
|
|
3239
|
-
failureCode: smithy_client_1.expectString(output.failureCode),
|
|
3240
|
-
retryable: smithy_client_1.expectBoolean(output.retryable),
|
|
3239
|
+
failureCode: (0, smithy_client_1.expectString)(output.failureCode),
|
|
3240
|
+
retryable: (0, smithy_client_1.expectBoolean)(output.retryable),
|
|
3241
3241
|
};
|
|
3242
3242
|
};
|
|
3243
3243
|
const deserializeAws_json1_1FailedItems = (output, context) => {
|
|
@@ -3253,32 +3253,32 @@ const deserializeAws_json1_1FailedItems = (output, context) => {
|
|
|
3253
3253
|
};
|
|
3254
3254
|
const deserializeAws_json1_1Finding = (output, context) => {
|
|
3255
3255
|
return {
|
|
3256
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
3256
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3257
3257
|
assetAttributes: output.assetAttributes !== undefined && output.assetAttributes !== null
|
|
3258
3258
|
? deserializeAws_json1_1AssetAttributes(output.assetAttributes, context)
|
|
3259
3259
|
: undefined,
|
|
3260
|
-
assetType: smithy_client_1.expectString(output.assetType),
|
|
3260
|
+
assetType: (0, smithy_client_1.expectString)(output.assetType),
|
|
3261
3261
|
attributes: output.attributes !== undefined && output.attributes !== null
|
|
3262
3262
|
? deserializeAws_json1_1AttributeList(output.attributes, context)
|
|
3263
3263
|
: undefined,
|
|
3264
|
-
confidence: smithy_client_1.expectInt32(output.confidence),
|
|
3264
|
+
confidence: (0, smithy_client_1.expectInt32)(output.confidence),
|
|
3265
3265
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
3266
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
3267
|
-
: undefined,
|
|
3268
|
-
description: smithy_client_1.expectString(output.description),
|
|
3269
|
-
id: smithy_client_1.expectString(output.id),
|
|
3270
|
-
indicatorOfCompromise: smithy_client_1.expectBoolean(output.indicatorOfCompromise),
|
|
3271
|
-
numericSeverity: smithy_client_1.limitedParseDouble(output.numericSeverity),
|
|
3272
|
-
recommendation: smithy_client_1.expectString(output.recommendation),
|
|
3273
|
-
schemaVersion: smithy_client_1.expectInt32(output.schemaVersion),
|
|
3274
|
-
service: smithy_client_1.expectString(output.service),
|
|
3266
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
|
|
3267
|
+
: undefined,
|
|
3268
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
3269
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
3270
|
+
indicatorOfCompromise: (0, smithy_client_1.expectBoolean)(output.indicatorOfCompromise),
|
|
3271
|
+
numericSeverity: (0, smithy_client_1.limitedParseDouble)(output.numericSeverity),
|
|
3272
|
+
recommendation: (0, smithy_client_1.expectString)(output.recommendation),
|
|
3273
|
+
schemaVersion: (0, smithy_client_1.expectInt32)(output.schemaVersion),
|
|
3274
|
+
service: (0, smithy_client_1.expectString)(output.service),
|
|
3275
3275
|
serviceAttributes: output.serviceAttributes !== undefined && output.serviceAttributes !== null
|
|
3276
3276
|
? deserializeAws_json1_1InspectorServiceAttributes(output.serviceAttributes, context)
|
|
3277
3277
|
: undefined,
|
|
3278
|
-
severity: smithy_client_1.expectString(output.severity),
|
|
3279
|
-
title: smithy_client_1.expectString(output.title),
|
|
3278
|
+
severity: (0, smithy_client_1.expectString)(output.severity),
|
|
3279
|
+
title: (0, smithy_client_1.expectString)(output.title),
|
|
3280
3280
|
updatedAt: output.updatedAt !== undefined && output.updatedAt !== null
|
|
3281
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.updatedAt)))
|
|
3281
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.updatedAt)))
|
|
3282
3282
|
: undefined,
|
|
3283
3283
|
userAttributes: output.userAttributes !== undefined && output.userAttributes !== null
|
|
3284
3284
|
? deserializeAws_json1_1UserAttributeList(output.userAttributes, context)
|
|
@@ -3298,8 +3298,8 @@ const deserializeAws_json1_1FindingList = (output, context) => {
|
|
|
3298
3298
|
};
|
|
3299
3299
|
const deserializeAws_json1_1GetAssessmentReportResponse = (output, context) => {
|
|
3300
3300
|
return {
|
|
3301
|
-
status: smithy_client_1.expectString(output.status),
|
|
3302
|
-
url: smithy_client_1.expectString(output.url),
|
|
3301
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
3302
|
+
url: (0, smithy_client_1.expectString)(output.url),
|
|
3303
3303
|
};
|
|
3304
3304
|
};
|
|
3305
3305
|
const deserializeAws_json1_1GetExclusionsPreviewResponse = (output, context) => {
|
|
@@ -3307,8 +3307,8 @@ const deserializeAws_json1_1GetExclusionsPreviewResponse = (output, context) =>
|
|
|
3307
3307
|
exclusionPreviews: output.exclusionPreviews !== undefined && output.exclusionPreviews !== null
|
|
3308
3308
|
? deserializeAws_json1_1ExclusionPreviewList(output.exclusionPreviews, context)
|
|
3309
3309
|
: undefined,
|
|
3310
|
-
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
3311
|
-
previewStatus: smithy_client_1.expectString(output.previewStatus),
|
|
3310
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3311
|
+
previewStatus: (0, smithy_client_1.expectString)(output.previewStatus),
|
|
3312
3312
|
};
|
|
3313
3313
|
};
|
|
3314
3314
|
const deserializeAws_json1_1GetTelemetryMetadataResponse = (output, context) => {
|
|
@@ -3320,29 +3320,29 @@ const deserializeAws_json1_1GetTelemetryMetadataResponse = (output, context) =>
|
|
|
3320
3320
|
};
|
|
3321
3321
|
const deserializeAws_json1_1InspectorServiceAttributes = (output, context) => {
|
|
3322
3322
|
return {
|
|
3323
|
-
assessmentRunArn: smithy_client_1.expectString(output.assessmentRunArn),
|
|
3324
|
-
rulesPackageArn: smithy_client_1.expectString(output.rulesPackageArn),
|
|
3325
|
-
schemaVersion: smithy_client_1.expectInt32(output.schemaVersion),
|
|
3323
|
+
assessmentRunArn: (0, smithy_client_1.expectString)(output.assessmentRunArn),
|
|
3324
|
+
rulesPackageArn: (0, smithy_client_1.expectString)(output.rulesPackageArn),
|
|
3325
|
+
schemaVersion: (0, smithy_client_1.expectInt32)(output.schemaVersion),
|
|
3326
3326
|
};
|
|
3327
3327
|
};
|
|
3328
3328
|
const deserializeAws_json1_1InternalException = (output, context) => {
|
|
3329
3329
|
return {
|
|
3330
|
-
canRetry: smithy_client_1.expectBoolean(output.canRetry),
|
|
3331
|
-
message: smithy_client_1.expectString(output.message),
|
|
3330
|
+
canRetry: (0, smithy_client_1.expectBoolean)(output.canRetry),
|
|
3331
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3332
3332
|
};
|
|
3333
3333
|
};
|
|
3334
3334
|
const deserializeAws_json1_1InvalidCrossAccountRoleException = (output, context) => {
|
|
3335
3335
|
return {
|
|
3336
|
-
canRetry: smithy_client_1.expectBoolean(output.canRetry),
|
|
3337
|
-
errorCode: smithy_client_1.expectString(output.errorCode),
|
|
3338
|
-
message: smithy_client_1.expectString(output.message),
|
|
3336
|
+
canRetry: (0, smithy_client_1.expectBoolean)(output.canRetry),
|
|
3337
|
+
errorCode: (0, smithy_client_1.expectString)(output.errorCode),
|
|
3338
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3339
3339
|
};
|
|
3340
3340
|
};
|
|
3341
3341
|
const deserializeAws_json1_1InvalidInputException = (output, context) => {
|
|
3342
3342
|
return {
|
|
3343
|
-
canRetry: smithy_client_1.expectBoolean(output.canRetry),
|
|
3344
|
-
errorCode: smithy_client_1.expectString(output.errorCode),
|
|
3345
|
-
message: smithy_client_1.expectString(output.message),
|
|
3343
|
+
canRetry: (0, smithy_client_1.expectBoolean)(output.canRetry),
|
|
3344
|
+
errorCode: (0, smithy_client_1.expectString)(output.errorCode),
|
|
3345
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3346
3346
|
};
|
|
3347
3347
|
};
|
|
3348
3348
|
const deserializeAws_json1_1Ipv4AddressList = (output, context) => {
|
|
@@ -3352,7 +3352,7 @@ const deserializeAws_json1_1Ipv4AddressList = (output, context) => {
|
|
|
3352
3352
|
if (entry === null) {
|
|
3353
3353
|
return null;
|
|
3354
3354
|
}
|
|
3355
|
-
return smithy_client_1.expectString(entry);
|
|
3355
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3356
3356
|
});
|
|
3357
3357
|
return retVal;
|
|
3358
3358
|
};
|
|
@@ -3363,15 +3363,15 @@ const deserializeAws_json1_1Ipv6Addresses = (output, context) => {
|
|
|
3363
3363
|
if (entry === null) {
|
|
3364
3364
|
return null;
|
|
3365
3365
|
}
|
|
3366
|
-
return smithy_client_1.expectString(entry);
|
|
3366
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3367
3367
|
});
|
|
3368
3368
|
return retVal;
|
|
3369
3369
|
};
|
|
3370
3370
|
const deserializeAws_json1_1LimitExceededException = (output, context) => {
|
|
3371
3371
|
return {
|
|
3372
|
-
canRetry: smithy_client_1.expectBoolean(output.canRetry),
|
|
3373
|
-
errorCode: smithy_client_1.expectString(output.errorCode),
|
|
3374
|
-
message: smithy_client_1.expectString(output.message),
|
|
3372
|
+
canRetry: (0, smithy_client_1.expectBoolean)(output.canRetry),
|
|
3373
|
+
errorCode: (0, smithy_client_1.expectString)(output.errorCode),
|
|
3374
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3375
3375
|
};
|
|
3376
3376
|
};
|
|
3377
3377
|
const deserializeAws_json1_1ListAssessmentRunAgentsResponse = (output, context) => {
|
|
@@ -3379,7 +3379,7 @@ const deserializeAws_json1_1ListAssessmentRunAgentsResponse = (output, context)
|
|
|
3379
3379
|
assessmentRunAgents: output.assessmentRunAgents !== undefined && output.assessmentRunAgents !== null
|
|
3380
3380
|
? deserializeAws_json1_1AssessmentRunAgentList(output.assessmentRunAgents, context)
|
|
3381
3381
|
: undefined,
|
|
3382
|
-
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
3382
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3383
3383
|
};
|
|
3384
3384
|
};
|
|
3385
3385
|
const deserializeAws_json1_1ListAssessmentRunsResponse = (output, context) => {
|
|
@@ -3387,7 +3387,7 @@ const deserializeAws_json1_1ListAssessmentRunsResponse = (output, context) => {
|
|
|
3387
3387
|
assessmentRunArns: output.assessmentRunArns !== undefined && output.assessmentRunArns !== null
|
|
3388
3388
|
? deserializeAws_json1_1ListReturnedArnList(output.assessmentRunArns, context)
|
|
3389
3389
|
: undefined,
|
|
3390
|
-
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
3390
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3391
3391
|
};
|
|
3392
3392
|
};
|
|
3393
3393
|
const deserializeAws_json1_1ListAssessmentTargetsResponse = (output, context) => {
|
|
@@ -3395,7 +3395,7 @@ const deserializeAws_json1_1ListAssessmentTargetsResponse = (output, context) =>
|
|
|
3395
3395
|
assessmentTargetArns: output.assessmentTargetArns !== undefined && output.assessmentTargetArns !== null
|
|
3396
3396
|
? deserializeAws_json1_1ListReturnedArnList(output.assessmentTargetArns, context)
|
|
3397
3397
|
: undefined,
|
|
3398
|
-
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
3398
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3399
3399
|
};
|
|
3400
3400
|
};
|
|
3401
3401
|
const deserializeAws_json1_1ListAssessmentTemplatesResponse = (output, context) => {
|
|
@@ -3403,12 +3403,12 @@ const deserializeAws_json1_1ListAssessmentTemplatesResponse = (output, context)
|
|
|
3403
3403
|
assessmentTemplateArns: output.assessmentTemplateArns !== undefined && output.assessmentTemplateArns !== null
|
|
3404
3404
|
? deserializeAws_json1_1ListReturnedArnList(output.assessmentTemplateArns, context)
|
|
3405
3405
|
: undefined,
|
|
3406
|
-
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
3406
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3407
3407
|
};
|
|
3408
3408
|
};
|
|
3409
3409
|
const deserializeAws_json1_1ListEventSubscriptionsResponse = (output, context) => {
|
|
3410
3410
|
return {
|
|
3411
|
-
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
3411
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3412
3412
|
subscriptions: output.subscriptions !== undefined && output.subscriptions !== null
|
|
3413
3413
|
? deserializeAws_json1_1SubscriptionList(output.subscriptions, context)
|
|
3414
3414
|
: undefined,
|
|
@@ -3419,7 +3419,7 @@ const deserializeAws_json1_1ListExclusionsResponse = (output, context) => {
|
|
|
3419
3419
|
exclusionArns: output.exclusionArns !== undefined && output.exclusionArns !== null
|
|
3420
3420
|
? deserializeAws_json1_1ListReturnedArnList(output.exclusionArns, context)
|
|
3421
3421
|
: undefined,
|
|
3422
|
-
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
3422
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3423
3423
|
};
|
|
3424
3424
|
};
|
|
3425
3425
|
const deserializeAws_json1_1ListFindingsResponse = (output, context) => {
|
|
@@ -3427,7 +3427,7 @@ const deserializeAws_json1_1ListFindingsResponse = (output, context) => {
|
|
|
3427
3427
|
findingArns: output.findingArns !== undefined && output.findingArns !== null
|
|
3428
3428
|
? deserializeAws_json1_1ListReturnedArnList(output.findingArns, context)
|
|
3429
3429
|
: undefined,
|
|
3430
|
-
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
3430
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3431
3431
|
};
|
|
3432
3432
|
};
|
|
3433
3433
|
const deserializeAws_json1_1ListReturnedArnList = (output, context) => {
|
|
@@ -3437,13 +3437,13 @@ const deserializeAws_json1_1ListReturnedArnList = (output, context) => {
|
|
|
3437
3437
|
if (entry === null) {
|
|
3438
3438
|
return null;
|
|
3439
3439
|
}
|
|
3440
|
-
return smithy_client_1.expectString(entry);
|
|
3440
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
3441
3441
|
});
|
|
3442
3442
|
return retVal;
|
|
3443
3443
|
};
|
|
3444
3444
|
const deserializeAws_json1_1ListRulesPackagesResponse = (output, context) => {
|
|
3445
3445
|
return {
|
|
3446
|
-
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
3446
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3447
3447
|
rulesPackageArns: output.rulesPackageArns !== undefined && output.rulesPackageArns !== null
|
|
3448
3448
|
? deserializeAws_json1_1ListReturnedArnList(output.rulesPackageArns, context)
|
|
3449
3449
|
: undefined,
|
|
@@ -3461,19 +3461,19 @@ const deserializeAws_json1_1NetworkInterface = (output, context) => {
|
|
|
3461
3461
|
ipv6Addresses: output.ipv6Addresses !== undefined && output.ipv6Addresses !== null
|
|
3462
3462
|
? deserializeAws_json1_1Ipv6Addresses(output.ipv6Addresses, context)
|
|
3463
3463
|
: undefined,
|
|
3464
|
-
networkInterfaceId: smithy_client_1.expectString(output.networkInterfaceId),
|
|
3465
|
-
privateDnsName: smithy_client_1.expectString(output.privateDnsName),
|
|
3466
|
-
privateIpAddress: smithy_client_1.expectString(output.privateIpAddress),
|
|
3464
|
+
networkInterfaceId: (0, smithy_client_1.expectString)(output.networkInterfaceId),
|
|
3465
|
+
privateDnsName: (0, smithy_client_1.expectString)(output.privateDnsName),
|
|
3466
|
+
privateIpAddress: (0, smithy_client_1.expectString)(output.privateIpAddress),
|
|
3467
3467
|
privateIpAddresses: output.privateIpAddresses !== undefined && output.privateIpAddresses !== null
|
|
3468
3468
|
? deserializeAws_json1_1PrivateIpAddresses(output.privateIpAddresses, context)
|
|
3469
3469
|
: undefined,
|
|
3470
|
-
publicDnsName: smithy_client_1.expectString(output.publicDnsName),
|
|
3471
|
-
publicIp: smithy_client_1.expectString(output.publicIp),
|
|
3470
|
+
publicDnsName: (0, smithy_client_1.expectString)(output.publicDnsName),
|
|
3471
|
+
publicIp: (0, smithy_client_1.expectString)(output.publicIp),
|
|
3472
3472
|
securityGroups: output.securityGroups !== undefined && output.securityGroups !== null
|
|
3473
3473
|
? deserializeAws_json1_1SecurityGroups(output.securityGroups, context)
|
|
3474
3474
|
: undefined,
|
|
3475
|
-
subnetId: smithy_client_1.expectString(output.subnetId),
|
|
3476
|
-
vpcId: smithy_client_1.expectString(output.vpcId),
|
|
3475
|
+
subnetId: (0, smithy_client_1.expectString)(output.subnetId),
|
|
3476
|
+
vpcId: (0, smithy_client_1.expectString)(output.vpcId),
|
|
3477
3477
|
};
|
|
3478
3478
|
};
|
|
3479
3479
|
const deserializeAws_json1_1NetworkInterfaces = (output, context) => {
|
|
@@ -3489,9 +3489,9 @@ const deserializeAws_json1_1NetworkInterfaces = (output, context) => {
|
|
|
3489
3489
|
};
|
|
3490
3490
|
const deserializeAws_json1_1NoSuchEntityException = (output, context) => {
|
|
3491
3491
|
return {
|
|
3492
|
-
canRetry: smithy_client_1.expectBoolean(output.canRetry),
|
|
3493
|
-
errorCode: smithy_client_1.expectString(output.errorCode),
|
|
3494
|
-
message: smithy_client_1.expectString(output.message),
|
|
3492
|
+
canRetry: (0, smithy_client_1.expectBoolean)(output.canRetry),
|
|
3493
|
+
errorCode: (0, smithy_client_1.expectString)(output.errorCode),
|
|
3494
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3495
3495
|
};
|
|
3496
3496
|
};
|
|
3497
3497
|
const deserializeAws_json1_1PreviewAgentsResponse = (output, context) => {
|
|
@@ -3499,18 +3499,18 @@ const deserializeAws_json1_1PreviewAgentsResponse = (output, context) => {
|
|
|
3499
3499
|
agentPreviews: output.agentPreviews !== undefined && output.agentPreviews !== null
|
|
3500
3500
|
? deserializeAws_json1_1AgentPreviewList(output.agentPreviews, context)
|
|
3501
3501
|
: undefined,
|
|
3502
|
-
nextToken: smithy_client_1.expectString(output.nextToken),
|
|
3502
|
+
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
3503
3503
|
};
|
|
3504
3504
|
};
|
|
3505
3505
|
const deserializeAws_json1_1PreviewGenerationInProgressException = (output, context) => {
|
|
3506
3506
|
return {
|
|
3507
|
-
message: smithy_client_1.expectString(output.message),
|
|
3507
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3508
3508
|
};
|
|
3509
3509
|
};
|
|
3510
3510
|
const deserializeAws_json1_1PrivateIp = (output, context) => {
|
|
3511
3511
|
return {
|
|
3512
|
-
privateDnsName: smithy_client_1.expectString(output.privateDnsName),
|
|
3513
|
-
privateIpAddress: smithy_client_1.expectString(output.privateIpAddress),
|
|
3512
|
+
privateDnsName: (0, smithy_client_1.expectString)(output.privateDnsName),
|
|
3513
|
+
privateIpAddress: (0, smithy_client_1.expectString)(output.privateIpAddress),
|
|
3514
3514
|
};
|
|
3515
3515
|
};
|
|
3516
3516
|
const deserializeAws_json1_1PrivateIpAddresses = (output, context) => {
|
|
@@ -3533,9 +3533,9 @@ const deserializeAws_json1_1RemoveAttributesFromFindingsResponse = (output, cont
|
|
|
3533
3533
|
};
|
|
3534
3534
|
const deserializeAws_json1_1ResourceGroup = (output, context) => {
|
|
3535
3535
|
return {
|
|
3536
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
3536
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3537
3537
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
3538
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
3538
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
|
|
3539
3539
|
: undefined,
|
|
3540
3540
|
tags: output.tags !== undefined && output.tags !== null
|
|
3541
3541
|
? deserializeAws_json1_1ResourceGroupTags(output.tags, context)
|
|
@@ -3555,8 +3555,8 @@ const deserializeAws_json1_1ResourceGroupList = (output, context) => {
|
|
|
3555
3555
|
};
|
|
3556
3556
|
const deserializeAws_json1_1ResourceGroupTag = (output, context) => {
|
|
3557
3557
|
return {
|
|
3558
|
-
key: smithy_client_1.expectString(output.key),
|
|
3559
|
-
value: smithy_client_1.expectString(output.value),
|
|
3558
|
+
key: (0, smithy_client_1.expectString)(output.key),
|
|
3559
|
+
value: (0, smithy_client_1.expectString)(output.value),
|
|
3560
3560
|
};
|
|
3561
3561
|
};
|
|
3562
3562
|
const deserializeAws_json1_1ResourceGroupTags = (output, context) => {
|
|
@@ -3572,11 +3572,11 @@ const deserializeAws_json1_1ResourceGroupTags = (output, context) => {
|
|
|
3572
3572
|
};
|
|
3573
3573
|
const deserializeAws_json1_1RulesPackage = (output, context) => {
|
|
3574
3574
|
return {
|
|
3575
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
3576
|
-
description: smithy_client_1.expectString(output.description),
|
|
3577
|
-
name: smithy_client_1.expectString(output.name),
|
|
3578
|
-
provider: smithy_client_1.expectString(output.provider),
|
|
3579
|
-
version: smithy_client_1.expectString(output.version),
|
|
3575
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
3576
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
3577
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
3578
|
+
provider: (0, smithy_client_1.expectString)(output.provider),
|
|
3579
|
+
version: (0, smithy_client_1.expectString)(output.version),
|
|
3580
3580
|
};
|
|
3581
3581
|
};
|
|
3582
3582
|
const deserializeAws_json1_1RulesPackageList = (output, context) => {
|
|
@@ -3592,8 +3592,8 @@ const deserializeAws_json1_1RulesPackageList = (output, context) => {
|
|
|
3592
3592
|
};
|
|
3593
3593
|
const deserializeAws_json1_1Scope = (output, context) => {
|
|
3594
3594
|
return {
|
|
3595
|
-
key: smithy_client_1.expectString(output.key),
|
|
3596
|
-
value: smithy_client_1.expectString(output.value),
|
|
3595
|
+
key: (0, smithy_client_1.expectString)(output.key),
|
|
3596
|
+
value: (0, smithy_client_1.expectString)(output.value),
|
|
3597
3597
|
};
|
|
3598
3598
|
};
|
|
3599
3599
|
const deserializeAws_json1_1ScopeList = (output, context) => {
|
|
@@ -3609,8 +3609,8 @@ const deserializeAws_json1_1ScopeList = (output, context) => {
|
|
|
3609
3609
|
};
|
|
3610
3610
|
const deserializeAws_json1_1SecurityGroup = (output, context) => {
|
|
3611
3611
|
return {
|
|
3612
|
-
groupId: smithy_client_1.expectString(output.groupId),
|
|
3613
|
-
groupName: smithy_client_1.expectString(output.groupName),
|
|
3612
|
+
groupId: (0, smithy_client_1.expectString)(output.groupId),
|
|
3613
|
+
groupName: (0, smithy_client_1.expectString)(output.groupName),
|
|
3614
3614
|
};
|
|
3615
3615
|
};
|
|
3616
3616
|
const deserializeAws_json1_1SecurityGroups = (output, context) => {
|
|
@@ -3626,13 +3626,13 @@ const deserializeAws_json1_1SecurityGroups = (output, context) => {
|
|
|
3626
3626
|
};
|
|
3627
3627
|
const deserializeAws_json1_1ServiceTemporarilyUnavailableException = (output, context) => {
|
|
3628
3628
|
return {
|
|
3629
|
-
canRetry: smithy_client_1.expectBoolean(output.canRetry),
|
|
3630
|
-
message: smithy_client_1.expectString(output.message),
|
|
3629
|
+
canRetry: (0, smithy_client_1.expectBoolean)(output.canRetry),
|
|
3630
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3631
3631
|
};
|
|
3632
3632
|
};
|
|
3633
3633
|
const deserializeAws_json1_1StartAssessmentRunResponse = (output, context) => {
|
|
3634
3634
|
return {
|
|
3635
|
-
assessmentRunArn: smithy_client_1.expectString(output.assessmentRunArn),
|
|
3635
|
+
assessmentRunArn: (0, smithy_client_1.expectString)(output.assessmentRunArn),
|
|
3636
3636
|
};
|
|
3637
3637
|
};
|
|
3638
3638
|
const deserializeAws_json1_1Subscription = (output, context) => {
|
|
@@ -3640,8 +3640,8 @@ const deserializeAws_json1_1Subscription = (output, context) => {
|
|
|
3640
3640
|
eventSubscriptions: output.eventSubscriptions !== undefined && output.eventSubscriptions !== null
|
|
3641
3641
|
? deserializeAws_json1_1EventSubscriptionList(output.eventSubscriptions, context)
|
|
3642
3642
|
: undefined,
|
|
3643
|
-
resourceArn: smithy_client_1.expectString(output.resourceArn),
|
|
3644
|
-
topicArn: smithy_client_1.expectString(output.topicArn),
|
|
3643
|
+
resourceArn: (0, smithy_client_1.expectString)(output.resourceArn),
|
|
3644
|
+
topicArn: (0, smithy_client_1.expectString)(output.topicArn),
|
|
3645
3645
|
};
|
|
3646
3646
|
};
|
|
3647
3647
|
const deserializeAws_json1_1SubscriptionList = (output, context) => {
|
|
@@ -3657,8 +3657,8 @@ const deserializeAws_json1_1SubscriptionList = (output, context) => {
|
|
|
3657
3657
|
};
|
|
3658
3658
|
const deserializeAws_json1_1Tag = (output, context) => {
|
|
3659
3659
|
return {
|
|
3660
|
-
key: smithy_client_1.expectString(output.key),
|
|
3661
|
-
value: smithy_client_1.expectString(output.value),
|
|
3660
|
+
key: (0, smithy_client_1.expectString)(output.key),
|
|
3661
|
+
value: (0, smithy_client_1.expectString)(output.value),
|
|
3662
3662
|
};
|
|
3663
3663
|
};
|
|
3664
3664
|
const deserializeAws_json1_1TagList = (output, context) => {
|
|
@@ -3685,9 +3685,9 @@ const deserializeAws_json1_1Tags = (output, context) => {
|
|
|
3685
3685
|
};
|
|
3686
3686
|
const deserializeAws_json1_1TelemetryMetadata = (output, context) => {
|
|
3687
3687
|
return {
|
|
3688
|
-
count: smithy_client_1.expectLong(output.count),
|
|
3689
|
-
dataSize: smithy_client_1.expectLong(output.dataSize),
|
|
3690
|
-
messageType: smithy_client_1.expectString(output.messageType),
|
|
3688
|
+
count: (0, smithy_client_1.expectLong)(output.count),
|
|
3689
|
+
dataSize: (0, smithy_client_1.expectLong)(output.dataSize),
|
|
3690
|
+
messageType: (0, smithy_client_1.expectString)(output.messageType),
|
|
3691
3691
|
};
|
|
3692
3692
|
};
|
|
3693
3693
|
const deserializeAws_json1_1TelemetryMetadataList = (output, context) => {
|
|
@@ -3703,8 +3703,8 @@ const deserializeAws_json1_1TelemetryMetadataList = (output, context) => {
|
|
|
3703
3703
|
};
|
|
3704
3704
|
const deserializeAws_json1_1UnsupportedFeatureException = (output, context) => {
|
|
3705
3705
|
return {
|
|
3706
|
-
canRetry: smithy_client_1.expectBoolean(output.canRetry),
|
|
3707
|
-
message: smithy_client_1.expectString(output.message),
|
|
3706
|
+
canRetry: (0, smithy_client_1.expectBoolean)(output.canRetry),
|
|
3707
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
3708
3708
|
};
|
|
3709
3709
|
};
|
|
3710
3710
|
const deserializeAws_json1_1UserAttributeList = (output, context) => {
|