@aws-sdk/client-frauddetector 3.299.0 → 3.301.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-types/commands/BatchCreateVariableCommand.d.ts +18 -0
- package/dist-types/commands/BatchGetVariableCommand.d.ts +5 -0
- package/dist-types/commands/CancelBatchImportJobCommand.d.ts +3 -0
- package/dist-types/commands/CancelBatchPredictionJobCommand.d.ts +3 -0
- package/dist-types/commands/CreateBatchImportJobCommand.d.ts +13 -0
- package/dist-types/commands/CreateBatchPredictionJobCommand.d.ts +15 -0
- package/dist-types/commands/CreateDetectorVersionCommand.d.ts +29 -0
- package/dist-types/commands/CreateListCommand.d.ts +14 -0
- package/dist-types/commands/CreateModelCommand.d.ts +12 -0
- package/dist-types/commands/CreateModelVersionCommand.d.ts +34 -0
- package/dist-types/commands/CreateRuleCommand.d.ts +16 -0
- package/dist-types/commands/CreateVariableCommand.d.ts +14 -0
- package/dist-types/commands/DeleteBatchImportJobCommand.d.ts +3 -0
- package/dist-types/commands/DeleteBatchPredictionJobCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDetectorCommand.d.ts +3 -0
- package/dist-types/commands/DeleteDetectorVersionCommand.d.ts +4 -0
- package/dist-types/commands/DeleteEntityTypeCommand.d.ts +3 -0
- package/dist-types/commands/DeleteEventCommand.d.ts +5 -0
- package/dist-types/commands/DeleteEventTypeCommand.d.ts +3 -0
- package/dist-types/commands/DeleteEventsByEventTypeCommand.d.ts +3 -0
- package/dist-types/commands/DeleteExternalModelCommand.d.ts +3 -0
- package/dist-types/commands/DeleteLabelCommand.d.ts +3 -0
- package/dist-types/commands/DeleteListCommand.d.ts +3 -0
- package/dist-types/commands/DeleteModelCommand.d.ts +4 -0
- package/dist-types/commands/DeleteModelVersionCommand.d.ts +5 -0
- package/dist-types/commands/DeleteOutcomeCommand.d.ts +3 -0
- package/dist-types/commands/DeleteRuleCommand.d.ts +7 -0
- package/dist-types/commands/DeleteVariableCommand.d.ts +3 -0
- package/dist-types/commands/DescribeDetectorCommand.d.ts +5 -0
- package/dist-types/commands/DescribeModelVersionsCommand.d.ts +7 -0
- package/dist-types/commands/GetBatchImportJobsCommand.d.ts +5 -0
- package/dist-types/commands/GetBatchPredictionJobsCommand.d.ts +5 -0
- package/dist-types/commands/GetDeleteEventsByEventTypeStatusCommand.d.ts +3 -0
- package/dist-types/commands/GetDetectorVersionCommand.d.ts +4 -0
- package/dist-types/commands/GetDetectorsCommand.d.ts +5 -0
- package/dist-types/commands/GetEntityTypesCommand.d.ts +5 -0
- package/dist-types/commands/GetEventCommand.d.ts +4 -0
- package/dist-types/commands/GetEventPredictionCommand.d.ts +22 -0
- package/dist-types/commands/GetEventPredictionMetadataCommand.d.ts +7 -0
- package/dist-types/commands/GetEventTypesCommand.d.ts +5 -0
- package/dist-types/commands/GetExternalModelsCommand.d.ts +5 -0
- package/dist-types/commands/GetKMSEncryptionKeyCommand.d.ts +1 -0
- package/dist-types/commands/GetLabelsCommand.d.ts +5 -0
- package/dist-types/commands/GetListElementsCommand.d.ts +5 -0
- package/dist-types/commands/GetListsMetadataCommand.d.ts +5 -0
- package/dist-types/commands/GetModelVersionCommand.d.ts +5 -0
- package/dist-types/commands/GetModelsCommand.d.ts +6 -0
- package/dist-types/commands/GetOutcomesCommand.d.ts +5 -0
- package/dist-types/commands/GetRulesCommand.d.ts +7 -0
- package/dist-types/commands/GetVariablesCommand.d.ts +5 -0
- package/dist-types/commands/ListEventPredictionsCommand.d.ts +20 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -0
- package/dist-types/commands/PutDetectorCommand.d.ts +11 -0
- package/dist-types/commands/PutEntityTypeCommand.d.ts +10 -0
- package/dist-types/commands/PutEventTypeCommand.d.ts +20 -0
- package/dist-types/commands/PutExternalModelCommand.d.ts +28 -0
- package/dist-types/commands/PutKMSEncryptionKeyCommand.d.ts +3 -0
- package/dist-types/commands/PutLabelCommand.d.ts +10 -0
- package/dist-types/commands/PutOutcomeCommand.d.ts +10 -0
- package/dist-types/commands/SendEventCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
- package/dist-types/commands/UpdateDetectorVersionCommand.d.ts +24 -0
- package/dist-types/commands/UpdateDetectorVersionMetadataCommand.d.ts +5 -0
- package/dist-types/commands/UpdateDetectorVersionStatusCommand.d.ts +5 -0
- package/dist-types/commands/UpdateEventLabelCommand.d.ts +6 -0
- package/dist-types/commands/UpdateListCommand.d.ts +9 -0
- package/dist-types/commands/UpdateModelCommand.d.ts +5 -0
- package/dist-types/commands/UpdateModelVersionCommand.d.ts +21 -0
- package/dist-types/commands/UpdateModelVersionStatusCommand.d.ts +6 -0
- package/dist-types/commands/UpdateRuleMetadataCommand.d.ts +8 -0
- package/dist-types/commands/UpdateRuleVersionCommand.d.ts +19 -0
- package/dist-types/commands/UpdateVariableCommand.d.ts +6 -0
- package/package.json +8 -8
|
@@ -26,6 +26,24 @@ export interface BatchCreateVariableCommandOutput extends BatchCreateVariableRes
|
|
|
26
26
|
* import { FraudDetectorClient, BatchCreateVariableCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
27
27
|
* // const { FraudDetectorClient, BatchCreateVariableCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
28
28
|
* const client = new FraudDetectorClient(config);
|
|
29
|
+
* const input = { // BatchCreateVariableRequest
|
|
30
|
+
* variableEntries: [ // VariableEntryList // required
|
|
31
|
+
* { // VariableEntry
|
|
32
|
+
* name: "STRING_VALUE",
|
|
33
|
+
* dataType: "STRING_VALUE",
|
|
34
|
+
* dataSource: "STRING_VALUE",
|
|
35
|
+
* defaultValue: "STRING_VALUE",
|
|
36
|
+
* description: "STRING_VALUE",
|
|
37
|
+
* variableType: "STRING_VALUE",
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* tags: [ // tagList
|
|
41
|
+
* { // Tag
|
|
42
|
+
* key: "STRING_VALUE", // required
|
|
43
|
+
* value: "STRING_VALUE", // required
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* };
|
|
29
47
|
* const command = new BatchCreateVariableCommand(input);
|
|
30
48
|
* const response = await client.send(command);
|
|
31
49
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface BatchGetVariableCommandOutput extends BatchGetVariableResult, _
|
|
|
26
26
|
* import { FraudDetectorClient, BatchGetVariableCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
27
27
|
* // const { FraudDetectorClient, BatchGetVariableCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
28
28
|
* const client = new FraudDetectorClient(config);
|
|
29
|
+
* const input = { // BatchGetVariableRequest
|
|
30
|
+
* names: [ // NameList // required
|
|
31
|
+
* "STRING_VALUE",
|
|
32
|
+
* ],
|
|
33
|
+
* };
|
|
29
34
|
* const command = new BatchGetVariableCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface CancelBatchImportJobCommandOutput extends CancelBatchImportJobR
|
|
|
26
26
|
* import { FraudDetectorClient, CancelBatchImportJobCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
27
27
|
* // const { FraudDetectorClient, CancelBatchImportJobCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
28
28
|
* const client = new FraudDetectorClient(config);
|
|
29
|
+
* const input = { // CancelBatchImportJobRequest
|
|
30
|
+
* jobId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new CancelBatchImportJobCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface CancelBatchPredictionJobCommandOutput extends CancelBatchPredic
|
|
|
26
26
|
* import { FraudDetectorClient, CancelBatchPredictionJobCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
27
27
|
* // const { FraudDetectorClient, CancelBatchPredictionJobCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
28
28
|
* const client = new FraudDetectorClient(config);
|
|
29
|
+
* const input = { // CancelBatchPredictionJobRequest
|
|
30
|
+
* jobId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new CancelBatchPredictionJobCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,19 @@ export interface CreateBatchImportJobCommandOutput extends CreateBatchImportJobR
|
|
|
26
26
|
* import { FraudDetectorClient, CreateBatchImportJobCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
27
27
|
* // const { FraudDetectorClient, CreateBatchImportJobCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
28
28
|
* const client = new FraudDetectorClient(config);
|
|
29
|
+
* const input = { // CreateBatchImportJobRequest
|
|
30
|
+
* jobId: "STRING_VALUE", // required
|
|
31
|
+
* inputPath: "STRING_VALUE", // required
|
|
32
|
+
* outputPath: "STRING_VALUE", // required
|
|
33
|
+
* eventTypeName: "STRING_VALUE", // required
|
|
34
|
+
* iamRoleArn: "STRING_VALUE", // required
|
|
35
|
+
* tags: [ // tagList
|
|
36
|
+
* { // Tag
|
|
37
|
+
* key: "STRING_VALUE", // required
|
|
38
|
+
* value: "STRING_VALUE", // required
|
|
39
|
+
* },
|
|
40
|
+
* ],
|
|
41
|
+
* };
|
|
29
42
|
* const command = new CreateBatchImportJobCommand(input);
|
|
30
43
|
* const response = await client.send(command);
|
|
31
44
|
* ```
|
|
@@ -26,6 +26,21 @@ export interface CreateBatchPredictionJobCommandOutput extends CreateBatchPredic
|
|
|
26
26
|
* import { FraudDetectorClient, CreateBatchPredictionJobCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
27
27
|
* // const { FraudDetectorClient, CreateBatchPredictionJobCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
28
28
|
* const client = new FraudDetectorClient(config);
|
|
29
|
+
* const input = { // CreateBatchPredictionJobRequest
|
|
30
|
+
* jobId: "STRING_VALUE", // required
|
|
31
|
+
* inputPath: "STRING_VALUE", // required
|
|
32
|
+
* outputPath: "STRING_VALUE", // required
|
|
33
|
+
* eventTypeName: "STRING_VALUE", // required
|
|
34
|
+
* detectorName: "STRING_VALUE", // required
|
|
35
|
+
* detectorVersion: "STRING_VALUE",
|
|
36
|
+
* iamRoleArn: "STRING_VALUE", // required
|
|
37
|
+
* tags: [ // tagList
|
|
38
|
+
* { // Tag
|
|
39
|
+
* key: "STRING_VALUE", // required
|
|
40
|
+
* value: "STRING_VALUE", // required
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
29
44
|
* const command = new CreateBatchPredictionJobCommand(input);
|
|
30
45
|
* const response = await client.send(command);
|
|
31
46
|
* ```
|
|
@@ -26,6 +26,35 @@ export interface CreateDetectorVersionCommandOutput extends CreateDetectorVersio
|
|
|
26
26
|
* import { FraudDetectorClient, CreateDetectorVersionCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
27
27
|
* // const { FraudDetectorClient, CreateDetectorVersionCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
28
28
|
* const client = new FraudDetectorClient(config);
|
|
29
|
+
* const input = { // CreateDetectorVersionRequest
|
|
30
|
+
* detectorId: "STRING_VALUE", // required
|
|
31
|
+
* description: "STRING_VALUE",
|
|
32
|
+
* externalModelEndpoints: [ // ListOfStrings
|
|
33
|
+
* "STRING_VALUE",
|
|
34
|
+
* ],
|
|
35
|
+
* rules: [ // RuleList // required
|
|
36
|
+
* { // Rule
|
|
37
|
+
* detectorId: "STRING_VALUE", // required
|
|
38
|
+
* ruleId: "STRING_VALUE", // required
|
|
39
|
+
* ruleVersion: "STRING_VALUE", // required
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* modelVersions: [ // ListOfModelVersions
|
|
43
|
+
* { // ModelVersion
|
|
44
|
+
* modelId: "STRING_VALUE", // required
|
|
45
|
+
* modelType: "ONLINE_FRAUD_INSIGHTS" || "TRANSACTION_FRAUD_INSIGHTS" || "ACCOUNT_TAKEOVER_INSIGHTS", // required
|
|
46
|
+
* modelVersionNumber: "STRING_VALUE", // required
|
|
47
|
+
* arn: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* ruleExecutionMode: "ALL_MATCHED" || "FIRST_MATCHED",
|
|
51
|
+
* tags: [ // tagList
|
|
52
|
+
* { // Tag
|
|
53
|
+
* key: "STRING_VALUE", // required
|
|
54
|
+
* value: "STRING_VALUE", // required
|
|
55
|
+
* },
|
|
56
|
+
* ],
|
|
57
|
+
* };
|
|
29
58
|
* const command = new CreateDetectorVersionCommand(input);
|
|
30
59
|
* const response = await client.send(command);
|
|
31
60
|
* ```
|
|
@@ -30,6 +30,20 @@ export interface CreateListCommandOutput extends CreateListResult, __MetadataBea
|
|
|
30
30
|
* import { FraudDetectorClient, CreateListCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
31
31
|
* // const { FraudDetectorClient, CreateListCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
32
32
|
* const client = new FraudDetectorClient(config);
|
|
33
|
+
* const input = { // CreateListRequest
|
|
34
|
+
* name: "STRING_VALUE", // required
|
|
35
|
+
* elements: [ // ElementsList
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* variableType: "STRING_VALUE",
|
|
39
|
+
* description: "STRING_VALUE",
|
|
40
|
+
* tags: [ // tagList
|
|
41
|
+
* { // Tag
|
|
42
|
+
* key: "STRING_VALUE", // required
|
|
43
|
+
* value: "STRING_VALUE", // required
|
|
44
|
+
* },
|
|
45
|
+
* ],
|
|
46
|
+
* };
|
|
33
47
|
* const command = new CreateListCommand(input);
|
|
34
48
|
* const response = await client.send(command);
|
|
35
49
|
* ```
|
|
@@ -26,6 +26,18 @@ export interface CreateModelCommandOutput extends CreateModelResult, __MetadataB
|
|
|
26
26
|
* import { FraudDetectorClient, CreateModelCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
27
27
|
* // const { FraudDetectorClient, CreateModelCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
28
28
|
* const client = new FraudDetectorClient(config);
|
|
29
|
+
* const input = { // CreateModelRequest
|
|
30
|
+
* modelId: "STRING_VALUE", // required
|
|
31
|
+
* modelType: "ONLINE_FRAUD_INSIGHTS" || "TRANSACTION_FRAUD_INSIGHTS" || "ACCOUNT_TAKEOVER_INSIGHTS", // required
|
|
32
|
+
* description: "STRING_VALUE",
|
|
33
|
+
* eventTypeName: "STRING_VALUE", // required
|
|
34
|
+
* tags: [ // tagList
|
|
35
|
+
* { // Tag
|
|
36
|
+
* key: "STRING_VALUE", // required
|
|
37
|
+
* value: "STRING_VALUE", // required
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* };
|
|
29
41
|
* const command = new CreateModelCommand(input);
|
|
30
42
|
* const response = await client.send(command);
|
|
31
43
|
* ```
|
|
@@ -27,6 +27,40 @@ export interface CreateModelVersionCommandOutput extends CreateModelVersionResul
|
|
|
27
27
|
* import { FraudDetectorClient, CreateModelVersionCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
28
28
|
* // const { FraudDetectorClient, CreateModelVersionCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
29
29
|
* const client = new FraudDetectorClient(config);
|
|
30
|
+
* const input = { // CreateModelVersionRequest
|
|
31
|
+
* modelId: "STRING_VALUE", // required
|
|
32
|
+
* modelType: "ONLINE_FRAUD_INSIGHTS" || "TRANSACTION_FRAUD_INSIGHTS" || "ACCOUNT_TAKEOVER_INSIGHTS", // required
|
|
33
|
+
* trainingDataSource: "EXTERNAL_EVENTS" || "INGESTED_EVENTS", // required
|
|
34
|
+
* trainingDataSchema: { // TrainingDataSchema
|
|
35
|
+
* modelVariables: [ // ListOfStrings // required
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* labelSchema: { // LabelSchema
|
|
39
|
+
* labelMapper: { // labelMapper
|
|
40
|
+
* "<keys>": [
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* },
|
|
44
|
+
* unlabeledEventsTreatment: "IGNORE" || "FRAUD" || "LEGIT" || "AUTO",
|
|
45
|
+
* },
|
|
46
|
+
* },
|
|
47
|
+
* externalEventsDetail: { // ExternalEventsDetail
|
|
48
|
+
* dataLocation: "STRING_VALUE", // required
|
|
49
|
+
* dataAccessRoleArn: "STRING_VALUE", // required
|
|
50
|
+
* },
|
|
51
|
+
* ingestedEventsDetail: { // IngestedEventsDetail
|
|
52
|
+
* ingestedEventsTimeWindow: { // IngestedEventsTimeWindow
|
|
53
|
+
* startTime: "STRING_VALUE", // required
|
|
54
|
+
* endTime: "STRING_VALUE", // required
|
|
55
|
+
* },
|
|
56
|
+
* },
|
|
57
|
+
* tags: [ // tagList
|
|
58
|
+
* { // Tag
|
|
59
|
+
* key: "STRING_VALUE", // required
|
|
60
|
+
* value: "STRING_VALUE", // required
|
|
61
|
+
* },
|
|
62
|
+
* ],
|
|
63
|
+
* };
|
|
30
64
|
* const command = new CreateModelVersionCommand(input);
|
|
31
65
|
* const response = await client.send(command);
|
|
32
66
|
* ```
|
|
@@ -26,6 +26,22 @@ export interface CreateRuleCommandOutput extends CreateRuleResult, __MetadataBea
|
|
|
26
26
|
* import { FraudDetectorClient, CreateRuleCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
27
27
|
* // const { FraudDetectorClient, CreateRuleCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
28
28
|
* const client = new FraudDetectorClient(config);
|
|
29
|
+
* const input = { // CreateRuleRequest
|
|
30
|
+
* ruleId: "STRING_VALUE", // required
|
|
31
|
+
* detectorId: "STRING_VALUE", // required
|
|
32
|
+
* description: "STRING_VALUE",
|
|
33
|
+
* expression: "STRING_VALUE", // required
|
|
34
|
+
* language: "DETECTORPL", // required
|
|
35
|
+
* outcomes: [ // NonEmptyListOfStrings // required
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* tags: [ // tagList
|
|
39
|
+
* { // Tag
|
|
40
|
+
* key: "STRING_VALUE", // required
|
|
41
|
+
* value: "STRING_VALUE", // required
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* };
|
|
29
45
|
* const command = new CreateRuleCommand(input);
|
|
30
46
|
* const response = await client.send(command);
|
|
31
47
|
* ```
|
|
@@ -26,6 +26,20 @@ export interface CreateVariableCommandOutput extends CreateVariableResult, __Met
|
|
|
26
26
|
* import { FraudDetectorClient, CreateVariableCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
27
27
|
* // const { FraudDetectorClient, CreateVariableCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
28
28
|
* const client = new FraudDetectorClient(config);
|
|
29
|
+
* const input = { // CreateVariableRequest
|
|
30
|
+
* name: "STRING_VALUE", // required
|
|
31
|
+
* dataType: "STRING" || "INTEGER" || "FLOAT" || "BOOLEAN", // required
|
|
32
|
+
* dataSource: "EVENT" || "MODEL_SCORE" || "EXTERNAL_MODEL_SCORE", // required
|
|
33
|
+
* defaultValue: "STRING_VALUE", // required
|
|
34
|
+
* description: "STRING_VALUE",
|
|
35
|
+
* variableType: "STRING_VALUE",
|
|
36
|
+
* tags: [ // tagList
|
|
37
|
+
* { // Tag
|
|
38
|
+
* key: "STRING_VALUE", // required
|
|
39
|
+
* value: "STRING_VALUE", // required
|
|
40
|
+
* },
|
|
41
|
+
* ],
|
|
42
|
+
* };
|
|
29
43
|
* const command = new CreateVariableCommand(input);
|
|
30
44
|
* const response = await client.send(command);
|
|
31
45
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteBatchImportJobCommandOutput extends DeleteBatchImportJobR
|
|
|
26
26
|
* import { FraudDetectorClient, DeleteBatchImportJobCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
27
27
|
* // const { FraudDetectorClient, DeleteBatchImportJobCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
28
28
|
* const client = new FraudDetectorClient(config);
|
|
29
|
+
* const input = { // DeleteBatchImportJobRequest
|
|
30
|
+
* jobId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteBatchImportJobCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteBatchPredictionJobCommandOutput extends DeleteBatchPredic
|
|
|
26
26
|
* import { FraudDetectorClient, DeleteBatchPredictionJobCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
27
27
|
* // const { FraudDetectorClient, DeleteBatchPredictionJobCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
28
28
|
* const client = new FraudDetectorClient(config);
|
|
29
|
+
* const input = { // DeleteBatchPredictionJobRequest
|
|
30
|
+
* jobId: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteBatchPredictionJobCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DeleteDetectorCommandOutput extends DeleteDetectorResult, __Met
|
|
|
27
27
|
* import { FraudDetectorClient, DeleteDetectorCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
28
28
|
* // const { FraudDetectorClient, DeleteDetectorCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
29
29
|
* const client = new FraudDetectorClient(config);
|
|
30
|
+
* const input = { // DeleteDetectorRequest
|
|
31
|
+
* detectorId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DeleteDetectorCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -27,6 +27,10 @@ export interface DeleteDetectorVersionCommandOutput extends DeleteDetectorVersio
|
|
|
27
27
|
* import { FraudDetectorClient, DeleteDetectorVersionCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
28
28
|
* // const { FraudDetectorClient, DeleteDetectorVersionCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
29
29
|
* const client = new FraudDetectorClient(config);
|
|
30
|
+
* const input = { // DeleteDetectorVersionRequest
|
|
31
|
+
* detectorId: "STRING_VALUE", // required
|
|
32
|
+
* detectorVersionId: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
30
34
|
* const command = new DeleteDetectorVersionCommand(input);
|
|
31
35
|
* const response = await client.send(command);
|
|
32
36
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface DeleteEntityTypeCommandOutput extends DeleteEntityTypeResult, _
|
|
|
28
28
|
* import { FraudDetectorClient, DeleteEntityTypeCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
29
29
|
* // const { FraudDetectorClient, DeleteEntityTypeCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
30
30
|
* const client = new FraudDetectorClient(config);
|
|
31
|
+
* const input = { // DeleteEntityTypeRequest
|
|
32
|
+
* name: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DeleteEntityTypeCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -27,6 +27,11 @@ export interface DeleteEventCommandOutput extends DeleteEventResult, __MetadataB
|
|
|
27
27
|
* import { FraudDetectorClient, DeleteEventCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
28
28
|
* // const { FraudDetectorClient, DeleteEventCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
29
29
|
* const client = new FraudDetectorClient(config);
|
|
30
|
+
* const input = { // DeleteEventRequest
|
|
31
|
+
* eventId: "STRING_VALUE", // required
|
|
32
|
+
* eventTypeName: "STRING_VALUE", // required
|
|
33
|
+
* deleteAuditHistory: true || false,
|
|
34
|
+
* };
|
|
30
35
|
* const command = new DeleteEventCommand(input);
|
|
31
36
|
* const response = await client.send(command);
|
|
32
37
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface DeleteEventTypeCommandOutput extends DeleteEventTypeResult, __M
|
|
|
28
28
|
* import { FraudDetectorClient, DeleteEventTypeCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
29
29
|
* // const { FraudDetectorClient, DeleteEventTypeCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
30
30
|
* const client = new FraudDetectorClient(config);
|
|
31
|
+
* const input = { // DeleteEventTypeRequest
|
|
32
|
+
* name: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DeleteEventTypeCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface DeleteEventsByEventTypeCommandOutput extends DeleteEventsByEven
|
|
|
26
26
|
* import { FraudDetectorClient, DeleteEventsByEventTypeCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
27
27
|
* // const { FraudDetectorClient, DeleteEventsByEventTypeCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
28
28
|
* const client = new FraudDetectorClient(config);
|
|
29
|
+
* const input = { // DeleteEventsByEventTypeRequest
|
|
30
|
+
* eventTypeName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new DeleteEventsByEventTypeCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -27,6 +27,9 @@ export interface DeleteExternalModelCommandOutput extends DeleteExternalModelRes
|
|
|
27
27
|
* import { FraudDetectorClient, DeleteExternalModelCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
28
28
|
* // const { FraudDetectorClient, DeleteExternalModelCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
29
29
|
* const client = new FraudDetectorClient(config);
|
|
30
|
+
* const input = { // DeleteExternalModelRequest
|
|
31
|
+
* modelEndpoint: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
30
33
|
* const command = new DeleteExternalModelCommand(input);
|
|
31
34
|
* const response = await client.send(command);
|
|
32
35
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface DeleteLabelCommandOutput extends DeleteLabelResult, __MetadataB
|
|
|
29
29
|
* import { FraudDetectorClient, DeleteLabelCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
30
30
|
* // const { FraudDetectorClient, DeleteLabelCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
31
31
|
* const client = new FraudDetectorClient(config);
|
|
32
|
+
* const input = { // DeleteLabelRequest
|
|
33
|
+
* name: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new DeleteLabelCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface DeleteListCommandOutput extends DeleteListResult, __MetadataBea
|
|
|
29
29
|
* import { FraudDetectorClient, DeleteListCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
30
30
|
* // const { FraudDetectorClient, DeleteListCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
31
31
|
* const client = new FraudDetectorClient(config);
|
|
32
|
+
* const input = { // DeleteListRequest
|
|
33
|
+
* name: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new DeleteListCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -28,6 +28,10 @@ export interface DeleteModelCommandOutput extends DeleteModelResult, __MetadataB
|
|
|
28
28
|
* import { FraudDetectorClient, DeleteModelCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
29
29
|
* // const { FraudDetectorClient, DeleteModelCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
30
30
|
* const client = new FraudDetectorClient(config);
|
|
31
|
+
* const input = { // DeleteModelRequest
|
|
32
|
+
* modelId: "STRING_VALUE", // required
|
|
33
|
+
* modelType: "ONLINE_FRAUD_INSIGHTS" || "TRANSACTION_FRAUD_INSIGHTS" || "ACCOUNT_TAKEOVER_INSIGHTS", // required
|
|
34
|
+
* };
|
|
31
35
|
* const command = new DeleteModelCommand(input);
|
|
32
36
|
* const response = await client.send(command);
|
|
33
37
|
* ```
|
|
@@ -28,6 +28,11 @@ export interface DeleteModelVersionCommandOutput extends DeleteModelVersionResul
|
|
|
28
28
|
* import { FraudDetectorClient, DeleteModelVersionCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
29
29
|
* // const { FraudDetectorClient, DeleteModelVersionCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
30
30
|
* const client = new FraudDetectorClient(config);
|
|
31
|
+
* const input = { // DeleteModelVersionRequest
|
|
32
|
+
* modelId: "STRING_VALUE", // required
|
|
33
|
+
* modelType: "ONLINE_FRAUD_INSIGHTS" || "TRANSACTION_FRAUD_INSIGHTS" || "ACCOUNT_TAKEOVER_INSIGHTS", // required
|
|
34
|
+
* modelVersionNumber: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
31
36
|
* const command = new DeleteModelVersionCommand(input);
|
|
32
37
|
* const response = await client.send(command);
|
|
33
38
|
* ```
|
|
@@ -28,6 +28,9 @@ export interface DeleteOutcomeCommandOutput extends DeleteOutcomeResult, __Metad
|
|
|
28
28
|
* import { FraudDetectorClient, DeleteOutcomeCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
29
29
|
* // const { FraudDetectorClient, DeleteOutcomeCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
30
30
|
* const client = new FraudDetectorClient(config);
|
|
31
|
+
* const input = { // DeleteOutcomeRequest
|
|
32
|
+
* name: "STRING_VALUE", // required
|
|
33
|
+
* };
|
|
31
34
|
* const command = new DeleteOutcomeCommand(input);
|
|
32
35
|
* const response = await client.send(command);
|
|
33
36
|
* ```
|
|
@@ -27,6 +27,13 @@ export interface DeleteRuleCommandOutput extends DeleteRuleResult, __MetadataBea
|
|
|
27
27
|
* import { FraudDetectorClient, DeleteRuleCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
28
28
|
* // const { FraudDetectorClient, DeleteRuleCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
29
29
|
* const client = new FraudDetectorClient(config);
|
|
30
|
+
* const input = { // DeleteRuleRequest
|
|
31
|
+
* rule: { // Rule
|
|
32
|
+
* detectorId: "STRING_VALUE", // required
|
|
33
|
+
* ruleId: "STRING_VALUE", // required
|
|
34
|
+
* ruleVersion: "STRING_VALUE", // required
|
|
35
|
+
* },
|
|
36
|
+
* };
|
|
30
37
|
* const command = new DeleteRuleCommand(input);
|
|
31
38
|
* const response = await client.send(command);
|
|
32
39
|
* ```
|
|
@@ -29,6 +29,9 @@ export interface DeleteVariableCommandOutput extends DeleteVariableResult, __Met
|
|
|
29
29
|
* import { FraudDetectorClient, DeleteVariableCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
30
30
|
* // const { FraudDetectorClient, DeleteVariableCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
31
31
|
* const client = new FraudDetectorClient(config);
|
|
32
|
+
* const input = { // DeleteVariableRequest
|
|
33
|
+
* name: "STRING_VALUE", // required
|
|
34
|
+
* };
|
|
32
35
|
* const command = new DeleteVariableCommand(input);
|
|
33
36
|
* const response = await client.send(command);
|
|
34
37
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface DescribeDetectorCommandOutput extends DescribeDetectorResult, _
|
|
|
26
26
|
* import { FraudDetectorClient, DescribeDetectorCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
27
27
|
* // const { FraudDetectorClient, DescribeDetectorCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
28
28
|
* const client = new FraudDetectorClient(config);
|
|
29
|
+
* const input = { // DescribeDetectorRequest
|
|
30
|
+
* detectorId: "STRING_VALUE", // required
|
|
31
|
+
* nextToken: "STRING_VALUE",
|
|
32
|
+
* maxResults: Number("int"),
|
|
33
|
+
* };
|
|
29
34
|
* const command = new DescribeDetectorCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,13 @@ export interface DescribeModelVersionsCommandOutput extends DescribeModelVersion
|
|
|
26
26
|
* import { FraudDetectorClient, DescribeModelVersionsCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
27
27
|
* // const { FraudDetectorClient, DescribeModelVersionsCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
28
28
|
* const client = new FraudDetectorClient(config);
|
|
29
|
+
* const input = { // DescribeModelVersionsRequest
|
|
30
|
+
* modelId: "STRING_VALUE",
|
|
31
|
+
* modelVersionNumber: "STRING_VALUE",
|
|
32
|
+
* modelType: "ONLINE_FRAUD_INSIGHTS" || "TRANSACTION_FRAUD_INSIGHTS" || "ACCOUNT_TAKEOVER_INSIGHTS",
|
|
33
|
+
* nextToken: "STRING_VALUE",
|
|
34
|
+
* maxResults: Number("int"),
|
|
35
|
+
* };
|
|
29
36
|
* const command = new DescribeModelVersionsCommand(input);
|
|
30
37
|
* const response = await client.send(command);
|
|
31
38
|
* ```
|
|
@@ -29,6 +29,11 @@ export interface GetBatchImportJobsCommandOutput extends GetBatchImportJobsResul
|
|
|
29
29
|
* import { FraudDetectorClient, GetBatchImportJobsCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
30
30
|
* // const { FraudDetectorClient, GetBatchImportJobsCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
31
31
|
* const client = new FraudDetectorClient(config);
|
|
32
|
+
* const input = { // GetBatchImportJobsRequest
|
|
33
|
+
* jobId: "STRING_VALUE",
|
|
34
|
+
* maxResults: Number("int"),
|
|
35
|
+
* nextToken: "STRING_VALUE",
|
|
36
|
+
* };
|
|
32
37
|
* const command = new GetBatchImportJobsCommand(input);
|
|
33
38
|
* const response = await client.send(command);
|
|
34
39
|
* ```
|
|
@@ -26,6 +26,11 @@ export interface GetBatchPredictionJobsCommandOutput extends GetBatchPredictionJ
|
|
|
26
26
|
* import { FraudDetectorClient, GetBatchPredictionJobsCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
27
27
|
* // const { FraudDetectorClient, GetBatchPredictionJobsCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
28
28
|
* const client = new FraudDetectorClient(config);
|
|
29
|
+
* const input = { // GetBatchPredictionJobsRequest
|
|
30
|
+
* jobId: "STRING_VALUE",
|
|
31
|
+
* maxResults: Number("int"),
|
|
32
|
+
* nextToken: "STRING_VALUE",
|
|
33
|
+
* };
|
|
29
34
|
* const command = new GetBatchPredictionJobsCommand(input);
|
|
30
35
|
* const response = await client.send(command);
|
|
31
36
|
* ```
|
|
@@ -26,6 +26,9 @@ export interface GetDeleteEventsByEventTypeStatusCommandOutput extends GetDelete
|
|
|
26
26
|
* import { FraudDetectorClient, GetDeleteEventsByEventTypeStatusCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
27
27
|
* // const { FraudDetectorClient, GetDeleteEventsByEventTypeStatusCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
28
28
|
* const client = new FraudDetectorClient(config);
|
|
29
|
+
* const input = { // GetDeleteEventsByEventTypeStatusRequest
|
|
30
|
+
* eventTypeName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
29
32
|
* const command = new GetDeleteEventsByEventTypeStatusCommand(input);
|
|
30
33
|
* const response = await client.send(command);
|
|
31
34
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetDetectorVersionCommandOutput extends GetDetectorVersionResul
|
|
|
26
26
|
* import { FraudDetectorClient, GetDetectorVersionCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
27
27
|
* // const { FraudDetectorClient, GetDetectorVersionCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
28
28
|
* const client = new FraudDetectorClient(config);
|
|
29
|
+
* const input = { // GetDetectorVersionRequest
|
|
30
|
+
* detectorId: "STRING_VALUE", // required
|
|
31
|
+
* detectorVersionId: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetDetectorVersionCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -31,6 +31,11 @@ export interface GetDetectorsCommandOutput extends GetDetectorsResult, __Metadat
|
|
|
31
31
|
* import { FraudDetectorClient, GetDetectorsCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
32
32
|
* // const { FraudDetectorClient, GetDetectorsCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
33
33
|
* const client = new FraudDetectorClient(config);
|
|
34
|
+
* const input = { // GetDetectorsRequest
|
|
35
|
+
* detectorId: "STRING_VALUE",
|
|
36
|
+
* nextToken: "STRING_VALUE",
|
|
37
|
+
* maxResults: Number("int"),
|
|
38
|
+
* };
|
|
34
39
|
* const command = new GetDetectorsCommand(input);
|
|
35
40
|
* const response = await client.send(command);
|
|
36
41
|
* ```
|
|
@@ -31,6 +31,11 @@ export interface GetEntityTypesCommandOutput extends GetEntityTypesResult, __Met
|
|
|
31
31
|
* import { FraudDetectorClient, GetEntityTypesCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
32
32
|
* // const { FraudDetectorClient, GetEntityTypesCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
33
33
|
* const client = new FraudDetectorClient(config);
|
|
34
|
+
* const input = { // GetEntityTypesRequest
|
|
35
|
+
* name: "STRING_VALUE",
|
|
36
|
+
* nextToken: "STRING_VALUE",
|
|
37
|
+
* maxResults: Number("int"),
|
|
38
|
+
* };
|
|
34
39
|
* const command = new GetEntityTypesCommand(input);
|
|
35
40
|
* const response = await client.send(command);
|
|
36
41
|
* ```
|
|
@@ -26,6 +26,10 @@ export interface GetEventCommandOutput extends GetEventResult, __MetadataBearer
|
|
|
26
26
|
* import { FraudDetectorClient, GetEventCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
27
27
|
* // const { FraudDetectorClient, GetEventCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
28
28
|
* const client = new FraudDetectorClient(config);
|
|
29
|
+
* const input = { // GetEventRequest
|
|
30
|
+
* eventId: "STRING_VALUE", // required
|
|
31
|
+
* eventTypeName: "STRING_VALUE", // required
|
|
32
|
+
* };
|
|
29
33
|
* const command = new GetEventCommand(input);
|
|
30
34
|
* const response = await client.send(command);
|
|
31
35
|
* ```
|
|
@@ -26,6 +26,28 @@ export interface GetEventPredictionCommandOutput extends GetEventPredictionResul
|
|
|
26
26
|
* import { FraudDetectorClient, GetEventPredictionCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
27
27
|
* // const { FraudDetectorClient, GetEventPredictionCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
28
28
|
* const client = new FraudDetectorClient(config);
|
|
29
|
+
* const input = { // GetEventPredictionRequest
|
|
30
|
+
* detectorId: "STRING_VALUE", // required
|
|
31
|
+
* detectorVersionId: "STRING_VALUE",
|
|
32
|
+
* eventId: "STRING_VALUE", // required
|
|
33
|
+
* eventTypeName: "STRING_VALUE", // required
|
|
34
|
+
* entities: [ // listOfEntities // required
|
|
35
|
+
* { // Entity
|
|
36
|
+
* entityType: "STRING_VALUE", // required
|
|
37
|
+
* entityId: "STRING_VALUE", // required
|
|
38
|
+
* },
|
|
39
|
+
* ],
|
|
40
|
+
* eventTimestamp: "STRING_VALUE", // required
|
|
41
|
+
* eventVariables: { // EventVariableMap // required
|
|
42
|
+
* "<keys>": "STRING_VALUE",
|
|
43
|
+
* },
|
|
44
|
+
* externalModelEndpointDataBlobs: { // ExternalModelEndpointDataBlobMap
|
|
45
|
+
* "<keys>": { // ModelEndpointDataBlob
|
|
46
|
+
* byteBuffer: "BLOB_VALUE",
|
|
47
|
+
* contentType: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* },
|
|
50
|
+
* };
|
|
29
51
|
* const command = new GetEventPredictionCommand(input);
|
|
30
52
|
* const response = await client.send(command);
|
|
31
53
|
* ```
|
|
@@ -28,6 +28,13 @@ export interface GetEventPredictionMetadataCommandOutput extends GetEventPredict
|
|
|
28
28
|
* import { FraudDetectorClient, GetEventPredictionMetadataCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
|
|
29
29
|
* // const { FraudDetectorClient, GetEventPredictionMetadataCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
|
|
30
30
|
* const client = new FraudDetectorClient(config);
|
|
31
|
+
* const input = { // GetEventPredictionMetadataRequest
|
|
32
|
+
* eventId: "STRING_VALUE", // required
|
|
33
|
+
* eventTypeName: "STRING_VALUE", // required
|
|
34
|
+
* detectorId: "STRING_VALUE", // required
|
|
35
|
+
* detectorVersionId: "STRING_VALUE", // required
|
|
36
|
+
* predictionTimestamp: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
31
38
|
* const command = new GetEventPredictionMetadataCommand(input);
|
|
32
39
|
* const response = await client.send(command);
|
|
33
40
|
* ```
|