@aws-sdk/client-frauddetector 3.128.0 → 3.135.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.
@@ -7,6 +7,39 @@ export declare class AccessDeniedException extends __BaseException {
7
7
 
8
8
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
9
  }
10
+
11
+ export interface AggregatedLogOddsMetric {
12
+
13
+ variableNames: string[] | undefined;
14
+
15
+ aggregatedVariablesImportance: number | undefined;
16
+ }
17
+ export declare namespace AggregatedLogOddsMetric {
18
+
19
+ const filterSensitiveLog: (obj: AggregatedLogOddsMetric) => any;
20
+ }
21
+
22
+ export interface AggregatedVariablesImpactExplanation {
23
+
24
+ eventVariableNames?: string[];
25
+
26
+ relativeImpact?: string;
27
+
28
+ logOddsImpact?: number;
29
+ }
30
+ export declare namespace AggregatedVariablesImpactExplanation {
31
+
32
+ const filterSensitiveLog: (obj: AggregatedVariablesImpactExplanation) => any;
33
+ }
34
+
35
+ export interface AggregatedVariablesImportanceMetrics {
36
+
37
+ logOddsMetrics?: AggregatedLogOddsMetric[];
38
+ }
39
+ export declare namespace AggregatedVariablesImportanceMetrics {
40
+
41
+ const filterSensitiveLog: (obj: AggregatedVariablesImportanceMetrics) => any;
42
+ }
10
43
  export declare enum AsyncJobStatus {
11
44
  CANCELED = "CANCELED",
12
45
  CANCEL_IN_PROGRESS = "CANCEL_IN_PROGRESS",
@@ -16,6 +49,41 @@ export declare enum AsyncJobStatus {
16
49
  IN_PROGRESS_INITIALIZING = "IN_PROGRESS_INITIALIZING"
17
50
  }
18
51
 
52
+ export interface ATIMetricDataPoint {
53
+
54
+ cr?: number;
55
+
56
+ adr?: number;
57
+
58
+ threshold?: number;
59
+
60
+ atodr?: number;
61
+ }
62
+ export declare namespace ATIMetricDataPoint {
63
+
64
+ const filterSensitiveLog: (obj: ATIMetricDataPoint) => any;
65
+ }
66
+
67
+ export interface ATIModelPerformance {
68
+
69
+ asi?: number;
70
+ }
71
+ export declare namespace ATIModelPerformance {
72
+
73
+ const filterSensitiveLog: (obj: ATIModelPerformance) => any;
74
+ }
75
+
76
+ export interface ATITrainingMetricsValue {
77
+
78
+ metricDataPoints?: ATIMetricDataPoint[];
79
+
80
+ modelPerformance?: ATIModelPerformance;
81
+ }
82
+ export declare namespace ATITrainingMetricsValue {
83
+
84
+ const filterSensitiveLog: (obj: ATITrainingMetricsValue) => any;
85
+ }
86
+
19
87
  export interface Tag {
20
88
 
21
89
  key: string | undefined;
@@ -252,6 +320,7 @@ export declare namespace CreateBatchPredictionJobResult {
252
320
  const filterSensitiveLog: (obj: CreateBatchPredictionJobResult) => any;
253
321
  }
254
322
  export declare enum ModelTypeEnum {
323
+ ACCOUNT_TAKEOVER_INSIGHTS = "ACCOUNT_TAKEOVER_INSIGHTS",
255
324
  ONLINE_FRAUD_INSIGHTS = "ONLINE_FRAUD_INSIGHTS",
256
325
  TRANSACTION_FRAUD_INSIGHTS = "TRANSACTION_FRAUD_INSIGHTS"
257
326
  }
@@ -385,7 +454,7 @@ export declare enum UnlabeledEventsTreatment {
385
454
 
386
455
  export interface LabelSchema {
387
456
 
388
- labelMapper: Record<string, string[]> | undefined;
457
+ labelMapper?: Record<string, string[]>;
389
458
 
390
459
  unlabeledEventsTreatment?: UnlabeledEventsTreatment | string;
391
460
  }
@@ -398,7 +467,7 @@ export interface TrainingDataSchema {
398
467
 
399
468
  modelVariables: string[] | undefined;
400
469
 
401
- labelSchema: LabelSchema | undefined;
470
+ labelSchema?: LabelSchema;
402
471
  }
403
472
  export declare namespace TrainingDataSchema {
404
473
 
@@ -892,6 +961,104 @@ export declare namespace TrainingResult {
892
961
  const filterSensitiveLog: (obj: TrainingResult) => any;
893
962
  }
894
963
 
964
+ export interface OFIMetricDataPoint {
965
+
966
+ fpr?: number;
967
+
968
+ precision?: number;
969
+
970
+ tpr?: number;
971
+
972
+ threshold?: number;
973
+ }
974
+ export declare namespace OFIMetricDataPoint {
975
+
976
+ const filterSensitiveLog: (obj: OFIMetricDataPoint) => any;
977
+ }
978
+
979
+ export interface OFIModelPerformance {
980
+
981
+ auc?: number;
982
+ }
983
+ export declare namespace OFIModelPerformance {
984
+
985
+ const filterSensitiveLog: (obj: OFIModelPerformance) => any;
986
+ }
987
+
988
+ export interface OFITrainingMetricsValue {
989
+
990
+ metricDataPoints?: OFIMetricDataPoint[];
991
+
992
+ modelPerformance?: OFIModelPerformance;
993
+ }
994
+ export declare namespace OFITrainingMetricsValue {
995
+
996
+ const filterSensitiveLog: (obj: OFITrainingMetricsValue) => any;
997
+ }
998
+
999
+ export interface TFIMetricDataPoint {
1000
+
1001
+ fpr?: number;
1002
+
1003
+ precision?: number;
1004
+
1005
+ tpr?: number;
1006
+
1007
+ threshold?: number;
1008
+ }
1009
+ export declare namespace TFIMetricDataPoint {
1010
+
1011
+ const filterSensitiveLog: (obj: TFIMetricDataPoint) => any;
1012
+ }
1013
+
1014
+ export interface TFIModelPerformance {
1015
+
1016
+ auc?: number;
1017
+ }
1018
+ export declare namespace TFIModelPerformance {
1019
+
1020
+ const filterSensitiveLog: (obj: TFIModelPerformance) => any;
1021
+ }
1022
+
1023
+ export interface TFITrainingMetricsValue {
1024
+
1025
+ metricDataPoints?: TFIMetricDataPoint[];
1026
+
1027
+ modelPerformance?: TFIModelPerformance;
1028
+ }
1029
+ export declare namespace TFITrainingMetricsValue {
1030
+
1031
+ const filterSensitiveLog: (obj: TFITrainingMetricsValue) => any;
1032
+ }
1033
+
1034
+ export interface TrainingMetricsV2 {
1035
+
1036
+ ofi?: OFITrainingMetricsValue;
1037
+
1038
+ tfi?: TFITrainingMetricsValue;
1039
+
1040
+ ati?: ATITrainingMetricsValue;
1041
+ }
1042
+ export declare namespace TrainingMetricsV2 {
1043
+
1044
+ const filterSensitiveLog: (obj: TrainingMetricsV2) => any;
1045
+ }
1046
+
1047
+ export interface TrainingResultV2 {
1048
+
1049
+ dataValidationMetrics?: DataValidationMetrics;
1050
+
1051
+ trainingMetricsV2?: TrainingMetricsV2;
1052
+
1053
+ variableImportanceMetrics?: VariableImportanceMetrics;
1054
+
1055
+ aggregatedVariablesImportanceMetrics?: AggregatedVariablesImportanceMetrics;
1056
+ }
1057
+ export declare namespace TrainingResultV2 {
1058
+
1059
+ const filterSensitiveLog: (obj: TrainingResultV2) => any;
1060
+ }
1061
+
895
1062
  export interface ModelVersionDetail {
896
1063
 
897
1064
  modelId?: string;
@@ -917,6 +1084,8 @@ export interface ModelVersionDetail {
917
1084
  createdTime?: string;
918
1085
 
919
1086
  arn?: string;
1087
+
1088
+ trainingResultV2?: TrainingResultV2;
920
1089
  }
921
1090
  export declare namespace ModelVersionDetail {
922
1091
 
@@ -1379,6 +1548,8 @@ export declare namespace VariableImpactExplanation {
1379
1548
  export interface PredictionExplanations {
1380
1549
 
1381
1550
  variableImpactExplanations?: VariableImpactExplanation[];
1551
+
1552
+ aggregatedVariablesImpactExplanations?: AggregatedVariablesImpactExplanation[];
1382
1553
  }
1383
1554
  export declare namespace PredictionExplanations {
1384
1555
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-frauddetector",
3
3
  "description": "AWS SDK for JavaScript Frauddetector Client for Node.js, Browser and React Native",
4
- "version": "3.128.0",
4
+ "version": "3.135.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,10 +18,10 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.128.0",
22
- "@aws-sdk/config-resolver": "3.128.0",
23
- "@aws-sdk/credential-provider-node": "3.128.0",
24
- "@aws-sdk/fetch-http-handler": "3.127.0",
21
+ "@aws-sdk/client-sts": "3.131.0",
22
+ "@aws-sdk/config-resolver": "3.130.0",
23
+ "@aws-sdk/credential-provider-node": "3.131.0",
24
+ "@aws-sdk/fetch-http-handler": "3.131.0",
25
25
  "@aws-sdk/hash-node": "3.127.0",
26
26
  "@aws-sdk/invalid-dependency": "3.127.0",
27
27
  "@aws-sdk/middleware-content-length": "3.127.0",
@@ -30,7 +30,7 @@
30
30
  "@aws-sdk/middleware-recursion-detection": "3.127.0",
31
31
  "@aws-sdk/middleware-retry": "3.127.0",
32
32
  "@aws-sdk/middleware-serde": "3.127.0",
33
- "@aws-sdk/middleware-signing": "3.128.0",
33
+ "@aws-sdk/middleware-signing": "3.130.0",
34
34
  "@aws-sdk/middleware-stack": "3.127.0",
35
35
  "@aws-sdk/middleware-user-agent": "3.127.0",
36
36
  "@aws-sdk/node-config-provider": "3.127.0",
@@ -44,7 +44,7 @@
44
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
46
  "@aws-sdk/util-defaults-mode-browser": "3.127.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.128.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.130.0",
48
48
  "@aws-sdk/util-user-agent-browser": "3.127.0",
49
49
  "@aws-sdk/util-user-agent-node": "3.127.0",
50
50
  "@aws-sdk/util-utf8-browser": "3.109.0",