@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.
- package/CHANGELOG.md +30 -0
- package/dist-cjs/models/models_0.js +90 -5
- package/dist-cjs/protocols/Aws_json1_1.js +180 -2
- package/dist-es/models/models_0.js +57 -0
- package/dist-es/protocols/Aws_json1_1.js +180 -2
- package/dist-types/models/models_0.d.ts +428 -4
- package/dist-types/ts3.4/models/models_0.d.ts +173 -2
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.135.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.134.0...v3.135.0) (2022-07-21)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-frauddetector:** The release introduces Account Takeover Insights (ATI) model. The ATI model detects fraud relating to account takeover. This release also adds support for new variable types: ARE_CREDENTIALS_VALID and SESSION_ID and adds new structures to Model Version APIs. ([b8837a8](https://github.com/aws/aws-sdk-js-v3/commit/b8837a8fe3ee514eed76a87d54e9165433ea0215))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.131.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.130.0...v3.131.0) (2022-07-15)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-frauddetector
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.130.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.129.0...v3.130.0) (2022-07-14)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* **codegen:** fix error code parsing when it's a number ([#3371](https://github.com/aws/aws-sdk-js-v3/issues/3371)) ([c2d8522](https://github.com/aws/aws-sdk-js-v3/commit/c2d852279a3d23958521a6ceb4f4c642b0cb1848))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
# [3.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @aws-sdk/client-frauddetector
|
|
@@ -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.UpdateVariableResult = exports.UpdateVariableRequest = exports.UpdateRuleVersionResult = exports.UpdateRuleVersionRequest = exports.UpdateRuleMetadataResult = exports.UpdateRuleMetadataRequest = exports.UpdateModelVersionStatusResult = exports.UpdateModelVersionStatusRequest = exports.ModelVersionStatus = exports.UpdateModelVersionResult = void 0;
|
|
3
|
+
exports.Language = exports.CreateModelVersionResult = exports.CreateModelVersionRequest = exports.TrainingDataSourceEnum = exports.TrainingDataSchema = exports.LabelSchema = exports.UnlabeledEventsTreatment = exports.IngestedEventsDetail = exports.IngestedEventsTimeWindow = exports.ExternalEventsDetail = exports.CreateModelResult = exports.CreateModelRequest = exports.CreateDetectorVersionResult = exports.DetectorVersionStatus = exports.CreateDetectorVersionRequest = exports.Rule = exports.RuleExecutionMode = exports.ModelVersion = exports.ModelTypeEnum = exports.CreateBatchPredictionJobResult = exports.CreateBatchPredictionJobRequest = exports.CreateBatchImportJobResult = exports.CreateBatchImportJobRequest = exports.CancelBatchPredictionJobResult = exports.CancelBatchPredictionJobRequest = exports.ResourceNotFoundException = exports.CancelBatchImportJobResult = exports.CancelBatchImportJobRequest = exports.BatchGetVariableResult = exports.Variable = exports.DataType = exports.DataSource = exports.BatchGetVariableError = exports.BatchGetVariableRequest = exports.ValidationException = exports.ThrottlingException = exports.InternalServerException = exports.BatchCreateVariableResult = exports.BatchCreateVariableError = exports.BatchCreateVariableRequest = exports.VariableEntry = exports.Tag = exports.ATITrainingMetricsValue = exports.ATIModelPerformance = exports.ATIMetricDataPoint = exports.AsyncJobStatus = exports.AggregatedVariablesImportanceMetrics = exports.AggregatedVariablesImpactExplanation = exports.AggregatedLogOddsMetric = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.OFITrainingMetricsValue = exports.OFIModelPerformance = exports.OFIMetricDataPoint = exports.TrainingResult = exports.VariableImportanceMetrics = exports.LogOddsMetric = exports.TrainingMetrics = exports.MetricDataPoint = exports.DataValidationMetrics = exports.FileValidationMessage = exports.FieldValidationMessage = exports.DescribeModelVersionsRequest = exports.DescribeDetectorResult = exports.DetectorVersionSummary = exports.DescribeDetectorRequest = exports.DeleteVariableResult = exports.DeleteVariableRequest = exports.DeleteRuleResult = exports.DeleteRuleRequest = exports.DeleteOutcomeResult = exports.DeleteOutcomeRequest = exports.DeleteModelVersionResult = exports.DeleteModelVersionRequest = exports.DeleteModelResult = exports.DeleteModelRequest = exports.DeleteLabelResult = exports.DeleteLabelRequest = exports.DeleteExternalModelResult = exports.DeleteExternalModelRequest = exports.DeleteEventTypeResult = exports.DeleteEventTypeRequest = exports.DeleteEventsByEventTypeResult = exports.DeleteEventsByEventTypeRequest = exports.DeleteEventResult = exports.DeleteEventRequest = exports.DeleteEntityTypeResult = exports.DeleteEntityTypeRequest = exports.DeleteDetectorVersionResult = exports.DeleteDetectorVersionRequest = exports.DeleteDetectorResult = exports.DeleteDetectorRequest = exports.ConflictException = exports.DeleteBatchPredictionJobResult = exports.DeleteBatchPredictionJobRequest = exports.DeleteBatchImportJobResult = exports.DeleteBatchImportJobRequest = exports.CreateVariableResult = exports.CreateVariableRequest = exports.CreateRuleResult = exports.CreateRuleRequest = void 0;
|
|
5
|
+
exports.GetEventTypesResult = exports.EventType = exports.IngestedEventStatistics = exports.EventIngestion = exports.GetEventTypesRequest = exports.GetEventPredictionMetadataResult = exports.EvaluatedRule = exports.EventVariableSummary = exports.EvaluatedModelVersion = exports.ModelVersionEvaluation = exports.PredictionExplanations = exports.VariableImpactExplanation = exports.EvaluatedExternalModel = exports.GetEventPredictionMetadataRequest = exports.ResourceUnavailableException = exports.GetEventPredictionResult = exports.RuleResult = exports.ModelScores = exports.ExternalModelOutputs = exports.ExternalModelSummary = exports.ModelSource = exports.GetEventPredictionRequest = exports.ModelEndpointDataBlob = exports.GetEventResult = exports.Event = exports.Entity = exports.GetEventRequest = exports.GetEntityTypesResult = exports.EntityType = exports.GetEntityTypesRequest = exports.GetDetectorVersionResult = exports.GetDetectorVersionRequest = exports.GetDetectorsResult = exports.Detector = exports.GetDetectorsRequest = exports.GetDeleteEventsByEventTypeStatusResult = exports.GetDeleteEventsByEventTypeStatusRequest = exports.GetBatchPredictionJobsResult = exports.BatchPrediction = exports.GetBatchPredictionJobsRequest = exports.GetBatchImportJobsResult = exports.BatchImport = exports.GetBatchImportJobsRequest = exports.DescribeModelVersionsResult = exports.ModelVersionDetail = exports.TrainingResultV2 = exports.TrainingMetricsV2 = exports.TFITrainingMetricsValue = exports.TFIModelPerformance = exports.TFIMetricDataPoint = void 0;
|
|
6
|
+
exports.TagResourceRequest = exports.SendEventResult = exports.SendEventRequest = exports.PutOutcomeResult = exports.PutOutcomeRequest = exports.PutLabelResult = exports.PutLabelRequest = exports.PutKMSEncryptionKeyResult = exports.PutKMSEncryptionKeyRequest = exports.PutExternalModelResult = exports.PutExternalModelRequest = exports.PutEventTypeResult = exports.PutEventTypeRequest = exports.PutEntityTypeResult = exports.PutEntityTypeRequest = exports.PutDetectorResult = exports.PutDetectorRequest = exports.ListTagsForResourceResult = exports.ListTagsForResourceRequest = exports.ListEventPredictionsResult = exports.EventPredictionSummary = exports.ListEventPredictionsRequest = exports.PredictionTimeRange = exports.FilterCondition = exports.GetVariablesResult = exports.GetVariablesRequest = exports.GetRulesResult = exports.RuleDetail = exports.GetRulesRequest = exports.GetOutcomesResult = exports.Outcome = exports.GetOutcomesRequest = exports.GetModelVersionResult = exports.GetModelVersionRequest = exports.GetModelsResult = exports.Model = exports.GetModelsRequest = exports.GetLabelsResult = exports.Label = exports.GetLabelsRequest = exports.GetKMSEncryptionKeyResult = exports.KMSKey = exports.GetExternalModelsResult = exports.ExternalModel = exports.ModelOutputConfiguration = exports.ModelOutputDataFormat = exports.ModelEndpointStatus = exports.ModelInputConfiguration = exports.ModelInputDataFormat = exports.GetExternalModelsRequest = void 0;
|
|
7
|
+
exports.UpdateVariableResult = exports.UpdateVariableRequest = exports.UpdateRuleVersionResult = exports.UpdateRuleVersionRequest = exports.UpdateRuleMetadataResult = exports.UpdateRuleMetadataRequest = exports.UpdateModelVersionStatusResult = exports.UpdateModelVersionStatusRequest = exports.ModelVersionStatus = exports.UpdateModelVersionResult = exports.UpdateModelVersionRequest = exports.UpdateModelResult = exports.UpdateModelRequest = exports.UpdateEventLabelResult = exports.UpdateEventLabelRequest = exports.UpdateDetectorVersionStatusResult = exports.UpdateDetectorVersionStatusRequest = exports.UpdateDetectorVersionMetadataResult = exports.UpdateDetectorVersionMetadataRequest = exports.UpdateDetectorVersionResult = exports.UpdateDetectorVersionRequest = exports.UntagResourceResult = exports.UntagResourceRequest = exports.TagResourceResult = 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 {
|
|
@@ -20,6 +20,24 @@ class AccessDeniedException extends FraudDetectorServiceException_1.FraudDetecto
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
exports.AccessDeniedException = AccessDeniedException;
|
|
23
|
+
var AggregatedLogOddsMetric;
|
|
24
|
+
(function (AggregatedLogOddsMetric) {
|
|
25
|
+
AggregatedLogOddsMetric.filterSensitiveLog = (obj) => ({
|
|
26
|
+
...obj,
|
|
27
|
+
});
|
|
28
|
+
})(AggregatedLogOddsMetric = exports.AggregatedLogOddsMetric || (exports.AggregatedLogOddsMetric = {}));
|
|
29
|
+
var AggregatedVariablesImpactExplanation;
|
|
30
|
+
(function (AggregatedVariablesImpactExplanation) {
|
|
31
|
+
AggregatedVariablesImpactExplanation.filterSensitiveLog = (obj) => ({
|
|
32
|
+
...obj,
|
|
33
|
+
});
|
|
34
|
+
})(AggregatedVariablesImpactExplanation = exports.AggregatedVariablesImpactExplanation || (exports.AggregatedVariablesImpactExplanation = {}));
|
|
35
|
+
var AggregatedVariablesImportanceMetrics;
|
|
36
|
+
(function (AggregatedVariablesImportanceMetrics) {
|
|
37
|
+
AggregatedVariablesImportanceMetrics.filterSensitiveLog = (obj) => ({
|
|
38
|
+
...obj,
|
|
39
|
+
});
|
|
40
|
+
})(AggregatedVariablesImportanceMetrics = exports.AggregatedVariablesImportanceMetrics || (exports.AggregatedVariablesImportanceMetrics = {}));
|
|
23
41
|
var AsyncJobStatus;
|
|
24
42
|
(function (AsyncJobStatus) {
|
|
25
43
|
AsyncJobStatus["CANCELED"] = "CANCELED";
|
|
@@ -29,6 +47,24 @@ var AsyncJobStatus;
|
|
|
29
47
|
AsyncJobStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
30
48
|
AsyncJobStatus["IN_PROGRESS_INITIALIZING"] = "IN_PROGRESS_INITIALIZING";
|
|
31
49
|
})(AsyncJobStatus = exports.AsyncJobStatus || (exports.AsyncJobStatus = {}));
|
|
50
|
+
var ATIMetricDataPoint;
|
|
51
|
+
(function (ATIMetricDataPoint) {
|
|
52
|
+
ATIMetricDataPoint.filterSensitiveLog = (obj) => ({
|
|
53
|
+
...obj,
|
|
54
|
+
});
|
|
55
|
+
})(ATIMetricDataPoint = exports.ATIMetricDataPoint || (exports.ATIMetricDataPoint = {}));
|
|
56
|
+
var ATIModelPerformance;
|
|
57
|
+
(function (ATIModelPerformance) {
|
|
58
|
+
ATIModelPerformance.filterSensitiveLog = (obj) => ({
|
|
59
|
+
...obj,
|
|
60
|
+
});
|
|
61
|
+
})(ATIModelPerformance = exports.ATIModelPerformance || (exports.ATIModelPerformance = {}));
|
|
62
|
+
var ATITrainingMetricsValue;
|
|
63
|
+
(function (ATITrainingMetricsValue) {
|
|
64
|
+
ATITrainingMetricsValue.filterSensitiveLog = (obj) => ({
|
|
65
|
+
...obj,
|
|
66
|
+
});
|
|
67
|
+
})(ATITrainingMetricsValue = exports.ATITrainingMetricsValue || (exports.ATITrainingMetricsValue = {}));
|
|
32
68
|
var Tag;
|
|
33
69
|
(function (Tag) {
|
|
34
70
|
Tag.filterSensitiveLog = (obj) => ({
|
|
@@ -198,6 +234,7 @@ var CreateBatchPredictionJobResult;
|
|
|
198
234
|
})(CreateBatchPredictionJobResult = exports.CreateBatchPredictionJobResult || (exports.CreateBatchPredictionJobResult = {}));
|
|
199
235
|
var ModelTypeEnum;
|
|
200
236
|
(function (ModelTypeEnum) {
|
|
237
|
+
ModelTypeEnum["ACCOUNT_TAKEOVER_INSIGHTS"] = "ACCOUNT_TAKEOVER_INSIGHTS";
|
|
201
238
|
ModelTypeEnum["ONLINE_FRAUD_INSIGHTS"] = "ONLINE_FRAUD_INSIGHTS";
|
|
202
239
|
ModelTypeEnum["TRANSACTION_FRAUD_INSIGHTS"] = "TRANSACTION_FRAUD_INSIGHTS";
|
|
203
240
|
})(ModelTypeEnum = exports.ModelTypeEnum || (exports.ModelTypeEnum = {}));
|
|
@@ -595,6 +632,54 @@ var TrainingResult;
|
|
|
595
632
|
...obj,
|
|
596
633
|
});
|
|
597
634
|
})(TrainingResult = exports.TrainingResult || (exports.TrainingResult = {}));
|
|
635
|
+
var OFIMetricDataPoint;
|
|
636
|
+
(function (OFIMetricDataPoint) {
|
|
637
|
+
OFIMetricDataPoint.filterSensitiveLog = (obj) => ({
|
|
638
|
+
...obj,
|
|
639
|
+
});
|
|
640
|
+
})(OFIMetricDataPoint = exports.OFIMetricDataPoint || (exports.OFIMetricDataPoint = {}));
|
|
641
|
+
var OFIModelPerformance;
|
|
642
|
+
(function (OFIModelPerformance) {
|
|
643
|
+
OFIModelPerformance.filterSensitiveLog = (obj) => ({
|
|
644
|
+
...obj,
|
|
645
|
+
});
|
|
646
|
+
})(OFIModelPerformance = exports.OFIModelPerformance || (exports.OFIModelPerformance = {}));
|
|
647
|
+
var OFITrainingMetricsValue;
|
|
648
|
+
(function (OFITrainingMetricsValue) {
|
|
649
|
+
OFITrainingMetricsValue.filterSensitiveLog = (obj) => ({
|
|
650
|
+
...obj,
|
|
651
|
+
});
|
|
652
|
+
})(OFITrainingMetricsValue = exports.OFITrainingMetricsValue || (exports.OFITrainingMetricsValue = {}));
|
|
653
|
+
var TFIMetricDataPoint;
|
|
654
|
+
(function (TFIMetricDataPoint) {
|
|
655
|
+
TFIMetricDataPoint.filterSensitiveLog = (obj) => ({
|
|
656
|
+
...obj,
|
|
657
|
+
});
|
|
658
|
+
})(TFIMetricDataPoint = exports.TFIMetricDataPoint || (exports.TFIMetricDataPoint = {}));
|
|
659
|
+
var TFIModelPerformance;
|
|
660
|
+
(function (TFIModelPerformance) {
|
|
661
|
+
TFIModelPerformance.filterSensitiveLog = (obj) => ({
|
|
662
|
+
...obj,
|
|
663
|
+
});
|
|
664
|
+
})(TFIModelPerformance = exports.TFIModelPerformance || (exports.TFIModelPerformance = {}));
|
|
665
|
+
var TFITrainingMetricsValue;
|
|
666
|
+
(function (TFITrainingMetricsValue) {
|
|
667
|
+
TFITrainingMetricsValue.filterSensitiveLog = (obj) => ({
|
|
668
|
+
...obj,
|
|
669
|
+
});
|
|
670
|
+
})(TFITrainingMetricsValue = exports.TFITrainingMetricsValue || (exports.TFITrainingMetricsValue = {}));
|
|
671
|
+
var TrainingMetricsV2;
|
|
672
|
+
(function (TrainingMetricsV2) {
|
|
673
|
+
TrainingMetricsV2.filterSensitiveLog = (obj) => ({
|
|
674
|
+
...obj,
|
|
675
|
+
});
|
|
676
|
+
})(TrainingMetricsV2 = exports.TrainingMetricsV2 || (exports.TrainingMetricsV2 = {}));
|
|
677
|
+
var TrainingResultV2;
|
|
678
|
+
(function (TrainingResultV2) {
|
|
679
|
+
TrainingResultV2.filterSensitiveLog = (obj) => ({
|
|
680
|
+
...obj,
|
|
681
|
+
});
|
|
682
|
+
})(TrainingResultV2 = exports.TrainingResultV2 || (exports.TrainingResultV2 = {}));
|
|
598
683
|
var ModelVersionDetail;
|
|
599
684
|
(function (ModelVersionDetail) {
|
|
600
685
|
ModelVersionDetail.filterSensitiveLog = (obj) => ({
|
|
@@ -4499,7 +4499,7 @@ const serializeAws_json1_1labelMapper = (input, context) => {
|
|
|
4499
4499
|
}
|
|
4500
4500
|
return {
|
|
4501
4501
|
...acc,
|
|
4502
|
-
[key]:
|
|
4502
|
+
[key]: serializeAws_json1_1ListOfStrings(value, context),
|
|
4503
4503
|
};
|
|
4504
4504
|
}, {});
|
|
4505
4505
|
};
|
|
@@ -4876,6 +4876,62 @@ const deserializeAws_json1_1AccessDeniedException = (output, context) => {
|
|
|
4876
4876
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
4877
4877
|
};
|
|
4878
4878
|
};
|
|
4879
|
+
const deserializeAws_json1_1AggregatedLogOddsMetric = (output, context) => {
|
|
4880
|
+
return {
|
|
4881
|
+
aggregatedVariablesImportance: (0, smithy_client_1.limitedParseFloat32)(output.aggregatedVariablesImportance),
|
|
4882
|
+
variableNames: output.variableNames != null ? deserializeAws_json1_1ListOfStrings(output.variableNames, context) : undefined,
|
|
4883
|
+
};
|
|
4884
|
+
};
|
|
4885
|
+
const deserializeAws_json1_1AggregatedVariablesImpactExplanation = (output, context) => {
|
|
4886
|
+
return {
|
|
4887
|
+
eventVariableNames: output.eventVariableNames != null
|
|
4888
|
+
? deserializeAws_json1_1ListOfStrings(output.eventVariableNames, context)
|
|
4889
|
+
: undefined,
|
|
4890
|
+
logOddsImpact: (0, smithy_client_1.limitedParseFloat32)(output.logOddsImpact),
|
|
4891
|
+
relativeImpact: (0, smithy_client_1.expectString)(output.relativeImpact),
|
|
4892
|
+
};
|
|
4893
|
+
};
|
|
4894
|
+
const deserializeAws_json1_1AggregatedVariablesImportanceMetrics = (output, context) => {
|
|
4895
|
+
return {
|
|
4896
|
+
logOddsMetrics: output.logOddsMetrics != null
|
|
4897
|
+
? deserializeAws_json1_1ListOfAggregatedLogOddsMetrics(output.logOddsMetrics, context)
|
|
4898
|
+
: undefined,
|
|
4899
|
+
};
|
|
4900
|
+
};
|
|
4901
|
+
const deserializeAws_json1_1ATIMetricDataPoint = (output, context) => {
|
|
4902
|
+
return {
|
|
4903
|
+
adr: (0, smithy_client_1.limitedParseFloat32)(output.adr),
|
|
4904
|
+
atodr: (0, smithy_client_1.limitedParseFloat32)(output.atodr),
|
|
4905
|
+
cr: (0, smithy_client_1.limitedParseFloat32)(output.cr),
|
|
4906
|
+
threshold: (0, smithy_client_1.limitedParseFloat32)(output.threshold),
|
|
4907
|
+
};
|
|
4908
|
+
};
|
|
4909
|
+
const deserializeAws_json1_1ATIMetricDataPointsList = (output, context) => {
|
|
4910
|
+
const retVal = (output || [])
|
|
4911
|
+
.filter((e) => e != null)
|
|
4912
|
+
.map((entry) => {
|
|
4913
|
+
if (entry === null) {
|
|
4914
|
+
return null;
|
|
4915
|
+
}
|
|
4916
|
+
return deserializeAws_json1_1ATIMetricDataPoint(entry, context);
|
|
4917
|
+
});
|
|
4918
|
+
return retVal;
|
|
4919
|
+
};
|
|
4920
|
+
const deserializeAws_json1_1ATIModelPerformance = (output, context) => {
|
|
4921
|
+
return {
|
|
4922
|
+
asi: (0, smithy_client_1.limitedParseFloat32)(output.asi),
|
|
4923
|
+
};
|
|
4924
|
+
};
|
|
4925
|
+
const deserializeAws_json1_1ATITrainingMetricsValue = (output, context) => {
|
|
4926
|
+
return {
|
|
4927
|
+
metricDataPoints: output.metricDataPoints != null
|
|
4928
|
+
? deserializeAws_json1_1ATIMetricDataPointsList(output.metricDataPoints, context)
|
|
4929
|
+
: undefined,
|
|
4930
|
+
modelPerformance: output.modelPerformance != null
|
|
4931
|
+
? deserializeAws_json1_1ATIModelPerformance(output.modelPerformance, context)
|
|
4932
|
+
: undefined,
|
|
4933
|
+
};
|
|
4934
|
+
};
|
|
4879
4935
|
const deserializeAws_json1_1BatchCreateVariableError = (output, context) => {
|
|
4880
4936
|
return {
|
|
4881
4937
|
code: (0, smithy_client_1.expectInt32)(output.code),
|
|
@@ -5610,7 +5666,7 @@ const deserializeAws_json1_1labelMapper = (output, context) => {
|
|
|
5610
5666
|
}
|
|
5611
5667
|
return {
|
|
5612
5668
|
...acc,
|
|
5613
|
-
[key]:
|
|
5669
|
+
[key]: deserializeAws_json1_1ListOfStrings(value, context),
|
|
5614
5670
|
};
|
|
5615
5671
|
}, {});
|
|
5616
5672
|
};
|
|
@@ -5628,6 +5684,28 @@ const deserializeAws_json1_1ListEventPredictionsResult = (output, context) => {
|
|
|
5628
5684
|
nextToken: (0, smithy_client_1.expectString)(output.nextToken),
|
|
5629
5685
|
};
|
|
5630
5686
|
};
|
|
5687
|
+
const deserializeAws_json1_1ListOfAggregatedLogOddsMetrics = (output, context) => {
|
|
5688
|
+
const retVal = (output || [])
|
|
5689
|
+
.filter((e) => e != null)
|
|
5690
|
+
.map((entry) => {
|
|
5691
|
+
if (entry === null) {
|
|
5692
|
+
return null;
|
|
5693
|
+
}
|
|
5694
|
+
return deserializeAws_json1_1AggregatedLogOddsMetric(entry, context);
|
|
5695
|
+
});
|
|
5696
|
+
return retVal;
|
|
5697
|
+
};
|
|
5698
|
+
const deserializeAws_json1_1ListOfAggregatedVariablesImpactExplanations = (output, context) => {
|
|
5699
|
+
const retVal = (output || [])
|
|
5700
|
+
.filter((e) => e != null)
|
|
5701
|
+
.map((entry) => {
|
|
5702
|
+
if (entry === null) {
|
|
5703
|
+
return null;
|
|
5704
|
+
}
|
|
5705
|
+
return deserializeAws_json1_1AggregatedVariablesImpactExplanation(entry, context);
|
|
5706
|
+
});
|
|
5707
|
+
return retVal;
|
|
5708
|
+
};
|
|
5631
5709
|
const deserializeAws_json1_1listOfEntities = (output, context) => {
|
|
5632
5710
|
const retVal = (output || [])
|
|
5633
5711
|
.filter((e) => e != null)
|
|
@@ -5901,6 +5979,9 @@ const deserializeAws_json1_1ModelVersionDetail = (output, context) => {
|
|
|
5901
5979
|
: undefined,
|
|
5902
5980
|
trainingDataSource: (0, smithy_client_1.expectString)(output.trainingDataSource),
|
|
5903
5981
|
trainingResult: output.trainingResult != null ? deserializeAws_json1_1TrainingResult(output.trainingResult, context) : undefined,
|
|
5982
|
+
trainingResultV2: output.trainingResultV2 != null
|
|
5983
|
+
? deserializeAws_json1_1TrainingResultV2(output.trainingResultV2, context)
|
|
5984
|
+
: undefined,
|
|
5904
5985
|
};
|
|
5905
5986
|
};
|
|
5906
5987
|
const deserializeAws_json1_1modelVersionDetailList = (output, context) => {
|
|
@@ -5934,6 +6015,40 @@ const deserializeAws_json1_1NonEmptyListOfStrings = (output, context) => {
|
|
|
5934
6015
|
});
|
|
5935
6016
|
return retVal;
|
|
5936
6017
|
};
|
|
6018
|
+
const deserializeAws_json1_1OFIMetricDataPoint = (output, context) => {
|
|
6019
|
+
return {
|
|
6020
|
+
fpr: (0, smithy_client_1.limitedParseFloat32)(output.fpr),
|
|
6021
|
+
precision: (0, smithy_client_1.limitedParseFloat32)(output.precision),
|
|
6022
|
+
threshold: (0, smithy_client_1.limitedParseFloat32)(output.threshold),
|
|
6023
|
+
tpr: (0, smithy_client_1.limitedParseFloat32)(output.tpr),
|
|
6024
|
+
};
|
|
6025
|
+
};
|
|
6026
|
+
const deserializeAws_json1_1OFIMetricDataPointsList = (output, context) => {
|
|
6027
|
+
const retVal = (output || [])
|
|
6028
|
+
.filter((e) => e != null)
|
|
6029
|
+
.map((entry) => {
|
|
6030
|
+
if (entry === null) {
|
|
6031
|
+
return null;
|
|
6032
|
+
}
|
|
6033
|
+
return deserializeAws_json1_1OFIMetricDataPoint(entry, context);
|
|
6034
|
+
});
|
|
6035
|
+
return retVal;
|
|
6036
|
+
};
|
|
6037
|
+
const deserializeAws_json1_1OFIModelPerformance = (output, context) => {
|
|
6038
|
+
return {
|
|
6039
|
+
auc: (0, smithy_client_1.limitedParseFloat32)(output.auc),
|
|
6040
|
+
};
|
|
6041
|
+
};
|
|
6042
|
+
const deserializeAws_json1_1OFITrainingMetricsValue = (output, context) => {
|
|
6043
|
+
return {
|
|
6044
|
+
metricDataPoints: output.metricDataPoints != null
|
|
6045
|
+
? deserializeAws_json1_1OFIMetricDataPointsList(output.metricDataPoints, context)
|
|
6046
|
+
: undefined,
|
|
6047
|
+
modelPerformance: output.modelPerformance != null
|
|
6048
|
+
? deserializeAws_json1_1OFIModelPerformance(output.modelPerformance, context)
|
|
6049
|
+
: undefined,
|
|
6050
|
+
};
|
|
6051
|
+
};
|
|
5937
6052
|
const deserializeAws_json1_1Outcome = (output, context) => {
|
|
5938
6053
|
return {
|
|
5939
6054
|
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
@@ -5956,6 +6071,9 @@ const deserializeAws_json1_1OutcomeList = (output, context) => {
|
|
|
5956
6071
|
};
|
|
5957
6072
|
const deserializeAws_json1_1PredictionExplanations = (output, context) => {
|
|
5958
6073
|
return {
|
|
6074
|
+
aggregatedVariablesImpactExplanations: output.aggregatedVariablesImpactExplanations != null
|
|
6075
|
+
? deserializeAws_json1_1ListOfAggregatedVariablesImpactExplanations(output.aggregatedVariablesImpactExplanations, context)
|
|
6076
|
+
: undefined,
|
|
5959
6077
|
variableImpactExplanations: output.variableImpactExplanations != null
|
|
5960
6078
|
? deserializeAws_json1_1listOfVariableImpactExplanations(output.variableImpactExplanations, context)
|
|
5961
6079
|
: undefined,
|
|
@@ -6064,6 +6182,40 @@ const deserializeAws_json1_1tagList = (output, context) => {
|
|
|
6064
6182
|
const deserializeAws_json1_1TagResourceResult = (output, context) => {
|
|
6065
6183
|
return {};
|
|
6066
6184
|
};
|
|
6185
|
+
const deserializeAws_json1_1TFIMetricDataPoint = (output, context) => {
|
|
6186
|
+
return {
|
|
6187
|
+
fpr: (0, smithy_client_1.limitedParseFloat32)(output.fpr),
|
|
6188
|
+
precision: (0, smithy_client_1.limitedParseFloat32)(output.precision),
|
|
6189
|
+
threshold: (0, smithy_client_1.limitedParseFloat32)(output.threshold),
|
|
6190
|
+
tpr: (0, smithy_client_1.limitedParseFloat32)(output.tpr),
|
|
6191
|
+
};
|
|
6192
|
+
};
|
|
6193
|
+
const deserializeAws_json1_1TFIMetricDataPointsList = (output, context) => {
|
|
6194
|
+
const retVal = (output || [])
|
|
6195
|
+
.filter((e) => e != null)
|
|
6196
|
+
.map((entry) => {
|
|
6197
|
+
if (entry === null) {
|
|
6198
|
+
return null;
|
|
6199
|
+
}
|
|
6200
|
+
return deserializeAws_json1_1TFIMetricDataPoint(entry, context);
|
|
6201
|
+
});
|
|
6202
|
+
return retVal;
|
|
6203
|
+
};
|
|
6204
|
+
const deserializeAws_json1_1TFIModelPerformance = (output, context) => {
|
|
6205
|
+
return {
|
|
6206
|
+
auc: (0, smithy_client_1.limitedParseFloat32)(output.auc),
|
|
6207
|
+
};
|
|
6208
|
+
};
|
|
6209
|
+
const deserializeAws_json1_1TFITrainingMetricsValue = (output, context) => {
|
|
6210
|
+
return {
|
|
6211
|
+
metricDataPoints: output.metricDataPoints != null
|
|
6212
|
+
? deserializeAws_json1_1TFIMetricDataPointsList(output.metricDataPoints, context)
|
|
6213
|
+
: undefined,
|
|
6214
|
+
modelPerformance: output.modelPerformance != null
|
|
6215
|
+
? deserializeAws_json1_1TFIModelPerformance(output.modelPerformance, context)
|
|
6216
|
+
: undefined,
|
|
6217
|
+
};
|
|
6218
|
+
};
|
|
6067
6219
|
const deserializeAws_json1_1ThrottlingException = (output, context) => {
|
|
6068
6220
|
return {
|
|
6069
6221
|
message: (0, smithy_client_1.expectString)(output.message),
|
|
@@ -6083,6 +6235,13 @@ const deserializeAws_json1_1TrainingMetrics = (output, context) => {
|
|
|
6083
6235
|
: undefined,
|
|
6084
6236
|
};
|
|
6085
6237
|
};
|
|
6238
|
+
const deserializeAws_json1_1TrainingMetricsV2 = (output, context) => {
|
|
6239
|
+
return {
|
|
6240
|
+
ati: output.ati != null ? deserializeAws_json1_1ATITrainingMetricsValue(output.ati, context) : undefined,
|
|
6241
|
+
ofi: output.ofi != null ? deserializeAws_json1_1OFITrainingMetricsValue(output.ofi, context) : undefined,
|
|
6242
|
+
tfi: output.tfi != null ? deserializeAws_json1_1TFITrainingMetricsValue(output.tfi, context) : undefined,
|
|
6243
|
+
};
|
|
6244
|
+
};
|
|
6086
6245
|
const deserializeAws_json1_1TrainingResult = (output, context) => {
|
|
6087
6246
|
return {
|
|
6088
6247
|
dataValidationMetrics: output.dataValidationMetrics != null
|
|
@@ -6096,6 +6255,22 @@ const deserializeAws_json1_1TrainingResult = (output, context) => {
|
|
|
6096
6255
|
: undefined,
|
|
6097
6256
|
};
|
|
6098
6257
|
};
|
|
6258
|
+
const deserializeAws_json1_1TrainingResultV2 = (output, context) => {
|
|
6259
|
+
return {
|
|
6260
|
+
aggregatedVariablesImportanceMetrics: output.aggregatedVariablesImportanceMetrics != null
|
|
6261
|
+
? deserializeAws_json1_1AggregatedVariablesImportanceMetrics(output.aggregatedVariablesImportanceMetrics, context)
|
|
6262
|
+
: undefined,
|
|
6263
|
+
dataValidationMetrics: output.dataValidationMetrics != null
|
|
6264
|
+
? deserializeAws_json1_1DataValidationMetrics(output.dataValidationMetrics, context)
|
|
6265
|
+
: undefined,
|
|
6266
|
+
trainingMetricsV2: output.trainingMetricsV2 != null
|
|
6267
|
+
? deserializeAws_json1_1TrainingMetricsV2(output.trainingMetricsV2, context)
|
|
6268
|
+
: undefined,
|
|
6269
|
+
variableImportanceMetrics: output.variableImportanceMetrics != null
|
|
6270
|
+
? deserializeAws_json1_1VariableImportanceMetrics(output.variableImportanceMetrics, context)
|
|
6271
|
+
: undefined,
|
|
6272
|
+
};
|
|
6273
|
+
};
|
|
6099
6274
|
const deserializeAws_json1_1UntagResourceResult = (output, context) => {
|
|
6100
6275
|
return {};
|
|
6101
6276
|
};
|
|
@@ -6223,6 +6398,9 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
6223
6398
|
const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
|
|
6224
6399
|
const sanitizeErrorCode = (rawValue) => {
|
|
6225
6400
|
let cleanValue = rawValue;
|
|
6401
|
+
if (typeof cleanValue === "number") {
|
|
6402
|
+
cleanValue = cleanValue.toString();
|
|
6403
|
+
}
|
|
6226
6404
|
if (cleanValue.indexOf(":") >= 0) {
|
|
6227
6405
|
cleanValue = cleanValue.split(":")[0];
|
|
6228
6406
|
}
|
|
@@ -13,6 +13,18 @@ var AccessDeniedException = (function (_super) {
|
|
|
13
13
|
return AccessDeniedException;
|
|
14
14
|
}(__BaseException));
|
|
15
15
|
export { AccessDeniedException };
|
|
16
|
+
export var AggregatedLogOddsMetric;
|
|
17
|
+
(function (AggregatedLogOddsMetric) {
|
|
18
|
+
AggregatedLogOddsMetric.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
19
|
+
})(AggregatedLogOddsMetric || (AggregatedLogOddsMetric = {}));
|
|
20
|
+
export var AggregatedVariablesImpactExplanation;
|
|
21
|
+
(function (AggregatedVariablesImpactExplanation) {
|
|
22
|
+
AggregatedVariablesImpactExplanation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
23
|
+
})(AggregatedVariablesImpactExplanation || (AggregatedVariablesImpactExplanation = {}));
|
|
24
|
+
export var AggregatedVariablesImportanceMetrics;
|
|
25
|
+
(function (AggregatedVariablesImportanceMetrics) {
|
|
26
|
+
AggregatedVariablesImportanceMetrics.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
27
|
+
})(AggregatedVariablesImportanceMetrics || (AggregatedVariablesImportanceMetrics = {}));
|
|
16
28
|
export var AsyncJobStatus;
|
|
17
29
|
(function (AsyncJobStatus) {
|
|
18
30
|
AsyncJobStatus["CANCELED"] = "CANCELED";
|
|
@@ -22,6 +34,18 @@ export var AsyncJobStatus;
|
|
|
22
34
|
AsyncJobStatus["IN_PROGRESS"] = "IN_PROGRESS";
|
|
23
35
|
AsyncJobStatus["IN_PROGRESS_INITIALIZING"] = "IN_PROGRESS_INITIALIZING";
|
|
24
36
|
})(AsyncJobStatus || (AsyncJobStatus = {}));
|
|
37
|
+
export var ATIMetricDataPoint;
|
|
38
|
+
(function (ATIMetricDataPoint) {
|
|
39
|
+
ATIMetricDataPoint.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
40
|
+
})(ATIMetricDataPoint || (ATIMetricDataPoint = {}));
|
|
41
|
+
export var ATIModelPerformance;
|
|
42
|
+
(function (ATIModelPerformance) {
|
|
43
|
+
ATIModelPerformance.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
44
|
+
})(ATIModelPerformance || (ATIModelPerformance = {}));
|
|
45
|
+
export var ATITrainingMetricsValue;
|
|
46
|
+
(function (ATITrainingMetricsValue) {
|
|
47
|
+
ATITrainingMetricsValue.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
48
|
+
})(ATITrainingMetricsValue || (ATITrainingMetricsValue = {}));
|
|
25
49
|
export var Tag;
|
|
26
50
|
(function (Tag) {
|
|
27
51
|
Tag.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -153,6 +177,7 @@ export var CreateBatchPredictionJobResult;
|
|
|
153
177
|
})(CreateBatchPredictionJobResult || (CreateBatchPredictionJobResult = {}));
|
|
154
178
|
export var ModelTypeEnum;
|
|
155
179
|
(function (ModelTypeEnum) {
|
|
180
|
+
ModelTypeEnum["ACCOUNT_TAKEOVER_INSIGHTS"] = "ACCOUNT_TAKEOVER_INSIGHTS";
|
|
156
181
|
ModelTypeEnum["ONLINE_FRAUD_INSIGHTS"] = "ONLINE_FRAUD_INSIGHTS";
|
|
157
182
|
ModelTypeEnum["TRANSACTION_FRAUD_INSIGHTS"] = "TRANSACTION_FRAUD_INSIGHTS";
|
|
158
183
|
})(ModelTypeEnum || (ModelTypeEnum = {}));
|
|
@@ -430,6 +455,38 @@ export var TrainingResult;
|
|
|
430
455
|
(function (TrainingResult) {
|
|
431
456
|
TrainingResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
432
457
|
})(TrainingResult || (TrainingResult = {}));
|
|
458
|
+
export var OFIMetricDataPoint;
|
|
459
|
+
(function (OFIMetricDataPoint) {
|
|
460
|
+
OFIMetricDataPoint.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
461
|
+
})(OFIMetricDataPoint || (OFIMetricDataPoint = {}));
|
|
462
|
+
export var OFIModelPerformance;
|
|
463
|
+
(function (OFIModelPerformance) {
|
|
464
|
+
OFIModelPerformance.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
465
|
+
})(OFIModelPerformance || (OFIModelPerformance = {}));
|
|
466
|
+
export var OFITrainingMetricsValue;
|
|
467
|
+
(function (OFITrainingMetricsValue) {
|
|
468
|
+
OFITrainingMetricsValue.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
469
|
+
})(OFITrainingMetricsValue || (OFITrainingMetricsValue = {}));
|
|
470
|
+
export var TFIMetricDataPoint;
|
|
471
|
+
(function (TFIMetricDataPoint) {
|
|
472
|
+
TFIMetricDataPoint.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
473
|
+
})(TFIMetricDataPoint || (TFIMetricDataPoint = {}));
|
|
474
|
+
export var TFIModelPerformance;
|
|
475
|
+
(function (TFIModelPerformance) {
|
|
476
|
+
TFIModelPerformance.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
477
|
+
})(TFIModelPerformance || (TFIModelPerformance = {}));
|
|
478
|
+
export var TFITrainingMetricsValue;
|
|
479
|
+
(function (TFITrainingMetricsValue) {
|
|
480
|
+
TFITrainingMetricsValue.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
481
|
+
})(TFITrainingMetricsValue || (TFITrainingMetricsValue = {}));
|
|
482
|
+
export var TrainingMetricsV2;
|
|
483
|
+
(function (TrainingMetricsV2) {
|
|
484
|
+
TrainingMetricsV2.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
485
|
+
})(TrainingMetricsV2 || (TrainingMetricsV2 = {}));
|
|
486
|
+
export var TrainingResultV2;
|
|
487
|
+
(function (TrainingResultV2) {
|
|
488
|
+
TrainingResultV2.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
489
|
+
})(TrainingResultV2 || (TrainingResultV2 = {}));
|
|
433
490
|
export var ModelVersionDetail;
|
|
434
491
|
(function (ModelVersionDetail) {
|
|
435
492
|
ModelVersionDetail.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|