@aws-sdk/client-sagemaker 3.76.0 → 3.78.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.
Files changed (144) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist-cjs/commands/DescribeLineageGroupCommand.js +2 -1
  3. package/dist-cjs/commands/DescribeModelCommand.js +1 -2
  4. package/dist-cjs/commands/ListTrainingJobsCommand.js +2 -1
  5. package/dist-cjs/models/models_1.js +18 -18
  6. package/dist-cjs/models/models_2.js +18 -19
  7. package/dist-cjs/models/models_3.js +16 -3
  8. package/dist-cjs/pagination/ListActionsPaginator.js +2 -1
  9. package/dist-cjs/pagination/ListAlgorithmsPaginator.js +2 -1
  10. package/dist-cjs/pagination/ListAppImageConfigsPaginator.js +2 -1
  11. package/dist-cjs/pagination/ListAppsPaginator.js +2 -1
  12. package/dist-cjs/pagination/ListArtifactsPaginator.js +2 -1
  13. package/dist-cjs/pagination/ListAssociationsPaginator.js +2 -1
  14. package/dist-cjs/pagination/ListAutoMLJobsPaginator.js +2 -1
  15. package/dist-cjs/pagination/ListCandidatesForAutoMLJobPaginator.js +2 -1
  16. package/dist-cjs/pagination/ListCodeRepositoriesPaginator.js +2 -1
  17. package/dist-cjs/pagination/ListCompilationJobsPaginator.js +2 -1
  18. package/dist-cjs/pagination/ListContextsPaginator.js +2 -1
  19. package/dist-cjs/pagination/ListDataQualityJobDefinitionsPaginator.js +2 -1
  20. package/dist-cjs/pagination/ListDeviceFleetsPaginator.js +2 -1
  21. package/dist-cjs/pagination/ListDevicesPaginator.js +2 -1
  22. package/dist-cjs/pagination/ListDomainsPaginator.js +2 -1
  23. package/dist-cjs/pagination/ListEdgePackagingJobsPaginator.js +2 -1
  24. package/dist-cjs/pagination/ListEndpointConfigsPaginator.js +2 -1
  25. package/dist-cjs/pagination/ListEndpointsPaginator.js +2 -1
  26. package/dist-cjs/pagination/ListExperimentsPaginator.js +2 -1
  27. package/dist-cjs/pagination/ListFlowDefinitionsPaginator.js +2 -1
  28. package/dist-cjs/pagination/ListHumanTaskUisPaginator.js +2 -1
  29. package/dist-cjs/pagination/ListHyperParameterTuningJobsPaginator.js +2 -1
  30. package/dist-cjs/pagination/ListImageVersionsPaginator.js +2 -1
  31. package/dist-cjs/pagination/ListImagesPaginator.js +2 -1
  32. package/dist-cjs/pagination/ListInferenceRecommendationsJobsPaginator.js +2 -1
  33. package/dist-cjs/pagination/ListLabelingJobsForWorkteamPaginator.js +2 -1
  34. package/dist-cjs/pagination/ListLabelingJobsPaginator.js +2 -1
  35. package/dist-cjs/pagination/ListLineageGroupsPaginator.js +2 -1
  36. package/dist-cjs/pagination/ListModelBiasJobDefinitionsPaginator.js +2 -1
  37. package/dist-cjs/pagination/ListModelExplainabilityJobDefinitionsPaginator.js +2 -1
  38. package/dist-cjs/pagination/ListModelMetadataPaginator.js +2 -1
  39. package/dist-cjs/pagination/ListModelPackageGroupsPaginator.js +2 -1
  40. package/dist-cjs/pagination/ListModelPackagesPaginator.js +2 -1
  41. package/dist-cjs/pagination/ListModelQualityJobDefinitionsPaginator.js +2 -1
  42. package/dist-cjs/pagination/ListModelsPaginator.js +2 -1
  43. package/dist-cjs/pagination/ListMonitoringExecutionsPaginator.js +2 -1
  44. package/dist-cjs/pagination/ListMonitoringSchedulesPaginator.js +2 -1
  45. package/dist-cjs/pagination/ListNotebookInstanceLifecycleConfigsPaginator.js +2 -1
  46. package/dist-cjs/pagination/ListNotebookInstancesPaginator.js +2 -1
  47. package/dist-cjs/pagination/ListPipelineExecutionStepsPaginator.js +2 -1
  48. package/dist-cjs/pagination/ListPipelineExecutionsPaginator.js +2 -1
  49. package/dist-cjs/pagination/ListPipelineParametersForExecutionPaginator.js +2 -1
  50. package/dist-cjs/pagination/ListPipelinesPaginator.js +2 -1
  51. package/dist-cjs/pagination/ListProcessingJobsPaginator.js +2 -1
  52. package/dist-cjs/pagination/ListProjectsPaginator.js +2 -1
  53. package/dist-cjs/pagination/ListStudioLifecycleConfigsPaginator.js +2 -1
  54. package/dist-cjs/pagination/ListSubscribedWorkteamsPaginator.js +2 -1
  55. package/dist-cjs/pagination/ListTagsPaginator.js +2 -1
  56. package/dist-cjs/pagination/ListTrainingJobsForHyperParameterTuningJobPaginator.js +2 -1
  57. package/dist-cjs/pagination/ListTrainingJobsPaginator.js +2 -1
  58. package/dist-cjs/pagination/ListTransformJobsPaginator.js +2 -1
  59. package/dist-cjs/pagination/ListTrialComponentsPaginator.js +2 -1
  60. package/dist-cjs/pagination/ListTrialsPaginator.js +2 -1
  61. package/dist-cjs/pagination/ListUserProfilesPaginator.js +2 -1
  62. package/dist-cjs/pagination/ListWorkforcesPaginator.js +2 -1
  63. package/dist-cjs/pagination/ListWorkteamsPaginator.js +2 -1
  64. package/dist-cjs/pagination/QueryLineagePaginator.js +2 -1
  65. package/dist-cjs/pagination/SearchPaginator.js +2 -1
  66. package/dist-cjs/protocols/Aws_json1_1.js +21 -0
  67. package/dist-es/commands/DescribeLineageGroupCommand.js +2 -1
  68. package/dist-es/commands/DescribeModelCommand.js +1 -2
  69. package/dist-es/commands/ListTrainingJobsCommand.js +2 -1
  70. package/dist-es/models/models_1.js +8 -8
  71. package/dist-es/models/models_2.js +8 -11
  72. package/dist-es/models/models_3.js +11 -0
  73. package/dist-es/pagination/ListActionsPaginator.js +3 -2
  74. package/dist-es/pagination/ListAlgorithmsPaginator.js +3 -2
  75. package/dist-es/pagination/ListAppImageConfigsPaginator.js +3 -2
  76. package/dist-es/pagination/ListAppsPaginator.js +3 -2
  77. package/dist-es/pagination/ListArtifactsPaginator.js +3 -2
  78. package/dist-es/pagination/ListAssociationsPaginator.js +3 -2
  79. package/dist-es/pagination/ListAutoMLJobsPaginator.js +3 -2
  80. package/dist-es/pagination/ListCandidatesForAutoMLJobPaginator.js +3 -2
  81. package/dist-es/pagination/ListCodeRepositoriesPaginator.js +3 -2
  82. package/dist-es/pagination/ListCompilationJobsPaginator.js +3 -2
  83. package/dist-es/pagination/ListContextsPaginator.js +3 -2
  84. package/dist-es/pagination/ListDataQualityJobDefinitionsPaginator.js +3 -2
  85. package/dist-es/pagination/ListDeviceFleetsPaginator.js +3 -2
  86. package/dist-es/pagination/ListDevicesPaginator.js +3 -2
  87. package/dist-es/pagination/ListDomainsPaginator.js +3 -2
  88. package/dist-es/pagination/ListEdgePackagingJobsPaginator.js +3 -2
  89. package/dist-es/pagination/ListEndpointConfigsPaginator.js +3 -2
  90. package/dist-es/pagination/ListEndpointsPaginator.js +3 -2
  91. package/dist-es/pagination/ListExperimentsPaginator.js +3 -2
  92. package/dist-es/pagination/ListFlowDefinitionsPaginator.js +3 -2
  93. package/dist-es/pagination/ListHumanTaskUisPaginator.js +3 -2
  94. package/dist-es/pagination/ListHyperParameterTuningJobsPaginator.js +3 -2
  95. package/dist-es/pagination/ListImageVersionsPaginator.js +3 -2
  96. package/dist-es/pagination/ListImagesPaginator.js +3 -2
  97. package/dist-es/pagination/ListInferenceRecommendationsJobsPaginator.js +3 -2
  98. package/dist-es/pagination/ListLabelingJobsForWorkteamPaginator.js +3 -2
  99. package/dist-es/pagination/ListLabelingJobsPaginator.js +3 -2
  100. package/dist-es/pagination/ListLineageGroupsPaginator.js +3 -2
  101. package/dist-es/pagination/ListModelBiasJobDefinitionsPaginator.js +3 -2
  102. package/dist-es/pagination/ListModelExplainabilityJobDefinitionsPaginator.js +3 -2
  103. package/dist-es/pagination/ListModelMetadataPaginator.js +3 -2
  104. package/dist-es/pagination/ListModelPackageGroupsPaginator.js +3 -2
  105. package/dist-es/pagination/ListModelPackagesPaginator.js +3 -2
  106. package/dist-es/pagination/ListModelQualityJobDefinitionsPaginator.js +3 -2
  107. package/dist-es/pagination/ListModelsPaginator.js +3 -2
  108. package/dist-es/pagination/ListMonitoringExecutionsPaginator.js +3 -2
  109. package/dist-es/pagination/ListMonitoringSchedulesPaginator.js +3 -2
  110. package/dist-es/pagination/ListNotebookInstanceLifecycleConfigsPaginator.js +3 -2
  111. package/dist-es/pagination/ListNotebookInstancesPaginator.js +3 -2
  112. package/dist-es/pagination/ListPipelineExecutionStepsPaginator.js +3 -2
  113. package/dist-es/pagination/ListPipelineExecutionsPaginator.js +3 -2
  114. package/dist-es/pagination/ListPipelineParametersForExecutionPaginator.js +3 -2
  115. package/dist-es/pagination/ListPipelinesPaginator.js +3 -2
  116. package/dist-es/pagination/ListProcessingJobsPaginator.js +3 -2
  117. package/dist-es/pagination/ListProjectsPaginator.js +3 -2
  118. package/dist-es/pagination/ListStudioLifecycleConfigsPaginator.js +3 -2
  119. package/dist-es/pagination/ListSubscribedWorkteamsPaginator.js +3 -2
  120. package/dist-es/pagination/ListTagsPaginator.js +3 -2
  121. package/dist-es/pagination/ListTrainingJobsForHyperParameterTuningJobPaginator.js +3 -2
  122. package/dist-es/pagination/ListTrainingJobsPaginator.js +3 -2
  123. package/dist-es/pagination/ListTransformJobsPaginator.js +3 -2
  124. package/dist-es/pagination/ListTrialComponentsPaginator.js +3 -2
  125. package/dist-es/pagination/ListTrialsPaginator.js +3 -2
  126. package/dist-es/pagination/ListUserProfilesPaginator.js +3 -2
  127. package/dist-es/pagination/ListWorkforcesPaginator.js +3 -2
  128. package/dist-es/pagination/ListWorkteamsPaginator.js +3 -2
  129. package/dist-es/pagination/QueryLineagePaginator.js +3 -2
  130. package/dist-es/pagination/SearchPaginator.js +3 -2
  131. package/dist-es/protocols/Aws_json1_1.js +18 -4
  132. package/dist-types/commands/DescribeLineageGroupCommand.d.ts +2 -1
  133. package/dist-types/commands/DescribeModelCommand.d.ts +1 -2
  134. package/dist-types/commands/ListTrainingJobsCommand.d.ts +2 -1
  135. package/dist-types/models/models_1.d.ts +117 -54
  136. package/dist-types/models/models_2.d.ts +54 -24
  137. package/dist-types/models/models_3.d.ts +25 -1
  138. package/dist-types/ts3.4/commands/DescribeLineageGroupCommand.d.ts +2 -1
  139. package/dist-types/ts3.4/commands/DescribeModelCommand.d.ts +1 -2
  140. package/dist-types/ts3.4/commands/ListTrainingJobsCommand.d.ts +2 -1
  141. package/dist-types/ts3.4/models/models_1.d.ts +24 -30
  142. package/dist-types/ts3.4/models/models_2.d.ts +30 -16
  143. package/dist-types/ts3.4/models/models_3.d.ts +17 -1
  144. package/package.json +26 -26
@@ -27,8 +27,9 @@ async function* paginateListLabelingJobs(config, input, ...additionalArguments)
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListLineageGroups(config, input, ...additionalArguments)
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListModelBiasJobDefinitions(config, input, ...additional
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListModelExplainabilityJobDefinitions(config, input, ...
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListModelMetadata(config, input, ...additionalArguments)
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListModelPackageGroups(config, input, ...additionalArgum
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListModelPackages(config, input, ...additionalArguments)
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListModelQualityJobDefinitions(config, input, ...additio
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListModels(config, input, ...additionalArguments) {
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListMonitoringExecutions(config, input, ...additionalArg
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListMonitoringSchedules(config, input, ...additionalArgu
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListNotebookInstanceLifecycleConfigs(config, input, ...a
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListNotebookInstances(config, input, ...additionalArgume
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListPipelineExecutionSteps(config, input, ...additionalA
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListPipelineExecutions(config, input, ...additionalArgum
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListPipelineParametersForExecution(config, input, ...add
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListPipelines(config, input, ...additionalArguments) {
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListProcessingJobs(config, input, ...additionalArguments
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListProjects(config, input, ...additionalArguments) {
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListStudioLifecycleConfigs(config, input, ...additionalA
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListSubscribedWorkteams(config, input, ...additionalArgu
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListTags(config, input, ...additionalArguments) {
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListTrainingJobsForHyperParameterTuningJob(config, input
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListTrainingJobs(config, input, ...additionalArguments)
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListTransformJobs(config, input, ...additionalArguments)
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListTrialComponents(config, input, ...additionalArgument
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListTrials(config, input, ...additionalArguments) {
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListUserProfiles(config, input, ...additionalArguments)
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListWorkforces(config, input, ...additionalArguments) {
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateListWorkteams(config, input, ...additionalArguments) {
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateQueryLineage(config, input, ...additionalArguments) {
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -27,8 +27,9 @@ async function* paginateSearch(config, input, ...additionalArguments) {
27
27
  throw new Error("Invalid client, expected SageMaker | SageMakerClient");
28
28
  }
29
29
  yield page;
30
+ const prevToken = token;
30
31
  token = page.NextToken;
31
- hasNext = !!token;
32
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
32
33
  }
33
34
  return undefined;
34
35
  }
@@ -12445,6 +12445,10 @@ const serializeAws_json1_1CreateInferenceRecommendationsJobRequest = (input, con
12445
12445
  input.JobDescription !== null && { JobDescription: input.JobDescription }),
12446
12446
  ...(input.JobName !== undefined && input.JobName !== null && { JobName: input.JobName }),
12447
12447
  ...(input.JobType !== undefined && input.JobType !== null && { JobType: input.JobType }),
12448
+ ...(input.OutputConfig !== undefined &&
12449
+ input.OutputConfig !== null && {
12450
+ OutputConfig: serializeAws_json1_1RecommendationJobOutputConfig(input.OutputConfig, context),
12451
+ }),
12448
12452
  ...(input.RoleArn !== undefined && input.RoleArn !== null && { RoleArn: input.RoleArn }),
12449
12453
  ...(input.StoppingConditions !== undefined &&
12450
12454
  input.StoppingConditions !== null && {
@@ -16847,6 +16851,11 @@ const serializeAws_json1_1RealtimeInferenceInstanceTypes = (input, context) => {
16847
16851
  return entry;
16848
16852
  });
16849
16853
  };
16854
+ const serializeAws_json1_1RecommendationJobCompiledOutputConfig = (input, context) => {
16855
+ return {
16856
+ ...(input.S3OutputUri !== undefined && input.S3OutputUri !== null && { S3OutputUri: input.S3OutputUri }),
16857
+ };
16858
+ };
16850
16859
  const serializeAws_json1_1RecommendationJobInputConfig = (input, context) => {
16851
16860
  return {
16852
16861
  ...(input.EndpointConfigurations !== undefined &&
@@ -16865,6 +16874,17 @@ const serializeAws_json1_1RecommendationJobInputConfig = (input, context) => {
16865
16874
  input.TrafficPattern !== null && {
16866
16875
  TrafficPattern: serializeAws_json1_1TrafficPattern(input.TrafficPattern, context),
16867
16876
  }),
16877
+ ...(input.VolumeKmsKeyId !== undefined &&
16878
+ input.VolumeKmsKeyId !== null && { VolumeKmsKeyId: input.VolumeKmsKeyId }),
16879
+ };
16880
+ };
16881
+ const serializeAws_json1_1RecommendationJobOutputConfig = (input, context) => {
16882
+ return {
16883
+ ...(input.CompiledOutputConfig !== undefined &&
16884
+ input.CompiledOutputConfig !== null && {
16885
+ CompiledOutputConfig: serializeAws_json1_1RecommendationJobCompiledOutputConfig(input.CompiledOutputConfig, context),
16886
+ }),
16887
+ ...(input.KmsKeyId !== undefined && input.KmsKeyId !== null && { KmsKeyId: input.KmsKeyId }),
16868
16888
  };
16869
16889
  };
16870
16890
  const serializeAws_json1_1RecommendationJobResourceLimit = (input, context) => {
@@ -24963,6 +24983,7 @@ const deserializeAws_json1_1RecommendationJobInputConfig = (output, context) =>
24963
24983
  TrafficPattern: output.TrafficPattern !== undefined && output.TrafficPattern !== null
24964
24984
  ? deserializeAws_json1_1TrafficPattern(output.TrafficPattern, context)
24965
24985
  : undefined,
24986
+ VolumeKmsKeyId: (0, smithy_client_1.expectString)(output.VolumeKmsKeyId),
24966
24987
  };
24967
24988
  };
24968
24989
  const deserializeAws_json1_1RecommendationJobResourceLimit = (output, context) => {
@@ -1,7 +1,8 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeLineageGroupRequest, DescribeLineageGroupResponse } from "../models/models_1";
4
+ import { DescribeLineageGroupRequest } from "../models/models_1";
5
+ import { DescribeLineageGroupResponse } from "../models/models_2";
5
6
  import { deserializeAws_json1_1DescribeLineageGroupCommand, serializeAws_json1_1DescribeLineageGroupCommand, } from "../protocols/Aws_json1_1";
6
7
  var DescribeLineageGroupCommand = (function (_super) {
7
8
  __extends(DescribeLineageGroupCommand, _super);
@@ -1,8 +1,7 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { DescribeModelInput } from "../models/models_1";
5
- import { DescribeModelOutput } from "../models/models_2";
4
+ import { DescribeModelInput, DescribeModelOutput } from "../models/models_2";
6
5
  import { deserializeAws_json1_1DescribeModelCommand, serializeAws_json1_1DescribeModelCommand, } from "../protocols/Aws_json1_1";
7
6
  var DescribeModelCommand = (function (_super) {
8
7
  __extends(DescribeModelCommand, _super);
@@ -1,7 +1,8 @@
1
1
  import { __extends } from "tslib";
2
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import { ListTrainingJobsRequest, ListTrainingJobsResponse } from "../models/models_2";
4
+ import { ListTrainingJobsRequest } from "../models/models_2";
5
+ import { ListTrainingJobsResponse } from "../models/models_3";
5
6
  import { deserializeAws_json1_1ListTrainingJobsCommand, serializeAws_json1_1ListTrainingJobsCommand, } from "../protocols/Aws_json1_1";
6
7
  var ListTrainingJobsCommand = (function (_super) {
7
8
  __extends(ListTrainingJobsCommand, _super);
@@ -29,6 +29,14 @@ export var RecommendationJobType;
29
29
  RecommendationJobType["ADVANCED"] = "Advanced";
30
30
  RecommendationJobType["DEFAULT"] = "Default";
31
31
  })(RecommendationJobType || (RecommendationJobType = {}));
32
+ export var RecommendationJobCompiledOutputConfig;
33
+ (function (RecommendationJobCompiledOutputConfig) {
34
+ RecommendationJobCompiledOutputConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
35
+ })(RecommendationJobCompiledOutputConfig || (RecommendationJobCompiledOutputConfig = {}));
36
+ export var RecommendationJobOutputConfig;
37
+ (function (RecommendationJobOutputConfig) {
38
+ RecommendationJobOutputConfig.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
39
+ })(RecommendationJobOutputConfig || (RecommendationJobOutputConfig = {}));
32
40
  export var ModelLatencyThreshold;
33
41
  (function (ModelLatencyThreshold) {
34
42
  ModelLatencyThreshold.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1377,11 +1385,3 @@ export var DescribeLineageGroupRequest;
1377
1385
  (function (DescribeLineageGroupRequest) {
1378
1386
  DescribeLineageGroupRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1379
1387
  })(DescribeLineageGroupRequest || (DescribeLineageGroupRequest = {}));
1380
- export var DescribeLineageGroupResponse;
1381
- (function (DescribeLineageGroupResponse) {
1382
- DescribeLineageGroupResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1383
- })(DescribeLineageGroupResponse || (DescribeLineageGroupResponse = {}));
1384
- export var DescribeModelInput;
1385
- (function (DescribeModelInput) {
1386
- DescribeModelInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1387
- })(DescribeModelInput || (DescribeModelInput = {}));
@@ -1,5 +1,13 @@
1
1
  import { __assign, __read } from "tslib";
2
2
  import { TrialComponentParameterValue, } from "./models_1";
3
+ export var DescribeLineageGroupResponse;
4
+ (function (DescribeLineageGroupResponse) {
5
+ DescribeLineageGroupResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
6
+ })(DescribeLineageGroupResponse || (DescribeLineageGroupResponse = {}));
7
+ export var DescribeModelInput;
8
+ (function (DescribeModelInput) {
9
+ DescribeModelInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
10
+ })(DescribeModelInput || (DescribeModelInput = {}));
3
11
  export var DescribeModelOutput;
4
12
  (function (DescribeModelOutput) {
5
13
  DescribeModelOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1356,14 +1364,3 @@ export var TrainingJobSummary;
1356
1364
  (function (TrainingJobSummary) {
1357
1365
  TrainingJobSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1358
1366
  })(TrainingJobSummary || (TrainingJobSummary = {}));
1359
- export var ListTrainingJobsResponse;
1360
- (function (ListTrainingJobsResponse) {
1361
- ListTrainingJobsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1362
- })(ListTrainingJobsResponse || (ListTrainingJobsResponse = {}));
1363
- export var TrainingJobSortByOptions;
1364
- (function (TrainingJobSortByOptions) {
1365
- TrainingJobSortByOptions["CreationTime"] = "CreationTime";
1366
- TrainingJobSortByOptions["FinalObjectiveMetricValue"] = "FinalObjectiveMetricValue";
1367
- TrainingJobSortByOptions["Name"] = "Name";
1368
- TrainingJobSortByOptions["Status"] = "Status";
1369
- })(TrainingJobSortByOptions || (TrainingJobSortByOptions = {}));
@@ -1,5 +1,16 @@
1
1
  import { __assign, __read } from "tslib";
2
2
  import { OidcConfig, TrialComponentParameterValue, } from "./models_1";
3
+ export var ListTrainingJobsResponse;
4
+ (function (ListTrainingJobsResponse) {
5
+ ListTrainingJobsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
6
+ })(ListTrainingJobsResponse || (ListTrainingJobsResponse = {}));
7
+ export var TrainingJobSortByOptions;
8
+ (function (TrainingJobSortByOptions) {
9
+ TrainingJobSortByOptions["CreationTime"] = "CreationTime";
10
+ TrainingJobSortByOptions["FinalObjectiveMetricValue"] = "FinalObjectiveMetricValue";
11
+ TrainingJobSortByOptions["Name"] = "Name";
12
+ TrainingJobSortByOptions["Status"] = "Status";
13
+ })(TrainingJobSortByOptions || (TrainingJobSortByOptions = {}));
3
14
  export var ListTrainingJobsForHyperParameterTuningJobRequest;
4
15
  (function (ListTrainingJobsForHyperParameterTuningJobRequest) {
5
16
  ListTrainingJobsForHyperParameterTuningJobRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -36,7 +36,7 @@ export function paginateListActions(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateListActions_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateListActions(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.NextToken;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateListAlgorithms(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateListAlgorithms_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateListAlgorithms(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.NextToken;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateListAppImageConfigs(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateListAppImageConfigs_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateListAppImageConfigs(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.NextToken;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];
@@ -36,7 +36,7 @@ export function paginateListApps(config, input) {
36
36
  additionalArguments[_i - 2] = arguments[_i];
37
37
  }
38
38
  return __asyncGenerator(this, arguments, function paginateListApps_1() {
39
- var token, hasNext, page;
39
+ var token, hasNext, page, prevToken;
40
40
  return __generator(this, function (_a) {
41
41
  switch (_a.label) {
42
42
  case 0:
@@ -63,8 +63,9 @@ export function paginateListApps(config, input) {
63
63
  case 7: return [4, _a.sent()];
64
64
  case 8:
65
65
  _a.sent();
66
+ prevToken = token;
66
67
  token = page.NextToken;
67
- hasNext = !!token;
68
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
68
69
  return [3, 1];
69
70
  case 9: return [4, __await(undefined)];
70
71
  case 10: return [2, _a.sent()];