@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.
Files changed (74) hide show
  1. package/dist-types/commands/BatchCreateVariableCommand.d.ts +18 -0
  2. package/dist-types/commands/BatchGetVariableCommand.d.ts +5 -0
  3. package/dist-types/commands/CancelBatchImportJobCommand.d.ts +3 -0
  4. package/dist-types/commands/CancelBatchPredictionJobCommand.d.ts +3 -0
  5. package/dist-types/commands/CreateBatchImportJobCommand.d.ts +13 -0
  6. package/dist-types/commands/CreateBatchPredictionJobCommand.d.ts +15 -0
  7. package/dist-types/commands/CreateDetectorVersionCommand.d.ts +29 -0
  8. package/dist-types/commands/CreateListCommand.d.ts +14 -0
  9. package/dist-types/commands/CreateModelCommand.d.ts +12 -0
  10. package/dist-types/commands/CreateModelVersionCommand.d.ts +34 -0
  11. package/dist-types/commands/CreateRuleCommand.d.ts +16 -0
  12. package/dist-types/commands/CreateVariableCommand.d.ts +14 -0
  13. package/dist-types/commands/DeleteBatchImportJobCommand.d.ts +3 -0
  14. package/dist-types/commands/DeleteBatchPredictionJobCommand.d.ts +3 -0
  15. package/dist-types/commands/DeleteDetectorCommand.d.ts +3 -0
  16. package/dist-types/commands/DeleteDetectorVersionCommand.d.ts +4 -0
  17. package/dist-types/commands/DeleteEntityTypeCommand.d.ts +3 -0
  18. package/dist-types/commands/DeleteEventCommand.d.ts +5 -0
  19. package/dist-types/commands/DeleteEventTypeCommand.d.ts +3 -0
  20. package/dist-types/commands/DeleteEventsByEventTypeCommand.d.ts +3 -0
  21. package/dist-types/commands/DeleteExternalModelCommand.d.ts +3 -0
  22. package/dist-types/commands/DeleteLabelCommand.d.ts +3 -0
  23. package/dist-types/commands/DeleteListCommand.d.ts +3 -0
  24. package/dist-types/commands/DeleteModelCommand.d.ts +4 -0
  25. package/dist-types/commands/DeleteModelVersionCommand.d.ts +5 -0
  26. package/dist-types/commands/DeleteOutcomeCommand.d.ts +3 -0
  27. package/dist-types/commands/DeleteRuleCommand.d.ts +7 -0
  28. package/dist-types/commands/DeleteVariableCommand.d.ts +3 -0
  29. package/dist-types/commands/DescribeDetectorCommand.d.ts +5 -0
  30. package/dist-types/commands/DescribeModelVersionsCommand.d.ts +7 -0
  31. package/dist-types/commands/GetBatchImportJobsCommand.d.ts +5 -0
  32. package/dist-types/commands/GetBatchPredictionJobsCommand.d.ts +5 -0
  33. package/dist-types/commands/GetDeleteEventsByEventTypeStatusCommand.d.ts +3 -0
  34. package/dist-types/commands/GetDetectorVersionCommand.d.ts +4 -0
  35. package/dist-types/commands/GetDetectorsCommand.d.ts +5 -0
  36. package/dist-types/commands/GetEntityTypesCommand.d.ts +5 -0
  37. package/dist-types/commands/GetEventCommand.d.ts +4 -0
  38. package/dist-types/commands/GetEventPredictionCommand.d.ts +22 -0
  39. package/dist-types/commands/GetEventPredictionMetadataCommand.d.ts +7 -0
  40. package/dist-types/commands/GetEventTypesCommand.d.ts +5 -0
  41. package/dist-types/commands/GetExternalModelsCommand.d.ts +5 -0
  42. package/dist-types/commands/GetKMSEncryptionKeyCommand.d.ts +1 -0
  43. package/dist-types/commands/GetLabelsCommand.d.ts +5 -0
  44. package/dist-types/commands/GetListElementsCommand.d.ts +5 -0
  45. package/dist-types/commands/GetListsMetadataCommand.d.ts +5 -0
  46. package/dist-types/commands/GetModelVersionCommand.d.ts +5 -0
  47. package/dist-types/commands/GetModelsCommand.d.ts +6 -0
  48. package/dist-types/commands/GetOutcomesCommand.d.ts +5 -0
  49. package/dist-types/commands/GetRulesCommand.d.ts +7 -0
  50. package/dist-types/commands/GetVariablesCommand.d.ts +5 -0
  51. package/dist-types/commands/ListEventPredictionsCommand.d.ts +20 -0
  52. package/dist-types/commands/ListTagsForResourceCommand.d.ts +5 -0
  53. package/dist-types/commands/PutDetectorCommand.d.ts +11 -0
  54. package/dist-types/commands/PutEntityTypeCommand.d.ts +10 -0
  55. package/dist-types/commands/PutEventTypeCommand.d.ts +20 -0
  56. package/dist-types/commands/PutExternalModelCommand.d.ts +28 -0
  57. package/dist-types/commands/PutKMSEncryptionKeyCommand.d.ts +3 -0
  58. package/dist-types/commands/PutLabelCommand.d.ts +10 -0
  59. package/dist-types/commands/PutOutcomeCommand.d.ts +10 -0
  60. package/dist-types/commands/SendEventCommand.d.ts +16 -0
  61. package/dist-types/commands/TagResourceCommand.d.ts +9 -0
  62. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  63. package/dist-types/commands/UpdateDetectorVersionCommand.d.ts +24 -0
  64. package/dist-types/commands/UpdateDetectorVersionMetadataCommand.d.ts +5 -0
  65. package/dist-types/commands/UpdateDetectorVersionStatusCommand.d.ts +5 -0
  66. package/dist-types/commands/UpdateEventLabelCommand.d.ts +6 -0
  67. package/dist-types/commands/UpdateListCommand.d.ts +9 -0
  68. package/dist-types/commands/UpdateModelCommand.d.ts +5 -0
  69. package/dist-types/commands/UpdateModelVersionCommand.d.ts +21 -0
  70. package/dist-types/commands/UpdateModelVersionStatusCommand.d.ts +6 -0
  71. package/dist-types/commands/UpdateRuleMetadataCommand.d.ts +8 -0
  72. package/dist-types/commands/UpdateRuleVersionCommand.d.ts +19 -0
  73. package/dist-types/commands/UpdateVariableCommand.d.ts +6 -0
  74. package/package.json +8 -8
@@ -31,6 +31,11 @@ export interface GetEventTypesCommandOutput extends GetEventTypesResult, __Metad
31
31
  * import { FraudDetectorClient, GetEventTypesCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
32
32
  * // const { FraudDetectorClient, GetEventTypesCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
33
33
  * const client = new FraudDetectorClient(config);
34
+ * const input = { // GetEventTypesRequest
35
+ * name: "STRING_VALUE",
36
+ * nextToken: "STRING_VALUE",
37
+ * maxResults: Number("int"),
38
+ * };
34
39
  * const command = new GetEventTypesCommand(input);
35
40
  * const response = await client.send(command);
36
41
  * ```
@@ -31,6 +31,11 @@ export interface GetExternalModelsCommandOutput extends GetExternalModelsResult,
31
31
  * import { FraudDetectorClient, GetExternalModelsCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
32
32
  * // const { FraudDetectorClient, GetExternalModelsCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
33
33
  * const client = new FraudDetectorClient(config);
34
+ * const input = { // GetExternalModelsRequest
35
+ * modelEndpoint: "STRING_VALUE",
36
+ * nextToken: "STRING_VALUE",
37
+ * maxResults: Number("int"),
38
+ * };
34
39
  * const command = new GetExternalModelsCommand(input);
35
40
  * const response = await client.send(command);
36
41
  * ```
@@ -26,6 +26,7 @@ export interface GetKMSEncryptionKeyCommandOutput extends GetKMSEncryptionKeyRes
26
26
  * import { FraudDetectorClient, GetKMSEncryptionKeyCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
27
27
  * // const { FraudDetectorClient, GetKMSEncryptionKeyCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
28
28
  * const client = new FraudDetectorClient(config);
29
+ * const input = {};
29
30
  * const command = new GetKMSEncryptionKeyCommand(input);
30
31
  * const response = await client.send(command);
31
32
  * ```
@@ -31,6 +31,11 @@ export interface GetLabelsCommandOutput extends GetLabelsResult, __MetadataBeare
31
31
  * import { FraudDetectorClient, GetLabelsCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
32
32
  * // const { FraudDetectorClient, GetLabelsCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
33
33
  * const client = new FraudDetectorClient(config);
34
+ * const input = { // GetLabelsRequest
35
+ * name: "STRING_VALUE",
36
+ * nextToken: "STRING_VALUE",
37
+ * maxResults: Number("int"),
38
+ * };
34
39
  * const command = new GetLabelsCommand(input);
35
40
  * const response = await client.send(command);
36
41
  * ```
@@ -28,6 +28,11 @@ export interface GetListElementsCommandOutput extends GetListElementsResult, __M
28
28
  * import { FraudDetectorClient, GetListElementsCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
29
29
  * // const { FraudDetectorClient, GetListElementsCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
30
30
  * const client = new FraudDetectorClient(config);
31
+ * const input = { // GetListElementsRequest
32
+ * name: "STRING_VALUE", // required
33
+ * nextToken: "STRING_VALUE",
34
+ * maxResults: Number("int"),
35
+ * };
31
36
  * const command = new GetListElementsCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -28,6 +28,11 @@ export interface GetListsMetadataCommandOutput extends GetListsMetadataResult, _
28
28
  * import { FraudDetectorClient, GetListsMetadataCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
29
29
  * // const { FraudDetectorClient, GetListsMetadataCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
30
30
  * const client = new FraudDetectorClient(config);
31
+ * const input = { // GetListsMetadataRequest
32
+ * name: "STRING_VALUE",
33
+ * nextToken: "STRING_VALUE",
34
+ * maxResults: Number("int"),
35
+ * };
31
36
  * const command = new GetListsMetadataCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -26,6 +26,11 @@ export interface GetModelVersionCommandOutput extends GetModelVersionResult, __M
26
26
  * import { FraudDetectorClient, GetModelVersionCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
27
27
  * // const { FraudDetectorClient, GetModelVersionCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
28
28
  * const client = new FraudDetectorClient(config);
29
+ * const input = { // GetModelVersionRequest
30
+ * modelId: "STRING_VALUE", // required
31
+ * modelType: "ONLINE_FRAUD_INSIGHTS" || "TRANSACTION_FRAUD_INSIGHTS" || "ACCOUNT_TAKEOVER_INSIGHTS", // required
32
+ * modelVersionNumber: "STRING_VALUE", // required
33
+ * };
29
34
  * const command = new GetModelVersionCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -32,6 +32,12 @@ export interface GetModelsCommandOutput extends GetModelsResult, __MetadataBeare
32
32
  * import { FraudDetectorClient, GetModelsCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
33
33
  * // const { FraudDetectorClient, GetModelsCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
34
34
  * const client = new FraudDetectorClient(config);
35
+ * const input = { // GetModelsRequest
36
+ * modelId: "STRING_VALUE",
37
+ * modelType: "ONLINE_FRAUD_INSIGHTS" || "TRANSACTION_FRAUD_INSIGHTS" || "ACCOUNT_TAKEOVER_INSIGHTS",
38
+ * nextToken: "STRING_VALUE",
39
+ * maxResults: Number("int"),
40
+ * };
35
41
  * const command = new GetModelsCommand(input);
36
42
  * const response = await client.send(command);
37
43
  * ```
@@ -31,6 +31,11 @@ export interface GetOutcomesCommandOutput extends GetOutcomesResult, __MetadataB
31
31
  * import { FraudDetectorClient, GetOutcomesCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
32
32
  * // const { FraudDetectorClient, GetOutcomesCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
33
33
  * const client = new FraudDetectorClient(config);
34
+ * const input = { // GetOutcomesRequest
35
+ * name: "STRING_VALUE",
36
+ * nextToken: "STRING_VALUE",
37
+ * maxResults: Number("int"),
38
+ * };
34
39
  * const command = new GetOutcomesCommand(input);
35
40
  * const response = await client.send(command);
36
41
  * ```
@@ -27,6 +27,13 @@ export interface GetRulesCommandOutput extends GetRulesResult, __MetadataBearer
27
27
  * import { FraudDetectorClient, GetRulesCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
28
28
  * // const { FraudDetectorClient, GetRulesCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
29
29
  * const client = new FraudDetectorClient(config);
30
+ * const input = { // GetRulesRequest
31
+ * ruleId: "STRING_VALUE",
32
+ * detectorId: "STRING_VALUE", // required
33
+ * ruleVersion: "STRING_VALUE",
34
+ * nextToken: "STRING_VALUE",
35
+ * maxResults: Number("int"),
36
+ * };
30
37
  * const command = new GetRulesCommand(input);
31
38
  * const response = await client.send(command);
32
39
  * ```
@@ -31,6 +31,11 @@ export interface GetVariablesCommandOutput extends GetVariablesResult, __Metadat
31
31
  * import { FraudDetectorClient, GetVariablesCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
32
32
  * // const { FraudDetectorClient, GetVariablesCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
33
33
  * const client = new FraudDetectorClient(config);
34
+ * const input = { // GetVariablesRequest
35
+ * name: "STRING_VALUE",
36
+ * nextToken: "STRING_VALUE",
37
+ * maxResults: Number("int"),
38
+ * };
34
39
  * const command = new GetVariablesCommand(input);
35
40
  * const response = await client.send(command);
36
41
  * ```
@@ -37,6 +37,26 @@ export interface ListEventPredictionsCommandOutput extends ListEventPredictionsR
37
37
  * import { FraudDetectorClient, ListEventPredictionsCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
38
38
  * // const { FraudDetectorClient, ListEventPredictionsCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
39
39
  * const client = new FraudDetectorClient(config);
40
+ * const input = { // ListEventPredictionsRequest
41
+ * eventId: { // FilterCondition
42
+ * value: "STRING_VALUE",
43
+ * },
44
+ * eventType: {
45
+ * value: "STRING_VALUE",
46
+ * },
47
+ * detectorId: {
48
+ * value: "STRING_VALUE",
49
+ * },
50
+ * detectorVersionId: {
51
+ * value: "STRING_VALUE",
52
+ * },
53
+ * predictionTimeRange: { // PredictionTimeRange
54
+ * startTime: "STRING_VALUE", // required
55
+ * endTime: "STRING_VALUE", // required
56
+ * },
57
+ * nextToken: "STRING_VALUE",
58
+ * maxResults: Number("int"),
59
+ * };
40
60
  * const command = new ListEventPredictionsCommand(input);
41
61
  * const response = await client.send(command);
42
62
  * ```
@@ -28,6 +28,11 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
28
28
  * import { FraudDetectorClient, ListTagsForResourceCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
29
29
  * // const { FraudDetectorClient, ListTagsForResourceCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
30
30
  * const client = new FraudDetectorClient(config);
31
+ * const input = { // ListTagsForResourceRequest
32
+ * resourceARN: "STRING_VALUE", // required
33
+ * nextToken: "STRING_VALUE",
34
+ * maxResults: Number("int"),
35
+ * };
31
36
  * const command = new ListTagsForResourceCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -26,6 +26,17 @@ export interface PutDetectorCommandOutput extends PutDetectorResult, __MetadataB
26
26
  * import { FraudDetectorClient, PutDetectorCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
27
27
  * // const { FraudDetectorClient, PutDetectorCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
28
28
  * const client = new FraudDetectorClient(config);
29
+ * const input = { // PutDetectorRequest
30
+ * detectorId: "STRING_VALUE", // required
31
+ * description: "STRING_VALUE",
32
+ * eventTypeName: "STRING_VALUE", // required
33
+ * tags: [ // tagList
34
+ * { // Tag
35
+ * key: "STRING_VALUE", // required
36
+ * value: "STRING_VALUE", // required
37
+ * },
38
+ * ],
39
+ * };
29
40
  * const command = new PutDetectorCommand(input);
30
41
  * const response = await client.send(command);
31
42
  * ```
@@ -26,6 +26,16 @@ export interface PutEntityTypeCommandOutput extends PutEntityTypeResult, __Metad
26
26
  * import { FraudDetectorClient, PutEntityTypeCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
27
27
  * // const { FraudDetectorClient, PutEntityTypeCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
28
28
  * const client = new FraudDetectorClient(config);
29
+ * const input = { // PutEntityTypeRequest
30
+ * name: "STRING_VALUE", // required
31
+ * description: "STRING_VALUE",
32
+ * tags: [ // tagList
33
+ * { // Tag
34
+ * key: "STRING_VALUE", // required
35
+ * value: "STRING_VALUE", // required
36
+ * },
37
+ * ],
38
+ * };
29
39
  * const command = new PutEntityTypeCommand(input);
30
40
  * const response = await client.send(command);
31
41
  * ```
@@ -26,6 +26,26 @@ export interface PutEventTypeCommandOutput extends PutEventTypeResult, __Metadat
26
26
  * import { FraudDetectorClient, PutEventTypeCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
27
27
  * // const { FraudDetectorClient, PutEventTypeCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
28
28
  * const client = new FraudDetectorClient(config);
29
+ * const input = { // PutEventTypeRequest
30
+ * name: "STRING_VALUE", // required
31
+ * description: "STRING_VALUE",
32
+ * eventVariables: [ // NonEmptyListOfStrings // required
33
+ * "STRING_VALUE",
34
+ * ],
35
+ * labels: [ // ListOfStrings
36
+ * "STRING_VALUE",
37
+ * ],
38
+ * entityTypes: [ // required
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * eventIngestion: "ENABLED" || "DISABLED",
42
+ * tags: [ // tagList
43
+ * { // Tag
44
+ * key: "STRING_VALUE", // required
45
+ * value: "STRING_VALUE", // required
46
+ * },
47
+ * ],
48
+ * };
29
49
  * const command = new PutEventTypeCommand(input);
30
50
  * const response = await client.send(command);
31
51
  * ```
@@ -26,6 +26,34 @@ export interface PutExternalModelCommandOutput extends PutExternalModelResult, _
26
26
  * import { FraudDetectorClient, PutExternalModelCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
27
27
  * // const { FraudDetectorClient, PutExternalModelCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
28
28
  * const client = new FraudDetectorClient(config);
29
+ * const input = { // PutExternalModelRequest
30
+ * modelEndpoint: "STRING_VALUE", // required
31
+ * modelSource: "SAGEMAKER", // required
32
+ * invokeModelEndpointRoleArn: "STRING_VALUE", // required
33
+ * inputConfiguration: { // ModelInputConfiguration
34
+ * eventTypeName: "STRING_VALUE",
35
+ * format: "TEXT_CSV" || "APPLICATION_JSON",
36
+ * useEventVariables: true || false, // required
37
+ * jsonInputTemplate: "STRING_VALUE",
38
+ * csvInputTemplate: "STRING_VALUE",
39
+ * },
40
+ * outputConfiguration: { // ModelOutputConfiguration
41
+ * format: "TEXT_CSV" || "APPLICATION_JSONLINES", // required
42
+ * jsonKeyToVariableMap: { // JsonKeyToVariableMap
43
+ * "<keys>": "STRING_VALUE",
44
+ * },
45
+ * csvIndexToVariableMap: { // CsvIndexToVariableMap
46
+ * "<keys>": "STRING_VALUE",
47
+ * },
48
+ * },
49
+ * modelEndpointStatus: "ASSOCIATED" || "DISSOCIATED", // required
50
+ * tags: [ // tagList
51
+ * { // Tag
52
+ * key: "STRING_VALUE", // required
53
+ * value: "STRING_VALUE", // required
54
+ * },
55
+ * ],
56
+ * };
29
57
  * const command = new PutExternalModelCommand(input);
30
58
  * const response = await client.send(command);
31
59
  * ```
@@ -26,6 +26,9 @@ export interface PutKMSEncryptionKeyCommandOutput extends PutKMSEncryptionKeyRes
26
26
  * import { FraudDetectorClient, PutKMSEncryptionKeyCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
27
27
  * // const { FraudDetectorClient, PutKMSEncryptionKeyCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
28
28
  * const client = new FraudDetectorClient(config);
29
+ * const input = { // PutKMSEncryptionKeyRequest
30
+ * kmsEncryptionKeyArn: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new PutKMSEncryptionKeyCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -26,6 +26,16 @@ export interface PutLabelCommandOutput extends PutLabelResult, __MetadataBearer
26
26
  * import { FraudDetectorClient, PutLabelCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
27
27
  * // const { FraudDetectorClient, PutLabelCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
28
28
  * const client = new FraudDetectorClient(config);
29
+ * const input = { // PutLabelRequest
30
+ * name: "STRING_VALUE", // required
31
+ * description: "STRING_VALUE",
32
+ * tags: [ // tagList
33
+ * { // Tag
34
+ * key: "STRING_VALUE", // required
35
+ * value: "STRING_VALUE", // required
36
+ * },
37
+ * ],
38
+ * };
29
39
  * const command = new PutLabelCommand(input);
30
40
  * const response = await client.send(command);
31
41
  * ```
@@ -26,6 +26,16 @@ export interface PutOutcomeCommandOutput extends PutOutcomeResult, __MetadataBea
26
26
  * import { FraudDetectorClient, PutOutcomeCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
27
27
  * // const { FraudDetectorClient, PutOutcomeCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
28
28
  * const client = new FraudDetectorClient(config);
29
+ * const input = { // PutOutcomeRequest
30
+ * name: "STRING_VALUE", // required
31
+ * description: "STRING_VALUE",
32
+ * tags: [ // tagList
33
+ * { // Tag
34
+ * key: "STRING_VALUE", // required
35
+ * value: "STRING_VALUE", // required
36
+ * },
37
+ * ],
38
+ * };
29
39
  * const command = new PutOutcomeCommand(input);
30
40
  * const response = await client.send(command);
31
41
  * ```
@@ -26,6 +26,22 @@ export interface SendEventCommandOutput extends SendEventResult, __MetadataBeare
26
26
  * import { FraudDetectorClient, SendEventCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
27
27
  * // const { FraudDetectorClient, SendEventCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
28
28
  * const client = new FraudDetectorClient(config);
29
+ * const input = { // SendEventRequest
30
+ * eventId: "STRING_VALUE", // required
31
+ * eventTypeName: "STRING_VALUE", // required
32
+ * eventTimestamp: "STRING_VALUE", // required
33
+ * eventVariables: { // EventVariableMap // required
34
+ * "<keys>": "STRING_VALUE",
35
+ * },
36
+ * assignedLabel: "STRING_VALUE",
37
+ * labelTimestamp: "STRING_VALUE",
38
+ * entities: [ // listOfEntities // required
39
+ * { // Entity
40
+ * entityType: "STRING_VALUE", // required
41
+ * entityId: "STRING_VALUE", // required
42
+ * },
43
+ * ],
44
+ * };
29
45
  * const command = new SendEventCommand(input);
30
46
  * const response = await client.send(command);
31
47
  * ```
@@ -26,6 +26,15 @@ export interface TagResourceCommandOutput extends TagResourceResult, __MetadataB
26
26
  * import { FraudDetectorClient, TagResourceCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
27
27
  * // const { FraudDetectorClient, TagResourceCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
28
28
  * const client = new FraudDetectorClient(config);
29
+ * const input = { // TagResourceRequest
30
+ * resourceARN: "STRING_VALUE", // required
31
+ * tags: [ // tagList // required
32
+ * { // Tag
33
+ * key: "STRING_VALUE", // required
34
+ * value: "STRING_VALUE", // required
35
+ * },
36
+ * ],
37
+ * };
29
38
  * const command = new TagResourceCommand(input);
30
39
  * const response = await client.send(command);
31
40
  * ```
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResult, __Metad
26
26
  * import { FraudDetectorClient, UntagResourceCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
27
27
  * // const { FraudDetectorClient, UntagResourceCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
28
28
  * const client = new FraudDetectorClient(config);
29
+ * const input = { // UntagResourceRequest
30
+ * resourceARN: "STRING_VALUE", // required
31
+ * tagKeys: [ // tagKeyList // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,30 @@ export interface UpdateDetectorVersionCommandOutput extends UpdateDetectorVersio
26
26
  * import { FraudDetectorClient, UpdateDetectorVersionCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
27
27
  * // const { FraudDetectorClient, UpdateDetectorVersionCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
28
28
  * const client = new FraudDetectorClient(config);
29
+ * const input = { // UpdateDetectorVersionRequest
30
+ * detectorId: "STRING_VALUE", // required
31
+ * detectorVersionId: "STRING_VALUE", // required
32
+ * externalModelEndpoints: [ // ListOfStrings // required
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
+ * description: "STRING_VALUE",
43
+ * modelVersions: [ // ListOfModelVersions
44
+ * { // ModelVersion
45
+ * modelId: "STRING_VALUE", // required
46
+ * modelType: "ONLINE_FRAUD_INSIGHTS" || "TRANSACTION_FRAUD_INSIGHTS" || "ACCOUNT_TAKEOVER_INSIGHTS", // required
47
+ * modelVersionNumber: "STRING_VALUE", // required
48
+ * arn: "STRING_VALUE",
49
+ * },
50
+ * ],
51
+ * ruleExecutionMode: "ALL_MATCHED" || "FIRST_MATCHED",
52
+ * };
29
53
  * const command = new UpdateDetectorVersionCommand(input);
30
54
  * const response = await client.send(command);
31
55
  * ```
@@ -27,6 +27,11 @@ export interface UpdateDetectorVersionMetadataCommandOutput extends UpdateDetect
27
27
  * import { FraudDetectorClient, UpdateDetectorVersionMetadataCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
28
28
  * // const { FraudDetectorClient, UpdateDetectorVersionMetadataCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
29
29
  * const client = new FraudDetectorClient(config);
30
+ * const input = { // UpdateDetectorVersionMetadataRequest
31
+ * detectorId: "STRING_VALUE", // required
32
+ * detectorVersionId: "STRING_VALUE", // required
33
+ * description: "STRING_VALUE", // required
34
+ * };
30
35
  * const command = new UpdateDetectorVersionMetadataCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -27,6 +27,11 @@ export interface UpdateDetectorVersionStatusCommandOutput extends UpdateDetector
27
27
  * import { FraudDetectorClient, UpdateDetectorVersionStatusCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
28
28
  * // const { FraudDetectorClient, UpdateDetectorVersionStatusCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
29
29
  * const client = new FraudDetectorClient(config);
30
+ * const input = { // UpdateDetectorVersionStatusRequest
31
+ * detectorId: "STRING_VALUE", // required
32
+ * detectorVersionId: "STRING_VALUE", // required
33
+ * status: "DRAFT" || "ACTIVE" || "INACTIVE", // required
34
+ * };
30
35
  * const command = new UpdateDetectorVersionStatusCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -26,6 +26,12 @@ export interface UpdateEventLabelCommandOutput extends UpdateEventLabelResult, _
26
26
  * import { FraudDetectorClient, UpdateEventLabelCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
27
27
  * // const { FraudDetectorClient, UpdateEventLabelCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
28
28
  * const client = new FraudDetectorClient(config);
29
+ * const input = { // UpdateEventLabelRequest
30
+ * eventId: "STRING_VALUE", // required
31
+ * eventTypeName: "STRING_VALUE", // required
32
+ * assignedLabel: "STRING_VALUE", // required
33
+ * labelTimestamp: "STRING_VALUE", // required
34
+ * };
29
35
  * const command = new UpdateEventLabelCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -28,6 +28,15 @@ export interface UpdateListCommandOutput extends UpdateListResult, __MetadataBea
28
28
  * import { FraudDetectorClient, UpdateListCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
29
29
  * // const { FraudDetectorClient, UpdateListCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
30
30
  * const client = new FraudDetectorClient(config);
31
+ * const input = { // UpdateListRequest
32
+ * name: "STRING_VALUE", // required
33
+ * elements: [ // ElementsList
34
+ * "STRING_VALUE",
35
+ * ],
36
+ * description: "STRING_VALUE",
37
+ * updateMode: "REPLACE" || "APPEND" || "REMOVE",
38
+ * variableType: "STRING_VALUE",
39
+ * };
31
40
  * const command = new UpdateListCommand(input);
32
41
  * const response = await client.send(command);
33
42
  * ```
@@ -26,6 +26,11 @@ export interface UpdateModelCommandOutput extends UpdateModelResult, __MetadataB
26
26
  * import { FraudDetectorClient, UpdateModelCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
27
27
  * // const { FraudDetectorClient, UpdateModelCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
28
28
  * const client = new FraudDetectorClient(config);
29
+ * const input = { // UpdateModelRequest
30
+ * modelId: "STRING_VALUE", // required
31
+ * modelType: "ONLINE_FRAUD_INSIGHTS" || "TRANSACTION_FRAUD_INSIGHTS" || "ACCOUNT_TAKEOVER_INSIGHTS", // required
32
+ * description: "STRING_VALUE",
33
+ * };
29
34
  * const command = new UpdateModelCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -26,6 +26,27 @@ export interface UpdateModelVersionCommandOutput extends UpdateModelVersionResul
26
26
  * import { FraudDetectorClient, UpdateModelVersionCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
27
27
  * // const { FraudDetectorClient, UpdateModelVersionCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
28
28
  * const client = new FraudDetectorClient(config);
29
+ * const input = { // UpdateModelVersionRequest
30
+ * modelId: "STRING_VALUE", // required
31
+ * modelType: "ONLINE_FRAUD_INSIGHTS" || "TRANSACTION_FRAUD_INSIGHTS" || "ACCOUNT_TAKEOVER_INSIGHTS", // required
32
+ * majorVersionNumber: "STRING_VALUE", // required
33
+ * externalEventsDetail: { // ExternalEventsDetail
34
+ * dataLocation: "STRING_VALUE", // required
35
+ * dataAccessRoleArn: "STRING_VALUE", // required
36
+ * },
37
+ * ingestedEventsDetail: { // IngestedEventsDetail
38
+ * ingestedEventsTimeWindow: { // IngestedEventsTimeWindow
39
+ * startTime: "STRING_VALUE", // required
40
+ * endTime: "STRING_VALUE", // required
41
+ * },
42
+ * },
43
+ * tags: [ // tagList
44
+ * { // Tag
45
+ * key: "STRING_VALUE", // required
46
+ * value: "STRING_VALUE", // required
47
+ * },
48
+ * ],
49
+ * };
29
50
  * const command = new UpdateModelVersionCommand(input);
30
51
  * const response = await client.send(command);
31
52
  * ```
@@ -38,6 +38,12 @@ export interface UpdateModelVersionStatusCommandOutput extends UpdateModelVersio
38
38
  * import { FraudDetectorClient, UpdateModelVersionStatusCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
39
39
  * // const { FraudDetectorClient, UpdateModelVersionStatusCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
40
40
  * const client = new FraudDetectorClient(config);
41
+ * const input = { // UpdateModelVersionStatusRequest
42
+ * modelId: "STRING_VALUE", // required
43
+ * modelType: "ONLINE_FRAUD_INSIGHTS" || "TRANSACTION_FRAUD_INSIGHTS" || "ACCOUNT_TAKEOVER_INSIGHTS", // required
44
+ * modelVersionNumber: "STRING_VALUE", // required
45
+ * status: "ACTIVE" || "INACTIVE" || "TRAINING_CANCELLED", // required
46
+ * };
41
47
  * const command = new UpdateModelVersionStatusCommand(input);
42
48
  * const response = await client.send(command);
43
49
  * ```
@@ -26,6 +26,14 @@ export interface UpdateRuleMetadataCommandOutput extends UpdateRuleMetadataResul
26
26
  * import { FraudDetectorClient, UpdateRuleMetadataCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
27
27
  * // const { FraudDetectorClient, UpdateRuleMetadataCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
28
28
  * const client = new FraudDetectorClient(config);
29
+ * const input = { // UpdateRuleMetadataRequest
30
+ * rule: { // Rule
31
+ * detectorId: "STRING_VALUE", // required
32
+ * ruleId: "STRING_VALUE", // required
33
+ * ruleVersion: "STRING_VALUE", // required
34
+ * },
35
+ * description: "STRING_VALUE", // required
36
+ * };
29
37
  * const command = new UpdateRuleMetadataCommand(input);
30
38
  * const response = await client.send(command);
31
39
  * ```
@@ -26,6 +26,25 @@ export interface UpdateRuleVersionCommandOutput extends UpdateRuleVersionResult,
26
26
  * import { FraudDetectorClient, UpdateRuleVersionCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
27
27
  * // const { FraudDetectorClient, UpdateRuleVersionCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
28
28
  * const client = new FraudDetectorClient(config);
29
+ * const input = { // UpdateRuleVersionRequest
30
+ * rule: { // Rule
31
+ * detectorId: "STRING_VALUE", // required
32
+ * ruleId: "STRING_VALUE", // required
33
+ * ruleVersion: "STRING_VALUE", // required
34
+ * },
35
+ * description: "STRING_VALUE",
36
+ * expression: "STRING_VALUE", // required
37
+ * language: "DETECTORPL", // required
38
+ * outcomes: [ // NonEmptyListOfStrings // required
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * tags: [ // tagList
42
+ * { // Tag
43
+ * key: "STRING_VALUE", // required
44
+ * value: "STRING_VALUE", // required
45
+ * },
46
+ * ],
47
+ * };
29
48
  * const command = new UpdateRuleVersionCommand(input);
30
49
  * const response = await client.send(command);
31
50
  * ```
@@ -26,6 +26,12 @@ export interface UpdateVariableCommandOutput extends UpdateVariableResult, __Met
26
26
  * import { FraudDetectorClient, UpdateVariableCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
27
27
  * // const { FraudDetectorClient, UpdateVariableCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
28
28
  * const client = new FraudDetectorClient(config);
29
+ * const input = { // UpdateVariableRequest
30
+ * name: "STRING_VALUE", // required
31
+ * defaultValue: "STRING_VALUE",
32
+ * description: "STRING_VALUE",
33
+ * variableType: "STRING_VALUE",
34
+ * };
29
35
  * const command = new UpdateVariableCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```