@aws-sdk/client-sagemaker 3.40.0 → 3.44.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 +3 -3
- package/dist-cjs/commands/DescribeProjectCommand.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 +3 -3
- package/dist-cjs/commands/StopAutoMLJobCommand.js +2 -2
- package/dist-cjs/commands/StopCompilationJobCommand.js +2 -2
- package/dist-cjs/commands/StopEdgePackagingJobCommand.js +2 -2
- package/dist-cjs/commands/StopInferenceRecommendationsJobCommand.js +36 -0
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/endpoints.js +24 -0
- package/dist-cjs/models/models_0.js +157 -156
- package/dist-cjs/models/models_1.js +236 -256
- package/dist-cjs/models/models_2.js +371 -350
- package/dist-cjs/models/models_3.js +377 -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 +1654 -30
- 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 -1
- package/dist-es/commands/DescribeProjectCommand.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 -1
- package/dist-es/commands/StopAutoMLJobCommand.js +1 -1
- package/dist-es/commands/StopCompilationJobCommand.js +1 -1
- package/dist-es/commands/StopEdgePackagingJobCommand.js +1 -1
- package/dist-es/commands/StopInferenceRecommendationsJobCommand.js +39 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/endpoints.js +24 -0
- package/dist-es/models/models_0.js +137 -136
- package/dist-es/models/models_1.js +162 -192
- package/dist-es/models/models_2.js +279 -240
- package/dist-es/models/models_3.js +260 -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 +1597 -37
- package/dist-types/SageMaker.d.ts +72 -0
- package/dist-types/SageMakerClient.d.ts +11 -2
- package/dist-types/commands/AddAssociationCommand.d.ts +1 -1
- package/dist-types/commands/AddTagsCommand.d.ts +1 -1
- package/dist-types/commands/AssociateTrialComponentCommand.d.ts +1 -1
- package/dist-types/commands/BatchDescribeModelPackageCommand.d.ts +1 -1
- package/dist-types/commands/CreateActionCommand.d.ts +1 -1
- package/dist-types/commands/CreateAlgorithmCommand.d.ts +1 -1
- package/dist-types/commands/CreateAppCommand.d.ts +1 -1
- package/dist-types/commands/CreateAppImageConfigCommand.d.ts +1 -1
- package/dist-types/commands/CreateArtifactCommand.d.ts +1 -1
- package/dist-types/commands/CreateAutoMLJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateCodeRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/CreateCompilationJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateContextCommand.d.ts +1 -1
- package/dist-types/commands/CreateDataQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/CreateDeviceFleetCommand.d.ts +1 -1
- package/dist-types/commands/CreateDomainCommand.d.ts +1 -1
- package/dist-types/commands/CreateEdgePackagingJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateEndpointCommand.d.ts +1 -1
- package/dist-types/commands/CreateEndpointConfigCommand.d.ts +1 -1
- package/dist-types/commands/CreateExperimentCommand.d.ts +1 -1
- package/dist-types/commands/CreateFeatureGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateFlowDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/CreateHumanTaskUiCommand.d.ts +1 -1
- package/dist-types/commands/CreateHyperParameterTuningJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateImageCommand.d.ts +1 -1
- package/dist-types/commands/CreateImageVersionCommand.d.ts +1 -1
- package/dist-types/commands/CreateInferenceRecommendationsJobCommand.d.ts +36 -0
- package/dist-types/commands/CreateLabelingJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateModelBiasJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/CreateModelCommand.d.ts +1 -1
- package/dist-types/commands/CreateModelExplainabilityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/CreateModelPackageCommand.d.ts +1 -1
- package/dist-types/commands/CreateModelPackageGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateModelQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/CreateMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/commands/CreateNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/commands/CreateNotebookInstanceLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/commands/CreatePipelineCommand.d.ts +1 -1
- package/dist-types/commands/CreatePresignedDomainUrlCommand.d.ts +1 -1
- package/dist-types/commands/CreatePresignedNotebookInstanceUrlCommand.d.ts +1 -1
- package/dist-types/commands/CreateProcessingJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateProjectCommand.d.ts +1 -1
- package/dist-types/commands/CreateStudioLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrainingJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransformJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrialCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrialComponentCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserProfileCommand.d.ts +1 -1
- package/dist-types/commands/CreateWorkforceCommand.d.ts +1 -1
- package/dist-types/commands/CreateWorkteamCommand.d.ts +1 -1
- package/dist-types/commands/DeleteActionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAlgorithmCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAppCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAppImageConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteArtifactCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAssociationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCodeRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/DeleteContextCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDataQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDeviceFleetCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDomainCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEndpointCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEndpointConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteExperimentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFeatureGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFlowDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteHumanTaskUiCommand.d.ts +1 -1
- package/dist-types/commands/DeleteImageCommand.d.ts +1 -1
- package/dist-types/commands/DeleteImageVersionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteModelBiasJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteModelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteModelExplainabilityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteModelPackageCommand.d.ts +1 -1
- package/dist-types/commands/DeleteModelPackageGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteModelPackageGroupPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteModelQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteNotebookInstanceLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeletePipelineCommand.d.ts +1 -1
- package/dist-types/commands/DeleteProjectCommand.d.ts +1 -1
- package/dist-types/commands/DeleteStudioLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTagsCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTrialCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTrialComponentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUserProfileCommand.d.ts +1 -1
- package/dist-types/commands/DeleteWorkforceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteWorkteamCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterDevicesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeActionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAlgorithmCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAppCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAppImageConfigCommand.d.ts +1 -1
- package/dist-types/commands/DescribeArtifactCommand.d.ts +1 -1
- package/dist-types/commands/DescribeAutoMLJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCodeRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCompilationJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeContextCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDataQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDeviceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDeviceFleetCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDomainCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEdgePackagingJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEndpointCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEndpointConfigCommand.d.ts +1 -1
- package/dist-types/commands/DescribeExperimentCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFeatureGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFlowDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeHumanTaskUiCommand.d.ts +1 -1
- package/dist-types/commands/DescribeHyperParameterTuningJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImageCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImageVersionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeInferenceRecommendationsJobCommand.d.ts +36 -0
- package/dist-types/commands/DescribeLabelingJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLineageGroupCommand.d.ts +37 -0
- package/dist-types/commands/DescribeModelBiasJobDefinitionCommand.d.ts +3 -2
- package/dist-types/commands/DescribeModelCommand.d.ts +1 -1
- package/dist-types/commands/DescribeModelExplainabilityJobDefinitionCommand.d.ts +2 -2
- package/dist-types/commands/DescribeModelPackageCommand.d.ts +2 -2
- package/dist-types/commands/DescribeModelPackageGroupCommand.d.ts +2 -2
- package/dist-types/commands/DescribeModelQualityJobDefinitionCommand.d.ts +2 -2
- package/dist-types/commands/DescribeMonitoringScheduleCommand.d.ts +2 -2
- package/dist-types/commands/DescribeNotebookInstanceCommand.d.ts +2 -2
- package/dist-types/commands/DescribeNotebookInstanceLifecycleConfigCommand.d.ts +2 -2
- package/dist-types/commands/DescribePipelineCommand.d.ts +2 -2
- package/dist-types/commands/DescribePipelineDefinitionForExecutionCommand.d.ts +2 -2
- package/dist-types/commands/DescribePipelineExecutionCommand.d.ts +2 -2
- package/dist-types/commands/DescribeProcessingJobCommand.d.ts +2 -2
- package/dist-types/commands/DescribeProjectCommand.d.ts +2 -3
- package/dist-types/commands/DescribeStudioLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSubscribedWorkteamCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrainingJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTransformJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrialCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrialComponentCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUserProfileCommand.d.ts +1 -1
- package/dist-types/commands/DescribeWorkforceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeWorkteamCommand.d.ts +1 -1
- package/dist-types/commands/DisableSagemakerServicecatalogPortfolioCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTrialComponentCommand.d.ts +1 -1
- package/dist-types/commands/EnableSagemakerServicecatalogPortfolioCommand.d.ts +1 -1
- package/dist-types/commands/GetDeviceFleetReportCommand.d.ts +1 -1
- package/dist-types/commands/GetLineageGroupPolicyCommand.d.ts +35 -0
- package/dist-types/commands/GetModelPackageGroupPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetSagemakerServicecatalogPortfolioStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetSearchSuggestionsCommand.d.ts +1 -1
- package/dist-types/commands/ListActionsCommand.d.ts +1 -1
- package/dist-types/commands/ListAlgorithmsCommand.d.ts +1 -1
- package/dist-types/commands/ListAppImageConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListAppsCommand.d.ts +1 -1
- package/dist-types/commands/ListArtifactsCommand.d.ts +1 -1
- package/dist-types/commands/ListAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/ListAutoMLJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListCandidatesForAutoMLJobCommand.d.ts +1 -1
- package/dist-types/commands/ListCodeRepositoriesCommand.d.ts +1 -1
- package/dist-types/commands/ListCompilationJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListContextsCommand.d.ts +1 -1
- package/dist-types/commands/ListDataQualityJobDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/ListDeviceFleetsCommand.d.ts +1 -1
- package/dist-types/commands/ListDevicesCommand.d.ts +1 -1
- package/dist-types/commands/ListDomainsCommand.d.ts +1 -1
- package/dist-types/commands/ListEdgePackagingJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListEndpointConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListEndpointsCommand.d.ts +1 -1
- package/dist-types/commands/ListExperimentsCommand.d.ts +1 -1
- package/dist-types/commands/ListFeatureGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListFlowDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/ListHumanTaskUisCommand.d.ts +1 -1
- package/dist-types/commands/ListHyperParameterTuningJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListImageVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListImagesCommand.d.ts +1 -1
- package/dist-types/commands/ListInferenceRecommendationsJobsCommand.d.ts +35 -0
- package/dist-types/commands/ListLabelingJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListLabelingJobsForWorkteamCommand.d.ts +1 -1
- package/dist-types/commands/ListLineageGroupsCommand.d.ts +37 -0
- package/dist-types/commands/ListModelBiasJobDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/ListModelExplainabilityJobDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/ListModelMetadataCommand.d.ts +36 -0
- package/dist-types/commands/ListModelPackageGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListModelPackagesCommand.d.ts +1 -1
- package/dist-types/commands/ListModelQualityJobDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/ListModelsCommand.d.ts +1 -1
- package/dist-types/commands/ListMonitoringExecutionsCommand.d.ts +1 -1
- package/dist-types/commands/ListMonitoringSchedulesCommand.d.ts +1 -1
- package/dist-types/commands/ListNotebookInstanceLifecycleConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListNotebookInstancesCommand.d.ts +1 -1
- package/dist-types/commands/ListPipelineExecutionStepsCommand.d.ts +1 -1
- package/dist-types/commands/ListPipelineExecutionsCommand.d.ts +1 -1
- package/dist-types/commands/ListPipelineParametersForExecutionCommand.d.ts +1 -1
- package/dist-types/commands/ListPipelinesCommand.d.ts +1 -1
- package/dist-types/commands/ListProcessingJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListProjectsCommand.d.ts +1 -1
- package/dist-types/commands/ListStudioLifecycleConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListSubscribedWorkteamsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrainingJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrainingJobsForHyperParameterTuningJobCommand.d.ts +1 -1
- package/dist-types/commands/ListTransformJobsCommand.d.ts +3 -2
- package/dist-types/commands/ListTrialComponentsCommand.d.ts +2 -2
- package/dist-types/commands/ListTrialsCommand.d.ts +2 -2
- package/dist-types/commands/ListUserProfilesCommand.d.ts +2 -2
- package/dist-types/commands/ListWorkforcesCommand.d.ts +2 -2
- package/dist-types/commands/ListWorkteamsCommand.d.ts +2 -2
- package/dist-types/commands/PutModelPackageGroupPolicyCommand.d.ts +2 -2
- package/dist-types/commands/QueryLineageCommand.d.ts +37 -0
- package/dist-types/commands/RegisterDevicesCommand.d.ts +2 -2
- package/dist-types/commands/RenderUiTemplateCommand.d.ts +2 -2
- package/dist-types/commands/RetryPipelineExecutionCommand.d.ts +2 -2
- package/dist-types/commands/SearchCommand.d.ts +2 -3
- package/dist-types/commands/SendPipelineExecutionStepFailureCommand.d.ts +2 -2
- package/dist-types/commands/SendPipelineExecutionStepSuccessCommand.d.ts +2 -2
- package/dist-types/commands/StartMonitoringScheduleCommand.d.ts +2 -2
- package/dist-types/commands/StartNotebookInstanceCommand.d.ts +2 -2
- package/dist-types/commands/StartPipelineExecutionCommand.d.ts +2 -2
- package/dist-types/commands/StopAutoMLJobCommand.d.ts +2 -2
- package/dist-types/commands/StopCompilationJobCommand.d.ts +2 -2
- package/dist-types/commands/StopEdgePackagingJobCommand.d.ts +2 -2
- package/dist-types/commands/StopHyperParameterTuningJobCommand.d.ts +1 -1
- package/dist-types/commands/StopInferenceRecommendationsJobCommand.d.ts +35 -0
- package/dist-types/commands/StopLabelingJobCommand.d.ts +1 -1
- package/dist-types/commands/StopMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/commands/StopNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/commands/StopPipelineExecutionCommand.d.ts +1 -1
- package/dist-types/commands/StopProcessingJobCommand.d.ts +1 -1
- package/dist-types/commands/StopTrainingJobCommand.d.ts +1 -1
- package/dist-types/commands/StopTransformJobCommand.d.ts +1 -1
- package/dist-types/commands/UpdateActionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAppImageConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateArtifactCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCodeRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/UpdateContextCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDeviceFleetCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDevicesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDomainCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEndpointCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEndpointWeightsAndCapacitiesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateExperimentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateImageCommand.d.ts +1 -1
- package/dist-types/commands/UpdateModelPackageCommand.d.ts +1 -1
- package/dist-types/commands/UpdateMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/commands/UpdateNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateNotebookInstanceLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePipelineCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePipelineExecutionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateProjectCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTrainingJobCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTrialCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTrialComponentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserProfileCommand.d.ts +1 -1
- package/dist-types/commands/UpdateWorkforceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateWorkteamCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +462 -1998
- package/dist-types/models/models_1.d.ts +6616 -5046
- package/dist-types/models/models_2.d.ts +5421 -6005
- package/dist-types/models/models_3.d.ts +2404 -4
- 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 -1
- package/dist-types/ts3.4/commands/DescribeProjectCommand.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 -1
- package/dist-types/ts3.4/commands/StopAutoMLJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopCompilationJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopEdgePackagingJobCommand.d.ts +1 -1
- 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 +240 -213
- package/dist-types/ts3.4/models/models_1.d.ts +506 -582
- package/dist-types/ts3.4/models/models_2.d.ts +2520 -2655
- package/dist-types/ts3.4/models/models_3.d.ts +1082 -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 +4 -4
|
@@ -289,6 +289,17 @@ export var serializeAws_json1_1CreateImageVersionCommand = function (input, cont
|
|
|
289
289
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
290
290
|
});
|
|
291
291
|
}); };
|
|
292
|
+
export var serializeAws_json1_1CreateInferenceRecommendationsJobCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
293
|
+
var headers, body;
|
|
294
|
+
return __generator(this, function (_a) {
|
|
295
|
+
headers = {
|
|
296
|
+
"content-type": "application/x-amz-json-1.1",
|
|
297
|
+
"x-amz-target": "SageMaker.CreateInferenceRecommendationsJob",
|
|
298
|
+
};
|
|
299
|
+
body = JSON.stringify(serializeAws_json1_1CreateInferenceRecommendationsJobRequest(input, context));
|
|
300
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
301
|
+
});
|
|
302
|
+
}); };
|
|
292
303
|
export var serializeAws_json1_1CreateLabelingJobCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
293
304
|
var headers, body;
|
|
294
305
|
return __generator(this, function (_a) {
|
|
@@ -1224,6 +1235,17 @@ export var serializeAws_json1_1DescribeImageVersionCommand = function (input, co
|
|
|
1224
1235
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1225
1236
|
});
|
|
1226
1237
|
}); };
|
|
1238
|
+
export var serializeAws_json1_1DescribeInferenceRecommendationsJobCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1239
|
+
var headers, body;
|
|
1240
|
+
return __generator(this, function (_a) {
|
|
1241
|
+
headers = {
|
|
1242
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1243
|
+
"x-amz-target": "SageMaker.DescribeInferenceRecommendationsJob",
|
|
1244
|
+
};
|
|
1245
|
+
body = JSON.stringify(serializeAws_json1_1DescribeInferenceRecommendationsJobRequest(input, context));
|
|
1246
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1247
|
+
});
|
|
1248
|
+
}); };
|
|
1227
1249
|
export var serializeAws_json1_1DescribeLabelingJobCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1228
1250
|
var headers, body;
|
|
1229
1251
|
return __generator(this, function (_a) {
|
|
@@ -1235,6 +1257,17 @@ export var serializeAws_json1_1DescribeLabelingJobCommand = function (input, con
|
|
|
1235
1257
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1236
1258
|
});
|
|
1237
1259
|
}); };
|
|
1260
|
+
export var serializeAws_json1_1DescribeLineageGroupCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1261
|
+
var headers, body;
|
|
1262
|
+
return __generator(this, function (_a) {
|
|
1263
|
+
headers = {
|
|
1264
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1265
|
+
"x-amz-target": "SageMaker.DescribeLineageGroup",
|
|
1266
|
+
};
|
|
1267
|
+
body = JSON.stringify(serializeAws_json1_1DescribeLineageGroupRequest(input, context));
|
|
1268
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1269
|
+
});
|
|
1270
|
+
}); };
|
|
1238
1271
|
export var serializeAws_json1_1DescribeModelCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1239
1272
|
var headers, body;
|
|
1240
1273
|
return __generator(this, function (_a) {
|
|
@@ -1532,6 +1565,17 @@ export var serializeAws_json1_1GetDeviceFleetReportCommand = function (input, co
|
|
|
1532
1565
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1533
1566
|
});
|
|
1534
1567
|
}); };
|
|
1568
|
+
export var serializeAws_json1_1GetLineageGroupPolicyCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1569
|
+
var headers, body;
|
|
1570
|
+
return __generator(this, function (_a) {
|
|
1571
|
+
headers = {
|
|
1572
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1573
|
+
"x-amz-target": "SageMaker.GetLineageGroupPolicy",
|
|
1574
|
+
};
|
|
1575
|
+
body = JSON.stringify(serializeAws_json1_1GetLineageGroupPolicyRequest(input, context));
|
|
1576
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1577
|
+
});
|
|
1578
|
+
}); };
|
|
1535
1579
|
export var serializeAws_json1_1GetModelPackageGroupPolicyCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1536
1580
|
var headers, body;
|
|
1537
1581
|
return __generator(this, function (_a) {
|
|
@@ -1840,6 +1884,17 @@ export var serializeAws_json1_1ListImageVersionsCommand = function (input, conte
|
|
|
1840
1884
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1841
1885
|
});
|
|
1842
1886
|
}); };
|
|
1887
|
+
export var serializeAws_json1_1ListInferenceRecommendationsJobsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1888
|
+
var headers, body;
|
|
1889
|
+
return __generator(this, function (_a) {
|
|
1890
|
+
headers = {
|
|
1891
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1892
|
+
"x-amz-target": "SageMaker.ListInferenceRecommendationsJobs",
|
|
1893
|
+
};
|
|
1894
|
+
body = JSON.stringify(serializeAws_json1_1ListInferenceRecommendationsJobsRequest(input, context));
|
|
1895
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1896
|
+
});
|
|
1897
|
+
}); };
|
|
1843
1898
|
export var serializeAws_json1_1ListLabelingJobsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1844
1899
|
var headers, body;
|
|
1845
1900
|
return __generator(this, function (_a) {
|
|
@@ -1862,6 +1917,17 @@ export var serializeAws_json1_1ListLabelingJobsForWorkteamCommand = function (in
|
|
|
1862
1917
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1863
1918
|
});
|
|
1864
1919
|
}); };
|
|
1920
|
+
export var serializeAws_json1_1ListLineageGroupsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1921
|
+
var headers, body;
|
|
1922
|
+
return __generator(this, function (_a) {
|
|
1923
|
+
headers = {
|
|
1924
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1925
|
+
"x-amz-target": "SageMaker.ListLineageGroups",
|
|
1926
|
+
};
|
|
1927
|
+
body = JSON.stringify(serializeAws_json1_1ListLineageGroupsRequest(input, context));
|
|
1928
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1929
|
+
});
|
|
1930
|
+
}); };
|
|
1865
1931
|
export var serializeAws_json1_1ListModelBiasJobDefinitionsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1866
1932
|
var headers, body;
|
|
1867
1933
|
return __generator(this, function (_a) {
|
|
@@ -1884,6 +1950,17 @@ export var serializeAws_json1_1ListModelExplainabilityJobDefinitionsCommand = fu
|
|
|
1884
1950
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1885
1951
|
});
|
|
1886
1952
|
}); };
|
|
1953
|
+
export var serializeAws_json1_1ListModelMetadataCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1954
|
+
var headers, body;
|
|
1955
|
+
return __generator(this, function (_a) {
|
|
1956
|
+
headers = {
|
|
1957
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1958
|
+
"x-amz-target": "SageMaker.ListModelMetadata",
|
|
1959
|
+
};
|
|
1960
|
+
body = JSON.stringify(serializeAws_json1_1ListModelMetadataRequest(input, context));
|
|
1961
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
1962
|
+
});
|
|
1963
|
+
}); };
|
|
1887
1964
|
export var serializeAws_json1_1ListModelPackageGroupsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1888
1965
|
var headers, body;
|
|
1889
1966
|
return __generator(this, function (_a) {
|
|
@@ -2170,6 +2247,17 @@ export var serializeAws_json1_1PutModelPackageGroupPolicyCommand = function (inp
|
|
|
2170
2247
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
2171
2248
|
});
|
|
2172
2249
|
}); };
|
|
2250
|
+
export var serializeAws_json1_1QueryLineageCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2251
|
+
var headers, body;
|
|
2252
|
+
return __generator(this, function (_a) {
|
|
2253
|
+
headers = {
|
|
2254
|
+
"content-type": "application/x-amz-json-1.1",
|
|
2255
|
+
"x-amz-target": "SageMaker.QueryLineage",
|
|
2256
|
+
};
|
|
2257
|
+
body = JSON.stringify(serializeAws_json1_1QueryLineageRequest(input, context));
|
|
2258
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
2259
|
+
});
|
|
2260
|
+
}); };
|
|
2173
2261
|
export var serializeAws_json1_1RegisterDevicesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2174
2262
|
var headers, body;
|
|
2175
2263
|
return __generator(this, function (_a) {
|
|
@@ -2313,6 +2401,17 @@ export var serializeAws_json1_1StopHyperParameterTuningJobCommand = function (in
|
|
|
2313
2401
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
2314
2402
|
});
|
|
2315
2403
|
}); };
|
|
2404
|
+
export var serializeAws_json1_1StopInferenceRecommendationsJobCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2405
|
+
var headers, body;
|
|
2406
|
+
return __generator(this, function (_a) {
|
|
2407
|
+
headers = {
|
|
2408
|
+
"content-type": "application/x-amz-json-1.1",
|
|
2409
|
+
"x-amz-target": "SageMaker.StopInferenceRecommendationsJob",
|
|
2410
|
+
};
|
|
2411
|
+
body = JSON.stringify(serializeAws_json1_1StopInferenceRecommendationsJobRequest(input, context));
|
|
2412
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
2413
|
+
});
|
|
2414
|
+
}); };
|
|
2316
2415
|
export var serializeAws_json1_1StopLabelingJobCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2317
2416
|
var headers, body;
|
|
2318
2417
|
return __generator(this, function (_a) {
|
|
@@ -4193,6 +4292,70 @@ var deserializeAws_json1_1CreateImageVersionCommandError = function (output, con
|
|
|
4193
4292
|
}
|
|
4194
4293
|
});
|
|
4195
4294
|
}); };
|
|
4295
|
+
export var deserializeAws_json1_1CreateInferenceRecommendationsJobCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4296
|
+
var data, contents, response;
|
|
4297
|
+
return __generator(this, function (_a) {
|
|
4298
|
+
switch (_a.label) {
|
|
4299
|
+
case 0:
|
|
4300
|
+
if (output.statusCode >= 300) {
|
|
4301
|
+
return [2, deserializeAws_json1_1CreateInferenceRecommendationsJobCommandError(output, context)];
|
|
4302
|
+
}
|
|
4303
|
+
return [4, parseBody(output.body, context)];
|
|
4304
|
+
case 1:
|
|
4305
|
+
data = _a.sent();
|
|
4306
|
+
contents = {};
|
|
4307
|
+
contents = deserializeAws_json1_1CreateInferenceRecommendationsJobResponse(data, context);
|
|
4308
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
4309
|
+
return [2, Promise.resolve(response)];
|
|
4310
|
+
}
|
|
4311
|
+
});
|
|
4312
|
+
}); };
|
|
4313
|
+
var deserializeAws_json1_1CreateInferenceRecommendationsJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4314
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, parsedBody, message;
|
|
4315
|
+
var _e;
|
|
4316
|
+
return __generator(this, function (_f) {
|
|
4317
|
+
switch (_f.label) {
|
|
4318
|
+
case 0:
|
|
4319
|
+
_a = [__assign({}, output)];
|
|
4320
|
+
_e = {};
|
|
4321
|
+
return [4, parseBody(output.body, context)];
|
|
4322
|
+
case 1:
|
|
4323
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_e.body = _f.sent(), _e)]));
|
|
4324
|
+
errorCode = "UnknownError";
|
|
4325
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4326
|
+
_b = errorCode;
|
|
4327
|
+
switch (_b) {
|
|
4328
|
+
case "ResourceInUse": return [3, 2];
|
|
4329
|
+
case "com.amazonaws.sagemaker#ResourceInUse": return [3, 2];
|
|
4330
|
+
case "ResourceLimitExceeded": return [3, 4];
|
|
4331
|
+
case "com.amazonaws.sagemaker#ResourceLimitExceeded": return [3, 4];
|
|
4332
|
+
}
|
|
4333
|
+
return [3, 6];
|
|
4334
|
+
case 2:
|
|
4335
|
+
_c = [{}];
|
|
4336
|
+
return [4, deserializeAws_json1_1ResourceInUseResponse(parsedOutput, context)];
|
|
4337
|
+
case 3:
|
|
4338
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
4339
|
+
return [3, 7];
|
|
4340
|
+
case 4:
|
|
4341
|
+
_d = [{}];
|
|
4342
|
+
return [4, deserializeAws_json1_1ResourceLimitExceededResponse(parsedOutput, context)];
|
|
4343
|
+
case 5:
|
|
4344
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
4345
|
+
return [3, 7];
|
|
4346
|
+
case 6:
|
|
4347
|
+
parsedBody = parsedOutput.body;
|
|
4348
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
4349
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
4350
|
+
_f.label = 7;
|
|
4351
|
+
case 7:
|
|
4352
|
+
message = response.message || response.Message || errorCode;
|
|
4353
|
+
response.message = message;
|
|
4354
|
+
delete response.Message;
|
|
4355
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
4356
|
+
}
|
|
4357
|
+
});
|
|
4358
|
+
}); };
|
|
4196
4359
|
export var deserializeAws_json1_1CreateLabelingJobCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4197
4360
|
var data, contents, response;
|
|
4198
4361
|
return __generator(this, function (_a) {
|
|
@@ -8933,6 +9096,62 @@ var deserializeAws_json1_1DescribeImageVersionCommandError = function (output, c
|
|
|
8933
9096
|
}
|
|
8934
9097
|
});
|
|
8935
9098
|
}); };
|
|
9099
|
+
export var deserializeAws_json1_1DescribeInferenceRecommendationsJobCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
9100
|
+
var data, contents, response;
|
|
9101
|
+
return __generator(this, function (_a) {
|
|
9102
|
+
switch (_a.label) {
|
|
9103
|
+
case 0:
|
|
9104
|
+
if (output.statusCode >= 300) {
|
|
9105
|
+
return [2, deserializeAws_json1_1DescribeInferenceRecommendationsJobCommandError(output, context)];
|
|
9106
|
+
}
|
|
9107
|
+
return [4, parseBody(output.body, context)];
|
|
9108
|
+
case 1:
|
|
9109
|
+
data = _a.sent();
|
|
9110
|
+
contents = {};
|
|
9111
|
+
contents = deserializeAws_json1_1DescribeInferenceRecommendationsJobResponse(data, context);
|
|
9112
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
9113
|
+
return [2, Promise.resolve(response)];
|
|
9114
|
+
}
|
|
9115
|
+
});
|
|
9116
|
+
}); };
|
|
9117
|
+
var deserializeAws_json1_1DescribeInferenceRecommendationsJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
9118
|
+
var parsedOutput, _a, response, errorCode, _b, _c, parsedBody, message;
|
|
9119
|
+
var _d;
|
|
9120
|
+
return __generator(this, function (_e) {
|
|
9121
|
+
switch (_e.label) {
|
|
9122
|
+
case 0:
|
|
9123
|
+
_a = [__assign({}, output)];
|
|
9124
|
+
_d = {};
|
|
9125
|
+
return [4, parseBody(output.body, context)];
|
|
9126
|
+
case 1:
|
|
9127
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_d.body = _e.sent(), _d)]));
|
|
9128
|
+
errorCode = "UnknownError";
|
|
9129
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9130
|
+
_b = errorCode;
|
|
9131
|
+
switch (_b) {
|
|
9132
|
+
case "ResourceNotFound": return [3, 2];
|
|
9133
|
+
case "com.amazonaws.sagemaker#ResourceNotFound": return [3, 2];
|
|
9134
|
+
}
|
|
9135
|
+
return [3, 4];
|
|
9136
|
+
case 2:
|
|
9137
|
+
_c = [{}];
|
|
9138
|
+
return [4, deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context)];
|
|
9139
|
+
case 3:
|
|
9140
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_e.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
9141
|
+
return [3, 5];
|
|
9142
|
+
case 4:
|
|
9143
|
+
parsedBody = parsedOutput.body;
|
|
9144
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
9145
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
9146
|
+
_e.label = 5;
|
|
9147
|
+
case 5:
|
|
9148
|
+
message = response.message || response.Message || errorCode;
|
|
9149
|
+
response.message = message;
|
|
9150
|
+
delete response.Message;
|
|
9151
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
9152
|
+
}
|
|
9153
|
+
});
|
|
9154
|
+
}); };
|
|
8936
9155
|
export var deserializeAws_json1_1DescribeLabelingJobCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
8937
9156
|
var data, contents, response;
|
|
8938
9157
|
return __generator(this, function (_a) {
|
|
@@ -8989,6 +9208,62 @@ var deserializeAws_json1_1DescribeLabelingJobCommandError = function (output, co
|
|
|
8989
9208
|
}
|
|
8990
9209
|
});
|
|
8991
9210
|
}); };
|
|
9211
|
+
export var deserializeAws_json1_1DescribeLineageGroupCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
9212
|
+
var data, contents, response;
|
|
9213
|
+
return __generator(this, function (_a) {
|
|
9214
|
+
switch (_a.label) {
|
|
9215
|
+
case 0:
|
|
9216
|
+
if (output.statusCode >= 300) {
|
|
9217
|
+
return [2, deserializeAws_json1_1DescribeLineageGroupCommandError(output, context)];
|
|
9218
|
+
}
|
|
9219
|
+
return [4, parseBody(output.body, context)];
|
|
9220
|
+
case 1:
|
|
9221
|
+
data = _a.sent();
|
|
9222
|
+
contents = {};
|
|
9223
|
+
contents = deserializeAws_json1_1DescribeLineageGroupResponse(data, context);
|
|
9224
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
9225
|
+
return [2, Promise.resolve(response)];
|
|
9226
|
+
}
|
|
9227
|
+
});
|
|
9228
|
+
}); };
|
|
9229
|
+
var deserializeAws_json1_1DescribeLineageGroupCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
9230
|
+
var parsedOutput, _a, response, errorCode, _b, _c, parsedBody, message;
|
|
9231
|
+
var _d;
|
|
9232
|
+
return __generator(this, function (_e) {
|
|
9233
|
+
switch (_e.label) {
|
|
9234
|
+
case 0:
|
|
9235
|
+
_a = [__assign({}, output)];
|
|
9236
|
+
_d = {};
|
|
9237
|
+
return [4, parseBody(output.body, context)];
|
|
9238
|
+
case 1:
|
|
9239
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_d.body = _e.sent(), _d)]));
|
|
9240
|
+
errorCode = "UnknownError";
|
|
9241
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9242
|
+
_b = errorCode;
|
|
9243
|
+
switch (_b) {
|
|
9244
|
+
case "ResourceNotFound": return [3, 2];
|
|
9245
|
+
case "com.amazonaws.sagemaker#ResourceNotFound": return [3, 2];
|
|
9246
|
+
}
|
|
9247
|
+
return [3, 4];
|
|
9248
|
+
case 2:
|
|
9249
|
+
_c = [{}];
|
|
9250
|
+
return [4, deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context)];
|
|
9251
|
+
case 3:
|
|
9252
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_e.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
9253
|
+
return [3, 5];
|
|
9254
|
+
case 4:
|
|
9255
|
+
parsedBody = parsedOutput.body;
|
|
9256
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
9257
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
9258
|
+
_e.label = 5;
|
|
9259
|
+
case 5:
|
|
9260
|
+
message = response.message || response.Message || errorCode;
|
|
9261
|
+
response.message = message;
|
|
9262
|
+
delete response.Message;
|
|
9263
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
9264
|
+
}
|
|
9265
|
+
});
|
|
9266
|
+
}); };
|
|
8992
9267
|
export var deserializeAws_json1_1DescribeModelCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
8993
9268
|
var data, contents, response;
|
|
8994
9269
|
return __generator(this, function (_a) {
|
|
@@ -10357,41 +10632,97 @@ var deserializeAws_json1_1GetDeviceFleetReportCommandError = function (output, c
|
|
|
10357
10632
|
}
|
|
10358
10633
|
});
|
|
10359
10634
|
}); };
|
|
10360
|
-
export var
|
|
10635
|
+
export var deserializeAws_json1_1GetLineageGroupPolicyCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10361
10636
|
var data, contents, response;
|
|
10362
10637
|
return __generator(this, function (_a) {
|
|
10363
10638
|
switch (_a.label) {
|
|
10364
10639
|
case 0:
|
|
10365
10640
|
if (output.statusCode >= 300) {
|
|
10366
|
-
return [2,
|
|
10641
|
+
return [2, deserializeAws_json1_1GetLineageGroupPolicyCommandError(output, context)];
|
|
10367
10642
|
}
|
|
10368
10643
|
return [4, parseBody(output.body, context)];
|
|
10369
10644
|
case 1:
|
|
10370
10645
|
data = _a.sent();
|
|
10371
10646
|
contents = {};
|
|
10372
|
-
contents =
|
|
10647
|
+
contents = deserializeAws_json1_1GetLineageGroupPolicyResponse(data, context);
|
|
10373
10648
|
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
10374
10649
|
return [2, Promise.resolve(response)];
|
|
10375
10650
|
}
|
|
10376
10651
|
});
|
|
10377
10652
|
}); };
|
|
10378
|
-
var
|
|
10379
|
-
var parsedOutput, _a, response, errorCode, parsedBody, message;
|
|
10380
|
-
var
|
|
10381
|
-
return __generator(this, function (
|
|
10382
|
-
switch (
|
|
10653
|
+
var deserializeAws_json1_1GetLineageGroupPolicyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10654
|
+
var parsedOutput, _a, response, errorCode, _b, _c, parsedBody, message;
|
|
10655
|
+
var _d;
|
|
10656
|
+
return __generator(this, function (_e) {
|
|
10657
|
+
switch (_e.label) {
|
|
10383
10658
|
case 0:
|
|
10384
10659
|
_a = [__assign({}, output)];
|
|
10385
|
-
|
|
10660
|
+
_d = {};
|
|
10386
10661
|
return [4, parseBody(output.body, context)];
|
|
10387
10662
|
case 1:
|
|
10388
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
10663
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_d.body = _e.sent(), _d)]));
|
|
10389
10664
|
errorCode = "UnknownError";
|
|
10390
10665
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10391
|
-
|
|
10392
|
-
|
|
10393
|
-
|
|
10394
|
-
|
|
10666
|
+
_b = errorCode;
|
|
10667
|
+
switch (_b) {
|
|
10668
|
+
case "ResourceNotFound": return [3, 2];
|
|
10669
|
+
case "com.amazonaws.sagemaker#ResourceNotFound": return [3, 2];
|
|
10670
|
+
}
|
|
10671
|
+
return [3, 4];
|
|
10672
|
+
case 2:
|
|
10673
|
+
_c = [{}];
|
|
10674
|
+
return [4, deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context)];
|
|
10675
|
+
case 3:
|
|
10676
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_e.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
10677
|
+
return [3, 5];
|
|
10678
|
+
case 4:
|
|
10679
|
+
parsedBody = parsedOutput.body;
|
|
10680
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
10681
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
10682
|
+
_e.label = 5;
|
|
10683
|
+
case 5:
|
|
10684
|
+
message = response.message || response.Message || errorCode;
|
|
10685
|
+
response.message = message;
|
|
10686
|
+
delete response.Message;
|
|
10687
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
10688
|
+
}
|
|
10689
|
+
});
|
|
10690
|
+
}); };
|
|
10691
|
+
export var deserializeAws_json1_1GetModelPackageGroupPolicyCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10692
|
+
var data, contents, response;
|
|
10693
|
+
return __generator(this, function (_a) {
|
|
10694
|
+
switch (_a.label) {
|
|
10695
|
+
case 0:
|
|
10696
|
+
if (output.statusCode >= 300) {
|
|
10697
|
+
return [2, deserializeAws_json1_1GetModelPackageGroupPolicyCommandError(output, context)];
|
|
10698
|
+
}
|
|
10699
|
+
return [4, parseBody(output.body, context)];
|
|
10700
|
+
case 1:
|
|
10701
|
+
data = _a.sent();
|
|
10702
|
+
contents = {};
|
|
10703
|
+
contents = deserializeAws_json1_1GetModelPackageGroupPolicyOutput(data, context);
|
|
10704
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
10705
|
+
return [2, Promise.resolve(response)];
|
|
10706
|
+
}
|
|
10707
|
+
});
|
|
10708
|
+
}); };
|
|
10709
|
+
var deserializeAws_json1_1GetModelPackageGroupPolicyCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
10710
|
+
var parsedOutput, _a, response, errorCode, parsedBody, message;
|
|
10711
|
+
var _b;
|
|
10712
|
+
return __generator(this, function (_c) {
|
|
10713
|
+
switch (_c.label) {
|
|
10714
|
+
case 0:
|
|
10715
|
+
_a = [__assign({}, output)];
|
|
10716
|
+
_b = {};
|
|
10717
|
+
return [4, parseBody(output.body, context)];
|
|
10718
|
+
case 1:
|
|
10719
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_b.body = _c.sent(), _b)]));
|
|
10720
|
+
errorCode = "UnknownError";
|
|
10721
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10722
|
+
switch (errorCode) {
|
|
10723
|
+
default:
|
|
10724
|
+
parsedBody = parsedOutput.body;
|
|
10725
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
10395
10726
|
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
10396
10727
|
}
|
|
10397
10728
|
message = response.message || response.Message || errorCode;
|
|
@@ -11661,6 +11992,50 @@ var deserializeAws_json1_1ListImageVersionsCommandError = function (output, cont
|
|
|
11661
11992
|
}
|
|
11662
11993
|
});
|
|
11663
11994
|
}); };
|
|
11995
|
+
export var deserializeAws_json1_1ListInferenceRecommendationsJobsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
11996
|
+
var data, contents, response;
|
|
11997
|
+
return __generator(this, function (_a) {
|
|
11998
|
+
switch (_a.label) {
|
|
11999
|
+
case 0:
|
|
12000
|
+
if (output.statusCode >= 300) {
|
|
12001
|
+
return [2, deserializeAws_json1_1ListInferenceRecommendationsJobsCommandError(output, context)];
|
|
12002
|
+
}
|
|
12003
|
+
return [4, parseBody(output.body, context)];
|
|
12004
|
+
case 1:
|
|
12005
|
+
data = _a.sent();
|
|
12006
|
+
contents = {};
|
|
12007
|
+
contents = deserializeAws_json1_1ListInferenceRecommendationsJobsResponse(data, context);
|
|
12008
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
12009
|
+
return [2, Promise.resolve(response)];
|
|
12010
|
+
}
|
|
12011
|
+
});
|
|
12012
|
+
}); };
|
|
12013
|
+
var deserializeAws_json1_1ListInferenceRecommendationsJobsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
12014
|
+
var parsedOutput, _a, response, errorCode, parsedBody, message;
|
|
12015
|
+
var _b;
|
|
12016
|
+
return __generator(this, function (_c) {
|
|
12017
|
+
switch (_c.label) {
|
|
12018
|
+
case 0:
|
|
12019
|
+
_a = [__assign({}, output)];
|
|
12020
|
+
_b = {};
|
|
12021
|
+
return [4, parseBody(output.body, context)];
|
|
12022
|
+
case 1:
|
|
12023
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_b.body = _c.sent(), _b)]));
|
|
12024
|
+
errorCode = "UnknownError";
|
|
12025
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
12026
|
+
switch (errorCode) {
|
|
12027
|
+
default:
|
|
12028
|
+
parsedBody = parsedOutput.body;
|
|
12029
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
12030
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
12031
|
+
}
|
|
12032
|
+
message = response.message || response.Message || errorCode;
|
|
12033
|
+
response.message = message;
|
|
12034
|
+
delete response.Message;
|
|
12035
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
12036
|
+
}
|
|
12037
|
+
});
|
|
12038
|
+
}); };
|
|
11664
12039
|
export var deserializeAws_json1_1ListLabelingJobsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
11665
12040
|
var data, contents, response;
|
|
11666
12041
|
return __generator(this, function (_a) {
|
|
@@ -11761,6 +12136,50 @@ var deserializeAws_json1_1ListLabelingJobsForWorkteamCommandError = function (ou
|
|
|
11761
12136
|
}
|
|
11762
12137
|
});
|
|
11763
12138
|
}); };
|
|
12139
|
+
export var deserializeAws_json1_1ListLineageGroupsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
12140
|
+
var data, contents, response;
|
|
12141
|
+
return __generator(this, function (_a) {
|
|
12142
|
+
switch (_a.label) {
|
|
12143
|
+
case 0:
|
|
12144
|
+
if (output.statusCode >= 300) {
|
|
12145
|
+
return [2, deserializeAws_json1_1ListLineageGroupsCommandError(output, context)];
|
|
12146
|
+
}
|
|
12147
|
+
return [4, parseBody(output.body, context)];
|
|
12148
|
+
case 1:
|
|
12149
|
+
data = _a.sent();
|
|
12150
|
+
contents = {};
|
|
12151
|
+
contents = deserializeAws_json1_1ListLineageGroupsResponse(data, context);
|
|
12152
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
12153
|
+
return [2, Promise.resolve(response)];
|
|
12154
|
+
}
|
|
12155
|
+
});
|
|
12156
|
+
}); };
|
|
12157
|
+
var deserializeAws_json1_1ListLineageGroupsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
12158
|
+
var parsedOutput, _a, response, errorCode, parsedBody, message;
|
|
12159
|
+
var _b;
|
|
12160
|
+
return __generator(this, function (_c) {
|
|
12161
|
+
switch (_c.label) {
|
|
12162
|
+
case 0:
|
|
12163
|
+
_a = [__assign({}, output)];
|
|
12164
|
+
_b = {};
|
|
12165
|
+
return [4, parseBody(output.body, context)];
|
|
12166
|
+
case 1:
|
|
12167
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_b.body = _c.sent(), _b)]));
|
|
12168
|
+
errorCode = "UnknownError";
|
|
12169
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
12170
|
+
switch (errorCode) {
|
|
12171
|
+
default:
|
|
12172
|
+
parsedBody = parsedOutput.body;
|
|
12173
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
12174
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
12175
|
+
}
|
|
12176
|
+
message = response.message || response.Message || errorCode;
|
|
12177
|
+
response.message = message;
|
|
12178
|
+
delete response.Message;
|
|
12179
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
12180
|
+
}
|
|
12181
|
+
});
|
|
12182
|
+
}); };
|
|
11764
12183
|
export var deserializeAws_json1_1ListModelBiasJobDefinitionsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
11765
12184
|
var data, contents, response;
|
|
11766
12185
|
return __generator(this, function (_a) {
|
|
@@ -11849,6 +12268,50 @@ var deserializeAws_json1_1ListModelExplainabilityJobDefinitionsCommandError = fu
|
|
|
11849
12268
|
}
|
|
11850
12269
|
});
|
|
11851
12270
|
}); };
|
|
12271
|
+
export var deserializeAws_json1_1ListModelMetadataCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
12272
|
+
var data, contents, response;
|
|
12273
|
+
return __generator(this, function (_a) {
|
|
12274
|
+
switch (_a.label) {
|
|
12275
|
+
case 0:
|
|
12276
|
+
if (output.statusCode >= 300) {
|
|
12277
|
+
return [2, deserializeAws_json1_1ListModelMetadataCommandError(output, context)];
|
|
12278
|
+
}
|
|
12279
|
+
return [4, parseBody(output.body, context)];
|
|
12280
|
+
case 1:
|
|
12281
|
+
data = _a.sent();
|
|
12282
|
+
contents = {};
|
|
12283
|
+
contents = deserializeAws_json1_1ListModelMetadataResponse(data, context);
|
|
12284
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
12285
|
+
return [2, Promise.resolve(response)];
|
|
12286
|
+
}
|
|
12287
|
+
});
|
|
12288
|
+
}); };
|
|
12289
|
+
var deserializeAws_json1_1ListModelMetadataCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
12290
|
+
var parsedOutput, _a, response, errorCode, parsedBody, message;
|
|
12291
|
+
var _b;
|
|
12292
|
+
return __generator(this, function (_c) {
|
|
12293
|
+
switch (_c.label) {
|
|
12294
|
+
case 0:
|
|
12295
|
+
_a = [__assign({}, output)];
|
|
12296
|
+
_b = {};
|
|
12297
|
+
return [4, parseBody(output.body, context)];
|
|
12298
|
+
case 1:
|
|
12299
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_b.body = _c.sent(), _b)]));
|
|
12300
|
+
errorCode = "UnknownError";
|
|
12301
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
12302
|
+
switch (errorCode) {
|
|
12303
|
+
default:
|
|
12304
|
+
parsedBody = parsedOutput.body;
|
|
12305
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
12306
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
12307
|
+
}
|
|
12308
|
+
message = response.message || response.Message || errorCode;
|
|
12309
|
+
response.message = message;
|
|
12310
|
+
delete response.Message;
|
|
12311
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
12312
|
+
}
|
|
12313
|
+
});
|
|
12314
|
+
}); };
|
|
11852
12315
|
export var deserializeAws_json1_1ListModelPackageGroupsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
11853
12316
|
var data, contents, response;
|
|
11854
12317
|
return __generator(this, function (_a) {
|
|
@@ -13077,6 +13540,62 @@ var deserializeAws_json1_1PutModelPackageGroupPolicyCommandError = function (out
|
|
|
13077
13540
|
}
|
|
13078
13541
|
});
|
|
13079
13542
|
}); };
|
|
13543
|
+
export var deserializeAws_json1_1QueryLineageCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
13544
|
+
var data, contents, response;
|
|
13545
|
+
return __generator(this, function (_a) {
|
|
13546
|
+
switch (_a.label) {
|
|
13547
|
+
case 0:
|
|
13548
|
+
if (output.statusCode >= 300) {
|
|
13549
|
+
return [2, deserializeAws_json1_1QueryLineageCommandError(output, context)];
|
|
13550
|
+
}
|
|
13551
|
+
return [4, parseBody(output.body, context)];
|
|
13552
|
+
case 1:
|
|
13553
|
+
data = _a.sent();
|
|
13554
|
+
contents = {};
|
|
13555
|
+
contents = deserializeAws_json1_1QueryLineageResponse(data, context);
|
|
13556
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
13557
|
+
return [2, Promise.resolve(response)];
|
|
13558
|
+
}
|
|
13559
|
+
});
|
|
13560
|
+
}); };
|
|
13561
|
+
var deserializeAws_json1_1QueryLineageCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
13562
|
+
var parsedOutput, _a, response, errorCode, _b, _c, parsedBody, message;
|
|
13563
|
+
var _d;
|
|
13564
|
+
return __generator(this, function (_e) {
|
|
13565
|
+
switch (_e.label) {
|
|
13566
|
+
case 0:
|
|
13567
|
+
_a = [__assign({}, output)];
|
|
13568
|
+
_d = {};
|
|
13569
|
+
return [4, parseBody(output.body, context)];
|
|
13570
|
+
case 1:
|
|
13571
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_d.body = _e.sent(), _d)]));
|
|
13572
|
+
errorCode = "UnknownError";
|
|
13573
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
13574
|
+
_b = errorCode;
|
|
13575
|
+
switch (_b) {
|
|
13576
|
+
case "ResourceNotFound": return [3, 2];
|
|
13577
|
+
case "com.amazonaws.sagemaker#ResourceNotFound": return [3, 2];
|
|
13578
|
+
}
|
|
13579
|
+
return [3, 4];
|
|
13580
|
+
case 2:
|
|
13581
|
+
_c = [{}];
|
|
13582
|
+
return [4, deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context)];
|
|
13583
|
+
case 3:
|
|
13584
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_e.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
13585
|
+
return [3, 5];
|
|
13586
|
+
case 4:
|
|
13587
|
+
parsedBody = parsedOutput.body;
|
|
13588
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
13589
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
13590
|
+
_e.label = 5;
|
|
13591
|
+
case 5:
|
|
13592
|
+
message = response.message || response.Message || errorCode;
|
|
13593
|
+
response.message = message;
|
|
13594
|
+
delete response.Message;
|
|
13595
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
13596
|
+
}
|
|
13597
|
+
});
|
|
13598
|
+
}); };
|
|
13080
13599
|
export var deserializeAws_json1_1RegisterDevicesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
13081
13600
|
var response;
|
|
13082
13601
|
return __generator(this, function (_a) {
|
|
@@ -13821,6 +14340,62 @@ var deserializeAws_json1_1StopHyperParameterTuningJobCommandError = function (ou
|
|
|
13821
14340
|
}
|
|
13822
14341
|
});
|
|
13823
14342
|
}); };
|
|
14343
|
+
export var deserializeAws_json1_1StopInferenceRecommendationsJobCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
14344
|
+
var response;
|
|
14345
|
+
return __generator(this, function (_a) {
|
|
14346
|
+
switch (_a.label) {
|
|
14347
|
+
case 0:
|
|
14348
|
+
if (output.statusCode >= 300) {
|
|
14349
|
+
return [2, deserializeAws_json1_1StopInferenceRecommendationsJobCommandError(output, context)];
|
|
14350
|
+
}
|
|
14351
|
+
return [4, collectBody(output.body, context)];
|
|
14352
|
+
case 1:
|
|
14353
|
+
_a.sent();
|
|
14354
|
+
response = {
|
|
14355
|
+
$metadata: deserializeMetadata(output),
|
|
14356
|
+
};
|
|
14357
|
+
return [2, Promise.resolve(response)];
|
|
14358
|
+
}
|
|
14359
|
+
});
|
|
14360
|
+
}); };
|
|
14361
|
+
var deserializeAws_json1_1StopInferenceRecommendationsJobCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
14362
|
+
var parsedOutput, _a, response, errorCode, _b, _c, parsedBody, message;
|
|
14363
|
+
var _d;
|
|
14364
|
+
return __generator(this, function (_e) {
|
|
14365
|
+
switch (_e.label) {
|
|
14366
|
+
case 0:
|
|
14367
|
+
_a = [__assign({}, output)];
|
|
14368
|
+
_d = {};
|
|
14369
|
+
return [4, parseBody(output.body, context)];
|
|
14370
|
+
case 1:
|
|
14371
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_d.body = _e.sent(), _d)]));
|
|
14372
|
+
errorCode = "UnknownError";
|
|
14373
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
14374
|
+
_b = errorCode;
|
|
14375
|
+
switch (_b) {
|
|
14376
|
+
case "ResourceNotFound": return [3, 2];
|
|
14377
|
+
case "com.amazonaws.sagemaker#ResourceNotFound": return [3, 2];
|
|
14378
|
+
}
|
|
14379
|
+
return [3, 4];
|
|
14380
|
+
case 2:
|
|
14381
|
+
_c = [{}];
|
|
14382
|
+
return [4, deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context)];
|
|
14383
|
+
case 3:
|
|
14384
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_e.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
14385
|
+
return [3, 5];
|
|
14386
|
+
case 4:
|
|
14387
|
+
parsedBody = parsedOutput.body;
|
|
14388
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
14389
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
14390
|
+
_e.label = 5;
|
|
14391
|
+
case 5:
|
|
14392
|
+
message = response.message || response.Message || errorCode;
|
|
14393
|
+
response.message = message;
|
|
14394
|
+
delete response.Message;
|
|
14395
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
14396
|
+
}
|
|
14397
|
+
});
|
|
14398
|
+
}); };
|
|
13824
14399
|
export var deserializeAws_json1_1StopLabelingJobCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
13825
14400
|
var response;
|
|
13826
14401
|
return __generator(this, function (_a) {
|
|
@@ -15691,6 +16266,34 @@ var serializeAws_json1_1AdditionalCodeRepositoryNamesOrUrls = function (input, c
|
|
|
15691
16266
|
return entry;
|
|
15692
16267
|
});
|
|
15693
16268
|
};
|
|
16269
|
+
var serializeAws_json1_1AdditionalInferenceSpecificationDefinition = function (input, context) {
|
|
16270
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Containers !== undefined &&
|
|
16271
|
+
input.Containers !== null && {
|
|
16272
|
+
Containers: serializeAws_json1_1ModelPackageContainerDefinitionList(input.Containers, context),
|
|
16273
|
+
})), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.SupportedContentTypes !== undefined &&
|
|
16274
|
+
input.SupportedContentTypes !== null && {
|
|
16275
|
+
SupportedContentTypes: serializeAws_json1_1ContentTypes(input.SupportedContentTypes, context),
|
|
16276
|
+
})), (input.SupportedRealtimeInferenceInstanceTypes !== undefined &&
|
|
16277
|
+
input.SupportedRealtimeInferenceInstanceTypes !== null && {
|
|
16278
|
+
SupportedRealtimeInferenceInstanceTypes: serializeAws_json1_1RealtimeInferenceInstanceTypes(input.SupportedRealtimeInferenceInstanceTypes, context),
|
|
16279
|
+
})), (input.SupportedResponseMIMETypes !== undefined &&
|
|
16280
|
+
input.SupportedResponseMIMETypes !== null && {
|
|
16281
|
+
SupportedResponseMIMETypes: serializeAws_json1_1ResponseMIMETypes(input.SupportedResponseMIMETypes, context),
|
|
16282
|
+
})), (input.SupportedTransformInstanceTypes !== undefined &&
|
|
16283
|
+
input.SupportedTransformInstanceTypes !== null && {
|
|
16284
|
+
SupportedTransformInstanceTypes: serializeAws_json1_1TransformInstanceTypes(input.SupportedTransformInstanceTypes, context),
|
|
16285
|
+
}));
|
|
16286
|
+
};
|
|
16287
|
+
var serializeAws_json1_1AdditionalInferenceSpecifications = function (input, context) {
|
|
16288
|
+
return input
|
|
16289
|
+
.filter(function (e) { return e != null; })
|
|
16290
|
+
.map(function (entry) {
|
|
16291
|
+
if (entry === null) {
|
|
16292
|
+
return null;
|
|
16293
|
+
}
|
|
16294
|
+
return serializeAws_json1_1AdditionalInferenceSpecificationDefinition(entry, context);
|
|
16295
|
+
});
|
|
16296
|
+
};
|
|
15694
16297
|
var serializeAws_json1_1AddTagsInput = function (input, context) {
|
|
15695
16298
|
return __assign(__assign({}, (input.ResourceArn !== undefined && input.ResourceArn !== null && { ResourceArn: input.ResourceArn })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
15696
16299
|
};
|
|
@@ -15887,7 +16490,13 @@ var serializeAws_json1_1BatchDescribeModelPackageInput = function (input, contex
|
|
|
15887
16490
|
}));
|
|
15888
16491
|
};
|
|
15889
16492
|
var serializeAws_json1_1Bias = function (input, context) {
|
|
15890
|
-
return __assign({}, (input.
|
|
16493
|
+
return __assign(__assign(__assign({}, (input.PostTrainingReport !== undefined &&
|
|
16494
|
+
input.PostTrainingReport !== null && {
|
|
16495
|
+
PostTrainingReport: serializeAws_json1_1MetricsSource(input.PostTrainingReport, context),
|
|
16496
|
+
})), (input.PreTrainingReport !== undefined &&
|
|
16497
|
+
input.PreTrainingReport !== null && {
|
|
16498
|
+
PreTrainingReport: serializeAws_json1_1MetricsSource(input.PreTrainingReport, context),
|
|
16499
|
+
})), (input.Report !== undefined &&
|
|
15891
16500
|
input.Report !== null && { Report: serializeAws_json1_1MetricsSource(input.Report, context) }));
|
|
15892
16501
|
};
|
|
15893
16502
|
var serializeAws_json1_1BlueGreenUpdatePolicy = function (input, context) {
|
|
@@ -15925,6 +16534,10 @@ var serializeAws_json1_1CaptureOptionList = function (input, context) {
|
|
|
15925
16534
|
return serializeAws_json1_1CaptureOption(entry, context);
|
|
15926
16535
|
});
|
|
15927
16536
|
};
|
|
16537
|
+
var serializeAws_json1_1CategoricalParameter = function (input, context) {
|
|
16538
|
+
return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Value !== undefined &&
|
|
16539
|
+
input.Value !== null && { Value: serializeAws_json1_1CategoricalParameterRangeValues(input.Value, context) }));
|
|
16540
|
+
};
|
|
15928
16541
|
var serializeAws_json1_1CategoricalParameterRange = function (input, context) {
|
|
15929
16542
|
return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Values !== undefined &&
|
|
15930
16543
|
input.Values !== null && { Values: serializeAws_json1_1ParameterValues(input.Values, context) }));
|
|
@@ -15943,6 +16556,26 @@ var serializeAws_json1_1CategoricalParameterRangeSpecification = function (input
|
|
|
15943
16556
|
return __assign({}, (input.Values !== undefined &&
|
|
15944
16557
|
input.Values !== null && { Values: serializeAws_json1_1ParameterValues(input.Values, context) }));
|
|
15945
16558
|
};
|
|
16559
|
+
var serializeAws_json1_1CategoricalParameterRangeValues = function (input, context) {
|
|
16560
|
+
return input
|
|
16561
|
+
.filter(function (e) { return e != null; })
|
|
16562
|
+
.map(function (entry) {
|
|
16563
|
+
if (entry === null) {
|
|
16564
|
+
return null;
|
|
16565
|
+
}
|
|
16566
|
+
return entry;
|
|
16567
|
+
});
|
|
16568
|
+
};
|
|
16569
|
+
var serializeAws_json1_1CategoricalParameters = function (input, context) {
|
|
16570
|
+
return input
|
|
16571
|
+
.filter(function (e) { return e != null; })
|
|
16572
|
+
.map(function (entry) {
|
|
16573
|
+
if (entry === null) {
|
|
16574
|
+
return null;
|
|
16575
|
+
}
|
|
16576
|
+
return serializeAws_json1_1CategoricalParameter(entry, context);
|
|
16577
|
+
});
|
|
16578
|
+
};
|
|
15946
16579
|
var serializeAws_json1_1Channel = function (input, context) {
|
|
15947
16580
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ChannelName !== undefined && input.ChannelName !== null && { ChannelName: input.ChannelName })), (input.CompressionType !== undefined &&
|
|
15948
16581
|
input.CompressionType !== null && { CompressionType: input.CompressionType })), (input.ContentType !== undefined && input.ContentType !== null && { ContentType: input.ContentType })), (input.DataSource !== undefined &&
|
|
@@ -16041,10 +16674,11 @@ var serializeAws_json1_1ContainerArguments = function (input, context) {
|
|
|
16041
16674
|
});
|
|
16042
16675
|
};
|
|
16043
16676
|
var serializeAws_json1_1ContainerDefinition = function (input, context) {
|
|
16044
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContainerHostname !== undefined &&
|
|
16677
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContainerHostname !== undefined &&
|
|
16045
16678
|
input.ContainerHostname !== null && { ContainerHostname: input.ContainerHostname })), (input.Environment !== undefined &&
|
|
16046
16679
|
input.Environment !== null && { Environment: serializeAws_json1_1EnvironmentMap(input.Environment, context) })), (input.Image !== undefined && input.Image !== null && { Image: input.Image })), (input.ImageConfig !== undefined &&
|
|
16047
|
-
input.ImageConfig !== null && { ImageConfig: serializeAws_json1_1ImageConfig(input.ImageConfig, context) })), (input.
|
|
16680
|
+
input.ImageConfig !== null && { ImageConfig: serializeAws_json1_1ImageConfig(input.ImageConfig, context) })), (input.InferenceSpecificationName !== undefined &&
|
|
16681
|
+
input.InferenceSpecificationName !== null && { InferenceSpecificationName: input.InferenceSpecificationName })), (input.Mode !== undefined && input.Mode !== null && { Mode: input.Mode })), (input.ModelDataUrl !== undefined && input.ModelDataUrl !== null && { ModelDataUrl: input.ModelDataUrl })), (input.ModelPackageName !== undefined &&
|
|
16048
16682
|
input.ModelPackageName !== null && { ModelPackageName: input.ModelPackageName })), (input.MultiModelConfig !== undefined &&
|
|
16049
16683
|
input.MultiModelConfig !== null && {
|
|
16050
16684
|
MultiModelConfig: serializeAws_json1_1MultiModelConfig(input.MultiModelConfig, context),
|
|
@@ -16182,9 +16816,10 @@ var serializeAws_json1_1CreateCodeRepositoryInput = function (input, context) {
|
|
|
16182
16816
|
input.GitConfig !== null && { GitConfig: serializeAws_json1_1GitConfig(input.GitConfig, context) })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
16183
16817
|
};
|
|
16184
16818
|
var serializeAws_json1_1CreateCompilationJobRequest = function (input, context) {
|
|
16185
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CompilationJobName !== undefined &&
|
|
16819
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CompilationJobName !== undefined &&
|
|
16186
16820
|
input.CompilationJobName !== null && { CompilationJobName: input.CompilationJobName })), (input.InputConfig !== undefined &&
|
|
16187
|
-
input.InputConfig !== null && { InputConfig: serializeAws_json1_1InputConfig(input.InputConfig, context) })), (input.
|
|
16821
|
+
input.InputConfig !== null && { InputConfig: serializeAws_json1_1InputConfig(input.InputConfig, context) })), (input.ModelPackageVersionArn !== undefined &&
|
|
16822
|
+
input.ModelPackageVersionArn !== null && { ModelPackageVersionArn: input.ModelPackageVersionArn })), (input.OutputConfig !== undefined &&
|
|
16188
16823
|
input.OutputConfig !== null && { OutputConfig: serializeAws_json1_1OutputConfig(input.OutputConfig, context) })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn })), (input.StoppingCondition !== undefined &&
|
|
16189
16824
|
input.StoppingCondition !== null && {
|
|
16190
16825
|
StoppingCondition: serializeAws_json1_1StoppingCondition(input.StoppingCondition, context),
|
|
@@ -16266,7 +16901,10 @@ var serializeAws_json1_1CreateEndpointConfigInput = function (input, context) {
|
|
|
16266
16901
|
})), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
16267
16902
|
};
|
|
16268
16903
|
var serializeAws_json1_1CreateEndpointInput = function (input, context) {
|
|
16269
|
-
return __assign(__assign(__assign({}, (input.
|
|
16904
|
+
return __assign(__assign(__assign(__assign({}, (input.DeploymentConfig !== undefined &&
|
|
16905
|
+
input.DeploymentConfig !== null && {
|
|
16906
|
+
DeploymentConfig: serializeAws_json1_1DeploymentConfig(input.DeploymentConfig, context),
|
|
16907
|
+
})), (input.EndpointConfigName !== undefined &&
|
|
16270
16908
|
input.EndpointConfigName !== null && { EndpointConfigName: input.EndpointConfigName })), (input.EndpointName !== undefined && input.EndpointName !== null && { EndpointName: input.EndpointName })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
16271
16909
|
};
|
|
16272
16910
|
var serializeAws_json1_1CreateExperimentRequest = function (input, context) {
|
|
@@ -16332,6 +16970,16 @@ var serializeAws_json1_1CreateImageVersionRequest = function (input, context) {
|
|
|
16332
16970
|
var _a;
|
|
16333
16971
|
return __assign(__assign(__assign({}, (input.BaseImage !== undefined && input.BaseImage !== null && { BaseImage: input.BaseImage })), { ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.ImageName !== undefined && input.ImageName !== null && { ImageName: input.ImageName }));
|
|
16334
16972
|
};
|
|
16973
|
+
var serializeAws_json1_1CreateInferenceRecommendationsJobRequest = function (input, context) {
|
|
16974
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.InputConfig !== undefined &&
|
|
16975
|
+
input.InputConfig !== null && {
|
|
16976
|
+
InputConfig: serializeAws_json1_1RecommendationJobInputConfig(input.InputConfig, context),
|
|
16977
|
+
})), (input.JobDescription !== undefined &&
|
|
16978
|
+
input.JobDescription !== null && { JobDescription: input.JobDescription })), (input.JobName !== undefined && input.JobName !== null && { JobName: input.JobName })), (input.JobType !== undefined && input.JobType !== null && { JobType: input.JobType })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn })), (input.StoppingConditions !== undefined &&
|
|
16979
|
+
input.StoppingConditions !== null && {
|
|
16980
|
+
StoppingConditions: serializeAws_json1_1RecommendationJobStoppingConditions(input.StoppingConditions, context),
|
|
16981
|
+
})), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
16982
|
+
};
|
|
16335
16983
|
var serializeAws_json1_1CreateLabelingJobRequest = function (input, context) {
|
|
16336
16984
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.HumanTaskConfig !== undefined &&
|
|
16337
16985
|
input.HumanTaskConfig !== null && {
|
|
@@ -16427,10 +17075,16 @@ var serializeAws_json1_1CreateModelPackageGroupInput = function (input, context)
|
|
|
16427
17075
|
};
|
|
16428
17076
|
var serializeAws_json1_1CreateModelPackageInput = function (input, context) {
|
|
16429
17077
|
var _a;
|
|
16430
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.
|
|
17078
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdditionalInferenceSpecifications !== undefined &&
|
|
17079
|
+
input.AdditionalInferenceSpecifications !== null && {
|
|
17080
|
+
AdditionalInferenceSpecifications: serializeAws_json1_1AdditionalInferenceSpecifications(input.AdditionalInferenceSpecifications, context),
|
|
17081
|
+
})), (input.CertifyForMarketplace !== undefined &&
|
|
16431
17082
|
input.CertifyForMarketplace !== null && { CertifyForMarketplace: input.CertifyForMarketplace })), { ClientToken: (_a = input.ClientToken) !== null && _a !== void 0 ? _a : generateIdempotencyToken() }), (input.CustomerMetadataProperties !== undefined &&
|
|
16432
17083
|
input.CustomerMetadataProperties !== null && {
|
|
16433
17084
|
CustomerMetadataProperties: serializeAws_json1_1CustomerMetadataMap(input.CustomerMetadataProperties, context),
|
|
17085
|
+
})), (input.Domain !== undefined && input.Domain !== null && { Domain: input.Domain })), (input.DriftCheckBaselines !== undefined &&
|
|
17086
|
+
input.DriftCheckBaselines !== null && {
|
|
17087
|
+
DriftCheckBaselines: serializeAws_json1_1DriftCheckBaselines(input.DriftCheckBaselines, context),
|
|
16434
17088
|
})), (input.InferenceSpecification !== undefined &&
|
|
16435
17089
|
input.InferenceSpecification !== null && {
|
|
16436
17090
|
InferenceSpecification: serializeAws_json1_1InferenceSpecification(input.InferenceSpecification, context),
|
|
@@ -16442,10 +17096,11 @@ var serializeAws_json1_1CreateModelPackageInput = function (input, context) {
|
|
|
16442
17096
|
input.ModelMetrics !== null && { ModelMetrics: serializeAws_json1_1ModelMetrics(input.ModelMetrics, context) })), (input.ModelPackageDescription !== undefined &&
|
|
16443
17097
|
input.ModelPackageDescription !== null && { ModelPackageDescription: input.ModelPackageDescription })), (input.ModelPackageGroupName !== undefined &&
|
|
16444
17098
|
input.ModelPackageGroupName !== null && { ModelPackageGroupName: input.ModelPackageGroupName })), (input.ModelPackageName !== undefined &&
|
|
16445
|
-
input.ModelPackageName !== null && { ModelPackageName: input.ModelPackageName })), (input.
|
|
17099
|
+
input.ModelPackageName !== null && { ModelPackageName: input.ModelPackageName })), (input.SamplePayloadUrl !== undefined &&
|
|
17100
|
+
input.SamplePayloadUrl !== null && { SamplePayloadUrl: input.SamplePayloadUrl })), (input.SourceAlgorithmSpecification !== undefined &&
|
|
16446
17101
|
input.SourceAlgorithmSpecification !== null && {
|
|
16447
17102
|
SourceAlgorithmSpecification: serializeAws_json1_1SourceAlgorithmSpecification(input.SourceAlgorithmSpecification, context),
|
|
16448
|
-
})), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.ValidationSpecification !== undefined &&
|
|
17103
|
+
})), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) })), (input.Task !== undefined && input.Task !== null && { Task: input.Task })), (input.ValidationSpecification !== undefined &&
|
|
16449
17104
|
input.ValidationSpecification !== null && {
|
|
16450
17105
|
ValidationSpecification: serializeAws_json1_1ModelPackageValidationSpecification(input.ValidationSpecification, context),
|
|
16451
17106
|
}));
|
|
@@ -17094,10 +17749,17 @@ var serializeAws_json1_1DescribeImageRequest = function (input, context) {
|
|
|
17094
17749
|
var serializeAws_json1_1DescribeImageVersionRequest = function (input, context) {
|
|
17095
17750
|
return __assign(__assign({}, (input.ImageName !== undefined && input.ImageName !== null && { ImageName: input.ImageName })), (input.Version !== undefined && input.Version !== null && { Version: input.Version }));
|
|
17096
17751
|
};
|
|
17752
|
+
var serializeAws_json1_1DescribeInferenceRecommendationsJobRequest = function (input, context) {
|
|
17753
|
+
return __assign({}, (input.JobName !== undefined && input.JobName !== null && { JobName: input.JobName }));
|
|
17754
|
+
};
|
|
17097
17755
|
var serializeAws_json1_1DescribeLabelingJobRequest = function (input, context) {
|
|
17098
17756
|
return __assign({}, (input.LabelingJobName !== undefined &&
|
|
17099
17757
|
input.LabelingJobName !== null && { LabelingJobName: input.LabelingJobName }));
|
|
17100
17758
|
};
|
|
17759
|
+
var serializeAws_json1_1DescribeLineageGroupRequest = function (input, context) {
|
|
17760
|
+
return __assign({}, (input.LineageGroupName !== undefined &&
|
|
17761
|
+
input.LineageGroupName !== null && { LineageGroupName: input.LineageGroupName }));
|
|
17762
|
+
};
|
|
17101
17763
|
var serializeAws_json1_1DescribeModelBiasJobDefinitionRequest = function (input, context) {
|
|
17102
17764
|
return __assign({}, (input.JobDefinitionName !== undefined &&
|
|
17103
17765
|
input.JobDefinitionName !== null && { JobDefinitionName: input.JobDefinitionName }));
|
|
@@ -17255,6 +17917,44 @@ var serializeAws_json1_1DomainSettingsForUpdate = function (input, context) {
|
|
|
17255
17917
|
RStudioServerProDomainSettingsForUpdate: serializeAws_json1_1RStudioServerProDomainSettingsForUpdate(input.RStudioServerProDomainSettingsForUpdate, context),
|
|
17256
17918
|
}));
|
|
17257
17919
|
};
|
|
17920
|
+
var serializeAws_json1_1DriftCheckBaselines = function (input, context) {
|
|
17921
|
+
return __assign(__assign(__assign(__assign({}, (input.Bias !== undefined &&
|
|
17922
|
+
input.Bias !== null && { Bias: serializeAws_json1_1DriftCheckBias(input.Bias, context) })), (input.Explainability !== undefined &&
|
|
17923
|
+
input.Explainability !== null && {
|
|
17924
|
+
Explainability: serializeAws_json1_1DriftCheckExplainability(input.Explainability, context),
|
|
17925
|
+
})), (input.ModelDataQuality !== undefined &&
|
|
17926
|
+
input.ModelDataQuality !== null && {
|
|
17927
|
+
ModelDataQuality: serializeAws_json1_1DriftCheckModelDataQuality(input.ModelDataQuality, context),
|
|
17928
|
+
})), (input.ModelQuality !== undefined &&
|
|
17929
|
+
input.ModelQuality !== null && {
|
|
17930
|
+
ModelQuality: serializeAws_json1_1DriftCheckModelQuality(input.ModelQuality, context),
|
|
17931
|
+
}));
|
|
17932
|
+
};
|
|
17933
|
+
var serializeAws_json1_1DriftCheckBias = function (input, context) {
|
|
17934
|
+
return __assign(__assign(__assign({}, (input.ConfigFile !== undefined &&
|
|
17935
|
+
input.ConfigFile !== null && { ConfigFile: serializeAws_json1_1FileSource(input.ConfigFile, context) })), (input.PostTrainingConstraints !== undefined &&
|
|
17936
|
+
input.PostTrainingConstraints !== null && {
|
|
17937
|
+
PostTrainingConstraints: serializeAws_json1_1MetricsSource(input.PostTrainingConstraints, context),
|
|
17938
|
+
})), (input.PreTrainingConstraints !== undefined &&
|
|
17939
|
+
input.PreTrainingConstraints !== null && {
|
|
17940
|
+
PreTrainingConstraints: serializeAws_json1_1MetricsSource(input.PreTrainingConstraints, context),
|
|
17941
|
+
}));
|
|
17942
|
+
};
|
|
17943
|
+
var serializeAws_json1_1DriftCheckExplainability = function (input, context) {
|
|
17944
|
+
return __assign(__assign({}, (input.ConfigFile !== undefined &&
|
|
17945
|
+
input.ConfigFile !== null && { ConfigFile: serializeAws_json1_1FileSource(input.ConfigFile, context) })), (input.Constraints !== undefined &&
|
|
17946
|
+
input.Constraints !== null && { Constraints: serializeAws_json1_1MetricsSource(input.Constraints, context) }));
|
|
17947
|
+
};
|
|
17948
|
+
var serializeAws_json1_1DriftCheckModelDataQuality = function (input, context) {
|
|
17949
|
+
return __assign(__assign({}, (input.Constraints !== undefined &&
|
|
17950
|
+
input.Constraints !== null && { Constraints: serializeAws_json1_1MetricsSource(input.Constraints, context) })), (input.Statistics !== undefined &&
|
|
17951
|
+
input.Statistics !== null && { Statistics: serializeAws_json1_1MetricsSource(input.Statistics, context) }));
|
|
17952
|
+
};
|
|
17953
|
+
var serializeAws_json1_1DriftCheckModelQuality = function (input, context) {
|
|
17954
|
+
return __assign(__assign({}, (input.Constraints !== undefined &&
|
|
17955
|
+
input.Constraints !== null && { Constraints: serializeAws_json1_1MetricsSource(input.Constraints, context) })), (input.Statistics !== undefined &&
|
|
17956
|
+
input.Statistics !== null && { Statistics: serializeAws_json1_1MetricsSource(input.Statistics, context) }));
|
|
17957
|
+
};
|
|
17258
17958
|
var serializeAws_json1_1EdgeOutputConfig = function (input, context) {
|
|
17259
17959
|
return __assign(__assign(__assign(__assign({}, (input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId })), (input.PresetDeploymentConfig !== undefined &&
|
|
17260
17960
|
input.PresetDeploymentConfig !== null && { PresetDeploymentConfig: input.PresetDeploymentConfig })), (input.PresetDeploymentType !== undefined &&
|
|
@@ -17275,6 +17975,23 @@ var serializeAws_json1_1EndpointInput = function (input, context) {
|
|
|
17275
17975
|
input.S3DataDistributionType !== null && { S3DataDistributionType: input.S3DataDistributionType })), (input.S3InputMode !== undefined && input.S3InputMode !== null && { S3InputMode: input.S3InputMode })), (input.StartTimeOffset !== undefined &&
|
|
17276
17976
|
input.StartTimeOffset !== null && { StartTimeOffset: input.StartTimeOffset }));
|
|
17277
17977
|
};
|
|
17978
|
+
var serializeAws_json1_1EndpointInputConfiguration = function (input, context) {
|
|
17979
|
+
return __assign(__assign(__assign({}, (input.EnvironmentParameterRanges !== undefined &&
|
|
17980
|
+
input.EnvironmentParameterRanges !== null && {
|
|
17981
|
+
EnvironmentParameterRanges: serializeAws_json1_1EnvironmentParameterRanges(input.EnvironmentParameterRanges, context),
|
|
17982
|
+
})), (input.InferenceSpecificationName !== undefined &&
|
|
17983
|
+
input.InferenceSpecificationName !== null && { InferenceSpecificationName: input.InferenceSpecificationName })), (input.InstanceType !== undefined && input.InstanceType !== null && { InstanceType: input.InstanceType }));
|
|
17984
|
+
};
|
|
17985
|
+
var serializeAws_json1_1EndpointInputConfigurations = function (input, context) {
|
|
17986
|
+
return input
|
|
17987
|
+
.filter(function (e) { return e != null; })
|
|
17988
|
+
.map(function (entry) {
|
|
17989
|
+
if (entry === null) {
|
|
17990
|
+
return null;
|
|
17991
|
+
}
|
|
17992
|
+
return serializeAws_json1_1EndpointInputConfiguration(entry, context);
|
|
17993
|
+
});
|
|
17994
|
+
};
|
|
17278
17995
|
var serializeAws_json1_1EnvironmentMap = function (input, context) {
|
|
17279
17996
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
17280
17997
|
var _b;
|
|
@@ -17285,6 +18002,12 @@ var serializeAws_json1_1EnvironmentMap = function (input, context) {
|
|
|
17285
18002
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
|
|
17286
18003
|
}, {});
|
|
17287
18004
|
};
|
|
18005
|
+
var serializeAws_json1_1EnvironmentParameterRanges = function (input, context) {
|
|
18006
|
+
return __assign({}, (input.CategoricalParameterRanges !== undefined &&
|
|
18007
|
+
input.CategoricalParameterRanges !== null && {
|
|
18008
|
+
CategoricalParameterRanges: serializeAws_json1_1CategoricalParameters(input.CategoricalParameterRanges, context),
|
|
18009
|
+
}));
|
|
18010
|
+
};
|
|
17288
18011
|
var serializeAws_json1_1ExperimentConfig = function (input, context) {
|
|
17289
18012
|
return __assign(__assign(__assign({}, (input.ExperimentName !== undefined &&
|
|
17290
18013
|
input.ExperimentName !== null && { ExperimentName: input.ExperimentName })), (input.TrialComponentDisplayName !== undefined &&
|
|
@@ -17307,6 +18030,9 @@ var serializeAws_json1_1FeatureDefinitions = function (input, context) {
|
|
|
17307
18030
|
return serializeAws_json1_1FeatureDefinition(entry, context);
|
|
17308
18031
|
});
|
|
17309
18032
|
};
|
|
18033
|
+
var serializeAws_json1_1FileSource = function (input, context) {
|
|
18034
|
+
return __assign(__assign(__assign({}, (input.ContentDigest !== undefined && input.ContentDigest !== null && { ContentDigest: input.ContentDigest })), (input.ContentType !== undefined && input.ContentType !== null && { ContentType: input.ContentType })), (input.S3Uri !== undefined && input.S3Uri !== null && { S3Uri: input.S3Uri }));
|
|
18035
|
+
};
|
|
17310
18036
|
var serializeAws_json1_1FileSystemConfig = function (input, context) {
|
|
17311
18037
|
return __assign(__assign(__assign({}, (input.DefaultGid !== undefined && input.DefaultGid !== null && { DefaultGid: input.DefaultGid })), (input.DefaultUid !== undefined && input.DefaultUid !== null && { DefaultUid: input.DefaultUid })), (input.MountPath !== undefined && input.MountPath !== null && { MountPath: input.MountPath }));
|
|
17312
18038
|
};
|
|
@@ -17345,6 +18071,10 @@ var serializeAws_json1_1GetDeviceFleetReportRequest = function (input, context)
|
|
|
17345
18071
|
return __assign({}, (input.DeviceFleetName !== undefined &&
|
|
17346
18072
|
input.DeviceFleetName !== null && { DeviceFleetName: input.DeviceFleetName }));
|
|
17347
18073
|
};
|
|
18074
|
+
var serializeAws_json1_1GetLineageGroupPolicyRequest = function (input, context) {
|
|
18075
|
+
return __assign({}, (input.LineageGroupName !== undefined &&
|
|
18076
|
+
input.LineageGroupName !== null && { LineageGroupName: input.LineageGroupName }));
|
|
18077
|
+
};
|
|
17348
18078
|
var serializeAws_json1_1GetModelPackageGroupPolicyInput = function (input, context) {
|
|
17349
18079
|
return __assign({}, (input.ModelPackageGroupName !== undefined &&
|
|
17350
18080
|
input.ModelPackageGroupName !== null && { ModelPackageGroupName: input.ModelPackageGroupName }));
|
|
@@ -17965,20 +18695,33 @@ var serializeAws_json1_1ListImagesRequest = function (input, context) {
|
|
|
17965
18695
|
})), (input.LastModifiedTimeBefore !== undefined &&
|
|
17966
18696
|
input.LastModifiedTimeBefore !== null && {
|
|
17967
18697
|
LastModifiedTimeBefore: Math.round(input.LastModifiedTimeBefore.getTime() / 1000),
|
|
17968
|
-
})), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NameContains !== undefined && input.NameContains !== null && { NameContains: input.NameContains })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SortBy !== undefined && input.SortBy !== null && { SortBy: input.SortBy })), (input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder }));
|
|
18698
|
+
})), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NameContains !== undefined && input.NameContains !== null && { NameContains: input.NameContains })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SortBy !== undefined && input.SortBy !== null && { SortBy: input.SortBy })), (input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder }));
|
|
18699
|
+
};
|
|
18700
|
+
var serializeAws_json1_1ListImageVersionsRequest = function (input, context) {
|
|
18701
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreationTimeAfter !== undefined &&
|
|
18702
|
+
input.CreationTimeAfter !== null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) })), (input.CreationTimeBefore !== undefined &&
|
|
18703
|
+
input.CreationTimeBefore !== null && {
|
|
18704
|
+
CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
|
|
18705
|
+
})), (input.ImageName !== undefined && input.ImageName !== null && { ImageName: input.ImageName })), (input.LastModifiedTimeAfter !== undefined &&
|
|
18706
|
+
input.LastModifiedTimeAfter !== null && {
|
|
18707
|
+
LastModifiedTimeAfter: Math.round(input.LastModifiedTimeAfter.getTime() / 1000),
|
|
18708
|
+
})), (input.LastModifiedTimeBefore !== undefined &&
|
|
18709
|
+
input.LastModifiedTimeBefore !== null && {
|
|
18710
|
+
LastModifiedTimeBefore: Math.round(input.LastModifiedTimeBefore.getTime() / 1000),
|
|
18711
|
+
})), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SortBy !== undefined && input.SortBy !== null && { SortBy: input.SortBy })), (input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder }));
|
|
17969
18712
|
};
|
|
17970
|
-
var
|
|
17971
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreationTimeAfter !== undefined &&
|
|
18713
|
+
var serializeAws_json1_1ListInferenceRecommendationsJobsRequest = function (input, context) {
|
|
18714
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreationTimeAfter !== undefined &&
|
|
17972
18715
|
input.CreationTimeAfter !== null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) })), (input.CreationTimeBefore !== undefined &&
|
|
17973
18716
|
input.CreationTimeBefore !== null && {
|
|
17974
18717
|
CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
|
|
17975
|
-
})), (input.
|
|
18718
|
+
})), (input.LastModifiedTimeAfter !== undefined &&
|
|
17976
18719
|
input.LastModifiedTimeAfter !== null && {
|
|
17977
18720
|
LastModifiedTimeAfter: Math.round(input.LastModifiedTimeAfter.getTime() / 1000),
|
|
17978
18721
|
})), (input.LastModifiedTimeBefore !== undefined &&
|
|
17979
18722
|
input.LastModifiedTimeBefore !== null && {
|
|
17980
18723
|
LastModifiedTimeBefore: Math.round(input.LastModifiedTimeBefore.getTime() / 1000),
|
|
17981
|
-
})), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SortBy !== undefined && input.SortBy !== null && { SortBy: input.SortBy })), (input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder }));
|
|
18724
|
+
})), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NameContains !== undefined && input.NameContains !== null && { NameContains: input.NameContains })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SortBy !== undefined && input.SortBy !== null && { SortBy: input.SortBy })), (input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder })), (input.StatusEquals !== undefined && input.StatusEquals !== null && { StatusEquals: input.StatusEquals }));
|
|
17982
18725
|
};
|
|
17983
18726
|
var serializeAws_json1_1ListLabelingJobsForWorkteamRequest = function (input, context) {
|
|
17984
18727
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreationTimeAfter !== undefined &&
|
|
@@ -18011,6 +18754,11 @@ var serializeAws_json1_1ListLineageEntityParameterKey = function (input, context
|
|
|
18011
18754
|
return entry;
|
|
18012
18755
|
});
|
|
18013
18756
|
};
|
|
18757
|
+
var serializeAws_json1_1ListLineageGroupsRequest = function (input, context) {
|
|
18758
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreatedAfter !== undefined &&
|
|
18759
|
+
input.CreatedAfter !== null && { CreatedAfter: Math.round(input.CreatedAfter.getTime() / 1000) })), (input.CreatedBefore !== undefined &&
|
|
18760
|
+
input.CreatedBefore !== null && { CreatedBefore: Math.round(input.CreatedBefore.getTime() / 1000) })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SortBy !== undefined && input.SortBy !== null && { SortBy: input.SortBy })), (input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder }));
|
|
18761
|
+
};
|
|
18014
18762
|
var serializeAws_json1_1ListModelBiasJobDefinitionsRequest = function (input, context) {
|
|
18015
18763
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreationTimeAfter !== undefined &&
|
|
18016
18764
|
input.CreationTimeAfter !== null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) })), (input.CreationTimeBefore !== undefined &&
|
|
@@ -18025,6 +18773,12 @@ var serializeAws_json1_1ListModelExplainabilityJobDefinitionsRequest = function
|
|
|
18025
18773
|
CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
|
|
18026
18774
|
})), (input.EndpointName !== undefined && input.EndpointName !== null && { EndpointName: input.EndpointName })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NameContains !== undefined && input.NameContains !== null && { NameContains: input.NameContains })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SortBy !== undefined && input.SortBy !== null && { SortBy: input.SortBy })), (input.SortOrder !== undefined && input.SortOrder !== null && { SortOrder: input.SortOrder }));
|
|
18027
18775
|
};
|
|
18776
|
+
var serializeAws_json1_1ListModelMetadataRequest = function (input, context) {
|
|
18777
|
+
return __assign(__assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SearchExpression !== undefined &&
|
|
18778
|
+
input.SearchExpression !== null && {
|
|
18779
|
+
SearchExpression: serializeAws_json1_1ModelMetadataSearchExpression(input.SearchExpression, context),
|
|
18780
|
+
}));
|
|
18781
|
+
};
|
|
18028
18782
|
var serializeAws_json1_1ListModelPackageGroupsInput = function (input, context) {
|
|
18029
18783
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreationTimeAfter !== undefined &&
|
|
18030
18784
|
input.CreationTimeAfter !== null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) })), (input.CreationTimeBefore !== undefined &&
|
|
@@ -18341,6 +19095,41 @@ var serializeAws_json1_1ModelExplainabilityJobInput = function (input, context)
|
|
|
18341
19095
|
EndpointInput: serializeAws_json1_1EndpointInput(input.EndpointInput, context),
|
|
18342
19096
|
}));
|
|
18343
19097
|
};
|
|
19098
|
+
var serializeAws_json1_1ModelInput = function (input, context) {
|
|
19099
|
+
return __assign({}, (input.DataInputConfig !== undefined &&
|
|
19100
|
+
input.DataInputConfig !== null && { DataInputConfig: input.DataInputConfig }));
|
|
19101
|
+
};
|
|
19102
|
+
var serializeAws_json1_1ModelLatencyThreshold = function (input, context) {
|
|
19103
|
+
return __assign(__assign({}, (input.Percentile !== undefined && input.Percentile !== null && { Percentile: input.Percentile })), (input.ValueInMilliseconds !== undefined &&
|
|
19104
|
+
input.ValueInMilliseconds !== null && { ValueInMilliseconds: input.ValueInMilliseconds }));
|
|
19105
|
+
};
|
|
19106
|
+
var serializeAws_json1_1ModelLatencyThresholds = function (input, context) {
|
|
19107
|
+
return input
|
|
19108
|
+
.filter(function (e) { return e != null; })
|
|
19109
|
+
.map(function (entry) {
|
|
19110
|
+
if (entry === null) {
|
|
19111
|
+
return null;
|
|
19112
|
+
}
|
|
19113
|
+
return serializeAws_json1_1ModelLatencyThreshold(entry, context);
|
|
19114
|
+
});
|
|
19115
|
+
};
|
|
19116
|
+
var serializeAws_json1_1ModelMetadataFilter = function (input, context) {
|
|
19117
|
+
return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
|
|
19118
|
+
};
|
|
19119
|
+
var serializeAws_json1_1ModelMetadataFilters = function (input, context) {
|
|
19120
|
+
return input
|
|
19121
|
+
.filter(function (e) { return e != null; })
|
|
19122
|
+
.map(function (entry) {
|
|
19123
|
+
if (entry === null) {
|
|
19124
|
+
return null;
|
|
19125
|
+
}
|
|
19126
|
+
return serializeAws_json1_1ModelMetadataFilter(entry, context);
|
|
19127
|
+
});
|
|
19128
|
+
};
|
|
19129
|
+
var serializeAws_json1_1ModelMetadataSearchExpression = function (input, context) {
|
|
19130
|
+
return __assign({}, (input.Filters !== undefined &&
|
|
19131
|
+
input.Filters !== null && { Filters: serializeAws_json1_1ModelMetadataFilters(input.Filters, context) }));
|
|
19132
|
+
};
|
|
18344
19133
|
var serializeAws_json1_1ModelMetrics = function (input, context) {
|
|
18345
19134
|
return __assign(__assign(__assign(__assign({}, (input.Bias !== undefined && input.Bias !== null && { Bias: serializeAws_json1_1Bias(input.Bias, context) })), (input.Explainability !== undefined &&
|
|
18346
19135
|
input.Explainability !== null && {
|
|
@@ -18362,9 +19151,12 @@ var serializeAws_json1_1ModelPackageArnList = function (input, context) {
|
|
|
18362
19151
|
});
|
|
18363
19152
|
};
|
|
18364
19153
|
var serializeAws_json1_1ModelPackageContainerDefinition = function (input, context) {
|
|
18365
|
-
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContainerHostname !== undefined &&
|
|
19154
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContainerHostname !== undefined &&
|
|
18366
19155
|
input.ContainerHostname !== null && { ContainerHostname: input.ContainerHostname })), (input.Environment !== undefined &&
|
|
18367
|
-
input.Environment !== null && { Environment: serializeAws_json1_1EnvironmentMap(input.Environment, context) })), (input.
|
|
19156
|
+
input.Environment !== null && { Environment: serializeAws_json1_1EnvironmentMap(input.Environment, context) })), (input.Framework !== undefined && input.Framework !== null && { Framework: input.Framework })), (input.FrameworkVersion !== undefined &&
|
|
19157
|
+
input.FrameworkVersion !== null && { FrameworkVersion: input.FrameworkVersion })), (input.Image !== undefined && input.Image !== null && { Image: input.Image })), (input.ImageDigest !== undefined && input.ImageDigest !== null && { ImageDigest: input.ImageDigest })), (input.ModelDataUrl !== undefined && input.ModelDataUrl !== null && { ModelDataUrl: input.ModelDataUrl })), (input.ModelInput !== undefined &&
|
|
19158
|
+
input.ModelInput !== null && { ModelInput: serializeAws_json1_1ModelInput(input.ModelInput, context) })), (input.NearestModelName !== undefined &&
|
|
19159
|
+
input.NearestModelName !== null && { NearestModelName: input.NearestModelName })), (input.ProductId !== undefined && input.ProductId !== null && { ProductId: input.ProductId }));
|
|
18368
19160
|
};
|
|
18369
19161
|
var serializeAws_json1_1ModelPackageContainerDefinitionList = function (input, context) {
|
|
18370
19162
|
return input
|
|
@@ -18784,6 +19576,21 @@ var serializeAws_json1_1ParentHyperParameterTuningJobs = function (input, contex
|
|
|
18784
19576
|
return serializeAws_json1_1ParentHyperParameterTuningJob(entry, context);
|
|
18785
19577
|
});
|
|
18786
19578
|
};
|
|
19579
|
+
var serializeAws_json1_1Phase = function (input, context) {
|
|
19580
|
+
return __assign(__assign(__assign({}, (input.DurationInSeconds !== undefined &&
|
|
19581
|
+
input.DurationInSeconds !== null && { DurationInSeconds: input.DurationInSeconds })), (input.InitialNumberOfUsers !== undefined &&
|
|
19582
|
+
input.InitialNumberOfUsers !== null && { InitialNumberOfUsers: input.InitialNumberOfUsers })), (input.SpawnRate !== undefined && input.SpawnRate !== null && { SpawnRate: input.SpawnRate }));
|
|
19583
|
+
};
|
|
19584
|
+
var serializeAws_json1_1Phases = function (input, context) {
|
|
19585
|
+
return input
|
|
19586
|
+
.filter(function (e) { return e != null; })
|
|
19587
|
+
.map(function (entry) {
|
|
19588
|
+
if (entry === null) {
|
|
19589
|
+
return null;
|
|
19590
|
+
}
|
|
19591
|
+
return serializeAws_json1_1Phase(entry, context);
|
|
19592
|
+
});
|
|
19593
|
+
};
|
|
18787
19594
|
var serializeAws_json1_1ProcessingClusterConfig = function (input, context) {
|
|
18788
19595
|
return __assign(__assign(__assign(__assign({}, (input.InstanceCount !== undefined && input.InstanceCount !== null && { InstanceCount: input.InstanceCount })), (input.InstanceType !== undefined && input.InstanceType !== null && { InstanceType: input.InstanceType })), (input.VolumeKmsKeyId !== undefined &&
|
|
18789
19596
|
input.VolumeKmsKeyId !== null && { VolumeKmsKeyId: input.VolumeKmsKeyId })), (input.VolumeSizeInGB !== undefined &&
|
|
@@ -18860,13 +19667,16 @@ var serializeAws_json1_1ProcessingStoppingCondition = function (input, context)
|
|
|
18860
19667
|
input.MaxRuntimeInSeconds !== null && { MaxRuntimeInSeconds: input.MaxRuntimeInSeconds }));
|
|
18861
19668
|
};
|
|
18862
19669
|
var serializeAws_json1_1ProductionVariant = function (input, context) {
|
|
18863
|
-
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AcceleratorType !== undefined &&
|
|
19670
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AcceleratorType !== undefined &&
|
|
18864
19671
|
input.AcceleratorType !== null && { AcceleratorType: input.AcceleratorType })), (input.CoreDumpConfig !== undefined &&
|
|
18865
19672
|
input.CoreDumpConfig !== null && {
|
|
18866
19673
|
CoreDumpConfig: serializeAws_json1_1ProductionVariantCoreDumpConfig(input.CoreDumpConfig, context),
|
|
18867
19674
|
})), (input.InitialInstanceCount !== undefined &&
|
|
18868
19675
|
input.InitialInstanceCount !== null && { InitialInstanceCount: input.InitialInstanceCount })), (input.InitialVariantWeight !== undefined &&
|
|
18869
|
-
input.InitialVariantWeight !== null && { InitialVariantWeight: __serializeFloat(input.InitialVariantWeight) })), (input.InstanceType !== undefined && input.InstanceType !== null && { InstanceType: input.InstanceType })), (input.ModelName !== undefined && input.ModelName !== null && { ModelName: input.ModelName })), (input.
|
|
19676
|
+
input.InitialVariantWeight !== null && { InitialVariantWeight: __serializeFloat(input.InitialVariantWeight) })), (input.InstanceType !== undefined && input.InstanceType !== null && { InstanceType: input.InstanceType })), (input.ModelName !== undefined && input.ModelName !== null && { ModelName: input.ModelName })), (input.ServerlessConfig !== undefined &&
|
|
19677
|
+
input.ServerlessConfig !== null && {
|
|
19678
|
+
ServerlessConfig: serializeAws_json1_1ProductionVariantServerlessConfig(input.ServerlessConfig, context),
|
|
19679
|
+
})), (input.VariantName !== undefined && input.VariantName !== null && { VariantName: input.VariantName }));
|
|
18870
19680
|
};
|
|
18871
19681
|
var serializeAws_json1_1ProductionVariantCoreDumpConfig = function (input, context) {
|
|
18872
19682
|
return __assign(__assign({}, (input.DestinationS3Uri !== undefined &&
|
|
@@ -18882,6 +19692,11 @@ var serializeAws_json1_1ProductionVariantList = function (input, context) {
|
|
|
18882
19692
|
return serializeAws_json1_1ProductionVariant(entry, context);
|
|
18883
19693
|
});
|
|
18884
19694
|
};
|
|
19695
|
+
var serializeAws_json1_1ProductionVariantServerlessConfig = function (input, context) {
|
|
19696
|
+
return __assign(__assign({}, (input.MaxConcurrency !== undefined &&
|
|
19697
|
+
input.MaxConcurrency !== null && { MaxConcurrency: input.MaxConcurrency })), (input.MemorySizeInMB !== undefined &&
|
|
19698
|
+
input.MemorySizeInMB !== null && { MemorySizeInMB: input.MemorySizeInMB }));
|
|
19699
|
+
};
|
|
18885
19700
|
var serializeAws_json1_1ProfilerConfig = function (input, context) {
|
|
18886
19701
|
return __assign(__assign(__assign({}, (input.ProfilingIntervalInMilliseconds !== undefined &&
|
|
18887
19702
|
input.ProfilingIntervalInMilliseconds !== null && {
|
|
@@ -18956,6 +19771,63 @@ var serializeAws_json1_1PutModelPackageGroupPolicyInput = function (input, conte
|
|
|
18956
19771
|
input.ModelPackageGroupName !== null && { ModelPackageGroupName: input.ModelPackageGroupName })), (input.ResourcePolicy !== undefined &&
|
|
18957
19772
|
input.ResourcePolicy !== null && { ResourcePolicy: input.ResourcePolicy }));
|
|
18958
19773
|
};
|
|
19774
|
+
var serializeAws_json1_1QueryFilters = function (input, context) {
|
|
19775
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.CreatedAfter !== undefined &&
|
|
19776
|
+
input.CreatedAfter !== null && { CreatedAfter: Math.round(input.CreatedAfter.getTime() / 1000) })), (input.CreatedBefore !== undefined &&
|
|
19777
|
+
input.CreatedBefore !== null && { CreatedBefore: Math.round(input.CreatedBefore.getTime() / 1000) })), (input.LineageTypes !== undefined &&
|
|
19778
|
+
input.LineageTypes !== null && {
|
|
19779
|
+
LineageTypes: serializeAws_json1_1QueryLineageTypes(input.LineageTypes, context),
|
|
19780
|
+
})), (input.ModifiedAfter !== undefined &&
|
|
19781
|
+
input.ModifiedAfter !== null && { ModifiedAfter: Math.round(input.ModifiedAfter.getTime() / 1000) })), (input.ModifiedBefore !== undefined &&
|
|
19782
|
+
input.ModifiedBefore !== null && { ModifiedBefore: Math.round(input.ModifiedBefore.getTime() / 1000) })), (input.Properties !== undefined &&
|
|
19783
|
+
input.Properties !== null && { Properties: serializeAws_json1_1QueryProperties(input.Properties, context) })), (input.Types !== undefined &&
|
|
19784
|
+
input.Types !== null && { Types: serializeAws_json1_1QueryTypes(input.Types, context) }));
|
|
19785
|
+
};
|
|
19786
|
+
var serializeAws_json1_1QueryLineageRequest = function (input, context) {
|
|
19787
|
+
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Direction !== undefined && input.Direction !== null && { Direction: input.Direction })), (input.Filters !== undefined &&
|
|
19788
|
+
input.Filters !== null && { Filters: serializeAws_json1_1QueryFilters(input.Filters, context) })), (input.IncludeEdges !== undefined && input.IncludeEdges !== null && { IncludeEdges: input.IncludeEdges })), (input.MaxDepth !== undefined && input.MaxDepth !== null && { MaxDepth: input.MaxDepth })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.StartArns !== undefined &&
|
|
19789
|
+
input.StartArns !== null && { StartArns: serializeAws_json1_1QueryLineageStartArns(input.StartArns, context) }));
|
|
19790
|
+
};
|
|
19791
|
+
var serializeAws_json1_1QueryLineageStartArns = function (input, context) {
|
|
19792
|
+
return input
|
|
19793
|
+
.filter(function (e) { return e != null; })
|
|
19794
|
+
.map(function (entry) {
|
|
19795
|
+
if (entry === null) {
|
|
19796
|
+
return null;
|
|
19797
|
+
}
|
|
19798
|
+
return entry;
|
|
19799
|
+
});
|
|
19800
|
+
};
|
|
19801
|
+
var serializeAws_json1_1QueryLineageTypes = function (input, context) {
|
|
19802
|
+
return input
|
|
19803
|
+
.filter(function (e) { return e != null; })
|
|
19804
|
+
.map(function (entry) {
|
|
19805
|
+
if (entry === null) {
|
|
19806
|
+
return null;
|
|
19807
|
+
}
|
|
19808
|
+
return entry;
|
|
19809
|
+
});
|
|
19810
|
+
};
|
|
19811
|
+
var serializeAws_json1_1QueryProperties = function (input, context) {
|
|
19812
|
+
return Object.entries(input).reduce(function (acc, _a) {
|
|
19813
|
+
var _b;
|
|
19814
|
+
var _c = __read(_a, 2), key = _c[0], value = _c[1];
|
|
19815
|
+
if (value === null) {
|
|
19816
|
+
return acc;
|
|
19817
|
+
}
|
|
19818
|
+
return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
|
|
19819
|
+
}, {});
|
|
19820
|
+
};
|
|
19821
|
+
var serializeAws_json1_1QueryTypes = function (input, context) {
|
|
19822
|
+
return input
|
|
19823
|
+
.filter(function (e) { return e != null; })
|
|
19824
|
+
.map(function (entry) {
|
|
19825
|
+
if (entry === null) {
|
|
19826
|
+
return null;
|
|
19827
|
+
}
|
|
19828
|
+
return entry;
|
|
19829
|
+
});
|
|
19830
|
+
};
|
|
18959
19831
|
var serializeAws_json1_1RealtimeInferenceInstanceTypes = function (input, context) {
|
|
18960
19832
|
return input
|
|
18961
19833
|
.filter(function (e) { return e != null; })
|
|
@@ -18966,6 +19838,32 @@ var serializeAws_json1_1RealtimeInferenceInstanceTypes = function (input, contex
|
|
|
18966
19838
|
return entry;
|
|
18967
19839
|
});
|
|
18968
19840
|
};
|
|
19841
|
+
var serializeAws_json1_1RecommendationJobInputConfig = function (input, context) {
|
|
19842
|
+
return __assign(__assign(__assign(__assign(__assign({}, (input.EndpointConfigurations !== undefined &&
|
|
19843
|
+
input.EndpointConfigurations !== null && {
|
|
19844
|
+
EndpointConfigurations: serializeAws_json1_1EndpointInputConfigurations(input.EndpointConfigurations, context),
|
|
19845
|
+
})), (input.JobDurationInSeconds !== undefined &&
|
|
19846
|
+
input.JobDurationInSeconds !== null && { JobDurationInSeconds: input.JobDurationInSeconds })), (input.ModelPackageVersionArn !== undefined &&
|
|
19847
|
+
input.ModelPackageVersionArn !== null && { ModelPackageVersionArn: input.ModelPackageVersionArn })), (input.ResourceLimit !== undefined &&
|
|
19848
|
+
input.ResourceLimit !== null && {
|
|
19849
|
+
ResourceLimit: serializeAws_json1_1RecommendationJobResourceLimit(input.ResourceLimit, context),
|
|
19850
|
+
})), (input.TrafficPattern !== undefined &&
|
|
19851
|
+
input.TrafficPattern !== null && {
|
|
19852
|
+
TrafficPattern: serializeAws_json1_1TrafficPattern(input.TrafficPattern, context),
|
|
19853
|
+
}));
|
|
19854
|
+
};
|
|
19855
|
+
var serializeAws_json1_1RecommendationJobResourceLimit = function (input, context) {
|
|
19856
|
+
return __assign(__assign({}, (input.MaxNumberOfTests !== undefined &&
|
|
19857
|
+
input.MaxNumberOfTests !== null && { MaxNumberOfTests: input.MaxNumberOfTests })), (input.MaxParallelOfTests !== undefined &&
|
|
19858
|
+
input.MaxParallelOfTests !== null && { MaxParallelOfTests: input.MaxParallelOfTests }));
|
|
19859
|
+
};
|
|
19860
|
+
var serializeAws_json1_1RecommendationJobStoppingConditions = function (input, context) {
|
|
19861
|
+
return __assign(__assign({}, (input.MaxInvocations !== undefined &&
|
|
19862
|
+
input.MaxInvocations !== null && { MaxInvocations: input.MaxInvocations })), (input.ModelLatencyThresholds !== undefined &&
|
|
19863
|
+
input.ModelLatencyThresholds !== null && {
|
|
19864
|
+
ModelLatencyThresholds: serializeAws_json1_1ModelLatencyThresholds(input.ModelLatencyThresholds, context),
|
|
19865
|
+
}));
|
|
19866
|
+
};
|
|
18969
19867
|
var serializeAws_json1_1RedshiftDatasetDefinition = function (input, context) {
|
|
18970
19868
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ClusterId !== undefined && input.ClusterId !== null && { ClusterId: input.ClusterId })), (input.ClusterRoleArn !== undefined &&
|
|
18971
19869
|
input.ClusterRoleArn !== null && { ClusterRoleArn: input.ClusterRoleArn })), (input.Database !== undefined && input.Database !== null && { Database: input.Database })), (input.DbUser !== undefined && input.DbUser !== null && { DbUser: input.DbUser })), (input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId })), (input.OutputCompression !== undefined &&
|
|
@@ -19204,6 +20102,9 @@ var serializeAws_json1_1StopHyperParameterTuningJobRequest = function (input, co
|
|
|
19204
20102
|
return __assign({}, (input.HyperParameterTuningJobName !== undefined &&
|
|
19205
20103
|
input.HyperParameterTuningJobName !== null && { HyperParameterTuningJobName: input.HyperParameterTuningJobName }));
|
|
19206
20104
|
};
|
|
20105
|
+
var serializeAws_json1_1StopInferenceRecommendationsJobRequest = function (input, context) {
|
|
20106
|
+
return __assign({}, (input.JobName !== undefined && input.JobName !== null && { JobName: input.JobName }));
|
|
20107
|
+
};
|
|
19207
20108
|
var serializeAws_json1_1StopLabelingJobRequest = function (input, context) {
|
|
19208
20109
|
return __assign({}, (input.LabelingJobName !== undefined &&
|
|
19209
20110
|
input.LabelingJobName !== null && { LabelingJobName: input.LabelingJobName }));
|
|
@@ -19299,9 +20200,16 @@ var serializeAws_json1_1TensorBoardAppSettings = function (input, context) {
|
|
|
19299
20200
|
var serializeAws_json1_1TensorBoardOutputConfig = function (input, context) {
|
|
19300
20201
|
return __assign(__assign({}, (input.LocalPath !== undefined && input.LocalPath !== null && { LocalPath: input.LocalPath })), (input.S3OutputPath !== undefined && input.S3OutputPath !== null && { S3OutputPath: input.S3OutputPath }));
|
|
19301
20202
|
};
|
|
20203
|
+
var serializeAws_json1_1TrafficPattern = function (input, context) {
|
|
20204
|
+
return __assign(__assign({}, (input.Phases !== undefined &&
|
|
20205
|
+
input.Phases !== null && { Phases: serializeAws_json1_1Phases(input.Phases, context) })), (input.TrafficType !== undefined && input.TrafficType !== null && { TrafficType: input.TrafficType }));
|
|
20206
|
+
};
|
|
19302
20207
|
var serializeAws_json1_1TrafficRoutingConfig = function (input, context) {
|
|
19303
|
-
return __assign(__assign(__assign({}, (input.CanarySize !== undefined &&
|
|
19304
|
-
input.CanarySize !== null && { CanarySize: serializeAws_json1_1CapacitySize(input.CanarySize, context) })), (input.
|
|
20208
|
+
return __assign(__assign(__assign(__assign({}, (input.CanarySize !== undefined &&
|
|
20209
|
+
input.CanarySize !== null && { CanarySize: serializeAws_json1_1CapacitySize(input.CanarySize, context) })), (input.LinearStepSize !== undefined &&
|
|
20210
|
+
input.LinearStepSize !== null && {
|
|
20211
|
+
LinearStepSize: serializeAws_json1_1CapacitySize(input.LinearStepSize, context),
|
|
20212
|
+
})), (input.Type !== undefined && input.Type !== null && { Type: input.Type })), (input.WaitIntervalInSeconds !== undefined &&
|
|
19305
20213
|
input.WaitIntervalInSeconds !== null && { WaitIntervalInSeconds: input.WaitIntervalInSeconds }));
|
|
19306
20214
|
};
|
|
19307
20215
|
var serializeAws_json1_1TrainingEnvironmentMap = function (input, context) {
|
|
@@ -19530,7 +20438,7 @@ var serializeAws_json1_1UpdateDomainRequest = function (input, context) {
|
|
|
19530
20438
|
}));
|
|
19531
20439
|
};
|
|
19532
20440
|
var serializeAws_json1_1UpdateEndpointInput = function (input, context) {
|
|
19533
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.DeploymentConfig !== undefined &&
|
|
20441
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.DeploymentConfig !== undefined &&
|
|
19534
20442
|
input.DeploymentConfig !== null && {
|
|
19535
20443
|
DeploymentConfig: serializeAws_json1_1DeploymentConfig(input.DeploymentConfig, context),
|
|
19536
20444
|
})), (input.EndpointConfigName !== undefined &&
|
|
@@ -19538,7 +20446,8 @@ var serializeAws_json1_1UpdateEndpointInput = function (input, context) {
|
|
|
19538
20446
|
input.ExcludeRetainedVariantProperties !== null && {
|
|
19539
20447
|
ExcludeRetainedVariantProperties: serializeAws_json1_1VariantPropertyList(input.ExcludeRetainedVariantProperties, context),
|
|
19540
20448
|
})), (input.RetainAllVariantProperties !== undefined &&
|
|
19541
|
-
input.RetainAllVariantProperties !== null && { RetainAllVariantProperties: input.RetainAllVariantProperties }))
|
|
20449
|
+
input.RetainAllVariantProperties !== null && { RetainAllVariantProperties: input.RetainAllVariantProperties })), (input.RetainDeploymentConfig !== undefined &&
|
|
20450
|
+
input.RetainDeploymentConfig !== null && { RetainDeploymentConfig: input.RetainDeploymentConfig }));
|
|
19542
20451
|
};
|
|
19543
20452
|
var serializeAws_json1_1UpdateEndpointWeightsAndCapacitiesInput = function (input, context) {
|
|
19544
20453
|
return __assign(__assign({}, (input.DesiredWeightsAndCapacities !== undefined &&
|
|
@@ -19557,7 +20466,10 @@ var serializeAws_json1_1UpdateImageRequest = function (input, context) {
|
|
|
19557
20466
|
})), (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.DisplayName !== undefined && input.DisplayName !== null && { DisplayName: input.DisplayName })), (input.ImageName !== undefined && input.ImageName !== null && { ImageName: input.ImageName })), (input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn }));
|
|
19558
20467
|
};
|
|
19559
20468
|
var serializeAws_json1_1UpdateModelPackageInput = function (input, context) {
|
|
19560
|
-
return __assign(__assign(__assign(__assign(__assign({}, (input.
|
|
20469
|
+
return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.AdditionalInferenceSpecificationsToAdd !== undefined &&
|
|
20470
|
+
input.AdditionalInferenceSpecificationsToAdd !== null && {
|
|
20471
|
+
AdditionalInferenceSpecificationsToAdd: serializeAws_json1_1AdditionalInferenceSpecifications(input.AdditionalInferenceSpecificationsToAdd, context),
|
|
20472
|
+
})), (input.ApprovalDescription !== undefined &&
|
|
19561
20473
|
input.ApprovalDescription !== null && { ApprovalDescription: input.ApprovalDescription })), (input.CustomerMetadataProperties !== undefined &&
|
|
19562
20474
|
input.CustomerMetadataProperties !== null && {
|
|
19563
20475
|
CustomerMetadataProperties: serializeAws_json1_1CustomerMetadataMap(input.CustomerMetadataProperties, context),
|
|
@@ -19801,6 +20713,38 @@ var deserializeAws_json1_1AdditionalCodeRepositoryNamesOrUrls = function (output
|
|
|
19801
20713
|
return __expectString(entry);
|
|
19802
20714
|
});
|
|
19803
20715
|
};
|
|
20716
|
+
var deserializeAws_json1_1AdditionalInferenceSpecificationDefinition = function (output, context) {
|
|
20717
|
+
return {
|
|
20718
|
+
Containers: output.Containers !== undefined && output.Containers !== null
|
|
20719
|
+
? deserializeAws_json1_1ModelPackageContainerDefinitionList(output.Containers, context)
|
|
20720
|
+
: undefined,
|
|
20721
|
+
Description: __expectString(output.Description),
|
|
20722
|
+
Name: __expectString(output.Name),
|
|
20723
|
+
SupportedContentTypes: output.SupportedContentTypes !== undefined && output.SupportedContentTypes !== null
|
|
20724
|
+
? deserializeAws_json1_1ContentTypes(output.SupportedContentTypes, context)
|
|
20725
|
+
: undefined,
|
|
20726
|
+
SupportedRealtimeInferenceInstanceTypes: output.SupportedRealtimeInferenceInstanceTypes !== undefined &&
|
|
20727
|
+
output.SupportedRealtimeInferenceInstanceTypes !== null
|
|
20728
|
+
? deserializeAws_json1_1RealtimeInferenceInstanceTypes(output.SupportedRealtimeInferenceInstanceTypes, context)
|
|
20729
|
+
: undefined,
|
|
20730
|
+
SupportedResponseMIMETypes: output.SupportedResponseMIMETypes !== undefined && output.SupportedResponseMIMETypes !== null
|
|
20731
|
+
? deserializeAws_json1_1ResponseMIMETypes(output.SupportedResponseMIMETypes, context)
|
|
20732
|
+
: undefined,
|
|
20733
|
+
SupportedTransformInstanceTypes: output.SupportedTransformInstanceTypes !== undefined && output.SupportedTransformInstanceTypes !== null
|
|
20734
|
+
? deserializeAws_json1_1TransformInstanceTypes(output.SupportedTransformInstanceTypes, context)
|
|
20735
|
+
: undefined,
|
|
20736
|
+
};
|
|
20737
|
+
};
|
|
20738
|
+
var deserializeAws_json1_1AdditionalInferenceSpecifications = function (output, context) {
|
|
20739
|
+
return (output || [])
|
|
20740
|
+
.filter(function (e) { return e != null; })
|
|
20741
|
+
.map(function (entry) {
|
|
20742
|
+
if (entry === null) {
|
|
20743
|
+
return null;
|
|
20744
|
+
}
|
|
20745
|
+
return deserializeAws_json1_1AdditionalInferenceSpecificationDefinition(entry, context);
|
|
20746
|
+
});
|
|
20747
|
+
};
|
|
19804
20748
|
var deserializeAws_json1_1AddTagsOutput = function (output, context) {
|
|
19805
20749
|
return {
|
|
19806
20750
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
@@ -20362,6 +21306,12 @@ var deserializeAws_json1_1BatchDescribeModelPackageSummary = function (output, c
|
|
|
20362
21306
|
};
|
|
20363
21307
|
var deserializeAws_json1_1Bias = function (output, context) {
|
|
20364
21308
|
return {
|
|
21309
|
+
PostTrainingReport: output.PostTrainingReport !== undefined && output.PostTrainingReport !== null
|
|
21310
|
+
? deserializeAws_json1_1MetricsSource(output.PostTrainingReport, context)
|
|
21311
|
+
: undefined,
|
|
21312
|
+
PreTrainingReport: output.PreTrainingReport !== undefined && output.PreTrainingReport !== null
|
|
21313
|
+
? deserializeAws_json1_1MetricsSource(output.PreTrainingReport, context)
|
|
21314
|
+
: undefined,
|
|
20365
21315
|
Report: output.Report !== undefined && output.Report !== null
|
|
20366
21316
|
? deserializeAws_json1_1MetricsSource(output.Report, context)
|
|
20367
21317
|
: undefined,
|
|
@@ -20446,6 +21396,14 @@ var deserializeAws_json1_1CaptureOptionList = function (output, context) {
|
|
|
20446
21396
|
return deserializeAws_json1_1CaptureOption(entry, context);
|
|
20447
21397
|
});
|
|
20448
21398
|
};
|
|
21399
|
+
var deserializeAws_json1_1CategoricalParameter = function (output, context) {
|
|
21400
|
+
return {
|
|
21401
|
+
Name: __expectString(output.Name),
|
|
21402
|
+
Value: output.Value !== undefined && output.Value !== null
|
|
21403
|
+
? deserializeAws_json1_1CategoricalParameterRangeValues(output.Value, context)
|
|
21404
|
+
: undefined,
|
|
21405
|
+
};
|
|
21406
|
+
};
|
|
20449
21407
|
var deserializeAws_json1_1CategoricalParameterRange = function (output, context) {
|
|
20450
21408
|
return {
|
|
20451
21409
|
Name: __expectString(output.Name),
|
|
@@ -20471,6 +21429,26 @@ var deserializeAws_json1_1CategoricalParameterRangeSpecification = function (out
|
|
|
20471
21429
|
: undefined,
|
|
20472
21430
|
};
|
|
20473
21431
|
};
|
|
21432
|
+
var deserializeAws_json1_1CategoricalParameterRangeValues = function (output, context) {
|
|
21433
|
+
return (output || [])
|
|
21434
|
+
.filter(function (e) { return e != null; })
|
|
21435
|
+
.map(function (entry) {
|
|
21436
|
+
if (entry === null) {
|
|
21437
|
+
return null;
|
|
21438
|
+
}
|
|
21439
|
+
return __expectString(entry);
|
|
21440
|
+
});
|
|
21441
|
+
};
|
|
21442
|
+
var deserializeAws_json1_1CategoricalParameters = function (output, context) {
|
|
21443
|
+
return (output || [])
|
|
21444
|
+
.filter(function (e) { return e != null; })
|
|
21445
|
+
.map(function (entry) {
|
|
21446
|
+
if (entry === null) {
|
|
21447
|
+
return null;
|
|
21448
|
+
}
|
|
21449
|
+
return deserializeAws_json1_1CategoricalParameter(entry, context);
|
|
21450
|
+
});
|
|
21451
|
+
};
|
|
20474
21452
|
var deserializeAws_json1_1Channel = function (output, context) {
|
|
20475
21453
|
return {
|
|
20476
21454
|
ChannelName: __expectString(output.ChannelName),
|
|
@@ -20528,6 +21506,18 @@ var deserializeAws_json1_1Cidrs = function (output, context) {
|
|
|
20528
21506
|
return __expectString(entry);
|
|
20529
21507
|
});
|
|
20530
21508
|
};
|
|
21509
|
+
var deserializeAws_json1_1ClarifyCheckStepMetadata = function (output, context) {
|
|
21510
|
+
return {
|
|
21511
|
+
BaselineUsedForDriftCheckConstraints: __expectString(output.BaselineUsedForDriftCheckConstraints),
|
|
21512
|
+
CalculatedBaselineConstraints: __expectString(output.CalculatedBaselineConstraints),
|
|
21513
|
+
CheckJobArn: __expectString(output.CheckJobArn),
|
|
21514
|
+
CheckType: __expectString(output.CheckType),
|
|
21515
|
+
ModelPackageGroupName: __expectString(output.ModelPackageGroupName),
|
|
21516
|
+
RegisterNewBaseline: __expectBoolean(output.RegisterNewBaseline),
|
|
21517
|
+
SkipCheck: __expectBoolean(output.SkipCheck),
|
|
21518
|
+
ViolationReport: __expectString(output.ViolationReport),
|
|
21519
|
+
};
|
|
21520
|
+
};
|
|
20531
21521
|
var deserializeAws_json1_1CodeRepositorySummary = function (output, context) {
|
|
20532
21522
|
return {
|
|
20533
21523
|
CodeRepositoryArn: __expectString(output.CodeRepositoryArn),
|
|
@@ -20667,6 +21657,7 @@ var deserializeAws_json1_1ContainerDefinition = function (output, context) {
|
|
|
20667
21657
|
ImageConfig: output.ImageConfig !== undefined && output.ImageConfig !== null
|
|
20668
21658
|
? deserializeAws_json1_1ImageConfig(output.ImageConfig, context)
|
|
20669
21659
|
: undefined,
|
|
21660
|
+
InferenceSpecificationName: __expectString(output.InferenceSpecificationName),
|
|
20670
21661
|
Mode: __expectString(output.Mode),
|
|
20671
21662
|
ModelDataUrl: __expectString(output.ModelDataUrl),
|
|
20672
21663
|
ModelPackageName: __expectString(output.ModelPackageName),
|
|
@@ -20873,6 +21864,11 @@ var deserializeAws_json1_1CreateImageVersionResponse = function (output, context
|
|
|
20873
21864
|
ImageVersionArn: __expectString(output.ImageVersionArn),
|
|
20874
21865
|
};
|
|
20875
21866
|
};
|
|
21867
|
+
var deserializeAws_json1_1CreateInferenceRecommendationsJobResponse = function (output, context) {
|
|
21868
|
+
return {
|
|
21869
|
+
JobArn: __expectString(output.JobArn),
|
|
21870
|
+
};
|
|
21871
|
+
};
|
|
20876
21872
|
var deserializeAws_json1_1CreateLabelingJobResponse = function (output, context) {
|
|
20877
21873
|
return {
|
|
20878
21874
|
LabelingJobArn: __expectString(output.LabelingJobArn),
|
|
@@ -21287,6 +22283,7 @@ var deserializeAws_json1_1DescribeActionResponse = function (output, context) {
|
|
|
21287
22283
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
21288
22284
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
21289
22285
|
: undefined,
|
|
22286
|
+
LineageGroupArn: __expectString(output.LineageGroupArn),
|
|
21290
22287
|
MetadataProperties: output.MetadataProperties !== undefined && output.MetadataProperties !== null
|
|
21291
22288
|
? deserializeAws_json1_1MetadataProperties(output.MetadataProperties, context)
|
|
21292
22289
|
: undefined,
|
|
@@ -21379,6 +22376,7 @@ var deserializeAws_json1_1DescribeArtifactResponse = function (output, context)
|
|
|
21379
22376
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
21380
22377
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
21381
22378
|
: undefined,
|
|
22379
|
+
LineageGroupArn: __expectString(output.LineageGroupArn),
|
|
21382
22380
|
MetadataProperties: output.MetadataProperties !== undefined && output.MetadataProperties !== null
|
|
21383
22381
|
? deserializeAws_json1_1MetadataProperties(output.MetadataProperties, context)
|
|
21384
22382
|
: undefined,
|
|
@@ -21484,6 +22482,7 @@ var deserializeAws_json1_1DescribeCompilationJobResponse = function (output, con
|
|
|
21484
22482
|
ModelDigests: output.ModelDigests !== undefined && output.ModelDigests !== null
|
|
21485
22483
|
? deserializeAws_json1_1ModelDigests(output.ModelDigests, context)
|
|
21486
22484
|
: undefined,
|
|
22485
|
+
ModelPackageVersionArn: __expectString(output.ModelPackageVersionArn),
|
|
21487
22486
|
OutputConfig: output.OutputConfig !== undefined && output.OutputConfig !== null
|
|
21488
22487
|
? deserializeAws_json1_1OutputConfig(output.OutputConfig, context)
|
|
21489
22488
|
: undefined,
|
|
@@ -21514,6 +22513,7 @@ var deserializeAws_json1_1DescribeContextResponse = function (output, context) {
|
|
|
21514
22513
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
21515
22514
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
21516
22515
|
: undefined,
|
|
22516
|
+
LineageGroupArn: __expectString(output.LineageGroupArn),
|
|
21517
22517
|
Properties: output.Properties !== undefined && output.Properties !== null
|
|
21518
22518
|
? deserializeAws_json1_1LineageEntityParameters(output.Properties, context)
|
|
21519
22519
|
: undefined,
|
|
@@ -21694,6 +22694,9 @@ var deserializeAws_json1_1DescribeEndpointOutput = function (output, context) {
|
|
|
21694
22694
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
21695
22695
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
21696
22696
|
: undefined,
|
|
22697
|
+
PendingDeploymentSummary: output.PendingDeploymentSummary !== undefined && output.PendingDeploymentSummary !== null
|
|
22698
|
+
? deserializeAws_json1_1PendingDeploymentSummary(output.PendingDeploymentSummary, context)
|
|
22699
|
+
: undefined,
|
|
21697
22700
|
ProductionVariants: output.ProductionVariants !== undefined && output.ProductionVariants !== null
|
|
21698
22701
|
? deserializeAws_json1_1ProductionVariantSummaryList(output.ProductionVariants, context)
|
|
21699
22702
|
: undefined,
|
|
@@ -21862,6 +22865,35 @@ var deserializeAws_json1_1DescribeImageVersionResponse = function (output, conte
|
|
|
21862
22865
|
Version: __expectInt32(output.Version),
|
|
21863
22866
|
};
|
|
21864
22867
|
};
|
|
22868
|
+
var deserializeAws_json1_1DescribeInferenceRecommendationsJobResponse = function (output, context) {
|
|
22869
|
+
return {
|
|
22870
|
+
CompletionTime: output.CompletionTime !== undefined && output.CompletionTime !== null
|
|
22871
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletionTime)))
|
|
22872
|
+
: undefined,
|
|
22873
|
+
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
22874
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
22875
|
+
: undefined,
|
|
22876
|
+
FailureReason: __expectString(output.FailureReason),
|
|
22877
|
+
InferenceRecommendations: output.InferenceRecommendations !== undefined && output.InferenceRecommendations !== null
|
|
22878
|
+
? deserializeAws_json1_1InferenceRecommendations(output.InferenceRecommendations, context)
|
|
22879
|
+
: undefined,
|
|
22880
|
+
InputConfig: output.InputConfig !== undefined && output.InputConfig !== null
|
|
22881
|
+
? deserializeAws_json1_1RecommendationJobInputConfig(output.InputConfig, context)
|
|
22882
|
+
: undefined,
|
|
22883
|
+
JobArn: __expectString(output.JobArn),
|
|
22884
|
+
JobDescription: __expectString(output.JobDescription),
|
|
22885
|
+
JobName: __expectString(output.JobName),
|
|
22886
|
+
JobType: __expectString(output.JobType),
|
|
22887
|
+
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
22888
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
22889
|
+
: undefined,
|
|
22890
|
+
RoleArn: __expectString(output.RoleArn),
|
|
22891
|
+
Status: __expectString(output.Status),
|
|
22892
|
+
StoppingConditions: output.StoppingConditions !== undefined && output.StoppingConditions !== null
|
|
22893
|
+
? deserializeAws_json1_1RecommendationJobStoppingConditions(output.StoppingConditions, context)
|
|
22894
|
+
: undefined,
|
|
22895
|
+
};
|
|
22896
|
+
};
|
|
21865
22897
|
var deserializeAws_json1_1DescribeLabelingJobResponse = function (output, context) {
|
|
21866
22898
|
return {
|
|
21867
22899
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
@@ -21904,6 +22936,26 @@ var deserializeAws_json1_1DescribeLabelingJobResponse = function (output, contex
|
|
|
21904
22936
|
: undefined,
|
|
21905
22937
|
};
|
|
21906
22938
|
};
|
|
22939
|
+
var deserializeAws_json1_1DescribeLineageGroupResponse = function (output, context) {
|
|
22940
|
+
return {
|
|
22941
|
+
CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
|
|
22942
|
+
? deserializeAws_json1_1UserContext(output.CreatedBy, context)
|
|
22943
|
+
: undefined,
|
|
22944
|
+
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
22945
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
22946
|
+
: undefined,
|
|
22947
|
+
Description: __expectString(output.Description),
|
|
22948
|
+
DisplayName: __expectString(output.DisplayName),
|
|
22949
|
+
LastModifiedBy: output.LastModifiedBy !== undefined && output.LastModifiedBy !== null
|
|
22950
|
+
? deserializeAws_json1_1UserContext(output.LastModifiedBy, context)
|
|
22951
|
+
: undefined,
|
|
22952
|
+
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
22953
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
22954
|
+
: undefined,
|
|
22955
|
+
LineageGroupArn: __expectString(output.LineageGroupArn),
|
|
22956
|
+
LineageGroupName: __expectString(output.LineageGroupName),
|
|
22957
|
+
};
|
|
22958
|
+
};
|
|
21907
22959
|
var deserializeAws_json1_1DescribeModelBiasJobDefinitionResponse = function (output, context) {
|
|
21908
22960
|
return {
|
|
21909
22961
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
@@ -22005,6 +23057,9 @@ var deserializeAws_json1_1DescribeModelPackageGroupOutput = function (output, co
|
|
|
22005
23057
|
};
|
|
22006
23058
|
var deserializeAws_json1_1DescribeModelPackageOutput = function (output, context) {
|
|
22007
23059
|
return {
|
|
23060
|
+
AdditionalInferenceSpecifications: output.AdditionalInferenceSpecifications !== undefined && output.AdditionalInferenceSpecifications !== null
|
|
23061
|
+
? deserializeAws_json1_1AdditionalInferenceSpecifications(output.AdditionalInferenceSpecifications, context)
|
|
23062
|
+
: undefined,
|
|
22008
23063
|
ApprovalDescription: __expectString(output.ApprovalDescription),
|
|
22009
23064
|
CertifyForMarketplace: __expectBoolean(output.CertifyForMarketplace),
|
|
22010
23065
|
CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
|
|
@@ -22016,6 +23071,10 @@ var deserializeAws_json1_1DescribeModelPackageOutput = function (output, context
|
|
|
22016
23071
|
CustomerMetadataProperties: output.CustomerMetadataProperties !== undefined && output.CustomerMetadataProperties !== null
|
|
22017
23072
|
? deserializeAws_json1_1CustomerMetadataMap(output.CustomerMetadataProperties, context)
|
|
22018
23073
|
: undefined,
|
|
23074
|
+
Domain: __expectString(output.Domain),
|
|
23075
|
+
DriftCheckBaselines: output.DriftCheckBaselines !== undefined && output.DriftCheckBaselines !== null
|
|
23076
|
+
? deserializeAws_json1_1DriftCheckBaselines(output.DriftCheckBaselines, context)
|
|
23077
|
+
: undefined,
|
|
22019
23078
|
InferenceSpecification: output.InferenceSpecification !== undefined && output.InferenceSpecification !== null
|
|
22020
23079
|
? deserializeAws_json1_1InferenceSpecification(output.InferenceSpecification, context)
|
|
22021
23080
|
: undefined,
|
|
@@ -22041,9 +23100,11 @@ var deserializeAws_json1_1DescribeModelPackageOutput = function (output, context
|
|
|
22041
23100
|
? deserializeAws_json1_1ModelPackageStatusDetails(output.ModelPackageStatusDetails, context)
|
|
22042
23101
|
: undefined,
|
|
22043
23102
|
ModelPackageVersion: __expectInt32(output.ModelPackageVersion),
|
|
23103
|
+
SamplePayloadUrl: __expectString(output.SamplePayloadUrl),
|
|
22044
23104
|
SourceAlgorithmSpecification: output.SourceAlgorithmSpecification !== undefined && output.SourceAlgorithmSpecification !== null
|
|
22045
23105
|
? deserializeAws_json1_1SourceAlgorithmSpecification(output.SourceAlgorithmSpecification, context)
|
|
22046
23106
|
: undefined,
|
|
23107
|
+
Task: __expectString(output.Task),
|
|
22047
23108
|
ValidationSpecification: output.ValidationSpecification !== undefined && output.ValidationSpecification !== null
|
|
22048
23109
|
? deserializeAws_json1_1ModelPackageValidationSpecification(output.ValidationSpecification, context)
|
|
22049
23110
|
: undefined,
|
|
@@ -22471,6 +23532,7 @@ var deserializeAws_json1_1DescribeTrialComponentResponse = function (output, con
|
|
|
22471
23532
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
22472
23533
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
22473
23534
|
: undefined,
|
|
23535
|
+
LineageGroupArn: __expectString(output.LineageGroupArn),
|
|
22474
23536
|
MetadataProperties: output.MetadataProperties !== undefined && output.MetadataProperties !== null
|
|
22475
23537
|
? deserializeAws_json1_1MetadataProperties(output.MetadataProperties, context)
|
|
22476
23538
|
: undefined,
|
|
@@ -22668,6 +23730,72 @@ var deserializeAws_json1_1DomainSettings = function (output, context) {
|
|
|
22668
23730
|
: undefined,
|
|
22669
23731
|
};
|
|
22670
23732
|
};
|
|
23733
|
+
var deserializeAws_json1_1DriftCheckBaselines = function (output, context) {
|
|
23734
|
+
return {
|
|
23735
|
+
Bias: output.Bias !== undefined && output.Bias !== null
|
|
23736
|
+
? deserializeAws_json1_1DriftCheckBias(output.Bias, context)
|
|
23737
|
+
: undefined,
|
|
23738
|
+
Explainability: output.Explainability !== undefined && output.Explainability !== null
|
|
23739
|
+
? deserializeAws_json1_1DriftCheckExplainability(output.Explainability, context)
|
|
23740
|
+
: undefined,
|
|
23741
|
+
ModelDataQuality: output.ModelDataQuality !== undefined && output.ModelDataQuality !== null
|
|
23742
|
+
? deserializeAws_json1_1DriftCheckModelDataQuality(output.ModelDataQuality, context)
|
|
23743
|
+
: undefined,
|
|
23744
|
+
ModelQuality: output.ModelQuality !== undefined && output.ModelQuality !== null
|
|
23745
|
+
? deserializeAws_json1_1DriftCheckModelQuality(output.ModelQuality, context)
|
|
23746
|
+
: undefined,
|
|
23747
|
+
};
|
|
23748
|
+
};
|
|
23749
|
+
var deserializeAws_json1_1DriftCheckBias = function (output, context) {
|
|
23750
|
+
return {
|
|
23751
|
+
ConfigFile: output.ConfigFile !== undefined && output.ConfigFile !== null
|
|
23752
|
+
? deserializeAws_json1_1FileSource(output.ConfigFile, context)
|
|
23753
|
+
: undefined,
|
|
23754
|
+
PostTrainingConstraints: output.PostTrainingConstraints !== undefined && output.PostTrainingConstraints !== null
|
|
23755
|
+
? deserializeAws_json1_1MetricsSource(output.PostTrainingConstraints, context)
|
|
23756
|
+
: undefined,
|
|
23757
|
+
PreTrainingConstraints: output.PreTrainingConstraints !== undefined && output.PreTrainingConstraints !== null
|
|
23758
|
+
? deserializeAws_json1_1MetricsSource(output.PreTrainingConstraints, context)
|
|
23759
|
+
: undefined,
|
|
23760
|
+
};
|
|
23761
|
+
};
|
|
23762
|
+
var deserializeAws_json1_1DriftCheckExplainability = function (output, context) {
|
|
23763
|
+
return {
|
|
23764
|
+
ConfigFile: output.ConfigFile !== undefined && output.ConfigFile !== null
|
|
23765
|
+
? deserializeAws_json1_1FileSource(output.ConfigFile, context)
|
|
23766
|
+
: undefined,
|
|
23767
|
+
Constraints: output.Constraints !== undefined && output.Constraints !== null
|
|
23768
|
+
? deserializeAws_json1_1MetricsSource(output.Constraints, context)
|
|
23769
|
+
: undefined,
|
|
23770
|
+
};
|
|
23771
|
+
};
|
|
23772
|
+
var deserializeAws_json1_1DriftCheckModelDataQuality = function (output, context) {
|
|
23773
|
+
return {
|
|
23774
|
+
Constraints: output.Constraints !== undefined && output.Constraints !== null
|
|
23775
|
+
? deserializeAws_json1_1MetricsSource(output.Constraints, context)
|
|
23776
|
+
: undefined,
|
|
23777
|
+
Statistics: output.Statistics !== undefined && output.Statistics !== null
|
|
23778
|
+
? deserializeAws_json1_1MetricsSource(output.Statistics, context)
|
|
23779
|
+
: undefined,
|
|
23780
|
+
};
|
|
23781
|
+
};
|
|
23782
|
+
var deserializeAws_json1_1DriftCheckModelQuality = function (output, context) {
|
|
23783
|
+
return {
|
|
23784
|
+
Constraints: output.Constraints !== undefined && output.Constraints !== null
|
|
23785
|
+
? deserializeAws_json1_1MetricsSource(output.Constraints, context)
|
|
23786
|
+
: undefined,
|
|
23787
|
+
Statistics: output.Statistics !== undefined && output.Statistics !== null
|
|
23788
|
+
? deserializeAws_json1_1MetricsSource(output.Statistics, context)
|
|
23789
|
+
: undefined,
|
|
23790
|
+
};
|
|
23791
|
+
};
|
|
23792
|
+
var deserializeAws_json1_1Edge = function (output, context) {
|
|
23793
|
+
return {
|
|
23794
|
+
AssociationType: __expectString(output.AssociationType),
|
|
23795
|
+
DestinationArn: __expectString(output.DestinationArn),
|
|
23796
|
+
SourceArn: __expectString(output.SourceArn),
|
|
23797
|
+
};
|
|
23798
|
+
};
|
|
22671
23799
|
var deserializeAws_json1_1EdgeModel = function (output, context) {
|
|
22672
23800
|
return {
|
|
22673
23801
|
LatestInference: output.LatestInference !== undefined && output.LatestInference !== null
|
|
@@ -22768,6 +23896,16 @@ var deserializeAws_json1_1EdgePresetDeploymentOutput = function (output, context
|
|
|
22768
23896
|
Type: __expectString(output.Type),
|
|
22769
23897
|
};
|
|
22770
23898
|
};
|
|
23899
|
+
var deserializeAws_json1_1Edges = function (output, context) {
|
|
23900
|
+
return (output || [])
|
|
23901
|
+
.filter(function (e) { return e != null; })
|
|
23902
|
+
.map(function (entry) {
|
|
23903
|
+
if (entry === null) {
|
|
23904
|
+
return null;
|
|
23905
|
+
}
|
|
23906
|
+
return deserializeAws_json1_1Edge(entry, context);
|
|
23907
|
+
});
|
|
23908
|
+
};
|
|
22771
23909
|
var deserializeAws_json1_1EnableSagemakerServicecatalogPortfolioOutput = function (output, context) {
|
|
22772
23910
|
return {};
|
|
22773
23911
|
};
|
|
@@ -22831,6 +23969,33 @@ var deserializeAws_json1_1EndpointInput = function (output, context) {
|
|
|
22831
23969
|
StartTimeOffset: __expectString(output.StartTimeOffset),
|
|
22832
23970
|
};
|
|
22833
23971
|
};
|
|
23972
|
+
var deserializeAws_json1_1EndpointInputConfiguration = function (output, context) {
|
|
23973
|
+
return {
|
|
23974
|
+
EnvironmentParameterRanges: output.EnvironmentParameterRanges !== undefined && output.EnvironmentParameterRanges !== null
|
|
23975
|
+
? deserializeAws_json1_1EnvironmentParameterRanges(output.EnvironmentParameterRanges, context)
|
|
23976
|
+
: undefined,
|
|
23977
|
+
InferenceSpecificationName: __expectString(output.InferenceSpecificationName),
|
|
23978
|
+
InstanceType: __expectString(output.InstanceType),
|
|
23979
|
+
};
|
|
23980
|
+
};
|
|
23981
|
+
var deserializeAws_json1_1EndpointInputConfigurations = function (output, context) {
|
|
23982
|
+
return (output || [])
|
|
23983
|
+
.filter(function (e) { return e != null; })
|
|
23984
|
+
.map(function (entry) {
|
|
23985
|
+
if (entry === null) {
|
|
23986
|
+
return null;
|
|
23987
|
+
}
|
|
23988
|
+
return deserializeAws_json1_1EndpointInputConfiguration(entry, context);
|
|
23989
|
+
});
|
|
23990
|
+
};
|
|
23991
|
+
var deserializeAws_json1_1EndpointOutputConfiguration = function (output, context) {
|
|
23992
|
+
return {
|
|
23993
|
+
EndpointName: __expectString(output.EndpointName),
|
|
23994
|
+
InitialInstanceCount: __expectInt32(output.InitialInstanceCount),
|
|
23995
|
+
InstanceType: __expectString(output.InstanceType),
|
|
23996
|
+
VariantName: __expectString(output.VariantName),
|
|
23997
|
+
};
|
|
23998
|
+
};
|
|
22834
23999
|
var deserializeAws_json1_1EndpointSummary = function (output, context) {
|
|
22835
24000
|
return {
|
|
22836
24001
|
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
@@ -22864,6 +24029,30 @@ var deserializeAws_json1_1EnvironmentMap = function (output, context) {
|
|
|
22864
24029
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
|
|
22865
24030
|
}, {});
|
|
22866
24031
|
};
|
|
24032
|
+
var deserializeAws_json1_1EnvironmentParameter = function (output, context) {
|
|
24033
|
+
return {
|
|
24034
|
+
Key: __expectString(output.Key),
|
|
24035
|
+
Value: __expectString(output.Value),
|
|
24036
|
+
ValueType: __expectString(output.ValueType),
|
|
24037
|
+
};
|
|
24038
|
+
};
|
|
24039
|
+
var deserializeAws_json1_1EnvironmentParameterRanges = function (output, context) {
|
|
24040
|
+
return {
|
|
24041
|
+
CategoricalParameterRanges: output.CategoricalParameterRanges !== undefined && output.CategoricalParameterRanges !== null
|
|
24042
|
+
? deserializeAws_json1_1CategoricalParameters(output.CategoricalParameterRanges, context)
|
|
24043
|
+
: undefined,
|
|
24044
|
+
};
|
|
24045
|
+
};
|
|
24046
|
+
var deserializeAws_json1_1EnvironmentParameters = function (output, context) {
|
|
24047
|
+
return (output || [])
|
|
24048
|
+
.filter(function (e) { return e != null; })
|
|
24049
|
+
.map(function (entry) {
|
|
24050
|
+
if (entry === null) {
|
|
24051
|
+
return null;
|
|
24052
|
+
}
|
|
24053
|
+
return deserializeAws_json1_1EnvironmentParameter(entry, context);
|
|
24054
|
+
});
|
|
24055
|
+
};
|
|
22867
24056
|
var deserializeAws_json1_1Experiment = function (output, context) {
|
|
22868
24057
|
return {
|
|
22869
24058
|
CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
|
|
@@ -23005,6 +24194,13 @@ var deserializeAws_json1_1FeatureGroupSummary = function (output, context) {
|
|
|
23005
24194
|
: undefined,
|
|
23006
24195
|
};
|
|
23007
24196
|
};
|
|
24197
|
+
var deserializeAws_json1_1FileSource = function (output, context) {
|
|
24198
|
+
return {
|
|
24199
|
+
ContentDigest: __expectString(output.ContentDigest),
|
|
24200
|
+
ContentType: __expectString(output.ContentType),
|
|
24201
|
+
S3Uri: __expectString(output.S3Uri),
|
|
24202
|
+
};
|
|
24203
|
+
};
|
|
23008
24204
|
var deserializeAws_json1_1FileSystemConfig = function (output, context) {
|
|
23009
24205
|
return {
|
|
23010
24206
|
DefaultGid: __expectInt32(output.DefaultGid),
|
|
@@ -23103,6 +24299,12 @@ var deserializeAws_json1_1GetDeviceFleetReportResponse = function (output, conte
|
|
|
23103
24299
|
: undefined,
|
|
23104
24300
|
};
|
|
23105
24301
|
};
|
|
24302
|
+
var deserializeAws_json1_1GetLineageGroupPolicyResponse = function (output, context) {
|
|
24303
|
+
return {
|
|
24304
|
+
LineageGroupArn: __expectString(output.LineageGroupArn),
|
|
24305
|
+
ResourcePolicy: __expectString(output.ResourcePolicy),
|
|
24306
|
+
};
|
|
24307
|
+
};
|
|
23106
24308
|
var deserializeAws_json1_1GetModelPackageGroupPolicyOutput = function (output, context) {
|
|
23107
24309
|
return {
|
|
23108
24310
|
ResourcePolicy: __expectString(output.ResourcePolicy),
|
|
@@ -23500,6 +24702,59 @@ var deserializeAws_json1_1InferenceExecutionConfig = function (output, context)
|
|
|
23500
24702
|
Mode: __expectString(output.Mode),
|
|
23501
24703
|
};
|
|
23502
24704
|
};
|
|
24705
|
+
var deserializeAws_json1_1InferenceRecommendation = function (output, context) {
|
|
24706
|
+
return {
|
|
24707
|
+
EndpointConfiguration: output.EndpointConfiguration !== undefined && output.EndpointConfiguration !== null
|
|
24708
|
+
? deserializeAws_json1_1EndpointOutputConfiguration(output.EndpointConfiguration, context)
|
|
24709
|
+
: undefined,
|
|
24710
|
+
Metrics: output.Metrics !== undefined && output.Metrics !== null
|
|
24711
|
+
? deserializeAws_json1_1RecommendationMetrics(output.Metrics, context)
|
|
24712
|
+
: undefined,
|
|
24713
|
+
ModelConfiguration: output.ModelConfiguration !== undefined && output.ModelConfiguration !== null
|
|
24714
|
+
? deserializeAws_json1_1ModelConfiguration(output.ModelConfiguration, context)
|
|
24715
|
+
: undefined,
|
|
24716
|
+
};
|
|
24717
|
+
};
|
|
24718
|
+
var deserializeAws_json1_1InferenceRecommendations = function (output, context) {
|
|
24719
|
+
return (output || [])
|
|
24720
|
+
.filter(function (e) { return e != null; })
|
|
24721
|
+
.map(function (entry) {
|
|
24722
|
+
if (entry === null) {
|
|
24723
|
+
return null;
|
|
24724
|
+
}
|
|
24725
|
+
return deserializeAws_json1_1InferenceRecommendation(entry, context);
|
|
24726
|
+
});
|
|
24727
|
+
};
|
|
24728
|
+
var deserializeAws_json1_1InferenceRecommendationsJob = function (output, context) {
|
|
24729
|
+
return {
|
|
24730
|
+
CompletionTime: output.CompletionTime !== undefined && output.CompletionTime !== null
|
|
24731
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CompletionTime)))
|
|
24732
|
+
: undefined,
|
|
24733
|
+
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
24734
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
24735
|
+
: undefined,
|
|
24736
|
+
FailureReason: __expectString(output.FailureReason),
|
|
24737
|
+
JobArn: __expectString(output.JobArn),
|
|
24738
|
+
JobDescription: __expectString(output.JobDescription),
|
|
24739
|
+
JobName: __expectString(output.JobName),
|
|
24740
|
+
JobType: __expectString(output.JobType),
|
|
24741
|
+
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
24742
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
24743
|
+
: undefined,
|
|
24744
|
+
RoleArn: __expectString(output.RoleArn),
|
|
24745
|
+
Status: __expectString(output.Status),
|
|
24746
|
+
};
|
|
24747
|
+
};
|
|
24748
|
+
var deserializeAws_json1_1InferenceRecommendationsJobs = function (output, context) {
|
|
24749
|
+
return (output || [])
|
|
24750
|
+
.filter(function (e) { return e != null; })
|
|
24751
|
+
.map(function (entry) {
|
|
24752
|
+
if (entry === null) {
|
|
24753
|
+
return null;
|
|
24754
|
+
}
|
|
24755
|
+
return deserializeAws_json1_1InferenceRecommendationsJob(entry, context);
|
|
24756
|
+
});
|
|
24757
|
+
};
|
|
23503
24758
|
var deserializeAws_json1_1InferenceSpecification = function (output, context) {
|
|
23504
24759
|
return {
|
|
23505
24760
|
Containers: output.Containers !== undefined && output.Containers !== null
|
|
@@ -23805,6 +25060,29 @@ var deserializeAws_json1_1LineageEntityParameters = function (output, context) {
|
|
|
23805
25060
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
|
|
23806
25061
|
}, {});
|
|
23807
25062
|
};
|
|
25063
|
+
var deserializeAws_json1_1LineageGroupSummaries = function (output, context) {
|
|
25064
|
+
return (output || [])
|
|
25065
|
+
.filter(function (e) { return e != null; })
|
|
25066
|
+
.map(function (entry) {
|
|
25067
|
+
if (entry === null) {
|
|
25068
|
+
return null;
|
|
25069
|
+
}
|
|
25070
|
+
return deserializeAws_json1_1LineageGroupSummary(entry, context);
|
|
25071
|
+
});
|
|
25072
|
+
};
|
|
25073
|
+
var deserializeAws_json1_1LineageGroupSummary = function (output, context) {
|
|
25074
|
+
return {
|
|
25075
|
+
CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
|
|
25076
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
|
|
25077
|
+
: undefined,
|
|
25078
|
+
DisplayName: __expectString(output.DisplayName),
|
|
25079
|
+
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
25080
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
25081
|
+
: undefined,
|
|
25082
|
+
LineageGroupArn: __expectString(output.LineageGroupArn),
|
|
25083
|
+
LineageGroupName: __expectString(output.LineageGroupName),
|
|
25084
|
+
};
|
|
25085
|
+
};
|
|
23808
25086
|
var deserializeAws_json1_1ListActionsResponse = function (output, context) {
|
|
23809
25087
|
return {
|
|
23810
25088
|
ActionSummaries: output.ActionSummaries !== undefined && output.ActionSummaries !== null
|
|
@@ -24005,6 +25283,14 @@ var deserializeAws_json1_1ListImageVersionsResponse = function (output, context)
|
|
|
24005
25283
|
NextToken: __expectString(output.NextToken),
|
|
24006
25284
|
};
|
|
24007
25285
|
};
|
|
25286
|
+
var deserializeAws_json1_1ListInferenceRecommendationsJobsResponse = function (output, context) {
|
|
25287
|
+
return {
|
|
25288
|
+
InferenceRecommendationsJobs: output.InferenceRecommendationsJobs !== undefined && output.InferenceRecommendationsJobs !== null
|
|
25289
|
+
? deserializeAws_json1_1InferenceRecommendationsJobs(output.InferenceRecommendationsJobs, context)
|
|
25290
|
+
: undefined,
|
|
25291
|
+
NextToken: __expectString(output.NextToken),
|
|
25292
|
+
};
|
|
25293
|
+
};
|
|
24008
25294
|
var deserializeAws_json1_1ListLabelingJobsForWorkteamResponse = function (output, context) {
|
|
24009
25295
|
return {
|
|
24010
25296
|
LabelingJobSummaryList: output.LabelingJobSummaryList !== undefined && output.LabelingJobSummaryList !== null
|
|
@@ -24021,6 +25307,14 @@ var deserializeAws_json1_1ListLabelingJobsResponse = function (output, context)
|
|
|
24021
25307
|
NextToken: __expectString(output.NextToken),
|
|
24022
25308
|
};
|
|
24023
25309
|
};
|
|
25310
|
+
var deserializeAws_json1_1ListLineageGroupsResponse = function (output, context) {
|
|
25311
|
+
return {
|
|
25312
|
+
LineageGroupSummaries: output.LineageGroupSummaries !== undefined && output.LineageGroupSummaries !== null
|
|
25313
|
+
? deserializeAws_json1_1LineageGroupSummaries(output.LineageGroupSummaries, context)
|
|
25314
|
+
: undefined,
|
|
25315
|
+
NextToken: __expectString(output.NextToken),
|
|
25316
|
+
};
|
|
25317
|
+
};
|
|
24024
25318
|
var deserializeAws_json1_1ListModelBiasJobDefinitionsResponse = function (output, context) {
|
|
24025
25319
|
return {
|
|
24026
25320
|
JobDefinitionSummaries: output.JobDefinitionSummaries !== undefined && output.JobDefinitionSummaries !== null
|
|
@@ -24037,6 +25331,14 @@ var deserializeAws_json1_1ListModelExplainabilityJobDefinitionsResponse = functi
|
|
|
24037
25331
|
NextToken: __expectString(output.NextToken),
|
|
24038
25332
|
};
|
|
24039
25333
|
};
|
|
25334
|
+
var deserializeAws_json1_1ListModelMetadataResponse = function (output, context) {
|
|
25335
|
+
return {
|
|
25336
|
+
ModelMetadataSummaries: output.ModelMetadataSummaries !== undefined && output.ModelMetadataSummaries !== null
|
|
25337
|
+
? deserializeAws_json1_1ModelMetadataSummaries(output.ModelMetadataSummaries, context)
|
|
25338
|
+
: undefined,
|
|
25339
|
+
NextToken: __expectString(output.NextToken),
|
|
25340
|
+
};
|
|
25341
|
+
};
|
|
24040
25342
|
var deserializeAws_json1_1ListModelPackageGroupsOutput = function (output, context) {
|
|
24041
25343
|
return {
|
|
24042
25344
|
ModelPackageGroupSummaryList: output.ModelPackageGroupSummaryList !== undefined && output.ModelPackageGroupSummaryList !== null
|
|
@@ -24352,6 +25654,14 @@ var deserializeAws_json1_1ModelClientConfig = function (output, context) {
|
|
|
24352
25654
|
InvocationsTimeoutInSeconds: __expectInt32(output.InvocationsTimeoutInSeconds),
|
|
24353
25655
|
};
|
|
24354
25656
|
};
|
|
25657
|
+
var deserializeAws_json1_1ModelConfiguration = function (output, context) {
|
|
25658
|
+
return {
|
|
25659
|
+
EnvironmentParameters: output.EnvironmentParameters !== undefined && output.EnvironmentParameters !== null
|
|
25660
|
+
? deserializeAws_json1_1EnvironmentParameters(output.EnvironmentParameters, context)
|
|
25661
|
+
: undefined,
|
|
25662
|
+
InferenceSpecificationName: __expectString(output.InferenceSpecificationName),
|
|
25663
|
+
};
|
|
25664
|
+
};
|
|
24355
25665
|
var deserializeAws_json1_1ModelDataQuality = function (output, context) {
|
|
24356
25666
|
return {
|
|
24357
25667
|
Constraints: output.Constraints !== undefined && output.Constraints !== null
|
|
@@ -24402,6 +25712,46 @@ var deserializeAws_json1_1ModelExplainabilityJobInput = function (output, contex
|
|
|
24402
25712
|
: undefined,
|
|
24403
25713
|
};
|
|
24404
25714
|
};
|
|
25715
|
+
var deserializeAws_json1_1ModelInput = function (output, context) {
|
|
25716
|
+
return {
|
|
25717
|
+
DataInputConfig: __expectString(output.DataInputConfig),
|
|
25718
|
+
};
|
|
25719
|
+
};
|
|
25720
|
+
var deserializeAws_json1_1ModelLatencyThreshold = function (output, context) {
|
|
25721
|
+
return {
|
|
25722
|
+
Percentile: __expectString(output.Percentile),
|
|
25723
|
+
ValueInMilliseconds: __expectInt32(output.ValueInMilliseconds),
|
|
25724
|
+
};
|
|
25725
|
+
};
|
|
25726
|
+
var deserializeAws_json1_1ModelLatencyThresholds = function (output, context) {
|
|
25727
|
+
return (output || [])
|
|
25728
|
+
.filter(function (e) { return e != null; })
|
|
25729
|
+
.map(function (entry) {
|
|
25730
|
+
if (entry === null) {
|
|
25731
|
+
return null;
|
|
25732
|
+
}
|
|
25733
|
+
return deserializeAws_json1_1ModelLatencyThreshold(entry, context);
|
|
25734
|
+
});
|
|
25735
|
+
};
|
|
25736
|
+
var deserializeAws_json1_1ModelMetadataSummaries = function (output, context) {
|
|
25737
|
+
return (output || [])
|
|
25738
|
+
.filter(function (e) { return e != null; })
|
|
25739
|
+
.map(function (entry) {
|
|
25740
|
+
if (entry === null) {
|
|
25741
|
+
return null;
|
|
25742
|
+
}
|
|
25743
|
+
return deserializeAws_json1_1ModelMetadataSummary(entry, context);
|
|
25744
|
+
});
|
|
25745
|
+
};
|
|
25746
|
+
var deserializeAws_json1_1ModelMetadataSummary = function (output, context) {
|
|
25747
|
+
return {
|
|
25748
|
+
Domain: __expectString(output.Domain),
|
|
25749
|
+
Framework: __expectString(output.Framework),
|
|
25750
|
+
FrameworkVersion: __expectString(output.FrameworkVersion),
|
|
25751
|
+
Model: __expectString(output.Model),
|
|
25752
|
+
Task: __expectString(output.Task),
|
|
25753
|
+
};
|
|
25754
|
+
};
|
|
24405
25755
|
var deserializeAws_json1_1ModelMetrics = function (output, context) {
|
|
24406
25756
|
return {
|
|
24407
25757
|
Bias: output.Bias !== undefined && output.Bias !== null ? deserializeAws_json1_1Bias(output.Bias, context) : undefined,
|
|
@@ -24418,6 +25768,9 @@ var deserializeAws_json1_1ModelMetrics = function (output, context) {
|
|
|
24418
25768
|
};
|
|
24419
25769
|
var deserializeAws_json1_1ModelPackage = function (output, context) {
|
|
24420
25770
|
return {
|
|
25771
|
+
AdditionalInferenceSpecifications: output.AdditionalInferenceSpecifications !== undefined && output.AdditionalInferenceSpecifications !== null
|
|
25772
|
+
? deserializeAws_json1_1AdditionalInferenceSpecifications(output.AdditionalInferenceSpecifications, context)
|
|
25773
|
+
: undefined,
|
|
24421
25774
|
ApprovalDescription: __expectString(output.ApprovalDescription),
|
|
24422
25775
|
CertifyForMarketplace: __expectBoolean(output.CertifyForMarketplace),
|
|
24423
25776
|
CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
|
|
@@ -24429,6 +25782,10 @@ var deserializeAws_json1_1ModelPackage = function (output, context) {
|
|
|
24429
25782
|
CustomerMetadataProperties: output.CustomerMetadataProperties !== undefined && output.CustomerMetadataProperties !== null
|
|
24430
25783
|
? deserializeAws_json1_1CustomerMetadataMap(output.CustomerMetadataProperties, context)
|
|
24431
25784
|
: undefined,
|
|
25785
|
+
Domain: __expectString(output.Domain),
|
|
25786
|
+
DriftCheckBaselines: output.DriftCheckBaselines !== undefined && output.DriftCheckBaselines !== null
|
|
25787
|
+
? deserializeAws_json1_1DriftCheckBaselines(output.DriftCheckBaselines, context)
|
|
25788
|
+
: undefined,
|
|
24432
25789
|
InferenceSpecification: output.InferenceSpecification !== undefined && output.InferenceSpecification !== null
|
|
24433
25790
|
? deserializeAws_json1_1InferenceSpecification(output.InferenceSpecification, context)
|
|
24434
25791
|
: undefined,
|
|
@@ -24454,12 +25811,14 @@ var deserializeAws_json1_1ModelPackage = function (output, context) {
|
|
|
24454
25811
|
? deserializeAws_json1_1ModelPackageStatusDetails(output.ModelPackageStatusDetails, context)
|
|
24455
25812
|
: undefined,
|
|
24456
25813
|
ModelPackageVersion: __expectInt32(output.ModelPackageVersion),
|
|
25814
|
+
SamplePayloadUrl: __expectString(output.SamplePayloadUrl),
|
|
24457
25815
|
SourceAlgorithmSpecification: output.SourceAlgorithmSpecification !== undefined && output.SourceAlgorithmSpecification !== null
|
|
24458
25816
|
? deserializeAws_json1_1SourceAlgorithmSpecification(output.SourceAlgorithmSpecification, context)
|
|
24459
25817
|
: undefined,
|
|
24460
25818
|
Tags: output.Tags !== undefined && output.Tags !== null
|
|
24461
25819
|
? deserializeAws_json1_1TagList(output.Tags, context)
|
|
24462
25820
|
: undefined,
|
|
25821
|
+
Task: __expectString(output.Task),
|
|
24463
25822
|
ValidationSpecification: output.ValidationSpecification !== undefined && output.ValidationSpecification !== null
|
|
24464
25823
|
? deserializeAws_json1_1ModelPackageValidationSpecification(output.ValidationSpecification, context)
|
|
24465
25824
|
: undefined,
|
|
@@ -24471,9 +25830,15 @@ var deserializeAws_json1_1ModelPackageContainerDefinition = function (output, co
|
|
|
24471
25830
|
Environment: output.Environment !== undefined && output.Environment !== null
|
|
24472
25831
|
? deserializeAws_json1_1EnvironmentMap(output.Environment, context)
|
|
24473
25832
|
: undefined,
|
|
25833
|
+
Framework: __expectString(output.Framework),
|
|
25834
|
+
FrameworkVersion: __expectString(output.FrameworkVersion),
|
|
24474
25835
|
Image: __expectString(output.Image),
|
|
24475
25836
|
ImageDigest: __expectString(output.ImageDigest),
|
|
24476
25837
|
ModelDataUrl: __expectString(output.ModelDataUrl),
|
|
25838
|
+
ModelInput: output.ModelInput !== undefined && output.ModelInput !== null
|
|
25839
|
+
? deserializeAws_json1_1ModelInput(output.ModelInput, context)
|
|
25840
|
+
: undefined,
|
|
25841
|
+
NearestModelName: __expectString(output.NearestModelName),
|
|
24477
25842
|
ProductId: __expectString(output.ProductId),
|
|
24478
25843
|
};
|
|
24479
25844
|
};
|
|
@@ -25269,6 +26634,67 @@ var deserializeAws_json1_1Parents = function (output, context) {
|
|
|
25269
26634
|
return deserializeAws_json1_1Parent(entry, context);
|
|
25270
26635
|
});
|
|
25271
26636
|
};
|
|
26637
|
+
var deserializeAws_json1_1PendingDeploymentSummary = function (output, context) {
|
|
26638
|
+
return {
|
|
26639
|
+
EndpointConfigName: __expectString(output.EndpointConfigName),
|
|
26640
|
+
ProductionVariants: output.ProductionVariants !== undefined && output.ProductionVariants !== null
|
|
26641
|
+
? deserializeAws_json1_1PendingProductionVariantSummaryList(output.ProductionVariants, context)
|
|
26642
|
+
: undefined,
|
|
26643
|
+
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
26644
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
26645
|
+
: undefined,
|
|
26646
|
+
};
|
|
26647
|
+
};
|
|
26648
|
+
var deserializeAws_json1_1PendingProductionVariantSummary = function (output, context) {
|
|
26649
|
+
return {
|
|
26650
|
+
AcceleratorType: __expectString(output.AcceleratorType),
|
|
26651
|
+
CurrentInstanceCount: __expectInt32(output.CurrentInstanceCount),
|
|
26652
|
+
CurrentServerlessConfig: output.CurrentServerlessConfig !== undefined && output.CurrentServerlessConfig !== null
|
|
26653
|
+
? deserializeAws_json1_1ProductionVariantServerlessConfig(output.CurrentServerlessConfig, context)
|
|
26654
|
+
: undefined,
|
|
26655
|
+
CurrentWeight: __limitedParseFloat32(output.CurrentWeight),
|
|
26656
|
+
DeployedImages: output.DeployedImages !== undefined && output.DeployedImages !== null
|
|
26657
|
+
? deserializeAws_json1_1DeployedImages(output.DeployedImages, context)
|
|
26658
|
+
: undefined,
|
|
26659
|
+
DesiredInstanceCount: __expectInt32(output.DesiredInstanceCount),
|
|
26660
|
+
DesiredServerlessConfig: output.DesiredServerlessConfig !== undefined && output.DesiredServerlessConfig !== null
|
|
26661
|
+
? deserializeAws_json1_1ProductionVariantServerlessConfig(output.DesiredServerlessConfig, context)
|
|
26662
|
+
: undefined,
|
|
26663
|
+
DesiredWeight: __limitedParseFloat32(output.DesiredWeight),
|
|
26664
|
+
InstanceType: __expectString(output.InstanceType),
|
|
26665
|
+
VariantName: __expectString(output.VariantName),
|
|
26666
|
+
VariantStatus: output.VariantStatus !== undefined && output.VariantStatus !== null
|
|
26667
|
+
? deserializeAws_json1_1ProductionVariantStatusList(output.VariantStatus, context)
|
|
26668
|
+
: undefined,
|
|
26669
|
+
};
|
|
26670
|
+
};
|
|
26671
|
+
var deserializeAws_json1_1PendingProductionVariantSummaryList = function (output, context) {
|
|
26672
|
+
return (output || [])
|
|
26673
|
+
.filter(function (e) { return e != null; })
|
|
26674
|
+
.map(function (entry) {
|
|
26675
|
+
if (entry === null) {
|
|
26676
|
+
return null;
|
|
26677
|
+
}
|
|
26678
|
+
return deserializeAws_json1_1PendingProductionVariantSummary(entry, context);
|
|
26679
|
+
});
|
|
26680
|
+
};
|
|
26681
|
+
var deserializeAws_json1_1Phase = function (output, context) {
|
|
26682
|
+
return {
|
|
26683
|
+
DurationInSeconds: __expectInt32(output.DurationInSeconds),
|
|
26684
|
+
InitialNumberOfUsers: __expectInt32(output.InitialNumberOfUsers),
|
|
26685
|
+
SpawnRate: __expectInt32(output.SpawnRate),
|
|
26686
|
+
};
|
|
26687
|
+
};
|
|
26688
|
+
var deserializeAws_json1_1Phases = function (output, context) {
|
|
26689
|
+
return (output || [])
|
|
26690
|
+
.filter(function (e) { return e != null; })
|
|
26691
|
+
.map(function (entry) {
|
|
26692
|
+
if (entry === null) {
|
|
26693
|
+
return null;
|
|
26694
|
+
}
|
|
26695
|
+
return deserializeAws_json1_1Phase(entry, context);
|
|
26696
|
+
});
|
|
26697
|
+
};
|
|
25272
26698
|
var deserializeAws_json1_1Pipeline = function (output, context) {
|
|
25273
26699
|
return {
|
|
25274
26700
|
CreatedBy: output.CreatedBy !== undefined && output.CreatedBy !== null
|
|
@@ -25359,6 +26785,9 @@ var deserializeAws_json1_1PipelineExecutionStepMetadata = function (output, cont
|
|
|
25359
26785
|
Callback: output.Callback !== undefined && output.Callback !== null
|
|
25360
26786
|
? deserializeAws_json1_1CallbackStepMetadata(output.Callback, context)
|
|
25361
26787
|
: undefined,
|
|
26788
|
+
ClarifyCheck: output.ClarifyCheck !== undefined && output.ClarifyCheck !== null
|
|
26789
|
+
? deserializeAws_json1_1ClarifyCheckStepMetadata(output.ClarifyCheck, context)
|
|
26790
|
+
: undefined,
|
|
25362
26791
|
Condition: output.Condition !== undefined && output.Condition !== null
|
|
25363
26792
|
? deserializeAws_json1_1ConditionStepMetadata(output.Condition, context)
|
|
25364
26793
|
: undefined,
|
|
@@ -25371,6 +26800,9 @@ var deserializeAws_json1_1PipelineExecutionStepMetadata = function (output, cont
|
|
|
25371
26800
|
ProcessingJob: output.ProcessingJob !== undefined && output.ProcessingJob !== null
|
|
25372
26801
|
? deserializeAws_json1_1ProcessingJobStepMetadata(output.ProcessingJob, context)
|
|
25373
26802
|
: undefined,
|
|
26803
|
+
QualityCheck: output.QualityCheck !== undefined && output.QualityCheck !== null
|
|
26804
|
+
? deserializeAws_json1_1QualityCheckStepMetadata(output.QualityCheck, context)
|
|
26805
|
+
: undefined,
|
|
25374
26806
|
RegisterModel: output.RegisterModel !== undefined && output.RegisterModel !== null
|
|
25375
26807
|
? deserializeAws_json1_1RegisterModelStepMetadata(output.RegisterModel, context)
|
|
25376
26808
|
: undefined,
|
|
@@ -25639,6 +27071,9 @@ var deserializeAws_json1_1ProductionVariant = function (output, context) {
|
|
|
25639
27071
|
InitialVariantWeight: __limitedParseFloat32(output.InitialVariantWeight),
|
|
25640
27072
|
InstanceType: __expectString(output.InstanceType),
|
|
25641
27073
|
ModelName: __expectString(output.ModelName),
|
|
27074
|
+
ServerlessConfig: output.ServerlessConfig !== undefined && output.ServerlessConfig !== null
|
|
27075
|
+
? deserializeAws_json1_1ProductionVariantServerlessConfig(output.ServerlessConfig, context)
|
|
27076
|
+
: undefined,
|
|
25642
27077
|
VariantName: __expectString(output.VariantName),
|
|
25643
27078
|
};
|
|
25644
27079
|
};
|
|
@@ -25658,16 +27093,50 @@ var deserializeAws_json1_1ProductionVariantList = function (output, context) {
|
|
|
25658
27093
|
return deserializeAws_json1_1ProductionVariant(entry, context);
|
|
25659
27094
|
});
|
|
25660
27095
|
};
|
|
27096
|
+
var deserializeAws_json1_1ProductionVariantServerlessConfig = function (output, context) {
|
|
27097
|
+
return {
|
|
27098
|
+
MaxConcurrency: __expectInt32(output.MaxConcurrency),
|
|
27099
|
+
MemorySizeInMB: __expectInt32(output.MemorySizeInMB),
|
|
27100
|
+
};
|
|
27101
|
+
};
|
|
27102
|
+
var deserializeAws_json1_1ProductionVariantStatus = function (output, context) {
|
|
27103
|
+
return {
|
|
27104
|
+
StartTime: output.StartTime !== undefined && output.StartTime !== null
|
|
27105
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartTime)))
|
|
27106
|
+
: undefined,
|
|
27107
|
+
Status: __expectString(output.Status),
|
|
27108
|
+
StatusMessage: __expectString(output.StatusMessage),
|
|
27109
|
+
};
|
|
27110
|
+
};
|
|
27111
|
+
var deserializeAws_json1_1ProductionVariantStatusList = function (output, context) {
|
|
27112
|
+
return (output || [])
|
|
27113
|
+
.filter(function (e) { return e != null; })
|
|
27114
|
+
.map(function (entry) {
|
|
27115
|
+
if (entry === null) {
|
|
27116
|
+
return null;
|
|
27117
|
+
}
|
|
27118
|
+
return deserializeAws_json1_1ProductionVariantStatus(entry, context);
|
|
27119
|
+
});
|
|
27120
|
+
};
|
|
25661
27121
|
var deserializeAws_json1_1ProductionVariantSummary = function (output, context) {
|
|
25662
27122
|
return {
|
|
25663
27123
|
CurrentInstanceCount: __expectInt32(output.CurrentInstanceCount),
|
|
27124
|
+
CurrentServerlessConfig: output.CurrentServerlessConfig !== undefined && output.CurrentServerlessConfig !== null
|
|
27125
|
+
? deserializeAws_json1_1ProductionVariantServerlessConfig(output.CurrentServerlessConfig, context)
|
|
27126
|
+
: undefined,
|
|
25664
27127
|
CurrentWeight: __limitedParseFloat32(output.CurrentWeight),
|
|
25665
27128
|
DeployedImages: output.DeployedImages !== undefined && output.DeployedImages !== null
|
|
25666
27129
|
? deserializeAws_json1_1DeployedImages(output.DeployedImages, context)
|
|
25667
27130
|
: undefined,
|
|
25668
27131
|
DesiredInstanceCount: __expectInt32(output.DesiredInstanceCount),
|
|
27132
|
+
DesiredServerlessConfig: output.DesiredServerlessConfig !== undefined && output.DesiredServerlessConfig !== null
|
|
27133
|
+
? deserializeAws_json1_1ProductionVariantServerlessConfig(output.DesiredServerlessConfig, context)
|
|
27134
|
+
: undefined,
|
|
25669
27135
|
DesiredWeight: __limitedParseFloat32(output.DesiredWeight),
|
|
25670
27136
|
VariantName: __expectString(output.VariantName),
|
|
27137
|
+
VariantStatus: output.VariantStatus !== undefined && output.VariantStatus !== null
|
|
27138
|
+
? deserializeAws_json1_1ProductionVariantStatusList(output.VariantStatus, context)
|
|
27139
|
+
: undefined,
|
|
25671
27140
|
};
|
|
25672
27141
|
};
|
|
25673
27142
|
var deserializeAws_json1_1ProductionVariantSummaryList = function (output, context) {
|
|
@@ -25849,6 +27318,31 @@ var deserializeAws_json1_1PutModelPackageGroupPolicyOutput = function (output, c
|
|
|
25849
27318
|
ModelPackageGroupArn: __expectString(output.ModelPackageGroupArn),
|
|
25850
27319
|
};
|
|
25851
27320
|
};
|
|
27321
|
+
var deserializeAws_json1_1QualityCheckStepMetadata = function (output, context) {
|
|
27322
|
+
return {
|
|
27323
|
+
BaselineUsedForDriftCheckConstraints: __expectString(output.BaselineUsedForDriftCheckConstraints),
|
|
27324
|
+
BaselineUsedForDriftCheckStatistics: __expectString(output.BaselineUsedForDriftCheckStatistics),
|
|
27325
|
+
CalculatedBaselineConstraints: __expectString(output.CalculatedBaselineConstraints),
|
|
27326
|
+
CalculatedBaselineStatistics: __expectString(output.CalculatedBaselineStatistics),
|
|
27327
|
+
CheckJobArn: __expectString(output.CheckJobArn),
|
|
27328
|
+
CheckType: __expectString(output.CheckType),
|
|
27329
|
+
ModelPackageGroupName: __expectString(output.ModelPackageGroupName),
|
|
27330
|
+
RegisterNewBaseline: __expectBoolean(output.RegisterNewBaseline),
|
|
27331
|
+
SkipCheck: __expectBoolean(output.SkipCheck),
|
|
27332
|
+
ViolationReport: __expectString(output.ViolationReport),
|
|
27333
|
+
};
|
|
27334
|
+
};
|
|
27335
|
+
var deserializeAws_json1_1QueryLineageResponse = function (output, context) {
|
|
27336
|
+
return {
|
|
27337
|
+
Edges: output.Edges !== undefined && output.Edges !== null
|
|
27338
|
+
? deserializeAws_json1_1Edges(output.Edges, context)
|
|
27339
|
+
: undefined,
|
|
27340
|
+
NextToken: __expectString(output.NextToken),
|
|
27341
|
+
Vertices: output.Vertices !== undefined && output.Vertices !== null
|
|
27342
|
+
? deserializeAws_json1_1Vertices(output.Vertices, context)
|
|
27343
|
+
: undefined,
|
|
27344
|
+
};
|
|
27345
|
+
};
|
|
25852
27346
|
var deserializeAws_json1_1RealtimeInferenceInstanceTypes = function (output, context) {
|
|
25853
27347
|
return (output || [])
|
|
25854
27348
|
.filter(function (e) { return e != null; })
|
|
@@ -25859,6 +27353,43 @@ var deserializeAws_json1_1RealtimeInferenceInstanceTypes = function (output, con
|
|
|
25859
27353
|
return __expectString(entry);
|
|
25860
27354
|
});
|
|
25861
27355
|
};
|
|
27356
|
+
var deserializeAws_json1_1RecommendationJobInputConfig = function (output, context) {
|
|
27357
|
+
return {
|
|
27358
|
+
EndpointConfigurations: output.EndpointConfigurations !== undefined && output.EndpointConfigurations !== null
|
|
27359
|
+
? deserializeAws_json1_1EndpointInputConfigurations(output.EndpointConfigurations, context)
|
|
27360
|
+
: undefined,
|
|
27361
|
+
JobDurationInSeconds: __expectInt32(output.JobDurationInSeconds),
|
|
27362
|
+
ModelPackageVersionArn: __expectString(output.ModelPackageVersionArn),
|
|
27363
|
+
ResourceLimit: output.ResourceLimit !== undefined && output.ResourceLimit !== null
|
|
27364
|
+
? deserializeAws_json1_1RecommendationJobResourceLimit(output.ResourceLimit, context)
|
|
27365
|
+
: undefined,
|
|
27366
|
+
TrafficPattern: output.TrafficPattern !== undefined && output.TrafficPattern !== null
|
|
27367
|
+
? deserializeAws_json1_1TrafficPattern(output.TrafficPattern, context)
|
|
27368
|
+
: undefined,
|
|
27369
|
+
};
|
|
27370
|
+
};
|
|
27371
|
+
var deserializeAws_json1_1RecommendationJobResourceLimit = function (output, context) {
|
|
27372
|
+
return {
|
|
27373
|
+
MaxNumberOfTests: __expectInt32(output.MaxNumberOfTests),
|
|
27374
|
+
MaxParallelOfTests: __expectInt32(output.MaxParallelOfTests),
|
|
27375
|
+
};
|
|
27376
|
+
};
|
|
27377
|
+
var deserializeAws_json1_1RecommendationJobStoppingConditions = function (output, context) {
|
|
27378
|
+
return {
|
|
27379
|
+
MaxInvocations: __expectInt32(output.MaxInvocations),
|
|
27380
|
+
ModelLatencyThresholds: output.ModelLatencyThresholds !== undefined && output.ModelLatencyThresholds !== null
|
|
27381
|
+
? deserializeAws_json1_1ModelLatencyThresholds(output.ModelLatencyThresholds, context)
|
|
27382
|
+
: undefined,
|
|
27383
|
+
};
|
|
27384
|
+
};
|
|
27385
|
+
var deserializeAws_json1_1RecommendationMetrics = function (output, context) {
|
|
27386
|
+
return {
|
|
27387
|
+
CostPerHour: __limitedParseFloat32(output.CostPerHour),
|
|
27388
|
+
CostPerInference: __limitedParseFloat32(output.CostPerInference),
|
|
27389
|
+
MaxInvocations: __expectInt32(output.MaxInvocations),
|
|
27390
|
+
ModelLatency: __expectInt32(output.ModelLatency),
|
|
27391
|
+
};
|
|
27392
|
+
};
|
|
25862
27393
|
var deserializeAws_json1_1RedshiftDatasetDefinition = function (output, context) {
|
|
25863
27394
|
return {
|
|
25864
27395
|
ClusterId: __expectString(output.ClusterId),
|
|
@@ -26294,11 +27825,22 @@ var deserializeAws_json1_1TensorBoardOutputConfig = function (output, context) {
|
|
|
26294
27825
|
S3OutputPath: __expectString(output.S3OutputPath),
|
|
26295
27826
|
};
|
|
26296
27827
|
};
|
|
27828
|
+
var deserializeAws_json1_1TrafficPattern = function (output, context) {
|
|
27829
|
+
return {
|
|
27830
|
+
Phases: output.Phases !== undefined && output.Phases !== null
|
|
27831
|
+
? deserializeAws_json1_1Phases(output.Phases, context)
|
|
27832
|
+
: undefined,
|
|
27833
|
+
TrafficType: __expectString(output.TrafficType),
|
|
27834
|
+
};
|
|
27835
|
+
};
|
|
26297
27836
|
var deserializeAws_json1_1TrafficRoutingConfig = function (output, context) {
|
|
26298
27837
|
return {
|
|
26299
27838
|
CanarySize: output.CanarySize !== undefined && output.CanarySize !== null
|
|
26300
27839
|
? deserializeAws_json1_1CapacitySize(output.CanarySize, context)
|
|
26301
27840
|
: undefined,
|
|
27841
|
+
LinearStepSize: output.LinearStepSize !== undefined && output.LinearStepSize !== null
|
|
27842
|
+
? deserializeAws_json1_1CapacitySize(output.LinearStepSize, context)
|
|
27843
|
+
: undefined,
|
|
26302
27844
|
Type: __expectString(output.Type),
|
|
26303
27845
|
WaitIntervalInSeconds: __expectInt32(output.WaitIntervalInSeconds),
|
|
26304
27846
|
};
|
|
@@ -26701,6 +28243,7 @@ var deserializeAws_json1_1TrialComponent = function (output, context) {
|
|
|
26701
28243
|
LastModifiedTime: output.LastModifiedTime !== undefined && output.LastModifiedTime !== null
|
|
26702
28244
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastModifiedTime)))
|
|
26703
28245
|
: undefined,
|
|
28246
|
+
LineageGroupArn: __expectString(output.LineageGroupArn),
|
|
26704
28247
|
MetadataProperties: output.MetadataProperties !== undefined && output.MetadataProperties !== null
|
|
26705
28248
|
? deserializeAws_json1_1MetadataProperties(output.MetadataProperties, context)
|
|
26706
28249
|
: undefined,
|
|
@@ -27119,6 +28662,23 @@ var deserializeAws_json1_1UserSettings = function (output, context) {
|
|
|
27119
28662
|
: undefined,
|
|
27120
28663
|
};
|
|
27121
28664
|
};
|
|
28665
|
+
var deserializeAws_json1_1Vertex = function (output, context) {
|
|
28666
|
+
return {
|
|
28667
|
+
Arn: __expectString(output.Arn),
|
|
28668
|
+
LineageType: __expectString(output.LineageType),
|
|
28669
|
+
Type: __expectString(output.Type),
|
|
28670
|
+
};
|
|
28671
|
+
};
|
|
28672
|
+
var deserializeAws_json1_1Vertices = function (output, context) {
|
|
28673
|
+
return (output || [])
|
|
28674
|
+
.filter(function (e) { return e != null; })
|
|
28675
|
+
.map(function (entry) {
|
|
28676
|
+
if (entry === null) {
|
|
28677
|
+
return null;
|
|
28678
|
+
}
|
|
28679
|
+
return deserializeAws_json1_1Vertex(entry, context);
|
|
28680
|
+
});
|
|
28681
|
+
};
|
|
27122
28682
|
var deserializeAws_json1_1VpcConfig = function (output, context) {
|
|
27123
28683
|
return {
|
|
27124
28684
|
SecurityGroupIds: output.SecurityGroupIds !== undefined && output.SecurityGroupIds !== null
|