@aws-sdk/client-sagemaker 3.183.0 → 3.185.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_json1_1.js +2 -2
- package/dist-es/SageMaker.js +1061 -1054
- package/dist-es/SageMakerClient.js +28 -22
- package/dist-es/commands/AddAssociationCommand.js +28 -21
- package/dist-es/commands/AddTagsCommand.js +28 -21
- package/dist-es/commands/AssociateTrialComponentCommand.js +28 -21
- package/dist-es/commands/BatchDescribeModelPackageCommand.js +28 -21
- package/dist-es/commands/CreateActionCommand.js +28 -21
- package/dist-es/commands/CreateAlgorithmCommand.js +28 -21
- package/dist-es/commands/CreateAppCommand.js +28 -21
- package/dist-es/commands/CreateAppImageConfigCommand.js +28 -21
- package/dist-es/commands/CreateArtifactCommand.js +28 -21
- package/dist-es/commands/CreateAutoMLJobCommand.js +28 -21
- package/dist-es/commands/CreateCodeRepositoryCommand.js +28 -21
- package/dist-es/commands/CreateCompilationJobCommand.js +28 -21
- package/dist-es/commands/CreateContextCommand.js +28 -21
- package/dist-es/commands/CreateDataQualityJobDefinitionCommand.js +28 -21
- package/dist-es/commands/CreateDeviceFleetCommand.js +29 -22
- package/dist-es/commands/CreateDomainCommand.js +28 -21
- package/dist-es/commands/CreateEdgeDeploymentPlanCommand.js +28 -21
- package/dist-es/commands/CreateEdgeDeploymentStageCommand.js +29 -22
- package/dist-es/commands/CreateEdgePackagingJobCommand.js +29 -22
- package/dist-es/commands/CreateEndpointCommand.js +28 -21
- package/dist-es/commands/CreateEndpointConfigCommand.js +28 -21
- package/dist-es/commands/CreateExperimentCommand.js +28 -21
- package/dist-es/commands/CreateFeatureGroupCommand.js +28 -21
- package/dist-es/commands/CreateFlowDefinitionCommand.js +28 -21
- package/dist-es/commands/CreateHumanTaskUiCommand.js +28 -21
- package/dist-es/commands/CreateHyperParameterTuningJobCommand.js +28 -21
- package/dist-es/commands/CreateImageCommand.js +28 -21
- package/dist-es/commands/CreateImageVersionCommand.js +28 -21
- package/dist-es/commands/CreateInferenceRecommendationsJobCommand.js +28 -21
- package/dist-es/commands/CreateLabelingJobCommand.js +28 -21
- package/dist-es/commands/CreateModelBiasJobDefinitionCommand.js +28 -21
- package/dist-es/commands/CreateModelCommand.js +28 -21
- package/dist-es/commands/CreateModelExplainabilityJobDefinitionCommand.js +28 -21
- package/dist-es/commands/CreateModelPackageCommand.js +28 -21
- package/dist-es/commands/CreateModelPackageGroupCommand.js +28 -21
- package/dist-es/commands/CreateModelQualityJobDefinitionCommand.js +28 -21
- package/dist-es/commands/CreateMonitoringScheduleCommand.js +28 -21
- package/dist-es/commands/CreateNotebookInstanceCommand.js +28 -21
- package/dist-es/commands/CreateNotebookInstanceLifecycleConfigCommand.js +28 -21
- package/dist-es/commands/CreatePipelineCommand.js +28 -21
- package/dist-es/commands/CreatePresignedDomainUrlCommand.js +28 -21
- package/dist-es/commands/CreatePresignedNotebookInstanceUrlCommand.js +28 -21
- package/dist-es/commands/CreateProcessingJobCommand.js +28 -21
- package/dist-es/commands/CreateProjectCommand.js +28 -21
- package/dist-es/commands/CreateStudioLifecycleConfigCommand.js +28 -21
- package/dist-es/commands/CreateTrainingJobCommand.js +28 -21
- package/dist-es/commands/CreateTransformJobCommand.js +28 -21
- package/dist-es/commands/CreateTrialCommand.js +28 -21
- package/dist-es/commands/CreateTrialComponentCommand.js +28 -21
- package/dist-es/commands/CreateUserProfileCommand.js +28 -21
- package/dist-es/commands/CreateWorkforceCommand.js +28 -21
- package/dist-es/commands/CreateWorkteamCommand.js +28 -21
- package/dist-es/commands/DeleteActionCommand.js +28 -21
- package/dist-es/commands/DeleteAlgorithmCommand.js +29 -22
- package/dist-es/commands/DeleteAppCommand.js +29 -22
- package/dist-es/commands/DeleteAppImageConfigCommand.js +29 -22
- package/dist-es/commands/DeleteArtifactCommand.js +28 -21
- package/dist-es/commands/DeleteAssociationCommand.js +28 -21
- package/dist-es/commands/DeleteCodeRepositoryCommand.js +29 -22
- package/dist-es/commands/DeleteContextCommand.js +28 -21
- package/dist-es/commands/DeleteDataQualityJobDefinitionCommand.js +29 -22
- package/dist-es/commands/DeleteDeviceFleetCommand.js +29 -22
- package/dist-es/commands/DeleteDomainCommand.js +29 -22
- package/dist-es/commands/DeleteEdgeDeploymentPlanCommand.js +29 -22
- package/dist-es/commands/DeleteEdgeDeploymentStageCommand.js +29 -22
- package/dist-es/commands/DeleteEndpointCommand.js +29 -22
- package/dist-es/commands/DeleteEndpointConfigCommand.js +29 -22
- package/dist-es/commands/DeleteExperimentCommand.js +28 -21
- package/dist-es/commands/DeleteFeatureGroupCommand.js +29 -22
- package/dist-es/commands/DeleteFlowDefinitionCommand.js +28 -21
- package/dist-es/commands/DeleteHumanTaskUiCommand.js +28 -21
- package/dist-es/commands/DeleteImageCommand.js +28 -21
- package/dist-es/commands/DeleteImageVersionCommand.js +28 -21
- package/dist-es/commands/DeleteModelBiasJobDefinitionCommand.js +29 -22
- package/dist-es/commands/DeleteModelCommand.js +29 -22
- package/dist-es/commands/DeleteModelExplainabilityJobDefinitionCommand.js +29 -22
- package/dist-es/commands/DeleteModelPackageCommand.js +29 -22
- package/dist-es/commands/DeleteModelPackageGroupCommand.js +29 -22
- package/dist-es/commands/DeleteModelPackageGroupPolicyCommand.js +29 -22
- package/dist-es/commands/DeleteModelQualityJobDefinitionCommand.js +29 -22
- package/dist-es/commands/DeleteMonitoringScheduleCommand.js +29 -22
- package/dist-es/commands/DeleteNotebookInstanceCommand.js +29 -22
- package/dist-es/commands/DeleteNotebookInstanceLifecycleConfigCommand.js +29 -22
- package/dist-es/commands/DeletePipelineCommand.js +28 -21
- package/dist-es/commands/DeleteProjectCommand.js +29 -22
- package/dist-es/commands/DeleteStudioLifecycleConfigCommand.js +29 -22
- package/dist-es/commands/DeleteTagsCommand.js +28 -21
- package/dist-es/commands/DeleteTrialCommand.js +28 -21
- package/dist-es/commands/DeleteTrialComponentCommand.js +28 -21
- package/dist-es/commands/DeleteUserProfileCommand.js +29 -22
- package/dist-es/commands/DeleteWorkforceCommand.js +28 -21
- package/dist-es/commands/DeleteWorkteamCommand.js +28 -21
- package/dist-es/commands/DeregisterDevicesCommand.js +29 -22
- package/dist-es/commands/DescribeActionCommand.js +28 -21
- package/dist-es/commands/DescribeAlgorithmCommand.js +28 -21
- package/dist-es/commands/DescribeAppCommand.js +28 -21
- package/dist-es/commands/DescribeAppImageConfigCommand.js +28 -21
- package/dist-es/commands/DescribeArtifactCommand.js +28 -21
- package/dist-es/commands/DescribeAutoMLJobCommand.js +28 -21
- package/dist-es/commands/DescribeCodeRepositoryCommand.js +28 -21
- package/dist-es/commands/DescribeCompilationJobCommand.js +28 -21
- package/dist-es/commands/DescribeContextCommand.js +28 -21
- package/dist-es/commands/DescribeDataQualityJobDefinitionCommand.js +28 -21
- package/dist-es/commands/DescribeDeviceCommand.js +28 -21
- package/dist-es/commands/DescribeDeviceFleetCommand.js +28 -21
- package/dist-es/commands/DescribeDomainCommand.js +28 -21
- package/dist-es/commands/DescribeEdgeDeploymentPlanCommand.js +28 -21
- package/dist-es/commands/DescribeEdgePackagingJobCommand.js +28 -21
- package/dist-es/commands/DescribeEndpointCommand.js +28 -21
- package/dist-es/commands/DescribeEndpointConfigCommand.js +28 -21
- package/dist-es/commands/DescribeExperimentCommand.js +28 -21
- package/dist-es/commands/DescribeFeatureGroupCommand.js +28 -21
- package/dist-es/commands/DescribeFeatureMetadataCommand.js +28 -21
- package/dist-es/commands/DescribeFlowDefinitionCommand.js +28 -21
- package/dist-es/commands/DescribeHumanTaskUiCommand.js +28 -21
- package/dist-es/commands/DescribeHyperParameterTuningJobCommand.js +28 -21
- package/dist-es/commands/DescribeImageCommand.js +28 -21
- package/dist-es/commands/DescribeImageVersionCommand.js +28 -21
- package/dist-es/commands/DescribeInferenceRecommendationsJobCommand.js +28 -21
- package/dist-es/commands/DescribeLabelingJobCommand.js +28 -21
- package/dist-es/commands/DescribeLineageGroupCommand.js +28 -21
- package/dist-es/commands/DescribeModelBiasJobDefinitionCommand.js +28 -21
- package/dist-es/commands/DescribeModelCommand.js +28 -21
- package/dist-es/commands/DescribeModelExplainabilityJobDefinitionCommand.js +28 -21
- package/dist-es/commands/DescribeModelPackageCommand.js +28 -21
- package/dist-es/commands/DescribeModelPackageGroupCommand.js +28 -21
- package/dist-es/commands/DescribeModelQualityJobDefinitionCommand.js +28 -21
- package/dist-es/commands/DescribeMonitoringScheduleCommand.js +28 -21
- package/dist-es/commands/DescribeNotebookInstanceCommand.js +28 -21
- package/dist-es/commands/DescribeNotebookInstanceLifecycleConfigCommand.js +28 -21
- package/dist-es/commands/DescribePipelineCommand.js +28 -21
- package/dist-es/commands/DescribePipelineDefinitionForExecutionCommand.js +28 -21
- package/dist-es/commands/DescribePipelineExecutionCommand.js +28 -21
- package/dist-es/commands/DescribeProcessingJobCommand.js +28 -21
- package/dist-es/commands/DescribeProjectCommand.js +28 -21
- package/dist-es/commands/DescribeStudioLifecycleConfigCommand.js +28 -21
- package/dist-es/commands/DescribeSubscribedWorkteamCommand.js +28 -21
- package/dist-es/commands/DescribeTrainingJobCommand.js +28 -21
- package/dist-es/commands/DescribeTransformJobCommand.js +28 -21
- package/dist-es/commands/DescribeTrialCommand.js +28 -21
- package/dist-es/commands/DescribeTrialComponentCommand.js +28 -21
- package/dist-es/commands/DescribeUserProfileCommand.js +28 -21
- package/dist-es/commands/DescribeWorkforceCommand.js +28 -21
- package/dist-es/commands/DescribeWorkteamCommand.js +28 -21
- package/dist-es/commands/DisableSagemakerServicecatalogPortfolioCommand.js +28 -21
- package/dist-es/commands/DisassociateTrialComponentCommand.js +28 -21
- package/dist-es/commands/EnableSagemakerServicecatalogPortfolioCommand.js +28 -21
- package/dist-es/commands/GetDeviceFleetReportCommand.js +28 -21
- package/dist-es/commands/GetLineageGroupPolicyCommand.js +28 -21
- package/dist-es/commands/GetModelPackageGroupPolicyCommand.js +28 -21
- package/dist-es/commands/GetSagemakerServicecatalogPortfolioStatusCommand.js +28 -21
- package/dist-es/commands/GetSearchSuggestionsCommand.js +28 -21
- package/dist-es/commands/ListActionsCommand.js +28 -21
- package/dist-es/commands/ListAlgorithmsCommand.js +28 -21
- package/dist-es/commands/ListAppImageConfigsCommand.js +28 -21
- package/dist-es/commands/ListAppsCommand.js +28 -21
- package/dist-es/commands/ListArtifactsCommand.js +28 -21
- package/dist-es/commands/ListAssociationsCommand.js +28 -21
- package/dist-es/commands/ListAutoMLJobsCommand.js +28 -21
- package/dist-es/commands/ListCandidatesForAutoMLJobCommand.js +28 -21
- package/dist-es/commands/ListCodeRepositoriesCommand.js +28 -21
- package/dist-es/commands/ListCompilationJobsCommand.js +28 -21
- package/dist-es/commands/ListContextsCommand.js +28 -21
- package/dist-es/commands/ListDataQualityJobDefinitionsCommand.js +28 -21
- package/dist-es/commands/ListDeviceFleetsCommand.js +28 -21
- package/dist-es/commands/ListDevicesCommand.js +28 -21
- package/dist-es/commands/ListDomainsCommand.js +28 -21
- package/dist-es/commands/ListEdgeDeploymentPlansCommand.js +28 -21
- package/dist-es/commands/ListEdgePackagingJobsCommand.js +28 -21
- package/dist-es/commands/ListEndpointConfigsCommand.js +28 -21
- package/dist-es/commands/ListEndpointsCommand.js +28 -21
- package/dist-es/commands/ListExperimentsCommand.js +28 -21
- package/dist-es/commands/ListFeatureGroupsCommand.js +28 -21
- package/dist-es/commands/ListFlowDefinitionsCommand.js +28 -21
- package/dist-es/commands/ListHumanTaskUisCommand.js +28 -21
- package/dist-es/commands/ListHyperParameterTuningJobsCommand.js +28 -21
- package/dist-es/commands/ListImageVersionsCommand.js +28 -21
- package/dist-es/commands/ListImagesCommand.js +28 -21
- package/dist-es/commands/ListInferenceRecommendationsJobsCommand.js +28 -21
- package/dist-es/commands/ListLabelingJobsCommand.js +28 -21
- package/dist-es/commands/ListLabelingJobsForWorkteamCommand.js +28 -21
- package/dist-es/commands/ListLineageGroupsCommand.js +28 -21
- package/dist-es/commands/ListModelBiasJobDefinitionsCommand.js +28 -21
- package/dist-es/commands/ListModelExplainabilityJobDefinitionsCommand.js +28 -21
- package/dist-es/commands/ListModelMetadataCommand.js +28 -21
- package/dist-es/commands/ListModelPackageGroupsCommand.js +28 -21
- package/dist-es/commands/ListModelPackagesCommand.js +28 -21
- package/dist-es/commands/ListModelQualityJobDefinitionsCommand.js +28 -21
- package/dist-es/commands/ListModelsCommand.js +28 -21
- package/dist-es/commands/ListMonitoringExecutionsCommand.js +28 -21
- package/dist-es/commands/ListMonitoringSchedulesCommand.js +28 -21
- package/dist-es/commands/ListNotebookInstanceLifecycleConfigsCommand.js +28 -21
- package/dist-es/commands/ListNotebookInstancesCommand.js +28 -21
- package/dist-es/commands/ListPipelineExecutionStepsCommand.js +28 -21
- package/dist-es/commands/ListPipelineExecutionsCommand.js +28 -21
- package/dist-es/commands/ListPipelineParametersForExecutionCommand.js +28 -21
- package/dist-es/commands/ListPipelinesCommand.js +28 -21
- package/dist-es/commands/ListProcessingJobsCommand.js +28 -21
- package/dist-es/commands/ListProjectsCommand.js +28 -21
- package/dist-es/commands/ListStageDevicesCommand.js +28 -21
- package/dist-es/commands/ListStudioLifecycleConfigsCommand.js +28 -21
- package/dist-es/commands/ListSubscribedWorkteamsCommand.js +28 -21
- package/dist-es/commands/ListTagsCommand.js +28 -21
- package/dist-es/commands/ListTrainingJobsCommand.js +28 -21
- package/dist-es/commands/ListTrainingJobsForHyperParameterTuningJobCommand.js +28 -21
- package/dist-es/commands/ListTransformJobsCommand.js +28 -21
- package/dist-es/commands/ListTrialComponentsCommand.js +28 -21
- package/dist-es/commands/ListTrialsCommand.js +28 -21
- package/dist-es/commands/ListUserProfilesCommand.js +28 -21
- package/dist-es/commands/ListWorkforcesCommand.js +28 -21
- package/dist-es/commands/ListWorkteamsCommand.js +28 -21
- package/dist-es/commands/PutModelPackageGroupPolicyCommand.js +28 -21
- package/dist-es/commands/QueryLineageCommand.js +28 -21
- package/dist-es/commands/RegisterDevicesCommand.js +29 -22
- package/dist-es/commands/RenderUiTemplateCommand.js +28 -21
- package/dist-es/commands/RetryPipelineExecutionCommand.js +28 -21
- package/dist-es/commands/SearchCommand.js +28 -21
- package/dist-es/commands/SendPipelineExecutionStepFailureCommand.js +28 -21
- package/dist-es/commands/SendPipelineExecutionStepSuccessCommand.js +28 -21
- package/dist-es/commands/StartEdgeDeploymentStageCommand.js +29 -22
- package/dist-es/commands/StartMonitoringScheduleCommand.js +29 -22
- package/dist-es/commands/StartNotebookInstanceCommand.js +29 -22
- package/dist-es/commands/StartPipelineExecutionCommand.js +28 -21
- package/dist-es/commands/StopAutoMLJobCommand.js +29 -22
- package/dist-es/commands/StopCompilationJobCommand.js +29 -22
- package/dist-es/commands/StopEdgeDeploymentStageCommand.js +29 -22
- package/dist-es/commands/StopEdgePackagingJobCommand.js +29 -22
- package/dist-es/commands/StopHyperParameterTuningJobCommand.js +29 -22
- package/dist-es/commands/StopInferenceRecommendationsJobCommand.js +29 -22
- package/dist-es/commands/StopLabelingJobCommand.js +29 -22
- package/dist-es/commands/StopMonitoringScheduleCommand.js +29 -22
- package/dist-es/commands/StopNotebookInstanceCommand.js +29 -22
- package/dist-es/commands/StopPipelineExecutionCommand.js +28 -21
- package/dist-es/commands/StopProcessingJobCommand.js +29 -22
- package/dist-es/commands/StopTrainingJobCommand.js +29 -22
- package/dist-es/commands/StopTransformJobCommand.js +29 -22
- package/dist-es/commands/UpdateActionCommand.js +28 -21
- package/dist-es/commands/UpdateAppImageConfigCommand.js +28 -21
- package/dist-es/commands/UpdateArtifactCommand.js +28 -21
- package/dist-es/commands/UpdateCodeRepositoryCommand.js +28 -21
- package/dist-es/commands/UpdateContextCommand.js +28 -21
- package/dist-es/commands/UpdateDeviceFleetCommand.js +29 -22
- package/dist-es/commands/UpdateDevicesCommand.js +29 -22
- package/dist-es/commands/UpdateDomainCommand.js +28 -21
- package/dist-es/commands/UpdateEndpointCommand.js +28 -21
- package/dist-es/commands/UpdateEndpointWeightsAndCapacitiesCommand.js +28 -21
- package/dist-es/commands/UpdateExperimentCommand.js +28 -21
- package/dist-es/commands/UpdateFeatureGroupCommand.js +28 -21
- package/dist-es/commands/UpdateFeatureMetadataCommand.js +29 -22
- package/dist-es/commands/UpdateImageCommand.js +28 -21
- package/dist-es/commands/UpdateModelPackageCommand.js +28 -21
- package/dist-es/commands/UpdateMonitoringScheduleCommand.js +28 -21
- package/dist-es/commands/UpdateNotebookInstanceCommand.js +28 -21
- package/dist-es/commands/UpdateNotebookInstanceLifecycleConfigCommand.js +28 -21
- package/dist-es/commands/UpdatePipelineCommand.js +28 -21
- package/dist-es/commands/UpdatePipelineExecutionCommand.js +28 -21
- package/dist-es/commands/UpdateProjectCommand.js +28 -21
- package/dist-es/commands/UpdateTrainingJobCommand.js +28 -21
- package/dist-es/commands/UpdateTrialCommand.js +28 -21
- package/dist-es/commands/UpdateTrialComponentCommand.js +28 -21
- package/dist-es/commands/UpdateUserProfileCommand.js +28 -21
- package/dist-es/commands/UpdateWorkforceCommand.js +28 -21
- package/dist-es/commands/UpdateWorkteamCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/SageMakerServiceException.js +10 -5
- package/dist-es/models/models_0.js +259 -678
- package/dist-es/models/models_1.js +280 -818
- package/dist-es/models/models_2.js +245 -720
- package/dist-es/models/models_3.js +192 -552
- package/dist-es/pagination/ListActionsPaginator.js +68 -25
- package/dist-es/pagination/ListAlgorithmsPaginator.js +68 -25
- package/dist-es/pagination/ListAppImageConfigsPaginator.js +68 -25
- package/dist-es/pagination/ListAppsPaginator.js +68 -25
- package/dist-es/pagination/ListArtifactsPaginator.js +68 -25
- package/dist-es/pagination/ListAssociationsPaginator.js +68 -25
- package/dist-es/pagination/ListAutoMLJobsPaginator.js +68 -25
- package/dist-es/pagination/ListCandidatesForAutoMLJobPaginator.js +68 -25
- package/dist-es/pagination/ListCodeRepositoriesPaginator.js +68 -25
- package/dist-es/pagination/ListCompilationJobsPaginator.js +68 -25
- package/dist-es/pagination/ListContextsPaginator.js +68 -25
- package/dist-es/pagination/ListDataQualityJobDefinitionsPaginator.js +68 -25
- package/dist-es/pagination/ListDeviceFleetsPaginator.js +68 -25
- package/dist-es/pagination/ListDevicesPaginator.js +68 -25
- package/dist-es/pagination/ListDomainsPaginator.js +68 -25
- package/dist-es/pagination/ListEdgeDeploymentPlansPaginator.js +68 -25
- package/dist-es/pagination/ListEdgePackagingJobsPaginator.js +68 -25
- package/dist-es/pagination/ListEndpointConfigsPaginator.js +68 -25
- package/dist-es/pagination/ListEndpointsPaginator.js +68 -25
- package/dist-es/pagination/ListExperimentsPaginator.js +68 -25
- package/dist-es/pagination/ListFlowDefinitionsPaginator.js +68 -25
- package/dist-es/pagination/ListHumanTaskUisPaginator.js +68 -25
- package/dist-es/pagination/ListHyperParameterTuningJobsPaginator.js +68 -25
- package/dist-es/pagination/ListImageVersionsPaginator.js +68 -25
- package/dist-es/pagination/ListImagesPaginator.js +68 -25
- package/dist-es/pagination/ListInferenceRecommendationsJobsPaginator.js +68 -25
- package/dist-es/pagination/ListLabelingJobsForWorkteamPaginator.js +68 -25
- package/dist-es/pagination/ListLabelingJobsPaginator.js +68 -25
- package/dist-es/pagination/ListLineageGroupsPaginator.js +68 -25
- package/dist-es/pagination/ListModelBiasJobDefinitionsPaginator.js +68 -25
- package/dist-es/pagination/ListModelExplainabilityJobDefinitionsPaginator.js +68 -25
- package/dist-es/pagination/ListModelMetadataPaginator.js +68 -25
- package/dist-es/pagination/ListModelPackageGroupsPaginator.js +68 -25
- package/dist-es/pagination/ListModelPackagesPaginator.js +68 -25
- package/dist-es/pagination/ListModelQualityJobDefinitionsPaginator.js +68 -25
- package/dist-es/pagination/ListModelsPaginator.js +68 -25
- package/dist-es/pagination/ListMonitoringExecutionsPaginator.js +68 -25
- package/dist-es/pagination/ListMonitoringSchedulesPaginator.js +68 -25
- package/dist-es/pagination/ListNotebookInstanceLifecycleConfigsPaginator.js +68 -25
- package/dist-es/pagination/ListNotebookInstancesPaginator.js +68 -25
- package/dist-es/pagination/ListPipelineExecutionStepsPaginator.js +68 -25
- package/dist-es/pagination/ListPipelineExecutionsPaginator.js +68 -25
- package/dist-es/pagination/ListPipelineParametersForExecutionPaginator.js +68 -25
- package/dist-es/pagination/ListPipelinesPaginator.js +68 -25
- package/dist-es/pagination/ListProcessingJobsPaginator.js +68 -25
- package/dist-es/pagination/ListProjectsPaginator.js +68 -25
- package/dist-es/pagination/ListStageDevicesPaginator.js +68 -25
- package/dist-es/pagination/ListStudioLifecycleConfigsPaginator.js +68 -25
- package/dist-es/pagination/ListSubscribedWorkteamsPaginator.js +68 -25
- package/dist-es/pagination/ListTagsPaginator.js +68 -25
- package/dist-es/pagination/ListTrainingJobsForHyperParameterTuningJobPaginator.js +68 -25
- package/dist-es/pagination/ListTrainingJobsPaginator.js +68 -25
- package/dist-es/pagination/ListTransformJobsPaginator.js +68 -25
- package/dist-es/pagination/ListTrialComponentsPaginator.js +68 -25
- package/dist-es/pagination/ListTrialsPaginator.js +68 -25
- package/dist-es/pagination/ListUserProfilesPaginator.js +68 -25
- package/dist-es/pagination/ListWorkforcesPaginator.js +68 -25
- package/dist-es/pagination/ListWorkteamsPaginator.js +68 -25
- package/dist-es/pagination/QueryLineagePaginator.js +68 -25
- package/dist-es/pagination/SearchPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_1.js +19829 -17158
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/dist-es/waiters/waitForEndpointDeleted.js +50 -30
- package/dist-es/waiters/waitForEndpointInService.js +59 -39
- package/dist-es/waiters/waitForImageCreated.js +59 -39
- package/dist-es/waiters/waitForImageDeleted.js +53 -33
- package/dist-es/waiters/waitForImageUpdated.js +59 -39
- package/dist-es/waiters/waitForImageVersionCreated.js +59 -39
- package/dist-es/waiters/waitForImageVersionDeleted.js +53 -33
- package/dist-es/waiters/waitForNotebookInstanceDeleted.js +50 -30
- package/dist-es/waiters/waitForNotebookInstanceInService.js +56 -36
- package/dist-es/waiters/waitForNotebookInstanceStopped.js +56 -36
- package/dist-es/waiters/waitForProcessingJobCompletedOrStopped.js +68 -48
- package/dist-es/waiters/waitForTrainingJobCompletedOrStopped.js +68 -48
- package/dist-es/waiters/waitForTransformJobCompletedOrStopped.js +68 -48
- package/package.json +5 -5
|
@@ -1,43 +1,63 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { checkExceptions, createWaiter, WaiterState } from "@aws-sdk/util-waiter";
|
|
2
3
|
import { DescribeImageVersionCommand } from "../commands/DescribeImageVersionCommand";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
4
|
+
var checkState = function (client, input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5
|
+
var reason, result_1, returnComparator, returnComparator, exception_1;
|
|
6
|
+
return __generator(this, function (_a) {
|
|
7
|
+
switch (_a.label) {
|
|
8
|
+
case 0:
|
|
9
|
+
_a.trys.push([0, 2, , 3]);
|
|
10
|
+
return [4, client.send(new DescribeImageVersionCommand(input))];
|
|
11
|
+
case 1:
|
|
12
|
+
result_1 = _a.sent();
|
|
13
|
+
reason = result_1;
|
|
14
|
+
try {
|
|
15
|
+
returnComparator = function () {
|
|
16
|
+
return result_1.ImageVersionStatus;
|
|
17
|
+
};
|
|
18
|
+
if (returnComparator() === "CREATED") {
|
|
19
|
+
return [2, { state: WaiterState.SUCCESS, reason: reason }];
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
catch (e) { }
|
|
23
|
+
try {
|
|
24
|
+
returnComparator = function () {
|
|
25
|
+
return result_1.ImageVersionStatus;
|
|
26
|
+
};
|
|
27
|
+
if (returnComparator() === "CREATE_FAILED") {
|
|
28
|
+
return [2, { state: WaiterState.FAILURE, reason: reason }];
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
catch (e) { }
|
|
32
|
+
return [3, 3];
|
|
33
|
+
case 2:
|
|
34
|
+
exception_1 = _a.sent();
|
|
35
|
+
reason = exception_1;
|
|
36
|
+
if (exception_1.name && exception_1.name == "ValidationException") {
|
|
37
|
+
return [2, { state: WaiterState.FAILURE, reason: reason }];
|
|
38
|
+
}
|
|
39
|
+
return [3, 3];
|
|
40
|
+
case 3: return [2, { state: WaiterState.RETRY, reason: reason }];
|
|
15
41
|
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
42
|
+
});
|
|
43
|
+
}); };
|
|
44
|
+
export var waitForImageVersionCreated = function (params, input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
45
|
+
var serviceDefaults;
|
|
46
|
+
return __generator(this, function (_a) {
|
|
47
|
+
serviceDefaults = { minDelay: 60, maxDelay: 120 };
|
|
48
|
+
return [2, createWaiter(__assign(__assign({}, serviceDefaults), params), input, checkState)];
|
|
49
|
+
});
|
|
50
|
+
}); };
|
|
51
|
+
export var waitUntilImageVersionCreated = function (params, input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
52
|
+
var serviceDefaults, result;
|
|
53
|
+
return __generator(this, function (_a) {
|
|
54
|
+
switch (_a.label) {
|
|
55
|
+
case 0:
|
|
56
|
+
serviceDefaults = { minDelay: 60, maxDelay: 120 };
|
|
57
|
+
return [4, createWaiter(__assign(__assign({}, serviceDefaults), params), input, checkState)];
|
|
58
|
+
case 1:
|
|
59
|
+
result = _a.sent();
|
|
60
|
+
return [2, checkExceptions(result)];
|
|
24
61
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
catch (exception) {
|
|
28
|
-
reason = exception;
|
|
29
|
-
if (exception.name && exception.name == "ValidationException") {
|
|
30
|
-
return { state: WaiterState.FAILURE, reason };
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
return { state: WaiterState.RETRY, reason };
|
|
34
|
-
};
|
|
35
|
-
export const waitForImageVersionCreated = async (params, input) => {
|
|
36
|
-
const serviceDefaults = { minDelay: 60, maxDelay: 120 };
|
|
37
|
-
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
38
|
-
};
|
|
39
|
-
export const waitUntilImageVersionCreated = async (params, input) => {
|
|
40
|
-
const serviceDefaults = { minDelay: 60, maxDelay: 120 };
|
|
41
|
-
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
42
|
-
return checkExceptions(result);
|
|
43
|
-
};
|
|
62
|
+
});
|
|
63
|
+
}); };
|
|
@@ -1,37 +1,57 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { checkExceptions, createWaiter, WaiterState } from "@aws-sdk/util-waiter";
|
|
2
3
|
import { DescribeImageVersionCommand } from "../commands/DescribeImageVersionCommand";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
4
|
+
var checkState = function (client, input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5
|
+
var reason, result_1, returnComparator, exception_1;
|
|
6
|
+
return __generator(this, function (_a) {
|
|
7
|
+
switch (_a.label) {
|
|
8
|
+
case 0:
|
|
9
|
+
_a.trys.push([0, 2, , 3]);
|
|
10
|
+
return [4, client.send(new DescribeImageVersionCommand(input))];
|
|
11
|
+
case 1:
|
|
12
|
+
result_1 = _a.sent();
|
|
13
|
+
reason = result_1;
|
|
14
|
+
try {
|
|
15
|
+
returnComparator = function () {
|
|
16
|
+
return result_1.ImageVersionStatus;
|
|
17
|
+
};
|
|
18
|
+
if (returnComparator() === "DELETE_FAILED") {
|
|
19
|
+
return [2, { state: WaiterState.FAILURE, reason: reason }];
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
catch (e) { }
|
|
23
|
+
return [3, 3];
|
|
24
|
+
case 2:
|
|
25
|
+
exception_1 = _a.sent();
|
|
26
|
+
reason = exception_1;
|
|
27
|
+
if (exception_1.name && exception_1.name == "ResourceNotFoundException") {
|
|
28
|
+
return [2, { state: WaiterState.SUCCESS, reason: reason }];
|
|
29
|
+
}
|
|
30
|
+
if (exception_1.name && exception_1.name == "ValidationException") {
|
|
31
|
+
return [2, { state: WaiterState.FAILURE, reason: reason }];
|
|
32
|
+
}
|
|
33
|
+
return [3, 3];
|
|
34
|
+
case 3: return [2, { state: WaiterState.RETRY, reason: reason }];
|
|
15
35
|
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
36
|
+
});
|
|
37
|
+
}); };
|
|
38
|
+
export var waitForImageVersionDeleted = function (params, input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
39
|
+
var serviceDefaults;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
serviceDefaults = { minDelay: 60, maxDelay: 120 };
|
|
42
|
+
return [2, createWaiter(__assign(__assign({}, serviceDefaults), params), input, checkState)];
|
|
43
|
+
});
|
|
44
|
+
}); };
|
|
45
|
+
export var waitUntilImageVersionDeleted = function (params, input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
46
|
+
var serviceDefaults, result;
|
|
47
|
+
return __generator(this, function (_a) {
|
|
48
|
+
switch (_a.label) {
|
|
49
|
+
case 0:
|
|
50
|
+
serviceDefaults = { minDelay: 60, maxDelay: 120 };
|
|
51
|
+
return [4, createWaiter(__assign(__assign({}, serviceDefaults), params), input, checkState)];
|
|
52
|
+
case 1:
|
|
53
|
+
result = _a.sent();
|
|
54
|
+
return [2, checkExceptions(result)];
|
|
22
55
|
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
return { state: WaiterState.RETRY, reason };
|
|
28
|
-
};
|
|
29
|
-
export const waitForImageVersionDeleted = async (params, input) => {
|
|
30
|
-
const serviceDefaults = { minDelay: 60, maxDelay: 120 };
|
|
31
|
-
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
32
|
-
};
|
|
33
|
-
export const waitUntilImageVersionDeleted = async (params, input) => {
|
|
34
|
-
const serviceDefaults = { minDelay: 60, maxDelay: 120 };
|
|
35
|
-
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
36
|
-
return checkExceptions(result);
|
|
37
|
-
};
|
|
56
|
+
});
|
|
57
|
+
}); };
|
|
@@ -1,34 +1,54 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { checkExceptions, createWaiter, WaiterState } from "@aws-sdk/util-waiter";
|
|
2
3
|
import { DescribeNotebookInstanceCommand, } from "../commands/DescribeNotebookInstanceCommand";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
4
|
+
var checkState = function (client, input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5
|
+
var reason, result_1, returnComparator, exception_1;
|
|
6
|
+
return __generator(this, function (_a) {
|
|
7
|
+
switch (_a.label) {
|
|
8
|
+
case 0:
|
|
9
|
+
_a.trys.push([0, 2, , 3]);
|
|
10
|
+
return [4, client.send(new DescribeNotebookInstanceCommand(input))];
|
|
11
|
+
case 1:
|
|
12
|
+
result_1 = _a.sent();
|
|
13
|
+
reason = result_1;
|
|
14
|
+
try {
|
|
15
|
+
returnComparator = function () {
|
|
16
|
+
return result_1.NotebookInstanceStatus;
|
|
17
|
+
};
|
|
18
|
+
if (returnComparator() === "Failed") {
|
|
19
|
+
return [2, { state: WaiterState.FAILURE, reason: reason }];
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
catch (e) { }
|
|
23
|
+
return [3, 3];
|
|
24
|
+
case 2:
|
|
25
|
+
exception_1 = _a.sent();
|
|
26
|
+
reason = exception_1;
|
|
27
|
+
if (exception_1.name && exception_1.name == "ValidationException") {
|
|
28
|
+
return [2, { state: WaiterState.SUCCESS, reason: reason }];
|
|
29
|
+
}
|
|
30
|
+
return [3, 3];
|
|
31
|
+
case 3: return [2, { state: WaiterState.RETRY, reason: reason }];
|
|
15
32
|
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
33
|
+
});
|
|
34
|
+
}); };
|
|
35
|
+
export var waitForNotebookInstanceDeleted = function (params, input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
36
|
+
var serviceDefaults;
|
|
37
|
+
return __generator(this, function (_a) {
|
|
38
|
+
serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
39
|
+
return [2, createWaiter(__assign(__assign({}, serviceDefaults), params), input, checkState)];
|
|
40
|
+
});
|
|
41
|
+
}); };
|
|
42
|
+
export var waitUntilNotebookInstanceDeleted = function (params, input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
43
|
+
var serviceDefaults, result;
|
|
44
|
+
return __generator(this, function (_a) {
|
|
45
|
+
switch (_a.label) {
|
|
46
|
+
case 0:
|
|
47
|
+
serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
48
|
+
return [4, createWaiter(__assign(__assign({}, serviceDefaults), params), input, checkState)];
|
|
49
|
+
case 1:
|
|
50
|
+
result = _a.sent();
|
|
51
|
+
return [2, checkExceptions(result)];
|
|
22
52
|
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
};
|
|
26
|
-
export const waitForNotebookInstanceDeleted = async (params, input) => {
|
|
27
|
-
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
28
|
-
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
29
|
-
};
|
|
30
|
-
export const waitUntilNotebookInstanceDeleted = async (params, input) => {
|
|
31
|
-
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
32
|
-
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
33
|
-
return checkExceptions(result);
|
|
34
|
-
};
|
|
53
|
+
});
|
|
54
|
+
}); };
|
|
@@ -1,40 +1,60 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { checkExceptions, createWaiter, WaiterState } from "@aws-sdk/util-waiter";
|
|
2
3
|
import { DescribeNotebookInstanceCommand, } from "../commands/DescribeNotebookInstanceCommand";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
4
|
+
var checkState = function (client, input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5
|
+
var reason, result_1, returnComparator, returnComparator, exception_1;
|
|
6
|
+
return __generator(this, function (_a) {
|
|
7
|
+
switch (_a.label) {
|
|
8
|
+
case 0:
|
|
9
|
+
_a.trys.push([0, 2, , 3]);
|
|
10
|
+
return [4, client.send(new DescribeNotebookInstanceCommand(input))];
|
|
11
|
+
case 1:
|
|
12
|
+
result_1 = _a.sent();
|
|
13
|
+
reason = result_1;
|
|
14
|
+
try {
|
|
15
|
+
returnComparator = function () {
|
|
16
|
+
return result_1.NotebookInstanceStatus;
|
|
17
|
+
};
|
|
18
|
+
if (returnComparator() === "InService") {
|
|
19
|
+
return [2, { state: WaiterState.SUCCESS, reason: reason }];
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
catch (e) { }
|
|
23
|
+
try {
|
|
24
|
+
returnComparator = function () {
|
|
25
|
+
return result_1.NotebookInstanceStatus;
|
|
26
|
+
};
|
|
27
|
+
if (returnComparator() === "Failed") {
|
|
28
|
+
return [2, { state: WaiterState.FAILURE, reason: reason }];
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
catch (e) { }
|
|
32
|
+
return [3, 3];
|
|
33
|
+
case 2:
|
|
34
|
+
exception_1 = _a.sent();
|
|
35
|
+
reason = exception_1;
|
|
36
|
+
return [3, 3];
|
|
37
|
+
case 3: return [2, { state: WaiterState.RETRY, reason: reason }];
|
|
15
38
|
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
39
|
+
});
|
|
40
|
+
}); };
|
|
41
|
+
export var waitForNotebookInstanceInService = function (params, input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
42
|
+
var serviceDefaults;
|
|
43
|
+
return __generator(this, function (_a) {
|
|
44
|
+
serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
45
|
+
return [2, createWaiter(__assign(__assign({}, serviceDefaults), params), input, checkState)];
|
|
46
|
+
});
|
|
47
|
+
}); };
|
|
48
|
+
export var waitUntilNotebookInstanceInService = function (params, input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
49
|
+
var serviceDefaults, result;
|
|
50
|
+
return __generator(this, function (_a) {
|
|
51
|
+
switch (_a.label) {
|
|
52
|
+
case 0:
|
|
53
|
+
serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
54
|
+
return [4, createWaiter(__assign(__assign({}, serviceDefaults), params), input, checkState)];
|
|
55
|
+
case 1:
|
|
56
|
+
result = _a.sent();
|
|
57
|
+
return [2, checkExceptions(result)];
|
|
24
58
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
catch (exception) {
|
|
28
|
-
reason = exception;
|
|
29
|
-
}
|
|
30
|
-
return { state: WaiterState.RETRY, reason };
|
|
31
|
-
};
|
|
32
|
-
export const waitForNotebookInstanceInService = async (params, input) => {
|
|
33
|
-
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
34
|
-
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
35
|
-
};
|
|
36
|
-
export const waitUntilNotebookInstanceInService = async (params, input) => {
|
|
37
|
-
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
38
|
-
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
39
|
-
return checkExceptions(result);
|
|
40
|
-
};
|
|
59
|
+
});
|
|
60
|
+
}); };
|
|
@@ -1,40 +1,60 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { checkExceptions, createWaiter, WaiterState } from "@aws-sdk/util-waiter";
|
|
2
3
|
import { DescribeNotebookInstanceCommand, } from "../commands/DescribeNotebookInstanceCommand";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
4
|
+
var checkState = function (client, input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5
|
+
var reason, result_1, returnComparator, returnComparator, exception_1;
|
|
6
|
+
return __generator(this, function (_a) {
|
|
7
|
+
switch (_a.label) {
|
|
8
|
+
case 0:
|
|
9
|
+
_a.trys.push([0, 2, , 3]);
|
|
10
|
+
return [4, client.send(new DescribeNotebookInstanceCommand(input))];
|
|
11
|
+
case 1:
|
|
12
|
+
result_1 = _a.sent();
|
|
13
|
+
reason = result_1;
|
|
14
|
+
try {
|
|
15
|
+
returnComparator = function () {
|
|
16
|
+
return result_1.NotebookInstanceStatus;
|
|
17
|
+
};
|
|
18
|
+
if (returnComparator() === "Stopped") {
|
|
19
|
+
return [2, { state: WaiterState.SUCCESS, reason: reason }];
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
catch (e) { }
|
|
23
|
+
try {
|
|
24
|
+
returnComparator = function () {
|
|
25
|
+
return result_1.NotebookInstanceStatus;
|
|
26
|
+
};
|
|
27
|
+
if (returnComparator() === "Failed") {
|
|
28
|
+
return [2, { state: WaiterState.FAILURE, reason: reason }];
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
catch (e) { }
|
|
32
|
+
return [3, 3];
|
|
33
|
+
case 2:
|
|
34
|
+
exception_1 = _a.sent();
|
|
35
|
+
reason = exception_1;
|
|
36
|
+
return [3, 3];
|
|
37
|
+
case 3: return [2, { state: WaiterState.RETRY, reason: reason }];
|
|
15
38
|
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
39
|
+
});
|
|
40
|
+
}); };
|
|
41
|
+
export var waitForNotebookInstanceStopped = function (params, input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
42
|
+
var serviceDefaults;
|
|
43
|
+
return __generator(this, function (_a) {
|
|
44
|
+
serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
45
|
+
return [2, createWaiter(__assign(__assign({}, serviceDefaults), params), input, checkState)];
|
|
46
|
+
});
|
|
47
|
+
}); };
|
|
48
|
+
export var waitUntilNotebookInstanceStopped = function (params, input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
49
|
+
var serviceDefaults, result;
|
|
50
|
+
return __generator(this, function (_a) {
|
|
51
|
+
switch (_a.label) {
|
|
52
|
+
case 0:
|
|
53
|
+
serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
54
|
+
return [4, createWaiter(__assign(__assign({}, serviceDefaults), params), input, checkState)];
|
|
55
|
+
case 1:
|
|
56
|
+
result = _a.sent();
|
|
57
|
+
return [2, checkExceptions(result)];
|
|
24
58
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
catch (exception) {
|
|
28
|
-
reason = exception;
|
|
29
|
-
}
|
|
30
|
-
return { state: WaiterState.RETRY, reason };
|
|
31
|
-
};
|
|
32
|
-
export const waitForNotebookInstanceStopped = async (params, input) => {
|
|
33
|
-
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
34
|
-
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
35
|
-
};
|
|
36
|
-
export const waitUntilNotebookInstanceStopped = async (params, input) => {
|
|
37
|
-
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
38
|
-
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
39
|
-
return checkExceptions(result);
|
|
40
|
-
};
|
|
59
|
+
});
|
|
60
|
+
}); };
|
|
@@ -1,52 +1,72 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { checkExceptions, createWaiter, WaiterState } from "@aws-sdk/util-waiter";
|
|
2
3
|
import { DescribeProcessingJobCommand, } from "../commands/DescribeProcessingJobCommand";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
4
|
+
var checkState = function (client, input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5
|
+
var reason, result_1, returnComparator, returnComparator, returnComparator, exception_1;
|
|
6
|
+
return __generator(this, function (_a) {
|
|
7
|
+
switch (_a.label) {
|
|
8
|
+
case 0:
|
|
9
|
+
_a.trys.push([0, 2, , 3]);
|
|
10
|
+
return [4, client.send(new DescribeProcessingJobCommand(input))];
|
|
11
|
+
case 1:
|
|
12
|
+
result_1 = _a.sent();
|
|
13
|
+
reason = result_1;
|
|
14
|
+
try {
|
|
15
|
+
returnComparator = function () {
|
|
16
|
+
return result_1.ProcessingJobStatus;
|
|
17
|
+
};
|
|
18
|
+
if (returnComparator() === "Completed") {
|
|
19
|
+
return [2, { state: WaiterState.SUCCESS, reason: reason }];
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
catch (e) { }
|
|
23
|
+
try {
|
|
24
|
+
returnComparator = function () {
|
|
25
|
+
return result_1.ProcessingJobStatus;
|
|
26
|
+
};
|
|
27
|
+
if (returnComparator() === "Stopped") {
|
|
28
|
+
return [2, { state: WaiterState.SUCCESS, reason: reason }];
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
catch (e) { }
|
|
32
|
+
try {
|
|
33
|
+
returnComparator = function () {
|
|
34
|
+
return result_1.ProcessingJobStatus;
|
|
35
|
+
};
|
|
36
|
+
if (returnComparator() === "Failed") {
|
|
37
|
+
return [2, { state: WaiterState.FAILURE, reason: reason }];
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
catch (e) { }
|
|
41
|
+
return [3, 3];
|
|
42
|
+
case 2:
|
|
43
|
+
exception_1 = _a.sent();
|
|
44
|
+
reason = exception_1;
|
|
45
|
+
if (exception_1.name && exception_1.name == "ValidationException") {
|
|
46
|
+
return [2, { state: WaiterState.FAILURE, reason: reason }];
|
|
47
|
+
}
|
|
48
|
+
return [3, 3];
|
|
49
|
+
case 3: return [2, { state: WaiterState.RETRY, reason: reason }];
|
|
15
50
|
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
51
|
+
});
|
|
52
|
+
}); };
|
|
53
|
+
export var waitForProcessingJobCompletedOrStopped = function (params, input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
54
|
+
var serviceDefaults;
|
|
55
|
+
return __generator(this, function (_a) {
|
|
56
|
+
serviceDefaults = { minDelay: 60, maxDelay: 120 };
|
|
57
|
+
return [2, createWaiter(__assign(__assign({}, serviceDefaults), params), input, checkState)];
|
|
58
|
+
});
|
|
59
|
+
}); };
|
|
60
|
+
export var waitUntilProcessingJobCompletedOrStopped = function (params, input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
61
|
+
var serviceDefaults, result;
|
|
62
|
+
return __generator(this, function (_a) {
|
|
63
|
+
switch (_a.label) {
|
|
64
|
+
case 0:
|
|
65
|
+
serviceDefaults = { minDelay: 60, maxDelay: 120 };
|
|
66
|
+
return [4, createWaiter(__assign(__assign({}, serviceDefaults), params), input, checkState)];
|
|
67
|
+
case 1:
|
|
68
|
+
result = _a.sent();
|
|
69
|
+
return [2, checkExceptions(result)];
|
|
24
70
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const returnComparator = () => {
|
|
28
|
-
return result.ProcessingJobStatus;
|
|
29
|
-
};
|
|
30
|
-
if (returnComparator() === "Failed") {
|
|
31
|
-
return { state: WaiterState.FAILURE, reason };
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
catch (e) { }
|
|
35
|
-
}
|
|
36
|
-
catch (exception) {
|
|
37
|
-
reason = exception;
|
|
38
|
-
if (exception.name && exception.name == "ValidationException") {
|
|
39
|
-
return { state: WaiterState.FAILURE, reason };
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
return { state: WaiterState.RETRY, reason };
|
|
43
|
-
};
|
|
44
|
-
export const waitForProcessingJobCompletedOrStopped = async (params, input) => {
|
|
45
|
-
const serviceDefaults = { minDelay: 60, maxDelay: 120 };
|
|
46
|
-
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
47
|
-
};
|
|
48
|
-
export const waitUntilProcessingJobCompletedOrStopped = async (params, input) => {
|
|
49
|
-
const serviceDefaults = { minDelay: 60, maxDelay: 120 };
|
|
50
|
-
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
51
|
-
return checkExceptions(result);
|
|
52
|
-
};
|
|
71
|
+
});
|
|
72
|
+
}); };
|