@aws-sdk/client-machine-learning 3.31.0 → 3.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/cjs/MachineLearningClient.js +13 -13
- package/dist/cjs/MachineLearningClient.js.map +1 -1
- package/dist/cjs/commands/AddTagsCommand.js +3 -3
- package/dist/cjs/commands/AddTagsCommand.js.map +1 -1
- package/dist/cjs/commands/CreateBatchPredictionCommand.js +3 -3
- package/dist/cjs/commands/CreateBatchPredictionCommand.js.map +1 -1
- package/dist/cjs/commands/CreateDataSourceFromRDSCommand.js +3 -3
- package/dist/cjs/commands/CreateDataSourceFromRDSCommand.js.map +1 -1
- package/dist/cjs/commands/CreateDataSourceFromRedshiftCommand.js +3 -3
- package/dist/cjs/commands/CreateDataSourceFromRedshiftCommand.js.map +1 -1
- package/dist/cjs/commands/CreateDataSourceFromS3Command.js +3 -3
- package/dist/cjs/commands/CreateDataSourceFromS3Command.js.map +1 -1
- package/dist/cjs/commands/CreateEvaluationCommand.js +3 -3
- package/dist/cjs/commands/CreateEvaluationCommand.js.map +1 -1
- package/dist/cjs/commands/CreateMLModelCommand.js +3 -3
- package/dist/cjs/commands/CreateMLModelCommand.js.map +1 -1
- package/dist/cjs/commands/CreateRealtimeEndpointCommand.js +3 -3
- package/dist/cjs/commands/CreateRealtimeEndpointCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteBatchPredictionCommand.js +3 -3
- package/dist/cjs/commands/DeleteBatchPredictionCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteDataSourceCommand.js +3 -3
- package/dist/cjs/commands/DeleteDataSourceCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteEvaluationCommand.js +3 -3
- package/dist/cjs/commands/DeleteEvaluationCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteMLModelCommand.js +3 -3
- package/dist/cjs/commands/DeleteMLModelCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteRealtimeEndpointCommand.js +3 -3
- package/dist/cjs/commands/DeleteRealtimeEndpointCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteTagsCommand.js +3 -3
- package/dist/cjs/commands/DeleteTagsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeBatchPredictionsCommand.js +3 -3
- package/dist/cjs/commands/DescribeBatchPredictionsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeDataSourcesCommand.js +3 -3
- package/dist/cjs/commands/DescribeDataSourcesCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeEvaluationsCommand.js +3 -3
- package/dist/cjs/commands/DescribeEvaluationsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeMLModelsCommand.js +3 -3
- package/dist/cjs/commands/DescribeMLModelsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeTagsCommand.js +3 -3
- package/dist/cjs/commands/DescribeTagsCommand.js.map +1 -1
- package/dist/cjs/commands/GetBatchPredictionCommand.js +3 -3
- package/dist/cjs/commands/GetBatchPredictionCommand.js.map +1 -1
- package/dist/cjs/commands/GetDataSourceCommand.js +3 -3
- package/dist/cjs/commands/GetDataSourceCommand.js.map +1 -1
- package/dist/cjs/commands/GetEvaluationCommand.js +3 -3
- package/dist/cjs/commands/GetEvaluationCommand.js.map +1 -1
- package/dist/cjs/commands/GetMLModelCommand.js +3 -3
- package/dist/cjs/commands/GetMLModelCommand.js.map +1 -1
- package/dist/cjs/commands/PredictCommand.js +4 -4
- package/dist/cjs/commands/PredictCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateBatchPredictionCommand.js +3 -3
- package/dist/cjs/commands/UpdateBatchPredictionCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateDataSourceCommand.js +3 -3
- package/dist/cjs/commands/UpdateDataSourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateEvaluationCommand.js +3 -3
- package/dist/cjs/commands/UpdateEvaluationCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateMLModelCommand.js +3 -3
- package/dist/cjs/commands/UpdateMLModelCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +40 -40
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +33 -33
- package/dist/cjs/protocols/Aws_json1_1.js +193 -193
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/cjs/waiters/waitForBatchPredictionAvailable.js +3 -3
- package/dist/cjs/waiters/waitForBatchPredictionAvailable.js.map +1 -1
- package/dist/cjs/waiters/waitForDataSourceAvailable.js +3 -3
- package/dist/cjs/waiters/waitForDataSourceAvailable.js.map +1 -1
- package/dist/cjs/waiters/waitForEvaluationAvailable.js +3 -3
- package/dist/cjs/waiters/waitForEvaluationAvailable.js.map +1 -1
- package/dist/cjs/waiters/waitForMLModelAvailable.js +3 -3
- package/dist/cjs/waiters/waitForMLModelAvailable.js.map +1 -1
- package/dist/es/package.json +33 -33
- package/dist/es/pagination/DescribeBatchPredictionsPaginator.js +4 -4
- package/dist/es/pagination/DescribeBatchPredictionsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeDataSourcesPaginator.js +4 -4
- package/dist/es/pagination/DescribeDataSourcesPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeEvaluationsPaginator.js +4 -4
- package/dist/es/pagination/DescribeEvaluationsPaginator.js.map +1 -1
- package/dist/es/pagination/DescribeMLModelsPaginator.js +4 -4
- package/dist/es/pagination/DescribeMLModelsPaginator.js.map +1 -1
- package/dist/es/waiters/waitForBatchPredictionAvailable.js +2 -2
- package/dist/es/waiters/waitForBatchPredictionAvailable.js.map +1 -1
- package/dist/es/waiters/waitForDataSourceAvailable.js +2 -2
- package/dist/es/waiters/waitForDataSourceAvailable.js.map +1 -1
- package/dist/es/waiters/waitForEvaluationAvailable.js +2 -2
- package/dist/es/waiters/waitForEvaluationAvailable.js.map +1 -1
- package/dist/es/waiters/waitForMLModelAvailable.js +2 -2
- package/dist/es/waiters/waitForMLModelAvailable.js.map +1 -1
- package/package.json +33 -33
- package/tsconfig.json +1 -2
|
@@ -2531,41 +2531,41 @@ const serializeAws_json1_1UpdateMLModelInput = (input, context) => {
|
|
|
2531
2531
|
...(input.MLModelId !== undefined && input.MLModelId !== null && { MLModelId: input.MLModelId }),
|
|
2532
2532
|
...(input.MLModelName !== undefined && input.MLModelName !== null && { MLModelName: input.MLModelName }),
|
|
2533
2533
|
...(input.ScoreThreshold !== undefined &&
|
|
2534
|
-
input.ScoreThreshold !== null && { ScoreThreshold:
|
|
2534
|
+
input.ScoreThreshold !== null && { ScoreThreshold: smithy_client_1.serializeFloat(input.ScoreThreshold) }),
|
|
2535
2535
|
};
|
|
2536
2536
|
};
|
|
2537
2537
|
const deserializeAws_json1_1AddTagsOutput = (output, context) => {
|
|
2538
2538
|
return {
|
|
2539
|
-
ResourceId:
|
|
2540
|
-
ResourceType:
|
|
2539
|
+
ResourceId: smithy_client_1.expectString(output.ResourceId),
|
|
2540
|
+
ResourceType: smithy_client_1.expectString(output.ResourceType),
|
|
2541
2541
|
};
|
|
2542
2542
|
};
|
|
2543
2543
|
const deserializeAws_json1_1BatchPrediction = (output, context) => {
|
|
2544
2544
|
return {
|
|
2545
|
-
BatchPredictionDataSourceId:
|
|
2546
|
-
BatchPredictionId:
|
|
2547
|
-
ComputeTime:
|
|
2545
|
+
BatchPredictionDataSourceId: smithy_client_1.expectString(output.BatchPredictionDataSourceId),
|
|
2546
|
+
BatchPredictionId: smithy_client_1.expectString(output.BatchPredictionId),
|
|
2547
|
+
ComputeTime: smithy_client_1.expectLong(output.ComputeTime),
|
|
2548
2548
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
2549
|
-
?
|
|
2549
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
2550
2550
|
: undefined,
|
|
2551
|
-
CreatedByIamUser:
|
|
2551
|
+
CreatedByIamUser: smithy_client_1.expectString(output.CreatedByIamUser),
|
|
2552
2552
|
FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
|
|
2553
|
-
?
|
|
2553
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FinishedAt)))
|
|
2554
2554
|
: undefined,
|
|
2555
|
-
InputDataLocationS3:
|
|
2556
|
-
InvalidRecordCount:
|
|
2555
|
+
InputDataLocationS3: smithy_client_1.expectString(output.InputDataLocationS3),
|
|
2556
|
+
InvalidRecordCount: smithy_client_1.expectLong(output.InvalidRecordCount),
|
|
2557
2557
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
2558
|
-
?
|
|
2558
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
|
|
2559
2559
|
: undefined,
|
|
2560
|
-
MLModelId:
|
|
2561
|
-
Message:
|
|
2562
|
-
Name:
|
|
2563
|
-
OutputUri:
|
|
2560
|
+
MLModelId: smithy_client_1.expectString(output.MLModelId),
|
|
2561
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2562
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
2563
|
+
OutputUri: smithy_client_1.expectString(output.OutputUri),
|
|
2564
2564
|
StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
|
|
2565
|
-
?
|
|
2565
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartedAt)))
|
|
2566
2566
|
: undefined,
|
|
2567
|
-
Status:
|
|
2568
|
-
TotalRecordCount:
|
|
2567
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
2568
|
+
TotalRecordCount: smithy_client_1.expectLong(output.TotalRecordCount),
|
|
2569
2569
|
};
|
|
2570
2570
|
};
|
|
2571
2571
|
const deserializeAws_json1_1BatchPredictions = (output, context) => {
|
|
@@ -2580,37 +2580,37 @@ const deserializeAws_json1_1BatchPredictions = (output, context) => {
|
|
|
2580
2580
|
};
|
|
2581
2581
|
const deserializeAws_json1_1CreateBatchPredictionOutput = (output, context) => {
|
|
2582
2582
|
return {
|
|
2583
|
-
BatchPredictionId:
|
|
2583
|
+
BatchPredictionId: smithy_client_1.expectString(output.BatchPredictionId),
|
|
2584
2584
|
};
|
|
2585
2585
|
};
|
|
2586
2586
|
const deserializeAws_json1_1CreateDataSourceFromRDSOutput = (output, context) => {
|
|
2587
2587
|
return {
|
|
2588
|
-
DataSourceId:
|
|
2588
|
+
DataSourceId: smithy_client_1.expectString(output.DataSourceId),
|
|
2589
2589
|
};
|
|
2590
2590
|
};
|
|
2591
2591
|
const deserializeAws_json1_1CreateDataSourceFromRedshiftOutput = (output, context) => {
|
|
2592
2592
|
return {
|
|
2593
|
-
DataSourceId:
|
|
2593
|
+
DataSourceId: smithy_client_1.expectString(output.DataSourceId),
|
|
2594
2594
|
};
|
|
2595
2595
|
};
|
|
2596
2596
|
const deserializeAws_json1_1CreateDataSourceFromS3Output = (output, context) => {
|
|
2597
2597
|
return {
|
|
2598
|
-
DataSourceId:
|
|
2598
|
+
DataSourceId: smithy_client_1.expectString(output.DataSourceId),
|
|
2599
2599
|
};
|
|
2600
2600
|
};
|
|
2601
2601
|
const deserializeAws_json1_1CreateEvaluationOutput = (output, context) => {
|
|
2602
2602
|
return {
|
|
2603
|
-
EvaluationId:
|
|
2603
|
+
EvaluationId: smithy_client_1.expectString(output.EvaluationId),
|
|
2604
2604
|
};
|
|
2605
2605
|
};
|
|
2606
2606
|
const deserializeAws_json1_1CreateMLModelOutput = (output, context) => {
|
|
2607
2607
|
return {
|
|
2608
|
-
MLModelId:
|
|
2608
|
+
MLModelId: smithy_client_1.expectString(output.MLModelId),
|
|
2609
2609
|
};
|
|
2610
2610
|
};
|
|
2611
2611
|
const deserializeAws_json1_1CreateRealtimeEndpointOutput = (output, context) => {
|
|
2612
2612
|
return {
|
|
2613
|
-
MLModelId:
|
|
2613
|
+
MLModelId: smithy_client_1.expectString(output.MLModelId),
|
|
2614
2614
|
RealtimeEndpointInfo: output.RealtimeEndpointInfo !== undefined && output.RealtimeEndpointInfo !== null
|
|
2615
2615
|
? deserializeAws_json1_1RealtimeEndpointInfo(output.RealtimeEndpointInfo, context)
|
|
2616
2616
|
: undefined,
|
|
@@ -2618,36 +2618,36 @@ const deserializeAws_json1_1CreateRealtimeEndpointOutput = (output, context) =>
|
|
|
2618
2618
|
};
|
|
2619
2619
|
const deserializeAws_json1_1DataSource = (output, context) => {
|
|
2620
2620
|
return {
|
|
2621
|
-
ComputeStatistics:
|
|
2622
|
-
ComputeTime:
|
|
2621
|
+
ComputeStatistics: smithy_client_1.expectBoolean(output.ComputeStatistics),
|
|
2622
|
+
ComputeTime: smithy_client_1.expectLong(output.ComputeTime),
|
|
2623
2623
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
2624
|
-
?
|
|
2624
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
2625
2625
|
: undefined,
|
|
2626
|
-
CreatedByIamUser:
|
|
2627
|
-
DataLocationS3:
|
|
2628
|
-
DataRearrangement:
|
|
2629
|
-
DataSizeInBytes:
|
|
2630
|
-
DataSourceId:
|
|
2626
|
+
CreatedByIamUser: smithy_client_1.expectString(output.CreatedByIamUser),
|
|
2627
|
+
DataLocationS3: smithy_client_1.expectString(output.DataLocationS3),
|
|
2628
|
+
DataRearrangement: smithy_client_1.expectString(output.DataRearrangement),
|
|
2629
|
+
DataSizeInBytes: smithy_client_1.expectLong(output.DataSizeInBytes),
|
|
2630
|
+
DataSourceId: smithy_client_1.expectString(output.DataSourceId),
|
|
2631
2631
|
FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
|
|
2632
|
-
?
|
|
2632
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FinishedAt)))
|
|
2633
2633
|
: undefined,
|
|
2634
2634
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
2635
|
-
?
|
|
2635
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
|
|
2636
2636
|
: undefined,
|
|
2637
|
-
Message:
|
|
2638
|
-
Name:
|
|
2639
|
-
NumberOfFiles:
|
|
2637
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2638
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
2639
|
+
NumberOfFiles: smithy_client_1.expectLong(output.NumberOfFiles),
|
|
2640
2640
|
RDSMetadata: output.RDSMetadata !== undefined && output.RDSMetadata !== null
|
|
2641
2641
|
? deserializeAws_json1_1RDSMetadata(output.RDSMetadata, context)
|
|
2642
2642
|
: undefined,
|
|
2643
2643
|
RedshiftMetadata: output.RedshiftMetadata !== undefined && output.RedshiftMetadata !== null
|
|
2644
2644
|
? deserializeAws_json1_1RedshiftMetadata(output.RedshiftMetadata, context)
|
|
2645
2645
|
: undefined,
|
|
2646
|
-
RoleARN:
|
|
2646
|
+
RoleARN: smithy_client_1.expectString(output.RoleARN),
|
|
2647
2647
|
StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
|
|
2648
|
-
?
|
|
2648
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartedAt)))
|
|
2649
2649
|
: undefined,
|
|
2650
|
-
Status:
|
|
2650
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
2651
2651
|
};
|
|
2652
2652
|
};
|
|
2653
2653
|
const deserializeAws_json1_1DataSources = (output, context) => {
|
|
@@ -2662,27 +2662,27 @@ const deserializeAws_json1_1DataSources = (output, context) => {
|
|
|
2662
2662
|
};
|
|
2663
2663
|
const deserializeAws_json1_1DeleteBatchPredictionOutput = (output, context) => {
|
|
2664
2664
|
return {
|
|
2665
|
-
BatchPredictionId:
|
|
2665
|
+
BatchPredictionId: smithy_client_1.expectString(output.BatchPredictionId),
|
|
2666
2666
|
};
|
|
2667
2667
|
};
|
|
2668
2668
|
const deserializeAws_json1_1DeleteDataSourceOutput = (output, context) => {
|
|
2669
2669
|
return {
|
|
2670
|
-
DataSourceId:
|
|
2670
|
+
DataSourceId: smithy_client_1.expectString(output.DataSourceId),
|
|
2671
2671
|
};
|
|
2672
2672
|
};
|
|
2673
2673
|
const deserializeAws_json1_1DeleteEvaluationOutput = (output, context) => {
|
|
2674
2674
|
return {
|
|
2675
|
-
EvaluationId:
|
|
2675
|
+
EvaluationId: smithy_client_1.expectString(output.EvaluationId),
|
|
2676
2676
|
};
|
|
2677
2677
|
};
|
|
2678
2678
|
const deserializeAws_json1_1DeleteMLModelOutput = (output, context) => {
|
|
2679
2679
|
return {
|
|
2680
|
-
MLModelId:
|
|
2680
|
+
MLModelId: smithy_client_1.expectString(output.MLModelId),
|
|
2681
2681
|
};
|
|
2682
2682
|
};
|
|
2683
2683
|
const deserializeAws_json1_1DeleteRealtimeEndpointOutput = (output, context) => {
|
|
2684
2684
|
return {
|
|
2685
|
-
MLModelId:
|
|
2685
|
+
MLModelId: smithy_client_1.expectString(output.MLModelId),
|
|
2686
2686
|
RealtimeEndpointInfo: output.RealtimeEndpointInfo !== undefined && output.RealtimeEndpointInfo !== null
|
|
2687
2687
|
? deserializeAws_json1_1RealtimeEndpointInfo(output.RealtimeEndpointInfo, context)
|
|
2688
2688
|
: undefined,
|
|
@@ -2690,13 +2690,13 @@ const deserializeAws_json1_1DeleteRealtimeEndpointOutput = (output, context) =>
|
|
|
2690
2690
|
};
|
|
2691
2691
|
const deserializeAws_json1_1DeleteTagsOutput = (output, context) => {
|
|
2692
2692
|
return {
|
|
2693
|
-
ResourceId:
|
|
2694
|
-
ResourceType:
|
|
2693
|
+
ResourceId: smithy_client_1.expectString(output.ResourceId),
|
|
2694
|
+
ResourceType: smithy_client_1.expectString(output.ResourceType),
|
|
2695
2695
|
};
|
|
2696
2696
|
};
|
|
2697
2697
|
const deserializeAws_json1_1DescribeBatchPredictionsOutput = (output, context) => {
|
|
2698
2698
|
return {
|
|
2699
|
-
NextToken:
|
|
2699
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2700
2700
|
Results: output.Results !== undefined && output.Results !== null
|
|
2701
2701
|
? deserializeAws_json1_1BatchPredictions(output.Results, context)
|
|
2702
2702
|
: undefined,
|
|
@@ -2704,7 +2704,7 @@ const deserializeAws_json1_1DescribeBatchPredictionsOutput = (output, context) =
|
|
|
2704
2704
|
};
|
|
2705
2705
|
const deserializeAws_json1_1DescribeDataSourcesOutput = (output, context) => {
|
|
2706
2706
|
return {
|
|
2707
|
-
NextToken:
|
|
2707
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2708
2708
|
Results: output.Results !== undefined && output.Results !== null
|
|
2709
2709
|
? deserializeAws_json1_1DataSources(output.Results, context)
|
|
2710
2710
|
: undefined,
|
|
@@ -2712,7 +2712,7 @@ const deserializeAws_json1_1DescribeDataSourcesOutput = (output, context) => {
|
|
|
2712
2712
|
};
|
|
2713
2713
|
const deserializeAws_json1_1DescribeEvaluationsOutput = (output, context) => {
|
|
2714
2714
|
return {
|
|
2715
|
-
NextToken:
|
|
2715
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2716
2716
|
Results: output.Results !== undefined && output.Results !== null
|
|
2717
2717
|
? deserializeAws_json1_1Evaluations(output.Results, context)
|
|
2718
2718
|
: undefined,
|
|
@@ -2720,7 +2720,7 @@ const deserializeAws_json1_1DescribeEvaluationsOutput = (output, context) => {
|
|
|
2720
2720
|
};
|
|
2721
2721
|
const deserializeAws_json1_1DescribeMLModelsOutput = (output, context) => {
|
|
2722
2722
|
return {
|
|
2723
|
-
NextToken:
|
|
2723
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
2724
2724
|
Results: output.Results !== undefined && output.Results !== null
|
|
2725
2725
|
? deserializeAws_json1_1MLModels(output.Results, context)
|
|
2726
2726
|
: undefined,
|
|
@@ -2728,8 +2728,8 @@ const deserializeAws_json1_1DescribeMLModelsOutput = (output, context) => {
|
|
|
2728
2728
|
};
|
|
2729
2729
|
const deserializeAws_json1_1DescribeTagsOutput = (output, context) => {
|
|
2730
2730
|
return {
|
|
2731
|
-
ResourceId:
|
|
2732
|
-
ResourceType:
|
|
2731
|
+
ResourceId: smithy_client_1.expectString(output.ResourceId),
|
|
2732
|
+
ResourceType: smithy_client_1.expectString(output.ResourceType),
|
|
2733
2733
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
2734
2734
|
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
2735
2735
|
: undefined,
|
|
@@ -2742,36 +2742,36 @@ const deserializeAws_json1_1DetailsMap = (output, context) => {
|
|
|
2742
2742
|
}
|
|
2743
2743
|
return {
|
|
2744
2744
|
...acc,
|
|
2745
|
-
[key]:
|
|
2745
|
+
[key]: smithy_client_1.expectString(value),
|
|
2746
2746
|
};
|
|
2747
2747
|
}, {});
|
|
2748
2748
|
};
|
|
2749
2749
|
const deserializeAws_json1_1Evaluation = (output, context) => {
|
|
2750
2750
|
return {
|
|
2751
|
-
ComputeTime:
|
|
2751
|
+
ComputeTime: smithy_client_1.expectLong(output.ComputeTime),
|
|
2752
2752
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
2753
|
-
?
|
|
2753
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
2754
2754
|
: undefined,
|
|
2755
|
-
CreatedByIamUser:
|
|
2756
|
-
EvaluationDataSourceId:
|
|
2757
|
-
EvaluationId:
|
|
2755
|
+
CreatedByIamUser: smithy_client_1.expectString(output.CreatedByIamUser),
|
|
2756
|
+
EvaluationDataSourceId: smithy_client_1.expectString(output.EvaluationDataSourceId),
|
|
2757
|
+
EvaluationId: smithy_client_1.expectString(output.EvaluationId),
|
|
2758
2758
|
FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
|
|
2759
|
-
?
|
|
2759
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FinishedAt)))
|
|
2760
2760
|
: undefined,
|
|
2761
|
-
InputDataLocationS3:
|
|
2761
|
+
InputDataLocationS3: smithy_client_1.expectString(output.InputDataLocationS3),
|
|
2762
2762
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
2763
|
-
?
|
|
2763
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
|
|
2764
2764
|
: undefined,
|
|
2765
|
-
MLModelId:
|
|
2766
|
-
Message:
|
|
2767
|
-
Name:
|
|
2765
|
+
MLModelId: smithy_client_1.expectString(output.MLModelId),
|
|
2766
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2767
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
2768
2768
|
PerformanceMetrics: output.PerformanceMetrics !== undefined && output.PerformanceMetrics !== null
|
|
2769
2769
|
? deserializeAws_json1_1PerformanceMetrics(output.PerformanceMetrics, context)
|
|
2770
2770
|
: undefined,
|
|
2771
2771
|
StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
|
|
2772
|
-
?
|
|
2772
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartedAt)))
|
|
2773
2773
|
: undefined,
|
|
2774
|
-
Status:
|
|
2774
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
2775
2775
|
};
|
|
2776
2776
|
};
|
|
2777
2777
|
const deserializeAws_json1_1Evaluations = (output, context) => {
|
|
@@ -2786,132 +2786,132 @@ const deserializeAws_json1_1Evaluations = (output, context) => {
|
|
|
2786
2786
|
};
|
|
2787
2787
|
const deserializeAws_json1_1GetBatchPredictionOutput = (output, context) => {
|
|
2788
2788
|
return {
|
|
2789
|
-
BatchPredictionDataSourceId:
|
|
2790
|
-
BatchPredictionId:
|
|
2791
|
-
ComputeTime:
|
|
2789
|
+
BatchPredictionDataSourceId: smithy_client_1.expectString(output.BatchPredictionDataSourceId),
|
|
2790
|
+
BatchPredictionId: smithy_client_1.expectString(output.BatchPredictionId),
|
|
2791
|
+
ComputeTime: smithy_client_1.expectLong(output.ComputeTime),
|
|
2792
2792
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
2793
|
-
?
|
|
2793
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
2794
2794
|
: undefined,
|
|
2795
|
-
CreatedByIamUser:
|
|
2795
|
+
CreatedByIamUser: smithy_client_1.expectString(output.CreatedByIamUser),
|
|
2796
2796
|
FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
|
|
2797
|
-
?
|
|
2797
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FinishedAt)))
|
|
2798
2798
|
: undefined,
|
|
2799
|
-
InputDataLocationS3:
|
|
2800
|
-
InvalidRecordCount:
|
|
2799
|
+
InputDataLocationS3: smithy_client_1.expectString(output.InputDataLocationS3),
|
|
2800
|
+
InvalidRecordCount: smithy_client_1.expectLong(output.InvalidRecordCount),
|
|
2801
2801
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
2802
|
-
?
|
|
2802
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
|
|
2803
2803
|
: undefined,
|
|
2804
|
-
LogUri:
|
|
2805
|
-
MLModelId:
|
|
2806
|
-
Message:
|
|
2807
|
-
Name:
|
|
2808
|
-
OutputUri:
|
|
2804
|
+
LogUri: smithy_client_1.expectString(output.LogUri),
|
|
2805
|
+
MLModelId: smithy_client_1.expectString(output.MLModelId),
|
|
2806
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2807
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
2808
|
+
OutputUri: smithy_client_1.expectString(output.OutputUri),
|
|
2809
2809
|
StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
|
|
2810
|
-
?
|
|
2810
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartedAt)))
|
|
2811
2811
|
: undefined,
|
|
2812
|
-
Status:
|
|
2813
|
-
TotalRecordCount:
|
|
2812
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
2813
|
+
TotalRecordCount: smithy_client_1.expectLong(output.TotalRecordCount),
|
|
2814
2814
|
};
|
|
2815
2815
|
};
|
|
2816
2816
|
const deserializeAws_json1_1GetDataSourceOutput = (output, context) => {
|
|
2817
2817
|
return {
|
|
2818
|
-
ComputeStatistics:
|
|
2819
|
-
ComputeTime:
|
|
2818
|
+
ComputeStatistics: smithy_client_1.expectBoolean(output.ComputeStatistics),
|
|
2819
|
+
ComputeTime: smithy_client_1.expectLong(output.ComputeTime),
|
|
2820
2820
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
2821
|
-
?
|
|
2821
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
2822
2822
|
: undefined,
|
|
2823
|
-
CreatedByIamUser:
|
|
2824
|
-
DataLocationS3:
|
|
2825
|
-
DataRearrangement:
|
|
2826
|
-
DataSizeInBytes:
|
|
2827
|
-
DataSourceId:
|
|
2828
|
-
DataSourceSchema:
|
|
2823
|
+
CreatedByIamUser: smithy_client_1.expectString(output.CreatedByIamUser),
|
|
2824
|
+
DataLocationS3: smithy_client_1.expectString(output.DataLocationS3),
|
|
2825
|
+
DataRearrangement: smithy_client_1.expectString(output.DataRearrangement),
|
|
2826
|
+
DataSizeInBytes: smithy_client_1.expectLong(output.DataSizeInBytes),
|
|
2827
|
+
DataSourceId: smithy_client_1.expectString(output.DataSourceId),
|
|
2828
|
+
DataSourceSchema: smithy_client_1.expectString(output.DataSourceSchema),
|
|
2829
2829
|
FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
|
|
2830
|
-
?
|
|
2830
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FinishedAt)))
|
|
2831
2831
|
: undefined,
|
|
2832
2832
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
2833
|
-
?
|
|
2833
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
|
|
2834
2834
|
: undefined,
|
|
2835
|
-
LogUri:
|
|
2836
|
-
Message:
|
|
2837
|
-
Name:
|
|
2838
|
-
NumberOfFiles:
|
|
2835
|
+
LogUri: smithy_client_1.expectString(output.LogUri),
|
|
2836
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2837
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
2838
|
+
NumberOfFiles: smithy_client_1.expectLong(output.NumberOfFiles),
|
|
2839
2839
|
RDSMetadata: output.RDSMetadata !== undefined && output.RDSMetadata !== null
|
|
2840
2840
|
? deserializeAws_json1_1RDSMetadata(output.RDSMetadata, context)
|
|
2841
2841
|
: undefined,
|
|
2842
2842
|
RedshiftMetadata: output.RedshiftMetadata !== undefined && output.RedshiftMetadata !== null
|
|
2843
2843
|
? deserializeAws_json1_1RedshiftMetadata(output.RedshiftMetadata, context)
|
|
2844
2844
|
: undefined,
|
|
2845
|
-
RoleARN:
|
|
2845
|
+
RoleARN: smithy_client_1.expectString(output.RoleARN),
|
|
2846
2846
|
StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
|
|
2847
|
-
?
|
|
2847
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartedAt)))
|
|
2848
2848
|
: undefined,
|
|
2849
|
-
Status:
|
|
2849
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
2850
2850
|
};
|
|
2851
2851
|
};
|
|
2852
2852
|
const deserializeAws_json1_1GetEvaluationOutput = (output, context) => {
|
|
2853
2853
|
return {
|
|
2854
|
-
ComputeTime:
|
|
2854
|
+
ComputeTime: smithy_client_1.expectLong(output.ComputeTime),
|
|
2855
2855
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
2856
|
-
?
|
|
2856
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
2857
2857
|
: undefined,
|
|
2858
|
-
CreatedByIamUser:
|
|
2859
|
-
EvaluationDataSourceId:
|
|
2860
|
-
EvaluationId:
|
|
2858
|
+
CreatedByIamUser: smithy_client_1.expectString(output.CreatedByIamUser),
|
|
2859
|
+
EvaluationDataSourceId: smithy_client_1.expectString(output.EvaluationDataSourceId),
|
|
2860
|
+
EvaluationId: smithy_client_1.expectString(output.EvaluationId),
|
|
2861
2861
|
FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
|
|
2862
|
-
?
|
|
2862
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FinishedAt)))
|
|
2863
2863
|
: undefined,
|
|
2864
|
-
InputDataLocationS3:
|
|
2864
|
+
InputDataLocationS3: smithy_client_1.expectString(output.InputDataLocationS3),
|
|
2865
2865
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
2866
|
-
?
|
|
2866
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
|
|
2867
2867
|
: undefined,
|
|
2868
|
-
LogUri:
|
|
2869
|
-
MLModelId:
|
|
2870
|
-
Message:
|
|
2871
|
-
Name:
|
|
2868
|
+
LogUri: smithy_client_1.expectString(output.LogUri),
|
|
2869
|
+
MLModelId: smithy_client_1.expectString(output.MLModelId),
|
|
2870
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2871
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
2872
2872
|
PerformanceMetrics: output.PerformanceMetrics !== undefined && output.PerformanceMetrics !== null
|
|
2873
2873
|
? deserializeAws_json1_1PerformanceMetrics(output.PerformanceMetrics, context)
|
|
2874
2874
|
: undefined,
|
|
2875
2875
|
StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
|
|
2876
|
-
?
|
|
2876
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartedAt)))
|
|
2877
2877
|
: undefined,
|
|
2878
|
-
Status:
|
|
2878
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
2879
2879
|
};
|
|
2880
2880
|
};
|
|
2881
2881
|
const deserializeAws_json1_1GetMLModelOutput = (output, context) => {
|
|
2882
2882
|
return {
|
|
2883
|
-
ComputeTime:
|
|
2883
|
+
ComputeTime: smithy_client_1.expectLong(output.ComputeTime),
|
|
2884
2884
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
2885
|
-
?
|
|
2885
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
2886
2886
|
: undefined,
|
|
2887
|
-
CreatedByIamUser:
|
|
2887
|
+
CreatedByIamUser: smithy_client_1.expectString(output.CreatedByIamUser),
|
|
2888
2888
|
EndpointInfo: output.EndpointInfo !== undefined && output.EndpointInfo !== null
|
|
2889
2889
|
? deserializeAws_json1_1RealtimeEndpointInfo(output.EndpointInfo, context)
|
|
2890
2890
|
: undefined,
|
|
2891
2891
|
FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
|
|
2892
|
-
?
|
|
2892
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FinishedAt)))
|
|
2893
2893
|
: undefined,
|
|
2894
|
-
InputDataLocationS3:
|
|
2894
|
+
InputDataLocationS3: smithy_client_1.expectString(output.InputDataLocationS3),
|
|
2895
2895
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
2896
|
-
?
|
|
2896
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
|
|
2897
2897
|
: undefined,
|
|
2898
|
-
LogUri:
|
|
2899
|
-
MLModelId:
|
|
2900
|
-
MLModelType:
|
|
2901
|
-
Message:
|
|
2902
|
-
Name:
|
|
2903
|
-
Recipe:
|
|
2904
|
-
Schema:
|
|
2905
|
-
ScoreThreshold:
|
|
2898
|
+
LogUri: smithy_client_1.expectString(output.LogUri),
|
|
2899
|
+
MLModelId: smithy_client_1.expectString(output.MLModelId),
|
|
2900
|
+
MLModelType: smithy_client_1.expectString(output.MLModelType),
|
|
2901
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2902
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
2903
|
+
Recipe: smithy_client_1.expectString(output.Recipe),
|
|
2904
|
+
Schema: smithy_client_1.expectString(output.Schema),
|
|
2905
|
+
ScoreThreshold: smithy_client_1.limitedParseFloat32(output.ScoreThreshold),
|
|
2906
2906
|
ScoreThresholdLastUpdatedAt: output.ScoreThresholdLastUpdatedAt !== undefined && output.ScoreThresholdLastUpdatedAt !== null
|
|
2907
|
-
?
|
|
2907
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ScoreThresholdLastUpdatedAt)))
|
|
2908
2908
|
: undefined,
|
|
2909
|
-
SizeInBytes:
|
|
2909
|
+
SizeInBytes: smithy_client_1.expectLong(output.SizeInBytes),
|
|
2910
2910
|
StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
|
|
2911
|
-
?
|
|
2911
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartedAt)))
|
|
2912
2912
|
: undefined,
|
|
2913
|
-
Status:
|
|
2914
|
-
TrainingDataSourceId:
|
|
2913
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
2914
|
+
TrainingDataSourceId: smithy_client_1.expectString(output.TrainingDataSourceId),
|
|
2915
2915
|
TrainingParameters: output.TrainingParameters !== undefined && output.TrainingParameters !== null
|
|
2916
2916
|
? deserializeAws_json1_1TrainingParameters(output.TrainingParameters, context)
|
|
2917
2917
|
: undefined,
|
|
@@ -2919,65 +2919,65 @@ const deserializeAws_json1_1GetMLModelOutput = (output, context) => {
|
|
|
2919
2919
|
};
|
|
2920
2920
|
const deserializeAws_json1_1IdempotentParameterMismatchException = (output, context) => {
|
|
2921
2921
|
return {
|
|
2922
|
-
code:
|
|
2923
|
-
message:
|
|
2922
|
+
code: smithy_client_1.expectInt32(output.code),
|
|
2923
|
+
message: smithy_client_1.expectString(output.message),
|
|
2924
2924
|
};
|
|
2925
2925
|
};
|
|
2926
2926
|
const deserializeAws_json1_1InternalServerException = (output, context) => {
|
|
2927
2927
|
return {
|
|
2928
|
-
code:
|
|
2929
|
-
message:
|
|
2928
|
+
code: smithy_client_1.expectInt32(output.code),
|
|
2929
|
+
message: smithy_client_1.expectString(output.message),
|
|
2930
2930
|
};
|
|
2931
2931
|
};
|
|
2932
2932
|
const deserializeAws_json1_1InvalidInputException = (output, context) => {
|
|
2933
2933
|
return {
|
|
2934
|
-
code:
|
|
2935
|
-
message:
|
|
2934
|
+
code: smithy_client_1.expectInt32(output.code),
|
|
2935
|
+
message: smithy_client_1.expectString(output.message),
|
|
2936
2936
|
};
|
|
2937
2937
|
};
|
|
2938
2938
|
const deserializeAws_json1_1InvalidTagException = (output, context) => {
|
|
2939
2939
|
return {
|
|
2940
|
-
message:
|
|
2940
|
+
message: smithy_client_1.expectString(output.message),
|
|
2941
2941
|
};
|
|
2942
2942
|
};
|
|
2943
2943
|
const deserializeAws_json1_1LimitExceededException = (output, context) => {
|
|
2944
2944
|
return {
|
|
2945
|
-
code:
|
|
2946
|
-
message:
|
|
2945
|
+
code: smithy_client_1.expectInt32(output.code),
|
|
2946
|
+
message: smithy_client_1.expectString(output.message),
|
|
2947
2947
|
};
|
|
2948
2948
|
};
|
|
2949
2949
|
const deserializeAws_json1_1MLModel = (output, context) => {
|
|
2950
2950
|
return {
|
|
2951
|
-
Algorithm:
|
|
2952
|
-
ComputeTime:
|
|
2951
|
+
Algorithm: smithy_client_1.expectString(output.Algorithm),
|
|
2952
|
+
ComputeTime: smithy_client_1.expectLong(output.ComputeTime),
|
|
2953
2953
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
2954
|
-
?
|
|
2954
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
2955
2955
|
: undefined,
|
|
2956
|
-
CreatedByIamUser:
|
|
2956
|
+
CreatedByIamUser: smithy_client_1.expectString(output.CreatedByIamUser),
|
|
2957
2957
|
EndpointInfo: output.EndpointInfo !== undefined && output.EndpointInfo !== null
|
|
2958
2958
|
? deserializeAws_json1_1RealtimeEndpointInfo(output.EndpointInfo, context)
|
|
2959
2959
|
: undefined,
|
|
2960
2960
|
FinishedAt: output.FinishedAt !== undefined && output.FinishedAt !== null
|
|
2961
|
-
?
|
|
2961
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.FinishedAt)))
|
|
2962
2962
|
: undefined,
|
|
2963
|
-
InputDataLocationS3:
|
|
2963
|
+
InputDataLocationS3: smithy_client_1.expectString(output.InputDataLocationS3),
|
|
2964
2964
|
LastUpdatedAt: output.LastUpdatedAt !== undefined && output.LastUpdatedAt !== null
|
|
2965
|
-
?
|
|
2965
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
|
|
2966
2966
|
: undefined,
|
|
2967
|
-
MLModelId:
|
|
2968
|
-
MLModelType:
|
|
2969
|
-
Message:
|
|
2970
|
-
Name:
|
|
2971
|
-
ScoreThreshold:
|
|
2967
|
+
MLModelId: smithy_client_1.expectString(output.MLModelId),
|
|
2968
|
+
MLModelType: smithy_client_1.expectString(output.MLModelType),
|
|
2969
|
+
Message: smithy_client_1.expectString(output.Message),
|
|
2970
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
2971
|
+
ScoreThreshold: smithy_client_1.limitedParseFloat32(output.ScoreThreshold),
|
|
2972
2972
|
ScoreThresholdLastUpdatedAt: output.ScoreThresholdLastUpdatedAt !== undefined && output.ScoreThresholdLastUpdatedAt !== null
|
|
2973
|
-
?
|
|
2973
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ScoreThresholdLastUpdatedAt)))
|
|
2974
2974
|
: undefined,
|
|
2975
|
-
SizeInBytes:
|
|
2975
|
+
SizeInBytes: smithy_client_1.expectLong(output.SizeInBytes),
|
|
2976
2976
|
StartedAt: output.StartedAt !== undefined && output.StartedAt !== null
|
|
2977
|
-
?
|
|
2977
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.StartedAt)))
|
|
2978
2978
|
: undefined,
|
|
2979
|
-
Status:
|
|
2980
|
-
TrainingDataSourceId:
|
|
2979
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
2980
|
+
TrainingDataSourceId: smithy_client_1.expectString(output.TrainingDataSourceId),
|
|
2981
2981
|
TrainingParameters: output.TrainingParameters !== undefined && output.TrainingParameters !== null
|
|
2982
2982
|
? deserializeAws_json1_1TrainingParameters(output.TrainingParameters, context)
|
|
2983
2983
|
: undefined,
|
|
@@ -3007,7 +3007,7 @@ const deserializeAws_json1_1PerformanceMetricsProperties = (output, context) =>
|
|
|
3007
3007
|
}
|
|
3008
3008
|
return {
|
|
3009
3009
|
...acc,
|
|
3010
|
-
[key]:
|
|
3010
|
+
[key]: smithy_client_1.expectString(value),
|
|
3011
3011
|
};
|
|
3012
3012
|
}, {});
|
|
3013
3013
|
};
|
|
@@ -3016,16 +3016,16 @@ const deserializeAws_json1_1Prediction = (output, context) => {
|
|
|
3016
3016
|
details: output.details !== undefined && output.details !== null
|
|
3017
3017
|
? deserializeAws_json1_1DetailsMap(output.details, context)
|
|
3018
3018
|
: undefined,
|
|
3019
|
-
predictedLabel:
|
|
3019
|
+
predictedLabel: smithy_client_1.expectString(output.predictedLabel),
|
|
3020
3020
|
predictedScores: output.predictedScores !== undefined && output.predictedScores !== null
|
|
3021
3021
|
? deserializeAws_json1_1ScoreValuePerLabelMap(output.predictedScores, context)
|
|
3022
3022
|
: undefined,
|
|
3023
|
-
predictedValue:
|
|
3023
|
+
predictedValue: smithy_client_1.limitedParseFloat32(output.predictedValue),
|
|
3024
3024
|
};
|
|
3025
3025
|
};
|
|
3026
3026
|
const deserializeAws_json1_1PredictorNotMountedException = (output, context) => {
|
|
3027
3027
|
return {
|
|
3028
|
-
message:
|
|
3028
|
+
message: smithy_client_1.expectString(output.message),
|
|
3029
3029
|
};
|
|
3030
3030
|
};
|
|
3031
3031
|
const deserializeAws_json1_1PredictOutput = (output, context) => {
|
|
@@ -3037,51 +3037,51 @@ const deserializeAws_json1_1PredictOutput = (output, context) => {
|
|
|
3037
3037
|
};
|
|
3038
3038
|
const deserializeAws_json1_1RDSDatabase = (output, context) => {
|
|
3039
3039
|
return {
|
|
3040
|
-
DatabaseName:
|
|
3041
|
-
InstanceIdentifier:
|
|
3040
|
+
DatabaseName: smithy_client_1.expectString(output.DatabaseName),
|
|
3041
|
+
InstanceIdentifier: smithy_client_1.expectString(output.InstanceIdentifier),
|
|
3042
3042
|
};
|
|
3043
3043
|
};
|
|
3044
3044
|
const deserializeAws_json1_1RDSMetadata = (output, context) => {
|
|
3045
3045
|
return {
|
|
3046
|
-
DataPipelineId:
|
|
3046
|
+
DataPipelineId: smithy_client_1.expectString(output.DataPipelineId),
|
|
3047
3047
|
Database: output.Database !== undefined && output.Database !== null
|
|
3048
3048
|
? deserializeAws_json1_1RDSDatabase(output.Database, context)
|
|
3049
3049
|
: undefined,
|
|
3050
|
-
DatabaseUserName:
|
|
3051
|
-
ResourceRole:
|
|
3052
|
-
SelectSqlQuery:
|
|
3053
|
-
ServiceRole:
|
|
3050
|
+
DatabaseUserName: smithy_client_1.expectString(output.DatabaseUserName),
|
|
3051
|
+
ResourceRole: smithy_client_1.expectString(output.ResourceRole),
|
|
3052
|
+
SelectSqlQuery: smithy_client_1.expectString(output.SelectSqlQuery),
|
|
3053
|
+
ServiceRole: smithy_client_1.expectString(output.ServiceRole),
|
|
3054
3054
|
};
|
|
3055
3055
|
};
|
|
3056
3056
|
const deserializeAws_json1_1RealtimeEndpointInfo = (output, context) => {
|
|
3057
3057
|
return {
|
|
3058
3058
|
CreatedAt: output.CreatedAt !== undefined && output.CreatedAt !== null
|
|
3059
|
-
?
|
|
3059
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedAt)))
|
|
3060
3060
|
: undefined,
|
|
3061
|
-
EndpointStatus:
|
|
3062
|
-
EndpointUrl:
|
|
3063
|
-
PeakRequestsPerSecond:
|
|
3061
|
+
EndpointStatus: smithy_client_1.expectString(output.EndpointStatus),
|
|
3062
|
+
EndpointUrl: smithy_client_1.expectString(output.EndpointUrl),
|
|
3063
|
+
PeakRequestsPerSecond: smithy_client_1.expectInt32(output.PeakRequestsPerSecond),
|
|
3064
3064
|
};
|
|
3065
3065
|
};
|
|
3066
3066
|
const deserializeAws_json1_1RedshiftDatabase = (output, context) => {
|
|
3067
3067
|
return {
|
|
3068
|
-
ClusterIdentifier:
|
|
3069
|
-
DatabaseName:
|
|
3068
|
+
ClusterIdentifier: smithy_client_1.expectString(output.ClusterIdentifier),
|
|
3069
|
+
DatabaseName: smithy_client_1.expectString(output.DatabaseName),
|
|
3070
3070
|
};
|
|
3071
3071
|
};
|
|
3072
3072
|
const deserializeAws_json1_1RedshiftMetadata = (output, context) => {
|
|
3073
3073
|
return {
|
|
3074
|
-
DatabaseUserName:
|
|
3074
|
+
DatabaseUserName: smithy_client_1.expectString(output.DatabaseUserName),
|
|
3075
3075
|
RedshiftDatabase: output.RedshiftDatabase !== undefined && output.RedshiftDatabase !== null
|
|
3076
3076
|
? deserializeAws_json1_1RedshiftDatabase(output.RedshiftDatabase, context)
|
|
3077
3077
|
: undefined,
|
|
3078
|
-
SelectSqlQuery:
|
|
3078
|
+
SelectSqlQuery: smithy_client_1.expectString(output.SelectSqlQuery),
|
|
3079
3079
|
};
|
|
3080
3080
|
};
|
|
3081
3081
|
const deserializeAws_json1_1ResourceNotFoundException = (output, context) => {
|
|
3082
3082
|
return {
|
|
3083
|
-
code:
|
|
3084
|
-
message:
|
|
3083
|
+
code: smithy_client_1.expectInt32(output.code),
|
|
3084
|
+
message: smithy_client_1.expectString(output.message),
|
|
3085
3085
|
};
|
|
3086
3086
|
};
|
|
3087
3087
|
const deserializeAws_json1_1ScoreValuePerLabelMap = (output, context) => {
|
|
@@ -3091,19 +3091,19 @@ const deserializeAws_json1_1ScoreValuePerLabelMap = (output, context) => {
|
|
|
3091
3091
|
}
|
|
3092
3092
|
return {
|
|
3093
3093
|
...acc,
|
|
3094
|
-
[key]:
|
|
3094
|
+
[key]: smithy_client_1.limitedParseFloat32(value),
|
|
3095
3095
|
};
|
|
3096
3096
|
}, {});
|
|
3097
3097
|
};
|
|
3098
3098
|
const deserializeAws_json1_1Tag = (output, context) => {
|
|
3099
3099
|
return {
|
|
3100
|
-
Key:
|
|
3101
|
-
Value:
|
|
3100
|
+
Key: smithy_client_1.expectString(output.Key),
|
|
3101
|
+
Value: smithy_client_1.expectString(output.Value),
|
|
3102
3102
|
};
|
|
3103
3103
|
};
|
|
3104
3104
|
const deserializeAws_json1_1TagLimitExceededException = (output, context) => {
|
|
3105
3105
|
return {
|
|
3106
|
-
message:
|
|
3106
|
+
message: smithy_client_1.expectString(output.message),
|
|
3107
3107
|
};
|
|
3108
3108
|
};
|
|
3109
3109
|
const deserializeAws_json1_1TagList = (output, context) => {
|
|
@@ -3123,28 +3123,28 @@ const deserializeAws_json1_1TrainingParameters = (output, context) => {
|
|
|
3123
3123
|
}
|
|
3124
3124
|
return {
|
|
3125
3125
|
...acc,
|
|
3126
|
-
[key]:
|
|
3126
|
+
[key]: smithy_client_1.expectString(value),
|
|
3127
3127
|
};
|
|
3128
3128
|
}, {});
|
|
3129
3129
|
};
|
|
3130
3130
|
const deserializeAws_json1_1UpdateBatchPredictionOutput = (output, context) => {
|
|
3131
3131
|
return {
|
|
3132
|
-
BatchPredictionId:
|
|
3132
|
+
BatchPredictionId: smithy_client_1.expectString(output.BatchPredictionId),
|
|
3133
3133
|
};
|
|
3134
3134
|
};
|
|
3135
3135
|
const deserializeAws_json1_1UpdateDataSourceOutput = (output, context) => {
|
|
3136
3136
|
return {
|
|
3137
|
-
DataSourceId:
|
|
3137
|
+
DataSourceId: smithy_client_1.expectString(output.DataSourceId),
|
|
3138
3138
|
};
|
|
3139
3139
|
};
|
|
3140
3140
|
const deserializeAws_json1_1UpdateEvaluationOutput = (output, context) => {
|
|
3141
3141
|
return {
|
|
3142
|
-
EvaluationId:
|
|
3142
|
+
EvaluationId: smithy_client_1.expectString(output.EvaluationId),
|
|
3143
3143
|
};
|
|
3144
3144
|
};
|
|
3145
3145
|
const deserializeAws_json1_1UpdateMLModelOutput = (output, context) => {
|
|
3146
3146
|
return {
|
|
3147
|
-
MLModelId:
|
|
3147
|
+
MLModelId: smithy_client_1.expectString(output.MLModelId),
|
|
3148
3148
|
};
|
|
3149
3149
|
};
|
|
3150
3150
|
const deserializeMetadata = (output) => {
|