@aws-sdk/client-sagemaker 3.41.0 → 3.45.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 +41 -0
- package/dist-cjs/SageMaker.js +135 -0
- package/dist-cjs/commands/CreateInferenceRecommendationsJobCommand.js +36 -0
- package/dist-cjs/commands/DescribeInferenceRecommendationsJobCommand.js +36 -0
- package/dist-cjs/commands/DescribeLineageGroupCommand.js +36 -0
- package/dist-cjs/commands/DescribeModelBiasJobDefinitionCommand.js +2 -1
- package/dist-cjs/commands/DescribeModelExplainabilityJobDefinitionCommand.js +3 -3
- package/dist-cjs/commands/DescribeModelPackageCommand.js +3 -3
- package/dist-cjs/commands/DescribeModelPackageGroupCommand.js +3 -3
- package/dist-cjs/commands/DescribeModelQualityJobDefinitionCommand.js +3 -3
- package/dist-cjs/commands/DescribeMonitoringScheduleCommand.js +3 -3
- package/dist-cjs/commands/DescribeNotebookInstanceCommand.js +3 -3
- package/dist-cjs/commands/DescribeNotebookInstanceLifecycleConfigCommand.js +3 -3
- package/dist-cjs/commands/DescribePipelineCommand.js +3 -3
- package/dist-cjs/commands/DescribePipelineDefinitionForExecutionCommand.js +3 -3
- package/dist-cjs/commands/DescribePipelineExecutionCommand.js +3 -3
- package/dist-cjs/commands/DescribeProcessingJobCommand.js +1 -2
- package/dist-cjs/commands/GetLineageGroupPolicyCommand.js +36 -0
- package/dist-cjs/commands/ListInferenceRecommendationsJobsCommand.js +36 -0
- package/dist-cjs/commands/ListLineageGroupsCommand.js +36 -0
- package/dist-cjs/commands/ListModelMetadataCommand.js +36 -0
- package/dist-cjs/commands/ListTransformJobsCommand.js +2 -1
- package/dist-cjs/commands/ListTrialComponentsCommand.js +3 -3
- package/dist-cjs/commands/ListTrialsCommand.js +3 -3
- package/dist-cjs/commands/ListUserProfilesCommand.js +3 -3
- package/dist-cjs/commands/ListWorkforcesCommand.js +3 -3
- package/dist-cjs/commands/ListWorkteamsCommand.js +3 -3
- package/dist-cjs/commands/PutModelPackageGroupPolicyCommand.js +3 -3
- package/dist-cjs/commands/QueryLineageCommand.js +36 -0
- package/dist-cjs/commands/RegisterDevicesCommand.js +2 -2
- package/dist-cjs/commands/RenderUiTemplateCommand.js +3 -3
- package/dist-cjs/commands/RetryPipelineExecutionCommand.js +3 -3
- package/dist-cjs/commands/SearchCommand.js +1 -2
- package/dist-cjs/commands/SendPipelineExecutionStepFailureCommand.js +3 -3
- package/dist-cjs/commands/SendPipelineExecutionStepSuccessCommand.js +3 -3
- package/dist-cjs/commands/StartMonitoringScheduleCommand.js +2 -2
- package/dist-cjs/commands/StartNotebookInstanceCommand.js +2 -2
- package/dist-cjs/commands/StartPipelineExecutionCommand.js +1 -2
- package/dist-cjs/commands/StopInferenceRecommendationsJobCommand.js +36 -0
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/endpoints.js +17 -0
- package/dist-cjs/models/models_0.js +151 -150
- package/dist-cjs/models/models_1.js +204 -217
- package/dist-cjs/models/models_2.js +338 -326
- package/dist-cjs/models/models_3.js +353 -2
- package/dist-cjs/pagination/ListInferenceRecommendationsJobsPaginator.js +35 -0
- package/dist-cjs/pagination/ListLineageGroupsPaginator.js +35 -0
- package/dist-cjs/pagination/ListModelMetadataPaginator.js +35 -0
- package/dist-cjs/pagination/QueryLineagePaginator.js +35 -0
- package/dist-cjs/pagination/index.js +4 -0
- package/dist-cjs/protocols/Aws_json1_1.js +1586 -35
- package/dist-es/SageMaker.js +135 -0
- package/dist-es/commands/CreateInferenceRecommendationsJobCommand.js +39 -0
- package/dist-es/commands/DescribeInferenceRecommendationsJobCommand.js +39 -0
- package/dist-es/commands/DescribeLineageGroupCommand.js +39 -0
- package/dist-es/commands/DescribeModelBiasJobDefinitionCommand.js +2 -1
- package/dist-es/commands/DescribeModelExplainabilityJobDefinitionCommand.js +1 -1
- package/dist-es/commands/DescribeModelPackageCommand.js +1 -1
- package/dist-es/commands/DescribeModelPackageGroupCommand.js +1 -1
- package/dist-es/commands/DescribeModelQualityJobDefinitionCommand.js +1 -1
- package/dist-es/commands/DescribeMonitoringScheduleCommand.js +1 -1
- package/dist-es/commands/DescribeNotebookInstanceCommand.js +1 -1
- package/dist-es/commands/DescribeNotebookInstanceLifecycleConfigCommand.js +1 -1
- package/dist-es/commands/DescribePipelineCommand.js +1 -1
- package/dist-es/commands/DescribePipelineDefinitionForExecutionCommand.js +1 -1
- package/dist-es/commands/DescribePipelineExecutionCommand.js +1 -1
- package/dist-es/commands/DescribeProcessingJobCommand.js +1 -2
- package/dist-es/commands/GetLineageGroupPolicyCommand.js +39 -0
- package/dist-es/commands/ListInferenceRecommendationsJobsCommand.js +39 -0
- package/dist-es/commands/ListLineageGroupsCommand.js +39 -0
- package/dist-es/commands/ListModelMetadataCommand.js +39 -0
- package/dist-es/commands/ListTransformJobsCommand.js +2 -1
- package/dist-es/commands/ListTrialComponentsCommand.js +1 -1
- package/dist-es/commands/ListTrialsCommand.js +1 -1
- package/dist-es/commands/ListUserProfilesCommand.js +1 -1
- package/dist-es/commands/ListWorkforcesCommand.js +1 -1
- package/dist-es/commands/ListWorkteamsCommand.js +1 -1
- package/dist-es/commands/PutModelPackageGroupPolicyCommand.js +1 -1
- package/dist-es/commands/QueryLineageCommand.js +39 -0
- package/dist-es/commands/RegisterDevicesCommand.js +1 -1
- package/dist-es/commands/RenderUiTemplateCommand.js +1 -1
- package/dist-es/commands/RetryPipelineExecutionCommand.js +1 -1
- package/dist-es/commands/SearchCommand.js +1 -2
- package/dist-es/commands/SendPipelineExecutionStepFailureCommand.js +1 -1
- package/dist-es/commands/SendPipelineExecutionStepSuccessCommand.js +1 -1
- package/dist-es/commands/StartMonitoringScheduleCommand.js +1 -1
- package/dist-es/commands/StartNotebookInstanceCommand.js +1 -1
- package/dist-es/commands/StartPipelineExecutionCommand.js +1 -2
- package/dist-es/commands/StopInferenceRecommendationsJobCommand.js +39 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/endpoints.js +17 -0
- package/dist-es/models/models_0.js +133 -132
- package/dist-es/models/models_1.js +138 -159
- package/dist-es/models/models_2.js +250 -224
- package/dist-es/models/models_3.js +244 -0
- package/dist-es/pagination/ListInferenceRecommendationsJobsPaginator.js +74 -0
- package/dist-es/pagination/ListLineageGroupsPaginator.js +74 -0
- package/dist-es/pagination/ListModelMetadataPaginator.js +74 -0
- package/dist-es/pagination/QueryLineagePaginator.js +74 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +1523 -34
- package/dist-types/SageMaker.d.ts +72 -0
- package/dist-types/SageMakerClient.d.ts +11 -2
- package/dist-types/commands/CreateInferenceRecommendationsJobCommand.d.ts +36 -0
- package/dist-types/commands/DescribeInferenceRecommendationsJobCommand.d.ts +36 -0
- package/dist-types/commands/DescribeLineageGroupCommand.d.ts +37 -0
- package/dist-types/commands/DescribeModelBiasJobDefinitionCommand.d.ts +2 -1
- package/dist-types/commands/DescribeModelExplainabilityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeModelPackageCommand.d.ts +1 -1
- package/dist-types/commands/DescribeModelPackageGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeModelQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/commands/DescribeNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeNotebookInstanceLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/commands/DescribePipelineCommand.d.ts +1 -1
- package/dist-types/commands/DescribePipelineDefinitionForExecutionCommand.d.ts +1 -1
- package/dist-types/commands/DescribePipelineExecutionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeProcessingJobCommand.d.ts +1 -2
- package/dist-types/commands/GetLineageGroupPolicyCommand.d.ts +35 -0
- package/dist-types/commands/ListInferenceRecommendationsJobsCommand.d.ts +35 -0
- package/dist-types/commands/ListLineageGroupsCommand.d.ts +37 -0
- package/dist-types/commands/ListModelMetadataCommand.d.ts +36 -0
- package/dist-types/commands/ListTransformJobsCommand.d.ts +2 -1
- package/dist-types/commands/ListTrialComponentsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrialsCommand.d.ts +1 -1
- package/dist-types/commands/ListUserProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkforcesCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkteamsCommand.d.ts +1 -1
- package/dist-types/commands/PutModelPackageGroupPolicyCommand.d.ts +1 -1
- package/dist-types/commands/QueryLineageCommand.d.ts +37 -0
- package/dist-types/commands/RegisterDevicesCommand.d.ts +1 -1
- package/dist-types/commands/RenderUiTemplateCommand.d.ts +1 -1
- package/dist-types/commands/RetryPipelineExecutionCommand.d.ts +1 -1
- package/dist-types/commands/SearchCommand.d.ts +1 -2
- package/dist-types/commands/SendPipelineExecutionStepFailureCommand.d.ts +1 -1
- package/dist-types/commands/SendPipelineExecutionStepSuccessCommand.d.ts +1 -1
- package/dist-types/commands/StartMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/commands/StartNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/commands/StartPipelineExecutionCommand.d.ts +1 -2
- package/dist-types/commands/StopInferenceRecommendationsJobCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +368 -1957
- package/dist-types/models/models_1.d.ts +6604 -5056
- package/dist-types/models/models_2.d.ts +5469 -6135
- package/dist-types/models/models_3.d.ts +2350 -3
- package/dist-types/pagination/ListInferenceRecommendationsJobsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListLineageGroupsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListModelMetadataPaginator.d.ts +4 -0
- package/dist-types/pagination/QueryLineagePaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
- package/dist-types/ts3.4/SageMaker.d.ts +45 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +11 -2
- package/dist-types/ts3.4/commands/CreateInferenceRecommendationsJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeInferenceRecommendationsJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeLineageGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeModelBiasJobDefinitionCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeModelExplainabilityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeModelPackageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeModelPackageGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeModelQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeNotebookInstanceLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribePipelineCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribePipelineDefinitionForExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribePipelineExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeProcessingJobCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/GetLineageGroupPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListInferenceRecommendationsJobsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListLineageGroupsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListModelMetadataCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTransformJobsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListTrialComponentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTrialsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUserProfilesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListWorkforcesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListWorkteamsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutModelPackageGroupPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/QueryLineageCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RegisterDevicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RenderUiTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RetryPipelineExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/SendPipelineExecutionStepFailureCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SendPipelineExecutionStepSuccessCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartPipelineExecutionCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/StopInferenceRecommendationsJobCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +226 -201
- package/dist-types/ts3.4/models/models_1.d.ts +448 -509
- package/dist-types/ts3.4/models/models_2.d.ts +2453 -2632
- package/dist-types/ts3.4/models/models_3.d.ts +1048 -3
- package/dist-types/ts3.4/pagination/ListInferenceRecommendationsJobsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListLineageGroupsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListModelMetadataPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/QueryLineagePaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +27 -0
- package/package.json +5 -5
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
3
|
+
exports.serializeAws_json1_1CreateWorkteamCommand = exports.serializeAws_json1_1CreateWorkforceCommand = exports.serializeAws_json1_1CreateUserProfileCommand = exports.serializeAws_json1_1CreateTrialComponentCommand = exports.serializeAws_json1_1CreateTrialCommand = exports.serializeAws_json1_1CreateTransformJobCommand = exports.serializeAws_json1_1CreateTrainingJobCommand = exports.serializeAws_json1_1CreateStudioLifecycleConfigCommand = exports.serializeAws_json1_1CreateProjectCommand = exports.serializeAws_json1_1CreateProcessingJobCommand = exports.serializeAws_json1_1CreatePresignedNotebookInstanceUrlCommand = exports.serializeAws_json1_1CreatePresignedDomainUrlCommand = exports.serializeAws_json1_1CreatePipelineCommand = exports.serializeAws_json1_1CreateNotebookInstanceLifecycleConfigCommand = exports.serializeAws_json1_1CreateNotebookInstanceCommand = exports.serializeAws_json1_1CreateMonitoringScheduleCommand = exports.serializeAws_json1_1CreateModelQualityJobDefinitionCommand = exports.serializeAws_json1_1CreateModelPackageGroupCommand = exports.serializeAws_json1_1CreateModelPackageCommand = exports.serializeAws_json1_1CreateModelExplainabilityJobDefinitionCommand = exports.serializeAws_json1_1CreateModelBiasJobDefinitionCommand = exports.serializeAws_json1_1CreateModelCommand = exports.serializeAws_json1_1CreateLabelingJobCommand = exports.serializeAws_json1_1CreateInferenceRecommendationsJobCommand = exports.serializeAws_json1_1CreateImageVersionCommand = exports.serializeAws_json1_1CreateImageCommand = exports.serializeAws_json1_1CreateHyperParameterTuningJobCommand = exports.serializeAws_json1_1CreateHumanTaskUiCommand = exports.serializeAws_json1_1CreateFlowDefinitionCommand = exports.serializeAws_json1_1CreateFeatureGroupCommand = exports.serializeAws_json1_1CreateExperimentCommand = exports.serializeAws_json1_1CreateEndpointConfigCommand = exports.serializeAws_json1_1CreateEndpointCommand = exports.serializeAws_json1_1CreateEdgePackagingJobCommand = exports.serializeAws_json1_1CreateDomainCommand = exports.serializeAws_json1_1CreateDeviceFleetCommand = exports.serializeAws_json1_1CreateDataQualityJobDefinitionCommand = exports.serializeAws_json1_1CreateContextCommand = exports.serializeAws_json1_1CreateCompilationJobCommand = exports.serializeAws_json1_1CreateCodeRepositoryCommand = exports.serializeAws_json1_1CreateAutoMLJobCommand = exports.serializeAws_json1_1CreateArtifactCommand = exports.serializeAws_json1_1CreateAppImageConfigCommand = exports.serializeAws_json1_1CreateAppCommand = exports.serializeAws_json1_1CreateAlgorithmCommand = exports.serializeAws_json1_1CreateActionCommand = exports.serializeAws_json1_1BatchDescribeModelPackageCommand = exports.serializeAws_json1_1AssociateTrialComponentCommand = exports.serializeAws_json1_1AddTagsCommand = exports.serializeAws_json1_1AddAssociationCommand = void 0;
|
|
4
|
+
exports.serializeAws_json1_1DescribeDeviceCommand = exports.serializeAws_json1_1DescribeDataQualityJobDefinitionCommand = exports.serializeAws_json1_1DescribeContextCommand = exports.serializeAws_json1_1DescribeCompilationJobCommand = exports.serializeAws_json1_1DescribeCodeRepositoryCommand = exports.serializeAws_json1_1DescribeAutoMLJobCommand = exports.serializeAws_json1_1DescribeArtifactCommand = exports.serializeAws_json1_1DescribeAppImageConfigCommand = exports.serializeAws_json1_1DescribeAppCommand = exports.serializeAws_json1_1DescribeAlgorithmCommand = exports.serializeAws_json1_1DescribeActionCommand = exports.serializeAws_json1_1DeregisterDevicesCommand = exports.serializeAws_json1_1DeleteWorkteamCommand = exports.serializeAws_json1_1DeleteWorkforceCommand = exports.serializeAws_json1_1DeleteUserProfileCommand = exports.serializeAws_json1_1DeleteTrialComponentCommand = exports.serializeAws_json1_1DeleteTrialCommand = exports.serializeAws_json1_1DeleteTagsCommand = exports.serializeAws_json1_1DeleteStudioLifecycleConfigCommand = exports.serializeAws_json1_1DeleteProjectCommand = exports.serializeAws_json1_1DeletePipelineCommand = exports.serializeAws_json1_1DeleteNotebookInstanceLifecycleConfigCommand = exports.serializeAws_json1_1DeleteNotebookInstanceCommand = exports.serializeAws_json1_1DeleteMonitoringScheduleCommand = exports.serializeAws_json1_1DeleteModelQualityJobDefinitionCommand = exports.serializeAws_json1_1DeleteModelPackageGroupPolicyCommand = exports.serializeAws_json1_1DeleteModelPackageGroupCommand = exports.serializeAws_json1_1DeleteModelPackageCommand = exports.serializeAws_json1_1DeleteModelExplainabilityJobDefinitionCommand = exports.serializeAws_json1_1DeleteModelBiasJobDefinitionCommand = exports.serializeAws_json1_1DeleteModelCommand = exports.serializeAws_json1_1DeleteImageVersionCommand = exports.serializeAws_json1_1DeleteImageCommand = exports.serializeAws_json1_1DeleteHumanTaskUiCommand = exports.serializeAws_json1_1DeleteFlowDefinitionCommand = exports.serializeAws_json1_1DeleteFeatureGroupCommand = exports.serializeAws_json1_1DeleteExperimentCommand = exports.serializeAws_json1_1DeleteEndpointConfigCommand = exports.serializeAws_json1_1DeleteEndpointCommand = exports.serializeAws_json1_1DeleteDomainCommand = exports.serializeAws_json1_1DeleteDeviceFleetCommand = exports.serializeAws_json1_1DeleteDataQualityJobDefinitionCommand = exports.serializeAws_json1_1DeleteContextCommand = exports.serializeAws_json1_1DeleteCodeRepositoryCommand = exports.serializeAws_json1_1DeleteAssociationCommand = exports.serializeAws_json1_1DeleteArtifactCommand = exports.serializeAws_json1_1DeleteAppImageConfigCommand = exports.serializeAws_json1_1DeleteAppCommand = exports.serializeAws_json1_1DeleteAlgorithmCommand = exports.serializeAws_json1_1DeleteActionCommand = void 0;
|
|
5
|
+
exports.serializeAws_json1_1ListAppsCommand = exports.serializeAws_json1_1ListAppImageConfigsCommand = exports.serializeAws_json1_1ListAlgorithmsCommand = exports.serializeAws_json1_1ListActionsCommand = exports.serializeAws_json1_1GetSearchSuggestionsCommand = exports.serializeAws_json1_1GetSagemakerServicecatalogPortfolioStatusCommand = exports.serializeAws_json1_1GetModelPackageGroupPolicyCommand = exports.serializeAws_json1_1GetLineageGroupPolicyCommand = exports.serializeAws_json1_1GetDeviceFleetReportCommand = exports.serializeAws_json1_1EnableSagemakerServicecatalogPortfolioCommand = exports.serializeAws_json1_1DisassociateTrialComponentCommand = exports.serializeAws_json1_1DisableSagemakerServicecatalogPortfolioCommand = exports.serializeAws_json1_1DescribeWorkteamCommand = exports.serializeAws_json1_1DescribeWorkforceCommand = exports.serializeAws_json1_1DescribeUserProfileCommand = exports.serializeAws_json1_1DescribeTrialComponentCommand = exports.serializeAws_json1_1DescribeTrialCommand = exports.serializeAws_json1_1DescribeTransformJobCommand = exports.serializeAws_json1_1DescribeTrainingJobCommand = exports.serializeAws_json1_1DescribeSubscribedWorkteamCommand = exports.serializeAws_json1_1DescribeStudioLifecycleConfigCommand = exports.serializeAws_json1_1DescribeProjectCommand = exports.serializeAws_json1_1DescribeProcessingJobCommand = exports.serializeAws_json1_1DescribePipelineExecutionCommand = exports.serializeAws_json1_1DescribePipelineDefinitionForExecutionCommand = exports.serializeAws_json1_1DescribePipelineCommand = exports.serializeAws_json1_1DescribeNotebookInstanceLifecycleConfigCommand = exports.serializeAws_json1_1DescribeNotebookInstanceCommand = exports.serializeAws_json1_1DescribeMonitoringScheduleCommand = exports.serializeAws_json1_1DescribeModelQualityJobDefinitionCommand = exports.serializeAws_json1_1DescribeModelPackageGroupCommand = exports.serializeAws_json1_1DescribeModelPackageCommand = exports.serializeAws_json1_1DescribeModelExplainabilityJobDefinitionCommand = exports.serializeAws_json1_1DescribeModelBiasJobDefinitionCommand = exports.serializeAws_json1_1DescribeModelCommand = exports.serializeAws_json1_1DescribeLineageGroupCommand = exports.serializeAws_json1_1DescribeLabelingJobCommand = exports.serializeAws_json1_1DescribeInferenceRecommendationsJobCommand = exports.serializeAws_json1_1DescribeImageVersionCommand = exports.serializeAws_json1_1DescribeImageCommand = exports.serializeAws_json1_1DescribeHyperParameterTuningJobCommand = exports.serializeAws_json1_1DescribeHumanTaskUiCommand = exports.serializeAws_json1_1DescribeFlowDefinitionCommand = exports.serializeAws_json1_1DescribeFeatureGroupCommand = exports.serializeAws_json1_1DescribeExperimentCommand = exports.serializeAws_json1_1DescribeEndpointConfigCommand = exports.serializeAws_json1_1DescribeEndpointCommand = exports.serializeAws_json1_1DescribeEdgePackagingJobCommand = exports.serializeAws_json1_1DescribeDomainCommand = exports.serializeAws_json1_1DescribeDeviceFleetCommand = void 0;
|
|
6
|
+
exports.serializeAws_json1_1ListTrialsCommand = exports.serializeAws_json1_1ListTrialComponentsCommand = exports.serializeAws_json1_1ListTransformJobsCommand = exports.serializeAws_json1_1ListTrainingJobsForHyperParameterTuningJobCommand = exports.serializeAws_json1_1ListTrainingJobsCommand = exports.serializeAws_json1_1ListTagsCommand = exports.serializeAws_json1_1ListSubscribedWorkteamsCommand = exports.serializeAws_json1_1ListStudioLifecycleConfigsCommand = exports.serializeAws_json1_1ListProjectsCommand = exports.serializeAws_json1_1ListProcessingJobsCommand = exports.serializeAws_json1_1ListPipelinesCommand = exports.serializeAws_json1_1ListPipelineParametersForExecutionCommand = exports.serializeAws_json1_1ListPipelineExecutionStepsCommand = exports.serializeAws_json1_1ListPipelineExecutionsCommand = exports.serializeAws_json1_1ListNotebookInstancesCommand = exports.serializeAws_json1_1ListNotebookInstanceLifecycleConfigsCommand = exports.serializeAws_json1_1ListMonitoringSchedulesCommand = exports.serializeAws_json1_1ListMonitoringExecutionsCommand = exports.serializeAws_json1_1ListModelsCommand = exports.serializeAws_json1_1ListModelQualityJobDefinitionsCommand = exports.serializeAws_json1_1ListModelPackagesCommand = exports.serializeAws_json1_1ListModelPackageGroupsCommand = exports.serializeAws_json1_1ListModelMetadataCommand = exports.serializeAws_json1_1ListModelExplainabilityJobDefinitionsCommand = exports.serializeAws_json1_1ListModelBiasJobDefinitionsCommand = exports.serializeAws_json1_1ListLineageGroupsCommand = exports.serializeAws_json1_1ListLabelingJobsForWorkteamCommand = exports.serializeAws_json1_1ListLabelingJobsCommand = exports.serializeAws_json1_1ListInferenceRecommendationsJobsCommand = exports.serializeAws_json1_1ListImageVersionsCommand = exports.serializeAws_json1_1ListImagesCommand = exports.serializeAws_json1_1ListHyperParameterTuningJobsCommand = exports.serializeAws_json1_1ListHumanTaskUisCommand = exports.serializeAws_json1_1ListFlowDefinitionsCommand = exports.serializeAws_json1_1ListFeatureGroupsCommand = exports.serializeAws_json1_1ListExperimentsCommand = exports.serializeAws_json1_1ListEndpointsCommand = exports.serializeAws_json1_1ListEndpointConfigsCommand = exports.serializeAws_json1_1ListEdgePackagingJobsCommand = exports.serializeAws_json1_1ListDomainsCommand = exports.serializeAws_json1_1ListDevicesCommand = exports.serializeAws_json1_1ListDeviceFleetsCommand = exports.serializeAws_json1_1ListDataQualityJobDefinitionsCommand = exports.serializeAws_json1_1ListContextsCommand = exports.serializeAws_json1_1ListCompilationJobsCommand = exports.serializeAws_json1_1ListCodeRepositoriesCommand = exports.serializeAws_json1_1ListCandidatesForAutoMLJobCommand = exports.serializeAws_json1_1ListAutoMLJobsCommand = exports.serializeAws_json1_1ListAssociationsCommand = exports.serializeAws_json1_1ListArtifactsCommand = void 0;
|
|
7
|
+
exports.serializeAws_json1_1UpdateWorkforceCommand = exports.serializeAws_json1_1UpdateUserProfileCommand = exports.serializeAws_json1_1UpdateTrialComponentCommand = exports.serializeAws_json1_1UpdateTrialCommand = exports.serializeAws_json1_1UpdateTrainingJobCommand = exports.serializeAws_json1_1UpdateProjectCommand = exports.serializeAws_json1_1UpdatePipelineExecutionCommand = exports.serializeAws_json1_1UpdatePipelineCommand = exports.serializeAws_json1_1UpdateNotebookInstanceLifecycleConfigCommand = exports.serializeAws_json1_1UpdateNotebookInstanceCommand = exports.serializeAws_json1_1UpdateMonitoringScheduleCommand = exports.serializeAws_json1_1UpdateModelPackageCommand = exports.serializeAws_json1_1UpdateImageCommand = exports.serializeAws_json1_1UpdateExperimentCommand = exports.serializeAws_json1_1UpdateEndpointWeightsAndCapacitiesCommand = exports.serializeAws_json1_1UpdateEndpointCommand = exports.serializeAws_json1_1UpdateDomainCommand = exports.serializeAws_json1_1UpdateDevicesCommand = exports.serializeAws_json1_1UpdateDeviceFleetCommand = exports.serializeAws_json1_1UpdateContextCommand = exports.serializeAws_json1_1UpdateCodeRepositoryCommand = exports.serializeAws_json1_1UpdateArtifactCommand = exports.serializeAws_json1_1UpdateAppImageConfigCommand = exports.serializeAws_json1_1UpdateActionCommand = exports.serializeAws_json1_1StopTransformJobCommand = exports.serializeAws_json1_1StopTrainingJobCommand = exports.serializeAws_json1_1StopProcessingJobCommand = exports.serializeAws_json1_1StopPipelineExecutionCommand = exports.serializeAws_json1_1StopNotebookInstanceCommand = exports.serializeAws_json1_1StopMonitoringScheduleCommand = exports.serializeAws_json1_1StopLabelingJobCommand = exports.serializeAws_json1_1StopInferenceRecommendationsJobCommand = exports.serializeAws_json1_1StopHyperParameterTuningJobCommand = exports.serializeAws_json1_1StopEdgePackagingJobCommand = exports.serializeAws_json1_1StopCompilationJobCommand = exports.serializeAws_json1_1StopAutoMLJobCommand = exports.serializeAws_json1_1StartPipelineExecutionCommand = exports.serializeAws_json1_1StartNotebookInstanceCommand = exports.serializeAws_json1_1StartMonitoringScheduleCommand = exports.serializeAws_json1_1SendPipelineExecutionStepSuccessCommand = exports.serializeAws_json1_1SendPipelineExecutionStepFailureCommand = exports.serializeAws_json1_1SearchCommand = exports.serializeAws_json1_1RetryPipelineExecutionCommand = exports.serializeAws_json1_1RenderUiTemplateCommand = exports.serializeAws_json1_1RegisterDevicesCommand = exports.serializeAws_json1_1QueryLineageCommand = exports.serializeAws_json1_1PutModelPackageGroupPolicyCommand = exports.serializeAws_json1_1ListWorkteamsCommand = exports.serializeAws_json1_1ListWorkforcesCommand = exports.serializeAws_json1_1ListUserProfilesCommand = void 0;
|
|
8
|
+
exports.deserializeAws_json1_1CreateWorkforceCommand = exports.deserializeAws_json1_1CreateUserProfileCommand = exports.deserializeAws_json1_1CreateTrialComponentCommand = exports.deserializeAws_json1_1CreateTrialCommand = exports.deserializeAws_json1_1CreateTransformJobCommand = exports.deserializeAws_json1_1CreateTrainingJobCommand = exports.deserializeAws_json1_1CreateStudioLifecycleConfigCommand = exports.deserializeAws_json1_1CreateProjectCommand = exports.deserializeAws_json1_1CreateProcessingJobCommand = exports.deserializeAws_json1_1CreatePresignedNotebookInstanceUrlCommand = exports.deserializeAws_json1_1CreatePresignedDomainUrlCommand = exports.deserializeAws_json1_1CreatePipelineCommand = exports.deserializeAws_json1_1CreateNotebookInstanceLifecycleConfigCommand = exports.deserializeAws_json1_1CreateNotebookInstanceCommand = exports.deserializeAws_json1_1CreateMonitoringScheduleCommand = exports.deserializeAws_json1_1CreateModelQualityJobDefinitionCommand = exports.deserializeAws_json1_1CreateModelPackageGroupCommand = exports.deserializeAws_json1_1CreateModelPackageCommand = exports.deserializeAws_json1_1CreateModelExplainabilityJobDefinitionCommand = exports.deserializeAws_json1_1CreateModelBiasJobDefinitionCommand = exports.deserializeAws_json1_1CreateModelCommand = exports.deserializeAws_json1_1CreateLabelingJobCommand = exports.deserializeAws_json1_1CreateInferenceRecommendationsJobCommand = exports.deserializeAws_json1_1CreateImageVersionCommand = exports.deserializeAws_json1_1CreateImageCommand = exports.deserializeAws_json1_1CreateHyperParameterTuningJobCommand = exports.deserializeAws_json1_1CreateHumanTaskUiCommand = exports.deserializeAws_json1_1CreateFlowDefinitionCommand = exports.deserializeAws_json1_1CreateFeatureGroupCommand = exports.deserializeAws_json1_1CreateExperimentCommand = exports.deserializeAws_json1_1CreateEndpointConfigCommand = exports.deserializeAws_json1_1CreateEndpointCommand = exports.deserializeAws_json1_1CreateEdgePackagingJobCommand = exports.deserializeAws_json1_1CreateDomainCommand = exports.deserializeAws_json1_1CreateDeviceFleetCommand = exports.deserializeAws_json1_1CreateDataQualityJobDefinitionCommand = exports.deserializeAws_json1_1CreateContextCommand = exports.deserializeAws_json1_1CreateCompilationJobCommand = exports.deserializeAws_json1_1CreateCodeRepositoryCommand = exports.deserializeAws_json1_1CreateAutoMLJobCommand = exports.deserializeAws_json1_1CreateArtifactCommand = exports.deserializeAws_json1_1CreateAppImageConfigCommand = exports.deserializeAws_json1_1CreateAppCommand = exports.deserializeAws_json1_1CreateAlgorithmCommand = exports.deserializeAws_json1_1CreateActionCommand = exports.deserializeAws_json1_1BatchDescribeModelPackageCommand = exports.deserializeAws_json1_1AssociateTrialComponentCommand = exports.deserializeAws_json1_1AddTagsCommand = exports.deserializeAws_json1_1AddAssociationCommand = exports.serializeAws_json1_1UpdateWorkteamCommand = void 0;
|
|
9
|
+
exports.deserializeAws_json1_1DescribeDataQualityJobDefinitionCommand = exports.deserializeAws_json1_1DescribeContextCommand = exports.deserializeAws_json1_1DescribeCompilationJobCommand = exports.deserializeAws_json1_1DescribeCodeRepositoryCommand = exports.deserializeAws_json1_1DescribeAutoMLJobCommand = exports.deserializeAws_json1_1DescribeArtifactCommand = exports.deserializeAws_json1_1DescribeAppImageConfigCommand = exports.deserializeAws_json1_1DescribeAppCommand = exports.deserializeAws_json1_1DescribeAlgorithmCommand = exports.deserializeAws_json1_1DescribeActionCommand = exports.deserializeAws_json1_1DeregisterDevicesCommand = exports.deserializeAws_json1_1DeleteWorkteamCommand = exports.deserializeAws_json1_1DeleteWorkforceCommand = exports.deserializeAws_json1_1DeleteUserProfileCommand = exports.deserializeAws_json1_1DeleteTrialComponentCommand = exports.deserializeAws_json1_1DeleteTrialCommand = exports.deserializeAws_json1_1DeleteTagsCommand = exports.deserializeAws_json1_1DeleteStudioLifecycleConfigCommand = exports.deserializeAws_json1_1DeleteProjectCommand = exports.deserializeAws_json1_1DeletePipelineCommand = exports.deserializeAws_json1_1DeleteNotebookInstanceLifecycleConfigCommand = exports.deserializeAws_json1_1DeleteNotebookInstanceCommand = exports.deserializeAws_json1_1DeleteMonitoringScheduleCommand = exports.deserializeAws_json1_1DeleteModelQualityJobDefinitionCommand = exports.deserializeAws_json1_1DeleteModelPackageGroupPolicyCommand = exports.deserializeAws_json1_1DeleteModelPackageGroupCommand = exports.deserializeAws_json1_1DeleteModelPackageCommand = exports.deserializeAws_json1_1DeleteModelExplainabilityJobDefinitionCommand = exports.deserializeAws_json1_1DeleteModelBiasJobDefinitionCommand = exports.deserializeAws_json1_1DeleteModelCommand = exports.deserializeAws_json1_1DeleteImageVersionCommand = exports.deserializeAws_json1_1DeleteImageCommand = exports.deserializeAws_json1_1DeleteHumanTaskUiCommand = exports.deserializeAws_json1_1DeleteFlowDefinitionCommand = exports.deserializeAws_json1_1DeleteFeatureGroupCommand = exports.deserializeAws_json1_1DeleteExperimentCommand = exports.deserializeAws_json1_1DeleteEndpointConfigCommand = exports.deserializeAws_json1_1DeleteEndpointCommand = exports.deserializeAws_json1_1DeleteDomainCommand = exports.deserializeAws_json1_1DeleteDeviceFleetCommand = exports.deserializeAws_json1_1DeleteDataQualityJobDefinitionCommand = exports.deserializeAws_json1_1DeleteContextCommand = exports.deserializeAws_json1_1DeleteCodeRepositoryCommand = exports.deserializeAws_json1_1DeleteAssociationCommand = exports.deserializeAws_json1_1DeleteArtifactCommand = exports.deserializeAws_json1_1DeleteAppImageConfigCommand = exports.deserializeAws_json1_1DeleteAppCommand = exports.deserializeAws_json1_1DeleteAlgorithmCommand = exports.deserializeAws_json1_1DeleteActionCommand = exports.deserializeAws_json1_1CreateWorkteamCommand = void 0;
|
|
10
|
+
exports.deserializeAws_json1_1ListAppImageConfigsCommand = exports.deserializeAws_json1_1ListAlgorithmsCommand = exports.deserializeAws_json1_1ListActionsCommand = exports.deserializeAws_json1_1GetSearchSuggestionsCommand = exports.deserializeAws_json1_1GetSagemakerServicecatalogPortfolioStatusCommand = exports.deserializeAws_json1_1GetModelPackageGroupPolicyCommand = exports.deserializeAws_json1_1GetLineageGroupPolicyCommand = exports.deserializeAws_json1_1GetDeviceFleetReportCommand = exports.deserializeAws_json1_1EnableSagemakerServicecatalogPortfolioCommand = exports.deserializeAws_json1_1DisassociateTrialComponentCommand = exports.deserializeAws_json1_1DisableSagemakerServicecatalogPortfolioCommand = exports.deserializeAws_json1_1DescribeWorkteamCommand = exports.deserializeAws_json1_1DescribeWorkforceCommand = exports.deserializeAws_json1_1DescribeUserProfileCommand = exports.deserializeAws_json1_1DescribeTrialComponentCommand = exports.deserializeAws_json1_1DescribeTrialCommand = exports.deserializeAws_json1_1DescribeTransformJobCommand = exports.deserializeAws_json1_1DescribeTrainingJobCommand = exports.deserializeAws_json1_1DescribeSubscribedWorkteamCommand = exports.deserializeAws_json1_1DescribeStudioLifecycleConfigCommand = exports.deserializeAws_json1_1DescribeProjectCommand = exports.deserializeAws_json1_1DescribeProcessingJobCommand = exports.deserializeAws_json1_1DescribePipelineExecutionCommand = exports.deserializeAws_json1_1DescribePipelineDefinitionForExecutionCommand = exports.deserializeAws_json1_1DescribePipelineCommand = exports.deserializeAws_json1_1DescribeNotebookInstanceLifecycleConfigCommand = exports.deserializeAws_json1_1DescribeNotebookInstanceCommand = exports.deserializeAws_json1_1DescribeMonitoringScheduleCommand = exports.deserializeAws_json1_1DescribeModelQualityJobDefinitionCommand = exports.deserializeAws_json1_1DescribeModelPackageGroupCommand = exports.deserializeAws_json1_1DescribeModelPackageCommand = exports.deserializeAws_json1_1DescribeModelExplainabilityJobDefinitionCommand = exports.deserializeAws_json1_1DescribeModelBiasJobDefinitionCommand = exports.deserializeAws_json1_1DescribeModelCommand = exports.deserializeAws_json1_1DescribeLineageGroupCommand = exports.deserializeAws_json1_1DescribeLabelingJobCommand = exports.deserializeAws_json1_1DescribeInferenceRecommendationsJobCommand = exports.deserializeAws_json1_1DescribeImageVersionCommand = exports.deserializeAws_json1_1DescribeImageCommand = exports.deserializeAws_json1_1DescribeHyperParameterTuningJobCommand = exports.deserializeAws_json1_1DescribeHumanTaskUiCommand = exports.deserializeAws_json1_1DescribeFlowDefinitionCommand = exports.deserializeAws_json1_1DescribeFeatureGroupCommand = exports.deserializeAws_json1_1DescribeExperimentCommand = exports.deserializeAws_json1_1DescribeEndpointConfigCommand = exports.deserializeAws_json1_1DescribeEndpointCommand = exports.deserializeAws_json1_1DescribeEdgePackagingJobCommand = exports.deserializeAws_json1_1DescribeDomainCommand = exports.deserializeAws_json1_1DescribeDeviceFleetCommand = exports.deserializeAws_json1_1DescribeDeviceCommand = void 0;
|
|
11
|
+
exports.deserializeAws_json1_1ListTrialComponentsCommand = exports.deserializeAws_json1_1ListTransformJobsCommand = exports.deserializeAws_json1_1ListTrainingJobsForHyperParameterTuningJobCommand = exports.deserializeAws_json1_1ListTrainingJobsCommand = exports.deserializeAws_json1_1ListTagsCommand = exports.deserializeAws_json1_1ListSubscribedWorkteamsCommand = exports.deserializeAws_json1_1ListStudioLifecycleConfigsCommand = exports.deserializeAws_json1_1ListProjectsCommand = exports.deserializeAws_json1_1ListProcessingJobsCommand = exports.deserializeAws_json1_1ListPipelinesCommand = exports.deserializeAws_json1_1ListPipelineParametersForExecutionCommand = exports.deserializeAws_json1_1ListPipelineExecutionStepsCommand = exports.deserializeAws_json1_1ListPipelineExecutionsCommand = exports.deserializeAws_json1_1ListNotebookInstancesCommand = exports.deserializeAws_json1_1ListNotebookInstanceLifecycleConfigsCommand = exports.deserializeAws_json1_1ListMonitoringSchedulesCommand = exports.deserializeAws_json1_1ListMonitoringExecutionsCommand = exports.deserializeAws_json1_1ListModelsCommand = exports.deserializeAws_json1_1ListModelQualityJobDefinitionsCommand = exports.deserializeAws_json1_1ListModelPackagesCommand = exports.deserializeAws_json1_1ListModelPackageGroupsCommand = exports.deserializeAws_json1_1ListModelMetadataCommand = exports.deserializeAws_json1_1ListModelExplainabilityJobDefinitionsCommand = exports.deserializeAws_json1_1ListModelBiasJobDefinitionsCommand = exports.deserializeAws_json1_1ListLineageGroupsCommand = exports.deserializeAws_json1_1ListLabelingJobsForWorkteamCommand = exports.deserializeAws_json1_1ListLabelingJobsCommand = exports.deserializeAws_json1_1ListInferenceRecommendationsJobsCommand = exports.deserializeAws_json1_1ListImageVersionsCommand = exports.deserializeAws_json1_1ListImagesCommand = exports.deserializeAws_json1_1ListHyperParameterTuningJobsCommand = exports.deserializeAws_json1_1ListHumanTaskUisCommand = exports.deserializeAws_json1_1ListFlowDefinitionsCommand = exports.deserializeAws_json1_1ListFeatureGroupsCommand = exports.deserializeAws_json1_1ListExperimentsCommand = exports.deserializeAws_json1_1ListEndpointsCommand = exports.deserializeAws_json1_1ListEndpointConfigsCommand = exports.deserializeAws_json1_1ListEdgePackagingJobsCommand = exports.deserializeAws_json1_1ListDomainsCommand = exports.deserializeAws_json1_1ListDevicesCommand = exports.deserializeAws_json1_1ListDeviceFleetsCommand = exports.deserializeAws_json1_1ListDataQualityJobDefinitionsCommand = exports.deserializeAws_json1_1ListContextsCommand = exports.deserializeAws_json1_1ListCompilationJobsCommand = exports.deserializeAws_json1_1ListCodeRepositoriesCommand = exports.deserializeAws_json1_1ListCandidatesForAutoMLJobCommand = exports.deserializeAws_json1_1ListAutoMLJobsCommand = exports.deserializeAws_json1_1ListAssociationsCommand = exports.deserializeAws_json1_1ListArtifactsCommand = exports.deserializeAws_json1_1ListAppsCommand = void 0;
|
|
12
|
+
exports.deserializeAws_json1_1UpdateUserProfileCommand = exports.deserializeAws_json1_1UpdateTrialComponentCommand = exports.deserializeAws_json1_1UpdateTrialCommand = exports.deserializeAws_json1_1UpdateTrainingJobCommand = exports.deserializeAws_json1_1UpdateProjectCommand = exports.deserializeAws_json1_1UpdatePipelineExecutionCommand = exports.deserializeAws_json1_1UpdatePipelineCommand = exports.deserializeAws_json1_1UpdateNotebookInstanceLifecycleConfigCommand = exports.deserializeAws_json1_1UpdateNotebookInstanceCommand = exports.deserializeAws_json1_1UpdateMonitoringScheduleCommand = exports.deserializeAws_json1_1UpdateModelPackageCommand = exports.deserializeAws_json1_1UpdateImageCommand = exports.deserializeAws_json1_1UpdateExperimentCommand = exports.deserializeAws_json1_1UpdateEndpointWeightsAndCapacitiesCommand = exports.deserializeAws_json1_1UpdateEndpointCommand = exports.deserializeAws_json1_1UpdateDomainCommand = exports.deserializeAws_json1_1UpdateDevicesCommand = exports.deserializeAws_json1_1UpdateDeviceFleetCommand = exports.deserializeAws_json1_1UpdateContextCommand = exports.deserializeAws_json1_1UpdateCodeRepositoryCommand = exports.deserializeAws_json1_1UpdateArtifactCommand = exports.deserializeAws_json1_1UpdateAppImageConfigCommand = exports.deserializeAws_json1_1UpdateActionCommand = exports.deserializeAws_json1_1StopTransformJobCommand = exports.deserializeAws_json1_1StopTrainingJobCommand = exports.deserializeAws_json1_1StopProcessingJobCommand = exports.deserializeAws_json1_1StopPipelineExecutionCommand = exports.deserializeAws_json1_1StopNotebookInstanceCommand = exports.deserializeAws_json1_1StopMonitoringScheduleCommand = exports.deserializeAws_json1_1StopLabelingJobCommand = exports.deserializeAws_json1_1StopInferenceRecommendationsJobCommand = exports.deserializeAws_json1_1StopHyperParameterTuningJobCommand = exports.deserializeAws_json1_1StopEdgePackagingJobCommand = exports.deserializeAws_json1_1StopCompilationJobCommand = exports.deserializeAws_json1_1StopAutoMLJobCommand = exports.deserializeAws_json1_1StartPipelineExecutionCommand = exports.deserializeAws_json1_1StartNotebookInstanceCommand = exports.deserializeAws_json1_1StartMonitoringScheduleCommand = exports.deserializeAws_json1_1SendPipelineExecutionStepSuccessCommand = exports.deserializeAws_json1_1SendPipelineExecutionStepFailureCommand = exports.deserializeAws_json1_1SearchCommand = exports.deserializeAws_json1_1RetryPipelineExecutionCommand = exports.deserializeAws_json1_1RenderUiTemplateCommand = exports.deserializeAws_json1_1RegisterDevicesCommand = exports.deserializeAws_json1_1QueryLineageCommand = exports.deserializeAws_json1_1PutModelPackageGroupPolicyCommand = exports.deserializeAws_json1_1ListWorkteamsCommand = exports.deserializeAws_json1_1ListWorkforcesCommand = exports.deserializeAws_json1_1ListUserProfilesCommand = exports.deserializeAws_json1_1ListTrialsCommand = void 0;
|
|
13
|
+
exports.deserializeAws_json1_1UpdateWorkteamCommand = exports.deserializeAws_json1_1UpdateWorkforceCommand = void 0;
|
|
13
14
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
14
15
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
15
16
|
const uuid_1 = require("uuid");
|
|
@@ -274,6 +275,16 @@ const serializeAws_json1_1CreateImageVersionCommand = async (input, context) =>
|
|
|
274
275
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
275
276
|
};
|
|
276
277
|
exports.serializeAws_json1_1CreateImageVersionCommand = serializeAws_json1_1CreateImageVersionCommand;
|
|
278
|
+
const serializeAws_json1_1CreateInferenceRecommendationsJobCommand = async (input, context) => {
|
|
279
|
+
const headers = {
|
|
280
|
+
"content-type": "application/x-amz-json-1.1",
|
|
281
|
+
"x-amz-target": "SageMaker.CreateInferenceRecommendationsJob",
|
|
282
|
+
};
|
|
283
|
+
let body;
|
|
284
|
+
body = JSON.stringify(serializeAws_json1_1CreateInferenceRecommendationsJobRequest(input, context));
|
|
285
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
286
|
+
};
|
|
287
|
+
exports.serializeAws_json1_1CreateInferenceRecommendationsJobCommand = serializeAws_json1_1CreateInferenceRecommendationsJobCommand;
|
|
277
288
|
const serializeAws_json1_1CreateLabelingJobCommand = async (input, context) => {
|
|
278
289
|
const headers = {
|
|
279
290
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -1124,6 +1135,16 @@ const serializeAws_json1_1DescribeImageVersionCommand = async (input, context) =
|
|
|
1124
1135
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1125
1136
|
};
|
|
1126
1137
|
exports.serializeAws_json1_1DescribeImageVersionCommand = serializeAws_json1_1DescribeImageVersionCommand;
|
|
1138
|
+
const serializeAws_json1_1DescribeInferenceRecommendationsJobCommand = async (input, context) => {
|
|
1139
|
+
const headers = {
|
|
1140
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1141
|
+
"x-amz-target": "SageMaker.DescribeInferenceRecommendationsJob",
|
|
1142
|
+
};
|
|
1143
|
+
let body;
|
|
1144
|
+
body = JSON.stringify(serializeAws_json1_1DescribeInferenceRecommendationsJobRequest(input, context));
|
|
1145
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1146
|
+
};
|
|
1147
|
+
exports.serializeAws_json1_1DescribeInferenceRecommendationsJobCommand = serializeAws_json1_1DescribeInferenceRecommendationsJobCommand;
|
|
1127
1148
|
const serializeAws_json1_1DescribeLabelingJobCommand = async (input, context) => {
|
|
1128
1149
|
const headers = {
|
|
1129
1150
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -1134,6 +1155,16 @@ const serializeAws_json1_1DescribeLabelingJobCommand = async (input, context) =>
|
|
|
1134
1155
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1135
1156
|
};
|
|
1136
1157
|
exports.serializeAws_json1_1DescribeLabelingJobCommand = serializeAws_json1_1DescribeLabelingJobCommand;
|
|
1158
|
+
const serializeAws_json1_1DescribeLineageGroupCommand = async (input, context) => {
|
|
1159
|
+
const headers = {
|
|
1160
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1161
|
+
"x-amz-target": "SageMaker.DescribeLineageGroup",
|
|
1162
|
+
};
|
|
1163
|
+
let body;
|
|
1164
|
+
body = JSON.stringify(serializeAws_json1_1DescribeLineageGroupRequest(input, context));
|
|
1165
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1166
|
+
};
|
|
1167
|
+
exports.serializeAws_json1_1DescribeLineageGroupCommand = serializeAws_json1_1DescribeLineageGroupCommand;
|
|
1137
1168
|
const serializeAws_json1_1DescribeModelCommand = async (input, context) => {
|
|
1138
1169
|
const headers = {
|
|
1139
1170
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -1404,6 +1435,16 @@ const serializeAws_json1_1GetDeviceFleetReportCommand = async (input, context) =
|
|
|
1404
1435
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1405
1436
|
};
|
|
1406
1437
|
exports.serializeAws_json1_1GetDeviceFleetReportCommand = serializeAws_json1_1GetDeviceFleetReportCommand;
|
|
1438
|
+
const serializeAws_json1_1GetLineageGroupPolicyCommand = async (input, context) => {
|
|
1439
|
+
const headers = {
|
|
1440
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1441
|
+
"x-amz-target": "SageMaker.GetLineageGroupPolicy",
|
|
1442
|
+
};
|
|
1443
|
+
let body;
|
|
1444
|
+
body = JSON.stringify(serializeAws_json1_1GetLineageGroupPolicyRequest(input, context));
|
|
1445
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1446
|
+
};
|
|
1447
|
+
exports.serializeAws_json1_1GetLineageGroupPolicyCommand = serializeAws_json1_1GetLineageGroupPolicyCommand;
|
|
1407
1448
|
const serializeAws_json1_1GetModelPackageGroupPolicyCommand = async (input, context) => {
|
|
1408
1449
|
const headers = {
|
|
1409
1450
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -1684,6 +1725,16 @@ const serializeAws_json1_1ListImageVersionsCommand = async (input, context) => {
|
|
|
1684
1725
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1685
1726
|
};
|
|
1686
1727
|
exports.serializeAws_json1_1ListImageVersionsCommand = serializeAws_json1_1ListImageVersionsCommand;
|
|
1728
|
+
const serializeAws_json1_1ListInferenceRecommendationsJobsCommand = async (input, context) => {
|
|
1729
|
+
const headers = {
|
|
1730
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1731
|
+
"x-amz-target": "SageMaker.ListInferenceRecommendationsJobs",
|
|
1732
|
+
};
|
|
1733
|
+
let body;
|
|
1734
|
+
body = JSON.stringify(serializeAws_json1_1ListInferenceRecommendationsJobsRequest(input, context));
|
|
1735
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1736
|
+
};
|
|
1737
|
+
exports.serializeAws_json1_1ListInferenceRecommendationsJobsCommand = serializeAws_json1_1ListInferenceRecommendationsJobsCommand;
|
|
1687
1738
|
const serializeAws_json1_1ListLabelingJobsCommand = async (input, context) => {
|
|
1688
1739
|
const headers = {
|
|
1689
1740
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -1704,6 +1755,16 @@ const serializeAws_json1_1ListLabelingJobsForWorkteamCommand = async (input, con
|
|
|
1704
1755
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1705
1756
|
};
|
|
1706
1757
|
exports.serializeAws_json1_1ListLabelingJobsForWorkteamCommand = serializeAws_json1_1ListLabelingJobsForWorkteamCommand;
|
|
1758
|
+
const serializeAws_json1_1ListLineageGroupsCommand = async (input, context) => {
|
|
1759
|
+
const headers = {
|
|
1760
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1761
|
+
"x-amz-target": "SageMaker.ListLineageGroups",
|
|
1762
|
+
};
|
|
1763
|
+
let body;
|
|
1764
|
+
body = JSON.stringify(serializeAws_json1_1ListLineageGroupsRequest(input, context));
|
|
1765
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1766
|
+
};
|
|
1767
|
+
exports.serializeAws_json1_1ListLineageGroupsCommand = serializeAws_json1_1ListLineageGroupsCommand;
|
|
1707
1768
|
const serializeAws_json1_1ListModelBiasJobDefinitionsCommand = async (input, context) => {
|
|
1708
1769
|
const headers = {
|
|
1709
1770
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -1724,6 +1785,16 @@ const serializeAws_json1_1ListModelExplainabilityJobDefinitionsCommand = async (
|
|
|
1724
1785
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1725
1786
|
};
|
|
1726
1787
|
exports.serializeAws_json1_1ListModelExplainabilityJobDefinitionsCommand = serializeAws_json1_1ListModelExplainabilityJobDefinitionsCommand;
|
|
1788
|
+
const serializeAws_json1_1ListModelMetadataCommand = async (input, context) => {
|
|
1789
|
+
const headers = {
|
|
1790
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1791
|
+
"x-amz-target": "SageMaker.ListModelMetadata",
|
|
1792
|
+
};
|
|
1793
|
+
let body;
|
|
1794
|
+
body = JSON.stringify(serializeAws_json1_1ListModelMetadataRequest(input, context));
|
|
1795
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1796
|
+
};
|
|
1797
|
+
exports.serializeAws_json1_1ListModelMetadataCommand = serializeAws_json1_1ListModelMetadataCommand;
|
|
1727
1798
|
const serializeAws_json1_1ListModelPackageGroupsCommand = async (input, context) => {
|
|
1728
1799
|
const headers = {
|
|
1729
1800
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -1984,6 +2055,16 @@ const serializeAws_json1_1PutModelPackageGroupPolicyCommand = async (input, cont
|
|
|
1984
2055
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1985
2056
|
};
|
|
1986
2057
|
exports.serializeAws_json1_1PutModelPackageGroupPolicyCommand = serializeAws_json1_1PutModelPackageGroupPolicyCommand;
|
|
2058
|
+
const serializeAws_json1_1QueryLineageCommand = async (input, context) => {
|
|
2059
|
+
const headers = {
|
|
2060
|
+
"content-type": "application/x-amz-json-1.1",
|
|
2061
|
+
"x-amz-target": "SageMaker.QueryLineage",
|
|
2062
|
+
};
|
|
2063
|
+
let body;
|
|
2064
|
+
body = JSON.stringify(serializeAws_json1_1QueryLineageRequest(input, context));
|
|
2065
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2066
|
+
};
|
|
2067
|
+
exports.serializeAws_json1_1QueryLineageCommand = serializeAws_json1_1QueryLineageCommand;
|
|
1987
2068
|
const serializeAws_json1_1RegisterDevicesCommand = async (input, context) => {
|
|
1988
2069
|
const headers = {
|
|
1989
2070
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -2114,6 +2195,16 @@ const serializeAws_json1_1StopHyperParameterTuningJobCommand = async (input, con
|
|
|
2114
2195
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2115
2196
|
};
|
|
2116
2197
|
exports.serializeAws_json1_1StopHyperParameterTuningJobCommand = serializeAws_json1_1StopHyperParameterTuningJobCommand;
|
|
2198
|
+
const serializeAws_json1_1StopInferenceRecommendationsJobCommand = async (input, context) => {
|
|
2199
|
+
const headers = {
|
|
2200
|
+
"content-type": "application/x-amz-json-1.1",
|
|
2201
|
+
"x-amz-target": "SageMaker.StopInferenceRecommendationsJob",
|
|
2202
|
+
};
|
|
2203
|
+
let body;
|
|
2204
|
+
body = JSON.stringify(serializeAws_json1_1StopInferenceRecommendationsJobRequest(input, context));
|
|
2205
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2206
|
+
};
|
|
2207
|
+
exports.serializeAws_json1_1StopInferenceRecommendationsJobCommand = serializeAws_json1_1StopInferenceRecommendationsJobCommand;
|
|
2117
2208
|
const serializeAws_json1_1StopLabelingJobCommand = async (input, context) => {
|
|
2118
2209
|
const headers = {
|
|
2119
2210
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -3738,6 +3829,61 @@ const deserializeAws_json1_1CreateImageVersionCommandError = async (output, cont
|
|
|
3738
3829
|
delete response.Message;
|
|
3739
3830
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
3740
3831
|
};
|
|
3832
|
+
const deserializeAws_json1_1CreateInferenceRecommendationsJobCommand = async (output, context) => {
|
|
3833
|
+
if (output.statusCode >= 300) {
|
|
3834
|
+
return deserializeAws_json1_1CreateInferenceRecommendationsJobCommandError(output, context);
|
|
3835
|
+
}
|
|
3836
|
+
const data = await parseBody(output.body, context);
|
|
3837
|
+
let contents = {};
|
|
3838
|
+
contents = deserializeAws_json1_1CreateInferenceRecommendationsJobResponse(data, context);
|
|
3839
|
+
const response = {
|
|
3840
|
+
$metadata: deserializeMetadata(output),
|
|
3841
|
+
...contents,
|
|
3842
|
+
};
|
|
3843
|
+
return Promise.resolve(response);
|
|
3844
|
+
};
|
|
3845
|
+
exports.deserializeAws_json1_1CreateInferenceRecommendationsJobCommand = deserializeAws_json1_1CreateInferenceRecommendationsJobCommand;
|
|
3846
|
+
const deserializeAws_json1_1CreateInferenceRecommendationsJobCommandError = async (output, context) => {
|
|
3847
|
+
const parsedOutput = {
|
|
3848
|
+
...output,
|
|
3849
|
+
body: await parseBody(output.body, context),
|
|
3850
|
+
};
|
|
3851
|
+
let response;
|
|
3852
|
+
let errorCode = "UnknownError";
|
|
3853
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3854
|
+
switch (errorCode) {
|
|
3855
|
+
case "ResourceInUse":
|
|
3856
|
+
case "com.amazonaws.sagemaker#ResourceInUse":
|
|
3857
|
+
response = {
|
|
3858
|
+
...(await deserializeAws_json1_1ResourceInUseResponse(parsedOutput, context)),
|
|
3859
|
+
name: errorCode,
|
|
3860
|
+
$metadata: deserializeMetadata(output),
|
|
3861
|
+
};
|
|
3862
|
+
break;
|
|
3863
|
+
case "ResourceLimitExceeded":
|
|
3864
|
+
case "com.amazonaws.sagemaker#ResourceLimitExceeded":
|
|
3865
|
+
response = {
|
|
3866
|
+
...(await deserializeAws_json1_1ResourceLimitExceededResponse(parsedOutput, context)),
|
|
3867
|
+
name: errorCode,
|
|
3868
|
+
$metadata: deserializeMetadata(output),
|
|
3869
|
+
};
|
|
3870
|
+
break;
|
|
3871
|
+
default:
|
|
3872
|
+
const parsedBody = parsedOutput.body;
|
|
3873
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
3874
|
+
response = {
|
|
3875
|
+
...parsedBody,
|
|
3876
|
+
name: `${errorCode}`,
|
|
3877
|
+
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
3878
|
+
$fault: "client",
|
|
3879
|
+
$metadata: deserializeMetadata(output),
|
|
3880
|
+
};
|
|
3881
|
+
}
|
|
3882
|
+
const message = response.message || response.Message || errorCode;
|
|
3883
|
+
response.message = message;
|
|
3884
|
+
delete response.Message;
|
|
3885
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
3886
|
+
};
|
|
3741
3887
|
const deserializeAws_json1_1CreateLabelingJobCommand = async (output, context) => {
|
|
3742
3888
|
if (output.statusCode >= 300) {
|
|
3743
3889
|
return deserializeAws_json1_1CreateLabelingJobCommandError(output, context);
|
|
@@ -7709,6 +7855,53 @@ const deserializeAws_json1_1DescribeImageVersionCommandError = async (output, co
|
|
|
7709
7855
|
delete response.Message;
|
|
7710
7856
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
7711
7857
|
};
|
|
7858
|
+
const deserializeAws_json1_1DescribeInferenceRecommendationsJobCommand = async (output, context) => {
|
|
7859
|
+
if (output.statusCode >= 300) {
|
|
7860
|
+
return deserializeAws_json1_1DescribeInferenceRecommendationsJobCommandError(output, context);
|
|
7861
|
+
}
|
|
7862
|
+
const data = await parseBody(output.body, context);
|
|
7863
|
+
let contents = {};
|
|
7864
|
+
contents = deserializeAws_json1_1DescribeInferenceRecommendationsJobResponse(data, context);
|
|
7865
|
+
const response = {
|
|
7866
|
+
$metadata: deserializeMetadata(output),
|
|
7867
|
+
...contents,
|
|
7868
|
+
};
|
|
7869
|
+
return Promise.resolve(response);
|
|
7870
|
+
};
|
|
7871
|
+
exports.deserializeAws_json1_1DescribeInferenceRecommendationsJobCommand = deserializeAws_json1_1DescribeInferenceRecommendationsJobCommand;
|
|
7872
|
+
const deserializeAws_json1_1DescribeInferenceRecommendationsJobCommandError = async (output, context) => {
|
|
7873
|
+
const parsedOutput = {
|
|
7874
|
+
...output,
|
|
7875
|
+
body: await parseBody(output.body, context),
|
|
7876
|
+
};
|
|
7877
|
+
let response;
|
|
7878
|
+
let errorCode = "UnknownError";
|
|
7879
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7880
|
+
switch (errorCode) {
|
|
7881
|
+
case "ResourceNotFound":
|
|
7882
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
7883
|
+
response = {
|
|
7884
|
+
...(await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context)),
|
|
7885
|
+
name: errorCode,
|
|
7886
|
+
$metadata: deserializeMetadata(output),
|
|
7887
|
+
};
|
|
7888
|
+
break;
|
|
7889
|
+
default:
|
|
7890
|
+
const parsedBody = parsedOutput.body;
|
|
7891
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
7892
|
+
response = {
|
|
7893
|
+
...parsedBody,
|
|
7894
|
+
name: `${errorCode}`,
|
|
7895
|
+
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
7896
|
+
$fault: "client",
|
|
7897
|
+
$metadata: deserializeMetadata(output),
|
|
7898
|
+
};
|
|
7899
|
+
}
|
|
7900
|
+
const message = response.message || response.Message || errorCode;
|
|
7901
|
+
response.message = message;
|
|
7902
|
+
delete response.Message;
|
|
7903
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
7904
|
+
};
|
|
7712
7905
|
const deserializeAws_json1_1DescribeLabelingJobCommand = async (output, context) => {
|
|
7713
7906
|
if (output.statusCode >= 300) {
|
|
7714
7907
|
return deserializeAws_json1_1DescribeLabelingJobCommandError(output, context);
|
|
@@ -7756,6 +7949,53 @@ const deserializeAws_json1_1DescribeLabelingJobCommandError = async (output, con
|
|
|
7756
7949
|
delete response.Message;
|
|
7757
7950
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
7758
7951
|
};
|
|
7952
|
+
const deserializeAws_json1_1DescribeLineageGroupCommand = async (output, context) => {
|
|
7953
|
+
if (output.statusCode >= 300) {
|
|
7954
|
+
return deserializeAws_json1_1DescribeLineageGroupCommandError(output, context);
|
|
7955
|
+
}
|
|
7956
|
+
const data = await parseBody(output.body, context);
|
|
7957
|
+
let contents = {};
|
|
7958
|
+
contents = deserializeAws_json1_1DescribeLineageGroupResponse(data, context);
|
|
7959
|
+
const response = {
|
|
7960
|
+
$metadata: deserializeMetadata(output),
|
|
7961
|
+
...contents,
|
|
7962
|
+
};
|
|
7963
|
+
return Promise.resolve(response);
|
|
7964
|
+
};
|
|
7965
|
+
exports.deserializeAws_json1_1DescribeLineageGroupCommand = deserializeAws_json1_1DescribeLineageGroupCommand;
|
|
7966
|
+
const deserializeAws_json1_1DescribeLineageGroupCommandError = async (output, context) => {
|
|
7967
|
+
const parsedOutput = {
|
|
7968
|
+
...output,
|
|
7969
|
+
body: await parseBody(output.body, context),
|
|
7970
|
+
};
|
|
7971
|
+
let response;
|
|
7972
|
+
let errorCode = "UnknownError";
|
|
7973
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7974
|
+
switch (errorCode) {
|
|
7975
|
+
case "ResourceNotFound":
|
|
7976
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
7977
|
+
response = {
|
|
7978
|
+
...(await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context)),
|
|
7979
|
+
name: errorCode,
|
|
7980
|
+
$metadata: deserializeMetadata(output),
|
|
7981
|
+
};
|
|
7982
|
+
break;
|
|
7983
|
+
default:
|
|
7984
|
+
const parsedBody = parsedOutput.body;
|
|
7985
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
7986
|
+
response = {
|
|
7987
|
+
...parsedBody,
|
|
7988
|
+
name: `${errorCode}`,
|
|
7989
|
+
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
7990
|
+
$fault: "client",
|
|
7991
|
+
$metadata: deserializeMetadata(output),
|
|
7992
|
+
};
|
|
7993
|
+
}
|
|
7994
|
+
const message = response.message || response.Message || errorCode;
|
|
7995
|
+
response.message = message;
|
|
7996
|
+
delete response.Message;
|
|
7997
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
7998
|
+
};
|
|
7759
7999
|
const deserializeAws_json1_1DescribeModelCommand = async (output, context) => {
|
|
7760
8000
|
if (output.statusCode >= 300) {
|
|
7761
8001
|
return deserializeAws_json1_1DescribeModelCommandError(output, context);
|
|
@@ -8929,6 +9169,53 @@ const deserializeAws_json1_1GetDeviceFleetReportCommandError = async (output, co
|
|
|
8929
9169
|
delete response.Message;
|
|
8930
9170
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
8931
9171
|
};
|
|
9172
|
+
const deserializeAws_json1_1GetLineageGroupPolicyCommand = async (output, context) => {
|
|
9173
|
+
if (output.statusCode >= 300) {
|
|
9174
|
+
return deserializeAws_json1_1GetLineageGroupPolicyCommandError(output, context);
|
|
9175
|
+
}
|
|
9176
|
+
const data = await parseBody(output.body, context);
|
|
9177
|
+
let contents = {};
|
|
9178
|
+
contents = deserializeAws_json1_1GetLineageGroupPolicyResponse(data, context);
|
|
9179
|
+
const response = {
|
|
9180
|
+
$metadata: deserializeMetadata(output),
|
|
9181
|
+
...contents,
|
|
9182
|
+
};
|
|
9183
|
+
return Promise.resolve(response);
|
|
9184
|
+
};
|
|
9185
|
+
exports.deserializeAws_json1_1GetLineageGroupPolicyCommand = deserializeAws_json1_1GetLineageGroupPolicyCommand;
|
|
9186
|
+
const deserializeAws_json1_1GetLineageGroupPolicyCommandError = async (output, context) => {
|
|
9187
|
+
const parsedOutput = {
|
|
9188
|
+
...output,
|
|
9189
|
+
body: await parseBody(output.body, context),
|
|
9190
|
+
};
|
|
9191
|
+
let response;
|
|
9192
|
+
let errorCode = "UnknownError";
|
|
9193
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9194
|
+
switch (errorCode) {
|
|
9195
|
+
case "ResourceNotFound":
|
|
9196
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
9197
|
+
response = {
|
|
9198
|
+
...(await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context)),
|
|
9199
|
+
name: errorCode,
|
|
9200
|
+
$metadata: deserializeMetadata(output),
|
|
9201
|
+
};
|
|
9202
|
+
break;
|
|
9203
|
+
default:
|
|
9204
|
+
const parsedBody = parsedOutput.body;
|
|
9205
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
9206
|
+
response = {
|
|
9207
|
+
...parsedBody,
|
|
9208
|
+
name: `${errorCode}`,
|
|
9209
|
+
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
9210
|
+
$fault: "client",
|
|
9211
|
+
$metadata: deserializeMetadata(output),
|
|
9212
|
+
};
|
|
9213
|
+
}
|
|
9214
|
+
const message = response.message || response.Message || errorCode;
|
|
9215
|
+
response.message = message;
|
|
9216
|
+
delete response.Message;
|
|
9217
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
9218
|
+
};
|
|
8932
9219
|
const deserializeAws_json1_1GetModelPackageGroupPolicyCommand = async (output, context) => {
|
|
8933
9220
|
if (output.statusCode >= 300) {
|
|
8934
9221
|
return deserializeAws_json1_1GetModelPackageGroupPolicyCommandError(output, context);
|
|
@@ -10069,21 +10356,21 @@ const deserializeAws_json1_1ListImageVersionsCommandError = async (output, conte
|
|
|
10069
10356
|
delete response.Message;
|
|
10070
10357
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
10071
10358
|
};
|
|
10072
|
-
const
|
|
10359
|
+
const deserializeAws_json1_1ListInferenceRecommendationsJobsCommand = async (output, context) => {
|
|
10073
10360
|
if (output.statusCode >= 300) {
|
|
10074
|
-
return
|
|
10361
|
+
return deserializeAws_json1_1ListInferenceRecommendationsJobsCommandError(output, context);
|
|
10075
10362
|
}
|
|
10076
10363
|
const data = await parseBody(output.body, context);
|
|
10077
10364
|
let contents = {};
|
|
10078
|
-
contents =
|
|
10365
|
+
contents = deserializeAws_json1_1ListInferenceRecommendationsJobsResponse(data, context);
|
|
10079
10366
|
const response = {
|
|
10080
10367
|
$metadata: deserializeMetadata(output),
|
|
10081
10368
|
...contents,
|
|
10082
10369
|
};
|
|
10083
10370
|
return Promise.resolve(response);
|
|
10084
10371
|
};
|
|
10085
|
-
exports.
|
|
10086
|
-
const
|
|
10372
|
+
exports.deserializeAws_json1_1ListInferenceRecommendationsJobsCommand = deserializeAws_json1_1ListInferenceRecommendationsJobsCommand;
|
|
10373
|
+
const deserializeAws_json1_1ListInferenceRecommendationsJobsCommandError = async (output, context) => {
|
|
10087
10374
|
const parsedOutput = {
|
|
10088
10375
|
...output,
|
|
10089
10376
|
body: await parseBody(output.body, context),
|
|
@@ -10108,21 +10395,21 @@ const deserializeAws_json1_1ListLabelingJobsCommandError = async (output, contex
|
|
|
10108
10395
|
delete response.Message;
|
|
10109
10396
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
10110
10397
|
};
|
|
10111
|
-
const
|
|
10398
|
+
const deserializeAws_json1_1ListLabelingJobsCommand = async (output, context) => {
|
|
10112
10399
|
if (output.statusCode >= 300) {
|
|
10113
|
-
return
|
|
10400
|
+
return deserializeAws_json1_1ListLabelingJobsCommandError(output, context);
|
|
10114
10401
|
}
|
|
10115
10402
|
const data = await parseBody(output.body, context);
|
|
10116
10403
|
let contents = {};
|
|
10117
|
-
contents =
|
|
10404
|
+
contents = deserializeAws_json1_1ListLabelingJobsResponse(data, context);
|
|
10118
10405
|
const response = {
|
|
10119
10406
|
$metadata: deserializeMetadata(output),
|
|
10120
10407
|
...contents,
|
|
10121
10408
|
};
|
|
10122
10409
|
return Promise.resolve(response);
|
|
10123
10410
|
};
|
|
10124
|
-
exports.
|
|
10125
|
-
const
|
|
10411
|
+
exports.deserializeAws_json1_1ListLabelingJobsCommand = deserializeAws_json1_1ListLabelingJobsCommand;
|
|
10412
|
+
const deserializeAws_json1_1ListLabelingJobsCommandError = async (output, context) => {
|
|
10126
10413
|
const parsedOutput = {
|
|
10127
10414
|
...output,
|
|
10128
10415
|
body: await parseBody(output.body, context),
|
|
@@ -10131,14 +10418,6 @@ const deserializeAws_json1_1ListLabelingJobsForWorkteamCommandError = async (out
|
|
|
10131
10418
|
let errorCode = "UnknownError";
|
|
10132
10419
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10133
10420
|
switch (errorCode) {
|
|
10134
|
-
case "ResourceNotFound":
|
|
10135
|
-
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
10136
|
-
response = {
|
|
10137
|
-
...(await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context)),
|
|
10138
|
-
name: errorCode,
|
|
10139
|
-
$metadata: deserializeMetadata(output),
|
|
10140
|
-
};
|
|
10141
|
-
break;
|
|
10142
10421
|
default:
|
|
10143
10422
|
const parsedBody = parsedOutput.body;
|
|
10144
10423
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -10155,9 +10434,95 @@ const deserializeAws_json1_1ListLabelingJobsForWorkteamCommandError = async (out
|
|
|
10155
10434
|
delete response.Message;
|
|
10156
10435
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
10157
10436
|
};
|
|
10158
|
-
const
|
|
10437
|
+
const deserializeAws_json1_1ListLabelingJobsForWorkteamCommand = async (output, context) => {
|
|
10159
10438
|
if (output.statusCode >= 300) {
|
|
10160
|
-
return
|
|
10439
|
+
return deserializeAws_json1_1ListLabelingJobsForWorkteamCommandError(output, context);
|
|
10440
|
+
}
|
|
10441
|
+
const data = await parseBody(output.body, context);
|
|
10442
|
+
let contents = {};
|
|
10443
|
+
contents = deserializeAws_json1_1ListLabelingJobsForWorkteamResponse(data, context);
|
|
10444
|
+
const response = {
|
|
10445
|
+
$metadata: deserializeMetadata(output),
|
|
10446
|
+
...contents,
|
|
10447
|
+
};
|
|
10448
|
+
return Promise.resolve(response);
|
|
10449
|
+
};
|
|
10450
|
+
exports.deserializeAws_json1_1ListLabelingJobsForWorkteamCommand = deserializeAws_json1_1ListLabelingJobsForWorkteamCommand;
|
|
10451
|
+
const deserializeAws_json1_1ListLabelingJobsForWorkteamCommandError = async (output, context) => {
|
|
10452
|
+
const parsedOutput = {
|
|
10453
|
+
...output,
|
|
10454
|
+
body: await parseBody(output.body, context),
|
|
10455
|
+
};
|
|
10456
|
+
let response;
|
|
10457
|
+
let errorCode = "UnknownError";
|
|
10458
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10459
|
+
switch (errorCode) {
|
|
10460
|
+
case "ResourceNotFound":
|
|
10461
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
10462
|
+
response = {
|
|
10463
|
+
...(await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context)),
|
|
10464
|
+
name: errorCode,
|
|
10465
|
+
$metadata: deserializeMetadata(output),
|
|
10466
|
+
};
|
|
10467
|
+
break;
|
|
10468
|
+
default:
|
|
10469
|
+
const parsedBody = parsedOutput.body;
|
|
10470
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
10471
|
+
response = {
|
|
10472
|
+
...parsedBody,
|
|
10473
|
+
name: `${errorCode}`,
|
|
10474
|
+
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
10475
|
+
$fault: "client",
|
|
10476
|
+
$metadata: deserializeMetadata(output),
|
|
10477
|
+
};
|
|
10478
|
+
}
|
|
10479
|
+
const message = response.message || response.Message || errorCode;
|
|
10480
|
+
response.message = message;
|
|
10481
|
+
delete response.Message;
|
|
10482
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
10483
|
+
};
|
|
10484
|
+
const deserializeAws_json1_1ListLineageGroupsCommand = async (output, context) => {
|
|
10485
|
+
if (output.statusCode >= 300) {
|
|
10486
|
+
return deserializeAws_json1_1ListLineageGroupsCommandError(output, context);
|
|
10487
|
+
}
|
|
10488
|
+
const data = await parseBody(output.body, context);
|
|
10489
|
+
let contents = {};
|
|
10490
|
+
contents = deserializeAws_json1_1ListLineageGroupsResponse(data, context);
|
|
10491
|
+
const response = {
|
|
10492
|
+
$metadata: deserializeMetadata(output),
|
|
10493
|
+
...contents,
|
|
10494
|
+
};
|
|
10495
|
+
return Promise.resolve(response);
|
|
10496
|
+
};
|
|
10497
|
+
exports.deserializeAws_json1_1ListLineageGroupsCommand = deserializeAws_json1_1ListLineageGroupsCommand;
|
|
10498
|
+
const deserializeAws_json1_1ListLineageGroupsCommandError = async (output, context) => {
|
|
10499
|
+
const parsedOutput = {
|
|
10500
|
+
...output,
|
|
10501
|
+
body: await parseBody(output.body, context),
|
|
10502
|
+
};
|
|
10503
|
+
let response;
|
|
10504
|
+
let errorCode = "UnknownError";
|
|
10505
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10506
|
+
switch (errorCode) {
|
|
10507
|
+
default:
|
|
10508
|
+
const parsedBody = parsedOutput.body;
|
|
10509
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
10510
|
+
response = {
|
|
10511
|
+
...parsedBody,
|
|
10512
|
+
name: `${errorCode}`,
|
|
10513
|
+
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
10514
|
+
$fault: "client",
|
|
10515
|
+
$metadata: deserializeMetadata(output),
|
|
10516
|
+
};
|
|
10517
|
+
}
|
|
10518
|
+
const message = response.message || response.Message || errorCode;
|
|
10519
|
+
response.message = message;
|
|
10520
|
+
delete response.Message;
|
|
10521
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
10522
|
+
};
|
|
10523
|
+
const deserializeAws_json1_1ListModelBiasJobDefinitionsCommand = async (output, context) => {
|
|
10524
|
+
if (output.statusCode >= 300) {
|
|
10525
|
+
return deserializeAws_json1_1ListModelBiasJobDefinitionsCommandError(output, context);
|
|
10161
10526
|
}
|
|
10162
10527
|
const data = await parseBody(output.body, context);
|
|
10163
10528
|
let contents = {};
|
|
@@ -10233,6 +10598,45 @@ const deserializeAws_json1_1ListModelExplainabilityJobDefinitionsCommandError =
|
|
|
10233
10598
|
delete response.Message;
|
|
10234
10599
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
10235
10600
|
};
|
|
10601
|
+
const deserializeAws_json1_1ListModelMetadataCommand = async (output, context) => {
|
|
10602
|
+
if (output.statusCode >= 300) {
|
|
10603
|
+
return deserializeAws_json1_1ListModelMetadataCommandError(output, context);
|
|
10604
|
+
}
|
|
10605
|
+
const data = await parseBody(output.body, context);
|
|
10606
|
+
let contents = {};
|
|
10607
|
+
contents = deserializeAws_json1_1ListModelMetadataResponse(data, context);
|
|
10608
|
+
const response = {
|
|
10609
|
+
$metadata: deserializeMetadata(output),
|
|
10610
|
+
...contents,
|
|
10611
|
+
};
|
|
10612
|
+
return Promise.resolve(response);
|
|
10613
|
+
};
|
|
10614
|
+
exports.deserializeAws_json1_1ListModelMetadataCommand = deserializeAws_json1_1ListModelMetadataCommand;
|
|
10615
|
+
const deserializeAws_json1_1ListModelMetadataCommandError = async (output, context) => {
|
|
10616
|
+
const parsedOutput = {
|
|
10617
|
+
...output,
|
|
10618
|
+
body: await parseBody(output.body, context),
|
|
10619
|
+
};
|
|
10620
|
+
let response;
|
|
10621
|
+
let errorCode = "UnknownError";
|
|
10622
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10623
|
+
switch (errorCode) {
|
|
10624
|
+
default:
|
|
10625
|
+
const parsedBody = parsedOutput.body;
|
|
10626
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
10627
|
+
response = {
|
|
10628
|
+
...parsedBody,
|
|
10629
|
+
name: `${errorCode}`,
|
|
10630
|
+
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
10631
|
+
$fault: "client",
|
|
10632
|
+
$metadata: deserializeMetadata(output),
|
|
10633
|
+
};
|
|
10634
|
+
}
|
|
10635
|
+
const message = response.message || response.Message || errorCode;
|
|
10636
|
+
response.message = message;
|
|
10637
|
+
delete response.Message;
|
|
10638
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
10639
|
+
};
|
|
10236
10640
|
const deserializeAws_json1_1ListModelPackageGroupsCommand = async (output, context) => {
|
|
10237
10641
|
if (output.statusCode >= 300) {
|
|
10238
10642
|
return deserializeAws_json1_1ListModelPackageGroupsCommandError(output, context);
|
|
@@ -11303,6 +11707,53 @@ const deserializeAws_json1_1PutModelPackageGroupPolicyCommandError = async (outp
|
|
|
11303
11707
|
delete response.Message;
|
|
11304
11708
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
11305
11709
|
};
|
|
11710
|
+
const deserializeAws_json1_1QueryLineageCommand = async (output, context) => {
|
|
11711
|
+
if (output.statusCode >= 300) {
|
|
11712
|
+
return deserializeAws_json1_1QueryLineageCommandError(output, context);
|
|
11713
|
+
}
|
|
11714
|
+
const data = await parseBody(output.body, context);
|
|
11715
|
+
let contents = {};
|
|
11716
|
+
contents = deserializeAws_json1_1QueryLineageResponse(data, context);
|
|
11717
|
+
const response = {
|
|
11718
|
+
$metadata: deserializeMetadata(output),
|
|
11719
|
+
...contents,
|
|
11720
|
+
};
|
|
11721
|
+
return Promise.resolve(response);
|
|
11722
|
+
};
|
|
11723
|
+
exports.deserializeAws_json1_1QueryLineageCommand = deserializeAws_json1_1QueryLineageCommand;
|
|
11724
|
+
const deserializeAws_json1_1QueryLineageCommandError = async (output, context) => {
|
|
11725
|
+
const parsedOutput = {
|
|
11726
|
+
...output,
|
|
11727
|
+
body: await parseBody(output.body, context),
|
|
11728
|
+
};
|
|
11729
|
+
let response;
|
|
11730
|
+
let errorCode = "UnknownError";
|
|
11731
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
11732
|
+
switch (errorCode) {
|
|
11733
|
+
case "ResourceNotFound":
|
|
11734
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
11735
|
+
response = {
|
|
11736
|
+
...(await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context)),
|
|
11737
|
+
name: errorCode,
|
|
11738
|
+
$metadata: deserializeMetadata(output),
|
|
11739
|
+
};
|
|
11740
|
+
break;
|
|
11741
|
+
default:
|
|
11742
|
+
const parsedBody = parsedOutput.body;
|
|
11743
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
11744
|
+
response = {
|
|
11745
|
+
...parsedBody,
|
|
11746
|
+
name: `${errorCode}`,
|
|
11747
|
+
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
11748
|
+
$fault: "client",
|
|
11749
|
+
$metadata: deserializeMetadata(output),
|
|
11750
|
+
};
|
|
11751
|
+
}
|
|
11752
|
+
const message = response.message || response.Message || errorCode;
|
|
11753
|
+
response.message = message;
|
|
11754
|
+
delete response.Message;
|
|
11755
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
11756
|
+
};
|
|
11306
11757
|
const deserializeAws_json1_1RegisterDevicesCommand = async (output, context) => {
|
|
11307
11758
|
if (output.statusCode >= 300) {
|
|
11308
11759
|
return deserializeAws_json1_1RegisterDevicesCommandError(output, context);
|
|
@@ -11917,6 +12368,50 @@ const deserializeAws_json1_1StopHyperParameterTuningJobCommandError = async (out
|
|
|
11917
12368
|
delete response.Message;
|
|
11918
12369
|
return Promise.reject(Object.assign(new Error(message), response));
|
|
11919
12370
|
};
|
|
12371
|
+
const deserializeAws_json1_1StopInferenceRecommendationsJobCommand = async (output, context) => {
|
|
12372
|
+
if (output.statusCode >= 300) {
|
|
12373
|
+
return deserializeAws_json1_1StopInferenceRecommendationsJobCommandError(output, context);
|
|
12374
|
+
}
|
|
12375
|
+
await collectBody(output.body, context);
|
|
12376
|
+
const response = {
|
|
12377
|
+
$metadata: deserializeMetadata(output),
|
|
12378
|
+
};
|
|
12379
|
+
return Promise.resolve(response);
|
|
12380
|
+
};
|
|
12381
|
+
exports.deserializeAws_json1_1StopInferenceRecommendationsJobCommand = deserializeAws_json1_1StopInferenceRecommendationsJobCommand;
|
|
12382
|
+
const deserializeAws_json1_1StopInferenceRecommendationsJobCommandError = async (output, context) => {
|
|
12383
|
+
const parsedOutput = {
|
|
12384
|
+
...output,
|
|
12385
|
+
body: await parseBody(output.body, context),
|
|
12386
|
+
};
|
|
12387
|
+
let response;
|
|
12388
|
+
let errorCode = "UnknownError";
|
|
12389
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
12390
|
+
switch (errorCode) {
|
|
12391
|
+
case "ResourceNotFound":
|
|
12392
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
12393
|
+
response = {
|
|
12394
|
+
...(await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context)),
|
|
12395
|
+
name: errorCode,
|
|
12396
|
+
$metadata: deserializeMetadata(output),
|
|
12397
|
+
};
|
|
12398
|
+
break;
|
|
12399
|
+
default:
|
|
12400
|
+
const parsedBody = parsedOutput.body;
|
|
12401
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
12402
|
+
response = {
|
|
12403
|
+
...parsedBody,
|
|
12404
|
+
name: `${errorCode}`,
|
|
12405
|
+
message: parsedBody.message || parsedBody.Message || errorCode,
|
|
12406
|
+
$fault: "client",
|
|
12407
|
+
$metadata: deserializeMetadata(output),
|
|
12408
|
+
};
|
|
12409
|
+
}
|
|
12410
|
+
const message = response.message || response.Message || errorCode;
|
|
12411
|
+
response.message = message;
|
|
12412
|
+
delete response.Message;
|
|
12413
|
+
return Promise.reject(Object.assign(new Error(message), response));
|
|
12414
|
+
};
|
|
11920
12415
|
const deserializeAws_json1_1StopLabelingJobCommand = async (output, context) => {
|
|
11921
12416
|
if (output.statusCode >= 300) {
|
|
11922
12417
|
return deserializeAws_json1_1StopLabelingJobCommandError(output, context);
|
|
@@ -13515,6 +14010,42 @@ const serializeAws_json1_1AdditionalCodeRepositoryNamesOrUrls = (input, context)
|
|
|
13515
14010
|
return entry;
|
|
13516
14011
|
});
|
|
13517
14012
|
};
|
|
14013
|
+
const serializeAws_json1_1AdditionalInferenceSpecificationDefinition = (input, context) => {
|
|
14014
|
+
return {
|
|
14015
|
+
...(input.Containers !== undefined &&
|
|
14016
|
+
input.Containers !== null && {
|
|
14017
|
+
Containers: serializeAws_json1_1ModelPackageContainerDefinitionList(input.Containers, context),
|
|
14018
|
+
}),
|
|
14019
|
+
...(input.Description !== undefined && input.Description !== null && { Description: input.Description }),
|
|
14020
|
+
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
14021
|
+
...(input.SupportedContentTypes !== undefined &&
|
|
14022
|
+
input.SupportedContentTypes !== null && {
|
|
14023
|
+
SupportedContentTypes: serializeAws_json1_1ContentTypes(input.SupportedContentTypes, context),
|
|
14024
|
+
}),
|
|
14025
|
+
...(input.SupportedRealtimeInferenceInstanceTypes !== undefined &&
|
|
14026
|
+
input.SupportedRealtimeInferenceInstanceTypes !== null && {
|
|
14027
|
+
SupportedRealtimeInferenceInstanceTypes: serializeAws_json1_1RealtimeInferenceInstanceTypes(input.SupportedRealtimeInferenceInstanceTypes, context),
|
|
14028
|
+
}),
|
|
14029
|
+
...(input.SupportedResponseMIMETypes !== undefined &&
|
|
14030
|
+
input.SupportedResponseMIMETypes !== null && {
|
|
14031
|
+
SupportedResponseMIMETypes: serializeAws_json1_1ResponseMIMETypes(input.SupportedResponseMIMETypes, context),
|
|
14032
|
+
}),
|
|
14033
|
+
...(input.SupportedTransformInstanceTypes !== undefined &&
|
|
14034
|
+
input.SupportedTransformInstanceTypes !== null && {
|
|
14035
|
+
SupportedTransformInstanceTypes: serializeAws_json1_1TransformInstanceTypes(input.SupportedTransformInstanceTypes, context),
|
|
14036
|
+
}),
|
|
14037
|
+
};
|
|
14038
|
+
};
|
|
14039
|
+
const serializeAws_json1_1AdditionalInferenceSpecifications = (input, context) => {
|
|
14040
|
+
return input
|
|
14041
|
+
.filter((e) => e != null)
|
|
14042
|
+
.map((entry) => {
|
|
14043
|
+
if (entry === null) {
|
|
14044
|
+
return null;
|
|
14045
|
+
}
|
|
14046
|
+
return serializeAws_json1_1AdditionalInferenceSpecificationDefinition(entry, context);
|
|
14047
|
+
});
|
|
14048
|
+
};
|
|
13518
14049
|
const serializeAws_json1_1AddTagsInput = (input, context) => {
|
|
13519
14050
|
return {
|
|
13520
14051
|
...(input.ResourceArn !== undefined && input.ResourceArn !== null && { ResourceArn: input.ResourceArn }),
|
|
@@ -13701,6 +14232,7 @@ const serializeAws_json1_1AutoMLChannel = (input, context) => {
|
|
|
13701
14232
|
return {
|
|
13702
14233
|
...(input.CompressionType !== undefined &&
|
|
13703
14234
|
input.CompressionType !== null && { CompressionType: input.CompressionType }),
|
|
14235
|
+
...(input.ContentType !== undefined && input.ContentType !== null && { ContentType: input.ContentType }),
|
|
13704
14236
|
...(input.DataSource !== undefined &&
|
|
13705
14237
|
input.DataSource !== null && { DataSource: serializeAws_json1_1AutoMLDataSource(input.DataSource, context) }),
|
|
13706
14238
|
...(input.TargetAttributeName !== undefined &&
|
|
@@ -13795,6 +14327,14 @@ const serializeAws_json1_1BatchDescribeModelPackageInput = (input, context) => {
|
|
|
13795
14327
|
};
|
|
13796
14328
|
const serializeAws_json1_1Bias = (input, context) => {
|
|
13797
14329
|
return {
|
|
14330
|
+
...(input.PostTrainingReport !== undefined &&
|
|
14331
|
+
input.PostTrainingReport !== null && {
|
|
14332
|
+
PostTrainingReport: serializeAws_json1_1MetricsSource(input.PostTrainingReport, context),
|
|
14333
|
+
}),
|
|
14334
|
+
...(input.PreTrainingReport !== undefined &&
|
|
14335
|
+
input.PreTrainingReport !== null && {
|
|
14336
|
+
PreTrainingReport: serializeAws_json1_1MetricsSource(input.PreTrainingReport, context),
|
|
14337
|
+
}),
|
|
13798
14338
|
...(input.Report !== undefined &&
|
|
13799
14339
|
input.Report !== null && { Report: serializeAws_json1_1MetricsSource(input.Report, context) }),
|
|
13800
14340
|
};
|
|
@@ -13846,6 +14386,13 @@ const serializeAws_json1_1CaptureOptionList = (input, context) => {
|
|
|
13846
14386
|
return serializeAws_json1_1CaptureOption(entry, context);
|
|
13847
14387
|
});
|
|
13848
14388
|
};
|
|
14389
|
+
const serializeAws_json1_1CategoricalParameter = (input, context) => {
|
|
14390
|
+
return {
|
|
14391
|
+
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
14392
|
+
...(input.Value !== undefined &&
|
|
14393
|
+
input.Value !== null && { Value: serializeAws_json1_1CategoricalParameterRangeValues(input.Value, context) }),
|
|
14394
|
+
};
|
|
14395
|
+
};
|
|
13849
14396
|
const serializeAws_json1_1CategoricalParameterRange = (input, context) => {
|
|
13850
14397
|
return {
|
|
13851
14398
|
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
@@ -13869,6 +14416,26 @@ const serializeAws_json1_1CategoricalParameterRangeSpecification = (input, conte
|
|
|
13869
14416
|
input.Values !== null && { Values: serializeAws_json1_1ParameterValues(input.Values, context) }),
|
|
13870
14417
|
};
|
|
13871
14418
|
};
|
|
14419
|
+
const serializeAws_json1_1CategoricalParameterRangeValues = (input, context) => {
|
|
14420
|
+
return input
|
|
14421
|
+
.filter((e) => e != null)
|
|
14422
|
+
.map((entry) => {
|
|
14423
|
+
if (entry === null) {
|
|
14424
|
+
return null;
|
|
14425
|
+
}
|
|
14426
|
+
return entry;
|
|
14427
|
+
});
|
|
14428
|
+
};
|
|
14429
|
+
const serializeAws_json1_1CategoricalParameters = (input, context) => {
|
|
14430
|
+
return input
|
|
14431
|
+
.filter((e) => e != null)
|
|
14432
|
+
.map((entry) => {
|
|
14433
|
+
if (entry === null) {
|
|
14434
|
+
return null;
|
|
14435
|
+
}
|
|
14436
|
+
return serializeAws_json1_1CategoricalParameter(entry, context);
|
|
14437
|
+
});
|
|
14438
|
+
};
|
|
13872
14439
|
const serializeAws_json1_1Channel = (input, context) => {
|
|
13873
14440
|
return {
|
|
13874
14441
|
...(input.ChannelName !== undefined && input.ChannelName !== null && { ChannelName: input.ChannelName }),
|
|
@@ -14004,6 +14571,8 @@ const serializeAws_json1_1ContainerDefinition = (input, context) => {
|
|
|
14004
14571
|
...(input.Image !== undefined && input.Image !== null && { Image: input.Image }),
|
|
14005
14572
|
...(input.ImageConfig !== undefined &&
|
|
14006
14573
|
input.ImageConfig !== null && { ImageConfig: serializeAws_json1_1ImageConfig(input.ImageConfig, context) }),
|
|
14574
|
+
...(input.InferenceSpecificationName !== undefined &&
|
|
14575
|
+
input.InferenceSpecificationName !== null && { InferenceSpecificationName: input.InferenceSpecificationName }),
|
|
14007
14576
|
...(input.Mode !== undefined && input.Mode !== null && { Mode: input.Mode }),
|
|
14008
14577
|
...(input.ModelDataUrl !== undefined && input.ModelDataUrl !== null && { ModelDataUrl: input.ModelDataUrl }),
|
|
14009
14578
|
...(input.ModelPackageName !== undefined &&
|
|
@@ -14213,6 +14782,8 @@ const serializeAws_json1_1CreateCompilationJobRequest = (input, context) => {
|
|
|
14213
14782
|
input.CompilationJobName !== null && { CompilationJobName: input.CompilationJobName }),
|
|
14214
14783
|
...(input.InputConfig !== undefined &&
|
|
14215
14784
|
input.InputConfig !== null && { InputConfig: serializeAws_json1_1InputConfig(input.InputConfig, context) }),
|
|
14785
|
+
...(input.ModelPackageVersionArn !== undefined &&
|
|
14786
|
+
input.ModelPackageVersionArn !== null && { ModelPackageVersionArn: input.ModelPackageVersionArn }),
|
|
14216
14787
|
...(input.OutputConfig !== undefined &&
|
|
14217
14788
|
input.OutputConfig !== null && { OutputConfig: serializeAws_json1_1OutputConfig(input.OutputConfig, context) }),
|
|
14218
14789
|
...(input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn }),
|
|
@@ -14471,6 +15042,24 @@ const serializeAws_json1_1CreateImageVersionRequest = (input, context) => {
|
|
|
14471
15042
|
...(input.ImageName !== undefined && input.ImageName !== null && { ImageName: input.ImageName }),
|
|
14472
15043
|
};
|
|
14473
15044
|
};
|
|
15045
|
+
const serializeAws_json1_1CreateInferenceRecommendationsJobRequest = (input, context) => {
|
|
15046
|
+
return {
|
|
15047
|
+
...(input.InputConfig !== undefined &&
|
|
15048
|
+
input.InputConfig !== null && {
|
|
15049
|
+
InputConfig: serializeAws_json1_1RecommendationJobInputConfig(input.InputConfig, context),
|
|
15050
|
+
}),
|
|
15051
|
+
...(input.JobDescription !== undefined &&
|
|
15052
|
+
input.JobDescription !== null && { JobDescription: input.JobDescription }),
|
|
15053
|
+
...(input.JobName !== undefined && input.JobName !== null && { JobName: input.JobName }),
|
|
15054
|
+
...(input.JobType !== undefined && input.JobType !== null && { JobType: input.JobType }),
|
|
15055
|
+
...(input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn }),
|
|
15056
|
+
...(input.StoppingConditions !== undefined &&
|
|
15057
|
+
input.StoppingConditions !== null && {
|
|
15058
|
+
StoppingConditions: serializeAws_json1_1RecommendationJobStoppingConditions(input.StoppingConditions, context),
|
|
15059
|
+
}),
|
|
15060
|
+
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
15061
|
+
};
|
|
15062
|
+
};
|
|
14474
15063
|
const serializeAws_json1_1CreateLabelingJobRequest = (input, context) => {
|
|
14475
15064
|
return {
|
|
14476
15065
|
...(input.HumanTaskConfig !== undefined &&
|
|
@@ -14613,6 +15202,10 @@ const serializeAws_json1_1CreateModelPackageGroupInput = (input, context) => {
|
|
|
14613
15202
|
const serializeAws_json1_1CreateModelPackageInput = (input, context) => {
|
|
14614
15203
|
var _a;
|
|
14615
15204
|
return {
|
|
15205
|
+
...(input.AdditionalInferenceSpecifications !== undefined &&
|
|
15206
|
+
input.AdditionalInferenceSpecifications !== null && {
|
|
15207
|
+
AdditionalInferenceSpecifications: serializeAws_json1_1AdditionalInferenceSpecifications(input.AdditionalInferenceSpecifications, context),
|
|
15208
|
+
}),
|
|
14616
15209
|
...(input.CertifyForMarketplace !== undefined &&
|
|
14617
15210
|
input.CertifyForMarketplace !== null && { CertifyForMarketplace: input.CertifyForMarketplace }),
|
|
14618
15211
|
ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : uuid_1.v4(),
|
|
@@ -14620,6 +15213,11 @@ const serializeAws_json1_1CreateModelPackageInput = (input, context) => {
|
|
|
14620
15213
|
input.CustomerMetadataProperties !== null && {
|
|
14621
15214
|
CustomerMetadataProperties: serializeAws_json1_1CustomerMetadataMap(input.CustomerMetadataProperties, context),
|
|
14622
15215
|
}),
|
|
15216
|
+
...(input.Domain !== undefined && input.Domain !== null && { Domain: input.Domain }),
|
|
15217
|
+
...(input.DriftCheckBaselines !== undefined &&
|
|
15218
|
+
input.DriftCheckBaselines !== null && {
|
|
15219
|
+
DriftCheckBaselines: serializeAws_json1_1DriftCheckBaselines(input.DriftCheckBaselines, context),
|
|
15220
|
+
}),
|
|
14623
15221
|
...(input.InferenceSpecification !== undefined &&
|
|
14624
15222
|
input.InferenceSpecification !== null && {
|
|
14625
15223
|
InferenceSpecification: serializeAws_json1_1InferenceSpecification(input.InferenceSpecification, context),
|
|
@@ -14638,11 +15236,14 @@ const serializeAws_json1_1CreateModelPackageInput = (input, context) => {
|
|
|
14638
15236
|
input.ModelPackageGroupName !== null && { ModelPackageGroupName: input.ModelPackageGroupName }),
|
|
14639
15237
|
...(input.ModelPackageName !== undefined &&
|
|
14640
15238
|
input.ModelPackageName !== null && { ModelPackageName: input.ModelPackageName }),
|
|
15239
|
+
...(input.SamplePayloadUrl !== undefined &&
|
|
15240
|
+
input.SamplePayloadUrl !== null && { SamplePayloadUrl: input.SamplePayloadUrl }),
|
|
14641
15241
|
...(input.SourceAlgorithmSpecification !== undefined &&
|
|
14642
15242
|
input.SourceAlgorithmSpecification !== null && {
|
|
14643
15243
|
SourceAlgorithmSpecification: serializeAws_json1_1SourceAlgorithmSpecification(input.SourceAlgorithmSpecification, context),
|
|
14644
15244
|
}),
|
|
14645
15245
|
...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
15246
|
+
...(input.Task !== undefined && input.Task !== null && { Task: input.Task }),
|
|
14646
15247
|
...(input.ValidationSpecification !== undefined &&
|
|
14647
15248
|
input.ValidationSpecification !== null && {
|
|
14648
15249
|
ValidationSpecification: serializeAws_json1_1ModelPackageValidationSpecification(input.ValidationSpecification, context),
|
|
@@ -15640,12 +16241,23 @@ const serializeAws_json1_1DescribeImageVersionRequest = (input, context) => {
|
|
|
15640
16241
|
...(input.Version !== undefined && input.Version !== null && { Version: input.Version }),
|
|
15641
16242
|
};
|
|
15642
16243
|
};
|
|
16244
|
+
const serializeAws_json1_1DescribeInferenceRecommendationsJobRequest = (input, context) => {
|
|
16245
|
+
return {
|
|
16246
|
+
...(input.JobName !== undefined && input.JobName !== null && { JobName: input.JobName }),
|
|
16247
|
+
};
|
|
16248
|
+
};
|
|
15643
16249
|
const serializeAws_json1_1DescribeLabelingJobRequest = (input, context) => {
|
|
15644
16250
|
return {
|
|
15645
16251
|
...(input.LabelingJobName !== undefined &&
|
|
15646
16252
|
input.LabelingJobName !== null && { LabelingJobName: input.LabelingJobName }),
|
|
15647
16253
|
};
|
|
15648
16254
|
};
|
|
16255
|
+
const serializeAws_json1_1DescribeLineageGroupRequest = (input, context) => {
|
|
16256
|
+
return {
|
|
16257
|
+
...(input.LineageGroupName !== undefined &&
|
|
16258
|
+
input.LineageGroupName !== null && { LineageGroupName: input.LineageGroupName }),
|
|
16259
|
+
};
|
|
16260
|
+
};
|
|
15649
16261
|
const serializeAws_json1_1DescribeModelBiasJobDefinitionRequest = (input, context) => {
|
|
15650
16262
|
return {
|
|
15651
16263
|
...(input.JobDefinitionName !== undefined &&
|
|
@@ -15866,6 +16478,62 @@ const serializeAws_json1_1DomainSettingsForUpdate = (input, context) => {
|
|
|
15866
16478
|
}),
|
|
15867
16479
|
};
|
|
15868
16480
|
};
|
|
16481
|
+
const serializeAws_json1_1DriftCheckBaselines = (input, context) => {
|
|
16482
|
+
return {
|
|
16483
|
+
...(input.Bias !== undefined &&
|
|
16484
|
+
input.Bias !== null && { Bias: serializeAws_json1_1DriftCheckBias(input.Bias, context) }),
|
|
16485
|
+
...(input.Explainability !== undefined &&
|
|
16486
|
+
input.Explainability !== null && {
|
|
16487
|
+
Explainability: serializeAws_json1_1DriftCheckExplainability(input.Explainability, context),
|
|
16488
|
+
}),
|
|
16489
|
+
...(input.ModelDataQuality !== undefined &&
|
|
16490
|
+
input.ModelDataQuality !== null && {
|
|
16491
|
+
ModelDataQuality: serializeAws_json1_1DriftCheckModelDataQuality(input.ModelDataQuality, context),
|
|
16492
|
+
}),
|
|
16493
|
+
...(input.ModelQuality !== undefined &&
|
|
16494
|
+
input.ModelQuality !== null && {
|
|
16495
|
+
ModelQuality: serializeAws_json1_1DriftCheckModelQuality(input.ModelQuality, context),
|
|
16496
|
+
}),
|
|
16497
|
+
};
|
|
16498
|
+
};
|
|
16499
|
+
const serializeAws_json1_1DriftCheckBias = (input, context) => {
|
|
16500
|
+
return {
|
|
16501
|
+
...(input.ConfigFile !== undefined &&
|
|
16502
|
+
input.ConfigFile !== null && { ConfigFile: serializeAws_json1_1FileSource(input.ConfigFile, context) }),
|
|
16503
|
+
...(input.PostTrainingConstraints !== undefined &&
|
|
16504
|
+
input.PostTrainingConstraints !== null && {
|
|
16505
|
+
PostTrainingConstraints: serializeAws_json1_1MetricsSource(input.PostTrainingConstraints, context),
|
|
16506
|
+
}),
|
|
16507
|
+
...(input.PreTrainingConstraints !== undefined &&
|
|
16508
|
+
input.PreTrainingConstraints !== null && {
|
|
16509
|
+
PreTrainingConstraints: serializeAws_json1_1MetricsSource(input.PreTrainingConstraints, context),
|
|
16510
|
+
}),
|
|
16511
|
+
};
|
|
16512
|
+
};
|
|
16513
|
+
const serializeAws_json1_1DriftCheckExplainability = (input, context) => {
|
|
16514
|
+
return {
|
|
16515
|
+
...(input.ConfigFile !== undefined &&
|
|
16516
|
+
input.ConfigFile !== null && { ConfigFile: serializeAws_json1_1FileSource(input.ConfigFile, context) }),
|
|
16517
|
+
...(input.Constraints !== undefined &&
|
|
16518
|
+
input.Constraints !== null && { Constraints: serializeAws_json1_1MetricsSource(input.Constraints, context) }),
|
|
16519
|
+
};
|
|
16520
|
+
};
|
|
16521
|
+
const serializeAws_json1_1DriftCheckModelDataQuality = (input, context) => {
|
|
16522
|
+
return {
|
|
16523
|
+
...(input.Constraints !== undefined &&
|
|
16524
|
+
input.Constraints !== null && { Constraints: serializeAws_json1_1MetricsSource(input.Constraints, context) }),
|
|
16525
|
+
...(input.Statistics !== undefined &&
|
|
16526
|
+
input.Statistics !== null && { Statistics: serializeAws_json1_1MetricsSource(input.Statistics, context) }),
|
|
16527
|
+
};
|
|
16528
|
+
};
|
|
16529
|
+
const serializeAws_json1_1DriftCheckModelQuality = (input, context) => {
|
|
16530
|
+
return {
|
|
16531
|
+
...(input.Constraints !== undefined &&
|
|
16532
|
+
input.Constraints !== null && { Constraints: serializeAws_json1_1MetricsSource(input.Constraints, context) }),
|
|
16533
|
+
...(input.Statistics !== undefined &&
|
|
16534
|
+
input.Statistics !== null && { Statistics: serializeAws_json1_1MetricsSource(input.Statistics, context) }),
|
|
16535
|
+
};
|
|
16536
|
+
};
|
|
15869
16537
|
const serializeAws_json1_1EdgeOutputConfig = (input, context) => {
|
|
15870
16538
|
return {
|
|
15871
16539
|
...(input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId }),
|
|
@@ -15902,6 +16570,27 @@ const serializeAws_json1_1EndpointInput = (input, context) => {
|
|
|
15902
16570
|
input.StartTimeOffset !== null && { StartTimeOffset: input.StartTimeOffset }),
|
|
15903
16571
|
};
|
|
15904
16572
|
};
|
|
16573
|
+
const serializeAws_json1_1EndpointInputConfiguration = (input, context) => {
|
|
16574
|
+
return {
|
|
16575
|
+
...(input.EnvironmentParameterRanges !== undefined &&
|
|
16576
|
+
input.EnvironmentParameterRanges !== null && {
|
|
16577
|
+
EnvironmentParameterRanges: serializeAws_json1_1EnvironmentParameterRanges(input.EnvironmentParameterRanges, context),
|
|
16578
|
+
}),
|
|
16579
|
+
...(input.InferenceSpecificationName !== undefined &&
|
|
16580
|
+
input.InferenceSpecificationName !== null && { InferenceSpecificationName: input.InferenceSpecificationName }),
|
|
16581
|
+
...(input.InstanceType !== undefined && input.InstanceType !== null && { InstanceType: input.InstanceType }),
|
|
16582
|
+
};
|
|
16583
|
+
};
|
|
16584
|
+
const serializeAws_json1_1EndpointInputConfigurations = (input, context) => {
|
|
16585
|
+
return input
|
|
16586
|
+
.filter((e) => e != null)
|
|
16587
|
+
.map((entry) => {
|
|
16588
|
+
if (entry === null) {
|
|
16589
|
+
return null;
|
|
16590
|
+
}
|
|
16591
|
+
return serializeAws_json1_1EndpointInputConfiguration(entry, context);
|
|
16592
|
+
});
|
|
16593
|
+
};
|
|
15905
16594
|
const serializeAws_json1_1EnvironmentMap = (input, context) => {
|
|
15906
16595
|
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
15907
16596
|
if (value === null) {
|
|
@@ -15913,6 +16602,14 @@ const serializeAws_json1_1EnvironmentMap = (input, context) => {
|
|
|
15913
16602
|
};
|
|
15914
16603
|
}, {});
|
|
15915
16604
|
};
|
|
16605
|
+
const serializeAws_json1_1EnvironmentParameterRanges = (input, context) => {
|
|
16606
|
+
return {
|
|
16607
|
+
...(input.CategoricalParameterRanges !== undefined &&
|
|
16608
|
+
input.CategoricalParameterRanges !== null && {
|
|
16609
|
+
CategoricalParameterRanges: serializeAws_json1_1CategoricalParameters(input.CategoricalParameterRanges, context),
|
|
16610
|
+
}),
|
|
16611
|
+
};
|
|
16612
|
+
};
|
|
15916
16613
|
const serializeAws_json1_1ExperimentConfig = (input, context) => {
|
|
15917
16614
|
return {
|
|
15918
16615
|
...(input.ExperimentName !== undefined &&
|
|
@@ -15944,6 +16641,13 @@ const serializeAws_json1_1FeatureDefinitions = (input, context) => {
|
|
|
15944
16641
|
return serializeAws_json1_1FeatureDefinition(entry, context);
|
|
15945
16642
|
});
|
|
15946
16643
|
};
|
|
16644
|
+
const serializeAws_json1_1FileSource = (input, context) => {
|
|
16645
|
+
return {
|
|
16646
|
+
...(input.ContentDigest !== undefined && input.ContentDigest !== null && { ContentDigest: input.ContentDigest }),
|
|
16647
|
+
...(input.ContentType !== undefined && input.ContentType !== null && { ContentType: input.ContentType }),
|
|
16648
|
+
...(input.S3Uri !== undefined && input.S3Uri !== null && { S3Uri: input.S3Uri }),
|
|
16649
|
+
};
|
|
16650
|
+
};
|
|
15947
16651
|
const serializeAws_json1_1FileSystemConfig = (input, context) => {
|
|
15948
16652
|
return {
|
|
15949
16653
|
...(input.DefaultGid !== undefined && input.DefaultGid !== null && { DefaultGid: input.DefaultGid }),
|
|
@@ -16000,6 +16704,12 @@ const serializeAws_json1_1GetDeviceFleetReportRequest = (input, context) => {
|
|
|
16000
16704
|
input.DeviceFleetName !== null && { DeviceFleetName: input.DeviceFleetName }),
|
|
16001
16705
|
};
|
|
16002
16706
|
};
|
|
16707
|
+
const serializeAws_json1_1GetLineageGroupPolicyRequest = (input, context) => {
|
|
16708
|
+
return {
|
|
16709
|
+
...(input.LineageGroupName !== undefined &&
|
|
16710
|
+
input.LineageGroupName !== null && { LineageGroupName: input.LineageGroupName }),
|
|
16711
|
+
};
|
|
16712
|
+
};
|
|
16003
16713
|
const serializeAws_json1_1GetModelPackageGroupPolicyInput = (input, context) => {
|
|
16004
16714
|
return {
|
|
16005
16715
|
...(input.ModelPackageGroupName !== undefined &&
|
|
@@ -17006,6 +17716,30 @@ const serializeAws_json1_1ListImageVersionsRequest = (input, context) => {
|
|
|
17006
17716
|
...(input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder }),
|
|
17007
17717
|
};
|
|
17008
17718
|
};
|
|
17719
|
+
const serializeAws_json1_1ListInferenceRecommendationsJobsRequest = (input, context) => {
|
|
17720
|
+
return {
|
|
17721
|
+
...(input.CreationTimeAfter !== undefined &&
|
|
17722
|
+
input.CreationTimeAfter !== null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) }),
|
|
17723
|
+
...(input.CreationTimeBefore !== undefined &&
|
|
17724
|
+
input.CreationTimeBefore !== null && {
|
|
17725
|
+
CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
|
|
17726
|
+
}),
|
|
17727
|
+
...(input.LastModifiedTimeAfter !== undefined &&
|
|
17728
|
+
input.LastModifiedTimeAfter !== null && {
|
|
17729
|
+
LastModifiedTimeAfter: Math.round(input.LastModifiedTimeAfter.getTime() / 1000),
|
|
17730
|
+
}),
|
|
17731
|
+
...(input.LastModifiedTimeBefore !== undefined &&
|
|
17732
|
+
input.LastModifiedTimeBefore !== null && {
|
|
17733
|
+
LastModifiedTimeBefore: Math.round(input.LastModifiedTimeBefore.getTime() / 1000),
|
|
17734
|
+
}),
|
|
17735
|
+
...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
|
|
17736
|
+
...(input.NameContains !== undefined && input.NameContains !== null && { NameContains: input.NameContains }),
|
|
17737
|
+
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
17738
|
+
...(input.SortBy !== undefined && input.SortBy !== null && { SortBy: input.SortBy }),
|
|
17739
|
+
...(input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder }),
|
|
17740
|
+
...(input.StatusEquals !== undefined && input.StatusEquals !== null && { StatusEquals: input.StatusEquals }),
|
|
17741
|
+
};
|
|
17742
|
+
};
|
|
17009
17743
|
const serializeAws_json1_1ListLabelingJobsForWorkteamRequest = (input, context) => {
|
|
17010
17744
|
return {
|
|
17011
17745
|
...(input.CreationTimeAfter !== undefined &&
|
|
@@ -17057,6 +17791,18 @@ const serializeAws_json1_1ListLineageEntityParameterKey = (input, context) => {
|
|
|
17057
17791
|
return entry;
|
|
17058
17792
|
});
|
|
17059
17793
|
};
|
|
17794
|
+
const serializeAws_json1_1ListLineageGroupsRequest = (input, context) => {
|
|
17795
|
+
return {
|
|
17796
|
+
...(input.CreatedAfter !== undefined &&
|
|
17797
|
+
input.CreatedAfter !== null && { CreatedAfter: Math.round(input.CreatedAfter.getTime() / 1000) }),
|
|
17798
|
+
...(input.CreatedBefore !== undefined &&
|
|
17799
|
+
input.CreatedBefore !== null && { CreatedBefore: Math.round(input.CreatedBefore.getTime() / 1000) }),
|
|
17800
|
+
...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
|
|
17801
|
+
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
17802
|
+
...(input.SortBy !== undefined && input.SortBy !== null && { SortBy: input.SortBy }),
|
|
17803
|
+
...(input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder }),
|
|
17804
|
+
};
|
|
17805
|
+
};
|
|
17060
17806
|
const serializeAws_json1_1ListModelBiasJobDefinitionsRequest = (input, context) => {
|
|
17061
17807
|
return {
|
|
17062
17808
|
...(input.CreationTimeAfter !== undefined &&
|
|
@@ -17089,6 +17835,16 @@ const serializeAws_json1_1ListModelExplainabilityJobDefinitionsRequest = (input,
|
|
|
17089
17835
|
...(input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder }),
|
|
17090
17836
|
};
|
|
17091
17837
|
};
|
|
17838
|
+
const serializeAws_json1_1ListModelMetadataRequest = (input, context) => {
|
|
17839
|
+
return {
|
|
17840
|
+
...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
|
|
17841
|
+
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
17842
|
+
...(input.SearchExpression !== undefined &&
|
|
17843
|
+
input.SearchExpression !== null && {
|
|
17844
|
+
SearchExpression: serializeAws_json1_1ModelMetadataSearchExpression(input.SearchExpression, context),
|
|
17845
|
+
}),
|
|
17846
|
+
};
|
|
17847
|
+
};
|
|
17092
17848
|
const serializeAws_json1_1ListModelPackageGroupsInput = (input, context) => {
|
|
17093
17849
|
return {
|
|
17094
17850
|
...(input.CreationTimeAfter !== undefined &&
|
|
@@ -17668,6 +18424,51 @@ const serializeAws_json1_1ModelExplainabilityJobInput = (input, context) => {
|
|
|
17668
18424
|
}),
|
|
17669
18425
|
};
|
|
17670
18426
|
};
|
|
18427
|
+
const serializeAws_json1_1ModelInput = (input, context) => {
|
|
18428
|
+
return {
|
|
18429
|
+
...(input.DataInputConfig !== undefined &&
|
|
18430
|
+
input.DataInputConfig !== null && { DataInputConfig: input.DataInputConfig }),
|
|
18431
|
+
};
|
|
18432
|
+
};
|
|
18433
|
+
const serializeAws_json1_1ModelLatencyThreshold = (input, context) => {
|
|
18434
|
+
return {
|
|
18435
|
+
...(input.Percentile !== undefined && input.Percentile !== null && { Percentile: input.Percentile }),
|
|
18436
|
+
...(input.ValueInMilliseconds !== undefined &&
|
|
18437
|
+
input.ValueInMilliseconds !== null && { ValueInMilliseconds: input.ValueInMilliseconds }),
|
|
18438
|
+
};
|
|
18439
|
+
};
|
|
18440
|
+
const serializeAws_json1_1ModelLatencyThresholds = (input, context) => {
|
|
18441
|
+
return input
|
|
18442
|
+
.filter((e) => e != null)
|
|
18443
|
+
.map((entry) => {
|
|
18444
|
+
if (entry === null) {
|
|
18445
|
+
return null;
|
|
18446
|
+
}
|
|
18447
|
+
return serializeAws_json1_1ModelLatencyThreshold(entry, context);
|
|
18448
|
+
});
|
|
18449
|
+
};
|
|
18450
|
+
const serializeAws_json1_1ModelMetadataFilter = (input, context) => {
|
|
18451
|
+
return {
|
|
18452
|
+
...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
|
|
18453
|
+
...(input.Value !== undefined && input.Value !== null && { Value: input.Value }),
|
|
18454
|
+
};
|
|
18455
|
+
};
|
|
18456
|
+
const serializeAws_json1_1ModelMetadataFilters = (input, context) => {
|
|
18457
|
+
return input
|
|
18458
|
+
.filter((e) => e != null)
|
|
18459
|
+
.map((entry) => {
|
|
18460
|
+
if (entry === null) {
|
|
18461
|
+
return null;
|
|
18462
|
+
}
|
|
18463
|
+
return serializeAws_json1_1ModelMetadataFilter(entry, context);
|
|
18464
|
+
});
|
|
18465
|
+
};
|
|
18466
|
+
const serializeAws_json1_1ModelMetadataSearchExpression = (input, context) => {
|
|
18467
|
+
return {
|
|
18468
|
+
...(input.Filters !== undefined &&
|
|
18469
|
+
input.Filters !== null && { Filters: serializeAws_json1_1ModelMetadataFilters(input.Filters, context) }),
|
|
18470
|
+
};
|
|
18471
|
+
};
|
|
17671
18472
|
const serializeAws_json1_1ModelMetrics = (input, context) => {
|
|
17672
18473
|
return {
|
|
17673
18474
|
...(input.Bias !== undefined && input.Bias !== null && { Bias: serializeAws_json1_1Bias(input.Bias, context) }),
|
|
@@ -17699,9 +18500,16 @@ const serializeAws_json1_1ModelPackageContainerDefinition = (input, context) =>
|
|
|
17699
18500
|
input.ContainerHostname !== null && { ContainerHostname: input.ContainerHostname }),
|
|
17700
18501
|
...(input.Environment !== undefined &&
|
|
17701
18502
|
input.Environment !== null && { Environment: serializeAws_json1_1EnvironmentMap(input.Environment, context) }),
|
|
18503
|
+
...(input.Framework !== undefined && input.Framework !== null && { Framework: input.Framework }),
|
|
18504
|
+
...(input.FrameworkVersion !== undefined &&
|
|
18505
|
+
input.FrameworkVersion !== null && { FrameworkVersion: input.FrameworkVersion }),
|
|
17702
18506
|
...(input.Image !== undefined && input.Image !== null && { Image: input.Image }),
|
|
17703
18507
|
...(input.ImageDigest !== undefined && input.ImageDigest !== null && { ImageDigest: input.ImageDigest }),
|
|
17704
18508
|
...(input.ModelDataUrl !== undefined && input.ModelDataUrl !== null && { ModelDataUrl: input.ModelDataUrl }),
|
|
18509
|
+
...(input.ModelInput !== undefined &&
|
|
18510
|
+
input.ModelInput !== null && { ModelInput: serializeAws_json1_1ModelInput(input.ModelInput, context) }),
|
|
18511
|
+
...(input.NearestModelName !== undefined &&
|
|
18512
|
+
input.NearestModelName !== null && { NearestModelName: input.NearestModelName }),
|
|
17705
18513
|
...(input.ProductId !== undefined && input.ProductId !== null && { ProductId: input.ProductId }),
|
|
17706
18514
|
};
|
|
17707
18515
|
};
|
|
@@ -18263,6 +19071,25 @@ const serializeAws_json1_1ParentHyperParameterTuningJobs = (input, context) => {
|
|
|
18263
19071
|
return serializeAws_json1_1ParentHyperParameterTuningJob(entry, context);
|
|
18264
19072
|
});
|
|
18265
19073
|
};
|
|
19074
|
+
const serializeAws_json1_1Phase = (input, context) => {
|
|
19075
|
+
return {
|
|
19076
|
+
...(input.DurationInSeconds !== undefined &&
|
|
19077
|
+
input.DurationInSeconds !== null && { DurationInSeconds: input.DurationInSeconds }),
|
|
19078
|
+
...(input.InitialNumberOfUsers !== undefined &&
|
|
19079
|
+
input.InitialNumberOfUsers !== null && { InitialNumberOfUsers: input.InitialNumberOfUsers }),
|
|
19080
|
+
...(input.SpawnRate !== undefined && input.SpawnRate !== null && { SpawnRate: input.SpawnRate }),
|
|
19081
|
+
};
|
|
19082
|
+
};
|
|
19083
|
+
const serializeAws_json1_1Phases = (input, context) => {
|
|
19084
|
+
return input
|
|
19085
|
+
.filter((e) => e != null)
|
|
19086
|
+
.map((entry) => {
|
|
19087
|
+
if (entry === null) {
|
|
19088
|
+
return null;
|
|
19089
|
+
}
|
|
19090
|
+
return serializeAws_json1_1Phase(entry, context);
|
|
19091
|
+
});
|
|
19092
|
+
};
|
|
18266
19093
|
const serializeAws_json1_1ProcessingClusterConfig = (input, context) => {
|
|
18267
19094
|
return {
|
|
18268
19095
|
...(input.InstanceCount !== undefined && input.InstanceCount !== null && { InstanceCount: input.InstanceCount }),
|
|
@@ -18388,6 +19215,10 @@ const serializeAws_json1_1ProductionVariant = (input, context) => {
|
|
|
18388
19215
|
input.InitialVariantWeight !== null && { InitialVariantWeight: smithy_client_1.serializeFloat(input.InitialVariantWeight) }),
|
|
18389
19216
|
...(input.InstanceType !== undefined && input.InstanceType !== null && { InstanceType: input.InstanceType }),
|
|
18390
19217
|
...(input.ModelName !== undefined && input.ModelName !== null && { ModelName: input.ModelName }),
|
|
19218
|
+
...(input.ServerlessConfig !== undefined &&
|
|
19219
|
+
input.ServerlessConfig !== null && {
|
|
19220
|
+
ServerlessConfig: serializeAws_json1_1ProductionVariantServerlessConfig(input.ServerlessConfig, context),
|
|
19221
|
+
}),
|
|
18391
19222
|
...(input.VariantName !== undefined && input.VariantName !== null && { VariantName: input.VariantName }),
|
|
18392
19223
|
};
|
|
18393
19224
|
};
|
|
@@ -18408,6 +19239,14 @@ const serializeAws_json1_1ProductionVariantList = (input, context) => {
|
|
|
18408
19239
|
return serializeAws_json1_1ProductionVariant(entry, context);
|
|
18409
19240
|
});
|
|
18410
19241
|
};
|
|
19242
|
+
const serializeAws_json1_1ProductionVariantServerlessConfig = (input, context) => {
|
|
19243
|
+
return {
|
|
19244
|
+
...(input.MaxConcurrency !== undefined &&
|
|
19245
|
+
input.MaxConcurrency !== null && { MaxConcurrency: input.MaxConcurrency }),
|
|
19246
|
+
...(input.MemorySizeInMB !== undefined &&
|
|
19247
|
+
input.MemorySizeInMB !== null && { MemorySizeInMB: input.MemorySizeInMB }),
|
|
19248
|
+
};
|
|
19249
|
+
};
|
|
18411
19250
|
const serializeAws_json1_1ProfilerConfig = (input, context) => {
|
|
18412
19251
|
return {
|
|
18413
19252
|
...(input.ProfilingIntervalInMilliseconds !== undefined &&
|
|
@@ -18510,6 +19349,80 @@ const serializeAws_json1_1PutModelPackageGroupPolicyInput = (input, context) =>
|
|
|
18510
19349
|
input.ResourcePolicy !== null && { ResourcePolicy: input.ResourcePolicy }),
|
|
18511
19350
|
};
|
|
18512
19351
|
};
|
|
19352
|
+
const serializeAws_json1_1QueryFilters = (input, context) => {
|
|
19353
|
+
return {
|
|
19354
|
+
...(input.CreatedAfter !== undefined &&
|
|
19355
|
+
input.CreatedAfter !== null && { CreatedAfter: Math.round(input.CreatedAfter.getTime() / 1000) }),
|
|
19356
|
+
...(input.CreatedBefore !== undefined &&
|
|
19357
|
+
input.CreatedBefore !== null && { CreatedBefore: Math.round(input.CreatedBefore.getTime() / 1000) }),
|
|
19358
|
+
...(input.LineageTypes !== undefined &&
|
|
19359
|
+
input.LineageTypes !== null && {
|
|
19360
|
+
LineageTypes: serializeAws_json1_1QueryLineageTypes(input.LineageTypes, context),
|
|
19361
|
+
}),
|
|
19362
|
+
...(input.ModifiedAfter !== undefined &&
|
|
19363
|
+
input.ModifiedAfter !== null && { ModifiedAfter: Math.round(input.ModifiedAfter.getTime() / 1000) }),
|
|
19364
|
+
...(input.ModifiedBefore !== undefined &&
|
|
19365
|
+
input.ModifiedBefore !== null && { ModifiedBefore: Math.round(input.ModifiedBefore.getTime() / 1000) }),
|
|
19366
|
+
...(input.Properties !== undefined &&
|
|
19367
|
+
input.Properties !== null && { Properties: serializeAws_json1_1QueryProperties(input.Properties, context) }),
|
|
19368
|
+
...(input.Types !== undefined &&
|
|
19369
|
+
input.Types !== null && { Types: serializeAws_json1_1QueryTypes(input.Types, context) }),
|
|
19370
|
+
};
|
|
19371
|
+
};
|
|
19372
|
+
const serializeAws_json1_1QueryLineageRequest = (input, context) => {
|
|
19373
|
+
return {
|
|
19374
|
+
...(input.Direction !== undefined && input.Direction !== null && { Direction: input.Direction }),
|
|
19375
|
+
...(input.Filters !== undefined &&
|
|
19376
|
+
input.Filters !== null && { Filters: serializeAws_json1_1QueryFilters(input.Filters, context) }),
|
|
19377
|
+
...(input.IncludeEdges !== undefined && input.IncludeEdges !== null && { IncludeEdges: input.IncludeEdges }),
|
|
19378
|
+
...(input.MaxDepth !== undefined && input.MaxDepth !== null && { MaxDepth: input.MaxDepth }),
|
|
19379
|
+
...(input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults }),
|
|
19380
|
+
...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
|
|
19381
|
+
...(input.StartArns !== undefined &&
|
|
19382
|
+
input.StartArns !== null && { StartArns: serializeAws_json1_1QueryLineageStartArns(input.StartArns, context) }),
|
|
19383
|
+
};
|
|
19384
|
+
};
|
|
19385
|
+
const serializeAws_json1_1QueryLineageStartArns = (input, context) => {
|
|
19386
|
+
return input
|
|
19387
|
+
.filter((e) => e != null)
|
|
19388
|
+
.map((entry) => {
|
|
19389
|
+
if (entry === null) {
|
|
19390
|
+
return null;
|
|
19391
|
+
}
|
|
19392
|
+
return entry;
|
|
19393
|
+
});
|
|
19394
|
+
};
|
|
19395
|
+
const serializeAws_json1_1QueryLineageTypes = (input, context) => {
|
|
19396
|
+
return input
|
|
19397
|
+
.filter((e) => e != null)
|
|
19398
|
+
.map((entry) => {
|
|
19399
|
+
if (entry === null) {
|
|
19400
|
+
return null;
|
|
19401
|
+
}
|
|
19402
|
+
return entry;
|
|
19403
|
+
});
|
|
19404
|
+
};
|
|
19405
|
+
const serializeAws_json1_1QueryProperties = (input, context) => {
|
|
19406
|
+
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
19407
|
+
if (value === null) {
|
|
19408
|
+
return acc;
|
|
19409
|
+
}
|
|
19410
|
+
return {
|
|
19411
|
+
...acc,
|
|
19412
|
+
[key]: value,
|
|
19413
|
+
};
|
|
19414
|
+
}, {});
|
|
19415
|
+
};
|
|
19416
|
+
const serializeAws_json1_1QueryTypes = (input, context) => {
|
|
19417
|
+
return input
|
|
19418
|
+
.filter((e) => e != null)
|
|
19419
|
+
.map((entry) => {
|
|
19420
|
+
if (entry === null) {
|
|
19421
|
+
return null;
|
|
19422
|
+
}
|
|
19423
|
+
return entry;
|
|
19424
|
+
});
|
|
19425
|
+
};
|
|
18513
19426
|
const serializeAws_json1_1RealtimeInferenceInstanceTypes = (input, context) => {
|
|
18514
19427
|
return input
|
|
18515
19428
|
.filter((e) => e != null)
|
|
@@ -18520,6 +19433,44 @@ const serializeAws_json1_1RealtimeInferenceInstanceTypes = (input, context) => {
|
|
|
18520
19433
|
return entry;
|
|
18521
19434
|
});
|
|
18522
19435
|
};
|
|
19436
|
+
const serializeAws_json1_1RecommendationJobInputConfig = (input, context) => {
|
|
19437
|
+
return {
|
|
19438
|
+
...(input.EndpointConfigurations !== undefined &&
|
|
19439
|
+
input.EndpointConfigurations !== null && {
|
|
19440
|
+
EndpointConfigurations: serializeAws_json1_1EndpointInputConfigurations(input.EndpointConfigurations, context),
|
|
19441
|
+
}),
|
|
19442
|
+
...(input.JobDurationInSeconds !== undefined &&
|
|
19443
|
+
input.JobDurationInSeconds !== null && { JobDurationInSeconds: input.JobDurationInSeconds }),
|
|
19444
|
+
...(input.ModelPackageVersionArn !== undefined &&
|
|
19445
|
+
input.ModelPackageVersionArn !== null && { ModelPackageVersionArn: input.ModelPackageVersionArn }),
|
|
19446
|
+
...(input.ResourceLimit !== undefined &&
|
|
19447
|
+
input.ResourceLimit !== null && {
|
|
19448
|
+
ResourceLimit: serializeAws_json1_1RecommendationJobResourceLimit(input.ResourceLimit, context),
|
|
19449
|
+
}),
|
|
19450
|
+
...(input.TrafficPattern !== undefined &&
|
|
19451
|
+
input.TrafficPattern !== null && {
|
|
19452
|
+
TrafficPattern: serializeAws_json1_1TrafficPattern(input.TrafficPattern, context),
|
|
19453
|
+
}),
|
|
19454
|
+
};
|
|
19455
|
+
};
|
|
19456
|
+
const serializeAws_json1_1RecommendationJobResourceLimit = (input, context) => {
|
|
19457
|
+
return {
|
|
19458
|
+
...(input.MaxNumberOfTests !== undefined &&
|
|
19459
|
+
input.MaxNumberOfTests !== null && { MaxNumberOfTests: input.MaxNumberOfTests }),
|
|
19460
|
+
...(input.MaxParallelOfTests !== undefined &&
|
|
19461
|
+
input.MaxParallelOfTests !== null && { MaxParallelOfTests: input.MaxParallelOfTests }),
|
|
19462
|
+
};
|
|
19463
|
+
};
|
|
19464
|
+
const serializeAws_json1_1RecommendationJobStoppingConditions = (input, context) => {
|
|
19465
|
+
return {
|
|
19466
|
+
...(input.MaxInvocations !== undefined &&
|
|
19467
|
+
input.MaxInvocations !== null && { MaxInvocations: input.MaxInvocations }),
|
|
19468
|
+
...(input.ModelLatencyThresholds !== undefined &&
|
|
19469
|
+
input.ModelLatencyThresholds !== null && {
|
|
19470
|
+
ModelLatencyThresholds: serializeAws_json1_1ModelLatencyThresholds(input.ModelLatencyThresholds, context),
|
|
19471
|
+
}),
|
|
19472
|
+
};
|
|
19473
|
+
};
|
|
18523
19474
|
const serializeAws_json1_1RedshiftDatasetDefinition = (input, context) => {
|
|
18524
19475
|
return {
|
|
18525
19476
|
...(input.ClusterId !== undefined && input.ClusterId !== null && { ClusterId: input.ClusterId }),
|
|
@@ -18883,6 +19834,11 @@ const serializeAws_json1_1StopHyperParameterTuningJobRequest = (input, context)
|
|
|
18883
19834
|
input.HyperParameterTuningJobName !== null && { HyperParameterTuningJobName: input.HyperParameterTuningJobName }),
|
|
18884
19835
|
};
|
|
18885
19836
|
};
|
|
19837
|
+
const serializeAws_json1_1StopInferenceRecommendationsJobRequest = (input, context) => {
|
|
19838
|
+
return {
|
|
19839
|
+
...(input.JobName !== undefined && input.JobName !== null && { JobName: input.JobName }),
|
|
19840
|
+
};
|
|
19841
|
+
};
|
|
18886
19842
|
const serializeAws_json1_1StopLabelingJobRequest = (input, context) => {
|
|
18887
19843
|
return {
|
|
18888
19844
|
...(input.LabelingJobName !== undefined &&
|
|
@@ -19010,6 +19966,13 @@ const serializeAws_json1_1TensorBoardOutputConfig = (input, context) => {
|
|
|
19010
19966
|
...(input.S3OutputPath !== undefined && input.S3OutputPath !== null && { S3OutputPath: input.S3OutputPath }),
|
|
19011
19967
|
};
|
|
19012
19968
|
};
|
|
19969
|
+
const serializeAws_json1_1TrafficPattern = (input, context) => {
|
|
19970
|
+
return {
|
|
19971
|
+
...(input.Phases !== undefined &&
|
|
19972
|
+
input.Phases !== null && { Phases: serializeAws_json1_1Phases(input.Phases, context) }),
|
|
19973
|
+
...(input.TrafficType !== undefined && input.TrafficType !== null && { TrafficType: input.TrafficType }),
|
|
19974
|
+
};
|
|
19975
|
+
};
|
|
19013
19976
|
const serializeAws_json1_1TrafficRoutingConfig = (input, context) => {
|
|
19014
19977
|
return {
|
|
19015
19978
|
...(input.CanarySize !== undefined &&
|
|
@@ -19393,6 +20356,10 @@ const serializeAws_json1_1UpdateImageRequest = (input, context) => {
|
|
|
19393
20356
|
};
|
|
19394
20357
|
const serializeAws_json1_1UpdateModelPackageInput = (input, context) => {
|
|
19395
20358
|
return {
|
|
20359
|
+
...(input.AdditionalInferenceSpecificationsToAdd !== undefined &&
|
|
20360
|
+
input.AdditionalInferenceSpecificationsToAdd !== null && {
|
|
20361
|
+
AdditionalInferenceSpecificationsToAdd: serializeAws_json1_1AdditionalInferenceSpecifications(input.AdditionalInferenceSpecificationsToAdd, context),
|
|
20362
|
+
}),
|
|
19396
20363
|
...(input.ApprovalDescription !== undefined &&
|
|
19397
20364
|
input.ApprovalDescription !== null && { ApprovalDescription: input.ApprovalDescription }),
|
|
19398
20365
|
...(input.CustomerMetadataProperties !== undefined &&
|
|
@@ -19728,6 +20695,38 @@ const deserializeAws_json1_1AdditionalCodeRepositoryNamesOrUrls = (output, conte
|
|
|
19728
20695
|
return smithy_client_1.expectString(entry);
|
|
19729
20696
|
});
|
|
19730
20697
|
};
|
|
20698
|
+
const deserializeAws_json1_1AdditionalInferenceSpecificationDefinition = (output, context) => {
|
|
20699
|
+
return {
|
|
20700
|
+
Containers: output.Containers !== undefined && output.Containers !== null
|
|
20701
|
+
? deserializeAws_json1_1ModelPackageContainerDefinitionList(output.Containers, context)
|
|
20702
|
+
: undefined,
|
|
20703
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
20704
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
20705
|
+
SupportedContentTypes: output.SupportedContentTypes !== undefined && output.SupportedContentTypes !== null
|
|
20706
|
+
? deserializeAws_json1_1ContentTypes(output.SupportedContentTypes, context)
|
|
20707
|
+
: undefined,
|
|
20708
|
+
SupportedRealtimeInferenceInstanceTypes: output.SupportedRealtimeInferenceInstanceTypes !== undefined &&
|
|
20709
|
+
output.SupportedRealtimeInferenceInstanceTypes !== null
|
|
20710
|
+
? deserializeAws_json1_1RealtimeInferenceInstanceTypes(output.SupportedRealtimeInferenceInstanceTypes, context)
|
|
20711
|
+
: undefined,
|
|
20712
|
+
SupportedResponseMIMETypes: output.SupportedResponseMIMETypes !== undefined && output.SupportedResponseMIMETypes !== null
|
|
20713
|
+
? deserializeAws_json1_1ResponseMIMETypes(output.SupportedResponseMIMETypes, context)
|
|
20714
|
+
: undefined,
|
|
20715
|
+
SupportedTransformInstanceTypes: output.SupportedTransformInstanceTypes !== undefined && output.SupportedTransformInstanceTypes !== null
|
|
20716
|
+
? deserializeAws_json1_1TransformInstanceTypes(output.SupportedTransformInstanceTypes, context)
|
|
20717
|
+
: undefined,
|
|
20718
|
+
};
|
|
20719
|
+
};
|
|
20720
|
+
const deserializeAws_json1_1AdditionalInferenceSpecifications = (output, context) => {
|
|
20721
|
+
return (output || [])
|
|
20722
|
+
.filter((e) => e != null)
|
|
20723
|
+
.map((entry) => {
|
|
20724
|
+
if (entry === null) {
|
|
20725
|
+
return null;
|
|
20726
|
+
}
|
|
20727
|
+
return deserializeAws_json1_1AdditionalInferenceSpecificationDefinition(entry, context);
|
|
20728
|
+
});
|
|
20729
|
+
};
|
|
19731
20730
|
const deserializeAws_json1_1AddTagsOutput = (output, context) => {
|
|
19732
20731
|
return {
|
|
19733
20732
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
@@ -20101,6 +21100,7 @@ const deserializeAws_json1_1AutoMLCandidateStep = (output, context) => {
|
|
|
20101
21100
|
const deserializeAws_json1_1AutoMLChannel = (output, context) => {
|
|
20102
21101
|
return {
|
|
20103
21102
|
CompressionType: smithy_client_1.expectString(output.CompressionType),
|
|
21103
|
+
ContentType: smithy_client_1.expectString(output.ContentType),
|
|
20104
21104
|
DataSource: output.DataSource !== undefined && output.DataSource !== null
|
|
20105
21105
|
? deserializeAws_json1_1AutoMLDataSource(output.DataSource, context)
|
|
20106
21106
|
: undefined,
|
|
@@ -20290,6 +21290,12 @@ const deserializeAws_json1_1BatchDescribeModelPackageSummary = (output, context)
|
|
|
20290
21290
|
};
|
|
20291
21291
|
const deserializeAws_json1_1Bias = (output, context) => {
|
|
20292
21292
|
return {
|
|
21293
|
+
PostTrainingReport: output.PostTrainingReport !== undefined && output.PostTrainingReport !== null
|
|
21294
|
+
? deserializeAws_json1_1MetricsSource(output.PostTrainingReport, context)
|
|
21295
|
+
: undefined,
|
|
21296
|
+
PreTrainingReport: output.PreTrainingReport !== undefined && output.PreTrainingReport !== null
|
|
21297
|
+
? deserializeAws_json1_1MetricsSource(output.PreTrainingReport, context)
|
|
21298
|
+
: undefined,
|
|
20293
21299
|
Report: output.Report !== undefined && output.Report !== null
|
|
20294
21300
|
? deserializeAws_json1_1MetricsSource(output.Report, context)
|
|
20295
21301
|
: undefined,
|
|
@@ -20374,6 +21380,14 @@ const deserializeAws_json1_1CaptureOptionList = (output, context) => {
|
|
|
20374
21380
|
return deserializeAws_json1_1CaptureOption(entry, context);
|
|
20375
21381
|
});
|
|
20376
21382
|
};
|
|
21383
|
+
const deserializeAws_json1_1CategoricalParameter = (output, context) => {
|
|
21384
|
+
return {
|
|
21385
|
+
Name: smithy_client_1.expectString(output.Name),
|
|
21386
|
+
Value: output.Value !== undefined && output.Value !== null
|
|
21387
|
+
? deserializeAws_json1_1CategoricalParameterRangeValues(output.Value, context)
|
|
21388
|
+
: undefined,
|
|
21389
|
+
};
|
|
21390
|
+
};
|
|
20377
21391
|
const deserializeAws_json1_1CategoricalParameterRange = (output, context) => {
|
|
20378
21392
|
return {
|
|
20379
21393
|
Name: smithy_client_1.expectString(output.Name),
|
|
@@ -20399,6 +21413,26 @@ const deserializeAws_json1_1CategoricalParameterRangeSpecification = (output, co
|
|
|
20399
21413
|
: undefined,
|
|
20400
21414
|
};
|
|
20401
21415
|
};
|
|
21416
|
+
const deserializeAws_json1_1CategoricalParameterRangeValues = (output, context) => {
|
|
21417
|
+
return (output || [])
|
|
21418
|
+
.filter((e) => e != null)
|
|
21419
|
+
.map((entry) => {
|
|
21420
|
+
if (entry === null) {
|
|
21421
|
+
return null;
|
|
21422
|
+
}
|
|
21423
|
+
return smithy_client_1.expectString(entry);
|
|
21424
|
+
});
|
|
21425
|
+
};
|
|
21426
|
+
const deserializeAws_json1_1CategoricalParameters = (output, context) => {
|
|
21427
|
+
return (output || [])
|
|
21428
|
+
.filter((e) => e != null)
|
|
21429
|
+
.map((entry) => {
|
|
21430
|
+
if (entry === null) {
|
|
21431
|
+
return null;
|
|
21432
|
+
}
|
|
21433
|
+
return deserializeAws_json1_1CategoricalParameter(entry, context);
|
|
21434
|
+
});
|
|
21435
|
+
};
|
|
20402
21436
|
const deserializeAws_json1_1Channel = (output, context) => {
|
|
20403
21437
|
return {
|
|
20404
21438
|
ChannelName: smithy_client_1.expectString(output.ChannelName),
|
|
@@ -20456,6 +21490,18 @@ const deserializeAws_json1_1Cidrs = (output, context) => {
|
|
|
20456
21490
|
return smithy_client_1.expectString(entry);
|
|
20457
21491
|
});
|
|
20458
21492
|
};
|
|
21493
|
+
const deserializeAws_json1_1ClarifyCheckStepMetadata = (output, context) => {
|
|
21494
|
+
return {
|
|
21495
|
+
BaselineUsedForDriftCheckConstraints: smithy_client_1.expectString(output.BaselineUsedForDriftCheckConstraints),
|
|
21496
|
+
CalculatedBaselineConstraints: smithy_client_1.expectString(output.CalculatedBaselineConstraints),
|
|
21497
|
+
CheckJobArn: smithy_client_1.expectString(output.CheckJobArn),
|
|
21498
|
+
CheckType: smithy_client_1.expectString(output.CheckType),
|
|
21499
|
+
ModelPackageGroupName: smithy_client_1.expectString(output.ModelPackageGroupName),
|
|
21500
|
+
RegisterNewBaseline: smithy_client_1.expectBoolean(output.RegisterNewBaseline),
|
|
21501
|
+
SkipCheck: smithy_client_1.expectBoolean(output.SkipCheck),
|
|
21502
|
+
ViolationReport: smithy_client_1.expectString(output.ViolationReport),
|
|
21503
|
+
};
|
|
21504
|
+
};
|
|
20459
21505
|
const deserializeAws_json1_1CodeRepositorySummary = (output, context) => {
|
|
20460
21506
|
return {
|
|
20461
21507
|
CodeRepositoryArn: smithy_client_1.expectString(output.CodeRepositoryArn),
|
|
@@ -20596,6 +21642,7 @@ const deserializeAws_json1_1ContainerDefinition = (output, context) => {
|
|
|
20596
21642
|
ImageConfig: output.ImageConfig !== undefined && output.ImageConfig !== null
|
|
20597
21643
|
? deserializeAws_json1_1ImageConfig(output.ImageConfig, context)
|
|
20598
21644
|
: undefined,
|
|
21645
|
+
InferenceSpecificationName: smithy_client_1.expectString(output.InferenceSpecificationName),
|
|
20599
21646
|
Mode: smithy_client_1.expectString(output.Mode),
|
|
20600
21647
|
ModelDataUrl: smithy_client_1.expectString(output.ModelDataUrl),
|
|
20601
21648
|
ModelPackageName: smithy_client_1.expectString(output.ModelPackageName),
|
|
@@ -20802,6 +21849,11 @@ const deserializeAws_json1_1CreateImageVersionResponse = (output, context) => {
|
|
|
20802
21849
|
ImageVersionArn: smithy_client_1.expectString(output.ImageVersionArn),
|
|
20803
21850
|
};
|
|
20804
21851
|
};
|
|
21852
|
+
const deserializeAws_json1_1CreateInferenceRecommendationsJobResponse = (output, context) => {
|
|
21853
|
+
return {
|
|
21854
|
+
JobArn: smithy_client_1.expectString(output.JobArn),
|
|
21855
|
+
};
|
|
21856
|
+
};
|
|
20805
21857
|
const deserializeAws_json1_1CreateLabelingJobResponse = (output, context) => {
|
|
20806
21858
|
return {
|
|
20807
21859
|
LabelingJobArn: smithy_client_1.expectString(output.LabelingJobArn),
|
|
@@ -21217,6 +22269,7 @@ const deserializeAws_json1_1DescribeActionResponse = (output, context) => {
|
|
|
21217
22269
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
21218
22270
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
|
|
21219
22271
|
: undefined,
|
|
22272
|
+
LineageGroupArn: smithy_client_1.expectString(output.LineageGroupArn),
|
|
21220
22273
|
MetadataProperties: output.MetadataProperties !== undefined && output.MetadataProperties !== null
|
|
21221
22274
|
? deserializeAws_json1_1MetadataProperties(output.MetadataProperties, context)
|
|
21222
22275
|
: undefined,
|
|
@@ -21309,6 +22362,7 @@ const deserializeAws_json1_1DescribeArtifactResponse = (output, context) => {
|
|
|
21309
22362
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
21310
22363
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
|
|
21311
22364
|
: undefined,
|
|
22365
|
+
LineageGroupArn: smithy_client_1.expectString(output.LineageGroupArn),
|
|
21312
22366
|
MetadataProperties: output.MetadataProperties !== undefined && output.MetadataProperties !== null
|
|
21313
22367
|
? deserializeAws_json1_1MetadataProperties(output.MetadataProperties, context)
|
|
21314
22368
|
: undefined,
|
|
@@ -21414,6 +22468,7 @@ const deserializeAws_json1_1DescribeCompilationJobResponse = (output, context) =
|
|
|
21414
22468
|
ModelDigests: output.ModelDigests !== undefined && output.ModelDigests !== null
|
|
21415
22469
|
? deserializeAws_json1_1ModelDigests(output.ModelDigests, context)
|
|
21416
22470
|
: undefined,
|
|
22471
|
+
ModelPackageVersionArn: smithy_client_1.expectString(output.ModelPackageVersionArn),
|
|
21417
22472
|
OutputConfig: output.OutputConfig !== undefined && output.OutputConfig !== null
|
|
21418
22473
|
? deserializeAws_json1_1OutputConfig(output.OutputConfig, context)
|
|
21419
22474
|
: undefined,
|
|
@@ -21444,6 +22499,7 @@ const deserializeAws_json1_1DescribeContextResponse = (output, context) => {
|
|
|
21444
22499
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
21445
22500
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
|
|
21446
22501
|
: undefined,
|
|
22502
|
+
LineageGroupArn: smithy_client_1.expectString(output.LineageGroupArn),
|
|
21447
22503
|
Properties: output.Properties !== undefined && output.Properties !== null
|
|
21448
22504
|
? deserializeAws_json1_1LineageEntityParameters(output.Properties, context)
|
|
21449
22505
|
: undefined,
|
|
@@ -21795,6 +22851,35 @@ const deserializeAws_json1_1DescribeImageVersionResponse = (output, context) =>
|
|
|
21795
22851
|
Version: smithy_client_1.expectInt32(output.Version),
|
|
21796
22852
|
};
|
|
21797
22853
|
};
|
|
22854
|
+
const deserializeAws_json1_1DescribeInferenceRecommendationsJobResponse = (output, context) => {
|
|
22855
|
+
return {
|
|
22856
|
+
CompletionTime: output.CompletionTime !== undefined && output.CompletionTime !== null
|
|
22857
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CompletionTime)))
|
|
22858
|
+
: undefined,
|
|
22859
|
+
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
22860
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
22861
|
+
: undefined,
|
|
22862
|
+
FailureReason: smithy_client_1.expectString(output.FailureReason),
|
|
22863
|
+
InferenceRecommendations: output.InferenceRecommendations !== undefined && output.InferenceRecommendations !== null
|
|
22864
|
+
? deserializeAws_json1_1InferenceRecommendations(output.InferenceRecommendations, context)
|
|
22865
|
+
: undefined,
|
|
22866
|
+
InputConfig: output.InputConfig !== undefined && output.InputConfig !== null
|
|
22867
|
+
? deserializeAws_json1_1RecommendationJobInputConfig(output.InputConfig, context)
|
|
22868
|
+
: undefined,
|
|
22869
|
+
JobArn: smithy_client_1.expectString(output.JobArn),
|
|
22870
|
+
JobDescription: smithy_client_1.expectString(output.JobDescription),
|
|
22871
|
+
JobName: smithy_client_1.expectString(output.JobName),
|
|
22872
|
+
JobType: smithy_client_1.expectString(output.JobType),
|
|
22873
|
+
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
22874
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
|
|
22875
|
+
: undefined,
|
|
22876
|
+
RoleArn: smithy_client_1.expectString(output.RoleArn),
|
|
22877
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
22878
|
+
StoppingConditions: output.StoppingConditions !== undefined && output.StoppingConditions !== null
|
|
22879
|
+
? deserializeAws_json1_1RecommendationJobStoppingConditions(output.StoppingConditions, context)
|
|
22880
|
+
: undefined,
|
|
22881
|
+
};
|
|
22882
|
+
};
|
|
21798
22883
|
const deserializeAws_json1_1DescribeLabelingJobResponse = (output, context) => {
|
|
21799
22884
|
return {
|
|
21800
22885
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
@@ -21837,6 +22922,26 @@ const deserializeAws_json1_1DescribeLabelingJobResponse = (output, context) => {
|
|
|
21837
22922
|
: undefined,
|
|
21838
22923
|
};
|
|
21839
22924
|
};
|
|
22925
|
+
const deserializeAws_json1_1DescribeLineageGroupResponse = (output, context) => {
|
|
22926
|
+
return {
|
|
22927
|
+
CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
|
|
22928
|
+
? deserializeAws_json1_1UserContext(output.CreatedBy, context)
|
|
22929
|
+
: undefined,
|
|
22930
|
+
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
22931
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
22932
|
+
: undefined,
|
|
22933
|
+
Description: smithy_client_1.expectString(output.Description),
|
|
22934
|
+
DisplayName: smithy_client_1.expectString(output.DisplayName),
|
|
22935
|
+
LastModifiedBy: output.LastModifiedBy !== undefined && output.LastModifiedBy !== null
|
|
22936
|
+
? deserializeAws_json1_1UserContext(output.LastModifiedBy, context)
|
|
22937
|
+
: undefined,
|
|
22938
|
+
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
22939
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
|
|
22940
|
+
: undefined,
|
|
22941
|
+
LineageGroupArn: smithy_client_1.expectString(output.LineageGroupArn),
|
|
22942
|
+
LineageGroupName: smithy_client_1.expectString(output.LineageGroupName),
|
|
22943
|
+
};
|
|
22944
|
+
};
|
|
21840
22945
|
const deserializeAws_json1_1DescribeModelBiasJobDefinitionResponse = (output, context) => {
|
|
21841
22946
|
return {
|
|
21842
22947
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
@@ -21938,6 +23043,9 @@ const deserializeAws_json1_1DescribeModelPackageGroupOutput = (output, context)
|
|
|
21938
23043
|
};
|
|
21939
23044
|
const deserializeAws_json1_1DescribeModelPackageOutput = (output, context) => {
|
|
21940
23045
|
return {
|
|
23046
|
+
AdditionalInferenceSpecifications: output.AdditionalInferenceSpecifications !== undefined && output.AdditionalInferenceSpecifications !== null
|
|
23047
|
+
? deserializeAws_json1_1AdditionalInferenceSpecifications(output.AdditionalInferenceSpecifications, context)
|
|
23048
|
+
: undefined,
|
|
21941
23049
|
ApprovalDescription: smithy_client_1.expectString(output.ApprovalDescription),
|
|
21942
23050
|
CertifyForMarketplace: smithy_client_1.expectBoolean(output.CertifyForMarketplace),
|
|
21943
23051
|
CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
|
|
@@ -21949,6 +23057,10 @@ const deserializeAws_json1_1DescribeModelPackageOutput = (output, context) => {
|
|
|
21949
23057
|
CustomerMetadataProperties: output.CustomerMetadataProperties !== undefined && output.CustomerMetadataProperties !== null
|
|
21950
23058
|
? deserializeAws_json1_1CustomerMetadataMap(output.CustomerMetadataProperties, context)
|
|
21951
23059
|
: undefined,
|
|
23060
|
+
Domain: smithy_client_1.expectString(output.Domain),
|
|
23061
|
+
DriftCheckBaselines: output.DriftCheckBaselines !== undefined && output.DriftCheckBaselines !== null
|
|
23062
|
+
? deserializeAws_json1_1DriftCheckBaselines(output.DriftCheckBaselines, context)
|
|
23063
|
+
: undefined,
|
|
21952
23064
|
InferenceSpecification: output.InferenceSpecification !== undefined && output.InferenceSpecification !== null
|
|
21953
23065
|
? deserializeAws_json1_1InferenceSpecification(output.InferenceSpecification, context)
|
|
21954
23066
|
: undefined,
|
|
@@ -21974,9 +23086,11 @@ const deserializeAws_json1_1DescribeModelPackageOutput = (output, context) => {
|
|
|
21974
23086
|
? deserializeAws_json1_1ModelPackageStatusDetails(output.ModelPackageStatusDetails, context)
|
|
21975
23087
|
: undefined,
|
|
21976
23088
|
ModelPackageVersion: smithy_client_1.expectInt32(output.ModelPackageVersion),
|
|
23089
|
+
SamplePayloadUrl: smithy_client_1.expectString(output.SamplePayloadUrl),
|
|
21977
23090
|
SourceAlgorithmSpecification: output.SourceAlgorithmSpecification !== undefined && output.SourceAlgorithmSpecification !== null
|
|
21978
23091
|
? deserializeAws_json1_1SourceAlgorithmSpecification(output.SourceAlgorithmSpecification, context)
|
|
21979
23092
|
: undefined,
|
|
23093
|
+
Task: smithy_client_1.expectString(output.Task),
|
|
21980
23094
|
ValidationSpecification: output.ValidationSpecification !== undefined && output.ValidationSpecification !== null
|
|
21981
23095
|
? deserializeAws_json1_1ModelPackageValidationSpecification(output.ValidationSpecification, context)
|
|
21982
23096
|
: undefined,
|
|
@@ -22404,6 +23518,7 @@ const deserializeAws_json1_1DescribeTrialComponentResponse = (output, context) =
|
|
|
22404
23518
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
22405
23519
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
|
|
22406
23520
|
: undefined,
|
|
23521
|
+
LineageGroupArn: smithy_client_1.expectString(output.LineageGroupArn),
|
|
22407
23522
|
MetadataProperties: output.MetadataProperties !== undefined && output.MetadataProperties !== null
|
|
22408
23523
|
? deserializeAws_json1_1MetadataProperties(output.MetadataProperties, context)
|
|
22409
23524
|
: undefined,
|
|
@@ -22591,16 +23706,82 @@ const deserializeAws_json1_1DomainSecurityGroupIds = (output, context) => {
|
|
|
22591
23706
|
return smithy_client_1.expectString(entry);
|
|
22592
23707
|
});
|
|
22593
23708
|
};
|
|
22594
|
-
const deserializeAws_json1_1DomainSettings = (output, context) => {
|
|
23709
|
+
const deserializeAws_json1_1DomainSettings = (output, context) => {
|
|
23710
|
+
return {
|
|
23711
|
+
RStudioServerProDomainSettings: output.RStudioServerProDomainSettings !== undefined && output.RStudioServerProDomainSettings !== null
|
|
23712
|
+
? deserializeAws_json1_1RStudioServerProDomainSettings(output.RStudioServerProDomainSettings, context)
|
|
23713
|
+
: undefined,
|
|
23714
|
+
SecurityGroupIds: output.SecurityGroupIds !== undefined && output.SecurityGroupIds !== null
|
|
23715
|
+
? deserializeAws_json1_1DomainSecurityGroupIds(output.SecurityGroupIds, context)
|
|
23716
|
+
: undefined,
|
|
23717
|
+
};
|
|
23718
|
+
};
|
|
23719
|
+
const deserializeAws_json1_1DriftCheckBaselines = (output, context) => {
|
|
23720
|
+
return {
|
|
23721
|
+
Bias: output.Bias !== undefined && output.Bias !== null
|
|
23722
|
+
? deserializeAws_json1_1DriftCheckBias(output.Bias, context)
|
|
23723
|
+
: undefined,
|
|
23724
|
+
Explainability: output.Explainability !== undefined && output.Explainability !== null
|
|
23725
|
+
? deserializeAws_json1_1DriftCheckExplainability(output.Explainability, context)
|
|
23726
|
+
: undefined,
|
|
23727
|
+
ModelDataQuality: output.ModelDataQuality !== undefined && output.ModelDataQuality !== null
|
|
23728
|
+
? deserializeAws_json1_1DriftCheckModelDataQuality(output.ModelDataQuality, context)
|
|
23729
|
+
: undefined,
|
|
23730
|
+
ModelQuality: output.ModelQuality !== undefined && output.ModelQuality !== null
|
|
23731
|
+
? deserializeAws_json1_1DriftCheckModelQuality(output.ModelQuality, context)
|
|
23732
|
+
: undefined,
|
|
23733
|
+
};
|
|
23734
|
+
};
|
|
23735
|
+
const deserializeAws_json1_1DriftCheckBias = (output, context) => {
|
|
23736
|
+
return {
|
|
23737
|
+
ConfigFile: output.ConfigFile !== undefined && output.ConfigFile !== null
|
|
23738
|
+
? deserializeAws_json1_1FileSource(output.ConfigFile, context)
|
|
23739
|
+
: undefined,
|
|
23740
|
+
PostTrainingConstraints: output.PostTrainingConstraints !== undefined && output.PostTrainingConstraints !== null
|
|
23741
|
+
? deserializeAws_json1_1MetricsSource(output.PostTrainingConstraints, context)
|
|
23742
|
+
: undefined,
|
|
23743
|
+
PreTrainingConstraints: output.PreTrainingConstraints !== undefined && output.PreTrainingConstraints !== null
|
|
23744
|
+
? deserializeAws_json1_1MetricsSource(output.PreTrainingConstraints, context)
|
|
23745
|
+
: undefined,
|
|
23746
|
+
};
|
|
23747
|
+
};
|
|
23748
|
+
const deserializeAws_json1_1DriftCheckExplainability = (output, context) => {
|
|
23749
|
+
return {
|
|
23750
|
+
ConfigFile: output.ConfigFile !== undefined && output.ConfigFile !== null
|
|
23751
|
+
? deserializeAws_json1_1FileSource(output.ConfigFile, context)
|
|
23752
|
+
: undefined,
|
|
23753
|
+
Constraints: output.Constraints !== undefined && output.Constraints !== null
|
|
23754
|
+
? deserializeAws_json1_1MetricsSource(output.Constraints, context)
|
|
23755
|
+
: undefined,
|
|
23756
|
+
};
|
|
23757
|
+
};
|
|
23758
|
+
const deserializeAws_json1_1DriftCheckModelDataQuality = (output, context) => {
|
|
22595
23759
|
return {
|
|
22596
|
-
|
|
22597
|
-
?
|
|
23760
|
+
Constraints: output.Constraints !== undefined && output.Constraints !== null
|
|
23761
|
+
? deserializeAws_json1_1MetricsSource(output.Constraints, context)
|
|
22598
23762
|
: undefined,
|
|
22599
|
-
|
|
22600
|
-
?
|
|
23763
|
+
Statistics: output.Statistics !== undefined && output.Statistics !== null
|
|
23764
|
+
? deserializeAws_json1_1MetricsSource(output.Statistics, context)
|
|
23765
|
+
: undefined,
|
|
23766
|
+
};
|
|
23767
|
+
};
|
|
23768
|
+
const deserializeAws_json1_1DriftCheckModelQuality = (output, context) => {
|
|
23769
|
+
return {
|
|
23770
|
+
Constraints: output.Constraints !== undefined && output.Constraints !== null
|
|
23771
|
+
? deserializeAws_json1_1MetricsSource(output.Constraints, context)
|
|
23772
|
+
: undefined,
|
|
23773
|
+
Statistics: output.Statistics !== undefined && output.Statistics !== null
|
|
23774
|
+
? deserializeAws_json1_1MetricsSource(output.Statistics, context)
|
|
22601
23775
|
: undefined,
|
|
22602
23776
|
};
|
|
22603
23777
|
};
|
|
23778
|
+
const deserializeAws_json1_1Edge = (output, context) => {
|
|
23779
|
+
return {
|
|
23780
|
+
AssociationType: smithy_client_1.expectString(output.AssociationType),
|
|
23781
|
+
DestinationArn: smithy_client_1.expectString(output.DestinationArn),
|
|
23782
|
+
SourceArn: smithy_client_1.expectString(output.SourceArn),
|
|
23783
|
+
};
|
|
23784
|
+
};
|
|
22604
23785
|
const deserializeAws_json1_1EdgeModel = (output, context) => {
|
|
22605
23786
|
return {
|
|
22606
23787
|
LatestInference: output.LatestInference !== undefined && output.LatestInference !== null
|
|
@@ -22701,6 +23882,16 @@ const deserializeAws_json1_1EdgePresetDeploymentOutput = (output, context) => {
|
|
|
22701
23882
|
Type: smithy_client_1.expectString(output.Type),
|
|
22702
23883
|
};
|
|
22703
23884
|
};
|
|
23885
|
+
const deserializeAws_json1_1Edges = (output, context) => {
|
|
23886
|
+
return (output || [])
|
|
23887
|
+
.filter((e) => e != null)
|
|
23888
|
+
.map((entry) => {
|
|
23889
|
+
if (entry === null) {
|
|
23890
|
+
return null;
|
|
23891
|
+
}
|
|
23892
|
+
return deserializeAws_json1_1Edge(entry, context);
|
|
23893
|
+
});
|
|
23894
|
+
};
|
|
22704
23895
|
const deserializeAws_json1_1EnableSagemakerServicecatalogPortfolioOutput = (output, context) => {
|
|
22705
23896
|
return {};
|
|
22706
23897
|
};
|
|
@@ -22764,6 +23955,33 @@ const deserializeAws_json1_1EndpointInput = (output, context) => {
|
|
|
22764
23955
|
StartTimeOffset: smithy_client_1.expectString(output.StartTimeOffset),
|
|
22765
23956
|
};
|
|
22766
23957
|
};
|
|
23958
|
+
const deserializeAws_json1_1EndpointInputConfiguration = (output, context) => {
|
|
23959
|
+
return {
|
|
23960
|
+
EnvironmentParameterRanges: output.EnvironmentParameterRanges !== undefined && output.EnvironmentParameterRanges !== null
|
|
23961
|
+
? deserializeAws_json1_1EnvironmentParameterRanges(output.EnvironmentParameterRanges, context)
|
|
23962
|
+
: undefined,
|
|
23963
|
+
InferenceSpecificationName: smithy_client_1.expectString(output.InferenceSpecificationName),
|
|
23964
|
+
InstanceType: smithy_client_1.expectString(output.InstanceType),
|
|
23965
|
+
};
|
|
23966
|
+
};
|
|
23967
|
+
const deserializeAws_json1_1EndpointInputConfigurations = (output, context) => {
|
|
23968
|
+
return (output || [])
|
|
23969
|
+
.filter((e) => e != null)
|
|
23970
|
+
.map((entry) => {
|
|
23971
|
+
if (entry === null) {
|
|
23972
|
+
return null;
|
|
23973
|
+
}
|
|
23974
|
+
return deserializeAws_json1_1EndpointInputConfiguration(entry, context);
|
|
23975
|
+
});
|
|
23976
|
+
};
|
|
23977
|
+
const deserializeAws_json1_1EndpointOutputConfiguration = (output, context) => {
|
|
23978
|
+
return {
|
|
23979
|
+
EndpointName: smithy_client_1.expectString(output.EndpointName),
|
|
23980
|
+
InitialInstanceCount: smithy_client_1.expectInt32(output.InitialInstanceCount),
|
|
23981
|
+
InstanceType: smithy_client_1.expectString(output.InstanceType),
|
|
23982
|
+
VariantName: smithy_client_1.expectString(output.VariantName),
|
|
23983
|
+
};
|
|
23984
|
+
};
|
|
22767
23985
|
const deserializeAws_json1_1EndpointSummary = (output, context) => {
|
|
22768
23986
|
return {
|
|
22769
23987
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
@@ -22798,6 +24016,30 @@ const deserializeAws_json1_1EnvironmentMap = (output, context) => {
|
|
|
22798
24016
|
};
|
|
22799
24017
|
}, {});
|
|
22800
24018
|
};
|
|
24019
|
+
const deserializeAws_json1_1EnvironmentParameter = (output, context) => {
|
|
24020
|
+
return {
|
|
24021
|
+
Key: smithy_client_1.expectString(output.Key),
|
|
24022
|
+
Value: smithy_client_1.expectString(output.Value),
|
|
24023
|
+
ValueType: smithy_client_1.expectString(output.ValueType),
|
|
24024
|
+
};
|
|
24025
|
+
};
|
|
24026
|
+
const deserializeAws_json1_1EnvironmentParameterRanges = (output, context) => {
|
|
24027
|
+
return {
|
|
24028
|
+
CategoricalParameterRanges: output.CategoricalParameterRanges !== undefined && output.CategoricalParameterRanges !== null
|
|
24029
|
+
? deserializeAws_json1_1CategoricalParameters(output.CategoricalParameterRanges, context)
|
|
24030
|
+
: undefined,
|
|
24031
|
+
};
|
|
24032
|
+
};
|
|
24033
|
+
const deserializeAws_json1_1EnvironmentParameters = (output, context) => {
|
|
24034
|
+
return (output || [])
|
|
24035
|
+
.filter((e) => e != null)
|
|
24036
|
+
.map((entry) => {
|
|
24037
|
+
if (entry === null) {
|
|
24038
|
+
return null;
|
|
24039
|
+
}
|
|
24040
|
+
return deserializeAws_json1_1EnvironmentParameter(entry, context);
|
|
24041
|
+
});
|
|
24042
|
+
};
|
|
22801
24043
|
const deserializeAws_json1_1Experiment = (output, context) => {
|
|
22802
24044
|
return {
|
|
22803
24045
|
CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
|
|
@@ -22939,6 +24181,13 @@ const deserializeAws_json1_1FeatureGroupSummary = (output, context) => {
|
|
|
22939
24181
|
: undefined,
|
|
22940
24182
|
};
|
|
22941
24183
|
};
|
|
24184
|
+
const deserializeAws_json1_1FileSource = (output, context) => {
|
|
24185
|
+
return {
|
|
24186
|
+
ContentDigest: smithy_client_1.expectString(output.ContentDigest),
|
|
24187
|
+
ContentType: smithy_client_1.expectString(output.ContentType),
|
|
24188
|
+
S3Uri: smithy_client_1.expectString(output.S3Uri),
|
|
24189
|
+
};
|
|
24190
|
+
};
|
|
22942
24191
|
const deserializeAws_json1_1FileSystemConfig = (output, context) => {
|
|
22943
24192
|
return {
|
|
22944
24193
|
DefaultGid: smithy_client_1.expectInt32(output.DefaultGid),
|
|
@@ -23037,6 +24286,12 @@ const deserializeAws_json1_1GetDeviceFleetReportResponse = (output, context) =>
|
|
|
23037
24286
|
: undefined,
|
|
23038
24287
|
};
|
|
23039
24288
|
};
|
|
24289
|
+
const deserializeAws_json1_1GetLineageGroupPolicyResponse = (output, context) => {
|
|
24290
|
+
return {
|
|
24291
|
+
LineageGroupArn: smithy_client_1.expectString(output.LineageGroupArn),
|
|
24292
|
+
ResourcePolicy: smithy_client_1.expectString(output.ResourcePolicy),
|
|
24293
|
+
};
|
|
24294
|
+
};
|
|
23040
24295
|
const deserializeAws_json1_1GetModelPackageGroupPolicyOutput = (output, context) => {
|
|
23041
24296
|
return {
|
|
23042
24297
|
ResourcePolicy: smithy_client_1.expectString(output.ResourcePolicy),
|
|
@@ -23436,6 +24691,59 @@ const deserializeAws_json1_1InferenceExecutionConfig = (output, context) => {
|
|
|
23436
24691
|
Mode: smithy_client_1.expectString(output.Mode),
|
|
23437
24692
|
};
|
|
23438
24693
|
};
|
|
24694
|
+
const deserializeAws_json1_1InferenceRecommendation = (output, context) => {
|
|
24695
|
+
return {
|
|
24696
|
+
EndpointConfiguration: output.EndpointConfiguration !== undefined && output.EndpointConfiguration !== null
|
|
24697
|
+
? deserializeAws_json1_1EndpointOutputConfiguration(output.EndpointConfiguration, context)
|
|
24698
|
+
: undefined,
|
|
24699
|
+
Metrics: output.Metrics !== undefined && output.Metrics !== null
|
|
24700
|
+
? deserializeAws_json1_1RecommendationMetrics(output.Metrics, context)
|
|
24701
|
+
: undefined,
|
|
24702
|
+
ModelConfiguration: output.ModelConfiguration !== undefined && output.ModelConfiguration !== null
|
|
24703
|
+
? deserializeAws_json1_1ModelConfiguration(output.ModelConfiguration, context)
|
|
24704
|
+
: undefined,
|
|
24705
|
+
};
|
|
24706
|
+
};
|
|
24707
|
+
const deserializeAws_json1_1InferenceRecommendations = (output, context) => {
|
|
24708
|
+
return (output || [])
|
|
24709
|
+
.filter((e) => e != null)
|
|
24710
|
+
.map((entry) => {
|
|
24711
|
+
if (entry === null) {
|
|
24712
|
+
return null;
|
|
24713
|
+
}
|
|
24714
|
+
return deserializeAws_json1_1InferenceRecommendation(entry, context);
|
|
24715
|
+
});
|
|
24716
|
+
};
|
|
24717
|
+
const deserializeAws_json1_1InferenceRecommendationsJob = (output, context) => {
|
|
24718
|
+
return {
|
|
24719
|
+
CompletionTime: output.CompletionTime !== undefined && output.CompletionTime !== null
|
|
24720
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CompletionTime)))
|
|
24721
|
+
: undefined,
|
|
24722
|
+
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
24723
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
24724
|
+
: undefined,
|
|
24725
|
+
FailureReason: smithy_client_1.expectString(output.FailureReason),
|
|
24726
|
+
JobArn: smithy_client_1.expectString(output.JobArn),
|
|
24727
|
+
JobDescription: smithy_client_1.expectString(output.JobDescription),
|
|
24728
|
+
JobName: smithy_client_1.expectString(output.JobName),
|
|
24729
|
+
JobType: smithy_client_1.expectString(output.JobType),
|
|
24730
|
+
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
24731
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
|
|
24732
|
+
: undefined,
|
|
24733
|
+
RoleArn: smithy_client_1.expectString(output.RoleArn),
|
|
24734
|
+
Status: smithy_client_1.expectString(output.Status),
|
|
24735
|
+
};
|
|
24736
|
+
};
|
|
24737
|
+
const deserializeAws_json1_1InferenceRecommendationsJobs = (output, context) => {
|
|
24738
|
+
return (output || [])
|
|
24739
|
+
.filter((e) => e != null)
|
|
24740
|
+
.map((entry) => {
|
|
24741
|
+
if (entry === null) {
|
|
24742
|
+
return null;
|
|
24743
|
+
}
|
|
24744
|
+
return deserializeAws_json1_1InferenceRecommendationsJob(entry, context);
|
|
24745
|
+
});
|
|
24746
|
+
};
|
|
23439
24747
|
const deserializeAws_json1_1InferenceSpecification = (output, context) => {
|
|
23440
24748
|
return {
|
|
23441
24749
|
Containers: output.Containers !== undefined && output.Containers !== null
|
|
@@ -23742,6 +25050,29 @@ const deserializeAws_json1_1LineageEntityParameters = (output, context) => {
|
|
|
23742
25050
|
};
|
|
23743
25051
|
}, {});
|
|
23744
25052
|
};
|
|
25053
|
+
const deserializeAws_json1_1LineageGroupSummaries = (output, context) => {
|
|
25054
|
+
return (output || [])
|
|
25055
|
+
.filter((e) => e != null)
|
|
25056
|
+
.map((entry) => {
|
|
25057
|
+
if (entry === null) {
|
|
25058
|
+
return null;
|
|
25059
|
+
}
|
|
25060
|
+
return deserializeAws_json1_1LineageGroupSummary(entry, context);
|
|
25061
|
+
});
|
|
25062
|
+
};
|
|
25063
|
+
const deserializeAws_json1_1LineageGroupSummary = (output, context) => {
|
|
25064
|
+
return {
|
|
25065
|
+
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
25066
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
|
|
25067
|
+
: undefined,
|
|
25068
|
+
DisplayName: smithy_client_1.expectString(output.DisplayName),
|
|
25069
|
+
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
25070
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
|
|
25071
|
+
: undefined,
|
|
25072
|
+
LineageGroupArn: smithy_client_1.expectString(output.LineageGroupArn),
|
|
25073
|
+
LineageGroupName: smithy_client_1.expectString(output.LineageGroupName),
|
|
25074
|
+
};
|
|
25075
|
+
};
|
|
23745
25076
|
const deserializeAws_json1_1ListActionsResponse = (output, context) => {
|
|
23746
25077
|
return {
|
|
23747
25078
|
ActionSummaries: output.ActionSummaries !== undefined && output.ActionSummaries !== null
|
|
@@ -23942,6 +25273,14 @@ const deserializeAws_json1_1ListImageVersionsResponse = (output, context) => {
|
|
|
23942
25273
|
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
23943
25274
|
};
|
|
23944
25275
|
};
|
|
25276
|
+
const deserializeAws_json1_1ListInferenceRecommendationsJobsResponse = (output, context) => {
|
|
25277
|
+
return {
|
|
25278
|
+
InferenceRecommendationsJobs: output.InferenceRecommendationsJobs !== undefined && output.InferenceRecommendationsJobs !== null
|
|
25279
|
+
? deserializeAws_json1_1InferenceRecommendationsJobs(output.InferenceRecommendationsJobs, context)
|
|
25280
|
+
: undefined,
|
|
25281
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
25282
|
+
};
|
|
25283
|
+
};
|
|
23945
25284
|
const deserializeAws_json1_1ListLabelingJobsForWorkteamResponse = (output, context) => {
|
|
23946
25285
|
return {
|
|
23947
25286
|
LabelingJobSummaryList: output.LabelingJobSummaryList !== undefined && output.LabelingJobSummaryList !== null
|
|
@@ -23958,6 +25297,14 @@ const deserializeAws_json1_1ListLabelingJobsResponse = (output, context) => {
|
|
|
23958
25297
|
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
23959
25298
|
};
|
|
23960
25299
|
};
|
|
25300
|
+
const deserializeAws_json1_1ListLineageGroupsResponse = (output, context) => {
|
|
25301
|
+
return {
|
|
25302
|
+
LineageGroupSummaries: output.LineageGroupSummaries !== undefined && output.LineageGroupSummaries !== null
|
|
25303
|
+
? deserializeAws_json1_1LineageGroupSummaries(output.LineageGroupSummaries, context)
|
|
25304
|
+
: undefined,
|
|
25305
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
25306
|
+
};
|
|
25307
|
+
};
|
|
23961
25308
|
const deserializeAws_json1_1ListModelBiasJobDefinitionsResponse = (output, context) => {
|
|
23962
25309
|
return {
|
|
23963
25310
|
JobDefinitionSummaries: output.JobDefinitionSummaries !== undefined && output.JobDefinitionSummaries !== null
|
|
@@ -23974,6 +25321,14 @@ const deserializeAws_json1_1ListModelExplainabilityJobDefinitionsResponse = (out
|
|
|
23974
25321
|
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
23975
25322
|
};
|
|
23976
25323
|
};
|
|
25324
|
+
const deserializeAws_json1_1ListModelMetadataResponse = (output, context) => {
|
|
25325
|
+
return {
|
|
25326
|
+
ModelMetadataSummaries: output.ModelMetadataSummaries !== undefined && output.ModelMetadataSummaries !== null
|
|
25327
|
+
? deserializeAws_json1_1ModelMetadataSummaries(output.ModelMetadataSummaries, context)
|
|
25328
|
+
: undefined,
|
|
25329
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
25330
|
+
};
|
|
25331
|
+
};
|
|
23977
25332
|
const deserializeAws_json1_1ListModelPackageGroupsOutput = (output, context) => {
|
|
23978
25333
|
return {
|
|
23979
25334
|
ModelPackageGroupSummaryList: output.ModelPackageGroupSummaryList !== undefined && output.ModelPackageGroupSummaryList !== null
|
|
@@ -24289,6 +25644,14 @@ const deserializeAws_json1_1ModelClientConfig = (output, context) => {
|
|
|
24289
25644
|
InvocationsTimeoutInSeconds: smithy_client_1.expectInt32(output.InvocationsTimeoutInSeconds),
|
|
24290
25645
|
};
|
|
24291
25646
|
};
|
|
25647
|
+
const deserializeAws_json1_1ModelConfiguration = (output, context) => {
|
|
25648
|
+
return {
|
|
25649
|
+
EnvironmentParameters: output.EnvironmentParameters !== undefined && output.EnvironmentParameters !== null
|
|
25650
|
+
? deserializeAws_json1_1EnvironmentParameters(output.EnvironmentParameters, context)
|
|
25651
|
+
: undefined,
|
|
25652
|
+
InferenceSpecificationName: smithy_client_1.expectString(output.InferenceSpecificationName),
|
|
25653
|
+
};
|
|
25654
|
+
};
|
|
24292
25655
|
const deserializeAws_json1_1ModelDataQuality = (output, context) => {
|
|
24293
25656
|
return {
|
|
24294
25657
|
Constraints: output.Constraints !== undefined && output.Constraints !== null
|
|
@@ -24339,6 +25702,46 @@ const deserializeAws_json1_1ModelExplainabilityJobInput = (output, context) => {
|
|
|
24339
25702
|
: undefined,
|
|
24340
25703
|
};
|
|
24341
25704
|
};
|
|
25705
|
+
const deserializeAws_json1_1ModelInput = (output, context) => {
|
|
25706
|
+
return {
|
|
25707
|
+
DataInputConfig: smithy_client_1.expectString(output.DataInputConfig),
|
|
25708
|
+
};
|
|
25709
|
+
};
|
|
25710
|
+
const deserializeAws_json1_1ModelLatencyThreshold = (output, context) => {
|
|
25711
|
+
return {
|
|
25712
|
+
Percentile: smithy_client_1.expectString(output.Percentile),
|
|
25713
|
+
ValueInMilliseconds: smithy_client_1.expectInt32(output.ValueInMilliseconds),
|
|
25714
|
+
};
|
|
25715
|
+
};
|
|
25716
|
+
const deserializeAws_json1_1ModelLatencyThresholds = (output, context) => {
|
|
25717
|
+
return (output || [])
|
|
25718
|
+
.filter((e) => e != null)
|
|
25719
|
+
.map((entry) => {
|
|
25720
|
+
if (entry === null) {
|
|
25721
|
+
return null;
|
|
25722
|
+
}
|
|
25723
|
+
return deserializeAws_json1_1ModelLatencyThreshold(entry, context);
|
|
25724
|
+
});
|
|
25725
|
+
};
|
|
25726
|
+
const deserializeAws_json1_1ModelMetadataSummaries = (output, context) => {
|
|
25727
|
+
return (output || [])
|
|
25728
|
+
.filter((e) => e != null)
|
|
25729
|
+
.map((entry) => {
|
|
25730
|
+
if (entry === null) {
|
|
25731
|
+
return null;
|
|
25732
|
+
}
|
|
25733
|
+
return deserializeAws_json1_1ModelMetadataSummary(entry, context);
|
|
25734
|
+
});
|
|
25735
|
+
};
|
|
25736
|
+
const deserializeAws_json1_1ModelMetadataSummary = (output, context) => {
|
|
25737
|
+
return {
|
|
25738
|
+
Domain: smithy_client_1.expectString(output.Domain),
|
|
25739
|
+
Framework: smithy_client_1.expectString(output.Framework),
|
|
25740
|
+
FrameworkVersion: smithy_client_1.expectString(output.FrameworkVersion),
|
|
25741
|
+
Model: smithy_client_1.expectString(output.Model),
|
|
25742
|
+
Task: smithy_client_1.expectString(output.Task),
|
|
25743
|
+
};
|
|
25744
|
+
};
|
|
24342
25745
|
const deserializeAws_json1_1ModelMetrics = (output, context) => {
|
|
24343
25746
|
return {
|
|
24344
25747
|
Bias: output.Bias !== undefined && output.Bias !== null ? deserializeAws_json1_1Bias(output.Bias, context) : undefined,
|
|
@@ -24355,6 +25758,9 @@ const deserializeAws_json1_1ModelMetrics = (output, context) => {
|
|
|
24355
25758
|
};
|
|
24356
25759
|
const deserializeAws_json1_1ModelPackage = (output, context) => {
|
|
24357
25760
|
return {
|
|
25761
|
+
AdditionalInferenceSpecifications: output.AdditionalInferenceSpecifications !== undefined && output.AdditionalInferenceSpecifications !== null
|
|
25762
|
+
? deserializeAws_json1_1AdditionalInferenceSpecifications(output.AdditionalInferenceSpecifications, context)
|
|
25763
|
+
: undefined,
|
|
24358
25764
|
ApprovalDescription: smithy_client_1.expectString(output.ApprovalDescription),
|
|
24359
25765
|
CertifyForMarketplace: smithy_client_1.expectBoolean(output.CertifyForMarketplace),
|
|
24360
25766
|
CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
|
|
@@ -24366,6 +25772,10 @@ const deserializeAws_json1_1ModelPackage = (output, context) => {
|
|
|
24366
25772
|
CustomerMetadataProperties: output.CustomerMetadataProperties !== undefined && output.CustomerMetadataProperties !== null
|
|
24367
25773
|
? deserializeAws_json1_1CustomerMetadataMap(output.CustomerMetadataProperties, context)
|
|
24368
25774
|
: undefined,
|
|
25775
|
+
Domain: smithy_client_1.expectString(output.Domain),
|
|
25776
|
+
DriftCheckBaselines: output.DriftCheckBaselines !== undefined && output.DriftCheckBaselines !== null
|
|
25777
|
+
? deserializeAws_json1_1DriftCheckBaselines(output.DriftCheckBaselines, context)
|
|
25778
|
+
: undefined,
|
|
24369
25779
|
InferenceSpecification: output.InferenceSpecification !== undefined && output.InferenceSpecification !== null
|
|
24370
25780
|
? deserializeAws_json1_1InferenceSpecification(output.InferenceSpecification, context)
|
|
24371
25781
|
: undefined,
|
|
@@ -24391,12 +25801,14 @@ const deserializeAws_json1_1ModelPackage = (output, context) => {
|
|
|
24391
25801
|
? deserializeAws_json1_1ModelPackageStatusDetails(output.ModelPackageStatusDetails, context)
|
|
24392
25802
|
: undefined,
|
|
24393
25803
|
ModelPackageVersion: smithy_client_1.expectInt32(output.ModelPackageVersion),
|
|
25804
|
+
SamplePayloadUrl: smithy_client_1.expectString(output.SamplePayloadUrl),
|
|
24394
25805
|
SourceAlgorithmSpecification: output.SourceAlgorithmSpecification !== undefined && output.SourceAlgorithmSpecification !== null
|
|
24395
25806
|
? deserializeAws_json1_1SourceAlgorithmSpecification(output.SourceAlgorithmSpecification, context)
|
|
24396
25807
|
: undefined,
|
|
24397
25808
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
24398
25809
|
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
24399
25810
|
: undefined,
|
|
25811
|
+
Task: smithy_client_1.expectString(output.Task),
|
|
24400
25812
|
ValidationSpecification: output.ValidationSpecification !== undefined && output.ValidationSpecification !== null
|
|
24401
25813
|
? deserializeAws_json1_1ModelPackageValidationSpecification(output.ValidationSpecification, context)
|
|
24402
25814
|
: undefined,
|
|
@@ -24408,9 +25820,15 @@ const deserializeAws_json1_1ModelPackageContainerDefinition = (output, context)
|
|
|
24408
25820
|
Environment: output.Environment !== undefined && output.Environment !== null
|
|
24409
25821
|
? deserializeAws_json1_1EnvironmentMap(output.Environment, context)
|
|
24410
25822
|
: undefined,
|
|
25823
|
+
Framework: smithy_client_1.expectString(output.Framework),
|
|
25824
|
+
FrameworkVersion: smithy_client_1.expectString(output.FrameworkVersion),
|
|
24411
25825
|
Image: smithy_client_1.expectString(output.Image),
|
|
24412
25826
|
ImageDigest: smithy_client_1.expectString(output.ImageDigest),
|
|
24413
25827
|
ModelDataUrl: smithy_client_1.expectString(output.ModelDataUrl),
|
|
25828
|
+
ModelInput: output.ModelInput !== undefined && output.ModelInput !== null
|
|
25829
|
+
? deserializeAws_json1_1ModelInput(output.ModelInput, context)
|
|
25830
|
+
: undefined,
|
|
25831
|
+
NearestModelName: smithy_client_1.expectString(output.NearestModelName),
|
|
24414
25832
|
ProductId: smithy_client_1.expectString(output.ProductId),
|
|
24415
25833
|
};
|
|
24416
25834
|
};
|
|
@@ -25223,11 +26641,17 @@ const deserializeAws_json1_1PendingProductionVariantSummary = (output, context)
|
|
|
25223
26641
|
return {
|
|
25224
26642
|
AcceleratorType: smithy_client_1.expectString(output.AcceleratorType),
|
|
25225
26643
|
CurrentInstanceCount: smithy_client_1.expectInt32(output.CurrentInstanceCount),
|
|
26644
|
+
CurrentServerlessConfig: output.CurrentServerlessConfig !== undefined && output.CurrentServerlessConfig !== null
|
|
26645
|
+
? deserializeAws_json1_1ProductionVariantServerlessConfig(output.CurrentServerlessConfig, context)
|
|
26646
|
+
: undefined,
|
|
25226
26647
|
CurrentWeight: smithy_client_1.limitedParseFloat32(output.CurrentWeight),
|
|
25227
26648
|
DeployedImages: output.DeployedImages !== undefined && output.DeployedImages !== null
|
|
25228
26649
|
? deserializeAws_json1_1DeployedImages(output.DeployedImages, context)
|
|
25229
26650
|
: undefined,
|
|
25230
26651
|
DesiredInstanceCount: smithy_client_1.expectInt32(output.DesiredInstanceCount),
|
|
26652
|
+
DesiredServerlessConfig: output.DesiredServerlessConfig !== undefined && output.DesiredServerlessConfig !== null
|
|
26653
|
+
? deserializeAws_json1_1ProductionVariantServerlessConfig(output.DesiredServerlessConfig, context)
|
|
26654
|
+
: undefined,
|
|
25231
26655
|
DesiredWeight: smithy_client_1.limitedParseFloat32(output.DesiredWeight),
|
|
25232
26656
|
InstanceType: smithy_client_1.expectString(output.InstanceType),
|
|
25233
26657
|
VariantName: smithy_client_1.expectString(output.VariantName),
|
|
@@ -25246,6 +26670,23 @@ const deserializeAws_json1_1PendingProductionVariantSummaryList = (output, conte
|
|
|
25246
26670
|
return deserializeAws_json1_1PendingProductionVariantSummary(entry, context);
|
|
25247
26671
|
});
|
|
25248
26672
|
};
|
|
26673
|
+
const deserializeAws_json1_1Phase = (output, context) => {
|
|
26674
|
+
return {
|
|
26675
|
+
DurationInSeconds: smithy_client_1.expectInt32(output.DurationInSeconds),
|
|
26676
|
+
InitialNumberOfUsers: smithy_client_1.expectInt32(output.InitialNumberOfUsers),
|
|
26677
|
+
SpawnRate: smithy_client_1.expectInt32(output.SpawnRate),
|
|
26678
|
+
};
|
|
26679
|
+
};
|
|
26680
|
+
const deserializeAws_json1_1Phases = (output, context) => {
|
|
26681
|
+
return (output || [])
|
|
26682
|
+
.filter((e) => e != null)
|
|
26683
|
+
.map((entry) => {
|
|
26684
|
+
if (entry === null) {
|
|
26685
|
+
return null;
|
|
26686
|
+
}
|
|
26687
|
+
return deserializeAws_json1_1Phase(entry, context);
|
|
26688
|
+
});
|
|
26689
|
+
};
|
|
25249
26690
|
const deserializeAws_json1_1Pipeline = (output, context) => {
|
|
25250
26691
|
return {
|
|
25251
26692
|
CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
|
|
@@ -25304,6 +26745,7 @@ const deserializeAws_json1_1PipelineExecution = (output, context) => {
|
|
|
25304
26745
|
};
|
|
25305
26746
|
const deserializeAws_json1_1PipelineExecutionStep = (output, context) => {
|
|
25306
26747
|
return {
|
|
26748
|
+
AttemptCount: smithy_client_1.expectInt32(output.AttemptCount),
|
|
25307
26749
|
CacheHitResult: output.CacheHitResult !== undefined && output.CacheHitResult !== null
|
|
25308
26750
|
? deserializeAws_json1_1CacheHitResult(output.CacheHitResult, context)
|
|
25309
26751
|
: undefined,
|
|
@@ -25336,6 +26778,9 @@ const deserializeAws_json1_1PipelineExecutionStepMetadata = (output, context) =>
|
|
|
25336
26778
|
Callback: output.Callback !== undefined && output.Callback !== null
|
|
25337
26779
|
? deserializeAws_json1_1CallbackStepMetadata(output.Callback, context)
|
|
25338
26780
|
: undefined,
|
|
26781
|
+
ClarifyCheck: output.ClarifyCheck !== undefined && output.ClarifyCheck !== null
|
|
26782
|
+
? deserializeAws_json1_1ClarifyCheckStepMetadata(output.ClarifyCheck, context)
|
|
26783
|
+
: undefined,
|
|
25339
26784
|
Condition: output.Condition !== undefined && output.Condition !== null
|
|
25340
26785
|
? deserializeAws_json1_1ConditionStepMetadata(output.Condition, context)
|
|
25341
26786
|
: undefined,
|
|
@@ -25348,6 +26793,9 @@ const deserializeAws_json1_1PipelineExecutionStepMetadata = (output, context) =>
|
|
|
25348
26793
|
ProcessingJob: output.ProcessingJob !== undefined && output.ProcessingJob !== null
|
|
25349
26794
|
? deserializeAws_json1_1ProcessingJobStepMetadata(output.ProcessingJob, context)
|
|
25350
26795
|
: undefined,
|
|
26796
|
+
QualityCheck: output.QualityCheck !== undefined && output.QualityCheck !== null
|
|
26797
|
+
? deserializeAws_json1_1QualityCheckStepMetadata(output.QualityCheck, context)
|
|
26798
|
+
: undefined,
|
|
25351
26799
|
RegisterModel: output.RegisterModel !== undefined && output.RegisterModel !== null
|
|
25352
26800
|
? deserializeAws_json1_1RegisterModelStepMetadata(output.RegisterModel, context)
|
|
25353
26801
|
: undefined,
|
|
@@ -25617,6 +27065,9 @@ const deserializeAws_json1_1ProductionVariant = (output, context) => {
|
|
|
25617
27065
|
InitialVariantWeight: smithy_client_1.limitedParseFloat32(output.InitialVariantWeight),
|
|
25618
27066
|
InstanceType: smithy_client_1.expectString(output.InstanceType),
|
|
25619
27067
|
ModelName: smithy_client_1.expectString(output.ModelName),
|
|
27068
|
+
ServerlessConfig: output.ServerlessConfig !== undefined && output.ServerlessConfig !== null
|
|
27069
|
+
? deserializeAws_json1_1ProductionVariantServerlessConfig(output.ServerlessConfig, context)
|
|
27070
|
+
: undefined,
|
|
25620
27071
|
VariantName: smithy_client_1.expectString(output.VariantName),
|
|
25621
27072
|
};
|
|
25622
27073
|
};
|
|
@@ -25636,6 +27087,12 @@ const deserializeAws_json1_1ProductionVariantList = (output, context) => {
|
|
|
25636
27087
|
return deserializeAws_json1_1ProductionVariant(entry, context);
|
|
25637
27088
|
});
|
|
25638
27089
|
};
|
|
27090
|
+
const deserializeAws_json1_1ProductionVariantServerlessConfig = (output, context) => {
|
|
27091
|
+
return {
|
|
27092
|
+
MaxConcurrency: smithy_client_1.expectInt32(output.MaxConcurrency),
|
|
27093
|
+
MemorySizeInMB: smithy_client_1.expectInt32(output.MemorySizeInMB),
|
|
27094
|
+
};
|
|
27095
|
+
};
|
|
25639
27096
|
const deserializeAws_json1_1ProductionVariantStatus = (output, context) => {
|
|
25640
27097
|
return {
|
|
25641
27098
|
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
@@ -25658,11 +27115,17 @@ const deserializeAws_json1_1ProductionVariantStatusList = (output, context) => {
|
|
|
25658
27115
|
const deserializeAws_json1_1ProductionVariantSummary = (output, context) => {
|
|
25659
27116
|
return {
|
|
25660
27117
|
CurrentInstanceCount: smithy_client_1.expectInt32(output.CurrentInstanceCount),
|
|
27118
|
+
CurrentServerlessConfig: output.CurrentServerlessConfig !== undefined && output.CurrentServerlessConfig !== null
|
|
27119
|
+
? deserializeAws_json1_1ProductionVariantServerlessConfig(output.CurrentServerlessConfig, context)
|
|
27120
|
+
: undefined,
|
|
25661
27121
|
CurrentWeight: smithy_client_1.limitedParseFloat32(output.CurrentWeight),
|
|
25662
27122
|
DeployedImages: output.DeployedImages !== undefined && output.DeployedImages !== null
|
|
25663
27123
|
? deserializeAws_json1_1DeployedImages(output.DeployedImages, context)
|
|
25664
27124
|
: undefined,
|
|
25665
27125
|
DesiredInstanceCount: smithy_client_1.expectInt32(output.DesiredInstanceCount),
|
|
27126
|
+
DesiredServerlessConfig: output.DesiredServerlessConfig !== undefined && output.DesiredServerlessConfig !== null
|
|
27127
|
+
? deserializeAws_json1_1ProductionVariantServerlessConfig(output.DesiredServerlessConfig, context)
|
|
27128
|
+
: undefined,
|
|
25666
27129
|
DesiredWeight: smithy_client_1.limitedParseFloat32(output.DesiredWeight),
|
|
25667
27130
|
VariantName: smithy_client_1.expectString(output.VariantName),
|
|
25668
27131
|
VariantStatus: output.VariantStatus !== undefined && output.VariantStatus !== null
|
|
@@ -25850,6 +27313,31 @@ const deserializeAws_json1_1PutModelPackageGroupPolicyOutput = (output, context)
|
|
|
25850
27313
|
ModelPackageGroupArn: smithy_client_1.expectString(output.ModelPackageGroupArn),
|
|
25851
27314
|
};
|
|
25852
27315
|
};
|
|
27316
|
+
const deserializeAws_json1_1QualityCheckStepMetadata = (output, context) => {
|
|
27317
|
+
return {
|
|
27318
|
+
BaselineUsedForDriftCheckConstraints: smithy_client_1.expectString(output.BaselineUsedForDriftCheckConstraints),
|
|
27319
|
+
BaselineUsedForDriftCheckStatistics: smithy_client_1.expectString(output.BaselineUsedForDriftCheckStatistics),
|
|
27320
|
+
CalculatedBaselineConstraints: smithy_client_1.expectString(output.CalculatedBaselineConstraints),
|
|
27321
|
+
CalculatedBaselineStatistics: smithy_client_1.expectString(output.CalculatedBaselineStatistics),
|
|
27322
|
+
CheckJobArn: smithy_client_1.expectString(output.CheckJobArn),
|
|
27323
|
+
CheckType: smithy_client_1.expectString(output.CheckType),
|
|
27324
|
+
ModelPackageGroupName: smithy_client_1.expectString(output.ModelPackageGroupName),
|
|
27325
|
+
RegisterNewBaseline: smithy_client_1.expectBoolean(output.RegisterNewBaseline),
|
|
27326
|
+
SkipCheck: smithy_client_1.expectBoolean(output.SkipCheck),
|
|
27327
|
+
ViolationReport: smithy_client_1.expectString(output.ViolationReport),
|
|
27328
|
+
};
|
|
27329
|
+
};
|
|
27330
|
+
const deserializeAws_json1_1QueryLineageResponse = (output, context) => {
|
|
27331
|
+
return {
|
|
27332
|
+
Edges: output.Edges !== undefined && output.Edges !== null
|
|
27333
|
+
? deserializeAws_json1_1Edges(output.Edges, context)
|
|
27334
|
+
: undefined,
|
|
27335
|
+
NextToken: smithy_client_1.expectString(output.NextToken),
|
|
27336
|
+
Vertices: output.Vertices !== undefined && output.Vertices !== null
|
|
27337
|
+
? deserializeAws_json1_1Vertices(output.Vertices, context)
|
|
27338
|
+
: undefined,
|
|
27339
|
+
};
|
|
27340
|
+
};
|
|
25853
27341
|
const deserializeAws_json1_1RealtimeInferenceInstanceTypes = (output, context) => {
|
|
25854
27342
|
return (output || [])
|
|
25855
27343
|
.filter((e) => e != null)
|
|
@@ -25860,6 +27348,43 @@ const deserializeAws_json1_1RealtimeInferenceInstanceTypes = (output, context) =
|
|
|
25860
27348
|
return smithy_client_1.expectString(entry);
|
|
25861
27349
|
});
|
|
25862
27350
|
};
|
|
27351
|
+
const deserializeAws_json1_1RecommendationJobInputConfig = (output, context) => {
|
|
27352
|
+
return {
|
|
27353
|
+
EndpointConfigurations: output.EndpointConfigurations !== undefined && output.EndpointConfigurations !== null
|
|
27354
|
+
? deserializeAws_json1_1EndpointInputConfigurations(output.EndpointConfigurations, context)
|
|
27355
|
+
: undefined,
|
|
27356
|
+
JobDurationInSeconds: smithy_client_1.expectInt32(output.JobDurationInSeconds),
|
|
27357
|
+
ModelPackageVersionArn: smithy_client_1.expectString(output.ModelPackageVersionArn),
|
|
27358
|
+
ResourceLimit: output.ResourceLimit !== undefined && output.ResourceLimit !== null
|
|
27359
|
+
? deserializeAws_json1_1RecommendationJobResourceLimit(output.ResourceLimit, context)
|
|
27360
|
+
: undefined,
|
|
27361
|
+
TrafficPattern: output.TrafficPattern !== undefined && output.TrafficPattern !== null
|
|
27362
|
+
? deserializeAws_json1_1TrafficPattern(output.TrafficPattern, context)
|
|
27363
|
+
: undefined,
|
|
27364
|
+
};
|
|
27365
|
+
};
|
|
27366
|
+
const deserializeAws_json1_1RecommendationJobResourceLimit = (output, context) => {
|
|
27367
|
+
return {
|
|
27368
|
+
MaxNumberOfTests: smithy_client_1.expectInt32(output.MaxNumberOfTests),
|
|
27369
|
+
MaxParallelOfTests: smithy_client_1.expectInt32(output.MaxParallelOfTests),
|
|
27370
|
+
};
|
|
27371
|
+
};
|
|
27372
|
+
const deserializeAws_json1_1RecommendationJobStoppingConditions = (output, context) => {
|
|
27373
|
+
return {
|
|
27374
|
+
MaxInvocations: smithy_client_1.expectInt32(output.MaxInvocations),
|
|
27375
|
+
ModelLatencyThresholds: output.ModelLatencyThresholds !== undefined && output.ModelLatencyThresholds !== null
|
|
27376
|
+
? deserializeAws_json1_1ModelLatencyThresholds(output.ModelLatencyThresholds, context)
|
|
27377
|
+
: undefined,
|
|
27378
|
+
};
|
|
27379
|
+
};
|
|
27380
|
+
const deserializeAws_json1_1RecommendationMetrics = (output, context) => {
|
|
27381
|
+
return {
|
|
27382
|
+
CostPerHour: smithy_client_1.limitedParseFloat32(output.CostPerHour),
|
|
27383
|
+
CostPerInference: smithy_client_1.limitedParseFloat32(output.CostPerInference),
|
|
27384
|
+
MaxInvocations: smithy_client_1.expectInt32(output.MaxInvocations),
|
|
27385
|
+
ModelLatency: smithy_client_1.expectInt32(output.ModelLatency),
|
|
27386
|
+
};
|
|
27387
|
+
};
|
|
25863
27388
|
const deserializeAws_json1_1RedshiftDatasetDefinition = (output, context) => {
|
|
25864
27389
|
return {
|
|
25865
27390
|
ClusterId: smithy_client_1.expectString(output.ClusterId),
|
|
@@ -26296,6 +27821,14 @@ const deserializeAws_json1_1TensorBoardOutputConfig = (output, context) => {
|
|
|
26296
27821
|
S3OutputPath: smithy_client_1.expectString(output.S3OutputPath),
|
|
26297
27822
|
};
|
|
26298
27823
|
};
|
|
27824
|
+
const deserializeAws_json1_1TrafficPattern = (output, context) => {
|
|
27825
|
+
return {
|
|
27826
|
+
Phases: output.Phases !== undefined && output.Phases !== null
|
|
27827
|
+
? deserializeAws_json1_1Phases(output.Phases, context)
|
|
27828
|
+
: undefined,
|
|
27829
|
+
TrafficType: smithy_client_1.expectString(output.TrafficType),
|
|
27830
|
+
};
|
|
27831
|
+
};
|
|
26299
27832
|
const deserializeAws_json1_1TrafficRoutingConfig = (output, context) => {
|
|
26300
27833
|
return {
|
|
26301
27834
|
CanarySize: output.CanarySize !== undefined && output.CanarySize !== null
|
|
@@ -26708,6 +28241,7 @@ const deserializeAws_json1_1TrialComponent = (output, context) => {
|
|
|
26708
28241
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
26709
28242
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastModifiedTime)))
|
|
26710
28243
|
: undefined,
|
|
28244
|
+
LineageGroupArn: smithy_client_1.expectString(output.LineageGroupArn),
|
|
26711
28245
|
MetadataProperties: output.MetadataProperties !== undefined && output.MetadataProperties !== null
|
|
26712
28246
|
? deserializeAws_json1_1MetadataProperties(output.MetadataProperties, context)
|
|
26713
28247
|
: undefined,
|
|
@@ -27128,6 +28662,23 @@ const deserializeAws_json1_1UserSettings = (output, context) => {
|
|
|
27128
28662
|
: undefined,
|
|
27129
28663
|
};
|
|
27130
28664
|
};
|
|
28665
|
+
const deserializeAws_json1_1Vertex = (output, context) => {
|
|
28666
|
+
return {
|
|
28667
|
+
Arn: smithy_client_1.expectString(output.Arn),
|
|
28668
|
+
LineageType: smithy_client_1.expectString(output.LineageType),
|
|
28669
|
+
Type: smithy_client_1.expectString(output.Type),
|
|
28670
|
+
};
|
|
28671
|
+
};
|
|
28672
|
+
const deserializeAws_json1_1Vertices = (output, context) => {
|
|
28673
|
+
return (output || [])
|
|
28674
|
+
.filter((e) => e != null)
|
|
28675
|
+
.map((entry) => {
|
|
28676
|
+
if (entry === null) {
|
|
28677
|
+
return null;
|
|
28678
|
+
}
|
|
28679
|
+
return deserializeAws_json1_1Vertex(entry, context);
|
|
28680
|
+
});
|
|
28681
|
+
};
|
|
27131
28682
|
const deserializeAws_json1_1VpcConfig = (output, context) => {
|
|
27132
28683
|
return {
|
|
27133
28684
|
SecurityGroupIds: output.SecurityGroupIds !== undefined && output.SecurityGroupIds !== null
|