@aws-sdk/client-frauddetector 3.267.0 → 3.272.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/FraudDetector.js +75 -0
- package/dist-cjs/commands/CreateListCommand.js +46 -0
- package/dist-cjs/commands/DeleteListCommand.js +46 -0
- package/dist-cjs/commands/GetListElementsCommand.js +46 -0
- package/dist-cjs/commands/GetListsMetadataCommand.js +46 -0
- package/dist-cjs/commands/UpdateListCommand.js +46 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +58 -5
- package/dist-cjs/pagination/GetListElementsPaginator.js +36 -0
- package/dist-cjs/pagination/GetListsMetadataPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +3 -1
- package/dist-cjs/protocols/Aws_json1_1.js +380 -3
- package/dist-es/FraudDetector.js +75 -0
- package/dist-es/commands/CreateListCommand.js +42 -0
- package/dist-es/commands/DeleteListCommand.js +42 -0
- package/dist-es/commands/GetListElementsCommand.js +42 -0
- package/dist-es/commands/GetListsMetadataCommand.js +42 -0
- package/dist-es/commands/UpdateListCommand.js +42 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +42 -0
- package/dist-es/pagination/GetListElementsPaginator.js +32 -0
- package/dist-es/pagination/GetListsMetadataPaginator.js +32 -0
- package/dist-es/pagination/index.js +3 -1
- package/dist-es/protocols/Aws_json1_1.js +367 -0
- package/dist-types/FraudDetector.d.ts +48 -0
- package/dist-types/FraudDetectorClient.d.ts +22 -17
- package/dist-types/commands/CreateListCommand.d.ts +41 -0
- package/dist-types/commands/DeleteListCommand.d.ts +40 -0
- package/dist-types/commands/GetListElementsCommand.d.ts +39 -0
- package/dist-types/commands/GetListsMetadataCommand.d.ts +39 -0
- package/dist-types/commands/UpdateListCommand.d.ts +39 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +254 -0
- package/dist-types/pagination/GetListElementsPaginator.d.ts +4 -0
- package/dist-types/pagination/GetListsMetadataPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +3 -1
- package/dist-types/protocols/Aws_json1_1.d.ts +15 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +4 -4
- package/dist-types/ts3.4/FraudDetector.d.ts +85 -0
- package/dist-types/ts3.4/FraudDetectorClient.d.ts +34 -4
- package/dist-types/ts3.4/commands/CreateListCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteListCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetListElementsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetListsMetadataCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateListCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +84 -0
- package/dist-types/ts3.4/pagination/GetListElementsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetListsMetadataPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -1
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -4
- package/package.json +29 -29
|
@@ -8,6 +8,7 @@ const CancelBatchPredictionJobCommand_1 = require("./commands/CancelBatchPredict
|
|
|
8
8
|
const CreateBatchImportJobCommand_1 = require("./commands/CreateBatchImportJobCommand");
|
|
9
9
|
const CreateBatchPredictionJobCommand_1 = require("./commands/CreateBatchPredictionJobCommand");
|
|
10
10
|
const CreateDetectorVersionCommand_1 = require("./commands/CreateDetectorVersionCommand");
|
|
11
|
+
const CreateListCommand_1 = require("./commands/CreateListCommand");
|
|
11
12
|
const CreateModelCommand_1 = require("./commands/CreateModelCommand");
|
|
12
13
|
const CreateModelVersionCommand_1 = require("./commands/CreateModelVersionCommand");
|
|
13
14
|
const CreateRuleCommand_1 = require("./commands/CreateRuleCommand");
|
|
@@ -22,6 +23,7 @@ const DeleteEventsByEventTypeCommand_1 = require("./commands/DeleteEventsByEvent
|
|
|
22
23
|
const DeleteEventTypeCommand_1 = require("./commands/DeleteEventTypeCommand");
|
|
23
24
|
const DeleteExternalModelCommand_1 = require("./commands/DeleteExternalModelCommand");
|
|
24
25
|
const DeleteLabelCommand_1 = require("./commands/DeleteLabelCommand");
|
|
26
|
+
const DeleteListCommand_1 = require("./commands/DeleteListCommand");
|
|
25
27
|
const DeleteModelCommand_1 = require("./commands/DeleteModelCommand");
|
|
26
28
|
const DeleteModelVersionCommand_1 = require("./commands/DeleteModelVersionCommand");
|
|
27
29
|
const DeleteOutcomeCommand_1 = require("./commands/DeleteOutcomeCommand");
|
|
@@ -42,6 +44,8 @@ const GetEventTypesCommand_1 = require("./commands/GetEventTypesCommand");
|
|
|
42
44
|
const GetExternalModelsCommand_1 = require("./commands/GetExternalModelsCommand");
|
|
43
45
|
const GetKMSEncryptionKeyCommand_1 = require("./commands/GetKMSEncryptionKeyCommand");
|
|
44
46
|
const GetLabelsCommand_1 = require("./commands/GetLabelsCommand");
|
|
47
|
+
const GetListElementsCommand_1 = require("./commands/GetListElementsCommand");
|
|
48
|
+
const GetListsMetadataCommand_1 = require("./commands/GetListsMetadataCommand");
|
|
45
49
|
const GetModelsCommand_1 = require("./commands/GetModelsCommand");
|
|
46
50
|
const GetModelVersionCommand_1 = require("./commands/GetModelVersionCommand");
|
|
47
51
|
const GetOutcomesCommand_1 = require("./commands/GetOutcomesCommand");
|
|
@@ -63,6 +67,7 @@ const UpdateDetectorVersionCommand_1 = require("./commands/UpdateDetectorVersion
|
|
|
63
67
|
const UpdateDetectorVersionMetadataCommand_1 = require("./commands/UpdateDetectorVersionMetadataCommand");
|
|
64
68
|
const UpdateDetectorVersionStatusCommand_1 = require("./commands/UpdateDetectorVersionStatusCommand");
|
|
65
69
|
const UpdateEventLabelCommand_1 = require("./commands/UpdateEventLabelCommand");
|
|
70
|
+
const UpdateListCommand_1 = require("./commands/UpdateListCommand");
|
|
66
71
|
const UpdateModelCommand_1 = require("./commands/UpdateModelCommand");
|
|
67
72
|
const UpdateModelVersionCommand_1 = require("./commands/UpdateModelVersionCommand");
|
|
68
73
|
const UpdateModelVersionStatusCommand_1 = require("./commands/UpdateModelVersionStatusCommand");
|
|
@@ -169,6 +174,20 @@ class FraudDetector extends FraudDetectorClient_1.FraudDetectorClient {
|
|
|
169
174
|
return this.send(command, optionsOrCb);
|
|
170
175
|
}
|
|
171
176
|
}
|
|
177
|
+
createList(args, optionsOrCb, cb) {
|
|
178
|
+
const command = new CreateListCommand_1.CreateListCommand(args);
|
|
179
|
+
if (typeof optionsOrCb === "function") {
|
|
180
|
+
this.send(command, optionsOrCb);
|
|
181
|
+
}
|
|
182
|
+
else if (typeof cb === "function") {
|
|
183
|
+
if (typeof optionsOrCb !== "object")
|
|
184
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
185
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
186
|
+
}
|
|
187
|
+
else {
|
|
188
|
+
return this.send(command, optionsOrCb);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
172
191
|
createModel(args, optionsOrCb, cb) {
|
|
173
192
|
const command = new CreateModelCommand_1.CreateModelCommand(args);
|
|
174
193
|
if (typeof optionsOrCb === "function") {
|
|
@@ -365,6 +384,20 @@ class FraudDetector extends FraudDetectorClient_1.FraudDetectorClient {
|
|
|
365
384
|
return this.send(command, optionsOrCb);
|
|
366
385
|
}
|
|
367
386
|
}
|
|
387
|
+
deleteList(args, optionsOrCb, cb) {
|
|
388
|
+
const command = new DeleteListCommand_1.DeleteListCommand(args);
|
|
389
|
+
if (typeof optionsOrCb === "function") {
|
|
390
|
+
this.send(command, optionsOrCb);
|
|
391
|
+
}
|
|
392
|
+
else if (typeof cb === "function") {
|
|
393
|
+
if (typeof optionsOrCb !== "object")
|
|
394
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
395
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
396
|
+
}
|
|
397
|
+
else {
|
|
398
|
+
return this.send(command, optionsOrCb);
|
|
399
|
+
}
|
|
400
|
+
}
|
|
368
401
|
deleteModel(args, optionsOrCb, cb) {
|
|
369
402
|
const command = new DeleteModelCommand_1.DeleteModelCommand(args);
|
|
370
403
|
if (typeof optionsOrCb === "function") {
|
|
@@ -645,6 +678,34 @@ class FraudDetector extends FraudDetectorClient_1.FraudDetectorClient {
|
|
|
645
678
|
return this.send(command, optionsOrCb);
|
|
646
679
|
}
|
|
647
680
|
}
|
|
681
|
+
getListElements(args, optionsOrCb, cb) {
|
|
682
|
+
const command = new GetListElementsCommand_1.GetListElementsCommand(args);
|
|
683
|
+
if (typeof optionsOrCb === "function") {
|
|
684
|
+
this.send(command, optionsOrCb);
|
|
685
|
+
}
|
|
686
|
+
else if (typeof cb === "function") {
|
|
687
|
+
if (typeof optionsOrCb !== "object")
|
|
688
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
689
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
690
|
+
}
|
|
691
|
+
else {
|
|
692
|
+
return this.send(command, optionsOrCb);
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
getListsMetadata(args, optionsOrCb, cb) {
|
|
696
|
+
const command = new GetListsMetadataCommand_1.GetListsMetadataCommand(args);
|
|
697
|
+
if (typeof optionsOrCb === "function") {
|
|
698
|
+
this.send(command, optionsOrCb);
|
|
699
|
+
}
|
|
700
|
+
else if (typeof cb === "function") {
|
|
701
|
+
if (typeof optionsOrCb !== "object")
|
|
702
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
703
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
704
|
+
}
|
|
705
|
+
else {
|
|
706
|
+
return this.send(command, optionsOrCb);
|
|
707
|
+
}
|
|
708
|
+
}
|
|
648
709
|
getModels(args, optionsOrCb, cb) {
|
|
649
710
|
const command = new GetModelsCommand_1.GetModelsCommand(args);
|
|
650
711
|
if (typeof optionsOrCb === "function") {
|
|
@@ -939,6 +1000,20 @@ class FraudDetector extends FraudDetectorClient_1.FraudDetectorClient {
|
|
|
939
1000
|
return this.send(command, optionsOrCb);
|
|
940
1001
|
}
|
|
941
1002
|
}
|
|
1003
|
+
updateList(args, optionsOrCb, cb) {
|
|
1004
|
+
const command = new UpdateListCommand_1.UpdateListCommand(args);
|
|
1005
|
+
if (typeof optionsOrCb === "function") {
|
|
1006
|
+
this.send(command, optionsOrCb);
|
|
1007
|
+
}
|
|
1008
|
+
else if (typeof cb === "function") {
|
|
1009
|
+
if (typeof optionsOrCb !== "object")
|
|
1010
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1011
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
1012
|
+
}
|
|
1013
|
+
else {
|
|
1014
|
+
return this.send(command, optionsOrCb);
|
|
1015
|
+
}
|
|
1016
|
+
}
|
|
942
1017
|
updateModel(args, optionsOrCb, cb) {
|
|
943
1018
|
const command = new UpdateModelCommand_1.UpdateModelCommand(args);
|
|
944
1019
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateListCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class CreateListCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateListCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "FraudDetectorClient";
|
|
28
|
+
const commandName = "CreateListCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.CreateListRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.CreateListResultFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1CreateListCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1CreateListCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.CreateListCommand = CreateListCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteListCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class DeleteListCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteListCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "FraudDetectorClient";
|
|
28
|
+
const commandName = "DeleteListCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.DeleteListRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.DeleteListResultFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1DeleteListCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1DeleteListCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.DeleteListCommand = DeleteListCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetListElementsCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class GetListElementsCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetListElementsCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "FraudDetectorClient";
|
|
28
|
+
const commandName = "GetListElementsCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.GetListElementsRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.GetListElementsResultFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1GetListElementsCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1GetListElementsCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.GetListElementsCommand = GetListElementsCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetListsMetadataCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class GetListsMetadataCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetListsMetadataCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "FraudDetectorClient";
|
|
28
|
+
const commandName = "GetListsMetadataCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.GetListsMetadataRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.GetListsMetadataResultFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1GetListsMetadataCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1GetListsMetadataCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.GetListsMetadataCommand = GetListsMetadataCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateListCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
9
|
+
class UpdateListCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateListCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "FraudDetectorClient";
|
|
28
|
+
const commandName = "UpdateListCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.UpdateListRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.UpdateListResultFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1UpdateListCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateListCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.UpdateListCommand = UpdateListCommand;
|
|
@@ -8,6 +8,7 @@ tslib_1.__exportStar(require("./CancelBatchPredictionJobCommand"), exports);
|
|
|
8
8
|
tslib_1.__exportStar(require("./CreateBatchImportJobCommand"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./CreateBatchPredictionJobCommand"), exports);
|
|
10
10
|
tslib_1.__exportStar(require("./CreateDetectorVersionCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./CreateListCommand"), exports);
|
|
11
12
|
tslib_1.__exportStar(require("./CreateModelCommand"), exports);
|
|
12
13
|
tslib_1.__exportStar(require("./CreateModelVersionCommand"), exports);
|
|
13
14
|
tslib_1.__exportStar(require("./CreateRuleCommand"), exports);
|
|
@@ -22,6 +23,7 @@ tslib_1.__exportStar(require("./DeleteEventTypeCommand"), exports);
|
|
|
22
23
|
tslib_1.__exportStar(require("./DeleteEventsByEventTypeCommand"), exports);
|
|
23
24
|
tslib_1.__exportStar(require("./DeleteExternalModelCommand"), exports);
|
|
24
25
|
tslib_1.__exportStar(require("./DeleteLabelCommand"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./DeleteListCommand"), exports);
|
|
25
27
|
tslib_1.__exportStar(require("./DeleteModelCommand"), exports);
|
|
26
28
|
tslib_1.__exportStar(require("./DeleteModelVersionCommand"), exports);
|
|
27
29
|
tslib_1.__exportStar(require("./DeleteOutcomeCommand"), exports);
|
|
@@ -42,6 +44,8 @@ tslib_1.__exportStar(require("./GetEventTypesCommand"), exports);
|
|
|
42
44
|
tslib_1.__exportStar(require("./GetExternalModelsCommand"), exports);
|
|
43
45
|
tslib_1.__exportStar(require("./GetKMSEncryptionKeyCommand"), exports);
|
|
44
46
|
tslib_1.__exportStar(require("./GetLabelsCommand"), exports);
|
|
47
|
+
tslib_1.__exportStar(require("./GetListElementsCommand"), exports);
|
|
48
|
+
tslib_1.__exportStar(require("./GetListsMetadataCommand"), exports);
|
|
45
49
|
tslib_1.__exportStar(require("./GetModelVersionCommand"), exports);
|
|
46
50
|
tslib_1.__exportStar(require("./GetModelsCommand"), exports);
|
|
47
51
|
tslib_1.__exportStar(require("./GetOutcomesCommand"), exports);
|
|
@@ -63,6 +67,7 @@ tslib_1.__exportStar(require("./UpdateDetectorVersionCommand"), exports);
|
|
|
63
67
|
tslib_1.__exportStar(require("./UpdateDetectorVersionMetadataCommand"), exports);
|
|
64
68
|
tslib_1.__exportStar(require("./UpdateDetectorVersionStatusCommand"), exports);
|
|
65
69
|
tslib_1.__exportStar(require("./UpdateEventLabelCommand"), exports);
|
|
70
|
+
tslib_1.__exportStar(require("./UpdateListCommand"), exports);
|
|
66
71
|
tslib_1.__exportStar(require("./UpdateModelCommand"), exports);
|
|
67
72
|
tslib_1.__exportStar(require("./UpdateModelVersionCommand"), exports);
|
|
68
73
|
tslib_1.__exportStar(require("./UpdateModelVersionStatusCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const q = "
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://frauddetector-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://frauddetector-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://frauddetector.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://frauddetector.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.UpdateVariableResultFilterSensitiveLog = exports.UpdateVariableRequestFilterSensitiveLog = exports.UpdateRuleVersionResultFilterSensitiveLog = exports.UpdateRuleVersionRequestFilterSensitiveLog = exports.UpdateRuleMetadataResultFilterSensitiveLog = exports.UpdateRuleMetadataRequestFilterSensitiveLog = exports.UpdateModelVersionStatusResultFilterSensitiveLog = exports.UpdateModelVersionStatusRequestFilterSensitiveLog = exports.UpdateModelVersionResultFilterSensitiveLog = exports.UpdateModelVersionRequestFilterSensitiveLog = exports.UpdateModelResultFilterSensitiveLog = exports.UpdateModelRequestFilterSensitiveLog = exports.UpdateEventLabelResultFilterSensitiveLog = exports.UpdateEventLabelRequestFilterSensitiveLog = exports.UpdateDetectorVersionStatusResultFilterSensitiveLog = exports.UpdateDetectorVersionStatusRequestFilterSensitiveLog = exports.UpdateDetectorVersionMetadataResultFilterSensitiveLog = exports.UpdateDetectorVersionMetadataRequestFilterSensitiveLog = exports.UpdateDetectorVersionResultFilterSensitiveLog = exports.UpdateDetectorVersionRequestFilterSensitiveLog = exports.UntagResourceResultFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResultFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.SendEventResultFilterSensitiveLog = void 0;
|
|
3
|
+
exports.CreateDetectorVersionRequestFilterSensitiveLog = exports.RuleFilterSensitiveLog = exports.ModelVersionFilterSensitiveLog = exports.CreateBatchPredictionJobResultFilterSensitiveLog = exports.CreateBatchPredictionJobRequestFilterSensitiveLog = exports.CreateBatchImportJobResultFilterSensitiveLog = exports.CreateBatchImportJobRequestFilterSensitiveLog = exports.CancelBatchPredictionJobResultFilterSensitiveLog = exports.CancelBatchPredictionJobRequestFilterSensitiveLog = exports.CancelBatchImportJobResultFilterSensitiveLog = exports.CancelBatchImportJobRequestFilterSensitiveLog = exports.BatchGetVariableResultFilterSensitiveLog = exports.VariableFilterSensitiveLog = exports.BatchGetVariableErrorFilterSensitiveLog = exports.BatchGetVariableRequestFilterSensitiveLog = exports.BatchCreateVariableResultFilterSensitiveLog = exports.BatchCreateVariableErrorFilterSensitiveLog = exports.BatchCreateVariableRequestFilterSensitiveLog = exports.VariableEntryFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.ATITrainingMetricsValueFilterSensitiveLog = exports.ATIModelPerformanceFilterSensitiveLog = exports.ATIMetricDataPointFilterSensitiveLog = exports.AllowDenyListFilterSensitiveLog = exports.AggregatedVariablesImportanceMetricsFilterSensitiveLog = exports.AggregatedVariablesImpactExplanationFilterSensitiveLog = exports.AggregatedLogOddsMetricFilterSensitiveLog = exports.ModelVersionStatus = exports.ListUpdateMode = exports.ModelOutputDataFormat = exports.ModelEndpointStatus = exports.ModelInputDataFormat = exports.EventIngestion = exports.ResourceUnavailableException = exports.ModelSource = exports.ConflictException = exports.Language = exports.TrainingDataSourceEnum = exports.UnlabeledEventsTreatment = exports.DetectorVersionStatus = exports.RuleExecutionMode = exports.ModelTypeEnum = exports.ResourceNotFoundException = exports.DataType = exports.DataSource = exports.ValidationException = exports.ThrottlingException = exports.InternalServerException = exports.AsyncJobStatus = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.DetectorVersionSummaryFilterSensitiveLog = exports.DescribeDetectorRequestFilterSensitiveLog = exports.DeleteVariableResultFilterSensitiveLog = exports.DeleteVariableRequestFilterSensitiveLog = exports.DeleteRuleResultFilterSensitiveLog = exports.DeleteRuleRequestFilterSensitiveLog = exports.DeleteOutcomeResultFilterSensitiveLog = exports.DeleteOutcomeRequestFilterSensitiveLog = exports.DeleteModelVersionResultFilterSensitiveLog = exports.DeleteModelVersionRequestFilterSensitiveLog = exports.DeleteModelResultFilterSensitiveLog = exports.DeleteModelRequestFilterSensitiveLog = exports.DeleteListResultFilterSensitiveLog = exports.DeleteListRequestFilterSensitiveLog = exports.DeleteLabelResultFilterSensitiveLog = exports.DeleteLabelRequestFilterSensitiveLog = exports.DeleteExternalModelResultFilterSensitiveLog = exports.DeleteExternalModelRequestFilterSensitiveLog = exports.DeleteEventTypeResultFilterSensitiveLog = exports.DeleteEventTypeRequestFilterSensitiveLog = exports.DeleteEventsByEventTypeResultFilterSensitiveLog = exports.DeleteEventsByEventTypeRequestFilterSensitiveLog = exports.DeleteEventResultFilterSensitiveLog = exports.DeleteEventRequestFilterSensitiveLog = exports.DeleteEntityTypeResultFilterSensitiveLog = exports.DeleteEntityTypeRequestFilterSensitiveLog = exports.DeleteDetectorVersionResultFilterSensitiveLog = exports.DeleteDetectorVersionRequestFilterSensitiveLog = exports.DeleteDetectorResultFilterSensitiveLog = exports.DeleteDetectorRequestFilterSensitiveLog = exports.DeleteBatchPredictionJobResultFilterSensitiveLog = exports.DeleteBatchPredictionJobRequestFilterSensitiveLog = exports.DeleteBatchImportJobResultFilterSensitiveLog = exports.DeleteBatchImportJobRequestFilterSensitiveLog = exports.CreateVariableResultFilterSensitiveLog = exports.CreateVariableRequestFilterSensitiveLog = exports.CreateRuleResultFilterSensitiveLog = exports.CreateRuleRequestFilterSensitiveLog = exports.CreateModelVersionResultFilterSensitiveLog = exports.CreateModelVersionRequestFilterSensitiveLog = exports.TrainingDataSchemaFilterSensitiveLog = exports.LabelSchemaFilterSensitiveLog = exports.IngestedEventsDetailFilterSensitiveLog = exports.IngestedEventsTimeWindowFilterSensitiveLog = exports.ExternalEventsDetailFilterSensitiveLog = exports.CreateModelResultFilterSensitiveLog = exports.CreateModelRequestFilterSensitiveLog = exports.CreateListResultFilterSensitiveLog = exports.CreateListRequestFilterSensitiveLog = exports.CreateDetectorVersionResultFilterSensitiveLog = void 0;
|
|
5
|
+
exports.EvaluatedExternalModelFilterSensitiveLog = exports.GetEventPredictionMetadataRequestFilterSensitiveLog = exports.GetEventPredictionResultFilterSensitiveLog = exports.RuleResultFilterSensitiveLog = exports.ModelScoresFilterSensitiveLog = exports.ExternalModelOutputsFilterSensitiveLog = exports.ExternalModelSummaryFilterSensitiveLog = exports.GetEventPredictionRequestFilterSensitiveLog = exports.ModelEndpointDataBlobFilterSensitiveLog = exports.GetEventResultFilterSensitiveLog = exports.EventFilterSensitiveLog = exports.EntityFilterSensitiveLog = exports.GetEventRequestFilterSensitiveLog = exports.GetEntityTypesResultFilterSensitiveLog = exports.EntityTypeFilterSensitiveLog = exports.GetEntityTypesRequestFilterSensitiveLog = exports.GetDetectorVersionResultFilterSensitiveLog = exports.GetDetectorVersionRequestFilterSensitiveLog = exports.GetDetectorsResultFilterSensitiveLog = exports.DetectorFilterSensitiveLog = exports.GetDetectorsRequestFilterSensitiveLog = exports.GetDeleteEventsByEventTypeStatusResultFilterSensitiveLog = exports.GetDeleteEventsByEventTypeStatusRequestFilterSensitiveLog = exports.GetBatchPredictionJobsResultFilterSensitiveLog = exports.BatchPredictionFilterSensitiveLog = exports.GetBatchPredictionJobsRequestFilterSensitiveLog = exports.GetBatchImportJobsResultFilterSensitiveLog = exports.BatchImportFilterSensitiveLog = exports.GetBatchImportJobsRequestFilterSensitiveLog = exports.DescribeModelVersionsResultFilterSensitiveLog = exports.ModelVersionDetailFilterSensitiveLog = exports.TrainingResultV2FilterSensitiveLog = exports.TrainingMetricsV2FilterSensitiveLog = exports.TFITrainingMetricsValueFilterSensitiveLog = exports.TFIModelPerformanceFilterSensitiveLog = exports.TFIMetricDataPointFilterSensitiveLog = exports.OFITrainingMetricsValueFilterSensitiveLog = exports.OFIModelPerformanceFilterSensitiveLog = exports.UncertaintyRangeFilterSensitiveLog = exports.OFIMetricDataPointFilterSensitiveLog = exports.TrainingResultFilterSensitiveLog = exports.VariableImportanceMetricsFilterSensitiveLog = exports.LogOddsMetricFilterSensitiveLog = exports.TrainingMetricsFilterSensitiveLog = exports.MetricDataPointFilterSensitiveLog = exports.DataValidationMetricsFilterSensitiveLog = exports.FileValidationMessageFilterSensitiveLog = exports.FieldValidationMessageFilterSensitiveLog = exports.DescribeModelVersionsRequestFilterSensitiveLog = exports.DescribeDetectorResultFilterSensitiveLog = void 0;
|
|
6
|
+
exports.PutEventTypeRequestFilterSensitiveLog = exports.PutEntityTypeResultFilterSensitiveLog = exports.PutEntityTypeRequestFilterSensitiveLog = exports.PutDetectorResultFilterSensitiveLog = exports.PutDetectorRequestFilterSensitiveLog = exports.ListTagsForResourceResultFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListEventPredictionsResultFilterSensitiveLog = exports.EventPredictionSummaryFilterSensitiveLog = exports.ListEventPredictionsRequestFilterSensitiveLog = exports.PredictionTimeRangeFilterSensitiveLog = exports.FilterConditionFilterSensitiveLog = exports.GetVariablesResultFilterSensitiveLog = exports.GetVariablesRequestFilterSensitiveLog = exports.GetRulesResultFilterSensitiveLog = exports.RuleDetailFilterSensitiveLog = exports.GetRulesRequestFilterSensitiveLog = exports.GetOutcomesResultFilterSensitiveLog = exports.OutcomeFilterSensitiveLog = exports.GetOutcomesRequestFilterSensitiveLog = exports.GetModelVersionResultFilterSensitiveLog = exports.GetModelVersionRequestFilterSensitiveLog = exports.GetModelsResultFilterSensitiveLog = exports.ModelFilterSensitiveLog = exports.GetModelsRequestFilterSensitiveLog = exports.GetListsMetadataResultFilterSensitiveLog = exports.GetListsMetadataRequestFilterSensitiveLog = exports.GetListElementsResultFilterSensitiveLog = exports.GetListElementsRequestFilterSensitiveLog = exports.GetLabelsResultFilterSensitiveLog = exports.LabelFilterSensitiveLog = exports.GetLabelsRequestFilterSensitiveLog = exports.GetKMSEncryptionKeyResultFilterSensitiveLog = exports.KMSKeyFilterSensitiveLog = exports.GetExternalModelsResultFilterSensitiveLog = exports.ExternalModelFilterSensitiveLog = exports.ModelOutputConfigurationFilterSensitiveLog = exports.ModelInputConfigurationFilterSensitiveLog = exports.GetExternalModelsRequestFilterSensitiveLog = exports.GetEventTypesResultFilterSensitiveLog = exports.EventTypeFilterSensitiveLog = exports.IngestedEventStatisticsFilterSensitiveLog = exports.GetEventTypesRequestFilterSensitiveLog = exports.GetEventPredictionMetadataResultFilterSensitiveLog = exports.EvaluatedRuleFilterSensitiveLog = exports.EventVariableSummaryFilterSensitiveLog = exports.EvaluatedModelVersionFilterSensitiveLog = exports.ModelVersionEvaluationFilterSensitiveLog = exports.PredictionExplanationsFilterSensitiveLog = exports.VariableImpactExplanationFilterSensitiveLog = void 0;
|
|
7
|
+
exports.UpdateVariableResultFilterSensitiveLog = exports.UpdateVariableRequestFilterSensitiveLog = exports.UpdateRuleVersionResultFilterSensitiveLog = exports.UpdateRuleVersionRequestFilterSensitiveLog = exports.UpdateRuleMetadataResultFilterSensitiveLog = exports.UpdateRuleMetadataRequestFilterSensitiveLog = exports.UpdateModelVersionStatusResultFilterSensitiveLog = exports.UpdateModelVersionStatusRequestFilterSensitiveLog = exports.UpdateModelVersionResultFilterSensitiveLog = exports.UpdateModelVersionRequestFilterSensitiveLog = exports.UpdateModelResultFilterSensitiveLog = exports.UpdateModelRequestFilterSensitiveLog = exports.UpdateListResultFilterSensitiveLog = exports.UpdateListRequestFilterSensitiveLog = exports.UpdateEventLabelResultFilterSensitiveLog = exports.UpdateEventLabelRequestFilterSensitiveLog = exports.UpdateDetectorVersionStatusResultFilterSensitiveLog = exports.UpdateDetectorVersionStatusRequestFilterSensitiveLog = exports.UpdateDetectorVersionMetadataResultFilterSensitiveLog = exports.UpdateDetectorVersionMetadataRequestFilterSensitiveLog = exports.UpdateDetectorVersionResultFilterSensitiveLog = exports.UpdateDetectorVersionRequestFilterSensitiveLog = exports.UntagResourceResultFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResultFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.SendEventResultFilterSensitiveLog = exports.SendEventRequestFilterSensitiveLog = exports.PutOutcomeResultFilterSensitiveLog = exports.PutOutcomeRequestFilterSensitiveLog = exports.PutLabelResultFilterSensitiveLog = exports.PutLabelRequestFilterSensitiveLog = exports.PutKMSEncryptionKeyResultFilterSensitiveLog = exports.PutKMSEncryptionKeyRequestFilterSensitiveLog = exports.PutExternalModelResultFilterSensitiveLog = exports.PutExternalModelRequestFilterSensitiveLog = exports.PutEventTypeResultFilterSensitiveLog = void 0;
|
|
8
8
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
9
9
|
const FraudDetectorServiceException_1 = require("./FraudDetectorServiceException");
|
|
10
10
|
class AccessDeniedException extends FraudDetectorServiceException_1.FraudDetectorServiceException {
|
|
@@ -177,6 +177,12 @@ var ModelOutputDataFormat;
|
|
|
177
177
|
ModelOutputDataFormat["CSV"] = "TEXT_CSV";
|
|
178
178
|
ModelOutputDataFormat["JSONLINES"] = "APPLICATION_JSONLINES";
|
|
179
179
|
})(ModelOutputDataFormat = exports.ModelOutputDataFormat || (exports.ModelOutputDataFormat = {}));
|
|
180
|
+
var ListUpdateMode;
|
|
181
|
+
(function (ListUpdateMode) {
|
|
182
|
+
ListUpdateMode["APPEND"] = "APPEND";
|
|
183
|
+
ListUpdateMode["REMOVE"] = "REMOVE";
|
|
184
|
+
ListUpdateMode["REPLACE"] = "REPLACE";
|
|
185
|
+
})(ListUpdateMode = exports.ListUpdateMode || (exports.ListUpdateMode = {}));
|
|
180
186
|
var ModelVersionStatus;
|
|
181
187
|
(function (ModelVersionStatus) {
|
|
182
188
|
ModelVersionStatus["ACTIVE"] = "ACTIVE";
|
|
@@ -195,6 +201,10 @@ const AggregatedVariablesImportanceMetricsFilterSensitiveLog = (obj) => ({
|
|
|
195
201
|
...obj,
|
|
196
202
|
});
|
|
197
203
|
exports.AggregatedVariablesImportanceMetricsFilterSensitiveLog = AggregatedVariablesImportanceMetricsFilterSensitiveLog;
|
|
204
|
+
const AllowDenyListFilterSensitiveLog = (obj) => ({
|
|
205
|
+
...obj,
|
|
206
|
+
});
|
|
207
|
+
exports.AllowDenyListFilterSensitiveLog = AllowDenyListFilterSensitiveLog;
|
|
198
208
|
const ATIMetricDataPointFilterSensitiveLog = (obj) => ({
|
|
199
209
|
...obj,
|
|
200
210
|
});
|
|
@@ -291,6 +301,15 @@ const CreateDetectorVersionResultFilterSensitiveLog = (obj) => ({
|
|
|
291
301
|
...obj,
|
|
292
302
|
});
|
|
293
303
|
exports.CreateDetectorVersionResultFilterSensitiveLog = CreateDetectorVersionResultFilterSensitiveLog;
|
|
304
|
+
const CreateListRequestFilterSensitiveLog = (obj) => ({
|
|
305
|
+
...obj,
|
|
306
|
+
...(obj.elements && { elements: smithy_client_1.SENSITIVE_STRING }),
|
|
307
|
+
});
|
|
308
|
+
exports.CreateListRequestFilterSensitiveLog = CreateListRequestFilterSensitiveLog;
|
|
309
|
+
const CreateListResultFilterSensitiveLog = (obj) => ({
|
|
310
|
+
...obj,
|
|
311
|
+
});
|
|
312
|
+
exports.CreateListResultFilterSensitiveLog = CreateListResultFilterSensitiveLog;
|
|
294
313
|
const CreateModelRequestFilterSensitiveLog = (obj) => ({
|
|
295
314
|
...obj,
|
|
296
315
|
});
|
|
@@ -424,6 +443,14 @@ const DeleteLabelResultFilterSensitiveLog = (obj) => ({
|
|
|
424
443
|
...obj,
|
|
425
444
|
});
|
|
426
445
|
exports.DeleteLabelResultFilterSensitiveLog = DeleteLabelResultFilterSensitiveLog;
|
|
446
|
+
const DeleteListRequestFilterSensitiveLog = (obj) => ({
|
|
447
|
+
...obj,
|
|
448
|
+
});
|
|
449
|
+
exports.DeleteListRequestFilterSensitiveLog = DeleteListRequestFilterSensitiveLog;
|
|
450
|
+
const DeleteListResultFilterSensitiveLog = (obj) => ({
|
|
451
|
+
...obj,
|
|
452
|
+
});
|
|
453
|
+
exports.DeleteListResultFilterSensitiveLog = DeleteListResultFilterSensitiveLog;
|
|
427
454
|
const DeleteModelRequestFilterSensitiveLog = (obj) => ({
|
|
428
455
|
...obj,
|
|
429
456
|
});
|
|
@@ -777,6 +804,23 @@ const GetLabelsResultFilterSensitiveLog = (obj) => ({
|
|
|
777
804
|
...obj,
|
|
778
805
|
});
|
|
779
806
|
exports.GetLabelsResultFilterSensitiveLog = GetLabelsResultFilterSensitiveLog;
|
|
807
|
+
const GetListElementsRequestFilterSensitiveLog = (obj) => ({
|
|
808
|
+
...obj,
|
|
809
|
+
});
|
|
810
|
+
exports.GetListElementsRequestFilterSensitiveLog = GetListElementsRequestFilterSensitiveLog;
|
|
811
|
+
const GetListElementsResultFilterSensitiveLog = (obj) => ({
|
|
812
|
+
...obj,
|
|
813
|
+
...(obj.elements && { elements: smithy_client_1.SENSITIVE_STRING }),
|
|
814
|
+
});
|
|
815
|
+
exports.GetListElementsResultFilterSensitiveLog = GetListElementsResultFilterSensitiveLog;
|
|
816
|
+
const GetListsMetadataRequestFilterSensitiveLog = (obj) => ({
|
|
817
|
+
...obj,
|
|
818
|
+
});
|
|
819
|
+
exports.GetListsMetadataRequestFilterSensitiveLog = GetListsMetadataRequestFilterSensitiveLog;
|
|
820
|
+
const GetListsMetadataResultFilterSensitiveLog = (obj) => ({
|
|
821
|
+
...obj,
|
|
822
|
+
});
|
|
823
|
+
exports.GetListsMetadataResultFilterSensitiveLog = GetListsMetadataResultFilterSensitiveLog;
|
|
780
824
|
const GetModelsRequestFilterSensitiveLog = (obj) => ({
|
|
781
825
|
...obj,
|
|
782
826
|
});
|
|
@@ -973,6 +1017,15 @@ const UpdateEventLabelResultFilterSensitiveLog = (obj) => ({
|
|
|
973
1017
|
...obj,
|
|
974
1018
|
});
|
|
975
1019
|
exports.UpdateEventLabelResultFilterSensitiveLog = UpdateEventLabelResultFilterSensitiveLog;
|
|
1020
|
+
const UpdateListRequestFilterSensitiveLog = (obj) => ({
|
|
1021
|
+
...obj,
|
|
1022
|
+
...(obj.elements && { elements: smithy_client_1.SENSITIVE_STRING }),
|
|
1023
|
+
});
|
|
1024
|
+
exports.UpdateListRequestFilterSensitiveLog = UpdateListRequestFilterSensitiveLog;
|
|
1025
|
+
const UpdateListResultFilterSensitiveLog = (obj) => ({
|
|
1026
|
+
...obj,
|
|
1027
|
+
});
|
|
1028
|
+
exports.UpdateListResultFilterSensitiveLog = UpdateListResultFilterSensitiveLog;
|
|
976
1029
|
const UpdateModelRequestFilterSensitiveLog = (obj) => ({
|
|
977
1030
|
...obj,
|
|
978
1031
|
});
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateGetListElements = void 0;
|
|
4
|
+
const GetListElementsCommand_1 = require("../commands/GetListElementsCommand");
|
|
5
|
+
const FraudDetector_1 = require("../FraudDetector");
|
|
6
|
+
const FraudDetectorClient_1 = require("../FraudDetectorClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new GetListElementsCommand_1.GetListElementsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.getListElements(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateGetListElements(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.nextToken = token;
|
|
19
|
+
input["maxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof FraudDetector_1.FraudDetector) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof FraudDetectorClient_1.FraudDetectorClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected FraudDetector | FraudDetectorClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
const prevToken = token;
|
|
31
|
+
token = page.nextToken;
|
|
32
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
33
|
+
}
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
exports.paginateGetListElements = paginateGetListElements;
|