@aws-sdk/client-sagemaker 3.218.0 → 3.221.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/dist-cjs/SageMaker.js +510 -0
- package/dist-cjs/commands/CreateHubCommand.js +46 -0
- package/dist-cjs/commands/CreateInferenceExperimentCommand.js +46 -0
- package/dist-cjs/commands/CreateModelCardCommand.js +46 -0
- package/dist-cjs/commands/CreateModelCardExportJobCommand.js +46 -0
- package/dist-cjs/commands/CreateSpaceCommand.js +46 -0
- package/dist-cjs/commands/DeleteHubCommand.js +46 -0
- package/dist-cjs/commands/DeleteHubContentCommand.js +46 -0
- package/dist-cjs/commands/DeleteInferenceExperimentCommand.js +46 -0
- package/dist-cjs/commands/DeleteModelCardCommand.js +46 -0
- package/dist-cjs/commands/DeleteSpaceCommand.js +46 -0
- package/dist-cjs/commands/DescribeAppImageConfigCommand.js +3 -3
- package/dist-cjs/commands/DescribeArtifactCommand.js +3 -3
- package/dist-cjs/commands/DescribeAutoMLJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeCodeRepositoryCommand.js +3 -3
- package/dist-cjs/commands/DescribeCompilationJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeContextCommand.js +3 -3
- package/dist-cjs/commands/DescribeDataQualityJobDefinitionCommand.js +3 -3
- package/dist-cjs/commands/DescribeDeviceCommand.js +3 -3
- package/dist-cjs/commands/DescribeDeviceFleetCommand.js +3 -3
- package/dist-cjs/commands/DescribeDomainCommand.js +3 -3
- package/dist-cjs/commands/DescribeEdgeDeploymentPlanCommand.js +3 -3
- package/dist-cjs/commands/DescribeEdgePackagingJobCommand.js +3 -3
- package/dist-cjs/commands/DescribeEndpointCommand.js +1 -2
- package/dist-cjs/commands/DescribeHubCommand.js +46 -0
- package/dist-cjs/commands/DescribeHubContentCommand.js +46 -0
- package/dist-cjs/commands/DescribeInferenceExperimentCommand.js +46 -0
- package/dist-cjs/commands/DescribeModelCardCommand.js +46 -0
- package/dist-cjs/commands/DescribeModelCardExportJobCommand.js +46 -0
- package/dist-cjs/commands/DescribeSpaceCommand.js +46 -0
- package/dist-cjs/commands/ImportHubContentCommand.js +46 -0
- package/dist-cjs/commands/ListCodeRepositoriesCommand.js +2 -1
- package/dist-cjs/commands/ListCompilationJobsCommand.js +3 -3
- package/dist-cjs/commands/ListContextsCommand.js +3 -3
- package/dist-cjs/commands/ListDataQualityJobDefinitionsCommand.js +3 -3
- package/dist-cjs/commands/ListDeviceFleetsCommand.js +3 -3
- package/dist-cjs/commands/ListDevicesCommand.js +3 -3
- package/dist-cjs/commands/ListDomainsCommand.js +3 -3
- package/dist-cjs/commands/ListEdgeDeploymentPlansCommand.js +3 -3
- package/dist-cjs/commands/ListEdgePackagingJobsCommand.js +3 -3
- package/dist-cjs/commands/ListEndpointConfigsCommand.js +3 -3
- package/dist-cjs/commands/ListEndpointsCommand.js +3 -3
- package/dist-cjs/commands/ListExperimentsCommand.js +3 -3
- package/dist-cjs/commands/ListFeatureGroupsCommand.js +3 -3
- package/dist-cjs/commands/ListFlowDefinitionsCommand.js +3 -3
- package/dist-cjs/commands/ListHubContentVersionsCommand.js +46 -0
- package/dist-cjs/commands/ListHubContentsCommand.js +46 -0
- package/dist-cjs/commands/ListHubsCommand.js +46 -0
- package/dist-cjs/commands/ListHumanTaskUisCommand.js +3 -3
- package/dist-cjs/commands/ListHyperParameterTuningJobsCommand.js +3 -3
- package/dist-cjs/commands/ListImageVersionsCommand.js +3 -3
- package/dist-cjs/commands/ListImagesCommand.js +3 -3
- package/dist-cjs/commands/ListInferenceExperimentsCommand.js +46 -0
- package/dist-cjs/commands/ListInferenceRecommendationsJobStepsCommand.js +3 -3
- package/dist-cjs/commands/ListInferenceRecommendationsJobsCommand.js +3 -3
- package/dist-cjs/commands/ListLabelingJobsCommand.js +3 -3
- package/dist-cjs/commands/ListLabelingJobsForWorkteamCommand.js +3 -3
- package/dist-cjs/commands/ListLineageGroupsCommand.js +3 -3
- package/dist-cjs/commands/ListModelBiasJobDefinitionsCommand.js +3 -3
- package/dist-cjs/commands/ListModelCardExportJobsCommand.js +46 -0
- package/dist-cjs/commands/ListModelCardVersionsCommand.js +46 -0
- package/dist-cjs/commands/ListModelCardsCommand.js +46 -0
- package/dist-cjs/commands/ListModelExplainabilityJobDefinitionsCommand.js +3 -3
- package/dist-cjs/commands/ListModelMetadataCommand.js +1 -2
- package/dist-cjs/commands/ListMonitoringAlertHistoryCommand.js +46 -0
- package/dist-cjs/commands/ListMonitoringAlertsCommand.js +46 -0
- package/dist-cjs/commands/ListSpacesCommand.js +46 -0
- package/dist-cjs/commands/SearchCommand.js +2 -1
- package/dist-cjs/commands/StartInferenceExperimentCommand.js +46 -0
- package/dist-cjs/commands/StopInferenceExperimentCommand.js +46 -0
- package/dist-cjs/commands/UpdateHubCommand.js +46 -0
- package/dist-cjs/commands/UpdateInferenceExperimentCommand.js +46 -0
- package/dist-cjs/commands/UpdateModelCardCommand.js +46 -0
- package/dist-cjs/commands/UpdateModelPackageCommand.js +3 -3
- package/dist-cjs/commands/UpdateMonitoringAlertCommand.js +46 -0
- package/dist-cjs/commands/UpdateMonitoringScheduleCommand.js +3 -3
- package/dist-cjs/commands/UpdateNotebookInstanceCommand.js +3 -3
- package/dist-cjs/commands/UpdateNotebookInstanceLifecycleConfigCommand.js +3 -3
- package/dist-cjs/commands/UpdatePipelineCommand.js +3 -3
- package/dist-cjs/commands/UpdatePipelineExecutionCommand.js +3 -3
- package/dist-cjs/commands/UpdateProjectCommand.js +3 -3
- package/dist-cjs/commands/UpdateSpaceCommand.js +46 -0
- package/dist-cjs/commands/UpdateTrainingJobCommand.js +3 -3
- package/dist-cjs/commands/UpdateTrialCommand.js +3 -3
- package/dist-cjs/commands/UpdateTrialComponentCommand.js +3 -3
- package/dist-cjs/commands/UpdateUserProfileCommand.js +3 -3
- package/dist-cjs/commands/UpdateWorkforceCommand.js +3 -3
- package/dist-cjs/commands/UpdateWorkteamCommand.js +3 -3
- package/dist-cjs/commands/index.js +34 -0
- package/dist-cjs/models/index.js +1 -0
- package/dist-cjs/models/models_0.js +15 -15
- package/dist-cjs/models/models_1.js +194 -207
- package/dist-cjs/models/models_2.js +333 -293
- package/dist-cjs/models/models_3.js +512 -129
- package/dist-cjs/models/models_4.js +158 -0
- package/dist-cjs/pagination/ListInferenceExperimentsPaginator.js +36 -0
- package/dist-cjs/pagination/ListModelCardExportJobsPaginator.js +36 -0
- package/dist-cjs/pagination/ListModelCardVersionsPaginator.js +36 -0
- package/dist-cjs/pagination/ListModelCardsPaginator.js +36 -0
- package/dist-cjs/pagination/ListMonitoringAlertHistoryPaginator.js +36 -0
- package/dist-cjs/pagination/ListMonitoringAlertsPaginator.js +36 -0
- package/dist-cjs/pagination/ListSpacesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_json1_1.js +3050 -107
- package/dist-es/SageMaker.js +510 -0
- package/dist-es/commands/CreateHubCommand.js +42 -0
- package/dist-es/commands/CreateInferenceExperimentCommand.js +42 -0
- package/dist-es/commands/CreateModelCardCommand.js +42 -0
- package/dist-es/commands/CreateModelCardExportJobCommand.js +42 -0
- package/dist-es/commands/CreateSpaceCommand.js +42 -0
- package/dist-es/commands/DeleteHubCommand.js +42 -0
- package/dist-es/commands/DeleteHubContentCommand.js +42 -0
- package/dist-es/commands/DeleteInferenceExperimentCommand.js +42 -0
- package/dist-es/commands/DeleteModelCardCommand.js +42 -0
- package/dist-es/commands/DeleteSpaceCommand.js +42 -0
- package/dist-es/commands/DescribeAppImageConfigCommand.js +1 -1
- package/dist-es/commands/DescribeArtifactCommand.js +1 -1
- package/dist-es/commands/DescribeAutoMLJobCommand.js +1 -1
- package/dist-es/commands/DescribeCodeRepositoryCommand.js +1 -1
- package/dist-es/commands/DescribeCompilationJobCommand.js +1 -1
- package/dist-es/commands/DescribeContextCommand.js +1 -1
- package/dist-es/commands/DescribeDataQualityJobDefinitionCommand.js +1 -1
- package/dist-es/commands/DescribeDeviceCommand.js +1 -1
- package/dist-es/commands/DescribeDeviceFleetCommand.js +1 -1
- package/dist-es/commands/DescribeDomainCommand.js +1 -1
- package/dist-es/commands/DescribeEdgeDeploymentPlanCommand.js +1 -1
- package/dist-es/commands/DescribeEdgePackagingJobCommand.js +1 -1
- package/dist-es/commands/DescribeEndpointCommand.js +1 -2
- package/dist-es/commands/DescribeHubCommand.js +42 -0
- package/dist-es/commands/DescribeHubContentCommand.js +42 -0
- package/dist-es/commands/DescribeInferenceExperimentCommand.js +42 -0
- package/dist-es/commands/DescribeModelCardCommand.js +42 -0
- package/dist-es/commands/DescribeModelCardExportJobCommand.js +42 -0
- package/dist-es/commands/DescribeSpaceCommand.js +42 -0
- package/dist-es/commands/ImportHubContentCommand.js +42 -0
- package/dist-es/commands/ListCodeRepositoriesCommand.js +2 -1
- package/dist-es/commands/ListCompilationJobsCommand.js +1 -1
- package/dist-es/commands/ListContextsCommand.js +1 -1
- package/dist-es/commands/ListDataQualityJobDefinitionsCommand.js +1 -1
- package/dist-es/commands/ListDeviceFleetsCommand.js +1 -1
- package/dist-es/commands/ListDevicesCommand.js +1 -1
- package/dist-es/commands/ListDomainsCommand.js +1 -1
- package/dist-es/commands/ListEdgeDeploymentPlansCommand.js +1 -1
- package/dist-es/commands/ListEdgePackagingJobsCommand.js +1 -1
- package/dist-es/commands/ListEndpointConfigsCommand.js +1 -1
- package/dist-es/commands/ListEndpointsCommand.js +1 -1
- package/dist-es/commands/ListExperimentsCommand.js +1 -1
- package/dist-es/commands/ListFeatureGroupsCommand.js +1 -1
- package/dist-es/commands/ListFlowDefinitionsCommand.js +1 -1
- package/dist-es/commands/ListHubContentVersionsCommand.js +42 -0
- package/dist-es/commands/ListHubContentsCommand.js +42 -0
- package/dist-es/commands/ListHubsCommand.js +42 -0
- package/dist-es/commands/ListHumanTaskUisCommand.js +1 -1
- package/dist-es/commands/ListHyperParameterTuningJobsCommand.js +1 -1
- package/dist-es/commands/ListImageVersionsCommand.js +1 -1
- package/dist-es/commands/ListImagesCommand.js +1 -1
- package/dist-es/commands/ListInferenceExperimentsCommand.js +42 -0
- package/dist-es/commands/ListInferenceRecommendationsJobStepsCommand.js +1 -1
- package/dist-es/commands/ListInferenceRecommendationsJobsCommand.js +1 -1
- package/dist-es/commands/ListLabelingJobsCommand.js +1 -1
- package/dist-es/commands/ListLabelingJobsForWorkteamCommand.js +1 -1
- package/dist-es/commands/ListLineageGroupsCommand.js +1 -1
- package/dist-es/commands/ListModelBiasJobDefinitionsCommand.js +1 -1
- package/dist-es/commands/ListModelCardExportJobsCommand.js +42 -0
- package/dist-es/commands/ListModelCardVersionsCommand.js +42 -0
- package/dist-es/commands/ListModelCardsCommand.js +42 -0
- package/dist-es/commands/ListModelExplainabilityJobDefinitionsCommand.js +1 -1
- package/dist-es/commands/ListModelMetadataCommand.js +1 -2
- package/dist-es/commands/ListMonitoringAlertHistoryCommand.js +42 -0
- package/dist-es/commands/ListMonitoringAlertsCommand.js +42 -0
- package/dist-es/commands/ListSpacesCommand.js +42 -0
- package/dist-es/commands/SearchCommand.js +2 -1
- package/dist-es/commands/StartInferenceExperimentCommand.js +42 -0
- package/dist-es/commands/StopInferenceExperimentCommand.js +42 -0
- package/dist-es/commands/UpdateHubCommand.js +42 -0
- package/dist-es/commands/UpdateInferenceExperimentCommand.js +42 -0
- package/dist-es/commands/UpdateModelCardCommand.js +42 -0
- package/dist-es/commands/UpdateModelPackageCommand.js +1 -1
- package/dist-es/commands/UpdateMonitoringAlertCommand.js +42 -0
- package/dist-es/commands/UpdateMonitoringScheduleCommand.js +1 -1
- package/dist-es/commands/UpdateNotebookInstanceCommand.js +1 -1
- package/dist-es/commands/UpdateNotebookInstanceLifecycleConfigCommand.js +1 -1
- package/dist-es/commands/UpdatePipelineCommand.js +1 -1
- package/dist-es/commands/UpdatePipelineExecutionCommand.js +1 -1
- package/dist-es/commands/UpdateProjectCommand.js +1 -1
- package/dist-es/commands/UpdateSpaceCommand.js +42 -0
- package/dist-es/commands/UpdateTrainingJobCommand.js +1 -1
- package/dist-es/commands/UpdateTrialCommand.js +1 -1
- package/dist-es/commands/UpdateTrialComponentCommand.js +1 -1
- package/dist-es/commands/UpdateUserProfileCommand.js +1 -1
- package/dist-es/commands/UpdateWorkforceCommand.js +1 -1
- package/dist-es/commands/UpdateWorkteamCommand.js +1 -1
- package/dist-es/commands/index.js +34 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +9 -9
- package/dist-es/models/models_1.js +157 -169
- package/dist-es/models/models_2.js +275 -234
- package/dist-es/models/models_3.js +411 -93
- package/dist-es/models/models_4.js +118 -0
- package/dist-es/pagination/ListInferenceExperimentsPaginator.js +32 -0
- package/dist-es/pagination/ListModelCardExportJobsPaginator.js +32 -0
- package/dist-es/pagination/ListModelCardVersionsPaginator.js +32 -0
- package/dist-es/pagination/ListModelCardsPaginator.js +32 -0
- package/dist-es/pagination/ListMonitoringAlertHistoryPaginator.js +32 -0
- package/dist-es/pagination/ListMonitoringAlertsPaginator.js +32 -0
- package/dist-es/pagination/ListSpacesPaginator.js +32 -0
- package/dist-es/pagination/index.js +7 -0
- package/dist-es/protocols/Aws_json1_1.js +2970 -96
- package/dist-types/SageMaker.d.ts +266 -0
- package/dist-types/SageMakerClient.d.ts +36 -2
- package/dist-types/commands/CreateHubCommand.d.ts +37 -0
- package/dist-types/commands/CreateInferenceExperimentCommand.d.ts +51 -0
- package/dist-types/commands/CreateModelCardCommand.d.ts +38 -0
- package/dist-types/commands/CreateModelCardExportJobCommand.d.ts +37 -0
- package/dist-types/commands/CreateSpaceCommand.d.ts +37 -0
- package/dist-types/commands/DeleteHubCommand.d.ts +37 -0
- package/dist-types/commands/DeleteHubContentCommand.d.ts +37 -0
- package/dist-types/commands/DeleteInferenceExperimentCommand.d.ts +43 -0
- package/dist-types/commands/DeleteModelCardCommand.d.ts +37 -0
- package/dist-types/commands/DeleteSpaceCommand.d.ts +37 -0
- 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/DescribeEdgeDeploymentPlanCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEdgePackagingJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEndpointCommand.d.ts +1 -2
- package/dist-types/commands/DescribeHubCommand.d.ts +37 -0
- package/dist-types/commands/DescribeHubContentCommand.d.ts +37 -0
- package/dist-types/commands/DescribeInferenceExperimentCommand.d.ts +37 -0
- package/dist-types/commands/DescribeModelCardCommand.d.ts +37 -0
- package/dist-types/commands/DescribeModelCardExportJobCommand.d.ts +37 -0
- package/dist-types/commands/DescribeSpaceCommand.d.ts +37 -0
- package/dist-types/commands/ImportHubContentCommand.d.ts +37 -0
- package/dist-types/commands/ListCodeRepositoriesCommand.d.ts +2 -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/ListEdgeDeploymentPlansCommand.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/ListHubContentVersionsCommand.d.ts +37 -0
- package/dist-types/commands/ListHubContentsCommand.d.ts +37 -0
- package/dist-types/commands/ListHubsCommand.d.ts +37 -0
- 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/ListInferenceExperimentsCommand.d.ts +37 -0
- package/dist-types/commands/ListInferenceRecommendationsJobStepsCommand.d.ts +1 -1
- package/dist-types/commands/ListInferenceRecommendationsJobsCommand.d.ts +1 -1
- 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 +1 -1
- package/dist-types/commands/ListModelBiasJobDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/ListModelCardExportJobsCommand.d.ts +37 -0
- package/dist-types/commands/ListModelCardVersionsCommand.d.ts +37 -0
- package/dist-types/commands/ListModelCardsCommand.d.ts +37 -0
- package/dist-types/commands/ListModelExplainabilityJobDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/ListModelMetadataCommand.d.ts +1 -2
- package/dist-types/commands/ListMonitoringAlertHistoryCommand.d.ts +37 -0
- package/dist-types/commands/ListMonitoringAlertsCommand.d.ts +37 -0
- package/dist-types/commands/ListSpacesCommand.d.ts +37 -0
- package/dist-types/commands/SearchCommand.d.ts +2 -1
- package/dist-types/commands/StartInferenceExperimentCommand.d.ts +37 -0
- package/dist-types/commands/StopInferenceExperimentCommand.d.ts +37 -0
- package/dist-types/commands/UpdateHubCommand.d.ts +37 -0
- package/dist-types/commands/UpdateInferenceExperimentCommand.d.ts +41 -0
- package/dist-types/commands/UpdateModelCardCommand.d.ts +40 -0
- package/dist-types/commands/UpdateModelPackageCommand.d.ts +1 -1
- package/dist-types/commands/UpdateMonitoringAlertCommand.d.ts +37 -0
- 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/UpdateSpaceCommand.d.ts +37 -0
- 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 +34 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +82 -143
- package/dist-types/models/models_1.d.ts +900 -1156
- package/dist-types/models/models_2.d.ts +5496 -5051
- package/dist-types/models/models_3.d.ts +5386 -3240
- package/dist-types/models/models_4.d.ts +841 -0
- package/dist-types/pagination/ListInferenceExperimentsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListModelCardExportJobsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListModelCardVersionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListModelCardsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListMonitoringAlertHistoryPaginator.d.ts +4 -0
- package/dist-types/pagination/ListMonitoringAlertsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSpacesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +7 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +102 -0
- package/dist-types/ts3.4/SageMaker.d.ts +578 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +204 -0
- package/dist-types/ts3.4/commands/CreateHubCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/CreateInferenceExperimentCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateModelCardCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/CreateModelCardExportJobCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateSpaceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteHubCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/DeleteHubContentCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/DeleteInferenceExperimentCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteModelCardCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/DeleteSpaceCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/DescribeAppImageConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeArtifactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeAutoMLJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeCodeRepositoryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeCompilationJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeContextCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDataQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDeviceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDeviceFleetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeEdgeDeploymentPlanCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeEdgePackagingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeHubCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DescribeHubContentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeInferenceExperimentCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeModelCardCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeModelCardExportJobCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeSpaceCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ImportHubContentCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListCodeRepositoriesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListCompilationJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListContextsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDataQualityJobDefinitionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDeviceFleetsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDevicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListEdgeDeploymentPlansCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListEdgePackagingJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListEndpointConfigsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListExperimentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFeatureGroupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFlowDefinitionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListHubContentVersionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListHubContentsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListHubsCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListHumanTaskUisCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListHyperParameterTuningJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListImageVersionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListImagesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInferenceExperimentsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListInferenceRecommendationsJobStepsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInferenceRecommendationsJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListLabelingJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListLabelingJobsForWorkteamCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListLineageGroupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListModelBiasJobDefinitionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListModelCardExportJobsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListModelCardVersionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListModelCardsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListModelExplainabilityJobDefinitionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListModelMetadataCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListMonitoringAlertHistoryCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListMonitoringAlertsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListSpacesCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/SearchCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/StartInferenceExperimentCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/StopInferenceExperimentCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateHubCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UpdateInferenceExperimentCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateModelCardCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateModelPackageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateMonitoringAlertCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateNotebookInstanceLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdatePipelineCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdatePipelineExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateProjectCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateSpaceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UpdateTrainingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateTrialCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateTrialComponentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateUserProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateWorkforceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateWorkteamCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +34 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +27 -22
- package/dist-types/ts3.4/models/models_1.d.ts +326 -463
- package/dist-types/ts3.4/models/models_2.d.ts +717 -586
- package/dist-types/ts3.4/models/models_3.d.ts +1123 -289
- package/dist-types/ts3.4/models/models_4.d.ts +335 -0
- package/dist-types/ts3.4/pagination/ListInferenceExperimentsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListModelCardExportJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListModelCardVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListModelCardsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListMonitoringAlertHistoryPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListMonitoringAlertsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSpacesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +7 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +408 -0
- package/package.json +1 -1
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.
|
|
3
|
+
exports.serializeAws_json1_1CreateStudioLifecycleConfigCommand = exports.serializeAws_json1_1CreateSpaceCommand = exports.serializeAws_json1_1CreateProjectCommand = exports.serializeAws_json1_1CreateProcessingJobCommand = exports.serializeAws_json1_1CreatePresignedNotebookInstanceUrlCommand = exports.serializeAws_json1_1CreatePresignedDomainUrlCommand = exports.serializeAws_json1_1CreatePipelineCommand = exports.serializeAws_json1_1CreateNotebookInstanceLifecycleConfigCommand = exports.serializeAws_json1_1CreateNotebookInstanceCommand = exports.serializeAws_json1_1CreateMonitoringScheduleCommand = exports.serializeAws_json1_1CreateModelQualityJobDefinitionCommand = exports.serializeAws_json1_1CreateModelPackageGroupCommand = exports.serializeAws_json1_1CreateModelPackageCommand = exports.serializeAws_json1_1CreateModelExplainabilityJobDefinitionCommand = exports.serializeAws_json1_1CreateModelCardExportJobCommand = exports.serializeAws_json1_1CreateModelCardCommand = exports.serializeAws_json1_1CreateModelBiasJobDefinitionCommand = exports.serializeAws_json1_1CreateModelCommand = exports.serializeAws_json1_1CreateLabelingJobCommand = exports.serializeAws_json1_1CreateInferenceRecommendationsJobCommand = exports.serializeAws_json1_1CreateInferenceExperimentCommand = exports.serializeAws_json1_1CreateImageVersionCommand = exports.serializeAws_json1_1CreateImageCommand = exports.serializeAws_json1_1CreateHyperParameterTuningJobCommand = exports.serializeAws_json1_1CreateHumanTaskUiCommand = exports.serializeAws_json1_1CreateHubCommand = exports.serializeAws_json1_1CreateFlowDefinitionCommand = exports.serializeAws_json1_1CreateFeatureGroupCommand = exports.serializeAws_json1_1CreateExperimentCommand = exports.serializeAws_json1_1CreateEndpointConfigCommand = exports.serializeAws_json1_1CreateEndpointCommand = exports.serializeAws_json1_1CreateEdgePackagingJobCommand = exports.serializeAws_json1_1CreateEdgeDeploymentStageCommand = exports.serializeAws_json1_1CreateEdgeDeploymentPlanCommand = exports.serializeAws_json1_1CreateDomainCommand = exports.serializeAws_json1_1CreateDeviceFleetCommand = exports.serializeAws_json1_1CreateDataQualityJobDefinitionCommand = exports.serializeAws_json1_1CreateContextCommand = exports.serializeAws_json1_1CreateCompilationJobCommand = exports.serializeAws_json1_1CreateCodeRepositoryCommand = exports.serializeAws_json1_1CreateAutoMLJobCommand = exports.serializeAws_json1_1CreateArtifactCommand = exports.serializeAws_json1_1CreateAppImageConfigCommand = exports.serializeAws_json1_1CreateAppCommand = exports.serializeAws_json1_1CreateAlgorithmCommand = exports.serializeAws_json1_1CreateActionCommand = exports.serializeAws_json1_1BatchDescribeModelPackageCommand = exports.serializeAws_json1_1AssociateTrialComponentCommand = exports.serializeAws_json1_1AddTagsCommand = exports.serializeAws_json1_1AddAssociationCommand = void 0;
|
|
4
|
+
exports.serializeAws_json1_1DeleteUserProfileCommand = exports.serializeAws_json1_1DeleteTrialComponentCommand = exports.serializeAws_json1_1DeleteTrialCommand = exports.serializeAws_json1_1DeleteTagsCommand = exports.serializeAws_json1_1DeleteStudioLifecycleConfigCommand = exports.serializeAws_json1_1DeleteSpaceCommand = exports.serializeAws_json1_1DeleteProjectCommand = exports.serializeAws_json1_1DeletePipelineCommand = exports.serializeAws_json1_1DeleteNotebookInstanceLifecycleConfigCommand = exports.serializeAws_json1_1DeleteNotebookInstanceCommand = exports.serializeAws_json1_1DeleteMonitoringScheduleCommand = exports.serializeAws_json1_1DeleteModelQualityJobDefinitionCommand = exports.serializeAws_json1_1DeleteModelPackageGroupPolicyCommand = exports.serializeAws_json1_1DeleteModelPackageGroupCommand = exports.serializeAws_json1_1DeleteModelPackageCommand = exports.serializeAws_json1_1DeleteModelExplainabilityJobDefinitionCommand = exports.serializeAws_json1_1DeleteModelCardCommand = exports.serializeAws_json1_1DeleteModelBiasJobDefinitionCommand = exports.serializeAws_json1_1DeleteModelCommand = exports.serializeAws_json1_1DeleteInferenceExperimentCommand = exports.serializeAws_json1_1DeleteImageVersionCommand = exports.serializeAws_json1_1DeleteImageCommand = exports.serializeAws_json1_1DeleteHumanTaskUiCommand = exports.serializeAws_json1_1DeleteHubContentCommand = exports.serializeAws_json1_1DeleteHubCommand = exports.serializeAws_json1_1DeleteFlowDefinitionCommand = exports.serializeAws_json1_1DeleteFeatureGroupCommand = exports.serializeAws_json1_1DeleteExperimentCommand = exports.serializeAws_json1_1DeleteEndpointConfigCommand = exports.serializeAws_json1_1DeleteEndpointCommand = exports.serializeAws_json1_1DeleteEdgeDeploymentStageCommand = exports.serializeAws_json1_1DeleteEdgeDeploymentPlanCommand = exports.serializeAws_json1_1DeleteDomainCommand = exports.serializeAws_json1_1DeleteDeviceFleetCommand = exports.serializeAws_json1_1DeleteDataQualityJobDefinitionCommand = exports.serializeAws_json1_1DeleteContextCommand = exports.serializeAws_json1_1DeleteCodeRepositoryCommand = exports.serializeAws_json1_1DeleteAssociationCommand = exports.serializeAws_json1_1DeleteArtifactCommand = exports.serializeAws_json1_1DeleteAppImageConfigCommand = exports.serializeAws_json1_1DeleteAppCommand = exports.serializeAws_json1_1DeleteAlgorithmCommand = exports.serializeAws_json1_1DeleteActionCommand = exports.serializeAws_json1_1CreateWorkteamCommand = exports.serializeAws_json1_1CreateWorkforceCommand = exports.serializeAws_json1_1CreateUserProfileCommand = exports.serializeAws_json1_1CreateTrialComponentCommand = exports.serializeAws_json1_1CreateTrialCommand = exports.serializeAws_json1_1CreateTransformJobCommand = exports.serializeAws_json1_1CreateTrainingJobCommand = void 0;
|
|
5
|
+
exports.serializeAws_json1_1DescribeProjectCommand = exports.serializeAws_json1_1DescribeProcessingJobCommand = exports.serializeAws_json1_1DescribePipelineExecutionCommand = exports.serializeAws_json1_1DescribePipelineDefinitionForExecutionCommand = exports.serializeAws_json1_1DescribePipelineCommand = exports.serializeAws_json1_1DescribeNotebookInstanceLifecycleConfigCommand = exports.serializeAws_json1_1DescribeNotebookInstanceCommand = exports.serializeAws_json1_1DescribeMonitoringScheduleCommand = exports.serializeAws_json1_1DescribeModelQualityJobDefinitionCommand = exports.serializeAws_json1_1DescribeModelPackageGroupCommand = exports.serializeAws_json1_1DescribeModelPackageCommand = exports.serializeAws_json1_1DescribeModelExplainabilityJobDefinitionCommand = exports.serializeAws_json1_1DescribeModelCardExportJobCommand = exports.serializeAws_json1_1DescribeModelCardCommand = exports.serializeAws_json1_1DescribeModelBiasJobDefinitionCommand = exports.serializeAws_json1_1DescribeModelCommand = exports.serializeAws_json1_1DescribeLineageGroupCommand = exports.serializeAws_json1_1DescribeLabelingJobCommand = exports.serializeAws_json1_1DescribeInferenceRecommendationsJobCommand = exports.serializeAws_json1_1DescribeInferenceExperimentCommand = exports.serializeAws_json1_1DescribeImageVersionCommand = exports.serializeAws_json1_1DescribeImageCommand = exports.serializeAws_json1_1DescribeHyperParameterTuningJobCommand = exports.serializeAws_json1_1DescribeHumanTaskUiCommand = exports.serializeAws_json1_1DescribeHubContentCommand = exports.serializeAws_json1_1DescribeHubCommand = exports.serializeAws_json1_1DescribeFlowDefinitionCommand = exports.serializeAws_json1_1DescribeFeatureMetadataCommand = exports.serializeAws_json1_1DescribeFeatureGroupCommand = exports.serializeAws_json1_1DescribeExperimentCommand = exports.serializeAws_json1_1DescribeEndpointConfigCommand = exports.serializeAws_json1_1DescribeEndpointCommand = exports.serializeAws_json1_1DescribeEdgePackagingJobCommand = exports.serializeAws_json1_1DescribeEdgeDeploymentPlanCommand = exports.serializeAws_json1_1DescribeDomainCommand = exports.serializeAws_json1_1DescribeDeviceFleetCommand = exports.serializeAws_json1_1DescribeDeviceCommand = exports.serializeAws_json1_1DescribeDataQualityJobDefinitionCommand = exports.serializeAws_json1_1DescribeContextCommand = exports.serializeAws_json1_1DescribeCompilationJobCommand = exports.serializeAws_json1_1DescribeCodeRepositoryCommand = exports.serializeAws_json1_1DescribeAutoMLJobCommand = exports.serializeAws_json1_1DescribeArtifactCommand = exports.serializeAws_json1_1DescribeAppImageConfigCommand = exports.serializeAws_json1_1DescribeAppCommand = exports.serializeAws_json1_1DescribeAlgorithmCommand = exports.serializeAws_json1_1DescribeActionCommand = exports.serializeAws_json1_1DeregisterDevicesCommand = exports.serializeAws_json1_1DeleteWorkteamCommand = exports.serializeAws_json1_1DeleteWorkforceCommand = void 0;
|
|
6
|
+
exports.serializeAws_json1_1ListInferenceRecommendationsJobsCommand = exports.serializeAws_json1_1ListInferenceExperimentsCommand = exports.serializeAws_json1_1ListImageVersionsCommand = exports.serializeAws_json1_1ListImagesCommand = exports.serializeAws_json1_1ListHyperParameterTuningJobsCommand = exports.serializeAws_json1_1ListHumanTaskUisCommand = exports.serializeAws_json1_1ListHubsCommand = exports.serializeAws_json1_1ListHubContentVersionsCommand = exports.serializeAws_json1_1ListHubContentsCommand = exports.serializeAws_json1_1ListFlowDefinitionsCommand = exports.serializeAws_json1_1ListFeatureGroupsCommand = exports.serializeAws_json1_1ListExperimentsCommand = exports.serializeAws_json1_1ListEndpointsCommand = exports.serializeAws_json1_1ListEndpointConfigsCommand = exports.serializeAws_json1_1ListEdgePackagingJobsCommand = exports.serializeAws_json1_1ListEdgeDeploymentPlansCommand = exports.serializeAws_json1_1ListDomainsCommand = exports.serializeAws_json1_1ListDevicesCommand = exports.serializeAws_json1_1ListDeviceFleetsCommand = exports.serializeAws_json1_1ListDataQualityJobDefinitionsCommand = exports.serializeAws_json1_1ListContextsCommand = exports.serializeAws_json1_1ListCompilationJobsCommand = exports.serializeAws_json1_1ListCodeRepositoriesCommand = exports.serializeAws_json1_1ListCandidatesForAutoMLJobCommand = exports.serializeAws_json1_1ListAutoMLJobsCommand = exports.serializeAws_json1_1ListAssociationsCommand = exports.serializeAws_json1_1ListArtifactsCommand = exports.serializeAws_json1_1ListAppsCommand = exports.serializeAws_json1_1ListAppImageConfigsCommand = exports.serializeAws_json1_1ListAlgorithmsCommand = exports.serializeAws_json1_1ListActionsCommand = exports.serializeAws_json1_1ImportHubContentCommand = exports.serializeAws_json1_1GetSearchSuggestionsCommand = exports.serializeAws_json1_1GetSagemakerServicecatalogPortfolioStatusCommand = exports.serializeAws_json1_1GetModelPackageGroupPolicyCommand = exports.serializeAws_json1_1GetLineageGroupPolicyCommand = exports.serializeAws_json1_1GetDeviceFleetReportCommand = exports.serializeAws_json1_1EnableSagemakerServicecatalogPortfolioCommand = exports.serializeAws_json1_1DisassociateTrialComponentCommand = exports.serializeAws_json1_1DisableSagemakerServicecatalogPortfolioCommand = exports.serializeAws_json1_1DescribeWorkteamCommand = exports.serializeAws_json1_1DescribeWorkforceCommand = exports.serializeAws_json1_1DescribeUserProfileCommand = exports.serializeAws_json1_1DescribeTrialComponentCommand = exports.serializeAws_json1_1DescribeTrialCommand = exports.serializeAws_json1_1DescribeTransformJobCommand = exports.serializeAws_json1_1DescribeTrainingJobCommand = exports.serializeAws_json1_1DescribeSubscribedWorkteamCommand = exports.serializeAws_json1_1DescribeStudioLifecycleConfigCommand = exports.serializeAws_json1_1DescribeSpaceCommand = void 0;
|
|
7
|
+
exports.serializeAws_json1_1StartMonitoringScheduleCommand = exports.serializeAws_json1_1StartInferenceExperimentCommand = exports.serializeAws_json1_1StartEdgeDeploymentStageCommand = exports.serializeAws_json1_1SendPipelineExecutionStepSuccessCommand = exports.serializeAws_json1_1SendPipelineExecutionStepFailureCommand = exports.serializeAws_json1_1SearchCommand = exports.serializeAws_json1_1RetryPipelineExecutionCommand = exports.serializeAws_json1_1RenderUiTemplateCommand = exports.serializeAws_json1_1RegisterDevicesCommand = exports.serializeAws_json1_1QueryLineageCommand = exports.serializeAws_json1_1PutModelPackageGroupPolicyCommand = exports.serializeAws_json1_1ListWorkteamsCommand = exports.serializeAws_json1_1ListWorkforcesCommand = exports.serializeAws_json1_1ListUserProfilesCommand = exports.serializeAws_json1_1ListTrialsCommand = exports.serializeAws_json1_1ListTrialComponentsCommand = exports.serializeAws_json1_1ListTransformJobsCommand = exports.serializeAws_json1_1ListTrainingJobsForHyperParameterTuningJobCommand = exports.serializeAws_json1_1ListTrainingJobsCommand = exports.serializeAws_json1_1ListTagsCommand = exports.serializeAws_json1_1ListSubscribedWorkteamsCommand = exports.serializeAws_json1_1ListStudioLifecycleConfigsCommand = exports.serializeAws_json1_1ListStageDevicesCommand = exports.serializeAws_json1_1ListSpacesCommand = exports.serializeAws_json1_1ListProjectsCommand = exports.serializeAws_json1_1ListProcessingJobsCommand = exports.serializeAws_json1_1ListPipelinesCommand = exports.serializeAws_json1_1ListPipelineParametersForExecutionCommand = exports.serializeAws_json1_1ListPipelineExecutionStepsCommand = exports.serializeAws_json1_1ListPipelineExecutionsCommand = exports.serializeAws_json1_1ListNotebookInstancesCommand = exports.serializeAws_json1_1ListNotebookInstanceLifecycleConfigsCommand = exports.serializeAws_json1_1ListMonitoringSchedulesCommand = exports.serializeAws_json1_1ListMonitoringExecutionsCommand = exports.serializeAws_json1_1ListMonitoringAlertsCommand = exports.serializeAws_json1_1ListMonitoringAlertHistoryCommand = exports.serializeAws_json1_1ListModelsCommand = exports.serializeAws_json1_1ListModelQualityJobDefinitionsCommand = exports.serializeAws_json1_1ListModelPackagesCommand = exports.serializeAws_json1_1ListModelPackageGroupsCommand = exports.serializeAws_json1_1ListModelMetadataCommand = exports.serializeAws_json1_1ListModelExplainabilityJobDefinitionsCommand = exports.serializeAws_json1_1ListModelCardVersionsCommand = exports.serializeAws_json1_1ListModelCardsCommand = exports.serializeAws_json1_1ListModelCardExportJobsCommand = exports.serializeAws_json1_1ListModelBiasJobDefinitionsCommand = exports.serializeAws_json1_1ListLineageGroupsCommand = exports.serializeAws_json1_1ListLabelingJobsForWorkteamCommand = exports.serializeAws_json1_1ListLabelingJobsCommand = exports.serializeAws_json1_1ListInferenceRecommendationsJobStepsCommand = void 0;
|
|
8
|
+
exports.deserializeAws_json1_1AddTagsCommand = exports.deserializeAws_json1_1AddAssociationCommand = exports.serializeAws_json1_1UpdateWorkteamCommand = exports.serializeAws_json1_1UpdateWorkforceCommand = exports.serializeAws_json1_1UpdateUserProfileCommand = exports.serializeAws_json1_1UpdateTrialComponentCommand = exports.serializeAws_json1_1UpdateTrialCommand = exports.serializeAws_json1_1UpdateTrainingJobCommand = exports.serializeAws_json1_1UpdateSpaceCommand = exports.serializeAws_json1_1UpdateProjectCommand = exports.serializeAws_json1_1UpdatePipelineExecutionCommand = exports.serializeAws_json1_1UpdatePipelineCommand = exports.serializeAws_json1_1UpdateNotebookInstanceLifecycleConfigCommand = exports.serializeAws_json1_1UpdateNotebookInstanceCommand = exports.serializeAws_json1_1UpdateMonitoringScheduleCommand = exports.serializeAws_json1_1UpdateMonitoringAlertCommand = exports.serializeAws_json1_1UpdateModelPackageCommand = exports.serializeAws_json1_1UpdateModelCardCommand = exports.serializeAws_json1_1UpdateInferenceExperimentCommand = exports.serializeAws_json1_1UpdateImageCommand = exports.serializeAws_json1_1UpdateHubCommand = exports.serializeAws_json1_1UpdateFeatureMetadataCommand = exports.serializeAws_json1_1UpdateFeatureGroupCommand = exports.serializeAws_json1_1UpdateExperimentCommand = exports.serializeAws_json1_1UpdateEndpointWeightsAndCapacitiesCommand = exports.serializeAws_json1_1UpdateEndpointCommand = exports.serializeAws_json1_1UpdateDomainCommand = exports.serializeAws_json1_1UpdateDevicesCommand = exports.serializeAws_json1_1UpdateDeviceFleetCommand = exports.serializeAws_json1_1UpdateContextCommand = exports.serializeAws_json1_1UpdateCodeRepositoryCommand = exports.serializeAws_json1_1UpdateArtifactCommand = exports.serializeAws_json1_1UpdateAppImageConfigCommand = exports.serializeAws_json1_1UpdateActionCommand = exports.serializeAws_json1_1StopTransformJobCommand = exports.serializeAws_json1_1StopTrainingJobCommand = exports.serializeAws_json1_1StopProcessingJobCommand = exports.serializeAws_json1_1StopPipelineExecutionCommand = exports.serializeAws_json1_1StopNotebookInstanceCommand = exports.serializeAws_json1_1StopMonitoringScheduleCommand = exports.serializeAws_json1_1StopLabelingJobCommand = exports.serializeAws_json1_1StopInferenceRecommendationsJobCommand = exports.serializeAws_json1_1StopInferenceExperimentCommand = exports.serializeAws_json1_1StopHyperParameterTuningJobCommand = exports.serializeAws_json1_1StopEdgePackagingJobCommand = exports.serializeAws_json1_1StopEdgeDeploymentStageCommand = exports.serializeAws_json1_1StopCompilationJobCommand = exports.serializeAws_json1_1StopAutoMLJobCommand = exports.serializeAws_json1_1StartPipelineExecutionCommand = exports.serializeAws_json1_1StartNotebookInstanceCommand = void 0;
|
|
9
|
+
exports.deserializeAws_json1_1CreateTransformJobCommand = exports.deserializeAws_json1_1CreateTrainingJobCommand = exports.deserializeAws_json1_1CreateStudioLifecycleConfigCommand = exports.deserializeAws_json1_1CreateSpaceCommand = exports.deserializeAws_json1_1CreateProjectCommand = exports.deserializeAws_json1_1CreateProcessingJobCommand = exports.deserializeAws_json1_1CreatePresignedNotebookInstanceUrlCommand = exports.deserializeAws_json1_1CreatePresignedDomainUrlCommand = exports.deserializeAws_json1_1CreatePipelineCommand = exports.deserializeAws_json1_1CreateNotebookInstanceLifecycleConfigCommand = exports.deserializeAws_json1_1CreateNotebookInstanceCommand = exports.deserializeAws_json1_1CreateMonitoringScheduleCommand = exports.deserializeAws_json1_1CreateModelQualityJobDefinitionCommand = exports.deserializeAws_json1_1CreateModelPackageGroupCommand = exports.deserializeAws_json1_1CreateModelPackageCommand = exports.deserializeAws_json1_1CreateModelExplainabilityJobDefinitionCommand = exports.deserializeAws_json1_1CreateModelCardExportJobCommand = exports.deserializeAws_json1_1CreateModelCardCommand = exports.deserializeAws_json1_1CreateModelBiasJobDefinitionCommand = exports.deserializeAws_json1_1CreateModelCommand = exports.deserializeAws_json1_1CreateLabelingJobCommand = exports.deserializeAws_json1_1CreateInferenceRecommendationsJobCommand = exports.deserializeAws_json1_1CreateInferenceExperimentCommand = exports.deserializeAws_json1_1CreateImageVersionCommand = exports.deserializeAws_json1_1CreateImageCommand = exports.deserializeAws_json1_1CreateHyperParameterTuningJobCommand = exports.deserializeAws_json1_1CreateHumanTaskUiCommand = exports.deserializeAws_json1_1CreateHubCommand = exports.deserializeAws_json1_1CreateFlowDefinitionCommand = exports.deserializeAws_json1_1CreateFeatureGroupCommand = exports.deserializeAws_json1_1CreateExperimentCommand = exports.deserializeAws_json1_1CreateEndpointConfigCommand = exports.deserializeAws_json1_1CreateEndpointCommand = exports.deserializeAws_json1_1CreateEdgePackagingJobCommand = exports.deserializeAws_json1_1CreateEdgeDeploymentStageCommand = exports.deserializeAws_json1_1CreateEdgeDeploymentPlanCommand = exports.deserializeAws_json1_1CreateDomainCommand = exports.deserializeAws_json1_1CreateDeviceFleetCommand = exports.deserializeAws_json1_1CreateDataQualityJobDefinitionCommand = exports.deserializeAws_json1_1CreateContextCommand = exports.deserializeAws_json1_1CreateCompilationJobCommand = exports.deserializeAws_json1_1CreateCodeRepositoryCommand = exports.deserializeAws_json1_1CreateAutoMLJobCommand = exports.deserializeAws_json1_1CreateArtifactCommand = exports.deserializeAws_json1_1CreateAppImageConfigCommand = exports.deserializeAws_json1_1CreateAppCommand = exports.deserializeAws_json1_1CreateAlgorithmCommand = exports.deserializeAws_json1_1CreateActionCommand = exports.deserializeAws_json1_1BatchDescribeModelPackageCommand = exports.deserializeAws_json1_1AssociateTrialComponentCommand = void 0;
|
|
10
|
+
exports.deserializeAws_json1_1DeleteWorkteamCommand = exports.deserializeAws_json1_1DeleteWorkforceCommand = exports.deserializeAws_json1_1DeleteUserProfileCommand = exports.deserializeAws_json1_1DeleteTrialComponentCommand = exports.deserializeAws_json1_1DeleteTrialCommand = exports.deserializeAws_json1_1DeleteTagsCommand = exports.deserializeAws_json1_1DeleteStudioLifecycleConfigCommand = exports.deserializeAws_json1_1DeleteSpaceCommand = exports.deserializeAws_json1_1DeleteProjectCommand = exports.deserializeAws_json1_1DeletePipelineCommand = exports.deserializeAws_json1_1DeleteNotebookInstanceLifecycleConfigCommand = exports.deserializeAws_json1_1DeleteNotebookInstanceCommand = exports.deserializeAws_json1_1DeleteMonitoringScheduleCommand = exports.deserializeAws_json1_1DeleteModelQualityJobDefinitionCommand = exports.deserializeAws_json1_1DeleteModelPackageGroupPolicyCommand = exports.deserializeAws_json1_1DeleteModelPackageGroupCommand = exports.deserializeAws_json1_1DeleteModelPackageCommand = exports.deserializeAws_json1_1DeleteModelExplainabilityJobDefinitionCommand = exports.deserializeAws_json1_1DeleteModelCardCommand = exports.deserializeAws_json1_1DeleteModelBiasJobDefinitionCommand = exports.deserializeAws_json1_1DeleteModelCommand = exports.deserializeAws_json1_1DeleteInferenceExperimentCommand = exports.deserializeAws_json1_1DeleteImageVersionCommand = exports.deserializeAws_json1_1DeleteImageCommand = exports.deserializeAws_json1_1DeleteHumanTaskUiCommand = exports.deserializeAws_json1_1DeleteHubContentCommand = exports.deserializeAws_json1_1DeleteHubCommand = exports.deserializeAws_json1_1DeleteFlowDefinitionCommand = exports.deserializeAws_json1_1DeleteFeatureGroupCommand = exports.deserializeAws_json1_1DeleteExperimentCommand = exports.deserializeAws_json1_1DeleteEndpointConfigCommand = exports.deserializeAws_json1_1DeleteEndpointCommand = exports.deserializeAws_json1_1DeleteEdgeDeploymentStageCommand = exports.deserializeAws_json1_1DeleteEdgeDeploymentPlanCommand = exports.deserializeAws_json1_1DeleteDomainCommand = exports.deserializeAws_json1_1DeleteDeviceFleetCommand = exports.deserializeAws_json1_1DeleteDataQualityJobDefinitionCommand = exports.deserializeAws_json1_1DeleteContextCommand = exports.deserializeAws_json1_1DeleteCodeRepositoryCommand = exports.deserializeAws_json1_1DeleteAssociationCommand = exports.deserializeAws_json1_1DeleteArtifactCommand = exports.deserializeAws_json1_1DeleteAppImageConfigCommand = exports.deserializeAws_json1_1DeleteAppCommand = exports.deserializeAws_json1_1DeleteAlgorithmCommand = exports.deserializeAws_json1_1DeleteActionCommand = exports.deserializeAws_json1_1CreateWorkteamCommand = exports.deserializeAws_json1_1CreateWorkforceCommand = exports.deserializeAws_json1_1CreateUserProfileCommand = exports.deserializeAws_json1_1CreateTrialComponentCommand = exports.deserializeAws_json1_1CreateTrialCommand = void 0;
|
|
11
|
+
exports.deserializeAws_json1_1DescribeStudioLifecycleConfigCommand = exports.deserializeAws_json1_1DescribeSpaceCommand = exports.deserializeAws_json1_1DescribeProjectCommand = exports.deserializeAws_json1_1DescribeProcessingJobCommand = exports.deserializeAws_json1_1DescribePipelineExecutionCommand = exports.deserializeAws_json1_1DescribePipelineDefinitionForExecutionCommand = exports.deserializeAws_json1_1DescribePipelineCommand = exports.deserializeAws_json1_1DescribeNotebookInstanceLifecycleConfigCommand = exports.deserializeAws_json1_1DescribeNotebookInstanceCommand = exports.deserializeAws_json1_1DescribeMonitoringScheduleCommand = exports.deserializeAws_json1_1DescribeModelQualityJobDefinitionCommand = exports.deserializeAws_json1_1DescribeModelPackageGroupCommand = exports.deserializeAws_json1_1DescribeModelPackageCommand = exports.deserializeAws_json1_1DescribeModelExplainabilityJobDefinitionCommand = exports.deserializeAws_json1_1DescribeModelCardExportJobCommand = exports.deserializeAws_json1_1DescribeModelCardCommand = exports.deserializeAws_json1_1DescribeModelBiasJobDefinitionCommand = exports.deserializeAws_json1_1DescribeModelCommand = exports.deserializeAws_json1_1DescribeLineageGroupCommand = exports.deserializeAws_json1_1DescribeLabelingJobCommand = exports.deserializeAws_json1_1DescribeInferenceRecommendationsJobCommand = exports.deserializeAws_json1_1DescribeInferenceExperimentCommand = exports.deserializeAws_json1_1DescribeImageVersionCommand = exports.deserializeAws_json1_1DescribeImageCommand = exports.deserializeAws_json1_1DescribeHyperParameterTuningJobCommand = exports.deserializeAws_json1_1DescribeHumanTaskUiCommand = exports.deserializeAws_json1_1DescribeHubContentCommand = exports.deserializeAws_json1_1DescribeHubCommand = exports.deserializeAws_json1_1DescribeFlowDefinitionCommand = exports.deserializeAws_json1_1DescribeFeatureMetadataCommand = exports.deserializeAws_json1_1DescribeFeatureGroupCommand = exports.deserializeAws_json1_1DescribeExperimentCommand = exports.deserializeAws_json1_1DescribeEndpointConfigCommand = exports.deserializeAws_json1_1DescribeEndpointCommand = exports.deserializeAws_json1_1DescribeEdgePackagingJobCommand = exports.deserializeAws_json1_1DescribeEdgeDeploymentPlanCommand = exports.deserializeAws_json1_1DescribeDomainCommand = exports.deserializeAws_json1_1DescribeDeviceFleetCommand = exports.deserializeAws_json1_1DescribeDeviceCommand = exports.deserializeAws_json1_1DescribeDataQualityJobDefinitionCommand = exports.deserializeAws_json1_1DescribeContextCommand = exports.deserializeAws_json1_1DescribeCompilationJobCommand = exports.deserializeAws_json1_1DescribeCodeRepositoryCommand = exports.deserializeAws_json1_1DescribeAutoMLJobCommand = exports.deserializeAws_json1_1DescribeArtifactCommand = exports.deserializeAws_json1_1DescribeAppImageConfigCommand = exports.deserializeAws_json1_1DescribeAppCommand = exports.deserializeAws_json1_1DescribeAlgorithmCommand = exports.deserializeAws_json1_1DescribeActionCommand = exports.deserializeAws_json1_1DeregisterDevicesCommand = void 0;
|
|
12
|
+
exports.deserializeAws_json1_1ListLabelingJobsCommand = exports.deserializeAws_json1_1ListInferenceRecommendationsJobStepsCommand = exports.deserializeAws_json1_1ListInferenceRecommendationsJobsCommand = exports.deserializeAws_json1_1ListInferenceExperimentsCommand = exports.deserializeAws_json1_1ListImageVersionsCommand = exports.deserializeAws_json1_1ListImagesCommand = exports.deserializeAws_json1_1ListHyperParameterTuningJobsCommand = exports.deserializeAws_json1_1ListHumanTaskUisCommand = exports.deserializeAws_json1_1ListHubsCommand = exports.deserializeAws_json1_1ListHubContentVersionsCommand = exports.deserializeAws_json1_1ListHubContentsCommand = exports.deserializeAws_json1_1ListFlowDefinitionsCommand = exports.deserializeAws_json1_1ListFeatureGroupsCommand = exports.deserializeAws_json1_1ListExperimentsCommand = exports.deserializeAws_json1_1ListEndpointsCommand = exports.deserializeAws_json1_1ListEndpointConfigsCommand = exports.deserializeAws_json1_1ListEdgePackagingJobsCommand = exports.deserializeAws_json1_1ListEdgeDeploymentPlansCommand = exports.deserializeAws_json1_1ListDomainsCommand = exports.deserializeAws_json1_1ListDevicesCommand = exports.deserializeAws_json1_1ListDeviceFleetsCommand = exports.deserializeAws_json1_1ListDataQualityJobDefinitionsCommand = exports.deserializeAws_json1_1ListContextsCommand = exports.deserializeAws_json1_1ListCompilationJobsCommand = exports.deserializeAws_json1_1ListCodeRepositoriesCommand = exports.deserializeAws_json1_1ListCandidatesForAutoMLJobCommand = exports.deserializeAws_json1_1ListAutoMLJobsCommand = exports.deserializeAws_json1_1ListAssociationsCommand = exports.deserializeAws_json1_1ListArtifactsCommand = exports.deserializeAws_json1_1ListAppsCommand = exports.deserializeAws_json1_1ListAppImageConfigsCommand = exports.deserializeAws_json1_1ListAlgorithmsCommand = exports.deserializeAws_json1_1ListActionsCommand = exports.deserializeAws_json1_1ImportHubContentCommand = exports.deserializeAws_json1_1GetSearchSuggestionsCommand = exports.deserializeAws_json1_1GetSagemakerServicecatalogPortfolioStatusCommand = exports.deserializeAws_json1_1GetModelPackageGroupPolicyCommand = exports.deserializeAws_json1_1GetLineageGroupPolicyCommand = exports.deserializeAws_json1_1GetDeviceFleetReportCommand = exports.deserializeAws_json1_1EnableSagemakerServicecatalogPortfolioCommand = exports.deserializeAws_json1_1DisassociateTrialComponentCommand = exports.deserializeAws_json1_1DisableSagemakerServicecatalogPortfolioCommand = exports.deserializeAws_json1_1DescribeWorkteamCommand = exports.deserializeAws_json1_1DescribeWorkforceCommand = exports.deserializeAws_json1_1DescribeUserProfileCommand = exports.deserializeAws_json1_1DescribeTrialComponentCommand = exports.deserializeAws_json1_1DescribeTrialCommand = exports.deserializeAws_json1_1DescribeTransformJobCommand = exports.deserializeAws_json1_1DescribeTrainingJobCommand = exports.deserializeAws_json1_1DescribeSubscribedWorkteamCommand = void 0;
|
|
13
|
+
exports.deserializeAws_json1_1StartPipelineExecutionCommand = exports.deserializeAws_json1_1StartNotebookInstanceCommand = exports.deserializeAws_json1_1StartMonitoringScheduleCommand = exports.deserializeAws_json1_1StartInferenceExperimentCommand = exports.deserializeAws_json1_1StartEdgeDeploymentStageCommand = exports.deserializeAws_json1_1SendPipelineExecutionStepSuccessCommand = exports.deserializeAws_json1_1SendPipelineExecutionStepFailureCommand = exports.deserializeAws_json1_1SearchCommand = exports.deserializeAws_json1_1RetryPipelineExecutionCommand = exports.deserializeAws_json1_1RenderUiTemplateCommand = exports.deserializeAws_json1_1RegisterDevicesCommand = exports.deserializeAws_json1_1QueryLineageCommand = exports.deserializeAws_json1_1PutModelPackageGroupPolicyCommand = exports.deserializeAws_json1_1ListWorkteamsCommand = exports.deserializeAws_json1_1ListWorkforcesCommand = exports.deserializeAws_json1_1ListUserProfilesCommand = exports.deserializeAws_json1_1ListTrialsCommand = exports.deserializeAws_json1_1ListTrialComponentsCommand = exports.deserializeAws_json1_1ListTransformJobsCommand = exports.deserializeAws_json1_1ListTrainingJobsForHyperParameterTuningJobCommand = exports.deserializeAws_json1_1ListTrainingJobsCommand = exports.deserializeAws_json1_1ListTagsCommand = exports.deserializeAws_json1_1ListSubscribedWorkteamsCommand = exports.deserializeAws_json1_1ListStudioLifecycleConfigsCommand = exports.deserializeAws_json1_1ListStageDevicesCommand = exports.deserializeAws_json1_1ListSpacesCommand = exports.deserializeAws_json1_1ListProjectsCommand = exports.deserializeAws_json1_1ListProcessingJobsCommand = exports.deserializeAws_json1_1ListPipelinesCommand = exports.deserializeAws_json1_1ListPipelineParametersForExecutionCommand = exports.deserializeAws_json1_1ListPipelineExecutionStepsCommand = exports.deserializeAws_json1_1ListPipelineExecutionsCommand = exports.deserializeAws_json1_1ListNotebookInstancesCommand = exports.deserializeAws_json1_1ListNotebookInstanceLifecycleConfigsCommand = exports.deserializeAws_json1_1ListMonitoringSchedulesCommand = exports.deserializeAws_json1_1ListMonitoringExecutionsCommand = exports.deserializeAws_json1_1ListMonitoringAlertsCommand = exports.deserializeAws_json1_1ListMonitoringAlertHistoryCommand = exports.deserializeAws_json1_1ListModelsCommand = exports.deserializeAws_json1_1ListModelQualityJobDefinitionsCommand = exports.deserializeAws_json1_1ListModelPackagesCommand = exports.deserializeAws_json1_1ListModelPackageGroupsCommand = exports.deserializeAws_json1_1ListModelMetadataCommand = exports.deserializeAws_json1_1ListModelExplainabilityJobDefinitionsCommand = exports.deserializeAws_json1_1ListModelCardVersionsCommand = exports.deserializeAws_json1_1ListModelCardsCommand = exports.deserializeAws_json1_1ListModelCardExportJobsCommand = exports.deserializeAws_json1_1ListModelBiasJobDefinitionsCommand = exports.deserializeAws_json1_1ListLineageGroupsCommand = exports.deserializeAws_json1_1ListLabelingJobsForWorkteamCommand = void 0;
|
|
14
|
+
exports.deserializeAws_json1_1UpdateWorkteamCommand = exports.deserializeAws_json1_1UpdateWorkforceCommand = exports.deserializeAws_json1_1UpdateUserProfileCommand = exports.deserializeAws_json1_1UpdateTrialComponentCommand = exports.deserializeAws_json1_1UpdateTrialCommand = exports.deserializeAws_json1_1UpdateTrainingJobCommand = exports.deserializeAws_json1_1UpdateSpaceCommand = exports.deserializeAws_json1_1UpdateProjectCommand = exports.deserializeAws_json1_1UpdatePipelineExecutionCommand = exports.deserializeAws_json1_1UpdatePipelineCommand = exports.deserializeAws_json1_1UpdateNotebookInstanceLifecycleConfigCommand = exports.deserializeAws_json1_1UpdateNotebookInstanceCommand = exports.deserializeAws_json1_1UpdateMonitoringScheduleCommand = exports.deserializeAws_json1_1UpdateMonitoringAlertCommand = exports.deserializeAws_json1_1UpdateModelPackageCommand = exports.deserializeAws_json1_1UpdateModelCardCommand = exports.deserializeAws_json1_1UpdateInferenceExperimentCommand = exports.deserializeAws_json1_1UpdateImageCommand = exports.deserializeAws_json1_1UpdateHubCommand = exports.deserializeAws_json1_1UpdateFeatureMetadataCommand = exports.deserializeAws_json1_1UpdateFeatureGroupCommand = exports.deserializeAws_json1_1UpdateExperimentCommand = exports.deserializeAws_json1_1UpdateEndpointWeightsAndCapacitiesCommand = exports.deserializeAws_json1_1UpdateEndpointCommand = exports.deserializeAws_json1_1UpdateDomainCommand = exports.deserializeAws_json1_1UpdateDevicesCommand = exports.deserializeAws_json1_1UpdateDeviceFleetCommand = exports.deserializeAws_json1_1UpdateContextCommand = exports.deserializeAws_json1_1UpdateCodeRepositoryCommand = exports.deserializeAws_json1_1UpdateArtifactCommand = exports.deserializeAws_json1_1UpdateAppImageConfigCommand = exports.deserializeAws_json1_1UpdateActionCommand = exports.deserializeAws_json1_1StopTransformJobCommand = exports.deserializeAws_json1_1StopTrainingJobCommand = exports.deserializeAws_json1_1StopProcessingJobCommand = exports.deserializeAws_json1_1StopPipelineExecutionCommand = exports.deserializeAws_json1_1StopNotebookInstanceCommand = exports.deserializeAws_json1_1StopMonitoringScheduleCommand = exports.deserializeAws_json1_1StopLabelingJobCommand = exports.deserializeAws_json1_1StopInferenceRecommendationsJobCommand = exports.deserializeAws_json1_1StopInferenceExperimentCommand = exports.deserializeAws_json1_1StopHyperParameterTuningJobCommand = exports.deserializeAws_json1_1StopEdgePackagingJobCommand = exports.deserializeAws_json1_1StopEdgeDeploymentStageCommand = exports.deserializeAws_json1_1StopCompilationJobCommand = exports.deserializeAws_json1_1StopAutoMLJobCommand = void 0;
|
|
14
15
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
15
16
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
16
17
|
const uuid_1 = require("uuid");
|
|
@@ -257,6 +258,16 @@ const serializeAws_json1_1CreateFlowDefinitionCommand = async (input, context) =
|
|
|
257
258
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
258
259
|
};
|
|
259
260
|
exports.serializeAws_json1_1CreateFlowDefinitionCommand = serializeAws_json1_1CreateFlowDefinitionCommand;
|
|
261
|
+
const serializeAws_json1_1CreateHubCommand = async (input, context) => {
|
|
262
|
+
const headers = {
|
|
263
|
+
"content-type": "application/x-amz-json-1.1",
|
|
264
|
+
"x-amz-target": "SageMaker.CreateHub",
|
|
265
|
+
};
|
|
266
|
+
let body;
|
|
267
|
+
body = JSON.stringify(serializeAws_json1_1CreateHubRequest(input, context));
|
|
268
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
269
|
+
};
|
|
270
|
+
exports.serializeAws_json1_1CreateHubCommand = serializeAws_json1_1CreateHubCommand;
|
|
260
271
|
const serializeAws_json1_1CreateHumanTaskUiCommand = async (input, context) => {
|
|
261
272
|
const headers = {
|
|
262
273
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -297,6 +308,16 @@ const serializeAws_json1_1CreateImageVersionCommand = async (input, context) =>
|
|
|
297
308
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
298
309
|
};
|
|
299
310
|
exports.serializeAws_json1_1CreateImageVersionCommand = serializeAws_json1_1CreateImageVersionCommand;
|
|
311
|
+
const serializeAws_json1_1CreateInferenceExperimentCommand = async (input, context) => {
|
|
312
|
+
const headers = {
|
|
313
|
+
"content-type": "application/x-amz-json-1.1",
|
|
314
|
+
"x-amz-target": "SageMaker.CreateInferenceExperiment",
|
|
315
|
+
};
|
|
316
|
+
let body;
|
|
317
|
+
body = JSON.stringify(serializeAws_json1_1CreateInferenceExperimentRequest(input, context));
|
|
318
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
319
|
+
};
|
|
320
|
+
exports.serializeAws_json1_1CreateInferenceExperimentCommand = serializeAws_json1_1CreateInferenceExperimentCommand;
|
|
300
321
|
const serializeAws_json1_1CreateInferenceRecommendationsJobCommand = async (input, context) => {
|
|
301
322
|
const headers = {
|
|
302
323
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -337,6 +358,26 @@ const serializeAws_json1_1CreateModelBiasJobDefinitionCommand = async (input, co
|
|
|
337
358
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
338
359
|
};
|
|
339
360
|
exports.serializeAws_json1_1CreateModelBiasJobDefinitionCommand = serializeAws_json1_1CreateModelBiasJobDefinitionCommand;
|
|
361
|
+
const serializeAws_json1_1CreateModelCardCommand = async (input, context) => {
|
|
362
|
+
const headers = {
|
|
363
|
+
"content-type": "application/x-amz-json-1.1",
|
|
364
|
+
"x-amz-target": "SageMaker.CreateModelCard",
|
|
365
|
+
};
|
|
366
|
+
let body;
|
|
367
|
+
body = JSON.stringify(serializeAws_json1_1CreateModelCardRequest(input, context));
|
|
368
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
369
|
+
};
|
|
370
|
+
exports.serializeAws_json1_1CreateModelCardCommand = serializeAws_json1_1CreateModelCardCommand;
|
|
371
|
+
const serializeAws_json1_1CreateModelCardExportJobCommand = async (input, context) => {
|
|
372
|
+
const headers = {
|
|
373
|
+
"content-type": "application/x-amz-json-1.1",
|
|
374
|
+
"x-amz-target": "SageMaker.CreateModelCardExportJob",
|
|
375
|
+
};
|
|
376
|
+
let body;
|
|
377
|
+
body = JSON.stringify(serializeAws_json1_1CreateModelCardExportJobRequest(input, context));
|
|
378
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
379
|
+
};
|
|
380
|
+
exports.serializeAws_json1_1CreateModelCardExportJobCommand = serializeAws_json1_1CreateModelCardExportJobCommand;
|
|
340
381
|
const serializeAws_json1_1CreateModelExplainabilityJobDefinitionCommand = async (input, context) => {
|
|
341
382
|
const headers = {
|
|
342
383
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -457,6 +498,16 @@ const serializeAws_json1_1CreateProjectCommand = async (input, context) => {
|
|
|
457
498
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
458
499
|
};
|
|
459
500
|
exports.serializeAws_json1_1CreateProjectCommand = serializeAws_json1_1CreateProjectCommand;
|
|
501
|
+
const serializeAws_json1_1CreateSpaceCommand = async (input, context) => {
|
|
502
|
+
const headers = {
|
|
503
|
+
"content-type": "application/x-amz-json-1.1",
|
|
504
|
+
"x-amz-target": "SageMaker.CreateSpace",
|
|
505
|
+
};
|
|
506
|
+
let body;
|
|
507
|
+
body = JSON.stringify(serializeAws_json1_1CreateSpaceRequest(input, context));
|
|
508
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
509
|
+
};
|
|
510
|
+
exports.serializeAws_json1_1CreateSpaceCommand = serializeAws_json1_1CreateSpaceCommand;
|
|
460
511
|
const serializeAws_json1_1CreateStudioLifecycleConfigCommand = async (input, context) => {
|
|
461
512
|
const headers = {
|
|
462
513
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -717,6 +768,26 @@ const serializeAws_json1_1DeleteFlowDefinitionCommand = async (input, context) =
|
|
|
717
768
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
718
769
|
};
|
|
719
770
|
exports.serializeAws_json1_1DeleteFlowDefinitionCommand = serializeAws_json1_1DeleteFlowDefinitionCommand;
|
|
771
|
+
const serializeAws_json1_1DeleteHubCommand = async (input, context) => {
|
|
772
|
+
const headers = {
|
|
773
|
+
"content-type": "application/x-amz-json-1.1",
|
|
774
|
+
"x-amz-target": "SageMaker.DeleteHub",
|
|
775
|
+
};
|
|
776
|
+
let body;
|
|
777
|
+
body = JSON.stringify(serializeAws_json1_1DeleteHubRequest(input, context));
|
|
778
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
779
|
+
};
|
|
780
|
+
exports.serializeAws_json1_1DeleteHubCommand = serializeAws_json1_1DeleteHubCommand;
|
|
781
|
+
const serializeAws_json1_1DeleteHubContentCommand = async (input, context) => {
|
|
782
|
+
const headers = {
|
|
783
|
+
"content-type": "application/x-amz-json-1.1",
|
|
784
|
+
"x-amz-target": "SageMaker.DeleteHubContent",
|
|
785
|
+
};
|
|
786
|
+
let body;
|
|
787
|
+
body = JSON.stringify(serializeAws_json1_1DeleteHubContentRequest(input, context));
|
|
788
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
789
|
+
};
|
|
790
|
+
exports.serializeAws_json1_1DeleteHubContentCommand = serializeAws_json1_1DeleteHubContentCommand;
|
|
720
791
|
const serializeAws_json1_1DeleteHumanTaskUiCommand = async (input, context) => {
|
|
721
792
|
const headers = {
|
|
722
793
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -747,6 +818,16 @@ const serializeAws_json1_1DeleteImageVersionCommand = async (input, context) =>
|
|
|
747
818
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
748
819
|
};
|
|
749
820
|
exports.serializeAws_json1_1DeleteImageVersionCommand = serializeAws_json1_1DeleteImageVersionCommand;
|
|
821
|
+
const serializeAws_json1_1DeleteInferenceExperimentCommand = async (input, context) => {
|
|
822
|
+
const headers = {
|
|
823
|
+
"content-type": "application/x-amz-json-1.1",
|
|
824
|
+
"x-amz-target": "SageMaker.DeleteInferenceExperiment",
|
|
825
|
+
};
|
|
826
|
+
let body;
|
|
827
|
+
body = JSON.stringify(serializeAws_json1_1DeleteInferenceExperimentRequest(input, context));
|
|
828
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
829
|
+
};
|
|
830
|
+
exports.serializeAws_json1_1DeleteInferenceExperimentCommand = serializeAws_json1_1DeleteInferenceExperimentCommand;
|
|
750
831
|
const serializeAws_json1_1DeleteModelCommand = async (input, context) => {
|
|
751
832
|
const headers = {
|
|
752
833
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -767,6 +848,16 @@ const serializeAws_json1_1DeleteModelBiasJobDefinitionCommand = async (input, co
|
|
|
767
848
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
768
849
|
};
|
|
769
850
|
exports.serializeAws_json1_1DeleteModelBiasJobDefinitionCommand = serializeAws_json1_1DeleteModelBiasJobDefinitionCommand;
|
|
851
|
+
const serializeAws_json1_1DeleteModelCardCommand = async (input, context) => {
|
|
852
|
+
const headers = {
|
|
853
|
+
"content-type": "application/x-amz-json-1.1",
|
|
854
|
+
"x-amz-target": "SageMaker.DeleteModelCard",
|
|
855
|
+
};
|
|
856
|
+
let body;
|
|
857
|
+
body = JSON.stringify(serializeAws_json1_1DeleteModelCardRequest(input, context));
|
|
858
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
859
|
+
};
|
|
860
|
+
exports.serializeAws_json1_1DeleteModelCardCommand = serializeAws_json1_1DeleteModelCardCommand;
|
|
770
861
|
const serializeAws_json1_1DeleteModelExplainabilityJobDefinitionCommand = async (input, context) => {
|
|
771
862
|
const headers = {
|
|
772
863
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -867,6 +958,16 @@ const serializeAws_json1_1DeleteProjectCommand = async (input, context) => {
|
|
|
867
958
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
868
959
|
};
|
|
869
960
|
exports.serializeAws_json1_1DeleteProjectCommand = serializeAws_json1_1DeleteProjectCommand;
|
|
961
|
+
const serializeAws_json1_1DeleteSpaceCommand = async (input, context) => {
|
|
962
|
+
const headers = {
|
|
963
|
+
"content-type": "application/x-amz-json-1.1",
|
|
964
|
+
"x-amz-target": "SageMaker.DeleteSpace",
|
|
965
|
+
};
|
|
966
|
+
let body;
|
|
967
|
+
body = JSON.stringify(serializeAws_json1_1DeleteSpaceRequest(input, context));
|
|
968
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
969
|
+
};
|
|
970
|
+
exports.serializeAws_json1_1DeleteSpaceCommand = serializeAws_json1_1DeleteSpaceCommand;
|
|
870
971
|
const serializeAws_json1_1DeleteStudioLifecycleConfigCommand = async (input, context) => {
|
|
871
972
|
const headers = {
|
|
872
973
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -1157,6 +1258,26 @@ const serializeAws_json1_1DescribeFlowDefinitionCommand = async (input, context)
|
|
|
1157
1258
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1158
1259
|
};
|
|
1159
1260
|
exports.serializeAws_json1_1DescribeFlowDefinitionCommand = serializeAws_json1_1DescribeFlowDefinitionCommand;
|
|
1261
|
+
const serializeAws_json1_1DescribeHubCommand = async (input, context) => {
|
|
1262
|
+
const headers = {
|
|
1263
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1264
|
+
"x-amz-target": "SageMaker.DescribeHub",
|
|
1265
|
+
};
|
|
1266
|
+
let body;
|
|
1267
|
+
body = JSON.stringify(serializeAws_json1_1DescribeHubRequest(input, context));
|
|
1268
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1269
|
+
};
|
|
1270
|
+
exports.serializeAws_json1_1DescribeHubCommand = serializeAws_json1_1DescribeHubCommand;
|
|
1271
|
+
const serializeAws_json1_1DescribeHubContentCommand = async (input, context) => {
|
|
1272
|
+
const headers = {
|
|
1273
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1274
|
+
"x-amz-target": "SageMaker.DescribeHubContent",
|
|
1275
|
+
};
|
|
1276
|
+
let body;
|
|
1277
|
+
body = JSON.stringify(serializeAws_json1_1DescribeHubContentRequest(input, context));
|
|
1278
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1279
|
+
};
|
|
1280
|
+
exports.serializeAws_json1_1DescribeHubContentCommand = serializeAws_json1_1DescribeHubContentCommand;
|
|
1160
1281
|
const serializeAws_json1_1DescribeHumanTaskUiCommand = async (input, context) => {
|
|
1161
1282
|
const headers = {
|
|
1162
1283
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -1197,6 +1318,16 @@ const serializeAws_json1_1DescribeImageVersionCommand = async (input, context) =
|
|
|
1197
1318
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1198
1319
|
};
|
|
1199
1320
|
exports.serializeAws_json1_1DescribeImageVersionCommand = serializeAws_json1_1DescribeImageVersionCommand;
|
|
1321
|
+
const serializeAws_json1_1DescribeInferenceExperimentCommand = async (input, context) => {
|
|
1322
|
+
const headers = {
|
|
1323
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1324
|
+
"x-amz-target": "SageMaker.DescribeInferenceExperiment",
|
|
1325
|
+
};
|
|
1326
|
+
let body;
|
|
1327
|
+
body = JSON.stringify(serializeAws_json1_1DescribeInferenceExperimentRequest(input, context));
|
|
1328
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1329
|
+
};
|
|
1330
|
+
exports.serializeAws_json1_1DescribeInferenceExperimentCommand = serializeAws_json1_1DescribeInferenceExperimentCommand;
|
|
1200
1331
|
const serializeAws_json1_1DescribeInferenceRecommendationsJobCommand = async (input, context) => {
|
|
1201
1332
|
const headers = {
|
|
1202
1333
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -1247,6 +1378,26 @@ const serializeAws_json1_1DescribeModelBiasJobDefinitionCommand = async (input,
|
|
|
1247
1378
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1248
1379
|
};
|
|
1249
1380
|
exports.serializeAws_json1_1DescribeModelBiasJobDefinitionCommand = serializeAws_json1_1DescribeModelBiasJobDefinitionCommand;
|
|
1381
|
+
const serializeAws_json1_1DescribeModelCardCommand = async (input, context) => {
|
|
1382
|
+
const headers = {
|
|
1383
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1384
|
+
"x-amz-target": "SageMaker.DescribeModelCard",
|
|
1385
|
+
};
|
|
1386
|
+
let body;
|
|
1387
|
+
body = JSON.stringify(serializeAws_json1_1DescribeModelCardRequest(input, context));
|
|
1388
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1389
|
+
};
|
|
1390
|
+
exports.serializeAws_json1_1DescribeModelCardCommand = serializeAws_json1_1DescribeModelCardCommand;
|
|
1391
|
+
const serializeAws_json1_1DescribeModelCardExportJobCommand = async (input, context) => {
|
|
1392
|
+
const headers = {
|
|
1393
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1394
|
+
"x-amz-target": "SageMaker.DescribeModelCardExportJob",
|
|
1395
|
+
};
|
|
1396
|
+
let body;
|
|
1397
|
+
body = JSON.stringify(serializeAws_json1_1DescribeModelCardExportJobRequest(input, context));
|
|
1398
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1399
|
+
};
|
|
1400
|
+
exports.serializeAws_json1_1DescribeModelCardExportJobCommand = serializeAws_json1_1DescribeModelCardExportJobCommand;
|
|
1250
1401
|
const serializeAws_json1_1DescribeModelExplainabilityJobDefinitionCommand = async (input, context) => {
|
|
1251
1402
|
const headers = {
|
|
1252
1403
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -1367,6 +1518,16 @@ const serializeAws_json1_1DescribeProjectCommand = async (input, context) => {
|
|
|
1367
1518
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1368
1519
|
};
|
|
1369
1520
|
exports.serializeAws_json1_1DescribeProjectCommand = serializeAws_json1_1DescribeProjectCommand;
|
|
1521
|
+
const serializeAws_json1_1DescribeSpaceCommand = async (input, context) => {
|
|
1522
|
+
const headers = {
|
|
1523
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1524
|
+
"x-amz-target": "SageMaker.DescribeSpace",
|
|
1525
|
+
};
|
|
1526
|
+
let body;
|
|
1527
|
+
body = JSON.stringify(serializeAws_json1_1DescribeSpaceRequest(input, context));
|
|
1528
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1529
|
+
};
|
|
1530
|
+
exports.serializeAws_json1_1DescribeSpaceCommand = serializeAws_json1_1DescribeSpaceCommand;
|
|
1370
1531
|
const serializeAws_json1_1DescribeStudioLifecycleConfigCommand = async (input, context) => {
|
|
1371
1532
|
const headers = {
|
|
1372
1533
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -1537,6 +1698,16 @@ const serializeAws_json1_1GetSearchSuggestionsCommand = async (input, context) =
|
|
|
1537
1698
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1538
1699
|
};
|
|
1539
1700
|
exports.serializeAws_json1_1GetSearchSuggestionsCommand = serializeAws_json1_1GetSearchSuggestionsCommand;
|
|
1701
|
+
const serializeAws_json1_1ImportHubContentCommand = async (input, context) => {
|
|
1702
|
+
const headers = {
|
|
1703
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1704
|
+
"x-amz-target": "SageMaker.ImportHubContent",
|
|
1705
|
+
};
|
|
1706
|
+
let body;
|
|
1707
|
+
body = JSON.stringify(serializeAws_json1_1ImportHubContentRequest(input, context));
|
|
1708
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1709
|
+
};
|
|
1710
|
+
exports.serializeAws_json1_1ImportHubContentCommand = serializeAws_json1_1ImportHubContentCommand;
|
|
1540
1711
|
const serializeAws_json1_1ListActionsCommand = async (input, context) => {
|
|
1541
1712
|
const headers = {
|
|
1542
1713
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -1757,6 +1928,36 @@ const serializeAws_json1_1ListFlowDefinitionsCommand = async (input, context) =>
|
|
|
1757
1928
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1758
1929
|
};
|
|
1759
1930
|
exports.serializeAws_json1_1ListFlowDefinitionsCommand = serializeAws_json1_1ListFlowDefinitionsCommand;
|
|
1931
|
+
const serializeAws_json1_1ListHubContentsCommand = async (input, context) => {
|
|
1932
|
+
const headers = {
|
|
1933
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1934
|
+
"x-amz-target": "SageMaker.ListHubContents",
|
|
1935
|
+
};
|
|
1936
|
+
let body;
|
|
1937
|
+
body = JSON.stringify(serializeAws_json1_1ListHubContentsRequest(input, context));
|
|
1938
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1939
|
+
};
|
|
1940
|
+
exports.serializeAws_json1_1ListHubContentsCommand = serializeAws_json1_1ListHubContentsCommand;
|
|
1941
|
+
const serializeAws_json1_1ListHubContentVersionsCommand = async (input, context) => {
|
|
1942
|
+
const headers = {
|
|
1943
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1944
|
+
"x-amz-target": "SageMaker.ListHubContentVersions",
|
|
1945
|
+
};
|
|
1946
|
+
let body;
|
|
1947
|
+
body = JSON.stringify(serializeAws_json1_1ListHubContentVersionsRequest(input, context));
|
|
1948
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1949
|
+
};
|
|
1950
|
+
exports.serializeAws_json1_1ListHubContentVersionsCommand = serializeAws_json1_1ListHubContentVersionsCommand;
|
|
1951
|
+
const serializeAws_json1_1ListHubsCommand = async (input, context) => {
|
|
1952
|
+
const headers = {
|
|
1953
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1954
|
+
"x-amz-target": "SageMaker.ListHubs",
|
|
1955
|
+
};
|
|
1956
|
+
let body;
|
|
1957
|
+
body = JSON.stringify(serializeAws_json1_1ListHubsRequest(input, context));
|
|
1958
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1959
|
+
};
|
|
1960
|
+
exports.serializeAws_json1_1ListHubsCommand = serializeAws_json1_1ListHubsCommand;
|
|
1760
1961
|
const serializeAws_json1_1ListHumanTaskUisCommand = async (input, context) => {
|
|
1761
1962
|
const headers = {
|
|
1762
1963
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -1797,6 +1998,16 @@ const serializeAws_json1_1ListImageVersionsCommand = async (input, context) => {
|
|
|
1797
1998
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1798
1999
|
};
|
|
1799
2000
|
exports.serializeAws_json1_1ListImageVersionsCommand = serializeAws_json1_1ListImageVersionsCommand;
|
|
2001
|
+
const serializeAws_json1_1ListInferenceExperimentsCommand = async (input, context) => {
|
|
2002
|
+
const headers = {
|
|
2003
|
+
"content-type": "application/x-amz-json-1.1",
|
|
2004
|
+
"x-amz-target": "SageMaker.ListInferenceExperiments",
|
|
2005
|
+
};
|
|
2006
|
+
let body;
|
|
2007
|
+
body = JSON.stringify(serializeAws_json1_1ListInferenceExperimentsRequest(input, context));
|
|
2008
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2009
|
+
};
|
|
2010
|
+
exports.serializeAws_json1_1ListInferenceExperimentsCommand = serializeAws_json1_1ListInferenceExperimentsCommand;
|
|
1800
2011
|
const serializeAws_json1_1ListInferenceRecommendationsJobsCommand = async (input, context) => {
|
|
1801
2012
|
const headers = {
|
|
1802
2013
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -1857,6 +2068,36 @@ const serializeAws_json1_1ListModelBiasJobDefinitionsCommand = async (input, con
|
|
|
1857
2068
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1858
2069
|
};
|
|
1859
2070
|
exports.serializeAws_json1_1ListModelBiasJobDefinitionsCommand = serializeAws_json1_1ListModelBiasJobDefinitionsCommand;
|
|
2071
|
+
const serializeAws_json1_1ListModelCardExportJobsCommand = async (input, context) => {
|
|
2072
|
+
const headers = {
|
|
2073
|
+
"content-type": "application/x-amz-json-1.1",
|
|
2074
|
+
"x-amz-target": "SageMaker.ListModelCardExportJobs",
|
|
2075
|
+
};
|
|
2076
|
+
let body;
|
|
2077
|
+
body = JSON.stringify(serializeAws_json1_1ListModelCardExportJobsRequest(input, context));
|
|
2078
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2079
|
+
};
|
|
2080
|
+
exports.serializeAws_json1_1ListModelCardExportJobsCommand = serializeAws_json1_1ListModelCardExportJobsCommand;
|
|
2081
|
+
const serializeAws_json1_1ListModelCardsCommand = async (input, context) => {
|
|
2082
|
+
const headers = {
|
|
2083
|
+
"content-type": "application/x-amz-json-1.1",
|
|
2084
|
+
"x-amz-target": "SageMaker.ListModelCards",
|
|
2085
|
+
};
|
|
2086
|
+
let body;
|
|
2087
|
+
body = JSON.stringify(serializeAws_json1_1ListModelCardsRequest(input, context));
|
|
2088
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2089
|
+
};
|
|
2090
|
+
exports.serializeAws_json1_1ListModelCardsCommand = serializeAws_json1_1ListModelCardsCommand;
|
|
2091
|
+
const serializeAws_json1_1ListModelCardVersionsCommand = async (input, context) => {
|
|
2092
|
+
const headers = {
|
|
2093
|
+
"content-type": "application/x-amz-json-1.1",
|
|
2094
|
+
"x-amz-target": "SageMaker.ListModelCardVersions",
|
|
2095
|
+
};
|
|
2096
|
+
let body;
|
|
2097
|
+
body = JSON.stringify(serializeAws_json1_1ListModelCardVersionsRequest(input, context));
|
|
2098
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2099
|
+
};
|
|
2100
|
+
exports.serializeAws_json1_1ListModelCardVersionsCommand = serializeAws_json1_1ListModelCardVersionsCommand;
|
|
1860
2101
|
const serializeAws_json1_1ListModelExplainabilityJobDefinitionsCommand = async (input, context) => {
|
|
1861
2102
|
const headers = {
|
|
1862
2103
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -1917,6 +2158,26 @@ const serializeAws_json1_1ListModelsCommand = async (input, context) => {
|
|
|
1917
2158
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
1918
2159
|
};
|
|
1919
2160
|
exports.serializeAws_json1_1ListModelsCommand = serializeAws_json1_1ListModelsCommand;
|
|
2161
|
+
const serializeAws_json1_1ListMonitoringAlertHistoryCommand = async (input, context) => {
|
|
2162
|
+
const headers = {
|
|
2163
|
+
"content-type": "application/x-amz-json-1.1",
|
|
2164
|
+
"x-amz-target": "SageMaker.ListMonitoringAlertHistory",
|
|
2165
|
+
};
|
|
2166
|
+
let body;
|
|
2167
|
+
body = JSON.stringify(serializeAws_json1_1ListMonitoringAlertHistoryRequest(input, context));
|
|
2168
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2169
|
+
};
|
|
2170
|
+
exports.serializeAws_json1_1ListMonitoringAlertHistoryCommand = serializeAws_json1_1ListMonitoringAlertHistoryCommand;
|
|
2171
|
+
const serializeAws_json1_1ListMonitoringAlertsCommand = async (input, context) => {
|
|
2172
|
+
const headers = {
|
|
2173
|
+
"content-type": "application/x-amz-json-1.1",
|
|
2174
|
+
"x-amz-target": "SageMaker.ListMonitoringAlerts",
|
|
2175
|
+
};
|
|
2176
|
+
let body;
|
|
2177
|
+
body = JSON.stringify(serializeAws_json1_1ListMonitoringAlertsRequest(input, context));
|
|
2178
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2179
|
+
};
|
|
2180
|
+
exports.serializeAws_json1_1ListMonitoringAlertsCommand = serializeAws_json1_1ListMonitoringAlertsCommand;
|
|
1920
2181
|
const serializeAws_json1_1ListMonitoringExecutionsCommand = async (input, context) => {
|
|
1921
2182
|
const headers = {
|
|
1922
2183
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -2017,6 +2278,16 @@ const serializeAws_json1_1ListProjectsCommand = async (input, context) => {
|
|
|
2017
2278
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2018
2279
|
};
|
|
2019
2280
|
exports.serializeAws_json1_1ListProjectsCommand = serializeAws_json1_1ListProjectsCommand;
|
|
2281
|
+
const serializeAws_json1_1ListSpacesCommand = async (input, context) => {
|
|
2282
|
+
const headers = {
|
|
2283
|
+
"content-type": "application/x-amz-json-1.1",
|
|
2284
|
+
"x-amz-target": "SageMaker.ListSpaces",
|
|
2285
|
+
};
|
|
2286
|
+
let body;
|
|
2287
|
+
body = JSON.stringify(serializeAws_json1_1ListSpacesRequest(input, context));
|
|
2288
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2289
|
+
};
|
|
2290
|
+
exports.serializeAws_json1_1ListSpacesCommand = serializeAws_json1_1ListSpacesCommand;
|
|
2020
2291
|
const serializeAws_json1_1ListStageDevicesCommand = async (input, context) => {
|
|
2021
2292
|
const headers = {
|
|
2022
2293
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -2227,6 +2498,16 @@ const serializeAws_json1_1StartEdgeDeploymentStageCommand = async (input, contex
|
|
|
2227
2498
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2228
2499
|
};
|
|
2229
2500
|
exports.serializeAws_json1_1StartEdgeDeploymentStageCommand = serializeAws_json1_1StartEdgeDeploymentStageCommand;
|
|
2501
|
+
const serializeAws_json1_1StartInferenceExperimentCommand = async (input, context) => {
|
|
2502
|
+
const headers = {
|
|
2503
|
+
"content-type": "application/x-amz-json-1.1",
|
|
2504
|
+
"x-amz-target": "SageMaker.StartInferenceExperiment",
|
|
2505
|
+
};
|
|
2506
|
+
let body;
|
|
2507
|
+
body = JSON.stringify(serializeAws_json1_1StartInferenceExperimentRequest(input, context));
|
|
2508
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2509
|
+
};
|
|
2510
|
+
exports.serializeAws_json1_1StartInferenceExperimentCommand = serializeAws_json1_1StartInferenceExperimentCommand;
|
|
2230
2511
|
const serializeAws_json1_1StartMonitoringScheduleCommand = async (input, context) => {
|
|
2231
2512
|
const headers = {
|
|
2232
2513
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -2307,6 +2588,16 @@ const serializeAws_json1_1StopHyperParameterTuningJobCommand = async (input, con
|
|
|
2307
2588
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2308
2589
|
};
|
|
2309
2590
|
exports.serializeAws_json1_1StopHyperParameterTuningJobCommand = serializeAws_json1_1StopHyperParameterTuningJobCommand;
|
|
2591
|
+
const serializeAws_json1_1StopInferenceExperimentCommand = async (input, context) => {
|
|
2592
|
+
const headers = {
|
|
2593
|
+
"content-type": "application/x-amz-json-1.1",
|
|
2594
|
+
"x-amz-target": "SageMaker.StopInferenceExperiment",
|
|
2595
|
+
};
|
|
2596
|
+
let body;
|
|
2597
|
+
body = JSON.stringify(serializeAws_json1_1StopInferenceExperimentRequest(input, context));
|
|
2598
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2599
|
+
};
|
|
2600
|
+
exports.serializeAws_json1_1StopInferenceExperimentCommand = serializeAws_json1_1StopInferenceExperimentCommand;
|
|
2310
2601
|
const serializeAws_json1_1StopInferenceRecommendationsJobCommand = async (input, context) => {
|
|
2311
2602
|
const headers = {
|
|
2312
2603
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -2517,6 +2808,16 @@ const serializeAws_json1_1UpdateFeatureMetadataCommand = async (input, context)
|
|
|
2517
2808
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2518
2809
|
};
|
|
2519
2810
|
exports.serializeAws_json1_1UpdateFeatureMetadataCommand = serializeAws_json1_1UpdateFeatureMetadataCommand;
|
|
2811
|
+
const serializeAws_json1_1UpdateHubCommand = async (input, context) => {
|
|
2812
|
+
const headers = {
|
|
2813
|
+
"content-type": "application/x-amz-json-1.1",
|
|
2814
|
+
"x-amz-target": "SageMaker.UpdateHub",
|
|
2815
|
+
};
|
|
2816
|
+
let body;
|
|
2817
|
+
body = JSON.stringify(serializeAws_json1_1UpdateHubRequest(input, context));
|
|
2818
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2819
|
+
};
|
|
2820
|
+
exports.serializeAws_json1_1UpdateHubCommand = serializeAws_json1_1UpdateHubCommand;
|
|
2520
2821
|
const serializeAws_json1_1UpdateImageCommand = async (input, context) => {
|
|
2521
2822
|
const headers = {
|
|
2522
2823
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -2527,6 +2828,26 @@ const serializeAws_json1_1UpdateImageCommand = async (input, context) => {
|
|
|
2527
2828
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2528
2829
|
};
|
|
2529
2830
|
exports.serializeAws_json1_1UpdateImageCommand = serializeAws_json1_1UpdateImageCommand;
|
|
2831
|
+
const serializeAws_json1_1UpdateInferenceExperimentCommand = async (input, context) => {
|
|
2832
|
+
const headers = {
|
|
2833
|
+
"content-type": "application/x-amz-json-1.1",
|
|
2834
|
+
"x-amz-target": "SageMaker.UpdateInferenceExperiment",
|
|
2835
|
+
};
|
|
2836
|
+
let body;
|
|
2837
|
+
body = JSON.stringify(serializeAws_json1_1UpdateInferenceExperimentRequest(input, context));
|
|
2838
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2839
|
+
};
|
|
2840
|
+
exports.serializeAws_json1_1UpdateInferenceExperimentCommand = serializeAws_json1_1UpdateInferenceExperimentCommand;
|
|
2841
|
+
const serializeAws_json1_1UpdateModelCardCommand = async (input, context) => {
|
|
2842
|
+
const headers = {
|
|
2843
|
+
"content-type": "application/x-amz-json-1.1",
|
|
2844
|
+
"x-amz-target": "SageMaker.UpdateModelCard",
|
|
2845
|
+
};
|
|
2846
|
+
let body;
|
|
2847
|
+
body = JSON.stringify(serializeAws_json1_1UpdateModelCardRequest(input, context));
|
|
2848
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2849
|
+
};
|
|
2850
|
+
exports.serializeAws_json1_1UpdateModelCardCommand = serializeAws_json1_1UpdateModelCardCommand;
|
|
2530
2851
|
const serializeAws_json1_1UpdateModelPackageCommand = async (input, context) => {
|
|
2531
2852
|
const headers = {
|
|
2532
2853
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -2537,6 +2858,16 @@ const serializeAws_json1_1UpdateModelPackageCommand = async (input, context) =>
|
|
|
2537
2858
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2538
2859
|
};
|
|
2539
2860
|
exports.serializeAws_json1_1UpdateModelPackageCommand = serializeAws_json1_1UpdateModelPackageCommand;
|
|
2861
|
+
const serializeAws_json1_1UpdateMonitoringAlertCommand = async (input, context) => {
|
|
2862
|
+
const headers = {
|
|
2863
|
+
"content-type": "application/x-amz-json-1.1",
|
|
2864
|
+
"x-amz-target": "SageMaker.UpdateMonitoringAlert",
|
|
2865
|
+
};
|
|
2866
|
+
let body;
|
|
2867
|
+
body = JSON.stringify(serializeAws_json1_1UpdateMonitoringAlertRequest(input, context));
|
|
2868
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2869
|
+
};
|
|
2870
|
+
exports.serializeAws_json1_1UpdateMonitoringAlertCommand = serializeAws_json1_1UpdateMonitoringAlertCommand;
|
|
2540
2871
|
const serializeAws_json1_1UpdateMonitoringScheduleCommand = async (input, context) => {
|
|
2541
2872
|
const headers = {
|
|
2542
2873
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -2597,6 +2928,16 @@ const serializeAws_json1_1UpdateProjectCommand = async (input, context) => {
|
|
|
2597
2928
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2598
2929
|
};
|
|
2599
2930
|
exports.serializeAws_json1_1UpdateProjectCommand = serializeAws_json1_1UpdateProjectCommand;
|
|
2931
|
+
const serializeAws_json1_1UpdateSpaceCommand = async (input, context) => {
|
|
2932
|
+
const headers = {
|
|
2933
|
+
"content-type": "application/x-amz-json-1.1",
|
|
2934
|
+
"x-amz-target": "SageMaker.UpdateSpace",
|
|
2935
|
+
};
|
|
2936
|
+
let body;
|
|
2937
|
+
body = JSON.stringify(serializeAws_json1_1UpdateSpaceRequest(input, context));
|
|
2938
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
2939
|
+
};
|
|
2940
|
+
exports.serializeAws_json1_1UpdateSpaceCommand = serializeAws_json1_1UpdateSpaceCommand;
|
|
2600
2941
|
const serializeAws_json1_1UpdateTrainingJobCommand = async (input, context) => {
|
|
2601
2942
|
const headers = {
|
|
2602
2943
|
"content-type": "application/x-amz-json-1.1",
|
|
@@ -3470,6 +3811,43 @@ const deserializeAws_json1_1CreateFlowDefinitionCommandError = async (output, co
|
|
|
3470
3811
|
});
|
|
3471
3812
|
}
|
|
3472
3813
|
};
|
|
3814
|
+
const deserializeAws_json1_1CreateHubCommand = async (output, context) => {
|
|
3815
|
+
if (output.statusCode >= 300) {
|
|
3816
|
+
return deserializeAws_json1_1CreateHubCommandError(output, context);
|
|
3817
|
+
}
|
|
3818
|
+
const data = await parseBody(output.body, context);
|
|
3819
|
+
let contents = {};
|
|
3820
|
+
contents = deserializeAws_json1_1CreateHubResponse(data, context);
|
|
3821
|
+
const response = {
|
|
3822
|
+
$metadata: deserializeMetadata(output),
|
|
3823
|
+
...contents,
|
|
3824
|
+
};
|
|
3825
|
+
return Promise.resolve(response);
|
|
3826
|
+
};
|
|
3827
|
+
exports.deserializeAws_json1_1CreateHubCommand = deserializeAws_json1_1CreateHubCommand;
|
|
3828
|
+
const deserializeAws_json1_1CreateHubCommandError = async (output, context) => {
|
|
3829
|
+
const parsedOutput = {
|
|
3830
|
+
...output,
|
|
3831
|
+
body: await parseErrorBody(output.body, context),
|
|
3832
|
+
};
|
|
3833
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3834
|
+
switch (errorCode) {
|
|
3835
|
+
case "ResourceInUse":
|
|
3836
|
+
case "com.amazonaws.sagemaker#ResourceInUse":
|
|
3837
|
+
throw await deserializeAws_json1_1ResourceInUseResponse(parsedOutput, context);
|
|
3838
|
+
case "ResourceLimitExceeded":
|
|
3839
|
+
case "com.amazonaws.sagemaker#ResourceLimitExceeded":
|
|
3840
|
+
throw await deserializeAws_json1_1ResourceLimitExceededResponse(parsedOutput, context);
|
|
3841
|
+
default:
|
|
3842
|
+
const parsedBody = parsedOutput.body;
|
|
3843
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
3844
|
+
output,
|
|
3845
|
+
parsedBody,
|
|
3846
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
3847
|
+
errorCode,
|
|
3848
|
+
});
|
|
3849
|
+
}
|
|
3850
|
+
};
|
|
3473
3851
|
const deserializeAws_json1_1CreateHumanTaskUiCommand = async (output, context) => {
|
|
3474
3852
|
if (output.statusCode >= 300) {
|
|
3475
3853
|
return deserializeAws_json1_1CreateHumanTaskUiCommandError(output, context);
|
|
@@ -3621,21 +3999,21 @@ const deserializeAws_json1_1CreateImageVersionCommandError = async (output, cont
|
|
|
3621
3999
|
});
|
|
3622
4000
|
}
|
|
3623
4001
|
};
|
|
3624
|
-
const
|
|
4002
|
+
const deserializeAws_json1_1CreateInferenceExperimentCommand = async (output, context) => {
|
|
3625
4003
|
if (output.statusCode >= 300) {
|
|
3626
|
-
return
|
|
4004
|
+
return deserializeAws_json1_1CreateInferenceExperimentCommandError(output, context);
|
|
3627
4005
|
}
|
|
3628
4006
|
const data = await parseBody(output.body, context);
|
|
3629
4007
|
let contents = {};
|
|
3630
|
-
contents =
|
|
4008
|
+
contents = deserializeAws_json1_1CreateInferenceExperimentResponse(data, context);
|
|
3631
4009
|
const response = {
|
|
3632
4010
|
$metadata: deserializeMetadata(output),
|
|
3633
4011
|
...contents,
|
|
3634
4012
|
};
|
|
3635
4013
|
return Promise.resolve(response);
|
|
3636
4014
|
};
|
|
3637
|
-
exports.
|
|
3638
|
-
const
|
|
4015
|
+
exports.deserializeAws_json1_1CreateInferenceExperimentCommand = deserializeAws_json1_1CreateInferenceExperimentCommand;
|
|
4016
|
+
const deserializeAws_json1_1CreateInferenceExperimentCommandError = async (output, context) => {
|
|
3639
4017
|
const parsedOutput = {
|
|
3640
4018
|
...output,
|
|
3641
4019
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3658,21 +4036,21 @@ const deserializeAws_json1_1CreateInferenceRecommendationsJobCommandError = asyn
|
|
|
3658
4036
|
});
|
|
3659
4037
|
}
|
|
3660
4038
|
};
|
|
3661
|
-
const
|
|
4039
|
+
const deserializeAws_json1_1CreateInferenceRecommendationsJobCommand = async (output, context) => {
|
|
3662
4040
|
if (output.statusCode >= 300) {
|
|
3663
|
-
return
|
|
4041
|
+
return deserializeAws_json1_1CreateInferenceRecommendationsJobCommandError(output, context);
|
|
3664
4042
|
}
|
|
3665
4043
|
const data = await parseBody(output.body, context);
|
|
3666
4044
|
let contents = {};
|
|
3667
|
-
contents =
|
|
4045
|
+
contents = deserializeAws_json1_1CreateInferenceRecommendationsJobResponse(data, context);
|
|
3668
4046
|
const response = {
|
|
3669
4047
|
$metadata: deserializeMetadata(output),
|
|
3670
4048
|
...contents,
|
|
3671
4049
|
};
|
|
3672
4050
|
return Promise.resolve(response);
|
|
3673
4051
|
};
|
|
3674
|
-
exports.
|
|
3675
|
-
const
|
|
4052
|
+
exports.deserializeAws_json1_1CreateInferenceRecommendationsJobCommand = deserializeAws_json1_1CreateInferenceRecommendationsJobCommand;
|
|
4053
|
+
const deserializeAws_json1_1CreateInferenceRecommendationsJobCommandError = async (output, context) => {
|
|
3676
4054
|
const parsedOutput = {
|
|
3677
4055
|
...output,
|
|
3678
4056
|
body: await parseErrorBody(output.body, context),
|
|
@@ -3695,13 +4073,50 @@ const deserializeAws_json1_1CreateLabelingJobCommandError = async (output, conte
|
|
|
3695
4073
|
});
|
|
3696
4074
|
}
|
|
3697
4075
|
};
|
|
3698
|
-
const
|
|
4076
|
+
const deserializeAws_json1_1CreateLabelingJobCommand = async (output, context) => {
|
|
3699
4077
|
if (output.statusCode >= 300) {
|
|
3700
|
-
return
|
|
4078
|
+
return deserializeAws_json1_1CreateLabelingJobCommandError(output, context);
|
|
3701
4079
|
}
|
|
3702
4080
|
const data = await parseBody(output.body, context);
|
|
3703
4081
|
let contents = {};
|
|
3704
|
-
contents =
|
|
4082
|
+
contents = deserializeAws_json1_1CreateLabelingJobResponse(data, context);
|
|
4083
|
+
const response = {
|
|
4084
|
+
$metadata: deserializeMetadata(output),
|
|
4085
|
+
...contents,
|
|
4086
|
+
};
|
|
4087
|
+
return Promise.resolve(response);
|
|
4088
|
+
};
|
|
4089
|
+
exports.deserializeAws_json1_1CreateLabelingJobCommand = deserializeAws_json1_1CreateLabelingJobCommand;
|
|
4090
|
+
const deserializeAws_json1_1CreateLabelingJobCommandError = async (output, context) => {
|
|
4091
|
+
const parsedOutput = {
|
|
4092
|
+
...output,
|
|
4093
|
+
body: await parseErrorBody(output.body, context),
|
|
4094
|
+
};
|
|
4095
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4096
|
+
switch (errorCode) {
|
|
4097
|
+
case "ResourceInUse":
|
|
4098
|
+
case "com.amazonaws.sagemaker#ResourceInUse":
|
|
4099
|
+
throw await deserializeAws_json1_1ResourceInUseResponse(parsedOutput, context);
|
|
4100
|
+
case "ResourceLimitExceeded":
|
|
4101
|
+
case "com.amazonaws.sagemaker#ResourceLimitExceeded":
|
|
4102
|
+
throw await deserializeAws_json1_1ResourceLimitExceededResponse(parsedOutput, context);
|
|
4103
|
+
default:
|
|
4104
|
+
const parsedBody = parsedOutput.body;
|
|
4105
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4106
|
+
output,
|
|
4107
|
+
parsedBody,
|
|
4108
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
4109
|
+
errorCode,
|
|
4110
|
+
});
|
|
4111
|
+
}
|
|
4112
|
+
};
|
|
4113
|
+
const deserializeAws_json1_1CreateModelCommand = async (output, context) => {
|
|
4114
|
+
if (output.statusCode >= 300) {
|
|
4115
|
+
return deserializeAws_json1_1CreateModelCommandError(output, context);
|
|
4116
|
+
}
|
|
4117
|
+
const data = await parseBody(output.body, context);
|
|
4118
|
+
let contents = {};
|
|
4119
|
+
contents = deserializeAws_json1_1CreateModelOutput(data, context);
|
|
3705
4120
|
const response = {
|
|
3706
4121
|
$metadata: deserializeMetadata(output),
|
|
3707
4122
|
...contents,
|
|
@@ -3766,6 +4181,83 @@ const deserializeAws_json1_1CreateModelBiasJobDefinitionCommandError = async (ou
|
|
|
3766
4181
|
});
|
|
3767
4182
|
}
|
|
3768
4183
|
};
|
|
4184
|
+
const deserializeAws_json1_1CreateModelCardCommand = async (output, context) => {
|
|
4185
|
+
if (output.statusCode >= 300) {
|
|
4186
|
+
return deserializeAws_json1_1CreateModelCardCommandError(output, context);
|
|
4187
|
+
}
|
|
4188
|
+
const data = await parseBody(output.body, context);
|
|
4189
|
+
let contents = {};
|
|
4190
|
+
contents = deserializeAws_json1_1CreateModelCardResponse(data, context);
|
|
4191
|
+
const response = {
|
|
4192
|
+
$metadata: deserializeMetadata(output),
|
|
4193
|
+
...contents,
|
|
4194
|
+
};
|
|
4195
|
+
return Promise.resolve(response);
|
|
4196
|
+
};
|
|
4197
|
+
exports.deserializeAws_json1_1CreateModelCardCommand = deserializeAws_json1_1CreateModelCardCommand;
|
|
4198
|
+
const deserializeAws_json1_1CreateModelCardCommandError = async (output, context) => {
|
|
4199
|
+
const parsedOutput = {
|
|
4200
|
+
...output,
|
|
4201
|
+
body: await parseErrorBody(output.body, context),
|
|
4202
|
+
};
|
|
4203
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4204
|
+
switch (errorCode) {
|
|
4205
|
+
case "ConflictException":
|
|
4206
|
+
case "com.amazonaws.sagemaker#ConflictException":
|
|
4207
|
+
throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
|
|
4208
|
+
case "ResourceLimitExceeded":
|
|
4209
|
+
case "com.amazonaws.sagemaker#ResourceLimitExceeded":
|
|
4210
|
+
throw await deserializeAws_json1_1ResourceLimitExceededResponse(parsedOutput, context);
|
|
4211
|
+
default:
|
|
4212
|
+
const parsedBody = parsedOutput.body;
|
|
4213
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4214
|
+
output,
|
|
4215
|
+
parsedBody,
|
|
4216
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
4217
|
+
errorCode,
|
|
4218
|
+
});
|
|
4219
|
+
}
|
|
4220
|
+
};
|
|
4221
|
+
const deserializeAws_json1_1CreateModelCardExportJobCommand = async (output, context) => {
|
|
4222
|
+
if (output.statusCode >= 300) {
|
|
4223
|
+
return deserializeAws_json1_1CreateModelCardExportJobCommandError(output, context);
|
|
4224
|
+
}
|
|
4225
|
+
const data = await parseBody(output.body, context);
|
|
4226
|
+
let contents = {};
|
|
4227
|
+
contents = deserializeAws_json1_1CreateModelCardExportJobResponse(data, context);
|
|
4228
|
+
const response = {
|
|
4229
|
+
$metadata: deserializeMetadata(output),
|
|
4230
|
+
...contents,
|
|
4231
|
+
};
|
|
4232
|
+
return Promise.resolve(response);
|
|
4233
|
+
};
|
|
4234
|
+
exports.deserializeAws_json1_1CreateModelCardExportJobCommand = deserializeAws_json1_1CreateModelCardExportJobCommand;
|
|
4235
|
+
const deserializeAws_json1_1CreateModelCardExportJobCommandError = async (output, context) => {
|
|
4236
|
+
const parsedOutput = {
|
|
4237
|
+
...output,
|
|
4238
|
+
body: await parseErrorBody(output.body, context),
|
|
4239
|
+
};
|
|
4240
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4241
|
+
switch (errorCode) {
|
|
4242
|
+
case "ConflictException":
|
|
4243
|
+
case "com.amazonaws.sagemaker#ConflictException":
|
|
4244
|
+
throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
|
|
4245
|
+
case "ResourceLimitExceeded":
|
|
4246
|
+
case "com.amazonaws.sagemaker#ResourceLimitExceeded":
|
|
4247
|
+
throw await deserializeAws_json1_1ResourceLimitExceededResponse(parsedOutput, context);
|
|
4248
|
+
case "ResourceNotFound":
|
|
4249
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
4250
|
+
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
4251
|
+
default:
|
|
4252
|
+
const parsedBody = parsedOutput.body;
|
|
4253
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4254
|
+
output,
|
|
4255
|
+
parsedBody,
|
|
4256
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
4257
|
+
errorCode,
|
|
4258
|
+
});
|
|
4259
|
+
}
|
|
4260
|
+
};
|
|
3769
4261
|
const deserializeAws_json1_1CreateModelExplainabilityJobDefinitionCommand = async (output, context) => {
|
|
3770
4262
|
if (output.statusCode >= 300) {
|
|
3771
4263
|
return deserializeAws_json1_1CreateModelExplainabilityJobDefinitionCommandError(output, context);
|
|
@@ -4189,6 +4681,43 @@ const deserializeAws_json1_1CreateProjectCommandError = async (output, context)
|
|
|
4189
4681
|
});
|
|
4190
4682
|
}
|
|
4191
4683
|
};
|
|
4684
|
+
const deserializeAws_json1_1CreateSpaceCommand = async (output, context) => {
|
|
4685
|
+
if (output.statusCode >= 300) {
|
|
4686
|
+
return deserializeAws_json1_1CreateSpaceCommandError(output, context);
|
|
4687
|
+
}
|
|
4688
|
+
const data = await parseBody(output.body, context);
|
|
4689
|
+
let contents = {};
|
|
4690
|
+
contents = deserializeAws_json1_1CreateSpaceResponse(data, context);
|
|
4691
|
+
const response = {
|
|
4692
|
+
$metadata: deserializeMetadata(output),
|
|
4693
|
+
...contents,
|
|
4694
|
+
};
|
|
4695
|
+
return Promise.resolve(response);
|
|
4696
|
+
};
|
|
4697
|
+
exports.deserializeAws_json1_1CreateSpaceCommand = deserializeAws_json1_1CreateSpaceCommand;
|
|
4698
|
+
const deserializeAws_json1_1CreateSpaceCommandError = async (output, context) => {
|
|
4699
|
+
const parsedOutput = {
|
|
4700
|
+
...output,
|
|
4701
|
+
body: await parseErrorBody(output.body, context),
|
|
4702
|
+
};
|
|
4703
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4704
|
+
switch (errorCode) {
|
|
4705
|
+
case "ResourceInUse":
|
|
4706
|
+
case "com.amazonaws.sagemaker#ResourceInUse":
|
|
4707
|
+
throw await deserializeAws_json1_1ResourceInUseResponse(parsedOutput, context);
|
|
4708
|
+
case "ResourceLimitExceeded":
|
|
4709
|
+
case "com.amazonaws.sagemaker#ResourceLimitExceeded":
|
|
4710
|
+
throw await deserializeAws_json1_1ResourceLimitExceededResponse(parsedOutput, context);
|
|
4711
|
+
default:
|
|
4712
|
+
const parsedBody = parsedOutput.body;
|
|
4713
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
4714
|
+
output,
|
|
4715
|
+
parsedBody,
|
|
4716
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
4717
|
+
errorCode,
|
|
4718
|
+
});
|
|
4719
|
+
}
|
|
4720
|
+
};
|
|
4192
4721
|
const deserializeAws_json1_1CreateStudioLifecycleConfigCommand = async (output, context) => {
|
|
4193
4722
|
if (output.statusCode >= 300) {
|
|
4194
4723
|
return deserializeAws_json1_1CreateStudioLifecycleConfigCommandError(output, context);
|
|
@@ -5037,6 +5566,74 @@ const deserializeAws_json1_1DeleteFlowDefinitionCommandError = async (output, co
|
|
|
5037
5566
|
});
|
|
5038
5567
|
}
|
|
5039
5568
|
};
|
|
5569
|
+
const deserializeAws_json1_1DeleteHubCommand = async (output, context) => {
|
|
5570
|
+
if (output.statusCode >= 300) {
|
|
5571
|
+
return deserializeAws_json1_1DeleteHubCommandError(output, context);
|
|
5572
|
+
}
|
|
5573
|
+
await collectBody(output.body, context);
|
|
5574
|
+
const response = {
|
|
5575
|
+
$metadata: deserializeMetadata(output),
|
|
5576
|
+
};
|
|
5577
|
+
return Promise.resolve(response);
|
|
5578
|
+
};
|
|
5579
|
+
exports.deserializeAws_json1_1DeleteHubCommand = deserializeAws_json1_1DeleteHubCommand;
|
|
5580
|
+
const deserializeAws_json1_1DeleteHubCommandError = async (output, context) => {
|
|
5581
|
+
const parsedOutput = {
|
|
5582
|
+
...output,
|
|
5583
|
+
body: await parseErrorBody(output.body, context),
|
|
5584
|
+
};
|
|
5585
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5586
|
+
switch (errorCode) {
|
|
5587
|
+
case "ResourceInUse":
|
|
5588
|
+
case "com.amazonaws.sagemaker#ResourceInUse":
|
|
5589
|
+
throw await deserializeAws_json1_1ResourceInUseResponse(parsedOutput, context);
|
|
5590
|
+
case "ResourceNotFound":
|
|
5591
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
5592
|
+
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
5593
|
+
default:
|
|
5594
|
+
const parsedBody = parsedOutput.body;
|
|
5595
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5596
|
+
output,
|
|
5597
|
+
parsedBody,
|
|
5598
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
5599
|
+
errorCode,
|
|
5600
|
+
});
|
|
5601
|
+
}
|
|
5602
|
+
};
|
|
5603
|
+
const deserializeAws_json1_1DeleteHubContentCommand = async (output, context) => {
|
|
5604
|
+
if (output.statusCode >= 300) {
|
|
5605
|
+
return deserializeAws_json1_1DeleteHubContentCommandError(output, context);
|
|
5606
|
+
}
|
|
5607
|
+
await collectBody(output.body, context);
|
|
5608
|
+
const response = {
|
|
5609
|
+
$metadata: deserializeMetadata(output),
|
|
5610
|
+
};
|
|
5611
|
+
return Promise.resolve(response);
|
|
5612
|
+
};
|
|
5613
|
+
exports.deserializeAws_json1_1DeleteHubContentCommand = deserializeAws_json1_1DeleteHubContentCommand;
|
|
5614
|
+
const deserializeAws_json1_1DeleteHubContentCommandError = async (output, context) => {
|
|
5615
|
+
const parsedOutput = {
|
|
5616
|
+
...output,
|
|
5617
|
+
body: await parseErrorBody(output.body, context),
|
|
5618
|
+
};
|
|
5619
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5620
|
+
switch (errorCode) {
|
|
5621
|
+
case "ResourceInUse":
|
|
5622
|
+
case "com.amazonaws.sagemaker#ResourceInUse":
|
|
5623
|
+
throw await deserializeAws_json1_1ResourceInUseResponse(parsedOutput, context);
|
|
5624
|
+
case "ResourceNotFound":
|
|
5625
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
5626
|
+
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
5627
|
+
default:
|
|
5628
|
+
const parsedBody = parsedOutput.body;
|
|
5629
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5630
|
+
output,
|
|
5631
|
+
parsedBody,
|
|
5632
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
5633
|
+
errorCode,
|
|
5634
|
+
});
|
|
5635
|
+
}
|
|
5636
|
+
};
|
|
5040
5637
|
const deserializeAws_json1_1DeleteHumanTaskUiCommand = async (output, context) => {
|
|
5041
5638
|
if (output.statusCode >= 300) {
|
|
5042
5639
|
return deserializeAws_json1_1DeleteHumanTaskUiCommandError(output, context);
|
|
@@ -5145,6 +5742,43 @@ const deserializeAws_json1_1DeleteImageVersionCommandError = async (output, cont
|
|
|
5145
5742
|
});
|
|
5146
5743
|
}
|
|
5147
5744
|
};
|
|
5745
|
+
const deserializeAws_json1_1DeleteInferenceExperimentCommand = async (output, context) => {
|
|
5746
|
+
if (output.statusCode >= 300) {
|
|
5747
|
+
return deserializeAws_json1_1DeleteInferenceExperimentCommandError(output, context);
|
|
5748
|
+
}
|
|
5749
|
+
const data = await parseBody(output.body, context);
|
|
5750
|
+
let contents = {};
|
|
5751
|
+
contents = deserializeAws_json1_1DeleteInferenceExperimentResponse(data, context);
|
|
5752
|
+
const response = {
|
|
5753
|
+
$metadata: deserializeMetadata(output),
|
|
5754
|
+
...contents,
|
|
5755
|
+
};
|
|
5756
|
+
return Promise.resolve(response);
|
|
5757
|
+
};
|
|
5758
|
+
exports.deserializeAws_json1_1DeleteInferenceExperimentCommand = deserializeAws_json1_1DeleteInferenceExperimentCommand;
|
|
5759
|
+
const deserializeAws_json1_1DeleteInferenceExperimentCommandError = async (output, context) => {
|
|
5760
|
+
const parsedOutput = {
|
|
5761
|
+
...output,
|
|
5762
|
+
body: await parseErrorBody(output.body, context),
|
|
5763
|
+
};
|
|
5764
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5765
|
+
switch (errorCode) {
|
|
5766
|
+
case "ConflictException":
|
|
5767
|
+
case "com.amazonaws.sagemaker#ConflictException":
|
|
5768
|
+
throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
|
|
5769
|
+
case "ResourceNotFound":
|
|
5770
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
5771
|
+
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
5772
|
+
default:
|
|
5773
|
+
const parsedBody = parsedOutput.body;
|
|
5774
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5775
|
+
output,
|
|
5776
|
+
parsedBody,
|
|
5777
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
5778
|
+
errorCode,
|
|
5779
|
+
});
|
|
5780
|
+
}
|
|
5781
|
+
};
|
|
5148
5782
|
const deserializeAws_json1_1DeleteModelCommand = async (output, context) => {
|
|
5149
5783
|
if (output.statusCode >= 300) {
|
|
5150
5784
|
return deserializeAws_json1_1DeleteModelCommandError(output, context);
|
|
@@ -5201,9 +5835,9 @@ const deserializeAws_json1_1DeleteModelBiasJobDefinitionCommandError = async (ou
|
|
|
5201
5835
|
});
|
|
5202
5836
|
}
|
|
5203
5837
|
};
|
|
5204
|
-
const
|
|
5838
|
+
const deserializeAws_json1_1DeleteModelCardCommand = async (output, context) => {
|
|
5205
5839
|
if (output.statusCode >= 300) {
|
|
5206
|
-
return
|
|
5840
|
+
return deserializeAws_json1_1DeleteModelCardCommandError(output, context);
|
|
5207
5841
|
}
|
|
5208
5842
|
await collectBody(output.body, context);
|
|
5209
5843
|
const response = {
|
|
@@ -5211,14 +5845,17 @@ const deserializeAws_json1_1DeleteModelExplainabilityJobDefinitionCommand = asyn
|
|
|
5211
5845
|
};
|
|
5212
5846
|
return Promise.resolve(response);
|
|
5213
5847
|
};
|
|
5214
|
-
exports.
|
|
5215
|
-
const
|
|
5848
|
+
exports.deserializeAws_json1_1DeleteModelCardCommand = deserializeAws_json1_1DeleteModelCardCommand;
|
|
5849
|
+
const deserializeAws_json1_1DeleteModelCardCommandError = async (output, context) => {
|
|
5216
5850
|
const parsedOutput = {
|
|
5217
5851
|
...output,
|
|
5218
5852
|
body: await parseErrorBody(output.body, context),
|
|
5219
5853
|
};
|
|
5220
5854
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5221
5855
|
switch (errorCode) {
|
|
5856
|
+
case "ConflictException":
|
|
5857
|
+
case "com.amazonaws.sagemaker#ConflictException":
|
|
5858
|
+
throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
|
|
5222
5859
|
case "ResourceNotFound":
|
|
5223
5860
|
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
5224
5861
|
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
@@ -5232,9 +5869,9 @@ const deserializeAws_json1_1DeleteModelExplainabilityJobDefinitionCommandError =
|
|
|
5232
5869
|
});
|
|
5233
5870
|
}
|
|
5234
5871
|
};
|
|
5235
|
-
const
|
|
5872
|
+
const deserializeAws_json1_1DeleteModelExplainabilityJobDefinitionCommand = async (output, context) => {
|
|
5236
5873
|
if (output.statusCode >= 300) {
|
|
5237
|
-
return
|
|
5874
|
+
return deserializeAws_json1_1DeleteModelExplainabilityJobDefinitionCommandError(output, context);
|
|
5238
5875
|
}
|
|
5239
5876
|
await collectBody(output.body, context);
|
|
5240
5877
|
const response = {
|
|
@@ -5242,17 +5879,17 @@ const deserializeAws_json1_1DeleteModelPackageCommand = async (output, context)
|
|
|
5242
5879
|
};
|
|
5243
5880
|
return Promise.resolve(response);
|
|
5244
5881
|
};
|
|
5245
|
-
exports.
|
|
5246
|
-
const
|
|
5882
|
+
exports.deserializeAws_json1_1DeleteModelExplainabilityJobDefinitionCommand = deserializeAws_json1_1DeleteModelExplainabilityJobDefinitionCommand;
|
|
5883
|
+
const deserializeAws_json1_1DeleteModelExplainabilityJobDefinitionCommandError = async (output, context) => {
|
|
5247
5884
|
const parsedOutput = {
|
|
5248
5885
|
...output,
|
|
5249
5886
|
body: await parseErrorBody(output.body, context),
|
|
5250
5887
|
};
|
|
5251
5888
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5252
5889
|
switch (errorCode) {
|
|
5253
|
-
case "
|
|
5254
|
-
case "com.amazonaws.sagemaker#
|
|
5255
|
-
throw await
|
|
5890
|
+
case "ResourceNotFound":
|
|
5891
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
5892
|
+
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
5256
5893
|
default:
|
|
5257
5894
|
const parsedBody = parsedOutput.body;
|
|
5258
5895
|
(0, smithy_client_1.throwDefaultError)({
|
|
@@ -5263,9 +5900,9 @@ const deserializeAws_json1_1DeleteModelPackageCommandError = async (output, cont
|
|
|
5263
5900
|
});
|
|
5264
5901
|
}
|
|
5265
5902
|
};
|
|
5266
|
-
const
|
|
5903
|
+
const deserializeAws_json1_1DeleteModelPackageCommand = async (output, context) => {
|
|
5267
5904
|
if (output.statusCode >= 300) {
|
|
5268
|
-
return
|
|
5905
|
+
return deserializeAws_json1_1DeleteModelPackageCommandError(output, context);
|
|
5269
5906
|
}
|
|
5270
5907
|
await collectBody(output.body, context);
|
|
5271
5908
|
const response = {
|
|
@@ -5273,8 +5910,39 @@ const deserializeAws_json1_1DeleteModelPackageGroupCommand = async (output, cont
|
|
|
5273
5910
|
};
|
|
5274
5911
|
return Promise.resolve(response);
|
|
5275
5912
|
};
|
|
5276
|
-
exports.
|
|
5277
|
-
const
|
|
5913
|
+
exports.deserializeAws_json1_1DeleteModelPackageCommand = deserializeAws_json1_1DeleteModelPackageCommand;
|
|
5914
|
+
const deserializeAws_json1_1DeleteModelPackageCommandError = async (output, context) => {
|
|
5915
|
+
const parsedOutput = {
|
|
5916
|
+
...output,
|
|
5917
|
+
body: await parseErrorBody(output.body, context),
|
|
5918
|
+
};
|
|
5919
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
5920
|
+
switch (errorCode) {
|
|
5921
|
+
case "ConflictException":
|
|
5922
|
+
case "com.amazonaws.sagemaker#ConflictException":
|
|
5923
|
+
throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
|
|
5924
|
+
default:
|
|
5925
|
+
const parsedBody = parsedOutput.body;
|
|
5926
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
5927
|
+
output,
|
|
5928
|
+
parsedBody,
|
|
5929
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
5930
|
+
errorCode,
|
|
5931
|
+
});
|
|
5932
|
+
}
|
|
5933
|
+
};
|
|
5934
|
+
const deserializeAws_json1_1DeleteModelPackageGroupCommand = async (output, context) => {
|
|
5935
|
+
if (output.statusCode >= 300) {
|
|
5936
|
+
return deserializeAws_json1_1DeleteModelPackageGroupCommandError(output, context);
|
|
5937
|
+
}
|
|
5938
|
+
await collectBody(output.body, context);
|
|
5939
|
+
const response = {
|
|
5940
|
+
$metadata: deserializeMetadata(output),
|
|
5941
|
+
};
|
|
5942
|
+
return Promise.resolve(response);
|
|
5943
|
+
};
|
|
5944
|
+
exports.deserializeAws_json1_1DeleteModelPackageGroupCommand = deserializeAws_json1_1DeleteModelPackageGroupCommand;
|
|
5945
|
+
const deserializeAws_json1_1DeleteModelPackageGroupCommandError = async (output, context) => {
|
|
5278
5946
|
const parsedOutput = {
|
|
5279
5947
|
...output,
|
|
5280
5948
|
body: await parseErrorBody(output.body, context),
|
|
@@ -5496,6 +6164,40 @@ const deserializeAws_json1_1DeleteProjectCommandError = async (output, context)
|
|
|
5496
6164
|
});
|
|
5497
6165
|
}
|
|
5498
6166
|
};
|
|
6167
|
+
const deserializeAws_json1_1DeleteSpaceCommand = async (output, context) => {
|
|
6168
|
+
if (output.statusCode >= 300) {
|
|
6169
|
+
return deserializeAws_json1_1DeleteSpaceCommandError(output, context);
|
|
6170
|
+
}
|
|
6171
|
+
await collectBody(output.body, context);
|
|
6172
|
+
const response = {
|
|
6173
|
+
$metadata: deserializeMetadata(output),
|
|
6174
|
+
};
|
|
6175
|
+
return Promise.resolve(response);
|
|
6176
|
+
};
|
|
6177
|
+
exports.deserializeAws_json1_1DeleteSpaceCommand = deserializeAws_json1_1DeleteSpaceCommand;
|
|
6178
|
+
const deserializeAws_json1_1DeleteSpaceCommandError = async (output, context) => {
|
|
6179
|
+
const parsedOutput = {
|
|
6180
|
+
...output,
|
|
6181
|
+
body: await parseErrorBody(output.body, context),
|
|
6182
|
+
};
|
|
6183
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
6184
|
+
switch (errorCode) {
|
|
6185
|
+
case "ResourceInUse":
|
|
6186
|
+
case "com.amazonaws.sagemaker#ResourceInUse":
|
|
6187
|
+
throw await deserializeAws_json1_1ResourceInUseResponse(parsedOutput, context);
|
|
6188
|
+
case "ResourceNotFound":
|
|
6189
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
6190
|
+
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
6191
|
+
default:
|
|
6192
|
+
const parsedBody = parsedOutput.body;
|
|
6193
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
6194
|
+
output,
|
|
6195
|
+
parsedBody,
|
|
6196
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
6197
|
+
errorCode,
|
|
6198
|
+
});
|
|
6199
|
+
}
|
|
6200
|
+
};
|
|
5499
6201
|
const deserializeAws_json1_1DeleteStudioLifecycleConfigCommand = async (output, context) => {
|
|
5500
6202
|
if (output.statusCode >= 300) {
|
|
5501
6203
|
return deserializeAws_json1_1DeleteStudioLifecycleConfigCommandError(output, context);
|
|
@@ -6437,6 +7139,74 @@ const deserializeAws_json1_1DescribeFlowDefinitionCommandError = async (output,
|
|
|
6437
7139
|
});
|
|
6438
7140
|
}
|
|
6439
7141
|
};
|
|
7142
|
+
const deserializeAws_json1_1DescribeHubCommand = async (output, context) => {
|
|
7143
|
+
if (output.statusCode >= 300) {
|
|
7144
|
+
return deserializeAws_json1_1DescribeHubCommandError(output, context);
|
|
7145
|
+
}
|
|
7146
|
+
const data = await parseBody(output.body, context);
|
|
7147
|
+
let contents = {};
|
|
7148
|
+
contents = deserializeAws_json1_1DescribeHubResponse(data, context);
|
|
7149
|
+
const response = {
|
|
7150
|
+
$metadata: deserializeMetadata(output),
|
|
7151
|
+
...contents,
|
|
7152
|
+
};
|
|
7153
|
+
return Promise.resolve(response);
|
|
7154
|
+
};
|
|
7155
|
+
exports.deserializeAws_json1_1DescribeHubCommand = deserializeAws_json1_1DescribeHubCommand;
|
|
7156
|
+
const deserializeAws_json1_1DescribeHubCommandError = async (output, context) => {
|
|
7157
|
+
const parsedOutput = {
|
|
7158
|
+
...output,
|
|
7159
|
+
body: await parseErrorBody(output.body, context),
|
|
7160
|
+
};
|
|
7161
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7162
|
+
switch (errorCode) {
|
|
7163
|
+
case "ResourceNotFound":
|
|
7164
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
7165
|
+
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
7166
|
+
default:
|
|
7167
|
+
const parsedBody = parsedOutput.body;
|
|
7168
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
7169
|
+
output,
|
|
7170
|
+
parsedBody,
|
|
7171
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
7172
|
+
errorCode,
|
|
7173
|
+
});
|
|
7174
|
+
}
|
|
7175
|
+
};
|
|
7176
|
+
const deserializeAws_json1_1DescribeHubContentCommand = async (output, context) => {
|
|
7177
|
+
if (output.statusCode >= 300) {
|
|
7178
|
+
return deserializeAws_json1_1DescribeHubContentCommandError(output, context);
|
|
7179
|
+
}
|
|
7180
|
+
const data = await parseBody(output.body, context);
|
|
7181
|
+
let contents = {};
|
|
7182
|
+
contents = deserializeAws_json1_1DescribeHubContentResponse(data, context);
|
|
7183
|
+
const response = {
|
|
7184
|
+
$metadata: deserializeMetadata(output),
|
|
7185
|
+
...contents,
|
|
7186
|
+
};
|
|
7187
|
+
return Promise.resolve(response);
|
|
7188
|
+
};
|
|
7189
|
+
exports.deserializeAws_json1_1DescribeHubContentCommand = deserializeAws_json1_1DescribeHubContentCommand;
|
|
7190
|
+
const deserializeAws_json1_1DescribeHubContentCommandError = async (output, context) => {
|
|
7191
|
+
const parsedOutput = {
|
|
7192
|
+
...output,
|
|
7193
|
+
body: await parseErrorBody(output.body, context),
|
|
7194
|
+
};
|
|
7195
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7196
|
+
switch (errorCode) {
|
|
7197
|
+
case "ResourceNotFound":
|
|
7198
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
7199
|
+
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
7200
|
+
default:
|
|
7201
|
+
const parsedBody = parsedOutput.body;
|
|
7202
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
7203
|
+
output,
|
|
7204
|
+
parsedBody,
|
|
7205
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
7206
|
+
errorCode,
|
|
7207
|
+
});
|
|
7208
|
+
}
|
|
7209
|
+
};
|
|
6440
7210
|
const deserializeAws_json1_1DescribeHumanTaskUiCommand = async (output, context) => {
|
|
6441
7211
|
if (output.statusCode >= 300) {
|
|
6442
7212
|
return deserializeAws_json1_1DescribeHumanTaskUiCommandError(output, context);
|
|
@@ -6573,6 +7343,40 @@ const deserializeAws_json1_1DescribeImageVersionCommandError = async (output, co
|
|
|
6573
7343
|
});
|
|
6574
7344
|
}
|
|
6575
7345
|
};
|
|
7346
|
+
const deserializeAws_json1_1DescribeInferenceExperimentCommand = async (output, context) => {
|
|
7347
|
+
if (output.statusCode >= 300) {
|
|
7348
|
+
return deserializeAws_json1_1DescribeInferenceExperimentCommandError(output, context);
|
|
7349
|
+
}
|
|
7350
|
+
const data = await parseBody(output.body, context);
|
|
7351
|
+
let contents = {};
|
|
7352
|
+
contents = deserializeAws_json1_1DescribeInferenceExperimentResponse(data, context);
|
|
7353
|
+
const response = {
|
|
7354
|
+
$metadata: deserializeMetadata(output),
|
|
7355
|
+
...contents,
|
|
7356
|
+
};
|
|
7357
|
+
return Promise.resolve(response);
|
|
7358
|
+
};
|
|
7359
|
+
exports.deserializeAws_json1_1DescribeInferenceExperimentCommand = deserializeAws_json1_1DescribeInferenceExperimentCommand;
|
|
7360
|
+
const deserializeAws_json1_1DescribeInferenceExperimentCommandError = async (output, context) => {
|
|
7361
|
+
const parsedOutput = {
|
|
7362
|
+
...output,
|
|
7363
|
+
body: await parseErrorBody(output.body, context),
|
|
7364
|
+
};
|
|
7365
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7366
|
+
switch (errorCode) {
|
|
7367
|
+
case "ResourceNotFound":
|
|
7368
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
7369
|
+
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
7370
|
+
default:
|
|
7371
|
+
const parsedBody = parsedOutput.body;
|
|
7372
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
7373
|
+
output,
|
|
7374
|
+
parsedBody,
|
|
7375
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
7376
|
+
errorCode,
|
|
7377
|
+
});
|
|
7378
|
+
}
|
|
7379
|
+
};
|
|
6576
7380
|
const deserializeAws_json1_1DescribeInferenceRecommendationsJobCommand = async (output, context) => {
|
|
6577
7381
|
if (output.statusCode >= 300) {
|
|
6578
7382
|
return deserializeAws_json1_1DescribeInferenceRecommendationsJobCommandError(output, context);
|
|
@@ -6737,6 +7541,74 @@ const deserializeAws_json1_1DescribeModelBiasJobDefinitionCommandError = async (
|
|
|
6737
7541
|
});
|
|
6738
7542
|
}
|
|
6739
7543
|
};
|
|
7544
|
+
const deserializeAws_json1_1DescribeModelCardCommand = async (output, context) => {
|
|
7545
|
+
if (output.statusCode >= 300) {
|
|
7546
|
+
return deserializeAws_json1_1DescribeModelCardCommandError(output, context);
|
|
7547
|
+
}
|
|
7548
|
+
const data = await parseBody(output.body, context);
|
|
7549
|
+
let contents = {};
|
|
7550
|
+
contents = deserializeAws_json1_1DescribeModelCardResponse(data, context);
|
|
7551
|
+
const response = {
|
|
7552
|
+
$metadata: deserializeMetadata(output),
|
|
7553
|
+
...contents,
|
|
7554
|
+
};
|
|
7555
|
+
return Promise.resolve(response);
|
|
7556
|
+
};
|
|
7557
|
+
exports.deserializeAws_json1_1DescribeModelCardCommand = deserializeAws_json1_1DescribeModelCardCommand;
|
|
7558
|
+
const deserializeAws_json1_1DescribeModelCardCommandError = async (output, context) => {
|
|
7559
|
+
const parsedOutput = {
|
|
7560
|
+
...output,
|
|
7561
|
+
body: await parseErrorBody(output.body, context),
|
|
7562
|
+
};
|
|
7563
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7564
|
+
switch (errorCode) {
|
|
7565
|
+
case "ResourceNotFound":
|
|
7566
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
7567
|
+
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
7568
|
+
default:
|
|
7569
|
+
const parsedBody = parsedOutput.body;
|
|
7570
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
7571
|
+
output,
|
|
7572
|
+
parsedBody,
|
|
7573
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
7574
|
+
errorCode,
|
|
7575
|
+
});
|
|
7576
|
+
}
|
|
7577
|
+
};
|
|
7578
|
+
const deserializeAws_json1_1DescribeModelCardExportJobCommand = async (output, context) => {
|
|
7579
|
+
if (output.statusCode >= 300) {
|
|
7580
|
+
return deserializeAws_json1_1DescribeModelCardExportJobCommandError(output, context);
|
|
7581
|
+
}
|
|
7582
|
+
const data = await parseBody(output.body, context);
|
|
7583
|
+
let contents = {};
|
|
7584
|
+
contents = deserializeAws_json1_1DescribeModelCardExportJobResponse(data, context);
|
|
7585
|
+
const response = {
|
|
7586
|
+
$metadata: deserializeMetadata(output),
|
|
7587
|
+
...contents,
|
|
7588
|
+
};
|
|
7589
|
+
return Promise.resolve(response);
|
|
7590
|
+
};
|
|
7591
|
+
exports.deserializeAws_json1_1DescribeModelCardExportJobCommand = deserializeAws_json1_1DescribeModelCardExportJobCommand;
|
|
7592
|
+
const deserializeAws_json1_1DescribeModelCardExportJobCommandError = async (output, context) => {
|
|
7593
|
+
const parsedOutput = {
|
|
7594
|
+
...output,
|
|
7595
|
+
body: await parseErrorBody(output.body, context),
|
|
7596
|
+
};
|
|
7597
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7598
|
+
switch (errorCode) {
|
|
7599
|
+
case "ResourceNotFound":
|
|
7600
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
7601
|
+
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
7602
|
+
default:
|
|
7603
|
+
const parsedBody = parsedOutput.body;
|
|
7604
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
7605
|
+
output,
|
|
7606
|
+
parsedBody,
|
|
7607
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
7608
|
+
errorCode,
|
|
7609
|
+
});
|
|
7610
|
+
}
|
|
7611
|
+
};
|
|
6740
7612
|
const deserializeAws_json1_1DescribeModelExplainabilityJobDefinitionCommand = async (output, context) => {
|
|
6741
7613
|
if (output.statusCode >= 300) {
|
|
6742
7614
|
return deserializeAws_json1_1DescribeModelExplainabilityJobDefinitionCommandError(output, context);
|
|
@@ -7115,6 +7987,40 @@ const deserializeAws_json1_1DescribeProjectCommandError = async (output, context
|
|
|
7115
7987
|
errorCode,
|
|
7116
7988
|
});
|
|
7117
7989
|
};
|
|
7990
|
+
const deserializeAws_json1_1DescribeSpaceCommand = async (output, context) => {
|
|
7991
|
+
if (output.statusCode >= 300) {
|
|
7992
|
+
return deserializeAws_json1_1DescribeSpaceCommandError(output, context);
|
|
7993
|
+
}
|
|
7994
|
+
const data = await parseBody(output.body, context);
|
|
7995
|
+
let contents = {};
|
|
7996
|
+
contents = deserializeAws_json1_1DescribeSpaceResponse(data, context);
|
|
7997
|
+
const response = {
|
|
7998
|
+
$metadata: deserializeMetadata(output),
|
|
7999
|
+
...contents,
|
|
8000
|
+
};
|
|
8001
|
+
return Promise.resolve(response);
|
|
8002
|
+
};
|
|
8003
|
+
exports.deserializeAws_json1_1DescribeSpaceCommand = deserializeAws_json1_1DescribeSpaceCommand;
|
|
8004
|
+
const deserializeAws_json1_1DescribeSpaceCommandError = async (output, context) => {
|
|
8005
|
+
const parsedOutput = {
|
|
8006
|
+
...output,
|
|
8007
|
+
body: await parseErrorBody(output.body, context),
|
|
8008
|
+
};
|
|
8009
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8010
|
+
switch (errorCode) {
|
|
8011
|
+
case "ResourceNotFound":
|
|
8012
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
8013
|
+
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
8014
|
+
default:
|
|
8015
|
+
const parsedBody = parsedOutput.body;
|
|
8016
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
8017
|
+
output,
|
|
8018
|
+
parsedBody,
|
|
8019
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
8020
|
+
errorCode,
|
|
8021
|
+
});
|
|
8022
|
+
}
|
|
8023
|
+
};
|
|
7118
8024
|
const deserializeAws_json1_1DescribeStudioLifecycleConfigCommand = async (output, context) => {
|
|
7119
8025
|
if (output.statusCode >= 300) {
|
|
7120
8026
|
return deserializeAws_json1_1DescribeStudioLifecycleConfigCommandError(output, context);
|
|
@@ -7639,27 +8545,33 @@ const deserializeAws_json1_1GetSearchSuggestionsCommandError = async (output, co
|
|
|
7639
8545
|
errorCode,
|
|
7640
8546
|
});
|
|
7641
8547
|
};
|
|
7642
|
-
const
|
|
8548
|
+
const deserializeAws_json1_1ImportHubContentCommand = async (output, context) => {
|
|
7643
8549
|
if (output.statusCode >= 300) {
|
|
7644
|
-
return
|
|
8550
|
+
return deserializeAws_json1_1ImportHubContentCommandError(output, context);
|
|
7645
8551
|
}
|
|
7646
8552
|
const data = await parseBody(output.body, context);
|
|
7647
8553
|
let contents = {};
|
|
7648
|
-
contents =
|
|
8554
|
+
contents = deserializeAws_json1_1ImportHubContentResponse(data, context);
|
|
7649
8555
|
const response = {
|
|
7650
8556
|
$metadata: deserializeMetadata(output),
|
|
7651
8557
|
...contents,
|
|
7652
8558
|
};
|
|
7653
8559
|
return Promise.resolve(response);
|
|
7654
8560
|
};
|
|
7655
|
-
exports.
|
|
7656
|
-
const
|
|
8561
|
+
exports.deserializeAws_json1_1ImportHubContentCommand = deserializeAws_json1_1ImportHubContentCommand;
|
|
8562
|
+
const deserializeAws_json1_1ImportHubContentCommandError = async (output, context) => {
|
|
7657
8563
|
const parsedOutput = {
|
|
7658
8564
|
...output,
|
|
7659
8565
|
body: await parseErrorBody(output.body, context),
|
|
7660
8566
|
};
|
|
7661
8567
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7662
8568
|
switch (errorCode) {
|
|
8569
|
+
case "ResourceInUse":
|
|
8570
|
+
case "com.amazonaws.sagemaker#ResourceInUse":
|
|
8571
|
+
throw await deserializeAws_json1_1ResourceInUseResponse(parsedOutput, context);
|
|
8572
|
+
case "ResourceLimitExceeded":
|
|
8573
|
+
case "com.amazonaws.sagemaker#ResourceLimitExceeded":
|
|
8574
|
+
throw await deserializeAws_json1_1ResourceLimitExceededResponse(parsedOutput, context);
|
|
7663
8575
|
case "ResourceNotFound":
|
|
7664
8576
|
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
7665
8577
|
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
@@ -7673,21 +8585,55 @@ const deserializeAws_json1_1ListActionsCommandError = async (output, context) =>
|
|
|
7673
8585
|
});
|
|
7674
8586
|
}
|
|
7675
8587
|
};
|
|
7676
|
-
const
|
|
8588
|
+
const deserializeAws_json1_1ListActionsCommand = async (output, context) => {
|
|
7677
8589
|
if (output.statusCode >= 300) {
|
|
7678
|
-
return
|
|
8590
|
+
return deserializeAws_json1_1ListActionsCommandError(output, context);
|
|
7679
8591
|
}
|
|
7680
8592
|
const data = await parseBody(output.body, context);
|
|
7681
8593
|
let contents = {};
|
|
7682
|
-
contents =
|
|
8594
|
+
contents = deserializeAws_json1_1ListActionsResponse(data, context);
|
|
7683
8595
|
const response = {
|
|
7684
8596
|
$metadata: deserializeMetadata(output),
|
|
7685
8597
|
...contents,
|
|
7686
8598
|
};
|
|
7687
8599
|
return Promise.resolve(response);
|
|
7688
8600
|
};
|
|
7689
|
-
exports.
|
|
7690
|
-
const
|
|
8601
|
+
exports.deserializeAws_json1_1ListActionsCommand = deserializeAws_json1_1ListActionsCommand;
|
|
8602
|
+
const deserializeAws_json1_1ListActionsCommandError = async (output, context) => {
|
|
8603
|
+
const parsedOutput = {
|
|
8604
|
+
...output,
|
|
8605
|
+
body: await parseErrorBody(output.body, context),
|
|
8606
|
+
};
|
|
8607
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
8608
|
+
switch (errorCode) {
|
|
8609
|
+
case "ResourceNotFound":
|
|
8610
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
8611
|
+
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
8612
|
+
default:
|
|
8613
|
+
const parsedBody = parsedOutput.body;
|
|
8614
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
8615
|
+
output,
|
|
8616
|
+
parsedBody,
|
|
8617
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
8618
|
+
errorCode,
|
|
8619
|
+
});
|
|
8620
|
+
}
|
|
8621
|
+
};
|
|
8622
|
+
const deserializeAws_json1_1ListAlgorithmsCommand = async (output, context) => {
|
|
8623
|
+
if (output.statusCode >= 300) {
|
|
8624
|
+
return deserializeAws_json1_1ListAlgorithmsCommandError(output, context);
|
|
8625
|
+
}
|
|
8626
|
+
const data = await parseBody(output.body, context);
|
|
8627
|
+
let contents = {};
|
|
8628
|
+
contents = deserializeAws_json1_1ListAlgorithmsOutput(data, context);
|
|
8629
|
+
const response = {
|
|
8630
|
+
$metadata: deserializeMetadata(output),
|
|
8631
|
+
...contents,
|
|
8632
|
+
};
|
|
8633
|
+
return Promise.resolve(response);
|
|
8634
|
+
};
|
|
8635
|
+
exports.deserializeAws_json1_1ListAlgorithmsCommand = deserializeAws_json1_1ListAlgorithmsCommand;
|
|
8636
|
+
const deserializeAws_json1_1ListAlgorithmsCommandError = async (output, context) => {
|
|
7691
8637
|
const parsedOutput = {
|
|
7692
8638
|
...output,
|
|
7693
8639
|
body: await parseErrorBody(output.body, context),
|
|
@@ -8285,6 +9231,102 @@ const deserializeAws_json1_1ListFlowDefinitionsCommandError = async (output, con
|
|
|
8285
9231
|
errorCode,
|
|
8286
9232
|
});
|
|
8287
9233
|
};
|
|
9234
|
+
const deserializeAws_json1_1ListHubContentsCommand = async (output, context) => {
|
|
9235
|
+
if (output.statusCode >= 300) {
|
|
9236
|
+
return deserializeAws_json1_1ListHubContentsCommandError(output, context);
|
|
9237
|
+
}
|
|
9238
|
+
const data = await parseBody(output.body, context);
|
|
9239
|
+
let contents = {};
|
|
9240
|
+
contents = deserializeAws_json1_1ListHubContentsResponse(data, context);
|
|
9241
|
+
const response = {
|
|
9242
|
+
$metadata: deserializeMetadata(output),
|
|
9243
|
+
...contents,
|
|
9244
|
+
};
|
|
9245
|
+
return Promise.resolve(response);
|
|
9246
|
+
};
|
|
9247
|
+
exports.deserializeAws_json1_1ListHubContentsCommand = deserializeAws_json1_1ListHubContentsCommand;
|
|
9248
|
+
const deserializeAws_json1_1ListHubContentsCommandError = async (output, context) => {
|
|
9249
|
+
const parsedOutput = {
|
|
9250
|
+
...output,
|
|
9251
|
+
body: await parseErrorBody(output.body, context),
|
|
9252
|
+
};
|
|
9253
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9254
|
+
switch (errorCode) {
|
|
9255
|
+
case "ResourceNotFound":
|
|
9256
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
9257
|
+
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
9258
|
+
default:
|
|
9259
|
+
const parsedBody = parsedOutput.body;
|
|
9260
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
9261
|
+
output,
|
|
9262
|
+
parsedBody,
|
|
9263
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
9264
|
+
errorCode,
|
|
9265
|
+
});
|
|
9266
|
+
}
|
|
9267
|
+
};
|
|
9268
|
+
const deserializeAws_json1_1ListHubContentVersionsCommand = async (output, context) => {
|
|
9269
|
+
if (output.statusCode >= 300) {
|
|
9270
|
+
return deserializeAws_json1_1ListHubContentVersionsCommandError(output, context);
|
|
9271
|
+
}
|
|
9272
|
+
const data = await parseBody(output.body, context);
|
|
9273
|
+
let contents = {};
|
|
9274
|
+
contents = deserializeAws_json1_1ListHubContentVersionsResponse(data, context);
|
|
9275
|
+
const response = {
|
|
9276
|
+
$metadata: deserializeMetadata(output),
|
|
9277
|
+
...contents,
|
|
9278
|
+
};
|
|
9279
|
+
return Promise.resolve(response);
|
|
9280
|
+
};
|
|
9281
|
+
exports.deserializeAws_json1_1ListHubContentVersionsCommand = deserializeAws_json1_1ListHubContentVersionsCommand;
|
|
9282
|
+
const deserializeAws_json1_1ListHubContentVersionsCommandError = async (output, context) => {
|
|
9283
|
+
const parsedOutput = {
|
|
9284
|
+
...output,
|
|
9285
|
+
body: await parseErrorBody(output.body, context),
|
|
9286
|
+
};
|
|
9287
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9288
|
+
switch (errorCode) {
|
|
9289
|
+
case "ResourceNotFound":
|
|
9290
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
9291
|
+
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
9292
|
+
default:
|
|
9293
|
+
const parsedBody = parsedOutput.body;
|
|
9294
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
9295
|
+
output,
|
|
9296
|
+
parsedBody,
|
|
9297
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
9298
|
+
errorCode,
|
|
9299
|
+
});
|
|
9300
|
+
}
|
|
9301
|
+
};
|
|
9302
|
+
const deserializeAws_json1_1ListHubsCommand = async (output, context) => {
|
|
9303
|
+
if (output.statusCode >= 300) {
|
|
9304
|
+
return deserializeAws_json1_1ListHubsCommandError(output, context);
|
|
9305
|
+
}
|
|
9306
|
+
const data = await parseBody(output.body, context);
|
|
9307
|
+
let contents = {};
|
|
9308
|
+
contents = deserializeAws_json1_1ListHubsResponse(data, context);
|
|
9309
|
+
const response = {
|
|
9310
|
+
$metadata: deserializeMetadata(output),
|
|
9311
|
+
...contents,
|
|
9312
|
+
};
|
|
9313
|
+
return Promise.resolve(response);
|
|
9314
|
+
};
|
|
9315
|
+
exports.deserializeAws_json1_1ListHubsCommand = deserializeAws_json1_1ListHubsCommand;
|
|
9316
|
+
const deserializeAws_json1_1ListHubsCommandError = async (output, context) => {
|
|
9317
|
+
const parsedOutput = {
|
|
9318
|
+
...output,
|
|
9319
|
+
body: await parseErrorBody(output.body, context),
|
|
9320
|
+
};
|
|
9321
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9322
|
+
const parsedBody = parsedOutput.body;
|
|
9323
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
9324
|
+
output,
|
|
9325
|
+
parsedBody,
|
|
9326
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
9327
|
+
errorCode,
|
|
9328
|
+
});
|
|
9329
|
+
};
|
|
8288
9330
|
const deserializeAws_json1_1ListHumanTaskUisCommand = async (output, context) => {
|
|
8289
9331
|
if (output.statusCode >= 300) {
|
|
8290
9332
|
return deserializeAws_json1_1ListHumanTaskUisCommandError(output, context);
|
|
@@ -8403,6 +9445,34 @@ const deserializeAws_json1_1ListImageVersionsCommandError = async (output, conte
|
|
|
8403
9445
|
});
|
|
8404
9446
|
}
|
|
8405
9447
|
};
|
|
9448
|
+
const deserializeAws_json1_1ListInferenceExperimentsCommand = async (output, context) => {
|
|
9449
|
+
if (output.statusCode >= 300) {
|
|
9450
|
+
return deserializeAws_json1_1ListInferenceExperimentsCommandError(output, context);
|
|
9451
|
+
}
|
|
9452
|
+
const data = await parseBody(output.body, context);
|
|
9453
|
+
let contents = {};
|
|
9454
|
+
contents = deserializeAws_json1_1ListInferenceExperimentsResponse(data, context);
|
|
9455
|
+
const response = {
|
|
9456
|
+
$metadata: deserializeMetadata(output),
|
|
9457
|
+
...contents,
|
|
9458
|
+
};
|
|
9459
|
+
return Promise.resolve(response);
|
|
9460
|
+
};
|
|
9461
|
+
exports.deserializeAws_json1_1ListInferenceExperimentsCommand = deserializeAws_json1_1ListInferenceExperimentsCommand;
|
|
9462
|
+
const deserializeAws_json1_1ListInferenceExperimentsCommandError = async (output, context) => {
|
|
9463
|
+
const parsedOutput = {
|
|
9464
|
+
...output,
|
|
9465
|
+
body: await parseErrorBody(output.body, context),
|
|
9466
|
+
};
|
|
9467
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9468
|
+
const parsedBody = parsedOutput.body;
|
|
9469
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
9470
|
+
output,
|
|
9471
|
+
parsedBody,
|
|
9472
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
9473
|
+
errorCode,
|
|
9474
|
+
});
|
|
9475
|
+
};
|
|
8406
9476
|
const deserializeAws_json1_1ListInferenceRecommendationsJobsCommand = async (output, context) => {
|
|
8407
9477
|
if (output.statusCode >= 300) {
|
|
8408
9478
|
return deserializeAws_json1_1ListInferenceRecommendationsJobsCommandError(output, context);
|
|
@@ -8577,6 +9647,96 @@ const deserializeAws_json1_1ListModelBiasJobDefinitionsCommandError = async (out
|
|
|
8577
9647
|
errorCode,
|
|
8578
9648
|
});
|
|
8579
9649
|
};
|
|
9650
|
+
const deserializeAws_json1_1ListModelCardExportJobsCommand = async (output, context) => {
|
|
9651
|
+
if (output.statusCode >= 300) {
|
|
9652
|
+
return deserializeAws_json1_1ListModelCardExportJobsCommandError(output, context);
|
|
9653
|
+
}
|
|
9654
|
+
const data = await parseBody(output.body, context);
|
|
9655
|
+
let contents = {};
|
|
9656
|
+
contents = deserializeAws_json1_1ListModelCardExportJobsResponse(data, context);
|
|
9657
|
+
const response = {
|
|
9658
|
+
$metadata: deserializeMetadata(output),
|
|
9659
|
+
...contents,
|
|
9660
|
+
};
|
|
9661
|
+
return Promise.resolve(response);
|
|
9662
|
+
};
|
|
9663
|
+
exports.deserializeAws_json1_1ListModelCardExportJobsCommand = deserializeAws_json1_1ListModelCardExportJobsCommand;
|
|
9664
|
+
const deserializeAws_json1_1ListModelCardExportJobsCommandError = async (output, context) => {
|
|
9665
|
+
const parsedOutput = {
|
|
9666
|
+
...output,
|
|
9667
|
+
body: await parseErrorBody(output.body, context),
|
|
9668
|
+
};
|
|
9669
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9670
|
+
const parsedBody = parsedOutput.body;
|
|
9671
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
9672
|
+
output,
|
|
9673
|
+
parsedBody,
|
|
9674
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
9675
|
+
errorCode,
|
|
9676
|
+
});
|
|
9677
|
+
};
|
|
9678
|
+
const deserializeAws_json1_1ListModelCardsCommand = async (output, context) => {
|
|
9679
|
+
if (output.statusCode >= 300) {
|
|
9680
|
+
return deserializeAws_json1_1ListModelCardsCommandError(output, context);
|
|
9681
|
+
}
|
|
9682
|
+
const data = await parseBody(output.body, context);
|
|
9683
|
+
let contents = {};
|
|
9684
|
+
contents = deserializeAws_json1_1ListModelCardsResponse(data, context);
|
|
9685
|
+
const response = {
|
|
9686
|
+
$metadata: deserializeMetadata(output),
|
|
9687
|
+
...contents,
|
|
9688
|
+
};
|
|
9689
|
+
return Promise.resolve(response);
|
|
9690
|
+
};
|
|
9691
|
+
exports.deserializeAws_json1_1ListModelCardsCommand = deserializeAws_json1_1ListModelCardsCommand;
|
|
9692
|
+
const deserializeAws_json1_1ListModelCardsCommandError = async (output, context) => {
|
|
9693
|
+
const parsedOutput = {
|
|
9694
|
+
...output,
|
|
9695
|
+
body: await parseErrorBody(output.body, context),
|
|
9696
|
+
};
|
|
9697
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9698
|
+
const parsedBody = parsedOutput.body;
|
|
9699
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
9700
|
+
output,
|
|
9701
|
+
parsedBody,
|
|
9702
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
9703
|
+
errorCode,
|
|
9704
|
+
});
|
|
9705
|
+
};
|
|
9706
|
+
const deserializeAws_json1_1ListModelCardVersionsCommand = async (output, context) => {
|
|
9707
|
+
if (output.statusCode >= 300) {
|
|
9708
|
+
return deserializeAws_json1_1ListModelCardVersionsCommandError(output, context);
|
|
9709
|
+
}
|
|
9710
|
+
const data = await parseBody(output.body, context);
|
|
9711
|
+
let contents = {};
|
|
9712
|
+
contents = deserializeAws_json1_1ListModelCardVersionsResponse(data, context);
|
|
9713
|
+
const response = {
|
|
9714
|
+
$metadata: deserializeMetadata(output),
|
|
9715
|
+
...contents,
|
|
9716
|
+
};
|
|
9717
|
+
return Promise.resolve(response);
|
|
9718
|
+
};
|
|
9719
|
+
exports.deserializeAws_json1_1ListModelCardVersionsCommand = deserializeAws_json1_1ListModelCardVersionsCommand;
|
|
9720
|
+
const deserializeAws_json1_1ListModelCardVersionsCommandError = async (output, context) => {
|
|
9721
|
+
const parsedOutput = {
|
|
9722
|
+
...output,
|
|
9723
|
+
body: await parseErrorBody(output.body, context),
|
|
9724
|
+
};
|
|
9725
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9726
|
+
switch (errorCode) {
|
|
9727
|
+
case "ResourceNotFound":
|
|
9728
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
9729
|
+
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
9730
|
+
default:
|
|
9731
|
+
const parsedBody = parsedOutput.body;
|
|
9732
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
9733
|
+
output,
|
|
9734
|
+
parsedBody,
|
|
9735
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
9736
|
+
errorCode,
|
|
9737
|
+
});
|
|
9738
|
+
}
|
|
9739
|
+
};
|
|
8580
9740
|
const deserializeAws_json1_1ListModelExplainabilityJobDefinitionsCommand = async (output, context) => {
|
|
8581
9741
|
if (output.statusCode >= 300) {
|
|
8582
9742
|
return deserializeAws_json1_1ListModelExplainabilityJobDefinitionsCommandError(output, context);
|
|
@@ -8745,6 +9905,74 @@ const deserializeAws_json1_1ListModelsCommandError = async (output, context) =>
|
|
|
8745
9905
|
errorCode,
|
|
8746
9906
|
});
|
|
8747
9907
|
};
|
|
9908
|
+
const deserializeAws_json1_1ListMonitoringAlertHistoryCommand = async (output, context) => {
|
|
9909
|
+
if (output.statusCode >= 300) {
|
|
9910
|
+
return deserializeAws_json1_1ListMonitoringAlertHistoryCommandError(output, context);
|
|
9911
|
+
}
|
|
9912
|
+
const data = await parseBody(output.body, context);
|
|
9913
|
+
let contents = {};
|
|
9914
|
+
contents = deserializeAws_json1_1ListMonitoringAlertHistoryResponse(data, context);
|
|
9915
|
+
const response = {
|
|
9916
|
+
$metadata: deserializeMetadata(output),
|
|
9917
|
+
...contents,
|
|
9918
|
+
};
|
|
9919
|
+
return Promise.resolve(response);
|
|
9920
|
+
};
|
|
9921
|
+
exports.deserializeAws_json1_1ListMonitoringAlertHistoryCommand = deserializeAws_json1_1ListMonitoringAlertHistoryCommand;
|
|
9922
|
+
const deserializeAws_json1_1ListMonitoringAlertHistoryCommandError = async (output, context) => {
|
|
9923
|
+
const parsedOutput = {
|
|
9924
|
+
...output,
|
|
9925
|
+
body: await parseErrorBody(output.body, context),
|
|
9926
|
+
};
|
|
9927
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9928
|
+
switch (errorCode) {
|
|
9929
|
+
case "ResourceNotFound":
|
|
9930
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
9931
|
+
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
9932
|
+
default:
|
|
9933
|
+
const parsedBody = parsedOutput.body;
|
|
9934
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
9935
|
+
output,
|
|
9936
|
+
parsedBody,
|
|
9937
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
9938
|
+
errorCode,
|
|
9939
|
+
});
|
|
9940
|
+
}
|
|
9941
|
+
};
|
|
9942
|
+
const deserializeAws_json1_1ListMonitoringAlertsCommand = async (output, context) => {
|
|
9943
|
+
if (output.statusCode >= 300) {
|
|
9944
|
+
return deserializeAws_json1_1ListMonitoringAlertsCommandError(output, context);
|
|
9945
|
+
}
|
|
9946
|
+
const data = await parseBody(output.body, context);
|
|
9947
|
+
let contents = {};
|
|
9948
|
+
contents = deserializeAws_json1_1ListMonitoringAlertsResponse(data, context);
|
|
9949
|
+
const response = {
|
|
9950
|
+
$metadata: deserializeMetadata(output),
|
|
9951
|
+
...contents,
|
|
9952
|
+
};
|
|
9953
|
+
return Promise.resolve(response);
|
|
9954
|
+
};
|
|
9955
|
+
exports.deserializeAws_json1_1ListMonitoringAlertsCommand = deserializeAws_json1_1ListMonitoringAlertsCommand;
|
|
9956
|
+
const deserializeAws_json1_1ListMonitoringAlertsCommandError = async (output, context) => {
|
|
9957
|
+
const parsedOutput = {
|
|
9958
|
+
...output,
|
|
9959
|
+
body: await parseErrorBody(output.body, context),
|
|
9960
|
+
};
|
|
9961
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
9962
|
+
switch (errorCode) {
|
|
9963
|
+
case "ResourceNotFound":
|
|
9964
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
9965
|
+
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
9966
|
+
default:
|
|
9967
|
+
const parsedBody = parsedOutput.body;
|
|
9968
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
9969
|
+
output,
|
|
9970
|
+
parsedBody,
|
|
9971
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
9972
|
+
errorCode,
|
|
9973
|
+
});
|
|
9974
|
+
}
|
|
9975
|
+
};
|
|
8748
9976
|
const deserializeAws_json1_1ListMonitoringExecutionsCommand = async (output, context) => {
|
|
8749
9977
|
if (output.statusCode >= 300) {
|
|
8750
9978
|
return deserializeAws_json1_1ListMonitoringExecutionsCommandError(output, context);
|
|
@@ -9043,6 +10271,34 @@ const deserializeAws_json1_1ListProjectsCommandError = async (output, context) =
|
|
|
9043
10271
|
errorCode,
|
|
9044
10272
|
});
|
|
9045
10273
|
};
|
|
10274
|
+
const deserializeAws_json1_1ListSpacesCommand = async (output, context) => {
|
|
10275
|
+
if (output.statusCode >= 300) {
|
|
10276
|
+
return deserializeAws_json1_1ListSpacesCommandError(output, context);
|
|
10277
|
+
}
|
|
10278
|
+
const data = await parseBody(output.body, context);
|
|
10279
|
+
let contents = {};
|
|
10280
|
+
contents = deserializeAws_json1_1ListSpacesResponse(data, context);
|
|
10281
|
+
const response = {
|
|
10282
|
+
$metadata: deserializeMetadata(output),
|
|
10283
|
+
...contents,
|
|
10284
|
+
};
|
|
10285
|
+
return Promise.resolve(response);
|
|
10286
|
+
};
|
|
10287
|
+
exports.deserializeAws_json1_1ListSpacesCommand = deserializeAws_json1_1ListSpacesCommand;
|
|
10288
|
+
const deserializeAws_json1_1ListSpacesCommandError = async (output, context) => {
|
|
10289
|
+
const parsedOutput = {
|
|
10290
|
+
...output,
|
|
10291
|
+
body: await parseErrorBody(output.body, context),
|
|
10292
|
+
};
|
|
10293
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10294
|
+
const parsedBody = parsedOutput.body;
|
|
10295
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
10296
|
+
output,
|
|
10297
|
+
parsedBody,
|
|
10298
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
10299
|
+
errorCode,
|
|
10300
|
+
});
|
|
10301
|
+
};
|
|
9046
10302
|
const deserializeAws_json1_1ListStageDevicesCommand = async (output, context) => {
|
|
9047
10303
|
if (output.statusCode >= 300) {
|
|
9048
10304
|
return deserializeAws_json1_1ListStageDevicesCommandError(output, context);
|
|
@@ -9697,6 +10953,43 @@ const deserializeAws_json1_1StartEdgeDeploymentStageCommandError = async (output
|
|
|
9697
10953
|
errorCode,
|
|
9698
10954
|
});
|
|
9699
10955
|
};
|
|
10956
|
+
const deserializeAws_json1_1StartInferenceExperimentCommand = async (output, context) => {
|
|
10957
|
+
if (output.statusCode >= 300) {
|
|
10958
|
+
return deserializeAws_json1_1StartInferenceExperimentCommandError(output, context);
|
|
10959
|
+
}
|
|
10960
|
+
const data = await parseBody(output.body, context);
|
|
10961
|
+
let contents = {};
|
|
10962
|
+
contents = deserializeAws_json1_1StartInferenceExperimentResponse(data, context);
|
|
10963
|
+
const response = {
|
|
10964
|
+
$metadata: deserializeMetadata(output),
|
|
10965
|
+
...contents,
|
|
10966
|
+
};
|
|
10967
|
+
return Promise.resolve(response);
|
|
10968
|
+
};
|
|
10969
|
+
exports.deserializeAws_json1_1StartInferenceExperimentCommand = deserializeAws_json1_1StartInferenceExperimentCommand;
|
|
10970
|
+
const deserializeAws_json1_1StartInferenceExperimentCommandError = async (output, context) => {
|
|
10971
|
+
const parsedOutput = {
|
|
10972
|
+
...output,
|
|
10973
|
+
body: await parseErrorBody(output.body, context),
|
|
10974
|
+
};
|
|
10975
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
10976
|
+
switch (errorCode) {
|
|
10977
|
+
case "ConflictException":
|
|
10978
|
+
case "com.amazonaws.sagemaker#ConflictException":
|
|
10979
|
+
throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
|
|
10980
|
+
case "ResourceNotFound":
|
|
10981
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
10982
|
+
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
10983
|
+
default:
|
|
10984
|
+
const parsedBody = parsedOutput.body;
|
|
10985
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
10986
|
+
output,
|
|
10987
|
+
parsedBody,
|
|
10988
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
10989
|
+
errorCode,
|
|
10990
|
+
});
|
|
10991
|
+
}
|
|
10992
|
+
};
|
|
9700
10993
|
const deserializeAws_json1_1StartMonitoringScheduleCommand = async (output, context) => {
|
|
9701
10994
|
if (output.statusCode >= 300) {
|
|
9702
10995
|
return deserializeAws_json1_1StartMonitoringScheduleCommandError(output, context);
|
|
@@ -9939,6 +11232,43 @@ const deserializeAws_json1_1StopHyperParameterTuningJobCommandError = async (out
|
|
|
9939
11232
|
});
|
|
9940
11233
|
}
|
|
9941
11234
|
};
|
|
11235
|
+
const deserializeAws_json1_1StopInferenceExperimentCommand = async (output, context) => {
|
|
11236
|
+
if (output.statusCode >= 300) {
|
|
11237
|
+
return deserializeAws_json1_1StopInferenceExperimentCommandError(output, context);
|
|
11238
|
+
}
|
|
11239
|
+
const data = await parseBody(output.body, context);
|
|
11240
|
+
let contents = {};
|
|
11241
|
+
contents = deserializeAws_json1_1StopInferenceExperimentResponse(data, context);
|
|
11242
|
+
const response = {
|
|
11243
|
+
$metadata: deserializeMetadata(output),
|
|
11244
|
+
...contents,
|
|
11245
|
+
};
|
|
11246
|
+
return Promise.resolve(response);
|
|
11247
|
+
};
|
|
11248
|
+
exports.deserializeAws_json1_1StopInferenceExperimentCommand = deserializeAws_json1_1StopInferenceExperimentCommand;
|
|
11249
|
+
const deserializeAws_json1_1StopInferenceExperimentCommandError = async (output, context) => {
|
|
11250
|
+
const parsedOutput = {
|
|
11251
|
+
...output,
|
|
11252
|
+
body: await parseErrorBody(output.body, context),
|
|
11253
|
+
};
|
|
11254
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
11255
|
+
switch (errorCode) {
|
|
11256
|
+
case "ConflictException":
|
|
11257
|
+
case "com.amazonaws.sagemaker#ConflictException":
|
|
11258
|
+
throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
|
|
11259
|
+
case "ResourceNotFound":
|
|
11260
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
11261
|
+
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
11262
|
+
default:
|
|
11263
|
+
const parsedBody = parsedOutput.body;
|
|
11264
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
11265
|
+
output,
|
|
11266
|
+
parsedBody,
|
|
11267
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
11268
|
+
errorCode,
|
|
11269
|
+
});
|
|
11270
|
+
}
|
|
11271
|
+
};
|
|
9942
11272
|
const deserializeAws_json1_1StopInferenceRecommendationsJobCommand = async (output, context) => {
|
|
9943
11273
|
if (output.statusCode >= 300) {
|
|
9944
11274
|
return deserializeAws_json1_1StopInferenceRecommendationsJobCommandError(output, context);
|
|
@@ -10623,6 +11953,40 @@ const deserializeAws_json1_1UpdateFeatureMetadataCommandError = async (output, c
|
|
|
10623
11953
|
});
|
|
10624
11954
|
}
|
|
10625
11955
|
};
|
|
11956
|
+
const deserializeAws_json1_1UpdateHubCommand = async (output, context) => {
|
|
11957
|
+
if (output.statusCode >= 300) {
|
|
11958
|
+
return deserializeAws_json1_1UpdateHubCommandError(output, context);
|
|
11959
|
+
}
|
|
11960
|
+
const data = await parseBody(output.body, context);
|
|
11961
|
+
let contents = {};
|
|
11962
|
+
contents = deserializeAws_json1_1UpdateHubResponse(data, context);
|
|
11963
|
+
const response = {
|
|
11964
|
+
$metadata: deserializeMetadata(output),
|
|
11965
|
+
...contents,
|
|
11966
|
+
};
|
|
11967
|
+
return Promise.resolve(response);
|
|
11968
|
+
};
|
|
11969
|
+
exports.deserializeAws_json1_1UpdateHubCommand = deserializeAws_json1_1UpdateHubCommand;
|
|
11970
|
+
const deserializeAws_json1_1UpdateHubCommandError = async (output, context) => {
|
|
11971
|
+
const parsedOutput = {
|
|
11972
|
+
...output,
|
|
11973
|
+
body: await parseErrorBody(output.body, context),
|
|
11974
|
+
};
|
|
11975
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
11976
|
+
switch (errorCode) {
|
|
11977
|
+
case "ResourceNotFound":
|
|
11978
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
11979
|
+
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
11980
|
+
default:
|
|
11981
|
+
const parsedBody = parsedOutput.body;
|
|
11982
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
11983
|
+
output,
|
|
11984
|
+
parsedBody,
|
|
11985
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
11986
|
+
errorCode,
|
|
11987
|
+
});
|
|
11988
|
+
}
|
|
11989
|
+
};
|
|
10626
11990
|
const deserializeAws_json1_1UpdateImageCommand = async (output, context) => {
|
|
10627
11991
|
if (output.statusCode >= 300) {
|
|
10628
11992
|
return deserializeAws_json1_1UpdateImageCommandError(output, context);
|
|
@@ -10660,6 +12024,83 @@ const deserializeAws_json1_1UpdateImageCommandError = async (output, context) =>
|
|
|
10660
12024
|
});
|
|
10661
12025
|
}
|
|
10662
12026
|
};
|
|
12027
|
+
const deserializeAws_json1_1UpdateInferenceExperimentCommand = async (output, context) => {
|
|
12028
|
+
if (output.statusCode >= 300) {
|
|
12029
|
+
return deserializeAws_json1_1UpdateInferenceExperimentCommandError(output, context);
|
|
12030
|
+
}
|
|
12031
|
+
const data = await parseBody(output.body, context);
|
|
12032
|
+
let contents = {};
|
|
12033
|
+
contents = deserializeAws_json1_1UpdateInferenceExperimentResponse(data, context);
|
|
12034
|
+
const response = {
|
|
12035
|
+
$metadata: deserializeMetadata(output),
|
|
12036
|
+
...contents,
|
|
12037
|
+
};
|
|
12038
|
+
return Promise.resolve(response);
|
|
12039
|
+
};
|
|
12040
|
+
exports.deserializeAws_json1_1UpdateInferenceExperimentCommand = deserializeAws_json1_1UpdateInferenceExperimentCommand;
|
|
12041
|
+
const deserializeAws_json1_1UpdateInferenceExperimentCommandError = async (output, context) => {
|
|
12042
|
+
const parsedOutput = {
|
|
12043
|
+
...output,
|
|
12044
|
+
body: await parseErrorBody(output.body, context),
|
|
12045
|
+
};
|
|
12046
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
12047
|
+
switch (errorCode) {
|
|
12048
|
+
case "ConflictException":
|
|
12049
|
+
case "com.amazonaws.sagemaker#ConflictException":
|
|
12050
|
+
throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
|
|
12051
|
+
case "ResourceNotFound":
|
|
12052
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
12053
|
+
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
12054
|
+
default:
|
|
12055
|
+
const parsedBody = parsedOutput.body;
|
|
12056
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
12057
|
+
output,
|
|
12058
|
+
parsedBody,
|
|
12059
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
12060
|
+
errorCode,
|
|
12061
|
+
});
|
|
12062
|
+
}
|
|
12063
|
+
};
|
|
12064
|
+
const deserializeAws_json1_1UpdateModelCardCommand = async (output, context) => {
|
|
12065
|
+
if (output.statusCode >= 300) {
|
|
12066
|
+
return deserializeAws_json1_1UpdateModelCardCommandError(output, context);
|
|
12067
|
+
}
|
|
12068
|
+
const data = await parseBody(output.body, context);
|
|
12069
|
+
let contents = {};
|
|
12070
|
+
contents = deserializeAws_json1_1UpdateModelCardResponse(data, context);
|
|
12071
|
+
const response = {
|
|
12072
|
+
$metadata: deserializeMetadata(output),
|
|
12073
|
+
...contents,
|
|
12074
|
+
};
|
|
12075
|
+
return Promise.resolve(response);
|
|
12076
|
+
};
|
|
12077
|
+
exports.deserializeAws_json1_1UpdateModelCardCommand = deserializeAws_json1_1UpdateModelCardCommand;
|
|
12078
|
+
const deserializeAws_json1_1UpdateModelCardCommandError = async (output, context) => {
|
|
12079
|
+
const parsedOutput = {
|
|
12080
|
+
...output,
|
|
12081
|
+
body: await parseErrorBody(output.body, context),
|
|
12082
|
+
};
|
|
12083
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
12084
|
+
switch (errorCode) {
|
|
12085
|
+
case "ConflictException":
|
|
12086
|
+
case "com.amazonaws.sagemaker#ConflictException":
|
|
12087
|
+
throw await deserializeAws_json1_1ConflictExceptionResponse(parsedOutput, context);
|
|
12088
|
+
case "ResourceLimitExceeded":
|
|
12089
|
+
case "com.amazonaws.sagemaker#ResourceLimitExceeded":
|
|
12090
|
+
throw await deserializeAws_json1_1ResourceLimitExceededResponse(parsedOutput, context);
|
|
12091
|
+
case "ResourceNotFound":
|
|
12092
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
12093
|
+
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
12094
|
+
default:
|
|
12095
|
+
const parsedBody = parsedOutput.body;
|
|
12096
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
12097
|
+
output,
|
|
12098
|
+
parsedBody,
|
|
12099
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
12100
|
+
errorCode,
|
|
12101
|
+
});
|
|
12102
|
+
}
|
|
12103
|
+
};
|
|
10663
12104
|
const deserializeAws_json1_1UpdateModelPackageCommand = async (output, context) => {
|
|
10664
12105
|
if (output.statusCode >= 300) {
|
|
10665
12106
|
return deserializeAws_json1_1UpdateModelPackageCommandError(output, context);
|
|
@@ -10688,6 +12129,43 @@ const deserializeAws_json1_1UpdateModelPackageCommandError = async (output, cont
|
|
|
10688
12129
|
errorCode,
|
|
10689
12130
|
});
|
|
10690
12131
|
};
|
|
12132
|
+
const deserializeAws_json1_1UpdateMonitoringAlertCommand = async (output, context) => {
|
|
12133
|
+
if (output.statusCode >= 300) {
|
|
12134
|
+
return deserializeAws_json1_1UpdateMonitoringAlertCommandError(output, context);
|
|
12135
|
+
}
|
|
12136
|
+
const data = await parseBody(output.body, context);
|
|
12137
|
+
let contents = {};
|
|
12138
|
+
contents = deserializeAws_json1_1UpdateMonitoringAlertResponse(data, context);
|
|
12139
|
+
const response = {
|
|
12140
|
+
$metadata: deserializeMetadata(output),
|
|
12141
|
+
...contents,
|
|
12142
|
+
};
|
|
12143
|
+
return Promise.resolve(response);
|
|
12144
|
+
};
|
|
12145
|
+
exports.deserializeAws_json1_1UpdateMonitoringAlertCommand = deserializeAws_json1_1UpdateMonitoringAlertCommand;
|
|
12146
|
+
const deserializeAws_json1_1UpdateMonitoringAlertCommandError = async (output, context) => {
|
|
12147
|
+
const parsedOutput = {
|
|
12148
|
+
...output,
|
|
12149
|
+
body: await parseErrorBody(output.body, context),
|
|
12150
|
+
};
|
|
12151
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
12152
|
+
switch (errorCode) {
|
|
12153
|
+
case "ResourceLimitExceeded":
|
|
12154
|
+
case "com.amazonaws.sagemaker#ResourceLimitExceeded":
|
|
12155
|
+
throw await deserializeAws_json1_1ResourceLimitExceededResponse(parsedOutput, context);
|
|
12156
|
+
case "ResourceNotFound":
|
|
12157
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
12158
|
+
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
12159
|
+
default:
|
|
12160
|
+
const parsedBody = parsedOutput.body;
|
|
12161
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
12162
|
+
output,
|
|
12163
|
+
parsedBody,
|
|
12164
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
12165
|
+
errorCode,
|
|
12166
|
+
});
|
|
12167
|
+
}
|
|
12168
|
+
};
|
|
10691
12169
|
const deserializeAws_json1_1UpdateMonitoringScheduleCommand = async (output, context) => {
|
|
10692
12170
|
if (output.statusCode >= 300) {
|
|
10693
12171
|
return deserializeAws_json1_1UpdateMonitoringScheduleCommandError(output, context);
|
|
@@ -10889,6 +12367,46 @@ const deserializeAws_json1_1UpdateProjectCommandError = async (output, context)
|
|
|
10889
12367
|
errorCode,
|
|
10890
12368
|
});
|
|
10891
12369
|
};
|
|
12370
|
+
const deserializeAws_json1_1UpdateSpaceCommand = async (output, context) => {
|
|
12371
|
+
if (output.statusCode >= 300) {
|
|
12372
|
+
return deserializeAws_json1_1UpdateSpaceCommandError(output, context);
|
|
12373
|
+
}
|
|
12374
|
+
const data = await parseBody(output.body, context);
|
|
12375
|
+
let contents = {};
|
|
12376
|
+
contents = deserializeAws_json1_1UpdateSpaceResponse(data, context);
|
|
12377
|
+
const response = {
|
|
12378
|
+
$metadata: deserializeMetadata(output),
|
|
12379
|
+
...contents,
|
|
12380
|
+
};
|
|
12381
|
+
return Promise.resolve(response);
|
|
12382
|
+
};
|
|
12383
|
+
exports.deserializeAws_json1_1UpdateSpaceCommand = deserializeAws_json1_1UpdateSpaceCommand;
|
|
12384
|
+
const deserializeAws_json1_1UpdateSpaceCommandError = async (output, context) => {
|
|
12385
|
+
const parsedOutput = {
|
|
12386
|
+
...output,
|
|
12387
|
+
body: await parseErrorBody(output.body, context),
|
|
12388
|
+
};
|
|
12389
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
12390
|
+
switch (errorCode) {
|
|
12391
|
+
case "ResourceInUse":
|
|
12392
|
+
case "com.amazonaws.sagemaker#ResourceInUse":
|
|
12393
|
+
throw await deserializeAws_json1_1ResourceInUseResponse(parsedOutput, context);
|
|
12394
|
+
case "ResourceLimitExceeded":
|
|
12395
|
+
case "com.amazonaws.sagemaker#ResourceLimitExceeded":
|
|
12396
|
+
throw await deserializeAws_json1_1ResourceLimitExceededResponse(parsedOutput, context);
|
|
12397
|
+
case "ResourceNotFound":
|
|
12398
|
+
case "com.amazonaws.sagemaker#ResourceNotFound":
|
|
12399
|
+
throw await deserializeAws_json1_1ResourceNotFoundResponse(parsedOutput, context);
|
|
12400
|
+
default:
|
|
12401
|
+
const parsedBody = parsedOutput.body;
|
|
12402
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
12403
|
+
output,
|
|
12404
|
+
parsedBody,
|
|
12405
|
+
exceptionCtor: SageMakerServiceException_1.SageMakerServiceException,
|
|
12406
|
+
errorCode,
|
|
12407
|
+
});
|
|
12408
|
+
}
|
|
12409
|
+
};
|
|
10892
12410
|
const deserializeAws_json1_1UpdateTrainingJobCommand = async (output, context) => {
|
|
10893
12411
|
if (output.statusCode >= 300) {
|
|
10894
12412
|
return deserializeAws_json1_1UpdateTrainingJobCommandError(output, context);
|
|
@@ -11695,6 +13213,18 @@ const serializeAws_json1_1ClarifyTextConfig = (input, context) => {
|
|
|
11695
13213
|
...(input.Language != null && { Language: input.Language }),
|
|
11696
13214
|
};
|
|
11697
13215
|
};
|
|
13216
|
+
const serializeAws_json1_1CodeRepositories = (input, context) => {
|
|
13217
|
+
return input
|
|
13218
|
+
.filter((e) => e != null)
|
|
13219
|
+
.map((entry) => {
|
|
13220
|
+
return serializeAws_json1_1CodeRepository(entry, context);
|
|
13221
|
+
});
|
|
13222
|
+
};
|
|
13223
|
+
const serializeAws_json1_1CodeRepository = (input, context) => {
|
|
13224
|
+
return {
|
|
13225
|
+
...(input.RepositoryUrl != null && { RepositoryUrl: input.RepositoryUrl }),
|
|
13226
|
+
};
|
|
13227
|
+
};
|
|
11698
13228
|
const serializeAws_json1_1CognitoConfig = (input, context) => {
|
|
11699
13229
|
return {
|
|
11700
13230
|
...(input.ClientId != null && { ClientId: input.ClientId }),
|
|
@@ -11865,6 +13395,7 @@ const serializeAws_json1_1CreateAppRequest = (input, context) => {
|
|
|
11865
13395
|
...(input.AppType != null && { AppType: input.AppType }),
|
|
11866
13396
|
...(input.DomainId != null && { DomainId: input.DomainId }),
|
|
11867
13397
|
...(input.ResourceSpec != null && { ResourceSpec: serializeAws_json1_1ResourceSpec(input.ResourceSpec, context) }),
|
|
13398
|
+
...(input.SpaceName != null && { SpaceName: input.SpaceName }),
|
|
11868
13399
|
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
11869
13400
|
...(input.UserProfileName != null && { UserProfileName: input.UserProfileName }),
|
|
11870
13401
|
};
|
|
@@ -11987,6 +13518,9 @@ const serializeAws_json1_1CreateDomainRequest = (input, context) => {
|
|
|
11987
13518
|
...(input.AppNetworkAccessType != null && { AppNetworkAccessType: input.AppNetworkAccessType }),
|
|
11988
13519
|
...(input.AppSecurityGroupManagement != null && { AppSecurityGroupManagement: input.AppSecurityGroupManagement }),
|
|
11989
13520
|
...(input.AuthMode != null && { AuthMode: input.AuthMode }),
|
|
13521
|
+
...(input.DefaultSpaceSettings != null && {
|
|
13522
|
+
DefaultSpaceSettings: serializeAws_json1_1DefaultSpaceSettings(input.DefaultSpaceSettings, context),
|
|
13523
|
+
}),
|
|
11990
13524
|
...(input.DefaultUserSettings != null && {
|
|
11991
13525
|
DefaultUserSettings: serializeAws_json1_1UserSettings(input.DefaultUserSettings, context),
|
|
11992
13526
|
}),
|
|
@@ -12048,6 +13582,9 @@ const serializeAws_json1_1CreateEndpointConfigInput = (input, context) => {
|
|
|
12048
13582
|
...(input.ProductionVariants != null && {
|
|
12049
13583
|
ProductionVariants: serializeAws_json1_1ProductionVariantList(input.ProductionVariants, context),
|
|
12050
13584
|
}),
|
|
13585
|
+
...(input.ShadowProductionVariants != null && {
|
|
13586
|
+
ShadowProductionVariants: serializeAws_json1_1ProductionVariantList(input.ShadowProductionVariants, context),
|
|
13587
|
+
}),
|
|
12051
13588
|
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
12052
13589
|
};
|
|
12053
13590
|
};
|
|
@@ -12109,6 +13646,20 @@ const serializeAws_json1_1CreateFlowDefinitionRequest = (input, context) => {
|
|
|
12109
13646
|
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
12110
13647
|
};
|
|
12111
13648
|
};
|
|
13649
|
+
const serializeAws_json1_1CreateHubRequest = (input, context) => {
|
|
13650
|
+
return {
|
|
13651
|
+
...(input.HubDescription != null && { HubDescription: input.HubDescription }),
|
|
13652
|
+
...(input.HubDisplayName != null && { HubDisplayName: input.HubDisplayName }),
|
|
13653
|
+
...(input.HubName != null && { HubName: input.HubName }),
|
|
13654
|
+
...(input.HubSearchKeywords != null && {
|
|
13655
|
+
HubSearchKeywords: serializeAws_json1_1HubSearchKeywordList(input.HubSearchKeywords, context),
|
|
13656
|
+
}),
|
|
13657
|
+
...(input.S3StorageConfig != null && {
|
|
13658
|
+
S3StorageConfig: serializeAws_json1_1HubS3StorageConfig(input.S3StorageConfig, context),
|
|
13659
|
+
}),
|
|
13660
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
13661
|
+
};
|
|
13662
|
+
};
|
|
12112
13663
|
const serializeAws_json1_1CreateHumanTaskUiRequest = (input, context) => {
|
|
12113
13664
|
return {
|
|
12114
13665
|
...(input.HumanTaskUiName != null && { HumanTaskUiName: input.HumanTaskUiName }),
|
|
@@ -12152,6 +13703,29 @@ const serializeAws_json1_1CreateImageVersionRequest = (input, context) => {
|
|
|
12152
13703
|
...(input.ImageName != null && { ImageName: input.ImageName }),
|
|
12153
13704
|
};
|
|
12154
13705
|
};
|
|
13706
|
+
const serializeAws_json1_1CreateInferenceExperimentRequest = (input, context) => {
|
|
13707
|
+
return {
|
|
13708
|
+
...(input.DataStorageConfig != null && {
|
|
13709
|
+
DataStorageConfig: serializeAws_json1_1InferenceExperimentDataStorageConfig(input.DataStorageConfig, context),
|
|
13710
|
+
}),
|
|
13711
|
+
...(input.Description != null && { Description: input.Description }),
|
|
13712
|
+
...(input.EndpointName != null && { EndpointName: input.EndpointName }),
|
|
13713
|
+
...(input.KmsKey != null && { KmsKey: input.KmsKey }),
|
|
13714
|
+
...(input.ModelVariants != null && {
|
|
13715
|
+
ModelVariants: serializeAws_json1_1ModelVariantConfigList(input.ModelVariants, context),
|
|
13716
|
+
}),
|
|
13717
|
+
...(input.Name != null && { Name: input.Name }),
|
|
13718
|
+
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
13719
|
+
...(input.Schedule != null && {
|
|
13720
|
+
Schedule: serializeAws_json1_1InferenceExperimentSchedule(input.Schedule, context),
|
|
13721
|
+
}),
|
|
13722
|
+
...(input.ShadowModeConfig != null && {
|
|
13723
|
+
ShadowModeConfig: serializeAws_json1_1ShadowModeConfig(input.ShadowModeConfig, context),
|
|
13724
|
+
}),
|
|
13725
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
13726
|
+
...(input.Type != null && { Type: input.Type }),
|
|
13727
|
+
};
|
|
13728
|
+
};
|
|
12155
13729
|
const serializeAws_json1_1CreateInferenceRecommendationsJobRequest = (input, context) => {
|
|
12156
13730
|
return {
|
|
12157
13731
|
...(input.InputConfig != null && {
|
|
@@ -12222,6 +13796,27 @@ const serializeAws_json1_1CreateModelBiasJobDefinitionRequest = (input, context)
|
|
|
12222
13796
|
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
12223
13797
|
};
|
|
12224
13798
|
};
|
|
13799
|
+
const serializeAws_json1_1CreateModelCardExportJobRequest = (input, context) => {
|
|
13800
|
+
return {
|
|
13801
|
+
...(input.ModelCardExportJobName != null && { ModelCardExportJobName: input.ModelCardExportJobName }),
|
|
13802
|
+
...(input.ModelCardName != null && { ModelCardName: input.ModelCardName }),
|
|
13803
|
+
...(input.ModelCardVersion != null && { ModelCardVersion: input.ModelCardVersion }),
|
|
13804
|
+
...(input.OutputConfig != null && {
|
|
13805
|
+
OutputConfig: serializeAws_json1_1ModelCardExportOutputConfig(input.OutputConfig, context),
|
|
13806
|
+
}),
|
|
13807
|
+
};
|
|
13808
|
+
};
|
|
13809
|
+
const serializeAws_json1_1CreateModelCardRequest = (input, context) => {
|
|
13810
|
+
return {
|
|
13811
|
+
...(input.Content != null && { Content: input.Content }),
|
|
13812
|
+
...(input.ModelCardName != null && { ModelCardName: input.ModelCardName }),
|
|
13813
|
+
...(input.ModelCardStatus != null && { ModelCardStatus: input.ModelCardStatus }),
|
|
13814
|
+
...(input.SecurityConfig != null && {
|
|
13815
|
+
SecurityConfig: serializeAws_json1_1ModelCardSecurityConfig(input.SecurityConfig, context),
|
|
13816
|
+
}),
|
|
13817
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
13818
|
+
};
|
|
13819
|
+
};
|
|
12225
13820
|
const serializeAws_json1_1CreateModelExplainabilityJobDefinitionRequest = (input, context) => {
|
|
12226
13821
|
return {
|
|
12227
13822
|
...(input.JobDefinitionName != null && { JobDefinitionName: input.JobDefinitionName }),
|
|
@@ -12415,6 +14010,7 @@ const serializeAws_json1_1CreatePresignedDomainUrlRequest = (input, context) =>
|
|
|
12415
14010
|
...(input.SessionExpirationDurationInSeconds != null && {
|
|
12416
14011
|
SessionExpirationDurationInSeconds: input.SessionExpirationDurationInSeconds,
|
|
12417
14012
|
}),
|
|
14013
|
+
...(input.SpaceName != null && { SpaceName: input.SpaceName }),
|
|
12418
14014
|
...(input.UserProfileName != null && { UserProfileName: input.UserProfileName }),
|
|
12419
14015
|
};
|
|
12420
14016
|
};
|
|
@@ -12467,6 +14063,16 @@ const serializeAws_json1_1CreateProjectInput = (input, context) => {
|
|
|
12467
14063
|
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
12468
14064
|
};
|
|
12469
14065
|
};
|
|
14066
|
+
const serializeAws_json1_1CreateSpaceRequest = (input, context) => {
|
|
14067
|
+
return {
|
|
14068
|
+
...(input.DomainId != null && { DomainId: input.DomainId }),
|
|
14069
|
+
...(input.SpaceName != null && { SpaceName: input.SpaceName }),
|
|
14070
|
+
...(input.SpaceSettings != null && {
|
|
14071
|
+
SpaceSettings: serializeAws_json1_1SpaceSettings(input.SpaceSettings, context),
|
|
14072
|
+
}),
|
|
14073
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
14074
|
+
};
|
|
14075
|
+
};
|
|
12470
14076
|
const serializeAws_json1_1CreateStudioLifecycleConfigRequest = (input, context) => {
|
|
12471
14077
|
return {
|
|
12472
14078
|
...(input.StudioLifecycleConfigAppType != null && {
|
|
@@ -12803,6 +14409,20 @@ const serializeAws_json1_1DebugRuleConfigurations = (input, context) => {
|
|
|
12803
14409
|
return serializeAws_json1_1DebugRuleConfiguration(entry, context);
|
|
12804
14410
|
});
|
|
12805
14411
|
};
|
|
14412
|
+
const serializeAws_json1_1DefaultSpaceSettings = (input, context) => {
|
|
14413
|
+
return {
|
|
14414
|
+
...(input.ExecutionRole != null && { ExecutionRole: input.ExecutionRole }),
|
|
14415
|
+
...(input.JupyterServerAppSettings != null && {
|
|
14416
|
+
JupyterServerAppSettings: serializeAws_json1_1JupyterServerAppSettings(input.JupyterServerAppSettings, context),
|
|
14417
|
+
}),
|
|
14418
|
+
...(input.KernelGatewayAppSettings != null && {
|
|
14419
|
+
KernelGatewayAppSettings: serializeAws_json1_1KernelGatewayAppSettings(input.KernelGatewayAppSettings, context),
|
|
14420
|
+
}),
|
|
14421
|
+
...(input.SecurityGroups != null && {
|
|
14422
|
+
SecurityGroups: serializeAws_json1_1SecurityGroupIds(input.SecurityGroups, context),
|
|
14423
|
+
}),
|
|
14424
|
+
};
|
|
14425
|
+
};
|
|
12806
14426
|
const serializeAws_json1_1DeleteActionRequest = (input, context) => {
|
|
12807
14427
|
return {
|
|
12808
14428
|
...(input.ActionName != null && { ActionName: input.ActionName }),
|
|
@@ -12823,6 +14443,7 @@ const serializeAws_json1_1DeleteAppRequest = (input, context) => {
|
|
|
12823
14443
|
...(input.AppName != null && { AppName: input.AppName }),
|
|
12824
14444
|
...(input.AppType != null && { AppType: input.AppType }),
|
|
12825
14445
|
...(input.DomainId != null && { DomainId: input.DomainId }),
|
|
14446
|
+
...(input.SpaceName != null && { SpaceName: input.SpaceName }),
|
|
12826
14447
|
...(input.UserProfileName != null && { UserProfileName: input.UserProfileName }),
|
|
12827
14448
|
};
|
|
12828
14449
|
};
|
|
@@ -12902,6 +14523,19 @@ const serializeAws_json1_1DeleteFlowDefinitionRequest = (input, context) => {
|
|
|
12902
14523
|
...(input.FlowDefinitionName != null && { FlowDefinitionName: input.FlowDefinitionName }),
|
|
12903
14524
|
};
|
|
12904
14525
|
};
|
|
14526
|
+
const serializeAws_json1_1DeleteHubContentRequest = (input, context) => {
|
|
14527
|
+
return {
|
|
14528
|
+
...(input.HubContentName != null && { HubContentName: input.HubContentName }),
|
|
14529
|
+
...(input.HubContentType != null && { HubContentType: input.HubContentType }),
|
|
14530
|
+
...(input.HubContentVersion != null && { HubContentVersion: input.HubContentVersion }),
|
|
14531
|
+
...(input.HubName != null && { HubName: input.HubName }),
|
|
14532
|
+
};
|
|
14533
|
+
};
|
|
14534
|
+
const serializeAws_json1_1DeleteHubRequest = (input, context) => {
|
|
14535
|
+
return {
|
|
14536
|
+
...(input.HubName != null && { HubName: input.HubName }),
|
|
14537
|
+
};
|
|
14538
|
+
};
|
|
12905
14539
|
const serializeAws_json1_1DeleteHumanTaskUiRequest = (input, context) => {
|
|
12906
14540
|
return {
|
|
12907
14541
|
...(input.HumanTaskUiName != null && { HumanTaskUiName: input.HumanTaskUiName }),
|
|
@@ -12918,11 +14552,21 @@ const serializeAws_json1_1DeleteImageVersionRequest = (input, context) => {
|
|
|
12918
14552
|
...(input.Version != null && { Version: input.Version }),
|
|
12919
14553
|
};
|
|
12920
14554
|
};
|
|
14555
|
+
const serializeAws_json1_1DeleteInferenceExperimentRequest = (input, context) => {
|
|
14556
|
+
return {
|
|
14557
|
+
...(input.Name != null && { Name: input.Name }),
|
|
14558
|
+
};
|
|
14559
|
+
};
|
|
12921
14560
|
const serializeAws_json1_1DeleteModelBiasJobDefinitionRequest = (input, context) => {
|
|
12922
14561
|
return {
|
|
12923
14562
|
...(input.JobDefinitionName != null && { JobDefinitionName: input.JobDefinitionName }),
|
|
12924
14563
|
};
|
|
12925
14564
|
};
|
|
14565
|
+
const serializeAws_json1_1DeleteModelCardRequest = (input, context) => {
|
|
14566
|
+
return {
|
|
14567
|
+
...(input.ModelCardName != null && { ModelCardName: input.ModelCardName }),
|
|
14568
|
+
};
|
|
14569
|
+
};
|
|
12926
14570
|
const serializeAws_json1_1DeleteModelExplainabilityJobDefinitionRequest = (input, context) => {
|
|
12927
14571
|
return {
|
|
12928
14572
|
...(input.JobDefinitionName != null && { JobDefinitionName: input.JobDefinitionName }),
|
|
@@ -12981,6 +14625,12 @@ const serializeAws_json1_1DeleteProjectInput = (input, context) => {
|
|
|
12981
14625
|
...(input.ProjectName != null && { ProjectName: input.ProjectName }),
|
|
12982
14626
|
};
|
|
12983
14627
|
};
|
|
14628
|
+
const serializeAws_json1_1DeleteSpaceRequest = (input, context) => {
|
|
14629
|
+
return {
|
|
14630
|
+
...(input.DomainId != null && { DomainId: input.DomainId }),
|
|
14631
|
+
...(input.SpaceName != null && { SpaceName: input.SpaceName }),
|
|
14632
|
+
};
|
|
14633
|
+
};
|
|
12984
14634
|
const serializeAws_json1_1DeleteStudioLifecycleConfigRequest = (input, context) => {
|
|
12985
14635
|
return {
|
|
12986
14636
|
...(input.StudioLifecycleConfigName != null && { StudioLifecycleConfigName: input.StudioLifecycleConfigName }),
|
|
@@ -13072,6 +14722,7 @@ const serializeAws_json1_1DescribeAppRequest = (input, context) => {
|
|
|
13072
14722
|
...(input.AppName != null && { AppName: input.AppName }),
|
|
13073
14723
|
...(input.AppType != null && { AppType: input.AppType }),
|
|
13074
14724
|
...(input.DomainId != null && { DomainId: input.DomainId }),
|
|
14725
|
+
...(input.SpaceName != null && { SpaceName: input.SpaceName }),
|
|
13075
14726
|
...(input.UserProfileName != null && { UserProfileName: input.UserProfileName }),
|
|
13076
14727
|
};
|
|
13077
14728
|
};
|
|
@@ -13166,6 +14817,19 @@ const serializeAws_json1_1DescribeFlowDefinitionRequest = (input, context) => {
|
|
|
13166
14817
|
...(input.FlowDefinitionName != null && { FlowDefinitionName: input.FlowDefinitionName }),
|
|
13167
14818
|
};
|
|
13168
14819
|
};
|
|
14820
|
+
const serializeAws_json1_1DescribeHubContentRequest = (input, context) => {
|
|
14821
|
+
return {
|
|
14822
|
+
...(input.HubContentName != null && { HubContentName: input.HubContentName }),
|
|
14823
|
+
...(input.HubContentType != null && { HubContentType: input.HubContentType }),
|
|
14824
|
+
...(input.HubContentVersion != null && { HubContentVersion: input.HubContentVersion }),
|
|
14825
|
+
...(input.HubName != null && { HubName: input.HubName }),
|
|
14826
|
+
};
|
|
14827
|
+
};
|
|
14828
|
+
const serializeAws_json1_1DescribeHubRequest = (input, context) => {
|
|
14829
|
+
return {
|
|
14830
|
+
...(input.HubName != null && { HubName: input.HubName }),
|
|
14831
|
+
};
|
|
14832
|
+
};
|
|
13169
14833
|
const serializeAws_json1_1DescribeHumanTaskUiRequest = (input, context) => {
|
|
13170
14834
|
return {
|
|
13171
14835
|
...(input.HumanTaskUiName != null && { HumanTaskUiName: input.HumanTaskUiName }),
|
|
@@ -13189,6 +14853,11 @@ const serializeAws_json1_1DescribeImageVersionRequest = (input, context) => {
|
|
|
13189
14853
|
...(input.Version != null && { Version: input.Version }),
|
|
13190
14854
|
};
|
|
13191
14855
|
};
|
|
14856
|
+
const serializeAws_json1_1DescribeInferenceExperimentRequest = (input, context) => {
|
|
14857
|
+
return {
|
|
14858
|
+
...(input.Name != null && { Name: input.Name }),
|
|
14859
|
+
};
|
|
14860
|
+
};
|
|
13192
14861
|
const serializeAws_json1_1DescribeInferenceRecommendationsJobRequest = (input, context) => {
|
|
13193
14862
|
return {
|
|
13194
14863
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
@@ -13209,6 +14878,17 @@ const serializeAws_json1_1DescribeModelBiasJobDefinitionRequest = (input, contex
|
|
|
13209
14878
|
...(input.JobDefinitionName != null && { JobDefinitionName: input.JobDefinitionName }),
|
|
13210
14879
|
};
|
|
13211
14880
|
};
|
|
14881
|
+
const serializeAws_json1_1DescribeModelCardExportJobRequest = (input, context) => {
|
|
14882
|
+
return {
|
|
14883
|
+
...(input.ModelCardExportJobArn != null && { ModelCardExportJobArn: input.ModelCardExportJobArn }),
|
|
14884
|
+
};
|
|
14885
|
+
};
|
|
14886
|
+
const serializeAws_json1_1DescribeModelCardRequest = (input, context) => {
|
|
14887
|
+
return {
|
|
14888
|
+
...(input.ModelCardName != null && { ModelCardName: input.ModelCardName }),
|
|
14889
|
+
...(input.ModelCardVersion != null && { ModelCardVersion: input.ModelCardVersion }),
|
|
14890
|
+
};
|
|
14891
|
+
};
|
|
13212
14892
|
const serializeAws_json1_1DescribeModelExplainabilityJobDefinitionRequest = (input, context) => {
|
|
13213
14893
|
return {
|
|
13214
14894
|
...(input.JobDefinitionName != null && { JobDefinitionName: input.JobDefinitionName }),
|
|
@@ -13276,6 +14956,12 @@ const serializeAws_json1_1DescribeProjectInput = (input, context) => {
|
|
|
13276
14956
|
...(input.ProjectName != null && { ProjectName: input.ProjectName }),
|
|
13277
14957
|
};
|
|
13278
14958
|
};
|
|
14959
|
+
const serializeAws_json1_1DescribeSpaceRequest = (input, context) => {
|
|
14960
|
+
return {
|
|
14961
|
+
...(input.DomainId != null && { DomainId: input.DomainId }),
|
|
14962
|
+
...(input.SpaceName != null && { SpaceName: input.SpaceName }),
|
|
14963
|
+
};
|
|
14964
|
+
};
|
|
13279
14965
|
const serializeAws_json1_1DescribeStudioLifecycleConfigRequest = (input, context) => {
|
|
13280
14966
|
return {
|
|
13281
14967
|
...(input.StudioLifecycleConfigName != null && { StudioLifecycleConfigName: input.StudioLifecycleConfigName }),
|
|
@@ -13539,6 +15225,7 @@ const serializeAws_json1_1EnvironmentParameterRanges = (input, context) => {
|
|
|
13539
15225
|
const serializeAws_json1_1ExperimentConfig = (input, context) => {
|
|
13540
15226
|
return {
|
|
13541
15227
|
...(input.ExperimentName != null && { ExperimentName: input.ExperimentName }),
|
|
15228
|
+
...(input.RunName != null && { RunName: input.RunName }),
|
|
13542
15229
|
...(input.TrialComponentDisplayName != null && { TrialComponentDisplayName: input.TrialComponentDisplayName }),
|
|
13543
15230
|
...(input.TrialName != null && { TrialName: input.TrialName }),
|
|
13544
15231
|
};
|
|
@@ -13698,6 +15385,25 @@ const serializeAws_json1_1HookParameters = (input, context) => {
|
|
|
13698
15385
|
return acc;
|
|
13699
15386
|
}, {});
|
|
13700
15387
|
};
|
|
15388
|
+
const serializeAws_json1_1HubContentSearchKeywordList = (input, context) => {
|
|
15389
|
+
return input
|
|
15390
|
+
.filter((e) => e != null)
|
|
15391
|
+
.map((entry) => {
|
|
15392
|
+
return entry;
|
|
15393
|
+
});
|
|
15394
|
+
};
|
|
15395
|
+
const serializeAws_json1_1HubS3StorageConfig = (input, context) => {
|
|
15396
|
+
return {
|
|
15397
|
+
...(input.S3OutputPath != null && { S3OutputPath: input.S3OutputPath }),
|
|
15398
|
+
};
|
|
15399
|
+
};
|
|
15400
|
+
const serializeAws_json1_1HubSearchKeywordList = (input, context) => {
|
|
15401
|
+
return input
|
|
15402
|
+
.filter((e) => e != null)
|
|
15403
|
+
.map((entry) => {
|
|
15404
|
+
return entry;
|
|
15405
|
+
});
|
|
15406
|
+
};
|
|
13701
15407
|
const serializeAws_json1_1HumanLoopActivationConditionsConfig = (input, context) => {
|
|
13702
15408
|
return {
|
|
13703
15409
|
...(input.HumanLoopActivationConditions != null && {
|
|
@@ -13949,11 +15655,43 @@ const serializeAws_json1_1ImageDeletePropertyList = (input, context) => {
|
|
|
13949
15655
|
return entry;
|
|
13950
15656
|
});
|
|
13951
15657
|
};
|
|
15658
|
+
const serializeAws_json1_1ImportHubContentRequest = (input, context) => {
|
|
15659
|
+
return {
|
|
15660
|
+
...(input.DocumentSchemaVersion != null && { DocumentSchemaVersion: input.DocumentSchemaVersion }),
|
|
15661
|
+
...(input.HubContentDescription != null && { HubContentDescription: input.HubContentDescription }),
|
|
15662
|
+
...(input.HubContentDisplayName != null && { HubContentDisplayName: input.HubContentDisplayName }),
|
|
15663
|
+
...(input.HubContentDocument != null && { HubContentDocument: input.HubContentDocument }),
|
|
15664
|
+
...(input.HubContentMarkdown != null && { HubContentMarkdown: input.HubContentMarkdown }),
|
|
15665
|
+
...(input.HubContentName != null && { HubContentName: input.HubContentName }),
|
|
15666
|
+
...(input.HubContentSearchKeywords != null && {
|
|
15667
|
+
HubContentSearchKeywords: serializeAws_json1_1HubContentSearchKeywordList(input.HubContentSearchKeywords, context),
|
|
15668
|
+
}),
|
|
15669
|
+
...(input.HubContentType != null && { HubContentType: input.HubContentType }),
|
|
15670
|
+
...(input.HubContentVersion != null && { HubContentVersion: input.HubContentVersion }),
|
|
15671
|
+
...(input.HubName != null && { HubName: input.HubName }),
|
|
15672
|
+
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
15673
|
+
};
|
|
15674
|
+
};
|
|
13952
15675
|
const serializeAws_json1_1InferenceExecutionConfig = (input, context) => {
|
|
13953
15676
|
return {
|
|
13954
15677
|
...(input.Mode != null && { Mode: input.Mode }),
|
|
13955
15678
|
};
|
|
13956
15679
|
};
|
|
15680
|
+
const serializeAws_json1_1InferenceExperimentDataStorageConfig = (input, context) => {
|
|
15681
|
+
return {
|
|
15682
|
+
...(input.ContentType != null && {
|
|
15683
|
+
ContentType: serializeAws_json1_1CaptureContentTypeHeader(input.ContentType, context),
|
|
15684
|
+
}),
|
|
15685
|
+
...(input.Destination != null && { Destination: input.Destination }),
|
|
15686
|
+
...(input.KmsKey != null && { KmsKey: input.KmsKey }),
|
|
15687
|
+
};
|
|
15688
|
+
};
|
|
15689
|
+
const serializeAws_json1_1InferenceExperimentSchedule = (input, context) => {
|
|
15690
|
+
return {
|
|
15691
|
+
...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
|
|
15692
|
+
...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
|
|
15693
|
+
};
|
|
15694
|
+
};
|
|
13957
15695
|
const serializeAws_json1_1InferenceSpecification = (input, context) => {
|
|
13958
15696
|
return {
|
|
13959
15697
|
...(input.Containers != null && {
|
|
@@ -14053,6 +15791,9 @@ const serializeAws_json1_1JsonContentTypes = (input, context) => {
|
|
|
14053
15791
|
};
|
|
14054
15792
|
const serializeAws_json1_1JupyterServerAppSettings = (input, context) => {
|
|
14055
15793
|
return {
|
|
15794
|
+
...(input.CodeRepositories != null && {
|
|
15795
|
+
CodeRepositories: serializeAws_json1_1CodeRepositories(input.CodeRepositories, context),
|
|
15796
|
+
}),
|
|
14056
15797
|
...(input.DefaultResourceSpec != null && {
|
|
14057
15798
|
DefaultResourceSpec: serializeAws_json1_1ResourceSpec(input.DefaultResourceSpec, context),
|
|
14058
15799
|
}),
|
|
@@ -14229,6 +15970,7 @@ const serializeAws_json1_1ListAppsRequest = (input, context) => {
|
|
|
14229
15970
|
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
14230
15971
|
...(input.SortBy != null && { SortBy: input.SortBy }),
|
|
14231
15972
|
...(input.SortOrder != null && { SortOrder: input.SortOrder }),
|
|
15973
|
+
...(input.SpaceNameEquals != null && { SpaceNameEquals: input.SpaceNameEquals }),
|
|
14232
15974
|
...(input.UserProfileNameEquals != null && { UserProfileNameEquals: input.UserProfileNameEquals }),
|
|
14233
15975
|
};
|
|
14234
15976
|
};
|
|
@@ -14501,6 +16243,58 @@ const serializeAws_json1_1ListFlowDefinitionsRequest = (input, context) => {
|
|
|
14501
16243
|
...(input.SortOrder != null && { SortOrder: input.SortOrder }),
|
|
14502
16244
|
};
|
|
14503
16245
|
};
|
|
16246
|
+
const serializeAws_json1_1ListHubContentsRequest = (input, context) => {
|
|
16247
|
+
return {
|
|
16248
|
+
...(input.CreationTimeAfter != null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) }),
|
|
16249
|
+
...(input.CreationTimeBefore != null && {
|
|
16250
|
+
CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
|
|
16251
|
+
}),
|
|
16252
|
+
...(input.HubContentType != null && { HubContentType: input.HubContentType }),
|
|
16253
|
+
...(input.HubName != null && { HubName: input.HubName }),
|
|
16254
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
16255
|
+
...(input.MaxSchemaVersion != null && { MaxSchemaVersion: input.MaxSchemaVersion }),
|
|
16256
|
+
...(input.NameContains != null && { NameContains: input.NameContains }),
|
|
16257
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
16258
|
+
...(input.SortBy != null && { SortBy: input.SortBy }),
|
|
16259
|
+
...(input.SortOrder != null && { SortOrder: input.SortOrder }),
|
|
16260
|
+
};
|
|
16261
|
+
};
|
|
16262
|
+
const serializeAws_json1_1ListHubContentVersionsRequest = (input, context) => {
|
|
16263
|
+
return {
|
|
16264
|
+
...(input.CreationTimeAfter != null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) }),
|
|
16265
|
+
...(input.CreationTimeBefore != null && {
|
|
16266
|
+
CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
|
|
16267
|
+
}),
|
|
16268
|
+
...(input.HubContentName != null && { HubContentName: input.HubContentName }),
|
|
16269
|
+
...(input.HubContentType != null && { HubContentType: input.HubContentType }),
|
|
16270
|
+
...(input.HubName != null && { HubName: input.HubName }),
|
|
16271
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
16272
|
+
...(input.MaxSchemaVersion != null && { MaxSchemaVersion: input.MaxSchemaVersion }),
|
|
16273
|
+
...(input.MinVersion != null && { MinVersion: input.MinVersion }),
|
|
16274
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
16275
|
+
...(input.SortBy != null && { SortBy: input.SortBy }),
|
|
16276
|
+
...(input.SortOrder != null && { SortOrder: input.SortOrder }),
|
|
16277
|
+
};
|
|
16278
|
+
};
|
|
16279
|
+
const serializeAws_json1_1ListHubsRequest = (input, context) => {
|
|
16280
|
+
return {
|
|
16281
|
+
...(input.CreationTimeAfter != null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) }),
|
|
16282
|
+
...(input.CreationTimeBefore != null && {
|
|
16283
|
+
CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
|
|
16284
|
+
}),
|
|
16285
|
+
...(input.LastModifiedTimeAfter != null && {
|
|
16286
|
+
LastModifiedTimeAfter: Math.round(input.LastModifiedTimeAfter.getTime() / 1000),
|
|
16287
|
+
}),
|
|
16288
|
+
...(input.LastModifiedTimeBefore != null && {
|
|
16289
|
+
LastModifiedTimeBefore: Math.round(input.LastModifiedTimeBefore.getTime() / 1000),
|
|
16290
|
+
}),
|
|
16291
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
16292
|
+
...(input.NameContains != null && { NameContains: input.NameContains }),
|
|
16293
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
16294
|
+
...(input.SortBy != null && { SortBy: input.SortBy }),
|
|
16295
|
+
...(input.SortOrder != null && { SortOrder: input.SortOrder }),
|
|
16296
|
+
};
|
|
16297
|
+
};
|
|
14504
16298
|
const serializeAws_json1_1ListHumanTaskUisRequest = (input, context) => {
|
|
14505
16299
|
return {
|
|
14506
16300
|
...(input.CreationTimeAfter != null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) }),
|
|
@@ -14570,6 +16364,27 @@ const serializeAws_json1_1ListImageVersionsRequest = (input, context) => {
|
|
|
14570
16364
|
...(input.SortOrder != null && { SortOrder: input.SortOrder }),
|
|
14571
16365
|
};
|
|
14572
16366
|
};
|
|
16367
|
+
const serializeAws_json1_1ListInferenceExperimentsRequest = (input, context) => {
|
|
16368
|
+
return {
|
|
16369
|
+
...(input.CreationTimeAfter != null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) }),
|
|
16370
|
+
...(input.CreationTimeBefore != null && {
|
|
16371
|
+
CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
|
|
16372
|
+
}),
|
|
16373
|
+
...(input.LastModifiedTimeAfter != null && {
|
|
16374
|
+
LastModifiedTimeAfter: Math.round(input.LastModifiedTimeAfter.getTime() / 1000),
|
|
16375
|
+
}),
|
|
16376
|
+
...(input.LastModifiedTimeBefore != null && {
|
|
16377
|
+
LastModifiedTimeBefore: Math.round(input.LastModifiedTimeBefore.getTime() / 1000),
|
|
16378
|
+
}),
|
|
16379
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
16380
|
+
...(input.NameContains != null && { NameContains: input.NameContains }),
|
|
16381
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
16382
|
+
...(input.SortBy != null && { SortBy: input.SortBy }),
|
|
16383
|
+
...(input.SortOrder != null && { SortOrder: input.SortOrder }),
|
|
16384
|
+
...(input.StatusEquals != null && { StatusEquals: input.StatusEquals }),
|
|
16385
|
+
...(input.Type != null && { Type: input.Type }),
|
|
16386
|
+
};
|
|
16387
|
+
};
|
|
14573
16388
|
const serializeAws_json1_1ListInferenceRecommendationsJobsRequest = (input, context) => {
|
|
14574
16389
|
return {
|
|
14575
16390
|
...(input.CreationTimeAfter != null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) }),
|
|
@@ -14664,6 +16479,52 @@ const serializeAws_json1_1ListModelBiasJobDefinitionsRequest = (input, context)
|
|
|
14664
16479
|
...(input.SortOrder != null && { SortOrder: input.SortOrder }),
|
|
14665
16480
|
};
|
|
14666
16481
|
};
|
|
16482
|
+
const serializeAws_json1_1ListModelCardExportJobsRequest = (input, context) => {
|
|
16483
|
+
return {
|
|
16484
|
+
...(input.CreationTimeAfter != null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) }),
|
|
16485
|
+
...(input.CreationTimeBefore != null && {
|
|
16486
|
+
CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
|
|
16487
|
+
}),
|
|
16488
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
16489
|
+
...(input.ModelCardExportJobNameContains != null && {
|
|
16490
|
+
ModelCardExportJobNameContains: input.ModelCardExportJobNameContains,
|
|
16491
|
+
}),
|
|
16492
|
+
...(input.ModelCardName != null && { ModelCardName: input.ModelCardName }),
|
|
16493
|
+
...(input.ModelCardVersion != null && { ModelCardVersion: input.ModelCardVersion }),
|
|
16494
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
16495
|
+
...(input.SortBy != null && { SortBy: input.SortBy }),
|
|
16496
|
+
...(input.SortOrder != null && { SortOrder: input.SortOrder }),
|
|
16497
|
+
...(input.StatusEquals != null && { StatusEquals: input.StatusEquals }),
|
|
16498
|
+
};
|
|
16499
|
+
};
|
|
16500
|
+
const serializeAws_json1_1ListModelCardsRequest = (input, context) => {
|
|
16501
|
+
return {
|
|
16502
|
+
...(input.CreationTimeAfter != null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) }),
|
|
16503
|
+
...(input.CreationTimeBefore != null && {
|
|
16504
|
+
CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
|
|
16505
|
+
}),
|
|
16506
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
16507
|
+
...(input.ModelCardStatus != null && { ModelCardStatus: input.ModelCardStatus }),
|
|
16508
|
+
...(input.NameContains != null && { NameContains: input.NameContains }),
|
|
16509
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
16510
|
+
...(input.SortBy != null && { SortBy: input.SortBy }),
|
|
16511
|
+
...(input.SortOrder != null && { SortOrder: input.SortOrder }),
|
|
16512
|
+
};
|
|
16513
|
+
};
|
|
16514
|
+
const serializeAws_json1_1ListModelCardVersionsRequest = (input, context) => {
|
|
16515
|
+
return {
|
|
16516
|
+
...(input.CreationTimeAfter != null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) }),
|
|
16517
|
+
...(input.CreationTimeBefore != null && {
|
|
16518
|
+
CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
|
|
16519
|
+
}),
|
|
16520
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
16521
|
+
...(input.ModelCardName != null && { ModelCardName: input.ModelCardName }),
|
|
16522
|
+
...(input.ModelCardStatus != null && { ModelCardStatus: input.ModelCardStatus }),
|
|
16523
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
16524
|
+
...(input.SortBy != null && { SortBy: input.SortBy }),
|
|
16525
|
+
...(input.SortOrder != null && { SortOrder: input.SortOrder }),
|
|
16526
|
+
};
|
|
16527
|
+
};
|
|
14667
16528
|
const serializeAws_json1_1ListModelExplainabilityJobDefinitionsRequest = (input, context) => {
|
|
14668
16529
|
return {
|
|
14669
16530
|
...(input.CreationTimeAfter != null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) }),
|
|
@@ -14743,6 +16604,28 @@ const serializeAws_json1_1ListModelsInput = (input, context) => {
|
|
|
14743
16604
|
...(input.SortOrder != null && { SortOrder: input.SortOrder }),
|
|
14744
16605
|
};
|
|
14745
16606
|
};
|
|
16607
|
+
const serializeAws_json1_1ListMonitoringAlertHistoryRequest = (input, context) => {
|
|
16608
|
+
return {
|
|
16609
|
+
...(input.CreationTimeAfter != null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) }),
|
|
16610
|
+
...(input.CreationTimeBefore != null && {
|
|
16611
|
+
CreationTimeBefore: Math.round(input.CreationTimeBefore.getTime() / 1000),
|
|
16612
|
+
}),
|
|
16613
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
16614
|
+
...(input.MonitoringAlertName != null && { MonitoringAlertName: input.MonitoringAlertName }),
|
|
16615
|
+
...(input.MonitoringScheduleName != null && { MonitoringScheduleName: input.MonitoringScheduleName }),
|
|
16616
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
16617
|
+
...(input.SortBy != null && { SortBy: input.SortBy }),
|
|
16618
|
+
...(input.SortOrder != null && { SortOrder: input.SortOrder }),
|
|
16619
|
+
...(input.StatusEquals != null && { StatusEquals: input.StatusEquals }),
|
|
16620
|
+
};
|
|
16621
|
+
};
|
|
16622
|
+
const serializeAws_json1_1ListMonitoringAlertsRequest = (input, context) => {
|
|
16623
|
+
return {
|
|
16624
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
16625
|
+
...(input.MonitoringScheduleName != null && { MonitoringScheduleName: input.MonitoringScheduleName }),
|
|
16626
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
16627
|
+
};
|
|
16628
|
+
};
|
|
14746
16629
|
const serializeAws_json1_1ListMonitoringExecutionsRequest = (input, context) => {
|
|
14747
16630
|
return {
|
|
14748
16631
|
...(input.CreationTimeAfter != null && { CreationTimeAfter: Math.round(input.CreationTimeAfter.getTime() / 1000) }),
|
|
@@ -14917,6 +16800,16 @@ const serializeAws_json1_1ListProjectsInput = (input, context) => {
|
|
|
14917
16800
|
...(input.SortOrder != null && { SortOrder: input.SortOrder }),
|
|
14918
16801
|
};
|
|
14919
16802
|
};
|
|
16803
|
+
const serializeAws_json1_1ListSpacesRequest = (input, context) => {
|
|
16804
|
+
return {
|
|
16805
|
+
...(input.DomainIdEquals != null && { DomainIdEquals: input.DomainIdEquals }),
|
|
16806
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
16807
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
16808
|
+
...(input.SortBy != null && { SortBy: input.SortBy }),
|
|
16809
|
+
...(input.SortOrder != null && { SortOrder: input.SortOrder }),
|
|
16810
|
+
...(input.SpaceNameContains != null && { SpaceNameContains: input.SpaceNameContains }),
|
|
16811
|
+
};
|
|
16812
|
+
};
|
|
14920
16813
|
const serializeAws_json1_1ListStageDevicesRequest = (input, context) => {
|
|
14921
16814
|
return {
|
|
14922
16815
|
...(input.EdgeDeploymentPlanName != null && { EdgeDeploymentPlanName: input.EdgeDeploymentPlanName }),
|
|
@@ -15148,6 +17041,16 @@ const serializeAws_json1_1ModelBiasJobInput = (input, context) => {
|
|
|
15148
17041
|
}),
|
|
15149
17042
|
};
|
|
15150
17043
|
};
|
|
17044
|
+
const serializeAws_json1_1ModelCardExportOutputConfig = (input, context) => {
|
|
17045
|
+
return {
|
|
17046
|
+
...(input.S3OutputPath != null && { S3OutputPath: input.S3OutputPath }),
|
|
17047
|
+
};
|
|
17048
|
+
};
|
|
17049
|
+
const serializeAws_json1_1ModelCardSecurityConfig = (input, context) => {
|
|
17050
|
+
return {
|
|
17051
|
+
...(input.KmsKeyId != null && { KmsKeyId: input.KmsKeyId }),
|
|
17052
|
+
};
|
|
17053
|
+
};
|
|
15151
17054
|
const serializeAws_json1_1ModelClientConfig = (input, context) => {
|
|
15152
17055
|
return {
|
|
15153
17056
|
...(input.InvocationsMaxRetries != null && { InvocationsMaxRetries: input.InvocationsMaxRetries }),
|
|
@@ -15195,6 +17098,14 @@ const serializeAws_json1_1ModelExplainabilityJobInput = (input, context) => {
|
|
|
15195
17098
|
}),
|
|
15196
17099
|
};
|
|
15197
17100
|
};
|
|
17101
|
+
const serializeAws_json1_1ModelInfrastructureConfig = (input, context) => {
|
|
17102
|
+
return {
|
|
17103
|
+
...(input.InfrastructureType != null && { InfrastructureType: input.InfrastructureType }),
|
|
17104
|
+
...(input.RealTimeInferenceConfig != null && {
|
|
17105
|
+
RealTimeInferenceConfig: serializeAws_json1_1RealTimeInferenceConfig(input.RealTimeInferenceConfig, context),
|
|
17106
|
+
}),
|
|
17107
|
+
};
|
|
17108
|
+
};
|
|
15198
17109
|
const serializeAws_json1_1ModelInput = (input, context) => {
|
|
15199
17110
|
return {
|
|
15200
17111
|
...(input.DataInputConfig != null && { DataInputConfig: input.DataInputConfig }),
|
|
@@ -15342,6 +17253,31 @@ const serializeAws_json1_1ModelQualityJobInput = (input, context) => {
|
|
|
15342
17253
|
}),
|
|
15343
17254
|
};
|
|
15344
17255
|
};
|
|
17256
|
+
const serializeAws_json1_1ModelVariantActionMap = (input, context) => {
|
|
17257
|
+
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
17258
|
+
if (value === null) {
|
|
17259
|
+
return acc;
|
|
17260
|
+
}
|
|
17261
|
+
acc[key] = value;
|
|
17262
|
+
return acc;
|
|
17263
|
+
}, {});
|
|
17264
|
+
};
|
|
17265
|
+
const serializeAws_json1_1ModelVariantConfig = (input, context) => {
|
|
17266
|
+
return {
|
|
17267
|
+
...(input.InfrastructureConfig != null && {
|
|
17268
|
+
InfrastructureConfig: serializeAws_json1_1ModelInfrastructureConfig(input.InfrastructureConfig, context),
|
|
17269
|
+
}),
|
|
17270
|
+
...(input.ModelName != null && { ModelName: input.ModelName }),
|
|
17271
|
+
...(input.VariantName != null && { VariantName: input.VariantName }),
|
|
17272
|
+
};
|
|
17273
|
+
};
|
|
17274
|
+
const serializeAws_json1_1ModelVariantConfigList = (input, context) => {
|
|
17275
|
+
return input
|
|
17276
|
+
.filter((e) => e != null)
|
|
17277
|
+
.map((entry) => {
|
|
17278
|
+
return serializeAws_json1_1ModelVariantConfig(entry, context);
|
|
17279
|
+
});
|
|
17280
|
+
};
|
|
15345
17281
|
const serializeAws_json1_1MonitoringAppSpecification = (input, context) => {
|
|
15346
17282
|
return {
|
|
15347
17283
|
...(input.ContainerArguments != null && {
|
|
@@ -15621,6 +17557,7 @@ const serializeAws_json1_1OfflineStoreConfig = (input, context) => {
|
|
|
15621
17557
|
...(input.S3StorageConfig != null && {
|
|
15622
17558
|
S3StorageConfig: serializeAws_json1_1S3StorageConfig(input.S3StorageConfig, context),
|
|
15623
17559
|
}),
|
|
17560
|
+
...(input.TableFormat != null && { TableFormat: input.TableFormat }),
|
|
15624
17561
|
};
|
|
15625
17562
|
};
|
|
15626
17563
|
const serializeAws_json1_1OidcConfig = (input, context) => {
|
|
@@ -16038,6 +17975,12 @@ const serializeAws_json1_1QueryTypes = (input, context) => {
|
|
|
16038
17975
|
return entry;
|
|
16039
17976
|
});
|
|
16040
17977
|
};
|
|
17978
|
+
const serializeAws_json1_1RealTimeInferenceConfig = (input, context) => {
|
|
17979
|
+
return {
|
|
17980
|
+
...(input.InstanceCount != null && { InstanceCount: input.InstanceCount }),
|
|
17981
|
+
...(input.InstanceType != null && { InstanceType: input.InstanceType }),
|
|
17982
|
+
};
|
|
17983
|
+
};
|
|
16041
17984
|
const serializeAws_json1_1RealtimeInferenceInstanceTypes = (input, context) => {
|
|
16042
17985
|
return input
|
|
16043
17986
|
.filter((e) => e != null)
|
|
@@ -16364,6 +18307,27 @@ const serializeAws_json1_1ServiceCatalogProvisioningUpdateDetails = (input, cont
|
|
|
16364
18307
|
}),
|
|
16365
18308
|
};
|
|
16366
18309
|
};
|
|
18310
|
+
const serializeAws_json1_1ShadowModeConfig = (input, context) => {
|
|
18311
|
+
return {
|
|
18312
|
+
...(input.ShadowModelVariants != null && {
|
|
18313
|
+
ShadowModelVariants: serializeAws_json1_1ShadowModelVariantConfigList(input.ShadowModelVariants, context),
|
|
18314
|
+
}),
|
|
18315
|
+
...(input.SourceModelVariantName != null && { SourceModelVariantName: input.SourceModelVariantName }),
|
|
18316
|
+
};
|
|
18317
|
+
};
|
|
18318
|
+
const serializeAws_json1_1ShadowModelVariantConfig = (input, context) => {
|
|
18319
|
+
return {
|
|
18320
|
+
...(input.SamplingPercentage != null && { SamplingPercentage: input.SamplingPercentage }),
|
|
18321
|
+
...(input.ShadowModelVariantName != null && { ShadowModelVariantName: input.ShadowModelVariantName }),
|
|
18322
|
+
};
|
|
18323
|
+
};
|
|
18324
|
+
const serializeAws_json1_1ShadowModelVariantConfigList = (input, context) => {
|
|
18325
|
+
return input
|
|
18326
|
+
.filter((e) => e != null)
|
|
18327
|
+
.map((entry) => {
|
|
18328
|
+
return serializeAws_json1_1ShadowModelVariantConfig(entry, context);
|
|
18329
|
+
});
|
|
18330
|
+
};
|
|
16367
18331
|
const serializeAws_json1_1SharingSettings = (input, context) => {
|
|
16368
18332
|
return {
|
|
16369
18333
|
...(input.NotebookOutputOption != null && { NotebookOutputOption: input.NotebookOutputOption }),
|
|
@@ -16401,12 +18365,27 @@ const serializeAws_json1_1SourceIpConfig = (input, context) => {
|
|
|
16401
18365
|
...(input.Cidrs != null && { Cidrs: serializeAws_json1_1Cidrs(input.Cidrs, context) }),
|
|
16402
18366
|
};
|
|
16403
18367
|
};
|
|
18368
|
+
const serializeAws_json1_1SpaceSettings = (input, context) => {
|
|
18369
|
+
return {
|
|
18370
|
+
...(input.JupyterServerAppSettings != null && {
|
|
18371
|
+
JupyterServerAppSettings: serializeAws_json1_1JupyterServerAppSettings(input.JupyterServerAppSettings, context),
|
|
18372
|
+
}),
|
|
18373
|
+
...(input.KernelGatewayAppSettings != null && {
|
|
18374
|
+
KernelGatewayAppSettings: serializeAws_json1_1KernelGatewayAppSettings(input.KernelGatewayAppSettings, context),
|
|
18375
|
+
}),
|
|
18376
|
+
};
|
|
18377
|
+
};
|
|
16404
18378
|
const serializeAws_json1_1StartEdgeDeploymentStageRequest = (input, context) => {
|
|
16405
18379
|
return {
|
|
16406
18380
|
...(input.EdgeDeploymentPlanName != null && { EdgeDeploymentPlanName: input.EdgeDeploymentPlanName }),
|
|
16407
18381
|
...(input.StageName != null && { StageName: input.StageName }),
|
|
16408
18382
|
};
|
|
16409
18383
|
};
|
|
18384
|
+
const serializeAws_json1_1StartInferenceExperimentRequest = (input, context) => {
|
|
18385
|
+
return {
|
|
18386
|
+
...(input.Name != null && { Name: input.Name }),
|
|
18387
|
+
};
|
|
18388
|
+
};
|
|
16410
18389
|
const serializeAws_json1_1StartMonitoringScheduleRequest = (input, context) => {
|
|
16411
18390
|
return {
|
|
16412
18391
|
...(input.MonitoringScheduleName != null && { MonitoringScheduleName: input.MonitoringScheduleName }),
|
|
@@ -16463,6 +18442,19 @@ const serializeAws_json1_1StopHyperParameterTuningJobRequest = (input, context)
|
|
|
16463
18442
|
}),
|
|
16464
18443
|
};
|
|
16465
18444
|
};
|
|
18445
|
+
const serializeAws_json1_1StopInferenceExperimentRequest = (input, context) => {
|
|
18446
|
+
return {
|
|
18447
|
+
...(input.DesiredModelVariants != null && {
|
|
18448
|
+
DesiredModelVariants: serializeAws_json1_1ModelVariantConfigList(input.DesiredModelVariants, context),
|
|
18449
|
+
}),
|
|
18450
|
+
...(input.DesiredState != null && { DesiredState: input.DesiredState }),
|
|
18451
|
+
...(input.ModelVariantActions != null && {
|
|
18452
|
+
ModelVariantActions: serializeAws_json1_1ModelVariantActionMap(input.ModelVariantActions, context),
|
|
18453
|
+
}),
|
|
18454
|
+
...(input.Name != null && { Name: input.Name }),
|
|
18455
|
+
...(input.Reason != null && { Reason: input.Reason }),
|
|
18456
|
+
};
|
|
18457
|
+
};
|
|
16466
18458
|
const serializeAws_json1_1StopInferenceRecommendationsJobRequest = (input, context) => {
|
|
16467
18459
|
return {
|
|
16468
18460
|
...(input.JobName != null && { JobName: input.JobName }),
|
|
@@ -16863,6 +18855,9 @@ const serializeAws_json1_1UpdateDevicesRequest = (input, context) => {
|
|
|
16863
18855
|
};
|
|
16864
18856
|
const serializeAws_json1_1UpdateDomainRequest = (input, context) => {
|
|
16865
18857
|
return {
|
|
18858
|
+
...(input.DefaultSpaceSettings != null && {
|
|
18859
|
+
DefaultSpaceSettings: serializeAws_json1_1DefaultSpaceSettings(input.DefaultSpaceSettings, context),
|
|
18860
|
+
}),
|
|
16866
18861
|
...(input.DefaultUserSettings != null && {
|
|
16867
18862
|
DefaultUserSettings: serializeAws_json1_1UserSettings(input.DefaultUserSettings, context),
|
|
16868
18863
|
}),
|
|
@@ -16922,6 +18917,16 @@ const serializeAws_json1_1UpdateFeatureMetadataRequest = (input, context) => {
|
|
|
16922
18917
|
}),
|
|
16923
18918
|
};
|
|
16924
18919
|
};
|
|
18920
|
+
const serializeAws_json1_1UpdateHubRequest = (input, context) => {
|
|
18921
|
+
return {
|
|
18922
|
+
...(input.HubDescription != null && { HubDescription: input.HubDescription }),
|
|
18923
|
+
...(input.HubDisplayName != null && { HubDisplayName: input.HubDisplayName }),
|
|
18924
|
+
...(input.HubName != null && { HubName: input.HubName }),
|
|
18925
|
+
...(input.HubSearchKeywords != null && {
|
|
18926
|
+
HubSearchKeywords: serializeAws_json1_1HubSearchKeywordList(input.HubSearchKeywords, context),
|
|
18927
|
+
}),
|
|
18928
|
+
};
|
|
18929
|
+
};
|
|
16925
18930
|
const serializeAws_json1_1UpdateImageRequest = (input, context) => {
|
|
16926
18931
|
return {
|
|
16927
18932
|
...(input.DeleteProperties != null && {
|
|
@@ -16933,6 +18938,31 @@ const serializeAws_json1_1UpdateImageRequest = (input, context) => {
|
|
|
16933
18938
|
...(input.RoleArn != null && { RoleArn: input.RoleArn }),
|
|
16934
18939
|
};
|
|
16935
18940
|
};
|
|
18941
|
+
const serializeAws_json1_1UpdateInferenceExperimentRequest = (input, context) => {
|
|
18942
|
+
return {
|
|
18943
|
+
...(input.DataStorageConfig != null && {
|
|
18944
|
+
DataStorageConfig: serializeAws_json1_1InferenceExperimentDataStorageConfig(input.DataStorageConfig, context),
|
|
18945
|
+
}),
|
|
18946
|
+
...(input.Description != null && { Description: input.Description }),
|
|
18947
|
+
...(input.ModelVariants != null && {
|
|
18948
|
+
ModelVariants: serializeAws_json1_1ModelVariantConfigList(input.ModelVariants, context),
|
|
18949
|
+
}),
|
|
18950
|
+
...(input.Name != null && { Name: input.Name }),
|
|
18951
|
+
...(input.Schedule != null && {
|
|
18952
|
+
Schedule: serializeAws_json1_1InferenceExperimentSchedule(input.Schedule, context),
|
|
18953
|
+
}),
|
|
18954
|
+
...(input.ShadowModeConfig != null && {
|
|
18955
|
+
ShadowModeConfig: serializeAws_json1_1ShadowModeConfig(input.ShadowModeConfig, context),
|
|
18956
|
+
}),
|
|
18957
|
+
};
|
|
18958
|
+
};
|
|
18959
|
+
const serializeAws_json1_1UpdateModelCardRequest = (input, context) => {
|
|
18960
|
+
return {
|
|
18961
|
+
...(input.Content != null && { Content: input.Content }),
|
|
18962
|
+
...(input.ModelCardName != null && { ModelCardName: input.ModelCardName }),
|
|
18963
|
+
...(input.ModelCardStatus != null && { ModelCardStatus: input.ModelCardStatus }),
|
|
18964
|
+
};
|
|
18965
|
+
};
|
|
16936
18966
|
const serializeAws_json1_1UpdateModelPackageInput = (input, context) => {
|
|
16937
18967
|
return {
|
|
16938
18968
|
...(input.AdditionalInferenceSpecificationsToAdd != null && {
|
|
@@ -16949,6 +18979,14 @@ const serializeAws_json1_1UpdateModelPackageInput = (input, context) => {
|
|
|
16949
18979
|
...(input.ModelPackageArn != null && { ModelPackageArn: input.ModelPackageArn }),
|
|
16950
18980
|
};
|
|
16951
18981
|
};
|
|
18982
|
+
const serializeAws_json1_1UpdateMonitoringAlertRequest = (input, context) => {
|
|
18983
|
+
return {
|
|
18984
|
+
...(input.DatapointsToAlert != null && { DatapointsToAlert: input.DatapointsToAlert }),
|
|
18985
|
+
...(input.EvaluationPeriod != null && { EvaluationPeriod: input.EvaluationPeriod }),
|
|
18986
|
+
...(input.MonitoringAlertName != null && { MonitoringAlertName: input.MonitoringAlertName }),
|
|
18987
|
+
...(input.MonitoringScheduleName != null && { MonitoringScheduleName: input.MonitoringScheduleName }),
|
|
18988
|
+
};
|
|
18989
|
+
};
|
|
16952
18990
|
const serializeAws_json1_1UpdateMonitoringScheduleRequest = (input, context) => {
|
|
16953
18991
|
return {
|
|
16954
18992
|
...(input.MonitoringScheduleConfig != null && {
|
|
@@ -17041,6 +19079,15 @@ const serializeAws_json1_1UpdateProjectInput = (input, context) => {
|
|
|
17041
19079
|
...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
|
|
17042
19080
|
};
|
|
17043
19081
|
};
|
|
19082
|
+
const serializeAws_json1_1UpdateSpaceRequest = (input, context) => {
|
|
19083
|
+
return {
|
|
19084
|
+
...(input.DomainId != null && { DomainId: input.DomainId }),
|
|
19085
|
+
...(input.SpaceName != null && { SpaceName: input.SpaceName }),
|
|
19086
|
+
...(input.SpaceSettings != null && {
|
|
19087
|
+
SpaceSettings: serializeAws_json1_1SpaceSettings(input.SpaceSettings, context),
|
|
19088
|
+
}),
|
|
19089
|
+
};
|
|
19090
|
+
};
|
|
17044
19091
|
const serializeAws_json1_1UpdateTrainingJobRequest = (input, context) => {
|
|
17045
19092
|
return {
|
|
17046
19093
|
...(input.ProfilerConfig != null && {
|
|
@@ -17435,6 +19482,7 @@ const deserializeAws_json1_1AppDetails = (output, context) => {
|
|
|
17435
19482
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
17436
19483
|
: undefined,
|
|
17437
19484
|
DomainId: (0, smithy_client_1.expectString)(output.DomainId),
|
|
19485
|
+
SpaceName: (0, smithy_client_1.expectString)(output.SpaceName),
|
|
17438
19486
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
17439
19487
|
UserProfileName: (0, smithy_client_1.expectString)(output.UserProfileName),
|
|
17440
19488
|
};
|
|
@@ -17751,6 +19799,11 @@ const deserializeAws_json1_1AutoMLJobObjective = (output, context) => {
|
|
|
17751
19799
|
MetricName: (0, smithy_client_1.expectString)(output.MetricName),
|
|
17752
19800
|
};
|
|
17753
19801
|
};
|
|
19802
|
+
const deserializeAws_json1_1AutoMLJobStepMetadata = (output, context) => {
|
|
19803
|
+
return {
|
|
19804
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
19805
|
+
};
|
|
19806
|
+
};
|
|
17754
19807
|
const deserializeAws_json1_1AutoMLJobSummaries = (output, context) => {
|
|
17755
19808
|
const retVal = (output || [])
|
|
17756
19809
|
.filter((e) => e != null)
|
|
@@ -18186,6 +20239,22 @@ const deserializeAws_json1_1ClarifyTextConfig = (output, context) => {
|
|
|
18186
20239
|
Language: (0, smithy_client_1.expectString)(output.Language),
|
|
18187
20240
|
};
|
|
18188
20241
|
};
|
|
20242
|
+
const deserializeAws_json1_1CodeRepositories = (output, context) => {
|
|
20243
|
+
const retVal = (output || [])
|
|
20244
|
+
.filter((e) => e != null)
|
|
20245
|
+
.map((entry) => {
|
|
20246
|
+
if (entry === null) {
|
|
20247
|
+
return null;
|
|
20248
|
+
}
|
|
20249
|
+
return deserializeAws_json1_1CodeRepository(entry, context);
|
|
20250
|
+
});
|
|
20251
|
+
return retVal;
|
|
20252
|
+
};
|
|
20253
|
+
const deserializeAws_json1_1CodeRepository = (output, context) => {
|
|
20254
|
+
return {
|
|
20255
|
+
RepositoryUrl: (0, smithy_client_1.expectString)(output.RepositoryUrl),
|
|
20256
|
+
};
|
|
20257
|
+
};
|
|
18189
20258
|
const deserializeAws_json1_1CodeRepositorySummary = (output, context) => {
|
|
18190
20259
|
return {
|
|
18191
20260
|
CodeRepositoryArn: (0, smithy_client_1.expectString)(output.CodeRepositoryArn),
|
|
@@ -18519,6 +20588,11 @@ const deserializeAws_json1_1CreateFlowDefinitionResponse = (output, context) =>
|
|
|
18519
20588
|
FlowDefinitionArn: (0, smithy_client_1.expectString)(output.FlowDefinitionArn),
|
|
18520
20589
|
};
|
|
18521
20590
|
};
|
|
20591
|
+
const deserializeAws_json1_1CreateHubResponse = (output, context) => {
|
|
20592
|
+
return {
|
|
20593
|
+
HubArn: (0, smithy_client_1.expectString)(output.HubArn),
|
|
20594
|
+
};
|
|
20595
|
+
};
|
|
18522
20596
|
const deserializeAws_json1_1CreateHumanTaskUiResponse = (output, context) => {
|
|
18523
20597
|
return {
|
|
18524
20598
|
HumanTaskUiArn: (0, smithy_client_1.expectString)(output.HumanTaskUiArn),
|
|
@@ -18539,6 +20613,11 @@ const deserializeAws_json1_1CreateImageVersionResponse = (output, context) => {
|
|
|
18539
20613
|
ImageVersionArn: (0, smithy_client_1.expectString)(output.ImageVersionArn),
|
|
18540
20614
|
};
|
|
18541
20615
|
};
|
|
20616
|
+
const deserializeAws_json1_1CreateInferenceExperimentResponse = (output, context) => {
|
|
20617
|
+
return {
|
|
20618
|
+
InferenceExperimentArn: (0, smithy_client_1.expectString)(output.InferenceExperimentArn),
|
|
20619
|
+
};
|
|
20620
|
+
};
|
|
18542
20621
|
const deserializeAws_json1_1CreateInferenceRecommendationsJobResponse = (output, context) => {
|
|
18543
20622
|
return {
|
|
18544
20623
|
JobArn: (0, smithy_client_1.expectString)(output.JobArn),
|
|
@@ -18554,6 +20633,16 @@ const deserializeAws_json1_1CreateModelBiasJobDefinitionResponse = (output, cont
|
|
|
18554
20633
|
JobDefinitionArn: (0, smithy_client_1.expectString)(output.JobDefinitionArn),
|
|
18555
20634
|
};
|
|
18556
20635
|
};
|
|
20636
|
+
const deserializeAws_json1_1CreateModelCardExportJobResponse = (output, context) => {
|
|
20637
|
+
return {
|
|
20638
|
+
ModelCardExportJobArn: (0, smithy_client_1.expectString)(output.ModelCardExportJobArn),
|
|
20639
|
+
};
|
|
20640
|
+
};
|
|
20641
|
+
const deserializeAws_json1_1CreateModelCardResponse = (output, context) => {
|
|
20642
|
+
return {
|
|
20643
|
+
ModelCardArn: (0, smithy_client_1.expectString)(output.ModelCardArn),
|
|
20644
|
+
};
|
|
20645
|
+
};
|
|
18557
20646
|
const deserializeAws_json1_1CreateModelExplainabilityJobDefinitionResponse = (output, context) => {
|
|
18558
20647
|
return {
|
|
18559
20648
|
JobDefinitionArn: (0, smithy_client_1.expectString)(output.JobDefinitionArn),
|
|
@@ -18620,6 +20709,11 @@ const deserializeAws_json1_1CreateProjectOutput = (output, context) => {
|
|
|
18620
20709
|
ProjectId: (0, smithy_client_1.expectString)(output.ProjectId),
|
|
18621
20710
|
};
|
|
18622
20711
|
};
|
|
20712
|
+
const deserializeAws_json1_1CreateSpaceResponse = (output, context) => {
|
|
20713
|
+
return {
|
|
20714
|
+
SpaceArn: (0, smithy_client_1.expectString)(output.SpaceArn),
|
|
20715
|
+
};
|
|
20716
|
+
};
|
|
18623
20717
|
const deserializeAws_json1_1CreateStudioLifecycleConfigResponse = (output, context) => {
|
|
18624
20718
|
return {
|
|
18625
20719
|
StudioLifecycleConfigArn: (0, smithy_client_1.expectString)(output.StudioLifecycleConfigArn),
|
|
@@ -18845,6 +20939,20 @@ const deserializeAws_json1_1DebugRuleEvaluationStatuses = (output, context) => {
|
|
|
18845
20939
|
});
|
|
18846
20940
|
return retVal;
|
|
18847
20941
|
};
|
|
20942
|
+
const deserializeAws_json1_1DefaultSpaceSettings = (output, context) => {
|
|
20943
|
+
return {
|
|
20944
|
+
ExecutionRole: (0, smithy_client_1.expectString)(output.ExecutionRole),
|
|
20945
|
+
JupyterServerAppSettings: output.JupyterServerAppSettings != null
|
|
20946
|
+
? deserializeAws_json1_1JupyterServerAppSettings(output.JupyterServerAppSettings, context)
|
|
20947
|
+
: undefined,
|
|
20948
|
+
KernelGatewayAppSettings: output.KernelGatewayAppSettings != null
|
|
20949
|
+
? deserializeAws_json1_1KernelGatewayAppSettings(output.KernelGatewayAppSettings, context)
|
|
20950
|
+
: undefined,
|
|
20951
|
+
SecurityGroups: output.SecurityGroups != null
|
|
20952
|
+
? deserializeAws_json1_1SecurityGroupIds(output.SecurityGroups, context)
|
|
20953
|
+
: undefined,
|
|
20954
|
+
};
|
|
20955
|
+
};
|
|
18848
20956
|
const deserializeAws_json1_1DeleteActionResponse = (output, context) => {
|
|
18849
20957
|
return {
|
|
18850
20958
|
ActionArn: (0, smithy_client_1.expectString)(output.ActionArn),
|
|
@@ -18883,6 +20991,11 @@ const deserializeAws_json1_1DeleteImageResponse = (output, context) => {
|
|
|
18883
20991
|
const deserializeAws_json1_1DeleteImageVersionResponse = (output, context) => {
|
|
18884
20992
|
return {};
|
|
18885
20993
|
};
|
|
20994
|
+
const deserializeAws_json1_1DeleteInferenceExperimentResponse = (output, context) => {
|
|
20995
|
+
return {
|
|
20996
|
+
InferenceExperimentArn: (0, smithy_client_1.expectString)(output.InferenceExperimentArn),
|
|
20997
|
+
};
|
|
20998
|
+
};
|
|
18886
20999
|
const deserializeAws_json1_1DeletePipelineResponse = (output, context) => {
|
|
18887
21000
|
return {
|
|
18888
21001
|
PipelineArn: (0, smithy_client_1.expectString)(output.PipelineArn),
|
|
@@ -19044,6 +21157,7 @@ const deserializeAws_json1_1DescribeAppResponse = (output, context) => {
|
|
|
19044
21157
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUserActivityTimestamp)))
|
|
19045
21158
|
: undefined,
|
|
19046
21159
|
ResourceSpec: output.ResourceSpec != null ? deserializeAws_json1_1ResourceSpec(output.ResourceSpec, context) : undefined,
|
|
21160
|
+
SpaceName: (0, smithy_client_1.expectString)(output.SpaceName),
|
|
19047
21161
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
19048
21162
|
UserProfileName: (0, smithy_client_1.expectString)(output.UserProfileName),
|
|
19049
21163
|
};
|
|
@@ -19251,6 +21365,9 @@ const deserializeAws_json1_1DescribeDomainResponse = (output, context) => {
|
|
|
19251
21365
|
CreationTime: output.CreationTime != null
|
|
19252
21366
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
19253
21367
|
: undefined,
|
|
21368
|
+
DefaultSpaceSettings: output.DefaultSpaceSettings != null
|
|
21369
|
+
? deserializeAws_json1_1DefaultSpaceSettings(output.DefaultSpaceSettings, context)
|
|
21370
|
+
: undefined,
|
|
19254
21371
|
DefaultUserSettings: output.DefaultUserSettings != null
|
|
19255
21372
|
? deserializeAws_json1_1UserSettings(output.DefaultUserSettings, context)
|
|
19256
21373
|
: undefined,
|
|
@@ -19339,6 +21456,9 @@ const deserializeAws_json1_1DescribeEndpointConfigOutput = (output, context) =>
|
|
|
19339
21456
|
ProductionVariants: output.ProductionVariants != null
|
|
19340
21457
|
? deserializeAws_json1_1ProductionVariantList(output.ProductionVariants, context)
|
|
19341
21458
|
: undefined,
|
|
21459
|
+
ShadowProductionVariants: output.ShadowProductionVariants != null
|
|
21460
|
+
? deserializeAws_json1_1ProductionVariantList(output.ShadowProductionVariants, context)
|
|
21461
|
+
: undefined,
|
|
19342
21462
|
};
|
|
19343
21463
|
};
|
|
19344
21464
|
const deserializeAws_json1_1DescribeEndpointOutput = (output, context) => {
|
|
@@ -19372,6 +21492,9 @@ const deserializeAws_json1_1DescribeEndpointOutput = (output, context) => {
|
|
|
19372
21492
|
ProductionVariants: output.ProductionVariants != null
|
|
19373
21493
|
? deserializeAws_json1_1ProductionVariantSummaryList(output.ProductionVariants, context)
|
|
19374
21494
|
: undefined,
|
|
21495
|
+
ShadowProductionVariants: output.ShadowProductionVariants != null
|
|
21496
|
+
? deserializeAws_json1_1ProductionVariantSummaryList(output.ShadowProductionVariants, context)
|
|
21497
|
+
: undefined,
|
|
19375
21498
|
};
|
|
19376
21499
|
};
|
|
19377
21500
|
const deserializeAws_json1_1DescribeExperimentResponse = (output, context) => {
|
|
@@ -19466,6 +21589,54 @@ const deserializeAws_json1_1DescribeFlowDefinitionResponse = (output, context) =
|
|
|
19466
21589
|
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
19467
21590
|
};
|
|
19468
21591
|
};
|
|
21592
|
+
const deserializeAws_json1_1DescribeHubContentResponse = (output, context) => {
|
|
21593
|
+
return {
|
|
21594
|
+
CreationTime: output.CreationTime != null
|
|
21595
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
21596
|
+
: undefined,
|
|
21597
|
+
DocumentSchemaVersion: (0, smithy_client_1.expectString)(output.DocumentSchemaVersion),
|
|
21598
|
+
FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
|
|
21599
|
+
HubArn: (0, smithy_client_1.expectString)(output.HubArn),
|
|
21600
|
+
HubContentArn: (0, smithy_client_1.expectString)(output.HubContentArn),
|
|
21601
|
+
HubContentDependencies: output.HubContentDependencies != null
|
|
21602
|
+
? deserializeAws_json1_1HubContentDependencyList(output.HubContentDependencies, context)
|
|
21603
|
+
: undefined,
|
|
21604
|
+
HubContentDescription: (0, smithy_client_1.expectString)(output.HubContentDescription),
|
|
21605
|
+
HubContentDisplayName: (0, smithy_client_1.expectString)(output.HubContentDisplayName),
|
|
21606
|
+
HubContentDocument: (0, smithy_client_1.expectString)(output.HubContentDocument),
|
|
21607
|
+
HubContentMarkdown: (0, smithy_client_1.expectString)(output.HubContentMarkdown),
|
|
21608
|
+
HubContentName: (0, smithy_client_1.expectString)(output.HubContentName),
|
|
21609
|
+
HubContentSearchKeywords: output.HubContentSearchKeywords != null
|
|
21610
|
+
? deserializeAws_json1_1HubContentSearchKeywordList(output.HubContentSearchKeywords, context)
|
|
21611
|
+
: undefined,
|
|
21612
|
+
HubContentStatus: (0, smithy_client_1.expectString)(output.HubContentStatus),
|
|
21613
|
+
HubContentType: (0, smithy_client_1.expectString)(output.HubContentType),
|
|
21614
|
+
HubContentVersion: (0, smithy_client_1.expectString)(output.HubContentVersion),
|
|
21615
|
+
HubName: (0, smithy_client_1.expectString)(output.HubName),
|
|
21616
|
+
};
|
|
21617
|
+
};
|
|
21618
|
+
const deserializeAws_json1_1DescribeHubResponse = (output, context) => {
|
|
21619
|
+
return {
|
|
21620
|
+
CreationTime: output.CreationTime != null
|
|
21621
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
21622
|
+
: undefined,
|
|
21623
|
+
FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
|
|
21624
|
+
HubArn: (0, smithy_client_1.expectString)(output.HubArn),
|
|
21625
|
+
HubDescription: (0, smithy_client_1.expectString)(output.HubDescription),
|
|
21626
|
+
HubDisplayName: (0, smithy_client_1.expectString)(output.HubDisplayName),
|
|
21627
|
+
HubName: (0, smithy_client_1.expectString)(output.HubName),
|
|
21628
|
+
HubSearchKeywords: output.HubSearchKeywords != null
|
|
21629
|
+
? deserializeAws_json1_1HubSearchKeywordList(output.HubSearchKeywords, context)
|
|
21630
|
+
: undefined,
|
|
21631
|
+
HubStatus: (0, smithy_client_1.expectString)(output.HubStatus),
|
|
21632
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
21633
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
21634
|
+
: undefined,
|
|
21635
|
+
S3StorageConfig: output.S3StorageConfig != null
|
|
21636
|
+
? deserializeAws_json1_1HubS3StorageConfig(output.S3StorageConfig, context)
|
|
21637
|
+
: undefined,
|
|
21638
|
+
};
|
|
21639
|
+
};
|
|
19469
21640
|
const deserializeAws_json1_1DescribeHumanTaskUiResponse = (output, context) => {
|
|
19470
21641
|
return {
|
|
19471
21642
|
CreationTime: output.CreationTime != null
|
|
@@ -19552,6 +21723,40 @@ const deserializeAws_json1_1DescribeImageVersionResponse = (output, context) =>
|
|
|
19552
21723
|
Version: (0, smithy_client_1.expectInt32)(output.Version),
|
|
19553
21724
|
};
|
|
19554
21725
|
};
|
|
21726
|
+
const deserializeAws_json1_1DescribeInferenceExperimentResponse = (output, context) => {
|
|
21727
|
+
return {
|
|
21728
|
+
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
21729
|
+
CompletionTime: output.CompletionTime != null
|
|
21730
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CompletionTime)))
|
|
21731
|
+
: undefined,
|
|
21732
|
+
CreationTime: output.CreationTime != null
|
|
21733
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
21734
|
+
: undefined,
|
|
21735
|
+
DataStorageConfig: output.DataStorageConfig != null
|
|
21736
|
+
? deserializeAws_json1_1InferenceExperimentDataStorageConfig(output.DataStorageConfig, context)
|
|
21737
|
+
: undefined,
|
|
21738
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
21739
|
+
EndpointMetadata: output.EndpointMetadata != null
|
|
21740
|
+
? deserializeAws_json1_1EndpointMetadata(output.EndpointMetadata, context)
|
|
21741
|
+
: undefined,
|
|
21742
|
+
KmsKey: (0, smithy_client_1.expectString)(output.KmsKey),
|
|
21743
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
21744
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
21745
|
+
: undefined,
|
|
21746
|
+
ModelVariants: output.ModelVariants != null
|
|
21747
|
+
? deserializeAws_json1_1ModelVariantConfigSummaryList(output.ModelVariants, context)
|
|
21748
|
+
: undefined,
|
|
21749
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
21750
|
+
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
21751
|
+
Schedule: output.Schedule != null ? deserializeAws_json1_1InferenceExperimentSchedule(output.Schedule, context) : undefined,
|
|
21752
|
+
ShadowModeConfig: output.ShadowModeConfig != null
|
|
21753
|
+
? deserializeAws_json1_1ShadowModeConfig(output.ShadowModeConfig, context)
|
|
21754
|
+
: undefined,
|
|
21755
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
21756
|
+
StatusReason: (0, smithy_client_1.expectString)(output.StatusReason),
|
|
21757
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
21758
|
+
};
|
|
21759
|
+
};
|
|
19555
21760
|
const deserializeAws_json1_1DescribeInferenceRecommendationsJobResponse = (output, context) => {
|
|
19556
21761
|
return {
|
|
19557
21762
|
CompletionTime: output.CompletionTime != null
|
|
@@ -19667,6 +21872,47 @@ const deserializeAws_json1_1DescribeModelBiasJobDefinitionResponse = (output, co
|
|
|
19667
21872
|
: undefined,
|
|
19668
21873
|
};
|
|
19669
21874
|
};
|
|
21875
|
+
const deserializeAws_json1_1DescribeModelCardExportJobResponse = (output, context) => {
|
|
21876
|
+
return {
|
|
21877
|
+
CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt))) : undefined,
|
|
21878
|
+
ExportArtifacts: output.ExportArtifacts != null
|
|
21879
|
+
? deserializeAws_json1_1ModelCardExportArtifacts(output.ExportArtifacts, context)
|
|
21880
|
+
: undefined,
|
|
21881
|
+
FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
|
|
21882
|
+
LastModifiedAt: output.LastModifiedAt != null
|
|
21883
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedAt)))
|
|
21884
|
+
: undefined,
|
|
21885
|
+
ModelCardExportJobArn: (0, smithy_client_1.expectString)(output.ModelCardExportJobArn),
|
|
21886
|
+
ModelCardExportJobName: (0, smithy_client_1.expectString)(output.ModelCardExportJobName),
|
|
21887
|
+
ModelCardName: (0, smithy_client_1.expectString)(output.ModelCardName),
|
|
21888
|
+
ModelCardVersion: (0, smithy_client_1.expectInt32)(output.ModelCardVersion),
|
|
21889
|
+
OutputConfig: output.OutputConfig != null
|
|
21890
|
+
? deserializeAws_json1_1ModelCardExportOutputConfig(output.OutputConfig, context)
|
|
21891
|
+
: undefined,
|
|
21892
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
21893
|
+
};
|
|
21894
|
+
};
|
|
21895
|
+
const deserializeAws_json1_1DescribeModelCardResponse = (output, context) => {
|
|
21896
|
+
return {
|
|
21897
|
+
Content: (0, smithy_client_1.expectString)(output.Content),
|
|
21898
|
+
CreatedBy: output.CreatedBy != null ? deserializeAws_json1_1UserContext(output.CreatedBy, context) : undefined,
|
|
21899
|
+
CreationTime: output.CreationTime != null
|
|
21900
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
21901
|
+
: undefined,
|
|
21902
|
+
LastModifiedBy: output.LastModifiedBy != null ? deserializeAws_json1_1UserContext(output.LastModifiedBy, context) : undefined,
|
|
21903
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
21904
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
21905
|
+
: undefined,
|
|
21906
|
+
ModelCardArn: (0, smithy_client_1.expectString)(output.ModelCardArn),
|
|
21907
|
+
ModelCardName: (0, smithy_client_1.expectString)(output.ModelCardName),
|
|
21908
|
+
ModelCardProcessingStatus: (0, smithy_client_1.expectString)(output.ModelCardProcessingStatus),
|
|
21909
|
+
ModelCardStatus: (0, smithy_client_1.expectString)(output.ModelCardStatus),
|
|
21910
|
+
ModelCardVersion: (0, smithy_client_1.expectInt32)(output.ModelCardVersion),
|
|
21911
|
+
SecurityConfig: output.SecurityConfig != null
|
|
21912
|
+
? deserializeAws_json1_1ModelCardSecurityConfig(output.SecurityConfig, context)
|
|
21913
|
+
: undefined,
|
|
21914
|
+
};
|
|
21915
|
+
};
|
|
19670
21916
|
const deserializeAws_json1_1DescribeModelExplainabilityJobDefinitionResponse = (output, context) => {
|
|
19671
21917
|
return {
|
|
19672
21918
|
CreationTime: output.CreationTime != null
|
|
@@ -20010,6 +22256,23 @@ const deserializeAws_json1_1DescribeProjectOutput = (output, context) => {
|
|
|
20010
22256
|
: undefined,
|
|
20011
22257
|
};
|
|
20012
22258
|
};
|
|
22259
|
+
const deserializeAws_json1_1DescribeSpaceResponse = (output, context) => {
|
|
22260
|
+
return {
|
|
22261
|
+
CreationTime: output.CreationTime != null
|
|
22262
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
22263
|
+
: undefined,
|
|
22264
|
+
DomainId: (0, smithy_client_1.expectString)(output.DomainId),
|
|
22265
|
+
FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
|
|
22266
|
+
HomeEfsFileSystemUid: (0, smithy_client_1.expectString)(output.HomeEfsFileSystemUid),
|
|
22267
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
22268
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
22269
|
+
: undefined,
|
|
22270
|
+
SpaceArn: (0, smithy_client_1.expectString)(output.SpaceArn),
|
|
22271
|
+
SpaceName: (0, smithy_client_1.expectString)(output.SpaceName),
|
|
22272
|
+
SpaceSettings: output.SpaceSettings != null ? deserializeAws_json1_1SpaceSettings(output.SpaceSettings, context) : undefined,
|
|
22273
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
22274
|
+
};
|
|
22275
|
+
};
|
|
20013
22276
|
const deserializeAws_json1_1DescribeStudioLifecycleConfigResponse = (output, context) => {
|
|
20014
22277
|
return {
|
|
20015
22278
|
CreationTime: output.CreationTime != null
|
|
@@ -20186,6 +22449,7 @@ const deserializeAws_json1_1DescribeTrialComponentResponse = (output, context) =
|
|
|
20186
22449
|
? deserializeAws_json1_1TrialComponentParameters(output.Parameters, context)
|
|
20187
22450
|
: undefined,
|
|
20188
22451
|
Source: output.Source != null ? deserializeAws_json1_1TrialComponentSource(output.Source, context) : undefined,
|
|
22452
|
+
Sources: output.Sources != null ? deserializeAws_json1_1TrialComponentSources(output.Sources, context) : undefined,
|
|
20189
22453
|
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime))) : undefined,
|
|
20190
22454
|
Status: output.Status != null ? deserializeAws_json1_1TrialComponentStatus(output.Status, context) : undefined,
|
|
20191
22455
|
TrialComponentArn: (0, smithy_client_1.expectString)(output.TrialComponentArn),
|
|
@@ -20661,6 +22925,9 @@ const deserializeAws_json1_1Endpoint = (output, context) => {
|
|
|
20661
22925
|
ProductionVariants: output.ProductionVariants != null
|
|
20662
22926
|
? deserializeAws_json1_1ProductionVariantSummaryList(output.ProductionVariants, context)
|
|
20663
22927
|
: undefined,
|
|
22928
|
+
ShadowProductionVariants: output.ShadowProductionVariants != null
|
|
22929
|
+
? deserializeAws_json1_1ProductionVariantSummaryList(output.ShadowProductionVariants, context)
|
|
22930
|
+
: undefined,
|
|
20664
22931
|
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
20665
22932
|
};
|
|
20666
22933
|
};
|
|
@@ -20723,6 +22990,14 @@ const deserializeAws_json1_1EndpointInputConfigurations = (output, context) => {
|
|
|
20723
22990
|
});
|
|
20724
22991
|
return retVal;
|
|
20725
22992
|
};
|
|
22993
|
+
const deserializeAws_json1_1EndpointMetadata = (output, context) => {
|
|
22994
|
+
return {
|
|
22995
|
+
EndpointConfigName: (0, smithy_client_1.expectString)(output.EndpointConfigName),
|
|
22996
|
+
EndpointName: (0, smithy_client_1.expectString)(output.EndpointName),
|
|
22997
|
+
EndpointStatus: (0, smithy_client_1.expectString)(output.EndpointStatus),
|
|
22998
|
+
FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
|
|
22999
|
+
};
|
|
23000
|
+
};
|
|
20726
23001
|
const deserializeAws_json1_1EndpointOutputConfiguration = (output, context) => {
|
|
20727
23002
|
return {
|
|
20728
23003
|
EndpointName: (0, smithy_client_1.expectString)(output.EndpointName),
|
|
@@ -20838,6 +23113,7 @@ const deserializeAws_json1_1Experiment = (output, context) => {
|
|
|
20838
23113
|
const deserializeAws_json1_1ExperimentConfig = (output, context) => {
|
|
20839
23114
|
return {
|
|
20840
23115
|
ExperimentName: (0, smithy_client_1.expectString)(output.ExperimentName),
|
|
23116
|
+
RunName: (0, smithy_client_1.expectString)(output.RunName),
|
|
20841
23117
|
TrialComponentDisplayName: (0, smithy_client_1.expectString)(output.TrialComponentDisplayName),
|
|
20842
23118
|
TrialName: (0, smithy_client_1.expectString)(output.TrialName),
|
|
20843
23119
|
};
|
|
@@ -21123,14 +23399,125 @@ const deserializeAws_json1_1GetSearchSuggestionsResponse = (output, context) =>
|
|
|
21123
23399
|
: undefined,
|
|
21124
23400
|
};
|
|
21125
23401
|
};
|
|
21126
|
-
const deserializeAws_json1_1GitConfig = (output, context) => {
|
|
23402
|
+
const deserializeAws_json1_1GitConfig = (output, context) => {
|
|
23403
|
+
return {
|
|
23404
|
+
Branch: (0, smithy_client_1.expectString)(output.Branch),
|
|
23405
|
+
RepositoryUrl: (0, smithy_client_1.expectString)(output.RepositoryUrl),
|
|
23406
|
+
SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
|
|
23407
|
+
};
|
|
23408
|
+
};
|
|
23409
|
+
const deserializeAws_json1_1Groups = (output, context) => {
|
|
23410
|
+
const retVal = (output || [])
|
|
23411
|
+
.filter((e) => e != null)
|
|
23412
|
+
.map((entry) => {
|
|
23413
|
+
if (entry === null) {
|
|
23414
|
+
return null;
|
|
23415
|
+
}
|
|
23416
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
23417
|
+
});
|
|
23418
|
+
return retVal;
|
|
23419
|
+
};
|
|
23420
|
+
const deserializeAws_json1_1HookParameters = (output, context) => {
|
|
23421
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
23422
|
+
if (value === null) {
|
|
23423
|
+
return acc;
|
|
23424
|
+
}
|
|
23425
|
+
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
23426
|
+
return acc;
|
|
23427
|
+
}, {});
|
|
23428
|
+
};
|
|
23429
|
+
const deserializeAws_json1_1HubContentDependency = (output, context) => {
|
|
23430
|
+
return {
|
|
23431
|
+
DependencyCopyPath: (0, smithy_client_1.expectString)(output.DependencyCopyPath),
|
|
23432
|
+
DependencyOriginPath: (0, smithy_client_1.expectString)(output.DependencyOriginPath),
|
|
23433
|
+
};
|
|
23434
|
+
};
|
|
23435
|
+
const deserializeAws_json1_1HubContentDependencyList = (output, context) => {
|
|
23436
|
+
const retVal = (output || [])
|
|
23437
|
+
.filter((e) => e != null)
|
|
23438
|
+
.map((entry) => {
|
|
23439
|
+
if (entry === null) {
|
|
23440
|
+
return null;
|
|
23441
|
+
}
|
|
23442
|
+
return deserializeAws_json1_1HubContentDependency(entry, context);
|
|
23443
|
+
});
|
|
23444
|
+
return retVal;
|
|
23445
|
+
};
|
|
23446
|
+
const deserializeAws_json1_1HubContentInfo = (output, context) => {
|
|
23447
|
+
return {
|
|
23448
|
+
CreationTime: output.CreationTime != null
|
|
23449
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
23450
|
+
: undefined,
|
|
23451
|
+
DocumentSchemaVersion: (0, smithy_client_1.expectString)(output.DocumentSchemaVersion),
|
|
23452
|
+
HubContentArn: (0, smithy_client_1.expectString)(output.HubContentArn),
|
|
23453
|
+
HubContentDescription: (0, smithy_client_1.expectString)(output.HubContentDescription),
|
|
23454
|
+
HubContentDisplayName: (0, smithy_client_1.expectString)(output.HubContentDisplayName),
|
|
23455
|
+
HubContentName: (0, smithy_client_1.expectString)(output.HubContentName),
|
|
23456
|
+
HubContentSearchKeywords: output.HubContentSearchKeywords != null
|
|
23457
|
+
? deserializeAws_json1_1HubContentSearchKeywordList(output.HubContentSearchKeywords, context)
|
|
23458
|
+
: undefined,
|
|
23459
|
+
HubContentStatus: (0, smithy_client_1.expectString)(output.HubContentStatus),
|
|
23460
|
+
HubContentType: (0, smithy_client_1.expectString)(output.HubContentType),
|
|
23461
|
+
HubContentVersion: (0, smithy_client_1.expectString)(output.HubContentVersion),
|
|
23462
|
+
};
|
|
23463
|
+
};
|
|
23464
|
+
const deserializeAws_json1_1HubContentInfoList = (output, context) => {
|
|
23465
|
+
const retVal = (output || [])
|
|
23466
|
+
.filter((e) => e != null)
|
|
23467
|
+
.map((entry) => {
|
|
23468
|
+
if (entry === null) {
|
|
23469
|
+
return null;
|
|
23470
|
+
}
|
|
23471
|
+
return deserializeAws_json1_1HubContentInfo(entry, context);
|
|
23472
|
+
});
|
|
23473
|
+
return retVal;
|
|
23474
|
+
};
|
|
23475
|
+
const deserializeAws_json1_1HubContentSearchKeywordList = (output, context) => {
|
|
23476
|
+
const retVal = (output || [])
|
|
23477
|
+
.filter((e) => e != null)
|
|
23478
|
+
.map((entry) => {
|
|
23479
|
+
if (entry === null) {
|
|
23480
|
+
return null;
|
|
23481
|
+
}
|
|
23482
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
23483
|
+
});
|
|
23484
|
+
return retVal;
|
|
23485
|
+
};
|
|
23486
|
+
const deserializeAws_json1_1HubInfo = (output, context) => {
|
|
23487
|
+
return {
|
|
23488
|
+
CreationTime: output.CreationTime != null
|
|
23489
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
23490
|
+
: undefined,
|
|
23491
|
+
HubArn: (0, smithy_client_1.expectString)(output.HubArn),
|
|
23492
|
+
HubDescription: (0, smithy_client_1.expectString)(output.HubDescription),
|
|
23493
|
+
HubDisplayName: (0, smithy_client_1.expectString)(output.HubDisplayName),
|
|
23494
|
+
HubName: (0, smithy_client_1.expectString)(output.HubName),
|
|
23495
|
+
HubSearchKeywords: output.HubSearchKeywords != null
|
|
23496
|
+
? deserializeAws_json1_1HubSearchKeywordList(output.HubSearchKeywords, context)
|
|
23497
|
+
: undefined,
|
|
23498
|
+
HubStatus: (0, smithy_client_1.expectString)(output.HubStatus),
|
|
23499
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
23500
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
23501
|
+
: undefined,
|
|
23502
|
+
};
|
|
23503
|
+
};
|
|
23504
|
+
const deserializeAws_json1_1HubInfoList = (output, context) => {
|
|
23505
|
+
const retVal = (output || [])
|
|
23506
|
+
.filter((e) => e != null)
|
|
23507
|
+
.map((entry) => {
|
|
23508
|
+
if (entry === null) {
|
|
23509
|
+
return null;
|
|
23510
|
+
}
|
|
23511
|
+
return deserializeAws_json1_1HubInfo(entry, context);
|
|
23512
|
+
});
|
|
23513
|
+
return retVal;
|
|
23514
|
+
};
|
|
23515
|
+
const deserializeAws_json1_1HubS3StorageConfig = (output, context) => {
|
|
21127
23516
|
return {
|
|
21128
|
-
|
|
21129
|
-
RepositoryUrl: (0, smithy_client_1.expectString)(output.RepositoryUrl),
|
|
21130
|
-
SecretArn: (0, smithy_client_1.expectString)(output.SecretArn),
|
|
23517
|
+
S3OutputPath: (0, smithy_client_1.expectString)(output.S3OutputPath),
|
|
21131
23518
|
};
|
|
21132
23519
|
};
|
|
21133
|
-
const
|
|
23520
|
+
const deserializeAws_json1_1HubSearchKeywordList = (output, context) => {
|
|
21134
23521
|
const retVal = (output || [])
|
|
21135
23522
|
.filter((e) => e != null)
|
|
21136
23523
|
.map((entry) => {
|
|
@@ -21141,15 +23528,6 @@ const deserializeAws_json1_1Groups = (output, context) => {
|
|
|
21141
23528
|
});
|
|
21142
23529
|
return retVal;
|
|
21143
23530
|
};
|
|
21144
|
-
const deserializeAws_json1_1HookParameters = (output, context) => {
|
|
21145
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
21146
|
-
if (value === null) {
|
|
21147
|
-
return acc;
|
|
21148
|
-
}
|
|
21149
|
-
acc[key] = (0, smithy_client_1.expectString)(value);
|
|
21150
|
-
return acc;
|
|
21151
|
-
}, {});
|
|
21152
|
-
};
|
|
21153
23531
|
const deserializeAws_json1_1HumanLoopActivationConditionsConfig = (output, context) => {
|
|
21154
23532
|
return {
|
|
21155
23533
|
HumanLoopActivationConditions: output.HumanLoopActivationConditions != null
|
|
@@ -21579,11 +23957,63 @@ const deserializeAws_json1_1ImageVersions = (output, context) => {
|
|
|
21579
23957
|
});
|
|
21580
23958
|
return retVal;
|
|
21581
23959
|
};
|
|
23960
|
+
const deserializeAws_json1_1ImportHubContentResponse = (output, context) => {
|
|
23961
|
+
return {
|
|
23962
|
+
HubArn: (0, smithy_client_1.expectString)(output.HubArn),
|
|
23963
|
+
HubContentArn: (0, smithy_client_1.expectString)(output.HubContentArn),
|
|
23964
|
+
};
|
|
23965
|
+
};
|
|
21582
23966
|
const deserializeAws_json1_1InferenceExecutionConfig = (output, context) => {
|
|
21583
23967
|
return {
|
|
21584
23968
|
Mode: (0, smithy_client_1.expectString)(output.Mode),
|
|
21585
23969
|
};
|
|
21586
23970
|
};
|
|
23971
|
+
const deserializeAws_json1_1InferenceExperimentDataStorageConfig = (output, context) => {
|
|
23972
|
+
return {
|
|
23973
|
+
ContentType: output.ContentType != null
|
|
23974
|
+
? deserializeAws_json1_1CaptureContentTypeHeader(output.ContentType, context)
|
|
23975
|
+
: undefined,
|
|
23976
|
+
Destination: (0, smithy_client_1.expectString)(output.Destination),
|
|
23977
|
+
KmsKey: (0, smithy_client_1.expectString)(output.KmsKey),
|
|
23978
|
+
};
|
|
23979
|
+
};
|
|
23980
|
+
const deserializeAws_json1_1InferenceExperimentList = (output, context) => {
|
|
23981
|
+
const retVal = (output || [])
|
|
23982
|
+
.filter((e) => e != null)
|
|
23983
|
+
.map((entry) => {
|
|
23984
|
+
if (entry === null) {
|
|
23985
|
+
return null;
|
|
23986
|
+
}
|
|
23987
|
+
return deserializeAws_json1_1InferenceExperimentSummary(entry, context);
|
|
23988
|
+
});
|
|
23989
|
+
return retVal;
|
|
23990
|
+
};
|
|
23991
|
+
const deserializeAws_json1_1InferenceExperimentSchedule = (output, context) => {
|
|
23992
|
+
return {
|
|
23993
|
+
EndTime: output.EndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.EndTime))) : undefined,
|
|
23994
|
+
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime))) : undefined,
|
|
23995
|
+
};
|
|
23996
|
+
};
|
|
23997
|
+
const deserializeAws_json1_1InferenceExperimentSummary = (output, context) => {
|
|
23998
|
+
return {
|
|
23999
|
+
CompletionTime: output.CompletionTime != null
|
|
24000
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CompletionTime)))
|
|
24001
|
+
: undefined,
|
|
24002
|
+
CreationTime: output.CreationTime != null
|
|
24003
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
24004
|
+
: undefined,
|
|
24005
|
+
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
24006
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
24007
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
24008
|
+
: undefined,
|
|
24009
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
24010
|
+
RoleArn: (0, smithy_client_1.expectString)(output.RoleArn),
|
|
24011
|
+
Schedule: output.Schedule != null ? deserializeAws_json1_1InferenceExperimentSchedule(output.Schedule, context) : undefined,
|
|
24012
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
24013
|
+
StatusReason: (0, smithy_client_1.expectString)(output.StatusReason),
|
|
24014
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
24015
|
+
};
|
|
24016
|
+
};
|
|
21587
24017
|
const deserializeAws_json1_1InferenceMetrics = (output, context) => {
|
|
21588
24018
|
return {
|
|
21589
24019
|
MaxInvocations: (0, smithy_client_1.expectInt32)(output.MaxInvocations),
|
|
@@ -21785,6 +24215,9 @@ const deserializeAws_json1_1JsonContentTypes = (output, context) => {
|
|
|
21785
24215
|
};
|
|
21786
24216
|
const deserializeAws_json1_1JupyterServerAppSettings = (output, context) => {
|
|
21787
24217
|
return {
|
|
24218
|
+
CodeRepositories: output.CodeRepositories != null
|
|
24219
|
+
? deserializeAws_json1_1CodeRepositories(output.CodeRepositories, context)
|
|
24220
|
+
: undefined,
|
|
21788
24221
|
DefaultResourceSpec: output.DefaultResourceSpec != null
|
|
21789
24222
|
? deserializeAws_json1_1ResourceSpec(output.DefaultResourceSpec, context)
|
|
21790
24223
|
: undefined,
|
|
@@ -22200,6 +24633,28 @@ const deserializeAws_json1_1ListFlowDefinitionsResponse = (output, context) => {
|
|
|
22200
24633
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
22201
24634
|
};
|
|
22202
24635
|
};
|
|
24636
|
+
const deserializeAws_json1_1ListHubContentsResponse = (output, context) => {
|
|
24637
|
+
return {
|
|
24638
|
+
HubContentSummaries: output.HubContentSummaries != null
|
|
24639
|
+
? deserializeAws_json1_1HubContentInfoList(output.HubContentSummaries, context)
|
|
24640
|
+
: undefined,
|
|
24641
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
24642
|
+
};
|
|
24643
|
+
};
|
|
24644
|
+
const deserializeAws_json1_1ListHubContentVersionsResponse = (output, context) => {
|
|
24645
|
+
return {
|
|
24646
|
+
HubContentSummaries: output.HubContentSummaries != null
|
|
24647
|
+
? deserializeAws_json1_1HubContentInfoList(output.HubContentSummaries, context)
|
|
24648
|
+
: undefined,
|
|
24649
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
24650
|
+
};
|
|
24651
|
+
};
|
|
24652
|
+
const deserializeAws_json1_1ListHubsResponse = (output, context) => {
|
|
24653
|
+
return {
|
|
24654
|
+
HubSummaries: output.HubSummaries != null ? deserializeAws_json1_1HubInfoList(output.HubSummaries, context) : undefined,
|
|
24655
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
24656
|
+
};
|
|
24657
|
+
};
|
|
22203
24658
|
const deserializeAws_json1_1ListHumanTaskUisResponse = (output, context) => {
|
|
22204
24659
|
return {
|
|
22205
24660
|
HumanTaskUiSummaries: output.HumanTaskUiSummaries != null
|
|
@@ -22228,6 +24683,14 @@ const deserializeAws_json1_1ListImageVersionsResponse = (output, context) => {
|
|
|
22228
24683
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
22229
24684
|
};
|
|
22230
24685
|
};
|
|
24686
|
+
const deserializeAws_json1_1ListInferenceExperimentsResponse = (output, context) => {
|
|
24687
|
+
return {
|
|
24688
|
+
InferenceExperiments: output.InferenceExperiments != null
|
|
24689
|
+
? deserializeAws_json1_1InferenceExperimentList(output.InferenceExperiments, context)
|
|
24690
|
+
: undefined,
|
|
24691
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
24692
|
+
};
|
|
24693
|
+
};
|
|
22231
24694
|
const deserializeAws_json1_1ListInferenceRecommendationsJobsResponse = (output, context) => {
|
|
22232
24695
|
return {
|
|
22233
24696
|
InferenceRecommendationsJobs: output.InferenceRecommendationsJobs != null
|
|
@@ -22274,6 +24737,30 @@ const deserializeAws_json1_1ListModelBiasJobDefinitionsResponse = (output, conte
|
|
|
22274
24737
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
22275
24738
|
};
|
|
22276
24739
|
};
|
|
24740
|
+
const deserializeAws_json1_1ListModelCardExportJobsResponse = (output, context) => {
|
|
24741
|
+
return {
|
|
24742
|
+
ModelCardExportJobSummaries: output.ModelCardExportJobSummaries != null
|
|
24743
|
+
? deserializeAws_json1_1ModelCardExportJobSummaryList(output.ModelCardExportJobSummaries, context)
|
|
24744
|
+
: undefined,
|
|
24745
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
24746
|
+
};
|
|
24747
|
+
};
|
|
24748
|
+
const deserializeAws_json1_1ListModelCardsResponse = (output, context) => {
|
|
24749
|
+
return {
|
|
24750
|
+
ModelCardSummaries: output.ModelCardSummaries != null
|
|
24751
|
+
? deserializeAws_json1_1ModelCardSummaryList(output.ModelCardSummaries, context)
|
|
24752
|
+
: undefined,
|
|
24753
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
24754
|
+
};
|
|
24755
|
+
};
|
|
24756
|
+
const deserializeAws_json1_1ListModelCardVersionsResponse = (output, context) => {
|
|
24757
|
+
return {
|
|
24758
|
+
ModelCardVersionSummaryList: output.ModelCardVersionSummaryList != null
|
|
24759
|
+
? deserializeAws_json1_1ModelCardVersionSummaryList(output.ModelCardVersionSummaryList, context)
|
|
24760
|
+
: undefined,
|
|
24761
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
24762
|
+
};
|
|
24763
|
+
};
|
|
22277
24764
|
const deserializeAws_json1_1ListModelExplainabilityJobDefinitionsResponse = (output, context) => {
|
|
22278
24765
|
return {
|
|
22279
24766
|
JobDefinitionSummaries: output.JobDefinitionSummaries != null
|
|
@@ -22320,6 +24807,22 @@ const deserializeAws_json1_1ListModelsOutput = (output, context) => {
|
|
|
22320
24807
|
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
22321
24808
|
};
|
|
22322
24809
|
};
|
|
24810
|
+
const deserializeAws_json1_1ListMonitoringAlertHistoryResponse = (output, context) => {
|
|
24811
|
+
return {
|
|
24812
|
+
MonitoringAlertHistory: output.MonitoringAlertHistory != null
|
|
24813
|
+
? deserializeAws_json1_1MonitoringAlertHistoryList(output.MonitoringAlertHistory, context)
|
|
24814
|
+
: undefined,
|
|
24815
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
24816
|
+
};
|
|
24817
|
+
};
|
|
24818
|
+
const deserializeAws_json1_1ListMonitoringAlertsResponse = (output, context) => {
|
|
24819
|
+
return {
|
|
24820
|
+
MonitoringAlertSummaries: output.MonitoringAlertSummaries != null
|
|
24821
|
+
? deserializeAws_json1_1MonitoringAlertSummaryList(output.MonitoringAlertSummaries, context)
|
|
24822
|
+
: undefined,
|
|
24823
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
24824
|
+
};
|
|
24825
|
+
};
|
|
22323
24826
|
const deserializeAws_json1_1ListMonitoringExecutionsResponse = (output, context) => {
|
|
22324
24827
|
return {
|
|
22325
24828
|
MonitoringExecutionSummaries: output.MonitoringExecutionSummaries != null
|
|
@@ -22400,6 +24903,12 @@ const deserializeAws_json1_1ListProjectsOutput = (output, context) => {
|
|
|
22400
24903
|
: undefined,
|
|
22401
24904
|
};
|
|
22402
24905
|
};
|
|
24906
|
+
const deserializeAws_json1_1ListSpacesResponse = (output, context) => {
|
|
24907
|
+
return {
|
|
24908
|
+
NextToken: (0, smithy_client_1.expectString)(output.NextToken),
|
|
24909
|
+
Spaces: output.Spaces != null ? deserializeAws_json1_1SpaceList(output.Spaces, context) : undefined,
|
|
24910
|
+
};
|
|
24911
|
+
};
|
|
22403
24912
|
const deserializeAws_json1_1ListStageDevicesResponse = (output, context) => {
|
|
22404
24913
|
return {
|
|
22405
24914
|
DeviceDeploymentSummaries: output.DeviceDeploymentSummaries != null
|
|
@@ -22522,96 +25031,327 @@ const deserializeAws_json1_1MetricData = (output, context) => {
|
|
|
22522
25031
|
Value: (0, smithy_client_1.limitedParseFloat32)(output.Value),
|
|
22523
25032
|
};
|
|
22524
25033
|
};
|
|
22525
|
-
const deserializeAws_json1_1MetricDataList = (output, context) => {
|
|
25034
|
+
const deserializeAws_json1_1MetricDataList = (output, context) => {
|
|
25035
|
+
const retVal = (output || [])
|
|
25036
|
+
.filter((e) => e != null)
|
|
25037
|
+
.map((entry) => {
|
|
25038
|
+
if (entry === null) {
|
|
25039
|
+
return null;
|
|
25040
|
+
}
|
|
25041
|
+
return deserializeAws_json1_1MetricDatum(entry, context);
|
|
25042
|
+
});
|
|
25043
|
+
return retVal;
|
|
25044
|
+
};
|
|
25045
|
+
const deserializeAws_json1_1MetricDatum = (output, context) => {
|
|
25046
|
+
return {
|
|
25047
|
+
MetricName: (0, smithy_client_1.expectString)(output.MetricName),
|
|
25048
|
+
Set: (0, smithy_client_1.expectString)(output.Set),
|
|
25049
|
+
StandardMetricName: (0, smithy_client_1.expectString)(output.StandardMetricName),
|
|
25050
|
+
Value: (0, smithy_client_1.limitedParseFloat32)(output.Value),
|
|
25051
|
+
};
|
|
25052
|
+
};
|
|
25053
|
+
const deserializeAws_json1_1MetricDefinition = (output, context) => {
|
|
25054
|
+
return {
|
|
25055
|
+
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
25056
|
+
Regex: (0, smithy_client_1.expectString)(output.Regex),
|
|
25057
|
+
};
|
|
25058
|
+
};
|
|
25059
|
+
const deserializeAws_json1_1MetricDefinitionList = (output, context) => {
|
|
25060
|
+
const retVal = (output || [])
|
|
25061
|
+
.filter((e) => e != null)
|
|
25062
|
+
.map((entry) => {
|
|
25063
|
+
if (entry === null) {
|
|
25064
|
+
return null;
|
|
25065
|
+
}
|
|
25066
|
+
return deserializeAws_json1_1MetricDefinition(entry, context);
|
|
25067
|
+
});
|
|
25068
|
+
return retVal;
|
|
25069
|
+
};
|
|
25070
|
+
const deserializeAws_json1_1MetricsSource = (output, context) => {
|
|
25071
|
+
return {
|
|
25072
|
+
ContentDigest: (0, smithy_client_1.expectString)(output.ContentDigest),
|
|
25073
|
+
ContentType: (0, smithy_client_1.expectString)(output.ContentType),
|
|
25074
|
+
S3Uri: (0, smithy_client_1.expectString)(output.S3Uri),
|
|
25075
|
+
};
|
|
25076
|
+
};
|
|
25077
|
+
const deserializeAws_json1_1Model = (output, context) => {
|
|
25078
|
+
return {
|
|
25079
|
+
Containers: output.Containers != null ? deserializeAws_json1_1ContainerDefinitionList(output.Containers, context) : undefined,
|
|
25080
|
+
CreationTime: output.CreationTime != null
|
|
25081
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
25082
|
+
: undefined,
|
|
25083
|
+
EnableNetworkIsolation: (0, smithy_client_1.expectBoolean)(output.EnableNetworkIsolation),
|
|
25084
|
+
ExecutionRoleArn: (0, smithy_client_1.expectString)(output.ExecutionRoleArn),
|
|
25085
|
+
InferenceExecutionConfig: output.InferenceExecutionConfig != null
|
|
25086
|
+
? deserializeAws_json1_1InferenceExecutionConfig(output.InferenceExecutionConfig, context)
|
|
25087
|
+
: undefined,
|
|
25088
|
+
ModelArn: (0, smithy_client_1.expectString)(output.ModelArn),
|
|
25089
|
+
ModelName: (0, smithy_client_1.expectString)(output.ModelName),
|
|
25090
|
+
PrimaryContainer: output.PrimaryContainer != null
|
|
25091
|
+
? deserializeAws_json1_1ContainerDefinition(output.PrimaryContainer, context)
|
|
25092
|
+
: undefined,
|
|
25093
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
25094
|
+
VpcConfig: output.VpcConfig != null ? deserializeAws_json1_1VpcConfig(output.VpcConfig, context) : undefined,
|
|
25095
|
+
};
|
|
25096
|
+
};
|
|
25097
|
+
const deserializeAws_json1_1ModelArtifacts = (output, context) => {
|
|
25098
|
+
return {
|
|
25099
|
+
S3ModelArtifacts: (0, smithy_client_1.expectString)(output.S3ModelArtifacts),
|
|
25100
|
+
};
|
|
25101
|
+
};
|
|
25102
|
+
const deserializeAws_json1_1ModelBiasAppSpecification = (output, context) => {
|
|
25103
|
+
return {
|
|
25104
|
+
ConfigUri: (0, smithy_client_1.expectString)(output.ConfigUri),
|
|
25105
|
+
Environment: output.Environment != null
|
|
25106
|
+
? deserializeAws_json1_1MonitoringEnvironmentMap(output.Environment, context)
|
|
25107
|
+
: undefined,
|
|
25108
|
+
ImageUri: (0, smithy_client_1.expectString)(output.ImageUri),
|
|
25109
|
+
};
|
|
25110
|
+
};
|
|
25111
|
+
const deserializeAws_json1_1ModelBiasBaselineConfig = (output, context) => {
|
|
25112
|
+
return {
|
|
25113
|
+
BaseliningJobName: (0, smithy_client_1.expectString)(output.BaseliningJobName),
|
|
25114
|
+
ConstraintsResource: output.ConstraintsResource != null
|
|
25115
|
+
? deserializeAws_json1_1MonitoringConstraintsResource(output.ConstraintsResource, context)
|
|
25116
|
+
: undefined,
|
|
25117
|
+
};
|
|
25118
|
+
};
|
|
25119
|
+
const deserializeAws_json1_1ModelBiasJobInput = (output, context) => {
|
|
25120
|
+
return {
|
|
25121
|
+
BatchTransformInput: output.BatchTransformInput != null
|
|
25122
|
+
? deserializeAws_json1_1BatchTransformInput(output.BatchTransformInput, context)
|
|
25123
|
+
: undefined,
|
|
25124
|
+
EndpointInput: output.EndpointInput != null ? deserializeAws_json1_1EndpointInput(output.EndpointInput, context) : undefined,
|
|
25125
|
+
GroundTruthS3Input: output.GroundTruthS3Input != null
|
|
25126
|
+
? deserializeAws_json1_1MonitoringGroundTruthS3Input(output.GroundTruthS3Input, context)
|
|
25127
|
+
: undefined,
|
|
25128
|
+
};
|
|
25129
|
+
};
|
|
25130
|
+
const deserializeAws_json1_1ModelCard = (output, context) => {
|
|
25131
|
+
return {
|
|
25132
|
+
Content: (0, smithy_client_1.expectString)(output.Content),
|
|
25133
|
+
CreatedBy: output.CreatedBy != null ? deserializeAws_json1_1UserContext(output.CreatedBy, context) : undefined,
|
|
25134
|
+
CreationTime: output.CreationTime != null
|
|
25135
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
25136
|
+
: undefined,
|
|
25137
|
+
LastModifiedBy: output.LastModifiedBy != null ? deserializeAws_json1_1UserContext(output.LastModifiedBy, context) : undefined,
|
|
25138
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
25139
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
25140
|
+
: undefined,
|
|
25141
|
+
ModelCardArn: (0, smithy_client_1.expectString)(output.ModelCardArn),
|
|
25142
|
+
ModelCardName: (0, smithy_client_1.expectString)(output.ModelCardName),
|
|
25143
|
+
ModelCardStatus: (0, smithy_client_1.expectString)(output.ModelCardStatus),
|
|
25144
|
+
ModelCardVersion: (0, smithy_client_1.expectInt32)(output.ModelCardVersion),
|
|
25145
|
+
ModelId: (0, smithy_client_1.expectString)(output.ModelId),
|
|
25146
|
+
RiskRating: (0, smithy_client_1.expectString)(output.RiskRating),
|
|
25147
|
+
SecurityConfig: output.SecurityConfig != null
|
|
25148
|
+
? deserializeAws_json1_1ModelCardSecurityConfig(output.SecurityConfig, context)
|
|
25149
|
+
: undefined,
|
|
25150
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
25151
|
+
};
|
|
25152
|
+
};
|
|
25153
|
+
const deserializeAws_json1_1ModelCardExportArtifacts = (output, context) => {
|
|
25154
|
+
return {
|
|
25155
|
+
S3ExportArtifacts: (0, smithy_client_1.expectString)(output.S3ExportArtifacts),
|
|
25156
|
+
};
|
|
25157
|
+
};
|
|
25158
|
+
const deserializeAws_json1_1ModelCardExportJobSummary = (output, context) => {
|
|
25159
|
+
return {
|
|
25160
|
+
CreatedAt: output.CreatedAt != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreatedAt))) : undefined,
|
|
25161
|
+
LastModifiedAt: output.LastModifiedAt != null
|
|
25162
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedAt)))
|
|
25163
|
+
: undefined,
|
|
25164
|
+
ModelCardExportJobArn: (0, smithy_client_1.expectString)(output.ModelCardExportJobArn),
|
|
25165
|
+
ModelCardExportJobName: (0, smithy_client_1.expectString)(output.ModelCardExportJobName),
|
|
25166
|
+
ModelCardName: (0, smithy_client_1.expectString)(output.ModelCardName),
|
|
25167
|
+
ModelCardVersion: (0, smithy_client_1.expectInt32)(output.ModelCardVersion),
|
|
25168
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
25169
|
+
};
|
|
25170
|
+
};
|
|
25171
|
+
const deserializeAws_json1_1ModelCardExportJobSummaryList = (output, context) => {
|
|
25172
|
+
const retVal = (output || [])
|
|
25173
|
+
.filter((e) => e != null)
|
|
25174
|
+
.map((entry) => {
|
|
25175
|
+
if (entry === null) {
|
|
25176
|
+
return null;
|
|
25177
|
+
}
|
|
25178
|
+
return deserializeAws_json1_1ModelCardExportJobSummary(entry, context);
|
|
25179
|
+
});
|
|
25180
|
+
return retVal;
|
|
25181
|
+
};
|
|
25182
|
+
const deserializeAws_json1_1ModelCardExportOutputConfig = (output, context) => {
|
|
25183
|
+
return {
|
|
25184
|
+
S3OutputPath: (0, smithy_client_1.expectString)(output.S3OutputPath),
|
|
25185
|
+
};
|
|
25186
|
+
};
|
|
25187
|
+
const deserializeAws_json1_1ModelCardSecurityConfig = (output, context) => {
|
|
25188
|
+
return {
|
|
25189
|
+
KmsKeyId: (0, smithy_client_1.expectString)(output.KmsKeyId),
|
|
25190
|
+
};
|
|
25191
|
+
};
|
|
25192
|
+
const deserializeAws_json1_1ModelCardSummary = (output, context) => {
|
|
25193
|
+
return {
|
|
25194
|
+
CreationTime: output.CreationTime != null
|
|
25195
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
25196
|
+
: undefined,
|
|
25197
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
25198
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
25199
|
+
: undefined,
|
|
25200
|
+
ModelCardArn: (0, smithy_client_1.expectString)(output.ModelCardArn),
|
|
25201
|
+
ModelCardName: (0, smithy_client_1.expectString)(output.ModelCardName),
|
|
25202
|
+
ModelCardStatus: (0, smithy_client_1.expectString)(output.ModelCardStatus),
|
|
25203
|
+
};
|
|
25204
|
+
};
|
|
25205
|
+
const deserializeAws_json1_1ModelCardSummaryList = (output, context) => {
|
|
22526
25206
|
const retVal = (output || [])
|
|
22527
25207
|
.filter((e) => e != null)
|
|
22528
25208
|
.map((entry) => {
|
|
22529
25209
|
if (entry === null) {
|
|
22530
25210
|
return null;
|
|
22531
25211
|
}
|
|
22532
|
-
return
|
|
25212
|
+
return deserializeAws_json1_1ModelCardSummary(entry, context);
|
|
22533
25213
|
});
|
|
22534
25214
|
return retVal;
|
|
22535
25215
|
};
|
|
22536
|
-
const
|
|
22537
|
-
return {
|
|
22538
|
-
MetricName: (0, smithy_client_1.expectString)(output.MetricName),
|
|
22539
|
-
Set: (0, smithy_client_1.expectString)(output.Set),
|
|
22540
|
-
StandardMetricName: (0, smithy_client_1.expectString)(output.StandardMetricName),
|
|
22541
|
-
Value: (0, smithy_client_1.limitedParseFloat32)(output.Value),
|
|
22542
|
-
};
|
|
22543
|
-
};
|
|
22544
|
-
const deserializeAws_json1_1MetricDefinition = (output, context) => {
|
|
25216
|
+
const deserializeAws_json1_1ModelCardVersionSummary = (output, context) => {
|
|
22545
25217
|
return {
|
|
22546
|
-
|
|
22547
|
-
|
|
25218
|
+
CreationTime: output.CreationTime != null
|
|
25219
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
25220
|
+
: undefined,
|
|
25221
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
25222
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
25223
|
+
: undefined,
|
|
25224
|
+
ModelCardArn: (0, smithy_client_1.expectString)(output.ModelCardArn),
|
|
25225
|
+
ModelCardName: (0, smithy_client_1.expectString)(output.ModelCardName),
|
|
25226
|
+
ModelCardStatus: (0, smithy_client_1.expectString)(output.ModelCardStatus),
|
|
25227
|
+
ModelCardVersion: (0, smithy_client_1.expectInt32)(output.ModelCardVersion),
|
|
22548
25228
|
};
|
|
22549
25229
|
};
|
|
22550
|
-
const
|
|
25230
|
+
const deserializeAws_json1_1ModelCardVersionSummaryList = (output, context) => {
|
|
22551
25231
|
const retVal = (output || [])
|
|
22552
25232
|
.filter((e) => e != null)
|
|
22553
25233
|
.map((entry) => {
|
|
22554
25234
|
if (entry === null) {
|
|
22555
25235
|
return null;
|
|
22556
25236
|
}
|
|
22557
|
-
return
|
|
25237
|
+
return deserializeAws_json1_1ModelCardVersionSummary(entry, context);
|
|
22558
25238
|
});
|
|
22559
25239
|
return retVal;
|
|
22560
25240
|
};
|
|
22561
|
-
const
|
|
25241
|
+
const deserializeAws_json1_1ModelClientConfig = (output, context) => {
|
|
22562
25242
|
return {
|
|
22563
|
-
|
|
22564
|
-
|
|
22565
|
-
S3Uri: (0, smithy_client_1.expectString)(output.S3Uri),
|
|
25243
|
+
InvocationsMaxRetries: (0, smithy_client_1.expectInt32)(output.InvocationsMaxRetries),
|
|
25244
|
+
InvocationsTimeoutInSeconds: (0, smithy_client_1.expectInt32)(output.InvocationsTimeoutInSeconds),
|
|
22566
25245
|
};
|
|
22567
25246
|
};
|
|
22568
|
-
const
|
|
25247
|
+
const deserializeAws_json1_1ModelConfiguration = (output, context) => {
|
|
22569
25248
|
return {
|
|
22570
|
-
|
|
25249
|
+
EnvironmentParameters: output.EnvironmentParameters != null
|
|
25250
|
+
? deserializeAws_json1_1EnvironmentParameters(output.EnvironmentParameters, context)
|
|
25251
|
+
: undefined,
|
|
25252
|
+
InferenceSpecificationName: (0, smithy_client_1.expectString)(output.InferenceSpecificationName),
|
|
22571
25253
|
};
|
|
22572
25254
|
};
|
|
22573
|
-
const
|
|
25255
|
+
const deserializeAws_json1_1ModelDashboardEndpoint = (output, context) => {
|
|
22574
25256
|
return {
|
|
22575
|
-
|
|
22576
|
-
|
|
22577
|
-
|
|
25257
|
+
CreationTime: output.CreationTime != null
|
|
25258
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
25259
|
+
: undefined,
|
|
25260
|
+
EndpointArn: (0, smithy_client_1.expectString)(output.EndpointArn),
|
|
25261
|
+
EndpointName: (0, smithy_client_1.expectString)(output.EndpointName),
|
|
25262
|
+
EndpointStatus: (0, smithy_client_1.expectString)(output.EndpointStatus),
|
|
25263
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
25264
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
22578
25265
|
: undefined,
|
|
22579
|
-
ImageUri: (0, smithy_client_1.expectString)(output.ImageUri),
|
|
22580
25266
|
};
|
|
22581
25267
|
};
|
|
22582
|
-
const
|
|
25268
|
+
const deserializeAws_json1_1ModelDashboardEndpoints = (output, context) => {
|
|
25269
|
+
const retVal = (output || [])
|
|
25270
|
+
.filter((e) => e != null)
|
|
25271
|
+
.map((entry) => {
|
|
25272
|
+
if (entry === null) {
|
|
25273
|
+
return null;
|
|
25274
|
+
}
|
|
25275
|
+
return deserializeAws_json1_1ModelDashboardEndpoint(entry, context);
|
|
25276
|
+
});
|
|
25277
|
+
return retVal;
|
|
25278
|
+
};
|
|
25279
|
+
const deserializeAws_json1_1ModelDashboardIndicatorAction = (output, context) => {
|
|
22583
25280
|
return {
|
|
22584
|
-
|
|
22585
|
-
ConstraintsResource: output.ConstraintsResource != null
|
|
22586
|
-
? deserializeAws_json1_1MonitoringConstraintsResource(output.ConstraintsResource, context)
|
|
22587
|
-
: undefined,
|
|
25281
|
+
Enabled: (0, smithy_client_1.expectBoolean)(output.Enabled),
|
|
22588
25282
|
};
|
|
22589
25283
|
};
|
|
22590
|
-
const
|
|
25284
|
+
const deserializeAws_json1_1ModelDashboardModel = (output, context) => {
|
|
22591
25285
|
return {
|
|
22592
|
-
|
|
22593
|
-
|
|
25286
|
+
Endpoints: output.Endpoints != null ? deserializeAws_json1_1ModelDashboardEndpoints(output.Endpoints, context) : undefined,
|
|
25287
|
+
LastBatchTransformJob: output.LastBatchTransformJob != null
|
|
25288
|
+
? deserializeAws_json1_1TransformJob(output.LastBatchTransformJob, context)
|
|
22594
25289
|
: undefined,
|
|
22595
|
-
|
|
22596
|
-
|
|
22597
|
-
|
|
25290
|
+
Model: output.Model != null ? deserializeAws_json1_1Model(output.Model, context) : undefined,
|
|
25291
|
+
ModelCard: output.ModelCard != null ? deserializeAws_json1_1ModelDashboardModelCard(output.ModelCard, context) : undefined,
|
|
25292
|
+
MonitoringSchedules: output.MonitoringSchedules != null
|
|
25293
|
+
? deserializeAws_json1_1ModelDashboardMonitoringSchedules(output.MonitoringSchedules, context)
|
|
22598
25294
|
: undefined,
|
|
22599
25295
|
};
|
|
22600
25296
|
};
|
|
22601
|
-
const
|
|
25297
|
+
const deserializeAws_json1_1ModelDashboardModelCard = (output, context) => {
|
|
22602
25298
|
return {
|
|
22603
|
-
|
|
22604
|
-
|
|
25299
|
+
CreatedBy: output.CreatedBy != null ? deserializeAws_json1_1UserContext(output.CreatedBy, context) : undefined,
|
|
25300
|
+
CreationTime: output.CreationTime != null
|
|
25301
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
25302
|
+
: undefined,
|
|
25303
|
+
LastModifiedBy: output.LastModifiedBy != null ? deserializeAws_json1_1UserContext(output.LastModifiedBy, context) : undefined,
|
|
25304
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
25305
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
25306
|
+
: undefined,
|
|
25307
|
+
ModelCardArn: (0, smithy_client_1.expectString)(output.ModelCardArn),
|
|
25308
|
+
ModelCardName: (0, smithy_client_1.expectString)(output.ModelCardName),
|
|
25309
|
+
ModelCardStatus: (0, smithy_client_1.expectString)(output.ModelCardStatus),
|
|
25310
|
+
ModelCardVersion: (0, smithy_client_1.expectInt32)(output.ModelCardVersion),
|
|
25311
|
+
ModelId: (0, smithy_client_1.expectString)(output.ModelId),
|
|
25312
|
+
RiskRating: (0, smithy_client_1.expectString)(output.RiskRating),
|
|
25313
|
+
SecurityConfig: output.SecurityConfig != null
|
|
25314
|
+
? deserializeAws_json1_1ModelCardSecurityConfig(output.SecurityConfig, context)
|
|
25315
|
+
: undefined,
|
|
25316
|
+
Tags: output.Tags != null ? deserializeAws_json1_1TagList(output.Tags, context) : undefined,
|
|
22605
25317
|
};
|
|
22606
25318
|
};
|
|
22607
|
-
const
|
|
25319
|
+
const deserializeAws_json1_1ModelDashboardMonitoringSchedule = (output, context) => {
|
|
22608
25320
|
return {
|
|
22609
|
-
|
|
22610
|
-
?
|
|
25321
|
+
CreationTime: output.CreationTime != null
|
|
25322
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
22611
25323
|
: undefined,
|
|
22612
|
-
|
|
25324
|
+
EndpointName: (0, smithy_client_1.expectString)(output.EndpointName),
|
|
25325
|
+
FailureReason: (0, smithy_client_1.expectString)(output.FailureReason),
|
|
25326
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
25327
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
25328
|
+
: undefined,
|
|
25329
|
+
LastMonitoringExecutionSummary: output.LastMonitoringExecutionSummary != null
|
|
25330
|
+
? deserializeAws_json1_1MonitoringExecutionSummary(output.LastMonitoringExecutionSummary, context)
|
|
25331
|
+
: undefined,
|
|
25332
|
+
MonitoringAlertSummaries: output.MonitoringAlertSummaries != null
|
|
25333
|
+
? deserializeAws_json1_1MonitoringAlertSummaryList(output.MonitoringAlertSummaries, context)
|
|
25334
|
+
: undefined,
|
|
25335
|
+
MonitoringScheduleArn: (0, smithy_client_1.expectString)(output.MonitoringScheduleArn),
|
|
25336
|
+
MonitoringScheduleConfig: output.MonitoringScheduleConfig != null
|
|
25337
|
+
? deserializeAws_json1_1MonitoringScheduleConfig(output.MonitoringScheduleConfig, context)
|
|
25338
|
+
: undefined,
|
|
25339
|
+
MonitoringScheduleName: (0, smithy_client_1.expectString)(output.MonitoringScheduleName),
|
|
25340
|
+
MonitoringScheduleStatus: (0, smithy_client_1.expectString)(output.MonitoringScheduleStatus),
|
|
25341
|
+
MonitoringType: (0, smithy_client_1.expectString)(output.MonitoringType),
|
|
22613
25342
|
};
|
|
22614
25343
|
};
|
|
25344
|
+
const deserializeAws_json1_1ModelDashboardMonitoringSchedules = (output, context) => {
|
|
25345
|
+
const retVal = (output || [])
|
|
25346
|
+
.filter((e) => e != null)
|
|
25347
|
+
.map((entry) => {
|
|
25348
|
+
if (entry === null) {
|
|
25349
|
+
return null;
|
|
25350
|
+
}
|
|
25351
|
+
return deserializeAws_json1_1ModelDashboardMonitoringSchedule(entry, context);
|
|
25352
|
+
});
|
|
25353
|
+
return retVal;
|
|
25354
|
+
};
|
|
22615
25355
|
const deserializeAws_json1_1ModelDataQuality = (output, context) => {
|
|
22616
25356
|
return {
|
|
22617
25357
|
Constraints: output.Constraints != null ? deserializeAws_json1_1MetricsSource(output.Constraints, context) : undefined,
|
|
@@ -22659,6 +25399,14 @@ const deserializeAws_json1_1ModelExplainabilityJobInput = (output, context) => {
|
|
|
22659
25399
|
EndpointInput: output.EndpointInput != null ? deserializeAws_json1_1EndpointInput(output.EndpointInput, context) : undefined,
|
|
22660
25400
|
};
|
|
22661
25401
|
};
|
|
25402
|
+
const deserializeAws_json1_1ModelInfrastructureConfig = (output, context) => {
|
|
25403
|
+
return {
|
|
25404
|
+
InfrastructureType: (0, smithy_client_1.expectString)(output.InfrastructureType),
|
|
25405
|
+
RealTimeInferenceConfig: output.RealTimeInferenceConfig != null
|
|
25406
|
+
? deserializeAws_json1_1RealTimeInferenceConfig(output.RealTimeInferenceConfig, context)
|
|
25407
|
+
: undefined,
|
|
25408
|
+
};
|
|
25409
|
+
};
|
|
22662
25410
|
const deserializeAws_json1_1ModelInput = (output, context) => {
|
|
22663
25411
|
return {
|
|
22664
25412
|
DataInputConfig: (0, smithy_client_1.expectString)(output.DataInputConfig),
|
|
@@ -22977,6 +25725,81 @@ const deserializeAws_json1_1ModelSummaryList = (output, context) => {
|
|
|
22977
25725
|
});
|
|
22978
25726
|
return retVal;
|
|
22979
25727
|
};
|
|
25728
|
+
const deserializeAws_json1_1ModelVariantConfigSummary = (output, context) => {
|
|
25729
|
+
return {
|
|
25730
|
+
InfrastructureConfig: output.InfrastructureConfig != null
|
|
25731
|
+
? deserializeAws_json1_1ModelInfrastructureConfig(output.InfrastructureConfig, context)
|
|
25732
|
+
: undefined,
|
|
25733
|
+
ModelName: (0, smithy_client_1.expectString)(output.ModelName),
|
|
25734
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
25735
|
+
VariantName: (0, smithy_client_1.expectString)(output.VariantName),
|
|
25736
|
+
};
|
|
25737
|
+
};
|
|
25738
|
+
const deserializeAws_json1_1ModelVariantConfigSummaryList = (output, context) => {
|
|
25739
|
+
const retVal = (output || [])
|
|
25740
|
+
.filter((e) => e != null)
|
|
25741
|
+
.map((entry) => {
|
|
25742
|
+
if (entry === null) {
|
|
25743
|
+
return null;
|
|
25744
|
+
}
|
|
25745
|
+
return deserializeAws_json1_1ModelVariantConfigSummary(entry, context);
|
|
25746
|
+
});
|
|
25747
|
+
return retVal;
|
|
25748
|
+
};
|
|
25749
|
+
const deserializeAws_json1_1MonitoringAlertActions = (output, context) => {
|
|
25750
|
+
return {
|
|
25751
|
+
ModelDashboardIndicator: output.ModelDashboardIndicator != null
|
|
25752
|
+
? deserializeAws_json1_1ModelDashboardIndicatorAction(output.ModelDashboardIndicator, context)
|
|
25753
|
+
: undefined,
|
|
25754
|
+
};
|
|
25755
|
+
};
|
|
25756
|
+
const deserializeAws_json1_1MonitoringAlertHistoryList = (output, context) => {
|
|
25757
|
+
const retVal = (output || [])
|
|
25758
|
+
.filter((e) => e != null)
|
|
25759
|
+
.map((entry) => {
|
|
25760
|
+
if (entry === null) {
|
|
25761
|
+
return null;
|
|
25762
|
+
}
|
|
25763
|
+
return deserializeAws_json1_1MonitoringAlertHistorySummary(entry, context);
|
|
25764
|
+
});
|
|
25765
|
+
return retVal;
|
|
25766
|
+
};
|
|
25767
|
+
const deserializeAws_json1_1MonitoringAlertHistorySummary = (output, context) => {
|
|
25768
|
+
return {
|
|
25769
|
+
AlertStatus: (0, smithy_client_1.expectString)(output.AlertStatus),
|
|
25770
|
+
CreationTime: output.CreationTime != null
|
|
25771
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
25772
|
+
: undefined,
|
|
25773
|
+
MonitoringAlertName: (0, smithy_client_1.expectString)(output.MonitoringAlertName),
|
|
25774
|
+
MonitoringScheduleName: (0, smithy_client_1.expectString)(output.MonitoringScheduleName),
|
|
25775
|
+
};
|
|
25776
|
+
};
|
|
25777
|
+
const deserializeAws_json1_1MonitoringAlertSummary = (output, context) => {
|
|
25778
|
+
return {
|
|
25779
|
+
Actions: output.Actions != null ? deserializeAws_json1_1MonitoringAlertActions(output.Actions, context) : undefined,
|
|
25780
|
+
AlertStatus: (0, smithy_client_1.expectString)(output.AlertStatus),
|
|
25781
|
+
CreationTime: output.CreationTime != null
|
|
25782
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
25783
|
+
: undefined,
|
|
25784
|
+
DatapointsToAlert: (0, smithy_client_1.expectInt32)(output.DatapointsToAlert),
|
|
25785
|
+
EvaluationPeriod: (0, smithy_client_1.expectInt32)(output.EvaluationPeriod),
|
|
25786
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
25787
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
25788
|
+
: undefined,
|
|
25789
|
+
MonitoringAlertName: (0, smithy_client_1.expectString)(output.MonitoringAlertName),
|
|
25790
|
+
};
|
|
25791
|
+
};
|
|
25792
|
+
const deserializeAws_json1_1MonitoringAlertSummaryList = (output, context) => {
|
|
25793
|
+
const retVal = (output || [])
|
|
25794
|
+
.filter((e) => e != null)
|
|
25795
|
+
.map((entry) => {
|
|
25796
|
+
if (entry === null) {
|
|
25797
|
+
return null;
|
|
25798
|
+
}
|
|
25799
|
+
return deserializeAws_json1_1MonitoringAlertSummary(entry, context);
|
|
25800
|
+
});
|
|
25801
|
+
return retVal;
|
|
25802
|
+
};
|
|
22980
25803
|
const deserializeAws_json1_1MonitoringAppSpecification = (output, context) => {
|
|
22981
25804
|
return {
|
|
22982
25805
|
ContainerArguments: output.ContainerArguments != null
|
|
@@ -23429,6 +26252,7 @@ const deserializeAws_json1_1OfflineStoreConfig = (output, context) => {
|
|
|
23429
26252
|
S3StorageConfig: output.S3StorageConfig != null
|
|
23430
26253
|
? deserializeAws_json1_1S3StorageConfig(output.S3StorageConfig, context)
|
|
23431
26254
|
: undefined,
|
|
26255
|
+
TableFormat: (0, smithy_client_1.expectString)(output.TableFormat),
|
|
23432
26256
|
};
|
|
23433
26257
|
};
|
|
23434
26258
|
const deserializeAws_json1_1OfflineStoreStatus = (output, context) => {
|
|
@@ -23596,6 +26420,9 @@ const deserializeAws_json1_1PendingDeploymentSummary = (output, context) => {
|
|
|
23596
26420
|
ProductionVariants: output.ProductionVariants != null
|
|
23597
26421
|
? deserializeAws_json1_1PendingProductionVariantSummaryList(output.ProductionVariants, context)
|
|
23598
26422
|
: undefined,
|
|
26423
|
+
ShadowProductionVariants: output.ShadowProductionVariants != null
|
|
26424
|
+
? deserializeAws_json1_1PendingProductionVariantSummaryList(output.ShadowProductionVariants, context)
|
|
26425
|
+
: undefined,
|
|
23599
26426
|
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.StartTime))) : undefined,
|
|
23600
26427
|
};
|
|
23601
26428
|
};
|
|
@@ -23730,6 +26557,7 @@ const deserializeAws_json1_1PipelineExecutionStepList = (output, context) => {
|
|
|
23730
26557
|
};
|
|
23731
26558
|
const deserializeAws_json1_1PipelineExecutionStepMetadata = (output, context) => {
|
|
23732
26559
|
return {
|
|
26560
|
+
AutoMLJob: output.AutoMLJob != null ? deserializeAws_json1_1AutoMLJobStepMetadata(output.AutoMLJob, context) : undefined,
|
|
23733
26561
|
Callback: output.Callback != null ? deserializeAws_json1_1CallbackStepMetadata(output.Callback, context) : undefined,
|
|
23734
26562
|
ClarifyCheck: output.ClarifyCheck != null
|
|
23735
26563
|
? deserializeAws_json1_1ClarifyCheckStepMetadata(output.ClarifyCheck, context)
|
|
@@ -24269,6 +27097,12 @@ const deserializeAws_json1_1QueryLineageResponse = (output, context) => {
|
|
|
24269
27097
|
Vertices: output.Vertices != null ? deserializeAws_json1_1Vertices(output.Vertices, context) : undefined,
|
|
24270
27098
|
};
|
|
24271
27099
|
};
|
|
27100
|
+
const deserializeAws_json1_1RealTimeInferenceConfig = (output, context) => {
|
|
27101
|
+
return {
|
|
27102
|
+
InstanceCount: (0, smithy_client_1.expectInt32)(output.InstanceCount),
|
|
27103
|
+
InstanceType: (0, smithy_client_1.expectString)(output.InstanceType),
|
|
27104
|
+
};
|
|
27105
|
+
};
|
|
24272
27106
|
const deserializeAws_json1_1RealtimeInferenceInstanceTypes = (output, context) => {
|
|
24273
27107
|
const retVal = (output || [])
|
|
24274
27108
|
.filter((e) => e != null)
|
|
@@ -24561,6 +27395,8 @@ const deserializeAws_json1_1SearchRecord = (output, context) => {
|
|
|
24561
27395
|
HyperParameterTuningJob: output.HyperParameterTuningJob != null
|
|
24562
27396
|
? deserializeAws_json1_1HyperParameterTuningJobSearchEntity(output.HyperParameterTuningJob, context)
|
|
24563
27397
|
: undefined,
|
|
27398
|
+
Model: output.Model != null ? deserializeAws_json1_1ModelDashboardModel(output.Model, context) : undefined,
|
|
27399
|
+
ModelCard: output.ModelCard != null ? deserializeAws_json1_1ModelCard(output.ModelCard, context) : undefined,
|
|
24564
27400
|
ModelPackage: output.ModelPackage != null ? deserializeAws_json1_1ModelPackage(output.ModelPackage, context) : undefined,
|
|
24565
27401
|
ModelPackageGroup: output.ModelPackageGroup != null
|
|
24566
27402
|
? deserializeAws_json1_1ModelPackageGroup(output.ModelPackageGroup, context)
|
|
@@ -24648,6 +27484,31 @@ const deserializeAws_json1_1ServiceCatalogProvisioningDetails = (output, context
|
|
|
24648
27484
|
: undefined,
|
|
24649
27485
|
};
|
|
24650
27486
|
};
|
|
27487
|
+
const deserializeAws_json1_1ShadowModeConfig = (output, context) => {
|
|
27488
|
+
return {
|
|
27489
|
+
ShadowModelVariants: output.ShadowModelVariants != null
|
|
27490
|
+
? deserializeAws_json1_1ShadowModelVariantConfigList(output.ShadowModelVariants, context)
|
|
27491
|
+
: undefined,
|
|
27492
|
+
SourceModelVariantName: (0, smithy_client_1.expectString)(output.SourceModelVariantName),
|
|
27493
|
+
};
|
|
27494
|
+
};
|
|
27495
|
+
const deserializeAws_json1_1ShadowModelVariantConfig = (output, context) => {
|
|
27496
|
+
return {
|
|
27497
|
+
SamplingPercentage: (0, smithy_client_1.expectInt32)(output.SamplingPercentage),
|
|
27498
|
+
ShadowModelVariantName: (0, smithy_client_1.expectString)(output.ShadowModelVariantName),
|
|
27499
|
+
};
|
|
27500
|
+
};
|
|
27501
|
+
const deserializeAws_json1_1ShadowModelVariantConfigList = (output, context) => {
|
|
27502
|
+
const retVal = (output || [])
|
|
27503
|
+
.filter((e) => e != null)
|
|
27504
|
+
.map((entry) => {
|
|
27505
|
+
if (entry === null) {
|
|
27506
|
+
return null;
|
|
27507
|
+
}
|
|
27508
|
+
return deserializeAws_json1_1ShadowModelVariantConfig(entry, context);
|
|
27509
|
+
});
|
|
27510
|
+
return retVal;
|
|
27511
|
+
};
|
|
24651
27512
|
const deserializeAws_json1_1SharingSettings = (output, context) => {
|
|
24652
27513
|
return {
|
|
24653
27514
|
NotebookOutputOption: (0, smithy_client_1.expectString)(output.NotebookOutputOption),
|
|
@@ -24689,11 +27550,55 @@ const deserializeAws_json1_1SourceIpConfig = (output, context) => {
|
|
|
24689
27550
|
Cidrs: output.Cidrs != null ? deserializeAws_json1_1Cidrs(output.Cidrs, context) : undefined,
|
|
24690
27551
|
};
|
|
24691
27552
|
};
|
|
27553
|
+
const deserializeAws_json1_1SpaceDetails = (output, context) => {
|
|
27554
|
+
return {
|
|
27555
|
+
CreationTime: output.CreationTime != null
|
|
27556
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
27557
|
+
: undefined,
|
|
27558
|
+
DomainId: (0, smithy_client_1.expectString)(output.DomainId),
|
|
27559
|
+
LastModifiedTime: output.LastModifiedTime != null
|
|
27560
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastModifiedTime)))
|
|
27561
|
+
: undefined,
|
|
27562
|
+
SpaceName: (0, smithy_client_1.expectString)(output.SpaceName),
|
|
27563
|
+
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
27564
|
+
};
|
|
27565
|
+
};
|
|
27566
|
+
const deserializeAws_json1_1SpaceList = (output, context) => {
|
|
27567
|
+
const retVal = (output || [])
|
|
27568
|
+
.filter((e) => e != null)
|
|
27569
|
+
.map((entry) => {
|
|
27570
|
+
if (entry === null) {
|
|
27571
|
+
return null;
|
|
27572
|
+
}
|
|
27573
|
+
return deserializeAws_json1_1SpaceDetails(entry, context);
|
|
27574
|
+
});
|
|
27575
|
+
return retVal;
|
|
27576
|
+
};
|
|
27577
|
+
const deserializeAws_json1_1SpaceSettings = (output, context) => {
|
|
27578
|
+
return {
|
|
27579
|
+
JupyterServerAppSettings: output.JupyterServerAppSettings != null
|
|
27580
|
+
? deserializeAws_json1_1JupyterServerAppSettings(output.JupyterServerAppSettings, context)
|
|
27581
|
+
: undefined,
|
|
27582
|
+
KernelGatewayAppSettings: output.KernelGatewayAppSettings != null
|
|
27583
|
+
? deserializeAws_json1_1KernelGatewayAppSettings(output.KernelGatewayAppSettings, context)
|
|
27584
|
+
: undefined,
|
|
27585
|
+
};
|
|
27586
|
+
};
|
|
27587
|
+
const deserializeAws_json1_1StartInferenceExperimentResponse = (output, context) => {
|
|
27588
|
+
return {
|
|
27589
|
+
InferenceExperimentArn: (0, smithy_client_1.expectString)(output.InferenceExperimentArn),
|
|
27590
|
+
};
|
|
27591
|
+
};
|
|
24692
27592
|
const deserializeAws_json1_1StartPipelineExecutionResponse = (output, context) => {
|
|
24693
27593
|
return {
|
|
24694
27594
|
PipelineExecutionArn: (0, smithy_client_1.expectString)(output.PipelineExecutionArn),
|
|
24695
27595
|
};
|
|
24696
27596
|
};
|
|
27597
|
+
const deserializeAws_json1_1StopInferenceExperimentResponse = (output, context) => {
|
|
27598
|
+
return {
|
|
27599
|
+
InferenceExperimentArn: (0, smithy_client_1.expectString)(output.InferenceExperimentArn),
|
|
27600
|
+
};
|
|
27601
|
+
};
|
|
24697
27602
|
const deserializeAws_json1_1StoppingCondition = (output, context) => {
|
|
24698
27603
|
return {
|
|
24699
27604
|
MaxRuntimeInSeconds: (0, smithy_client_1.expectInt32)(output.MaxRuntimeInSeconds),
|
|
@@ -25227,6 +28132,7 @@ const deserializeAws_json1_1TrialComponent = (output, context) => {
|
|
|
25227
28132
|
? deserializeAws_json1_1TrialComponentParameters(output.Parameters, context)
|
|
25228
28133
|
: undefined,
|
|
25229
28134
|
Parents: output.Parents != null ? deserializeAws_json1_1Parents(output.Parents, context) : undefined,
|
|
28135
|
+
RunName: (0, smithy_client_1.expectString)(output.RunName),
|
|
25230
28136
|
Source: output.Source != null ? deserializeAws_json1_1TrialComponentSource(output.Source, context) : undefined,
|
|
25231
28137
|
SourceDetail: output.SourceDetail != null
|
|
25232
28138
|
? deserializeAws_json1_1TrialComponentSourceDetail(output.SourceDetail, context)
|
|
@@ -25333,6 +28239,17 @@ const deserializeAws_json1_1TrialComponentSourceDetail = (output, context) => {
|
|
|
25333
28239
|
TransformJob: output.TransformJob != null ? deserializeAws_json1_1TransformJob(output.TransformJob, context) : undefined,
|
|
25334
28240
|
};
|
|
25335
28241
|
};
|
|
28242
|
+
const deserializeAws_json1_1TrialComponentSources = (output, context) => {
|
|
28243
|
+
const retVal = (output || [])
|
|
28244
|
+
.filter((e) => e != null)
|
|
28245
|
+
.map((entry) => {
|
|
28246
|
+
if (entry === null) {
|
|
28247
|
+
return null;
|
|
28248
|
+
}
|
|
28249
|
+
return deserializeAws_json1_1TrialComponentSource(entry, context);
|
|
28250
|
+
});
|
|
28251
|
+
return retVal;
|
|
28252
|
+
};
|
|
25336
28253
|
const deserializeAws_json1_1TrialComponentStatus = (output, context) => {
|
|
25337
28254
|
return {
|
|
25338
28255
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
@@ -25474,16 +28391,37 @@ const deserializeAws_json1_1UpdateFeatureGroupResponse = (output, context) => {
|
|
|
25474
28391
|
FeatureGroupArn: (0, smithy_client_1.expectString)(output.FeatureGroupArn),
|
|
25475
28392
|
};
|
|
25476
28393
|
};
|
|
28394
|
+
const deserializeAws_json1_1UpdateHubResponse = (output, context) => {
|
|
28395
|
+
return {
|
|
28396
|
+
HubArn: (0, smithy_client_1.expectString)(output.HubArn),
|
|
28397
|
+
};
|
|
28398
|
+
};
|
|
25477
28399
|
const deserializeAws_json1_1UpdateImageResponse = (output, context) => {
|
|
25478
28400
|
return {
|
|
25479
28401
|
ImageArn: (0, smithy_client_1.expectString)(output.ImageArn),
|
|
25480
28402
|
};
|
|
25481
28403
|
};
|
|
28404
|
+
const deserializeAws_json1_1UpdateInferenceExperimentResponse = (output, context) => {
|
|
28405
|
+
return {
|
|
28406
|
+
InferenceExperimentArn: (0, smithy_client_1.expectString)(output.InferenceExperimentArn),
|
|
28407
|
+
};
|
|
28408
|
+
};
|
|
28409
|
+
const deserializeAws_json1_1UpdateModelCardResponse = (output, context) => {
|
|
28410
|
+
return {
|
|
28411
|
+
ModelCardArn: (0, smithy_client_1.expectString)(output.ModelCardArn),
|
|
28412
|
+
};
|
|
28413
|
+
};
|
|
25482
28414
|
const deserializeAws_json1_1UpdateModelPackageOutput = (output, context) => {
|
|
25483
28415
|
return {
|
|
25484
28416
|
ModelPackageArn: (0, smithy_client_1.expectString)(output.ModelPackageArn),
|
|
25485
28417
|
};
|
|
25486
28418
|
};
|
|
28419
|
+
const deserializeAws_json1_1UpdateMonitoringAlertResponse = (output, context) => {
|
|
28420
|
+
return {
|
|
28421
|
+
MonitoringAlertName: (0, smithy_client_1.expectString)(output.MonitoringAlertName),
|
|
28422
|
+
MonitoringScheduleArn: (0, smithy_client_1.expectString)(output.MonitoringScheduleArn),
|
|
28423
|
+
};
|
|
28424
|
+
};
|
|
25487
28425
|
const deserializeAws_json1_1UpdateMonitoringScheduleResponse = (output, context) => {
|
|
25488
28426
|
return {
|
|
25489
28427
|
MonitoringScheduleArn: (0, smithy_client_1.expectString)(output.MonitoringScheduleArn),
|
|
@@ -25510,6 +28448,11 @@ const deserializeAws_json1_1UpdateProjectOutput = (output, context) => {
|
|
|
25510
28448
|
ProjectArn: (0, smithy_client_1.expectString)(output.ProjectArn),
|
|
25511
28449
|
};
|
|
25512
28450
|
};
|
|
28451
|
+
const deserializeAws_json1_1UpdateSpaceResponse = (output, context) => {
|
|
28452
|
+
return {
|
|
28453
|
+
SpaceArn: (0, smithy_client_1.expectString)(output.SpaceArn),
|
|
28454
|
+
};
|
|
28455
|
+
};
|
|
25513
28456
|
const deserializeAws_json1_1UpdateTrainingJobResponse = (output, context) => {
|
|
25514
28457
|
return {
|
|
25515
28458
|
TrainingJobArn: (0, smithy_client_1.expectString)(output.TrainingJobArn),
|