@aws-sdk/client-sagemaker 3.282.0 → 3.287.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/dist-cjs/commands/DeleteWorkteamCommand.js +1 -2
- package/dist-cjs/commands/ListAliasesCommand.js +1 -2
- package/dist-cjs/commands/UpdateDomainCommand.js +1 -2
- package/dist-cjs/models/models_0.js +8 -8
- package/dist-cjs/models/models_1.js +11 -11
- package/dist-cjs/models/models_2.js +9 -9
- package/dist-cjs/models/models_3.js +10 -10
- package/dist-cjs/models/models_4.js +6 -2
- package/dist-cjs/pagination/ListActionsPaginator.js +1 -8
- package/dist-cjs/pagination/ListAlgorithmsPaginator.js +1 -8
- package/dist-cjs/pagination/ListAliasesPaginator.js +1 -8
- package/dist-cjs/pagination/ListAppImageConfigsPaginator.js +1 -8
- package/dist-cjs/pagination/ListAppsPaginator.js +1 -8
- package/dist-cjs/pagination/ListArtifactsPaginator.js +1 -8
- package/dist-cjs/pagination/ListAssociationsPaginator.js +1 -8
- package/dist-cjs/pagination/ListAutoMLJobsPaginator.js +1 -8
- package/dist-cjs/pagination/ListCandidatesForAutoMLJobPaginator.js +1 -8
- package/dist-cjs/pagination/ListCodeRepositoriesPaginator.js +1 -8
- package/dist-cjs/pagination/ListCompilationJobsPaginator.js +1 -8
- package/dist-cjs/pagination/ListContextsPaginator.js +1 -8
- package/dist-cjs/pagination/ListDataQualityJobDefinitionsPaginator.js +1 -8
- package/dist-cjs/pagination/ListDeviceFleetsPaginator.js +1 -8
- package/dist-cjs/pagination/ListDevicesPaginator.js +1 -8
- package/dist-cjs/pagination/ListDomainsPaginator.js +1 -8
- package/dist-cjs/pagination/ListEdgeDeploymentPlansPaginator.js +1 -8
- package/dist-cjs/pagination/ListEdgePackagingJobsPaginator.js +1 -8
- package/dist-cjs/pagination/ListEndpointConfigsPaginator.js +1 -8
- package/dist-cjs/pagination/ListEndpointsPaginator.js +1 -8
- package/dist-cjs/pagination/ListExperimentsPaginator.js +1 -8
- package/dist-cjs/pagination/ListFlowDefinitionsPaginator.js +1 -8
- package/dist-cjs/pagination/ListHumanTaskUisPaginator.js +1 -8
- package/dist-cjs/pagination/ListHyperParameterTuningJobsPaginator.js +1 -8
- package/dist-cjs/pagination/ListImageVersionsPaginator.js +1 -8
- package/dist-cjs/pagination/ListImagesPaginator.js +1 -8
- package/dist-cjs/pagination/ListInferenceExperimentsPaginator.js +1 -8
- package/dist-cjs/pagination/ListInferenceRecommendationsJobStepsPaginator.js +1 -8
- package/dist-cjs/pagination/ListInferenceRecommendationsJobsPaginator.js +1 -8
- package/dist-cjs/pagination/ListLabelingJobsForWorkteamPaginator.js +1 -8
- package/dist-cjs/pagination/ListLabelingJobsPaginator.js +1 -8
- package/dist-cjs/pagination/ListLineageGroupsPaginator.js +1 -8
- package/dist-cjs/pagination/ListModelBiasJobDefinitionsPaginator.js +1 -8
- package/dist-cjs/pagination/ListModelCardExportJobsPaginator.js +1 -8
- package/dist-cjs/pagination/ListModelCardVersionsPaginator.js +1 -8
- package/dist-cjs/pagination/ListModelCardsPaginator.js +1 -8
- package/dist-cjs/pagination/ListModelExplainabilityJobDefinitionsPaginator.js +1 -8
- package/dist-cjs/pagination/ListModelMetadataPaginator.js +1 -8
- package/dist-cjs/pagination/ListModelPackageGroupsPaginator.js +1 -8
- package/dist-cjs/pagination/ListModelPackagesPaginator.js +1 -8
- package/dist-cjs/pagination/ListModelQualityJobDefinitionsPaginator.js +1 -8
- package/dist-cjs/pagination/ListModelsPaginator.js +1 -8
- package/dist-cjs/pagination/ListMonitoringAlertHistoryPaginator.js +1 -8
- package/dist-cjs/pagination/ListMonitoringAlertsPaginator.js +1 -8
- package/dist-cjs/pagination/ListMonitoringExecutionsPaginator.js +1 -8
- package/dist-cjs/pagination/ListMonitoringSchedulesPaginator.js +1 -8
- package/dist-cjs/pagination/ListNotebookInstanceLifecycleConfigsPaginator.js +1 -8
- package/dist-cjs/pagination/ListNotebookInstancesPaginator.js +1 -8
- package/dist-cjs/pagination/ListPipelineExecutionStepsPaginator.js +1 -8
- package/dist-cjs/pagination/ListPipelineExecutionsPaginator.js +1 -8
- package/dist-cjs/pagination/ListPipelineParametersForExecutionPaginator.js +1 -8
- package/dist-cjs/pagination/ListPipelinesPaginator.js +1 -8
- package/dist-cjs/pagination/ListProcessingJobsPaginator.js +1 -8
- package/dist-cjs/pagination/ListProjectsPaginator.js +1 -8
- package/dist-cjs/pagination/ListSpacesPaginator.js +1 -8
- package/dist-cjs/pagination/ListStageDevicesPaginator.js +1 -8
- package/dist-cjs/pagination/ListStudioLifecycleConfigsPaginator.js +1 -8
- package/dist-cjs/pagination/ListSubscribedWorkteamsPaginator.js +1 -8
- package/dist-cjs/pagination/ListTagsPaginator.js +1 -8
- package/dist-cjs/pagination/ListTrainingJobsForHyperParameterTuningJobPaginator.js +1 -8
- package/dist-cjs/pagination/ListTrainingJobsPaginator.js +1 -8
- package/dist-cjs/pagination/ListTransformJobsPaginator.js +1 -8
- package/dist-cjs/pagination/ListTrialComponentsPaginator.js +1 -8
- package/dist-cjs/pagination/ListTrialsPaginator.js +1 -8
- package/dist-cjs/pagination/ListUserProfilesPaginator.js +1 -8
- package/dist-cjs/pagination/ListWorkforcesPaginator.js +1 -8
- package/dist-cjs/pagination/ListWorkteamsPaginator.js +1 -8
- package/dist-cjs/pagination/QueryLineagePaginator.js +1 -8
- package/dist-cjs/pagination/SearchPaginator.js +1 -8
- package/dist-cjs/protocols/Aws_json1_1.js +11 -0
- package/dist-es/commands/DeleteWorkteamCommand.js +1 -2
- package/dist-es/commands/ListAliasesCommand.js +1 -2
- package/dist-es/commands/UpdateDomainCommand.js +1 -2
- package/dist-es/models/models_0.js +3 -3
- package/dist-es/models/models_1.js +3 -3
- package/dist-es/models/models_2.js +3 -3
- package/dist-es/models/models_3.js +3 -3
- package/dist-es/models/models_4.js +3 -0
- package/dist-es/pagination/ListActionsPaginator.js +1 -8
- package/dist-es/pagination/ListAlgorithmsPaginator.js +1 -8
- package/dist-es/pagination/ListAliasesPaginator.js +1 -8
- package/dist-es/pagination/ListAppImageConfigsPaginator.js +1 -8
- package/dist-es/pagination/ListAppsPaginator.js +1 -8
- package/dist-es/pagination/ListArtifactsPaginator.js +1 -8
- package/dist-es/pagination/ListAssociationsPaginator.js +1 -8
- package/dist-es/pagination/ListAutoMLJobsPaginator.js +1 -8
- package/dist-es/pagination/ListCandidatesForAutoMLJobPaginator.js +1 -8
- package/dist-es/pagination/ListCodeRepositoriesPaginator.js +1 -8
- package/dist-es/pagination/ListCompilationJobsPaginator.js +1 -8
- package/dist-es/pagination/ListContextsPaginator.js +1 -8
- package/dist-es/pagination/ListDataQualityJobDefinitionsPaginator.js +1 -8
- package/dist-es/pagination/ListDeviceFleetsPaginator.js +1 -8
- package/dist-es/pagination/ListDevicesPaginator.js +1 -8
- package/dist-es/pagination/ListDomainsPaginator.js +1 -8
- package/dist-es/pagination/ListEdgeDeploymentPlansPaginator.js +1 -8
- package/dist-es/pagination/ListEdgePackagingJobsPaginator.js +1 -8
- package/dist-es/pagination/ListEndpointConfigsPaginator.js +1 -8
- package/dist-es/pagination/ListEndpointsPaginator.js +1 -8
- package/dist-es/pagination/ListExperimentsPaginator.js +1 -8
- package/dist-es/pagination/ListFlowDefinitionsPaginator.js +1 -8
- package/dist-es/pagination/ListHumanTaskUisPaginator.js +1 -8
- package/dist-es/pagination/ListHyperParameterTuningJobsPaginator.js +1 -8
- package/dist-es/pagination/ListImageVersionsPaginator.js +1 -8
- package/dist-es/pagination/ListImagesPaginator.js +1 -8
- package/dist-es/pagination/ListInferenceExperimentsPaginator.js +1 -8
- package/dist-es/pagination/ListInferenceRecommendationsJobStepsPaginator.js +1 -8
- package/dist-es/pagination/ListInferenceRecommendationsJobsPaginator.js +1 -8
- package/dist-es/pagination/ListLabelingJobsForWorkteamPaginator.js +1 -8
- package/dist-es/pagination/ListLabelingJobsPaginator.js +1 -8
- package/dist-es/pagination/ListLineageGroupsPaginator.js +1 -8
- package/dist-es/pagination/ListModelBiasJobDefinitionsPaginator.js +1 -8
- package/dist-es/pagination/ListModelCardExportJobsPaginator.js +1 -8
- package/dist-es/pagination/ListModelCardVersionsPaginator.js +1 -8
- package/dist-es/pagination/ListModelCardsPaginator.js +1 -8
- package/dist-es/pagination/ListModelExplainabilityJobDefinitionsPaginator.js +1 -8
- package/dist-es/pagination/ListModelMetadataPaginator.js +1 -8
- package/dist-es/pagination/ListModelPackageGroupsPaginator.js +1 -8
- package/dist-es/pagination/ListModelPackagesPaginator.js +1 -8
- package/dist-es/pagination/ListModelQualityJobDefinitionsPaginator.js +1 -8
- package/dist-es/pagination/ListModelsPaginator.js +1 -8
- package/dist-es/pagination/ListMonitoringAlertHistoryPaginator.js +1 -8
- package/dist-es/pagination/ListMonitoringAlertsPaginator.js +1 -8
- package/dist-es/pagination/ListMonitoringExecutionsPaginator.js +1 -8
- package/dist-es/pagination/ListMonitoringSchedulesPaginator.js +1 -8
- package/dist-es/pagination/ListNotebookInstanceLifecycleConfigsPaginator.js +1 -8
- package/dist-es/pagination/ListNotebookInstancesPaginator.js +1 -8
- package/dist-es/pagination/ListPipelineExecutionStepsPaginator.js +1 -8
- package/dist-es/pagination/ListPipelineExecutionsPaginator.js +1 -8
- package/dist-es/pagination/ListPipelineParametersForExecutionPaginator.js +1 -8
- package/dist-es/pagination/ListPipelinesPaginator.js +1 -8
- package/dist-es/pagination/ListProcessingJobsPaginator.js +1 -8
- package/dist-es/pagination/ListProjectsPaginator.js +1 -8
- package/dist-es/pagination/ListSpacesPaginator.js +1 -8
- package/dist-es/pagination/ListStageDevicesPaginator.js +1 -8
- package/dist-es/pagination/ListStudioLifecycleConfigsPaginator.js +1 -8
- package/dist-es/pagination/ListSubscribedWorkteamsPaginator.js +1 -8
- package/dist-es/pagination/ListTagsPaginator.js +1 -8
- package/dist-es/pagination/ListTrainingJobsForHyperParameterTuningJobPaginator.js +1 -8
- package/dist-es/pagination/ListTrainingJobsPaginator.js +1 -8
- package/dist-es/pagination/ListTransformJobsPaginator.js +1 -8
- package/dist-es/pagination/ListTrialComponentsPaginator.js +1 -8
- package/dist-es/pagination/ListTrialsPaginator.js +1 -8
- package/dist-es/pagination/ListUserProfilesPaginator.js +1 -8
- package/dist-es/pagination/ListWorkforcesPaginator.js +1 -8
- package/dist-es/pagination/ListWorkteamsPaginator.js +1 -8
- package/dist-es/pagination/QueryLineagePaginator.js +1 -8
- package/dist-es/pagination/SearchPaginator.js +1 -8
- package/dist-es/protocols/Aws_json1_1.js +11 -0
- package/dist-types/SageMaker.d.ts +9 -4
- package/dist-types/commands/CreateMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteWorkteamCommand.d.ts +1 -2
- package/dist-types/commands/GetSearchSuggestionsCommand.d.ts +1 -1
- package/dist-types/commands/ListAliasesCommand.d.ts +1 -2
- package/dist-types/commands/SearchCommand.d.ts +6 -1
- package/dist-types/commands/UpdateDomainCommand.d.ts +1 -2
- package/dist-types/commands/UpdateWorkforceCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +27 -69
- package/dist-types/models/models_1.d.ts +75 -14
- package/dist-types/models/models_2.d.ts +20 -33
- package/dist-types/models/models_3.d.ts +29 -32
- package/dist-types/models/models_4.d.ts +36 -6
- package/dist-types/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/commands/DeleteWorkteamCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/UpdateDomainCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/models_0.d.ts +7 -16
- package/dist-types/ts3.4/models/models_1.d.ts +19 -7
- package/dist-types/ts3.4/models/models_2.d.ts +8 -11
- package/dist-types/ts3.4/models/models_3.d.ts +10 -14
- package/dist-types/ts3.4/models/models_4.d.ts +13 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/package.json +9 -9
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListImagesCommand } from "../commands/ListImagesCommand";
|
|
2
|
-
import { SageMaker } from "../SageMaker";
|
|
3
2
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListImagesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listImages(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListImages(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListImages(config, input, ...additionalArguments)
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
13
|
+
if (config.client instanceof SageMakerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListInferenceExperimentsCommand, } from "../commands/ListInferenceExperimentsCommand";
|
|
2
|
-
import { SageMaker } from "../SageMaker";
|
|
3
2
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListInferenceExperimentsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listInferenceExperiments(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListInferenceExperiments(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListInferenceExperiments(config, input, ...additi
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
13
|
+
if (config.client instanceof SageMakerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListInferenceRecommendationsJobStepsCommand, } from "../commands/ListInferenceRecommendationsJobStepsCommand";
|
|
2
|
-
import { SageMaker } from "../SageMaker";
|
|
3
2
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListInferenceRecommendationsJobStepsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listInferenceRecommendationsJobSteps(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListInferenceRecommendationsJobSteps(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListInferenceRecommendationsJobSteps(config, inpu
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
13
|
+
if (config.client instanceof SageMakerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListInferenceRecommendationsJobsCommand, } from "../commands/ListInferenceRecommendationsJobsCommand";
|
|
2
|
-
import { SageMaker } from "../SageMaker";
|
|
3
2
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListInferenceRecommendationsJobsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listInferenceRecommendationsJobs(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListInferenceRecommendationsJobs(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListInferenceRecommendationsJobs(config, input, .
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
13
|
+
if (config.client instanceof SageMakerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListLabelingJobsForWorkteamCommand, } from "../commands/ListLabelingJobsForWorkteamCommand";
|
|
2
|
-
import { SageMaker } from "../SageMaker";
|
|
3
2
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListLabelingJobsForWorkteamCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listLabelingJobsForWorkteam(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListLabelingJobsForWorkteam(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListLabelingJobsForWorkteam(config, input, ...add
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
13
|
+
if (config.client instanceof SageMakerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListLabelingJobsCommand, } from "../commands/ListLabelingJobsCommand";
|
|
2
|
-
import { SageMaker } from "../SageMaker";
|
|
3
2
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListLabelingJobsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listLabelingJobs(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListLabelingJobs(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListLabelingJobs(config, input, ...additionalArgu
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
13
|
+
if (config.client instanceof SageMakerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListLineageGroupsCommand, } from "../commands/ListLineageGroupsCommand";
|
|
2
|
-
import { SageMaker } from "../SageMaker";
|
|
3
2
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListLineageGroupsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listLineageGroups(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListLineageGroups(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListLineageGroups(config, input, ...additionalArg
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
13
|
+
if (config.client instanceof SageMakerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListModelBiasJobDefinitionsCommand, } from "../commands/ListModelBiasJobDefinitionsCommand";
|
|
2
|
-
import { SageMaker } from "../SageMaker";
|
|
3
2
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListModelBiasJobDefinitionsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listModelBiasJobDefinitions(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListModelBiasJobDefinitions(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListModelBiasJobDefinitions(config, input, ...add
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
13
|
+
if (config.client instanceof SageMakerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListModelCardExportJobsCommand, } from "../commands/ListModelCardExportJobsCommand";
|
|
2
|
-
import { SageMaker } from "../SageMaker";
|
|
3
2
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListModelCardExportJobsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listModelCardExportJobs(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListModelCardExportJobs(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListModelCardExportJobs(config, input, ...additio
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
13
|
+
if (config.client instanceof SageMakerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListModelCardVersionsCommand, } from "../commands/ListModelCardVersionsCommand";
|
|
2
|
-
import { SageMaker } from "../SageMaker";
|
|
3
2
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListModelCardVersionsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listModelCardVersions(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListModelCardVersions(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListModelCardVersions(config, input, ...additiona
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
13
|
+
if (config.client instanceof SageMakerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListModelCardsCommand, } from "../commands/ListModelCardsCommand";
|
|
2
|
-
import { SageMaker } from "../SageMaker";
|
|
3
2
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListModelCardsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listModelCards(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListModelCards(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListModelCards(config, input, ...additionalArgume
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
13
|
+
if (config.client instanceof SageMakerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListModelExplainabilityJobDefinitionsCommand, } from "../commands/ListModelExplainabilityJobDefinitionsCommand";
|
|
2
|
-
import { SageMaker } from "../SageMaker";
|
|
3
2
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListModelExplainabilityJobDefinitionsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listModelExplainabilityJobDefinitions(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListModelExplainabilityJobDefinitions(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListModelExplainabilityJobDefinitions(config, inp
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
13
|
+
if (config.client instanceof SageMakerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListModelMetadataCommand, } from "../commands/ListModelMetadataCommand";
|
|
2
|
-
import { SageMaker } from "../SageMaker";
|
|
3
2
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListModelMetadataCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listModelMetadata(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListModelMetadata(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListModelMetadata(config, input, ...additionalArg
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
13
|
+
if (config.client instanceof SageMakerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListModelPackageGroupsCommand, } from "../commands/ListModelPackageGroupsCommand";
|
|
2
|
-
import { SageMaker } from "../SageMaker";
|
|
3
2
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListModelPackageGroupsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listModelPackageGroups(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListModelPackageGroups(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListModelPackageGroups(config, input, ...addition
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
13
|
+
if (config.client instanceof SageMakerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListModelPackagesCommand, } from "../commands/ListModelPackagesCommand";
|
|
2
|
-
import { SageMaker } from "../SageMaker";
|
|
3
2
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListModelPackagesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listModelPackages(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListModelPackages(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListModelPackages(config, input, ...additionalArg
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
13
|
+
if (config.client instanceof SageMakerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListModelQualityJobDefinitionsCommand, } from "../commands/ListModelQualityJobDefinitionsCommand";
|
|
2
|
-
import { SageMaker } from "../SageMaker";
|
|
3
2
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListModelQualityJobDefinitionsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listModelQualityJobDefinitions(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListModelQualityJobDefinitions(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListModelQualityJobDefinitions(config, input, ...
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
13
|
+
if (config.client instanceof SageMakerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListModelsCommand } from "../commands/ListModelsCommand";
|
|
2
|
-
import { SageMaker } from "../SageMaker";
|
|
3
2
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListModelsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listModels(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListModels(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListModels(config, input, ...additionalArguments)
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
13
|
+
if (config.client instanceof SageMakerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListMonitoringAlertHistoryCommand, } from "../commands/ListMonitoringAlertHistoryCommand";
|
|
2
|
-
import { SageMaker } from "../SageMaker";
|
|
3
2
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListMonitoringAlertHistoryCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listMonitoringAlertHistory(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListMonitoringAlertHistory(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListMonitoringAlertHistory(config, input, ...addi
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
13
|
+
if (config.client instanceof SageMakerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListMonitoringAlertsCommand, } from "../commands/ListMonitoringAlertsCommand";
|
|
2
|
-
import { SageMaker } from "../SageMaker";
|
|
3
2
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListMonitoringAlertsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listMonitoringAlerts(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListMonitoringAlerts(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListMonitoringAlerts(config, input, ...additional
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
13
|
+
if (config.client instanceof SageMakerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListMonitoringExecutionsCommand, } from "../commands/ListMonitoringExecutionsCommand";
|
|
2
|
-
import { SageMaker } from "../SageMaker";
|
|
3
2
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListMonitoringExecutionsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listMonitoringExecutions(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListMonitoringExecutions(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListMonitoringExecutions(config, input, ...additi
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
13
|
+
if (config.client instanceof SageMakerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListMonitoringSchedulesCommand, } from "../commands/ListMonitoringSchedulesCommand";
|
|
2
|
-
import { SageMaker } from "../SageMaker";
|
|
3
2
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListMonitoringSchedulesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listMonitoringSchedules(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListMonitoringSchedules(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListMonitoringSchedules(config, input, ...additio
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
13
|
+
if (config.client instanceof SageMakerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListNotebookInstanceLifecycleConfigsCommand, } from "../commands/ListNotebookInstanceLifecycleConfigsCommand";
|
|
2
|
-
import { SageMaker } from "../SageMaker";
|
|
3
2
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListNotebookInstanceLifecycleConfigsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listNotebookInstanceLifecycleConfigs(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListNotebookInstanceLifecycleConfigs(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListNotebookInstanceLifecycleConfigs(config, inpu
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
13
|
+
if (config.client instanceof SageMakerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListNotebookInstancesCommand, } from "../commands/ListNotebookInstancesCommand";
|
|
2
|
-
import { SageMaker } from "../SageMaker";
|
|
3
2
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListNotebookInstancesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listNotebookInstances(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListNotebookInstances(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListNotebookInstances(config, input, ...additiona
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
13
|
+
if (config.client instanceof SageMakerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListPipelineExecutionStepsCommand, } from "../commands/ListPipelineExecutionStepsCommand";
|
|
2
|
-
import { SageMaker } from "../SageMaker";
|
|
3
2
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListPipelineExecutionStepsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listPipelineExecutionSteps(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListPipelineExecutionSteps(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListPipelineExecutionSteps(config, input, ...addi
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
13
|
+
if (config.client instanceof SageMakerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListPipelineExecutionsCommand, } from "../commands/ListPipelineExecutionsCommand";
|
|
2
|
-
import { SageMaker } from "../SageMaker";
|
|
3
2
|
import { SageMakerClient } from "../SageMakerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListPipelineExecutionsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listPipelineExecutions(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListPipelineExecutions(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListPipelineExecutions(config, input, ...addition
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof SageMakerClient) {
|
|
13
|
+
if (config.client instanceof SageMakerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|