@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 { ListActionsCommand } from "../commands/ListActionsCommand";
|
|
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 ListActionsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listActions(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListActions(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListActions(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 { ListAlgorithmsCommand, } from "../commands/ListAlgorithmsCommand";
|
|
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 ListAlgorithmsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAlgorithms(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAlgorithms(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAlgorithms(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 { ListAliasesCommand } from "../commands/ListAliasesCommand";
|
|
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 ListAliasesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAliases(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAliases(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAliases(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 { ListAppImageConfigsCommand, } from "../commands/ListAppImageConfigsCommand";
|
|
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 ListAppImageConfigsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAppImageConfigs(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAppImageConfigs(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAppImageConfigs(config, input, ...additionalA
|
|
|
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 { ListAppsCommand } from "../commands/ListAppsCommand";
|
|
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 ListAppsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listApps(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListApps(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListApps(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 { ListArtifactsCommand, } from "../commands/ListArtifactsCommand";
|
|
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 ListArtifactsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listArtifacts(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListArtifacts(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListArtifacts(config, input, ...additionalArgumen
|
|
|
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 { ListAssociationsCommand, } from "../commands/ListAssociationsCommand";
|
|
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 ListAssociationsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAssociations(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAssociations(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAssociations(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 { ListAutoMLJobsCommand, } from "../commands/ListAutoMLJobsCommand";
|
|
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 ListAutoMLJobsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAutoMLJobs(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAutoMLJobs(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAutoMLJobs(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 { ListCandidatesForAutoMLJobCommand, } from "../commands/ListCandidatesForAutoMLJobCommand";
|
|
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 ListCandidatesForAutoMLJobCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listCandidatesForAutoMLJob(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListCandidatesForAutoMLJob(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListCandidatesForAutoMLJob(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 { ListCodeRepositoriesCommand, } from "../commands/ListCodeRepositoriesCommand";
|
|
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 ListCodeRepositoriesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listCodeRepositories(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListCodeRepositories(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListCodeRepositories(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 { ListCompilationJobsCommand, } from "../commands/ListCompilationJobsCommand";
|
|
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 ListCompilationJobsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listCompilationJobs(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListCompilationJobs(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListCompilationJobs(config, input, ...additionalA
|
|
|
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 { ListContextsCommand, } from "../commands/ListContextsCommand";
|
|
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 ListContextsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listContexts(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListContexts(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListContexts(config, input, ...additionalArgument
|
|
|
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 { ListDataQualityJobDefinitionsCommand, } from "../commands/ListDataQualityJobDefinitionsCommand";
|
|
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 ListDataQualityJobDefinitionsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listDataQualityJobDefinitions(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListDataQualityJobDefinitions(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListDataQualityJobDefinitions(config, input, ...a
|
|
|
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 { ListDeviceFleetsCommand, } from "../commands/ListDeviceFleetsCommand";
|
|
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 ListDeviceFleetsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listDeviceFleets(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListDeviceFleets(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListDeviceFleets(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 { ListDevicesCommand } from "../commands/ListDevicesCommand";
|
|
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 ListDevicesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listDevices(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListDevices(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListDevices(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 { ListDomainsCommand } from "../commands/ListDomainsCommand";
|
|
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 ListDomainsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listDomains(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListDomains(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListDomains(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 { ListEdgeDeploymentPlansCommand, } from "../commands/ListEdgeDeploymentPlansCommand";
|
|
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 ListEdgeDeploymentPlansCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listEdgeDeploymentPlans(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListEdgeDeploymentPlans(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListEdgeDeploymentPlans(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 { ListEdgePackagingJobsCommand, } from "../commands/ListEdgePackagingJobsCommand";
|
|
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 ListEdgePackagingJobsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listEdgePackagingJobs(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListEdgePackagingJobs(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListEdgePackagingJobs(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 { ListEndpointConfigsCommand, } from "../commands/ListEndpointConfigsCommand";
|
|
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 ListEndpointConfigsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listEndpointConfigs(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListEndpointConfigs(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListEndpointConfigs(config, input, ...additionalA
|
|
|
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 { ListEndpointsCommand, } from "../commands/ListEndpointsCommand";
|
|
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 ListEndpointsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listEndpoints(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListEndpoints(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListEndpoints(config, input, ...additionalArgumen
|
|
|
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 { ListExperimentsCommand, } from "../commands/ListExperimentsCommand";
|
|
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 ListExperimentsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listExperiments(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListExperiments(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListExperiments(config, input, ...additionalArgum
|
|
|
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 { ListFlowDefinitionsCommand, } from "../commands/ListFlowDefinitionsCommand";
|
|
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 ListFlowDefinitionsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listFlowDefinitions(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListFlowDefinitions(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListFlowDefinitions(config, input, ...additionalA
|
|
|
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 { ListHumanTaskUisCommand, } from "../commands/ListHumanTaskUisCommand";
|
|
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 ListHumanTaskUisCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listHumanTaskUis(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListHumanTaskUis(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListHumanTaskUis(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 { ListHyperParameterTuningJobsCommand, } from "../commands/ListHyperParameterTuningJobsCommand";
|
|
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 ListHyperParameterTuningJobsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listHyperParameterTuningJobs(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListHyperParameterTuningJobs(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListHyperParameterTuningJobs(config, input, ...ad
|
|
|
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 { ListImageVersionsCommand, } from "../commands/ListImageVersionsCommand";
|
|
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 ListImageVersionsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listImageVersions(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListImageVersions(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListImageVersions(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 {
|