@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,3 +1,4 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import packageInfo from "../package.json";
|
|
2
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
@@ -11,30 +12,15 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
|
11
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
13
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
13
14
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
14
|
-
export
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
26
|
-
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
27
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
28
|
-
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
29
|
-
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
30
|
-
region: config?.region ?? invalidProvider("Region is missing"),
|
|
31
|
-
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
|
|
32
|
-
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
33
|
-
sha256: config?.sha256 ?? Sha256,
|
|
34
|
-
streamCollector: config?.streamCollector ?? streamCollector,
|
|
35
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
36
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
37
|
-
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
38
|
-
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
39
|
-
};
|
|
15
|
+
export var getRuntimeConfig = function (config) {
|
|
16
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
18
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
19
|
+
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
21
|
+
switch (_a.label) {
|
|
22
|
+
case 0: return [4, defaultConfigProvider()];
|
|
23
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
24
|
+
}
|
|
25
|
+
}); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
40
26
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import packageInfo from "../package.json";
|
|
2
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
3
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
@@ -14,35 +15,16 @@ import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shar
|
|
|
14
15
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
15
16
|
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
16
17
|
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
17
|
-
export
|
|
18
|
+
export var getRuntimeConfig = function (config) {
|
|
19
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
20
|
emitWarningIfUnsupportedVersion(process.version);
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
return {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
29
|
-
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
30
|
-
credentialDefaultProvider: config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider),
|
|
31
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
32
|
-
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
33
|
-
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
34
|
-
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
35
|
-
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
|
|
36
|
-
retryMode: config?.retryMode ??
|
|
37
|
-
loadNodeConfig({
|
|
38
|
-
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
39
|
-
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
40
|
-
}),
|
|
41
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
42
|
-
streamCollector: config?.streamCollector ?? streamCollector,
|
|
43
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
44
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
-
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
46
|
-
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
47
|
-
};
|
|
21
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
22
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
23
|
+
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
24
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
25
|
+
switch (_a.label) {
|
|
26
|
+
case 0: return [4, defaultConfigProvider()];
|
|
27
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
28
|
+
}
|
|
29
|
+
}); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
48
30
|
};
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
+
import { __assign } from "tslib";
|
|
1
2
|
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
3
|
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
...config,
|
|
8
|
-
runtime: "react-native",
|
|
9
|
-
sha256: config?.sha256 ?? Sha256,
|
|
10
|
-
};
|
|
4
|
+
export var getRuntimeConfig = function (config) {
|
|
5
|
+
var _a;
|
|
6
|
+
var browserDefaults = getBrowserRuntimeConfig(config);
|
|
7
|
+
return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
|
|
11
8
|
};
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
2
|
import { defaultRegionInfoProvider } from "./endpoints";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
export var getRuntimeConfig = function (config) {
|
|
4
|
+
var _a, _b, _c, _d, _e;
|
|
5
|
+
return ({
|
|
6
|
+
apiVersion: "2017-07-24",
|
|
7
|
+
disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false,
|
|
8
|
+
logger: (_b = config === null || config === void 0 ? void 0 : config.logger) !== null && _b !== void 0 ? _b : {},
|
|
9
|
+
regionInfoProvider: (_c = config === null || config === void 0 ? void 0 : config.regionInfoProvider) !== null && _c !== void 0 ? _c : defaultRegionInfoProvider,
|
|
10
|
+
serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "SageMaker",
|
|
11
|
+
urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
|
|
12
|
+
});
|
|
13
|
+
};
|
|
@@ -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 { DescribeEndpointCommand } from "../commands/DescribeEndpointCommand";
|
|
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 DescribeEndpointCommand(input))];
|
|
11
|
+
case 1:
|
|
12
|
+
result_1 = _a.sent();
|
|
13
|
+
reason = result_1;
|
|
14
|
+
try {
|
|
15
|
+
returnComparator = function () {
|
|
16
|
+
return result_1.EndpointStatus;
|
|
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 waitForEndpointDeleted = 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 waitUntilEndpointDeleted = 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 waitForEndpointDeleted = async (params, input) => {
|
|
27
|
-
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
28
|
-
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
29
|
-
};
|
|
30
|
-
export const waitUntilEndpointDeleted = 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,43 +1,63 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { checkExceptions, createWaiter, WaiterState } from "@aws-sdk/util-waiter";
|
|
2
3
|
import { DescribeEndpointCommand } from "../commands/DescribeEndpointCommand";
|
|
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 DescribeEndpointCommand(input))];
|
|
11
|
+
case 1:
|
|
12
|
+
result_1 = _a.sent();
|
|
13
|
+
reason = result_1;
|
|
14
|
+
try {
|
|
15
|
+
returnComparator = function () {
|
|
16
|
+
return result_1.EndpointStatus;
|
|
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.EndpointStatus;
|
|
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
|
+
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 waitForEndpointInService = function (params, input) { return __awaiter(void 0, void 0, void 0, function () {
|
|
45
|
+
var serviceDefaults;
|
|
46
|
+
return __generator(this, function (_a) {
|
|
47
|
+
serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
48
|
+
return [2, createWaiter(__assign(__assign({}, serviceDefaults), params), input, checkState)];
|
|
49
|
+
});
|
|
50
|
+
}); };
|
|
51
|
+
export var waitUntilEndpointInService = 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: 30, 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 waitForEndpointInService = async (params, input) => {
|
|
36
|
-
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
37
|
-
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
38
|
-
};
|
|
39
|
-
export const waitUntilEndpointInService = async (params, input) => {
|
|
40
|
-
const serviceDefaults = { minDelay: 30, maxDelay: 120 };
|
|
41
|
-
const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
42
|
-
return checkExceptions(result);
|
|
43
|
-
};
|
|
62
|
+
});
|
|
63
|
+
}); };
|
|
@@ -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 { DescribeImageCommand } from "../commands/DescribeImageCommand";
|
|
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 DescribeImageCommand(input))];
|
|
11
|
+
case 1:
|
|
12
|
+
result_1 = _a.sent();
|
|
13
|
+
reason = result_1;
|
|
14
|
+
try {
|
|
15
|
+
returnComparator = function () {
|
|
16
|
+
return result_1.ImageStatus;
|
|
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.ImageStatus;
|
|
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 waitForImageCreated = 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 waitUntilImageCreated = 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 waitForImageCreated = async (params, input) => {
|
|
36
|
-
const serviceDefaults = { minDelay: 60, maxDelay: 120 };
|
|
37
|
-
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
38
|
-
};
|
|
39
|
-
export const waitUntilImageCreated = 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 { DescribeImageCommand } from "../commands/DescribeImageCommand";
|
|
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 DescribeImageCommand(input))];
|
|
11
|
+
case 1:
|
|
12
|
+
result_1 = _a.sent();
|
|
13
|
+
reason = result_1;
|
|
14
|
+
try {
|
|
15
|
+
returnComparator = function () {
|
|
16
|
+
return result_1.ImageStatus;
|
|
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 waitForImageDeleted = 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 waitUntilImageDeleted = 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 waitForImageDeleted = async (params, input) => {
|
|
30
|
-
const serviceDefaults = { minDelay: 60, maxDelay: 120 };
|
|
31
|
-
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
32
|
-
};
|
|
33
|
-
export const waitUntilImageDeleted = 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,43 +1,63 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { checkExceptions, createWaiter, WaiterState } from "@aws-sdk/util-waiter";
|
|
2
3
|
import { DescribeImageCommand } from "../commands/DescribeImageCommand";
|
|
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 DescribeImageCommand(input))];
|
|
11
|
+
case 1:
|
|
12
|
+
result_1 = _a.sent();
|
|
13
|
+
reason = result_1;
|
|
14
|
+
try {
|
|
15
|
+
returnComparator = function () {
|
|
16
|
+
return result_1.ImageStatus;
|
|
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.ImageStatus;
|
|
26
|
+
};
|
|
27
|
+
if (returnComparator() === "UPDATE_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 waitForImageUpdated = 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 waitUntilImageUpdated = 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 waitForImageUpdated = async (params, input) => {
|
|
36
|
-
const serviceDefaults = { minDelay: 60, maxDelay: 120 };
|
|
37
|
-
return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
38
|
-
};
|
|
39
|
-
export const waitUntilImageUpdated = 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
|
+
}); };
|