@aws-sdk/client-frauddetector 3.476.0 → 3.478.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/pagination/DescribeModelVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/GetBatchImportJobsPaginator.js +2 -24
- package/dist-cjs/pagination/GetBatchPredictionJobsPaginator.js +2 -24
- package/dist-cjs/pagination/GetDetectorsPaginator.js +2 -24
- package/dist-cjs/pagination/GetEntityTypesPaginator.js +2 -24
- package/dist-cjs/pagination/GetEventTypesPaginator.js +2 -24
- package/dist-cjs/pagination/GetExternalModelsPaginator.js +2 -24
- package/dist-cjs/pagination/GetLabelsPaginator.js +2 -24
- package/dist-cjs/pagination/GetListElementsPaginator.js +2 -24
- package/dist-cjs/pagination/GetListsMetadataPaginator.js +2 -24
- package/dist-cjs/pagination/GetModelsPaginator.js +2 -24
- package/dist-cjs/pagination/GetOutcomesPaginator.js +2 -24
- package/dist-cjs/pagination/GetRulesPaginator.js +2 -24
- package/dist-cjs/pagination/GetVariablesPaginator.js +2 -24
- package/dist-cjs/pagination/ListEventPredictionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +2 -24
- package/dist-es/pagination/DescribeModelVersionsPaginator.js +2 -23
- package/dist-es/pagination/GetBatchImportJobsPaginator.js +2 -23
- package/dist-es/pagination/GetBatchPredictionJobsPaginator.js +2 -23
- package/dist-es/pagination/GetDetectorsPaginator.js +2 -23
- package/dist-es/pagination/GetEntityTypesPaginator.js +2 -23
- package/dist-es/pagination/GetEventTypesPaginator.js +2 -23
- package/dist-es/pagination/GetExternalModelsPaginator.js +2 -23
- package/dist-es/pagination/GetLabelsPaginator.js +2 -23
- package/dist-es/pagination/GetListElementsPaginator.js +2 -23
- package/dist-es/pagination/GetListsMetadataPaginator.js +2 -23
- package/dist-es/pagination/GetModelsPaginator.js +2 -23
- package/dist-es/pagination/GetOutcomesPaginator.js +2 -23
- package/dist-es/pagination/GetRulesPaginator.js +2 -23
- package/dist-es/pagination/GetVariablesPaginator.js +2 -23
- package/dist-es/pagination/ListEventPredictionsPaginator.js +2 -23
- package/dist-es/pagination/ListTagsForResourcePaginator.js +2 -23
- package/dist-types/pagination/DescribeModelVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetBatchImportJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetBatchPredictionJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetDetectorsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetEntityTypesPaginator.d.ts +1 -1
- package/dist-types/pagination/GetEventTypesPaginator.d.ts +1 -1
- package/dist-types/pagination/GetExternalModelsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetLabelsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetListElementsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetListsMetadataPaginator.d.ts +1 -1
- package/dist-types/pagination/GetModelsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetOutcomesPaginator.d.ts +1 -1
- package/dist-types/pagination/GetRulesPaginator.d.ts +1 -1
- package/dist-types/pagination/GetVariablesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEventPredictionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/DescribeModelVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetBatchImportJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetBatchPredictionJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetDetectorsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetEntityTypesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetEventTypesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetExternalModelsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetLabelsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetListElementsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetListsMetadataPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetModelsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetOutcomesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetRulesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetVariablesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEventPredictionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +3 -3
- package/package.json +7 -6
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetEntityTypesCommand, } from "../commands/GetEntityTypesCommand";
|
|
2
3
|
import { FraudDetectorClient } from "../FraudDetectorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetEntityTypesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetEntityTypes(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof FraudDetectorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetEntityTypes = createPaginator(FraudDetectorClient, GetEntityTypesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetEventTypesCommand, } from "../commands/GetEventTypesCommand";
|
|
2
3
|
import { FraudDetectorClient } from "../FraudDetectorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetEventTypesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetEventTypes(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof FraudDetectorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetEventTypes = createPaginator(FraudDetectorClient, GetEventTypesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetExternalModelsCommand, } from "../commands/GetExternalModelsCommand";
|
|
2
3
|
import { FraudDetectorClient } from "../FraudDetectorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetExternalModelsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetExternalModels(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof FraudDetectorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetExternalModels = createPaginator(FraudDetectorClient, GetExternalModelsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetLabelsCommand } from "../commands/GetLabelsCommand";
|
|
2
3
|
import { FraudDetectorClient } from "../FraudDetectorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetLabelsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetLabels(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof FraudDetectorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetLabels = createPaginator(FraudDetectorClient, GetLabelsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetListElementsCommand, } from "../commands/GetListElementsCommand";
|
|
2
3
|
import { FraudDetectorClient } from "../FraudDetectorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetListElementsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetListElements(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof FraudDetectorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetListElements = createPaginator(FraudDetectorClient, GetListElementsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetListsMetadataCommand, } from "../commands/GetListsMetadataCommand";
|
|
2
3
|
import { FraudDetectorClient } from "../FraudDetectorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetListsMetadataCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetListsMetadata(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof FraudDetectorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetListsMetadata = createPaginator(FraudDetectorClient, GetListsMetadataCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetModelsCommand } from "../commands/GetModelsCommand";
|
|
2
3
|
import { FraudDetectorClient } from "../FraudDetectorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetModelsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetModels(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof FraudDetectorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetModels = createPaginator(FraudDetectorClient, GetModelsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetOutcomesCommand } from "../commands/GetOutcomesCommand";
|
|
2
3
|
import { FraudDetectorClient } from "../FraudDetectorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetOutcomesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetOutcomes(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof FraudDetectorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetOutcomes = createPaginator(FraudDetectorClient, GetOutcomesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetRulesCommand } from "../commands/GetRulesCommand";
|
|
2
3
|
import { FraudDetectorClient } from "../FraudDetectorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetRulesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetRules(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof FraudDetectorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetRules = createPaginator(FraudDetectorClient, GetRulesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetVariablesCommand, } from "../commands/GetVariablesCommand";
|
|
2
3
|
import { FraudDetectorClient } from "../FraudDetectorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetVariablesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetVariables(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof FraudDetectorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateGetVariables = createPaginator(FraudDetectorClient, GetVariablesCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListEventPredictionsCommand, } from "../commands/ListEventPredictionsCommand";
|
|
2
3
|
import { FraudDetectorClient } from "../FraudDetectorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListEventPredictionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListEventPredictions(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof FraudDetectorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListEventPredictions = createPaginator(FraudDetectorClient, ListEventPredictionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListTagsForResourceCommand, } from "../commands/ListTagsForResourceCommand";
|
|
2
3
|
import { FraudDetectorClient } from "../FraudDetectorClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTagsForResourceCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTagsForResource(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.nextToken = token;
|
|
12
|
-
input["maxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof FraudDetectorClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.nextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListTagsForResource = createPaginator(FraudDetectorClient, ListTagsForResourceCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -4,4 +4,4 @@ import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeModelVersions: (config: FraudDetectorPaginationConfiguration, input: DescribeModelVersionsCommandInput, ...rest: any[]) => Paginator<DescribeModelVersionsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetBatchImportJobs: (config: FraudDetectorPaginationConfiguration, input: GetBatchImportJobsCommandInput, ...rest: any[]) => Paginator<GetBatchImportJobsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetBatchPredictionJobs: (config: FraudDetectorPaginationConfiguration, input: GetBatchPredictionJobsCommandInput, ...rest: any[]) => Paginator<GetBatchPredictionJobsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetDetectors: (config: FraudDetectorPaginationConfiguration, input: GetDetectorsCommandInput, ...rest: any[]) => Paginator<GetDetectorsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetEntityTypes: (config: FraudDetectorPaginationConfiguration, input: GetEntityTypesCommandInput, ...rest: any[]) => Paginator<GetEntityTypesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetEventTypes: (config: FraudDetectorPaginationConfiguration, input: GetEventTypesCommandInput, ...rest: any[]) => Paginator<GetEventTypesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetExternalModels: (config: FraudDetectorPaginationConfiguration, input: GetExternalModelsCommandInput, ...rest: any[]) => Paginator<GetExternalModelsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetLabels: (config: FraudDetectorPaginationConfiguration, input: GetLabelsCommandInput, ...rest: any[]) => Paginator<GetLabelsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetListElements: (config: FraudDetectorPaginationConfiguration, input: GetListElementsCommandInput, ...rest: any[]) => Paginator<GetListElementsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetListsMetadata: (config: FraudDetectorPaginationConfiguration, input: GetListsMetadataCommandInput, ...rest: any[]) => Paginator<GetListsMetadataCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetModels: (config: FraudDetectorPaginationConfiguration, input: GetModelsCommandInput, ...rest: any[]) => Paginator<GetModelsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetOutcomes: (config: FraudDetectorPaginationConfiguration, input: GetOutcomesCommandInput, ...rest: any[]) => Paginator<GetOutcomesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetRules: (config: FraudDetectorPaginationConfiguration, input: GetRulesCommandInput, ...rest: any[]) => Paginator<GetRulesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetVariables: (config: FraudDetectorPaginationConfiguration, input: GetVariablesCommandInput, ...rest: any[]) => Paginator<GetVariablesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListEventPredictions: (config: FraudDetectorPaginationConfiguration, input: ListEventPredictionsCommandInput, ...rest: any[]) => Paginator<ListEventPredictionsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListTagsForResource: (config: FraudDetectorPaginationConfiguration, input: ListTagsForResourceCommandInput, ...rest: any[]) => Paginator<ListTagsForResourceCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
DescribeModelVersionsCommandOutput,
|
|
5
5
|
} from "../commands/DescribeModelVersionsCommand";
|
|
6
6
|
import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateDescribeModelVersions: (
|
|
8
8
|
config: FraudDetectorPaginationConfiguration,
|
|
9
9
|
input: DescribeModelVersionsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<DescribeModelVersionsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
GetBatchImportJobsCommandOutput,
|
|
5
5
|
} from "../commands/GetBatchImportJobsCommand";
|
|
6
6
|
import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetBatchImportJobs: (
|
|
8
8
|
config: FraudDetectorPaginationConfiguration,
|
|
9
9
|
input: GetBatchImportJobsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetBatchImportJobsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
GetBatchPredictionJobsCommandOutput,
|
|
5
5
|
} from "../commands/GetBatchPredictionJobsCommand";
|
|
6
6
|
import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetBatchPredictionJobs: (
|
|
8
8
|
config: FraudDetectorPaginationConfiguration,
|
|
9
9
|
input: GetBatchPredictionJobsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetBatchPredictionJobsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
GetDetectorsCommandOutput,
|
|
5
5
|
} from "../commands/GetDetectorsCommand";
|
|
6
6
|
import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetDetectors: (
|
|
8
8
|
config: FraudDetectorPaginationConfiguration,
|
|
9
9
|
input: GetDetectorsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetDetectorsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
GetEntityTypesCommandOutput,
|
|
5
5
|
} from "../commands/GetEntityTypesCommand";
|
|
6
6
|
import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetEntityTypes: (
|
|
8
8
|
config: FraudDetectorPaginationConfiguration,
|
|
9
9
|
input: GetEntityTypesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetEntityTypesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
GetEventTypesCommandOutput,
|
|
5
5
|
} from "../commands/GetEventTypesCommand";
|
|
6
6
|
import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetEventTypes: (
|
|
8
8
|
config: FraudDetectorPaginationConfiguration,
|
|
9
9
|
input: GetEventTypesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetEventTypesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
GetExternalModelsCommandOutput,
|
|
5
5
|
} from "../commands/GetExternalModelsCommand";
|
|
6
6
|
import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetExternalModels: (
|
|
8
8
|
config: FraudDetectorPaginationConfiguration,
|
|
9
9
|
input: GetExternalModelsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetExternalModelsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
GetLabelsCommandOutput,
|
|
5
5
|
} from "../commands/GetLabelsCommand";
|
|
6
6
|
import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetLabels: (
|
|
8
8
|
config: FraudDetectorPaginationConfiguration,
|
|
9
9
|
input: GetLabelsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetLabelsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
GetListElementsCommandOutput,
|
|
5
5
|
} from "../commands/GetListElementsCommand";
|
|
6
6
|
import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetListElements: (
|
|
8
8
|
config: FraudDetectorPaginationConfiguration,
|
|
9
9
|
input: GetListElementsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetListElementsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
GetListsMetadataCommandOutput,
|
|
5
5
|
} from "../commands/GetListsMetadataCommand";
|
|
6
6
|
import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetListsMetadata: (
|
|
8
8
|
config: FraudDetectorPaginationConfiguration,
|
|
9
9
|
input: GetListsMetadataCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetListsMetadataCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
GetModelsCommandOutput,
|
|
5
5
|
} from "../commands/GetModelsCommand";
|
|
6
6
|
import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetModels: (
|
|
8
8
|
config: FraudDetectorPaginationConfiguration,
|
|
9
9
|
input: GetModelsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetModelsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
GetOutcomesCommandOutput,
|
|
5
5
|
} from "../commands/GetOutcomesCommand";
|
|
6
6
|
import { FraudDetectorPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetOutcomes: (
|
|
8
8
|
config: FraudDetectorPaginationConfiguration,
|
|
9
9
|
input: GetOutcomesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetOutcomesCommandOutput>;
|