@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,32 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
1
2
|
import { ListModelExplainabilityJobDefinitionsCommand, } from "../commands/ListModelExplainabilityJobDefinitionsCommand";
|
|
2
3
|
import { SageMaker } from "../SageMaker";
|
|
3
4
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListModelExplainabilityJobDefinitionsCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
6
18
|
};
|
|
7
|
-
|
|
8
|
-
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listModelExplainabilityJobDefinitions.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
9
32
|
};
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
while (hasNext) {
|
|
15
|
-
input.NextToken = token;
|
|
16
|
-
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof SageMaker) {
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
21
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
throw new Error("Invalid client, expected SageMaker | SageMakerClient");
|
|
25
|
-
}
|
|
26
|
-
yield page;
|
|
27
|
-
const prevToken = token;
|
|
28
|
-
token = page.NextToken;
|
|
29
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
export function paginateListModelExplainabilityJobDefinitions(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
30
37
|
}
|
|
31
|
-
return
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListModelExplainabilityJobDefinitions_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof SageMaker)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof SageMakerClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected SageMaker | SageMakerClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.NextToken;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
32
75
|
}
|
|
@@ -1,32 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
1
2
|
import { ListModelMetadataCommand, } from "../commands/ListModelMetadataCommand";
|
|
2
3
|
import { SageMaker } from "../SageMaker";
|
|
3
4
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListModelMetadataCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
6
18
|
};
|
|
7
|
-
|
|
8
|
-
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listModelMetadata.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
9
32
|
};
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
while (hasNext) {
|
|
15
|
-
input.NextToken = token;
|
|
16
|
-
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof SageMaker) {
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
21
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
throw new Error("Invalid client, expected SageMaker | SageMakerClient");
|
|
25
|
-
}
|
|
26
|
-
yield page;
|
|
27
|
-
const prevToken = token;
|
|
28
|
-
token = page.NextToken;
|
|
29
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
export function paginateListModelMetadata(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
30
37
|
}
|
|
31
|
-
return
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListModelMetadata_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof SageMaker)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof SageMakerClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected SageMaker | SageMakerClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.NextToken;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
32
75
|
}
|
|
@@ -1,32 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
1
2
|
import { ListModelPackageGroupsCommand, } from "../commands/ListModelPackageGroupsCommand";
|
|
2
3
|
import { SageMaker } from "../SageMaker";
|
|
3
4
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListModelPackageGroupsCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
6
18
|
};
|
|
7
|
-
|
|
8
|
-
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listModelPackageGroups.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
9
32
|
};
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
while (hasNext) {
|
|
15
|
-
input.NextToken = token;
|
|
16
|
-
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof SageMaker) {
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
21
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
throw new Error("Invalid client, expected SageMaker | SageMakerClient");
|
|
25
|
-
}
|
|
26
|
-
yield page;
|
|
27
|
-
const prevToken = token;
|
|
28
|
-
token = page.NextToken;
|
|
29
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
export function paginateListModelPackageGroups(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
30
37
|
}
|
|
31
|
-
return
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListModelPackageGroups_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof SageMaker)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof SageMakerClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected SageMaker | SageMakerClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.NextToken;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
32
75
|
}
|
|
@@ -1,32 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
1
2
|
import { ListModelPackagesCommand, } from "../commands/ListModelPackagesCommand";
|
|
2
3
|
import { SageMaker } from "../SageMaker";
|
|
3
4
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListModelPackagesCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
6
18
|
};
|
|
7
|
-
|
|
8
|
-
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listModelPackages.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
9
32
|
};
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
while (hasNext) {
|
|
15
|
-
input.NextToken = token;
|
|
16
|
-
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof SageMaker) {
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
21
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
throw new Error("Invalid client, expected SageMaker | SageMakerClient");
|
|
25
|
-
}
|
|
26
|
-
yield page;
|
|
27
|
-
const prevToken = token;
|
|
28
|
-
token = page.NextToken;
|
|
29
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
export function paginateListModelPackages(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
30
37
|
}
|
|
31
|
-
return
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListModelPackages_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof SageMaker)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof SageMakerClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected SageMaker | SageMakerClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.NextToken;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
32
75
|
}
|
|
@@ -1,32 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
1
2
|
import { ListModelQualityJobDefinitionsCommand, } from "../commands/ListModelQualityJobDefinitionsCommand";
|
|
2
3
|
import { SageMaker } from "../SageMaker";
|
|
3
4
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListModelQualityJobDefinitionsCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
6
18
|
};
|
|
7
|
-
|
|
8
|
-
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listModelQualityJobDefinitions.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
9
32
|
};
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
while (hasNext) {
|
|
15
|
-
input.NextToken = token;
|
|
16
|
-
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof SageMaker) {
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
21
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
throw new Error("Invalid client, expected SageMaker | SageMakerClient");
|
|
25
|
-
}
|
|
26
|
-
yield page;
|
|
27
|
-
const prevToken = token;
|
|
28
|
-
token = page.NextToken;
|
|
29
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
export function paginateListModelQualityJobDefinitions(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
30
37
|
}
|
|
31
|
-
return
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListModelQualityJobDefinitions_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof SageMaker)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof SageMakerClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected SageMaker | SageMakerClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.NextToken;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
32
75
|
}
|
|
@@ -1,32 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
1
2
|
import { ListModelsCommand } from "../commands/ListModelsCommand";
|
|
2
3
|
import { SageMaker } from "../SageMaker";
|
|
3
4
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
|
-
|
|
5
|
-
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListModelsCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
6
18
|
};
|
|
7
|
-
|
|
8
|
-
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listModels.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
9
32
|
};
|
|
10
|
-
export
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
while (hasNext) {
|
|
15
|
-
input.NextToken = token;
|
|
16
|
-
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof SageMaker) {
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
21
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
|
-
}
|
|
23
|
-
else {
|
|
24
|
-
throw new Error("Invalid client, expected SageMaker | SageMakerClient");
|
|
25
|
-
}
|
|
26
|
-
yield page;
|
|
27
|
-
const prevToken = token;
|
|
28
|
-
token = page.NextToken;
|
|
29
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
export function paginateListModels(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
30
37
|
}
|
|
31
|
-
return
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListModels_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof SageMaker)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof SageMakerClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected SageMaker | SageMakerClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.NextToken;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
32
75
|
}
|