@aws-sdk/client-sagemaker 3.182.0 → 3.183.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 +8 -0
- package/dist-es/SageMaker.js +1054 -1061
- package/dist-es/SageMakerClient.js +22 -28
- package/dist-es/commands/AddAssociationCommand.js +21 -28
- package/dist-es/commands/AddTagsCommand.js +21 -28
- package/dist-es/commands/AssociateTrialComponentCommand.js +21 -28
- package/dist-es/commands/BatchDescribeModelPackageCommand.js +21 -28
- package/dist-es/commands/CreateActionCommand.js +21 -28
- package/dist-es/commands/CreateAlgorithmCommand.js +21 -28
- package/dist-es/commands/CreateAppCommand.js +21 -28
- package/dist-es/commands/CreateAppImageConfigCommand.js +21 -28
- package/dist-es/commands/CreateArtifactCommand.js +21 -28
- package/dist-es/commands/CreateAutoMLJobCommand.js +21 -28
- package/dist-es/commands/CreateCodeRepositoryCommand.js +21 -28
- package/dist-es/commands/CreateCompilationJobCommand.js +21 -28
- package/dist-es/commands/CreateContextCommand.js +21 -28
- package/dist-es/commands/CreateDataQualityJobDefinitionCommand.js +21 -28
- package/dist-es/commands/CreateDeviceFleetCommand.js +22 -29
- package/dist-es/commands/CreateDomainCommand.js +21 -28
- package/dist-es/commands/CreateEdgeDeploymentPlanCommand.js +21 -28
- package/dist-es/commands/CreateEdgeDeploymentStageCommand.js +22 -29
- package/dist-es/commands/CreateEdgePackagingJobCommand.js +22 -29
- package/dist-es/commands/CreateEndpointCommand.js +21 -28
- package/dist-es/commands/CreateEndpointConfigCommand.js +21 -28
- package/dist-es/commands/CreateExperimentCommand.js +21 -28
- package/dist-es/commands/CreateFeatureGroupCommand.js +21 -28
- package/dist-es/commands/CreateFlowDefinitionCommand.js +21 -28
- package/dist-es/commands/CreateHumanTaskUiCommand.js +21 -28
- package/dist-es/commands/CreateHyperParameterTuningJobCommand.js +21 -28
- package/dist-es/commands/CreateImageCommand.js +21 -28
- package/dist-es/commands/CreateImageVersionCommand.js +21 -28
- package/dist-es/commands/CreateInferenceRecommendationsJobCommand.js +21 -28
- package/dist-es/commands/CreateLabelingJobCommand.js +21 -28
- package/dist-es/commands/CreateModelBiasJobDefinitionCommand.js +21 -28
- package/dist-es/commands/CreateModelCommand.js +21 -28
- package/dist-es/commands/CreateModelExplainabilityJobDefinitionCommand.js +21 -28
- package/dist-es/commands/CreateModelPackageCommand.js +21 -28
- package/dist-es/commands/CreateModelPackageGroupCommand.js +21 -28
- package/dist-es/commands/CreateModelQualityJobDefinitionCommand.js +21 -28
- package/dist-es/commands/CreateMonitoringScheduleCommand.js +21 -28
- package/dist-es/commands/CreateNotebookInstanceCommand.js +21 -28
- package/dist-es/commands/CreateNotebookInstanceLifecycleConfigCommand.js +21 -28
- package/dist-es/commands/CreatePipelineCommand.js +21 -28
- package/dist-es/commands/CreatePresignedDomainUrlCommand.js +21 -28
- package/dist-es/commands/CreatePresignedNotebookInstanceUrlCommand.js +21 -28
- package/dist-es/commands/CreateProcessingJobCommand.js +21 -28
- package/dist-es/commands/CreateProjectCommand.js +21 -28
- package/dist-es/commands/CreateStudioLifecycleConfigCommand.js +21 -28
- package/dist-es/commands/CreateTrainingJobCommand.js +21 -28
- package/dist-es/commands/CreateTransformJobCommand.js +21 -28
- package/dist-es/commands/CreateTrialCommand.js +21 -28
- package/dist-es/commands/CreateTrialComponentCommand.js +21 -28
- package/dist-es/commands/CreateUserProfileCommand.js +21 -28
- package/dist-es/commands/CreateWorkforceCommand.js +21 -28
- package/dist-es/commands/CreateWorkteamCommand.js +21 -28
- package/dist-es/commands/DeleteActionCommand.js +21 -28
- package/dist-es/commands/DeleteAlgorithmCommand.js +22 -29
- package/dist-es/commands/DeleteAppCommand.js +22 -29
- package/dist-es/commands/DeleteAppImageConfigCommand.js +22 -29
- package/dist-es/commands/DeleteArtifactCommand.js +21 -28
- package/dist-es/commands/DeleteAssociationCommand.js +21 -28
- package/dist-es/commands/DeleteCodeRepositoryCommand.js +22 -29
- package/dist-es/commands/DeleteContextCommand.js +21 -28
- package/dist-es/commands/DeleteDataQualityJobDefinitionCommand.js +22 -29
- package/dist-es/commands/DeleteDeviceFleetCommand.js +22 -29
- package/dist-es/commands/DeleteDomainCommand.js +22 -29
- package/dist-es/commands/DeleteEdgeDeploymentPlanCommand.js +22 -29
- package/dist-es/commands/DeleteEdgeDeploymentStageCommand.js +22 -29
- package/dist-es/commands/DeleteEndpointCommand.js +22 -29
- package/dist-es/commands/DeleteEndpointConfigCommand.js +22 -29
- package/dist-es/commands/DeleteExperimentCommand.js +21 -28
- package/dist-es/commands/DeleteFeatureGroupCommand.js +22 -29
- package/dist-es/commands/DeleteFlowDefinitionCommand.js +21 -28
- package/dist-es/commands/DeleteHumanTaskUiCommand.js +21 -28
- package/dist-es/commands/DeleteImageCommand.js +21 -28
- package/dist-es/commands/DeleteImageVersionCommand.js +21 -28
- package/dist-es/commands/DeleteModelBiasJobDefinitionCommand.js +22 -29
- package/dist-es/commands/DeleteModelCommand.js +22 -29
- package/dist-es/commands/DeleteModelExplainabilityJobDefinitionCommand.js +22 -29
- package/dist-es/commands/DeleteModelPackageCommand.js +22 -29
- package/dist-es/commands/DeleteModelPackageGroupCommand.js +22 -29
- package/dist-es/commands/DeleteModelPackageGroupPolicyCommand.js +22 -29
- package/dist-es/commands/DeleteModelQualityJobDefinitionCommand.js +22 -29
- package/dist-es/commands/DeleteMonitoringScheduleCommand.js +22 -29
- package/dist-es/commands/DeleteNotebookInstanceCommand.js +22 -29
- package/dist-es/commands/DeleteNotebookInstanceLifecycleConfigCommand.js +22 -29
- package/dist-es/commands/DeletePipelineCommand.js +21 -28
- package/dist-es/commands/DeleteProjectCommand.js +22 -29
- package/dist-es/commands/DeleteStudioLifecycleConfigCommand.js +22 -29
- package/dist-es/commands/DeleteTagsCommand.js +21 -28
- package/dist-es/commands/DeleteTrialCommand.js +21 -28
- package/dist-es/commands/DeleteTrialComponentCommand.js +21 -28
- package/dist-es/commands/DeleteUserProfileCommand.js +22 -29
- package/dist-es/commands/DeleteWorkforceCommand.js +21 -28
- package/dist-es/commands/DeleteWorkteamCommand.js +21 -28
- package/dist-es/commands/DeregisterDevicesCommand.js +22 -29
- package/dist-es/commands/DescribeActionCommand.js +21 -28
- package/dist-es/commands/DescribeAlgorithmCommand.js +21 -28
- package/dist-es/commands/DescribeAppCommand.js +21 -28
- package/dist-es/commands/DescribeAppImageConfigCommand.js +21 -28
- package/dist-es/commands/DescribeArtifactCommand.js +21 -28
- package/dist-es/commands/DescribeAutoMLJobCommand.js +21 -28
- package/dist-es/commands/DescribeCodeRepositoryCommand.js +21 -28
- package/dist-es/commands/DescribeCompilationJobCommand.js +21 -28
- package/dist-es/commands/DescribeContextCommand.js +21 -28
- package/dist-es/commands/DescribeDataQualityJobDefinitionCommand.js +21 -28
- package/dist-es/commands/DescribeDeviceCommand.js +21 -28
- package/dist-es/commands/DescribeDeviceFleetCommand.js +21 -28
- package/dist-es/commands/DescribeDomainCommand.js +21 -28
- package/dist-es/commands/DescribeEdgeDeploymentPlanCommand.js +21 -28
- package/dist-es/commands/DescribeEdgePackagingJobCommand.js +21 -28
- package/dist-es/commands/DescribeEndpointCommand.js +21 -28
- package/dist-es/commands/DescribeEndpointConfigCommand.js +21 -28
- package/dist-es/commands/DescribeExperimentCommand.js +21 -28
- package/dist-es/commands/DescribeFeatureGroupCommand.js +21 -28
- package/dist-es/commands/DescribeFeatureMetadataCommand.js +21 -28
- package/dist-es/commands/DescribeFlowDefinitionCommand.js +21 -28
- package/dist-es/commands/DescribeHumanTaskUiCommand.js +21 -28
- package/dist-es/commands/DescribeHyperParameterTuningJobCommand.js +21 -28
- package/dist-es/commands/DescribeImageCommand.js +21 -28
- package/dist-es/commands/DescribeImageVersionCommand.js +21 -28
- package/dist-es/commands/DescribeInferenceRecommendationsJobCommand.js +21 -28
- package/dist-es/commands/DescribeLabelingJobCommand.js +21 -28
- package/dist-es/commands/DescribeLineageGroupCommand.js +21 -28
- package/dist-es/commands/DescribeModelBiasJobDefinitionCommand.js +21 -28
- package/dist-es/commands/DescribeModelCommand.js +21 -28
- package/dist-es/commands/DescribeModelExplainabilityJobDefinitionCommand.js +21 -28
- package/dist-es/commands/DescribeModelPackageCommand.js +21 -28
- package/dist-es/commands/DescribeModelPackageGroupCommand.js +21 -28
- package/dist-es/commands/DescribeModelQualityJobDefinitionCommand.js +21 -28
- package/dist-es/commands/DescribeMonitoringScheduleCommand.js +21 -28
- package/dist-es/commands/DescribeNotebookInstanceCommand.js +21 -28
- package/dist-es/commands/DescribeNotebookInstanceLifecycleConfigCommand.js +21 -28
- package/dist-es/commands/DescribePipelineCommand.js +21 -28
- package/dist-es/commands/DescribePipelineDefinitionForExecutionCommand.js +21 -28
- package/dist-es/commands/DescribePipelineExecutionCommand.js +21 -28
- package/dist-es/commands/DescribeProcessingJobCommand.js +21 -28
- package/dist-es/commands/DescribeProjectCommand.js +21 -28
- package/dist-es/commands/DescribeStudioLifecycleConfigCommand.js +21 -28
- package/dist-es/commands/DescribeSubscribedWorkteamCommand.js +21 -28
- package/dist-es/commands/DescribeTrainingJobCommand.js +21 -28
- package/dist-es/commands/DescribeTransformJobCommand.js +21 -28
- package/dist-es/commands/DescribeTrialCommand.js +21 -28
- package/dist-es/commands/DescribeTrialComponentCommand.js +21 -28
- package/dist-es/commands/DescribeUserProfileCommand.js +21 -28
- package/dist-es/commands/DescribeWorkforceCommand.js +21 -28
- package/dist-es/commands/DescribeWorkteamCommand.js +21 -28
- package/dist-es/commands/DisableSagemakerServicecatalogPortfolioCommand.js +21 -28
- package/dist-es/commands/DisassociateTrialComponentCommand.js +21 -28
- package/dist-es/commands/EnableSagemakerServicecatalogPortfolioCommand.js +21 -28
- package/dist-es/commands/GetDeviceFleetReportCommand.js +21 -28
- package/dist-es/commands/GetLineageGroupPolicyCommand.js +21 -28
- package/dist-es/commands/GetModelPackageGroupPolicyCommand.js +21 -28
- package/dist-es/commands/GetSagemakerServicecatalogPortfolioStatusCommand.js +21 -28
- package/dist-es/commands/GetSearchSuggestionsCommand.js +21 -28
- package/dist-es/commands/ListActionsCommand.js +21 -28
- package/dist-es/commands/ListAlgorithmsCommand.js +21 -28
- package/dist-es/commands/ListAppImageConfigsCommand.js +21 -28
- package/dist-es/commands/ListAppsCommand.js +21 -28
- package/dist-es/commands/ListArtifactsCommand.js +21 -28
- package/dist-es/commands/ListAssociationsCommand.js +21 -28
- package/dist-es/commands/ListAutoMLJobsCommand.js +21 -28
- package/dist-es/commands/ListCandidatesForAutoMLJobCommand.js +21 -28
- package/dist-es/commands/ListCodeRepositoriesCommand.js +21 -28
- package/dist-es/commands/ListCompilationJobsCommand.js +21 -28
- package/dist-es/commands/ListContextsCommand.js +21 -28
- package/dist-es/commands/ListDataQualityJobDefinitionsCommand.js +21 -28
- package/dist-es/commands/ListDeviceFleetsCommand.js +21 -28
- package/dist-es/commands/ListDevicesCommand.js +21 -28
- package/dist-es/commands/ListDomainsCommand.js +21 -28
- package/dist-es/commands/ListEdgeDeploymentPlansCommand.js +21 -28
- package/dist-es/commands/ListEdgePackagingJobsCommand.js +21 -28
- package/dist-es/commands/ListEndpointConfigsCommand.js +21 -28
- package/dist-es/commands/ListEndpointsCommand.js +21 -28
- package/dist-es/commands/ListExperimentsCommand.js +21 -28
- package/dist-es/commands/ListFeatureGroupsCommand.js +21 -28
- package/dist-es/commands/ListFlowDefinitionsCommand.js +21 -28
- package/dist-es/commands/ListHumanTaskUisCommand.js +21 -28
- package/dist-es/commands/ListHyperParameterTuningJobsCommand.js +21 -28
- package/dist-es/commands/ListImageVersionsCommand.js +21 -28
- package/dist-es/commands/ListImagesCommand.js +21 -28
- package/dist-es/commands/ListInferenceRecommendationsJobsCommand.js +21 -28
- package/dist-es/commands/ListLabelingJobsCommand.js +21 -28
- package/dist-es/commands/ListLabelingJobsForWorkteamCommand.js +21 -28
- package/dist-es/commands/ListLineageGroupsCommand.js +21 -28
- package/dist-es/commands/ListModelBiasJobDefinitionsCommand.js +21 -28
- package/dist-es/commands/ListModelExplainabilityJobDefinitionsCommand.js +21 -28
- package/dist-es/commands/ListModelMetadataCommand.js +21 -28
- package/dist-es/commands/ListModelPackageGroupsCommand.js +21 -28
- package/dist-es/commands/ListModelPackagesCommand.js +21 -28
- package/dist-es/commands/ListModelQualityJobDefinitionsCommand.js +21 -28
- package/dist-es/commands/ListModelsCommand.js +21 -28
- package/dist-es/commands/ListMonitoringExecutionsCommand.js +21 -28
- package/dist-es/commands/ListMonitoringSchedulesCommand.js +21 -28
- package/dist-es/commands/ListNotebookInstanceLifecycleConfigsCommand.js +21 -28
- package/dist-es/commands/ListNotebookInstancesCommand.js +21 -28
- package/dist-es/commands/ListPipelineExecutionStepsCommand.js +21 -28
- package/dist-es/commands/ListPipelineExecutionsCommand.js +21 -28
- package/dist-es/commands/ListPipelineParametersForExecutionCommand.js +21 -28
- package/dist-es/commands/ListPipelinesCommand.js +21 -28
- package/dist-es/commands/ListProcessingJobsCommand.js +21 -28
- package/dist-es/commands/ListProjectsCommand.js +21 -28
- package/dist-es/commands/ListStageDevicesCommand.js +21 -28
- package/dist-es/commands/ListStudioLifecycleConfigsCommand.js +21 -28
- package/dist-es/commands/ListSubscribedWorkteamsCommand.js +21 -28
- package/dist-es/commands/ListTagsCommand.js +21 -28
- package/dist-es/commands/ListTrainingJobsCommand.js +21 -28
- package/dist-es/commands/ListTrainingJobsForHyperParameterTuningJobCommand.js +21 -28
- package/dist-es/commands/ListTransformJobsCommand.js +21 -28
- package/dist-es/commands/ListTrialComponentsCommand.js +21 -28
- package/dist-es/commands/ListTrialsCommand.js +21 -28
- package/dist-es/commands/ListUserProfilesCommand.js +21 -28
- package/dist-es/commands/ListWorkforcesCommand.js +21 -28
- package/dist-es/commands/ListWorkteamsCommand.js +21 -28
- package/dist-es/commands/PutModelPackageGroupPolicyCommand.js +21 -28
- package/dist-es/commands/QueryLineageCommand.js +21 -28
- package/dist-es/commands/RegisterDevicesCommand.js +22 -29
- package/dist-es/commands/RenderUiTemplateCommand.js +21 -28
- package/dist-es/commands/RetryPipelineExecutionCommand.js +21 -28
- package/dist-es/commands/SearchCommand.js +21 -28
- package/dist-es/commands/SendPipelineExecutionStepFailureCommand.js +21 -28
- package/dist-es/commands/SendPipelineExecutionStepSuccessCommand.js +21 -28
- package/dist-es/commands/StartEdgeDeploymentStageCommand.js +22 -29
- package/dist-es/commands/StartMonitoringScheduleCommand.js +22 -29
- package/dist-es/commands/StartNotebookInstanceCommand.js +22 -29
- package/dist-es/commands/StartPipelineExecutionCommand.js +21 -28
- package/dist-es/commands/StopAutoMLJobCommand.js +22 -29
- package/dist-es/commands/StopCompilationJobCommand.js +22 -29
- package/dist-es/commands/StopEdgeDeploymentStageCommand.js +22 -29
- package/dist-es/commands/StopEdgePackagingJobCommand.js +22 -29
- package/dist-es/commands/StopHyperParameterTuningJobCommand.js +22 -29
- package/dist-es/commands/StopInferenceRecommendationsJobCommand.js +22 -29
- package/dist-es/commands/StopLabelingJobCommand.js +22 -29
- package/dist-es/commands/StopMonitoringScheduleCommand.js +22 -29
- package/dist-es/commands/StopNotebookInstanceCommand.js +22 -29
- package/dist-es/commands/StopPipelineExecutionCommand.js +21 -28
- package/dist-es/commands/StopProcessingJobCommand.js +22 -29
- package/dist-es/commands/StopTrainingJobCommand.js +22 -29
- package/dist-es/commands/StopTransformJobCommand.js +22 -29
- package/dist-es/commands/UpdateActionCommand.js +21 -28
- package/dist-es/commands/UpdateAppImageConfigCommand.js +21 -28
- package/dist-es/commands/UpdateArtifactCommand.js +21 -28
- package/dist-es/commands/UpdateCodeRepositoryCommand.js +21 -28
- package/dist-es/commands/UpdateContextCommand.js +21 -28
- package/dist-es/commands/UpdateDeviceFleetCommand.js +22 -29
- package/dist-es/commands/UpdateDevicesCommand.js +22 -29
- package/dist-es/commands/UpdateDomainCommand.js +21 -28
- package/dist-es/commands/UpdateEndpointCommand.js +21 -28
- package/dist-es/commands/UpdateEndpointWeightsAndCapacitiesCommand.js +21 -28
- package/dist-es/commands/UpdateExperimentCommand.js +21 -28
- package/dist-es/commands/UpdateFeatureGroupCommand.js +21 -28
- package/dist-es/commands/UpdateFeatureMetadataCommand.js +22 -29
- package/dist-es/commands/UpdateImageCommand.js +21 -28
- package/dist-es/commands/UpdateModelPackageCommand.js +21 -28
- package/dist-es/commands/UpdateMonitoringScheduleCommand.js +21 -28
- package/dist-es/commands/UpdateNotebookInstanceCommand.js +21 -28
- package/dist-es/commands/UpdateNotebookInstanceLifecycleConfigCommand.js +21 -28
- package/dist-es/commands/UpdatePipelineCommand.js +21 -28
- package/dist-es/commands/UpdatePipelineExecutionCommand.js +21 -28
- package/dist-es/commands/UpdateProjectCommand.js +21 -28
- package/dist-es/commands/UpdateTrainingJobCommand.js +21 -28
- package/dist-es/commands/UpdateTrialCommand.js +21 -28
- package/dist-es/commands/UpdateTrialComponentCommand.js +21 -28
- package/dist-es/commands/UpdateUserProfileCommand.js +21 -28
- package/dist-es/commands/UpdateWorkforceCommand.js +21 -28
- package/dist-es/commands/UpdateWorkteamCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/SageMakerServiceException.js +5 -10
- package/dist-es/models/models_0.js +678 -259
- package/dist-es/models/models_1.js +818 -280
- package/dist-es/models/models_2.js +720 -245
- package/dist-es/models/models_3.js +552 -192
- package/dist-es/pagination/ListActionsPaginator.js +25 -68
- package/dist-es/pagination/ListAlgorithmsPaginator.js +25 -68
- package/dist-es/pagination/ListAppImageConfigsPaginator.js +25 -68
- package/dist-es/pagination/ListAppsPaginator.js +25 -68
- package/dist-es/pagination/ListArtifactsPaginator.js +25 -68
- package/dist-es/pagination/ListAssociationsPaginator.js +25 -68
- package/dist-es/pagination/ListAutoMLJobsPaginator.js +25 -68
- package/dist-es/pagination/ListCandidatesForAutoMLJobPaginator.js +25 -68
- package/dist-es/pagination/ListCodeRepositoriesPaginator.js +25 -68
- package/dist-es/pagination/ListCompilationJobsPaginator.js +25 -68
- package/dist-es/pagination/ListContextsPaginator.js +25 -68
- package/dist-es/pagination/ListDataQualityJobDefinitionsPaginator.js +25 -68
- package/dist-es/pagination/ListDeviceFleetsPaginator.js +25 -68
- package/dist-es/pagination/ListDevicesPaginator.js +25 -68
- package/dist-es/pagination/ListDomainsPaginator.js +25 -68
- package/dist-es/pagination/ListEdgeDeploymentPlansPaginator.js +25 -68
- package/dist-es/pagination/ListEdgePackagingJobsPaginator.js +25 -68
- package/dist-es/pagination/ListEndpointConfigsPaginator.js +25 -68
- package/dist-es/pagination/ListEndpointsPaginator.js +25 -68
- package/dist-es/pagination/ListExperimentsPaginator.js +25 -68
- package/dist-es/pagination/ListFlowDefinitionsPaginator.js +25 -68
- package/dist-es/pagination/ListHumanTaskUisPaginator.js +25 -68
- package/dist-es/pagination/ListHyperParameterTuningJobsPaginator.js +25 -68
- package/dist-es/pagination/ListImageVersionsPaginator.js +25 -68
- package/dist-es/pagination/ListImagesPaginator.js +25 -68
- package/dist-es/pagination/ListInferenceRecommendationsJobsPaginator.js +25 -68
- package/dist-es/pagination/ListLabelingJobsForWorkteamPaginator.js +25 -68
- package/dist-es/pagination/ListLabelingJobsPaginator.js +25 -68
- package/dist-es/pagination/ListLineageGroupsPaginator.js +25 -68
- package/dist-es/pagination/ListModelBiasJobDefinitionsPaginator.js +25 -68
- package/dist-es/pagination/ListModelExplainabilityJobDefinitionsPaginator.js +25 -68
- package/dist-es/pagination/ListModelMetadataPaginator.js +25 -68
- package/dist-es/pagination/ListModelPackageGroupsPaginator.js +25 -68
- package/dist-es/pagination/ListModelPackagesPaginator.js +25 -68
- package/dist-es/pagination/ListModelQualityJobDefinitionsPaginator.js +25 -68
- package/dist-es/pagination/ListModelsPaginator.js +25 -68
- package/dist-es/pagination/ListMonitoringExecutionsPaginator.js +25 -68
- package/dist-es/pagination/ListMonitoringSchedulesPaginator.js +25 -68
- package/dist-es/pagination/ListNotebookInstanceLifecycleConfigsPaginator.js +25 -68
- package/dist-es/pagination/ListNotebookInstancesPaginator.js +25 -68
- package/dist-es/pagination/ListPipelineExecutionStepsPaginator.js +25 -68
- package/dist-es/pagination/ListPipelineExecutionsPaginator.js +25 -68
- package/dist-es/pagination/ListPipelineParametersForExecutionPaginator.js +25 -68
- package/dist-es/pagination/ListPipelinesPaginator.js +25 -68
- package/dist-es/pagination/ListProcessingJobsPaginator.js +25 -68
- package/dist-es/pagination/ListProjectsPaginator.js +25 -68
- package/dist-es/pagination/ListStageDevicesPaginator.js +25 -68
- package/dist-es/pagination/ListStudioLifecycleConfigsPaginator.js +25 -68
- package/dist-es/pagination/ListSubscribedWorkteamsPaginator.js +25 -68
- package/dist-es/pagination/ListTagsPaginator.js +25 -68
- package/dist-es/pagination/ListTrainingJobsForHyperParameterTuningJobPaginator.js +25 -68
- package/dist-es/pagination/ListTrainingJobsPaginator.js +25 -68
- package/dist-es/pagination/ListTransformJobsPaginator.js +25 -68
- package/dist-es/pagination/ListTrialComponentsPaginator.js +25 -68
- package/dist-es/pagination/ListTrialsPaginator.js +25 -68
- package/dist-es/pagination/ListUserProfilesPaginator.js +25 -68
- package/dist-es/pagination/ListWorkforcesPaginator.js +25 -68
- package/dist-es/pagination/ListWorkteamsPaginator.js +25 -68
- package/dist-es/pagination/QueryLineagePaginator.js +25 -68
- package/dist-es/pagination/SearchPaginator.js +25 -68
- package/dist-es/protocols/Aws_json1_1.js +17157 -19828
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/dist-es/waiters/waitForEndpointDeleted.js +30 -50
- package/dist-es/waiters/waitForEndpointInService.js +39 -59
- package/dist-es/waiters/waitForImageCreated.js +39 -59
- package/dist-es/waiters/waitForImageDeleted.js +33 -53
- package/dist-es/waiters/waitForImageUpdated.js +39 -59
- package/dist-es/waiters/waitForImageVersionCreated.js +39 -59
- package/dist-es/waiters/waitForImageVersionDeleted.js +33 -53
- package/dist-es/waiters/waitForNotebookInstanceDeleted.js +30 -50
- package/dist-es/waiters/waitForNotebookInstanceInService.js +36 -56
- package/dist-es/waiters/waitForNotebookInstanceStopped.js +36 -56
- package/dist-es/waiters/waitForProcessingJobCompletedOrStopped.js +48 -68
- package/dist-es/waiters/waitForTrainingJobCompletedOrStopped.js +48 -68
- package/dist-es/waiters/waitForTransformJobCompletedOrStopped.js +48 -68
- package/package.json +34 -34
|
@@ -1,75 +1,32 @@
|
|
|
1
|
-
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
1
|
import { ListModelExplainabilityJobDefinitionsCommand, } from "../commands/ListModelExplainabilityJobDefinitionsCommand";
|
|
3
2
|
import { SageMaker } from "../SageMaker";
|
|
4
3
|
import { SageMakerClient } from "../SageMakerClient";
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
});
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new ListModelExplainabilityJobDefinitionsCommand(input), ...args);
|
|
18
6
|
};
|
|
19
|
-
|
|
20
|
-
|
|
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
|
-
});
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.listModelExplainabilityJobDefinitions(input, ...args);
|
|
32
9
|
};
|
|
33
|
-
export function paginateListModelExplainabilityJobDefinitions(config, input) {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
10
|
+
export async function* paginateListModelExplainabilityJobDefinitions(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
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));
|
|
37
30
|
}
|
|
38
|
-
return
|
|
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
|
-
});
|
|
31
|
+
return undefined;
|
|
75
32
|
}
|
|
@@ -1,75 +1,32 @@
|
|
|
1
|
-
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
1
|
import { ListModelMetadataCommand, } from "../commands/ListModelMetadataCommand";
|
|
3
2
|
import { SageMaker } from "../SageMaker";
|
|
4
3
|
import { SageMakerClient } from "../SageMakerClient";
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
});
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new ListModelMetadataCommand(input), ...args);
|
|
18
6
|
};
|
|
19
|
-
|
|
20
|
-
|
|
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
|
-
});
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.listModelMetadata(input, ...args);
|
|
32
9
|
};
|
|
33
|
-
export function paginateListModelMetadata(config, input) {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
10
|
+
export async function* paginateListModelMetadata(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
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));
|
|
37
30
|
}
|
|
38
|
-
return
|
|
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
|
-
});
|
|
31
|
+
return undefined;
|
|
75
32
|
}
|
|
@@ -1,75 +1,32 @@
|
|
|
1
|
-
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
1
|
import { ListModelPackageGroupsCommand, } from "../commands/ListModelPackageGroupsCommand";
|
|
3
2
|
import { SageMaker } from "../SageMaker";
|
|
4
3
|
import { SageMakerClient } from "../SageMakerClient";
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
});
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new ListModelPackageGroupsCommand(input), ...args);
|
|
18
6
|
};
|
|
19
|
-
|
|
20
|
-
|
|
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
|
-
});
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.listModelPackageGroups(input, ...args);
|
|
32
9
|
};
|
|
33
|
-
export function paginateListModelPackageGroups(config, input) {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
10
|
+
export async function* paginateListModelPackageGroups(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
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));
|
|
37
30
|
}
|
|
38
|
-
return
|
|
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
|
-
});
|
|
31
|
+
return undefined;
|
|
75
32
|
}
|
|
@@ -1,75 +1,32 @@
|
|
|
1
|
-
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
1
|
import { ListModelPackagesCommand, } from "../commands/ListModelPackagesCommand";
|
|
3
2
|
import { SageMaker } from "../SageMaker";
|
|
4
3
|
import { SageMakerClient } from "../SageMakerClient";
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
});
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new ListModelPackagesCommand(input), ...args);
|
|
18
6
|
};
|
|
19
|
-
|
|
20
|
-
|
|
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
|
-
});
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.listModelPackages(input, ...args);
|
|
32
9
|
};
|
|
33
|
-
export function paginateListModelPackages(config, input) {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
10
|
+
export async function* paginateListModelPackages(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
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));
|
|
37
30
|
}
|
|
38
|
-
return
|
|
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
|
-
});
|
|
31
|
+
return undefined;
|
|
75
32
|
}
|
|
@@ -1,75 +1,32 @@
|
|
|
1
|
-
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
1
|
import { ListModelQualityJobDefinitionsCommand, } from "../commands/ListModelQualityJobDefinitionsCommand";
|
|
3
2
|
import { SageMaker } from "../SageMaker";
|
|
4
3
|
import { SageMakerClient } from "../SageMakerClient";
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
});
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new ListModelQualityJobDefinitionsCommand(input), ...args);
|
|
18
6
|
};
|
|
19
|
-
|
|
20
|
-
|
|
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
|
-
});
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.listModelQualityJobDefinitions(input, ...args);
|
|
32
9
|
};
|
|
33
|
-
export function paginateListModelQualityJobDefinitions(config, input) {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
10
|
+
export async function* paginateListModelQualityJobDefinitions(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
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));
|
|
37
30
|
}
|
|
38
|
-
return
|
|
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
|
-
});
|
|
31
|
+
return undefined;
|
|
75
32
|
}
|
|
@@ -1,75 +1,32 @@
|
|
|
1
|
-
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
1
|
import { ListModelsCommand } from "../commands/ListModelsCommand";
|
|
3
2
|
import { SageMaker } from "../SageMaker";
|
|
4
3
|
import { SageMakerClient } from "../SageMakerClient";
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
});
|
|
4
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
|
+
return await client.send(new ListModelsCommand(input), ...args);
|
|
18
6
|
};
|
|
19
|
-
|
|
20
|
-
|
|
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
|
-
});
|
|
7
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.listModels(input, ...args);
|
|
32
9
|
};
|
|
33
|
-
export function paginateListModels(config, input) {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
10
|
+
export async function* paginateListModels(config, input, ...additionalArguments) {
|
|
11
|
+
let token = config.startingToken || undefined;
|
|
12
|
+
let hasNext = true;
|
|
13
|
+
let page;
|
|
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));
|
|
37
30
|
}
|
|
38
|
-
return
|
|
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
|
-
});
|
|
31
|
+
return undefined;
|
|
75
32
|
}
|