@aws-sdk/client-frauddetector 3.262.0 → 3.266.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/README.md +0 -1
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +8 -3
- package/dist-cjs/protocols/Aws_json1_1.js +12 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_json1_1.js +12 -0
- package/dist-types/FraudDetector.d.ts +21 -25
- package/dist-types/FraudDetectorClient.d.ts +2 -3
- package/dist-types/commands/DeleteDetectorCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDetectorVersionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEntityTypeCommand.d.ts +2 -2
- package/dist-types/commands/DeleteEventCommand.d.ts +1 -1
- package/dist-types/commands/DeleteEventTypeCommand.d.ts +2 -2
- package/dist-types/commands/DeleteExternalModelCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLabelCommand.d.ts +1 -2
- package/dist-types/commands/DeleteModelCommand.d.ts +2 -2
- package/dist-types/commands/DeleteModelVersionCommand.d.ts +2 -2
- package/dist-types/commands/DeleteOutcomeCommand.d.ts +2 -2
- package/dist-types/commands/DeleteRuleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVariableCommand.d.ts +3 -3
- package/dist-types/commands/ListEventPredictionsCommand.d.ts +0 -2
- package/dist-types/models/models_0.d.ts +65 -22
- package/dist-types/ts3.4/models/models_0.d.ts +10 -0
- package/package.json +29 -29
package/README.md
CHANGED
|
@@ -12,7 +12,6 @@ AWS SDK for JavaScript FraudDetector Client for Node.js, Browser and React Nativ
|
|
|
12
12
|
<p>This is the Amazon Fraud Detector API Reference. This guide is for developers who need
|
|
13
13
|
detailed information about Amazon Fraud Detector API actions, data types, and errors. For
|
|
14
14
|
more information about Amazon Fraud Detector features, see the <a href="https://docs.aws.amazon.com/frauddetector/latest/ug/">Amazon Fraud Detector User Guide</a>.</p>
|
|
15
|
-
|
|
16
15
|
<p>We provide the Query API as well as AWS software development kits (SDK) for Amazon Fraud Detector in Java and Python programming languages.</p>
|
|
17
16
|
<p>The Amazon Fraud Detector Query API provides HTTPS requests that use the HTTP verb GET or POST and a Query parameter <code>Action</code>. AWS SDK provides libraries,
|
|
18
17
|
sample code, tutorials, and other resources for software developers who prefer to build applications using language-specific APIs instead of submitting a request over
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [
|
|
4
|
+
const q = "fn", r = "argv", s = "ref";
|
|
5
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://frauddetector-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://frauddetector-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://frauddetector.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ endpoint: { url: "https://frauddetector.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CreateModelRequestFilterSensitiveLog = exports.CreateDetectorVersionResultFilterSensitiveLog = exports.CreateDetectorVersionRequestFilterSensitiveLog = exports.RuleFilterSensitiveLog = exports.ModelVersionFilterSensitiveLog = exports.CreateBatchPredictionJobResultFilterSensitiveLog = exports.CreateBatchPredictionJobRequestFilterSensitiveLog = exports.CreateBatchImportJobResultFilterSensitiveLog = exports.CreateBatchImportJobRequestFilterSensitiveLog = exports.CancelBatchPredictionJobResultFilterSensitiveLog = exports.CancelBatchPredictionJobRequestFilterSensitiveLog = exports.CancelBatchImportJobResultFilterSensitiveLog = exports.CancelBatchImportJobRequestFilterSensitiveLog = exports.BatchGetVariableResultFilterSensitiveLog = exports.VariableFilterSensitiveLog = exports.BatchGetVariableErrorFilterSensitiveLog = exports.BatchGetVariableRequestFilterSensitiveLog = exports.BatchCreateVariableResultFilterSensitiveLog = exports.BatchCreateVariableErrorFilterSensitiveLog = exports.BatchCreateVariableRequestFilterSensitiveLog = exports.VariableEntryFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.ATITrainingMetricsValueFilterSensitiveLog = exports.ATIModelPerformanceFilterSensitiveLog = exports.ATIMetricDataPointFilterSensitiveLog = exports.AggregatedVariablesImportanceMetricsFilterSensitiveLog = exports.AggregatedVariablesImpactExplanationFilterSensitiveLog = exports.AggregatedLogOddsMetricFilterSensitiveLog = exports.ModelVersionStatus = exports.ModelOutputDataFormat = exports.ModelEndpointStatus = exports.ModelInputDataFormat = exports.EventIngestion = exports.ResourceUnavailableException = exports.ModelSource = exports.ConflictException = exports.Language = exports.TrainingDataSourceEnum = exports.UnlabeledEventsTreatment = exports.DetectorVersionStatus = exports.RuleExecutionMode = exports.ModelTypeEnum = exports.ResourceNotFoundException = exports.DataType = exports.DataSource = exports.ValidationException = exports.ThrottlingException = exports.InternalServerException = exports.AsyncJobStatus = exports.AccessDeniedException = void 0;
|
|
4
4
|
exports.MetricDataPointFilterSensitiveLog = exports.DataValidationMetricsFilterSensitiveLog = exports.FileValidationMessageFilterSensitiveLog = exports.FieldValidationMessageFilterSensitiveLog = exports.DescribeModelVersionsRequestFilterSensitiveLog = exports.DescribeDetectorResultFilterSensitiveLog = exports.DetectorVersionSummaryFilterSensitiveLog = exports.DescribeDetectorRequestFilterSensitiveLog = exports.DeleteVariableResultFilterSensitiveLog = exports.DeleteVariableRequestFilterSensitiveLog = exports.DeleteRuleResultFilterSensitiveLog = exports.DeleteRuleRequestFilterSensitiveLog = exports.DeleteOutcomeResultFilterSensitiveLog = exports.DeleteOutcomeRequestFilterSensitiveLog = exports.DeleteModelVersionResultFilterSensitiveLog = exports.DeleteModelVersionRequestFilterSensitiveLog = exports.DeleteModelResultFilterSensitiveLog = exports.DeleteModelRequestFilterSensitiveLog = exports.DeleteLabelResultFilterSensitiveLog = exports.DeleteLabelRequestFilterSensitiveLog = exports.DeleteExternalModelResultFilterSensitiveLog = exports.DeleteExternalModelRequestFilterSensitiveLog = exports.DeleteEventTypeResultFilterSensitiveLog = exports.DeleteEventTypeRequestFilterSensitiveLog = exports.DeleteEventsByEventTypeResultFilterSensitiveLog = exports.DeleteEventsByEventTypeRequestFilterSensitiveLog = exports.DeleteEventResultFilterSensitiveLog = exports.DeleteEventRequestFilterSensitiveLog = exports.DeleteEntityTypeResultFilterSensitiveLog = exports.DeleteEntityTypeRequestFilterSensitiveLog = exports.DeleteDetectorVersionResultFilterSensitiveLog = exports.DeleteDetectorVersionRequestFilterSensitiveLog = exports.DeleteDetectorResultFilterSensitiveLog = exports.DeleteDetectorRequestFilterSensitiveLog = exports.DeleteBatchPredictionJobResultFilterSensitiveLog = exports.DeleteBatchPredictionJobRequestFilterSensitiveLog = exports.DeleteBatchImportJobResultFilterSensitiveLog = exports.DeleteBatchImportJobRequestFilterSensitiveLog = exports.CreateVariableResultFilterSensitiveLog = exports.CreateVariableRequestFilterSensitiveLog = exports.CreateRuleResultFilterSensitiveLog = exports.CreateRuleRequestFilterSensitiveLog = exports.CreateModelVersionResultFilterSensitiveLog = exports.CreateModelVersionRequestFilterSensitiveLog = exports.TrainingDataSchemaFilterSensitiveLog = exports.LabelSchemaFilterSensitiveLog = exports.IngestedEventsDetailFilterSensitiveLog = exports.IngestedEventsTimeWindowFilterSensitiveLog = exports.ExternalEventsDetailFilterSensitiveLog = exports.CreateModelResultFilterSensitiveLog = void 0;
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.UpdateVariableResultFilterSensitiveLog = exports.UpdateVariableRequestFilterSensitiveLog = exports.UpdateRuleVersionResultFilterSensitiveLog = exports.UpdateRuleVersionRequestFilterSensitiveLog = exports.UpdateRuleMetadataResultFilterSensitiveLog = exports.UpdateRuleMetadataRequestFilterSensitiveLog = exports.UpdateModelVersionStatusResultFilterSensitiveLog = exports.UpdateModelVersionStatusRequestFilterSensitiveLog = exports.UpdateModelVersionResultFilterSensitiveLog = exports.UpdateModelVersionRequestFilterSensitiveLog = exports.UpdateModelResultFilterSensitiveLog = exports.UpdateModelRequestFilterSensitiveLog = exports.UpdateEventLabelResultFilterSensitiveLog = exports.UpdateEventLabelRequestFilterSensitiveLog = exports.UpdateDetectorVersionStatusResultFilterSensitiveLog = exports.UpdateDetectorVersionStatusRequestFilterSensitiveLog = exports.UpdateDetectorVersionMetadataResultFilterSensitiveLog = exports.UpdateDetectorVersionMetadataRequestFilterSensitiveLog = exports.UpdateDetectorVersionResultFilterSensitiveLog = exports.UpdateDetectorVersionRequestFilterSensitiveLog = exports.UntagResourceResultFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResultFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = void 0;
|
|
5
|
+
exports.EvaluatedRuleFilterSensitiveLog = exports.EventVariableSummaryFilterSensitiveLog = exports.EvaluatedModelVersionFilterSensitiveLog = exports.ModelVersionEvaluationFilterSensitiveLog = exports.PredictionExplanationsFilterSensitiveLog = exports.VariableImpactExplanationFilterSensitiveLog = exports.EvaluatedExternalModelFilterSensitiveLog = exports.GetEventPredictionMetadataRequestFilterSensitiveLog = exports.GetEventPredictionResultFilterSensitiveLog = exports.RuleResultFilterSensitiveLog = exports.ModelScoresFilterSensitiveLog = exports.ExternalModelOutputsFilterSensitiveLog = exports.ExternalModelSummaryFilterSensitiveLog = exports.GetEventPredictionRequestFilterSensitiveLog = exports.ModelEndpointDataBlobFilterSensitiveLog = exports.GetEventResultFilterSensitiveLog = exports.EventFilterSensitiveLog = exports.EntityFilterSensitiveLog = exports.GetEventRequestFilterSensitiveLog = exports.GetEntityTypesResultFilterSensitiveLog = exports.EntityTypeFilterSensitiveLog = exports.GetEntityTypesRequestFilterSensitiveLog = exports.GetDetectorVersionResultFilterSensitiveLog = exports.GetDetectorVersionRequestFilterSensitiveLog = exports.GetDetectorsResultFilterSensitiveLog = exports.DetectorFilterSensitiveLog = exports.GetDetectorsRequestFilterSensitiveLog = exports.GetDeleteEventsByEventTypeStatusResultFilterSensitiveLog = exports.GetDeleteEventsByEventTypeStatusRequestFilterSensitiveLog = exports.GetBatchPredictionJobsResultFilterSensitiveLog = exports.BatchPredictionFilterSensitiveLog = exports.GetBatchPredictionJobsRequestFilterSensitiveLog = exports.GetBatchImportJobsResultFilterSensitiveLog = exports.BatchImportFilterSensitiveLog = exports.GetBatchImportJobsRequestFilterSensitiveLog = exports.DescribeModelVersionsResultFilterSensitiveLog = exports.ModelVersionDetailFilterSensitiveLog = exports.TrainingResultV2FilterSensitiveLog = exports.TrainingMetricsV2FilterSensitiveLog = exports.TFITrainingMetricsValueFilterSensitiveLog = exports.TFIModelPerformanceFilterSensitiveLog = exports.TFIMetricDataPointFilterSensitiveLog = exports.OFITrainingMetricsValueFilterSensitiveLog = exports.OFIModelPerformanceFilterSensitiveLog = exports.UncertaintyRangeFilterSensitiveLog = exports.OFIMetricDataPointFilterSensitiveLog = exports.TrainingResultFilterSensitiveLog = exports.VariableImportanceMetricsFilterSensitiveLog = exports.LogOddsMetricFilterSensitiveLog = exports.TrainingMetricsFilterSensitiveLog = void 0;
|
|
6
|
+
exports.SendEventRequestFilterSensitiveLog = exports.PutOutcomeResultFilterSensitiveLog = exports.PutOutcomeRequestFilterSensitiveLog = exports.PutLabelResultFilterSensitiveLog = exports.PutLabelRequestFilterSensitiveLog = exports.PutKMSEncryptionKeyResultFilterSensitiveLog = exports.PutKMSEncryptionKeyRequestFilterSensitiveLog = exports.PutExternalModelResultFilterSensitiveLog = exports.PutExternalModelRequestFilterSensitiveLog = exports.PutEventTypeResultFilterSensitiveLog = exports.PutEventTypeRequestFilterSensitiveLog = exports.PutEntityTypeResultFilterSensitiveLog = exports.PutEntityTypeRequestFilterSensitiveLog = exports.PutDetectorResultFilterSensitiveLog = exports.PutDetectorRequestFilterSensitiveLog = exports.ListTagsForResourceResultFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListEventPredictionsResultFilterSensitiveLog = exports.EventPredictionSummaryFilterSensitiveLog = exports.ListEventPredictionsRequestFilterSensitiveLog = exports.PredictionTimeRangeFilterSensitiveLog = exports.FilterConditionFilterSensitiveLog = exports.GetVariablesResultFilterSensitiveLog = exports.GetVariablesRequestFilterSensitiveLog = exports.GetRulesResultFilterSensitiveLog = exports.RuleDetailFilterSensitiveLog = exports.GetRulesRequestFilterSensitiveLog = exports.GetOutcomesResultFilterSensitiveLog = exports.OutcomeFilterSensitiveLog = exports.GetOutcomesRequestFilterSensitiveLog = exports.GetModelVersionResultFilterSensitiveLog = exports.GetModelVersionRequestFilterSensitiveLog = exports.GetModelsResultFilterSensitiveLog = exports.ModelFilterSensitiveLog = exports.GetModelsRequestFilterSensitiveLog = exports.GetLabelsResultFilterSensitiveLog = exports.LabelFilterSensitiveLog = exports.GetLabelsRequestFilterSensitiveLog = exports.GetKMSEncryptionKeyResultFilterSensitiveLog = exports.KMSKeyFilterSensitiveLog = exports.GetExternalModelsResultFilterSensitiveLog = exports.ExternalModelFilterSensitiveLog = exports.ModelOutputConfigurationFilterSensitiveLog = exports.ModelInputConfigurationFilterSensitiveLog = exports.GetExternalModelsRequestFilterSensitiveLog = exports.GetEventTypesResultFilterSensitiveLog = exports.EventTypeFilterSensitiveLog = exports.IngestedEventStatisticsFilterSensitiveLog = exports.GetEventTypesRequestFilterSensitiveLog = exports.GetEventPredictionMetadataResultFilterSensitiveLog = void 0;
|
|
7
|
+
exports.UpdateVariableResultFilterSensitiveLog = exports.UpdateVariableRequestFilterSensitiveLog = exports.UpdateRuleVersionResultFilterSensitiveLog = exports.UpdateRuleVersionRequestFilterSensitiveLog = exports.UpdateRuleMetadataResultFilterSensitiveLog = exports.UpdateRuleMetadataRequestFilterSensitiveLog = exports.UpdateModelVersionStatusResultFilterSensitiveLog = exports.UpdateModelVersionStatusRequestFilterSensitiveLog = exports.UpdateModelVersionResultFilterSensitiveLog = exports.UpdateModelVersionRequestFilterSensitiveLog = exports.UpdateModelResultFilterSensitiveLog = exports.UpdateModelRequestFilterSensitiveLog = exports.UpdateEventLabelResultFilterSensitiveLog = exports.UpdateEventLabelRequestFilterSensitiveLog = exports.UpdateDetectorVersionStatusResultFilterSensitiveLog = exports.UpdateDetectorVersionStatusRequestFilterSensitiveLog = exports.UpdateDetectorVersionMetadataResultFilterSensitiveLog = exports.UpdateDetectorVersionMetadataRequestFilterSensitiveLog = exports.UpdateDetectorVersionResultFilterSensitiveLog = exports.UpdateDetectorVersionRequestFilterSensitiveLog = exports.UntagResourceResultFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResultFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.SendEventResultFilterSensitiveLog = void 0;
|
|
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 {
|
|
@@ -113,6 +113,7 @@ var DetectorVersionStatus;
|
|
|
113
113
|
})(DetectorVersionStatus = exports.DetectorVersionStatus || (exports.DetectorVersionStatus = {}));
|
|
114
114
|
var UnlabeledEventsTreatment;
|
|
115
115
|
(function (UnlabeledEventsTreatment) {
|
|
116
|
+
UnlabeledEventsTreatment["AUTO"] = "AUTO";
|
|
116
117
|
UnlabeledEventsTreatment["FRAUD"] = "FRAUD";
|
|
117
118
|
UnlabeledEventsTreatment["IGNORE"] = "IGNORE";
|
|
118
119
|
UnlabeledEventsTreatment["LEGIT"] = "LEGIT";
|
|
@@ -515,6 +516,10 @@ const OFIMetricDataPointFilterSensitiveLog = (obj) => ({
|
|
|
515
516
|
...obj,
|
|
516
517
|
});
|
|
517
518
|
exports.OFIMetricDataPointFilterSensitiveLog = OFIMetricDataPointFilterSensitiveLog;
|
|
519
|
+
const UncertaintyRangeFilterSensitiveLog = (obj) => ({
|
|
520
|
+
...obj,
|
|
521
|
+
});
|
|
522
|
+
exports.UncertaintyRangeFilterSensitiveLog = UncertaintyRangeFilterSensitiveLog;
|
|
518
523
|
const OFIModelPerformanceFilterSensitiveLog = (obj) => ({
|
|
519
524
|
...obj,
|
|
520
525
|
});
|
|
@@ -5782,6 +5782,9 @@ const deserializeAws_json1_1OFIMetricDataPointsList = (output, context) => {
|
|
|
5782
5782
|
const deserializeAws_json1_1OFIModelPerformance = (output, context) => {
|
|
5783
5783
|
return {
|
|
5784
5784
|
auc: (0, smithy_client_1.limitedParseFloat32)(output.auc),
|
|
5785
|
+
uncertaintyRange: output.uncertaintyRange != null
|
|
5786
|
+
? deserializeAws_json1_1UncertaintyRange(output.uncertaintyRange, context)
|
|
5787
|
+
: undefined,
|
|
5785
5788
|
};
|
|
5786
5789
|
};
|
|
5787
5790
|
const deserializeAws_json1_1OFITrainingMetricsValue = (output, context) => {
|
|
@@ -5949,6 +5952,9 @@ const deserializeAws_json1_1TFIMetricDataPointsList = (output, context) => {
|
|
|
5949
5952
|
const deserializeAws_json1_1TFIModelPerformance = (output, context) => {
|
|
5950
5953
|
return {
|
|
5951
5954
|
auc: (0, smithy_client_1.limitedParseFloat32)(output.auc),
|
|
5955
|
+
uncertaintyRange: output.uncertaintyRange != null
|
|
5956
|
+
? deserializeAws_json1_1UncertaintyRange(output.uncertaintyRange, context)
|
|
5957
|
+
: undefined,
|
|
5952
5958
|
};
|
|
5953
5959
|
};
|
|
5954
5960
|
const deserializeAws_json1_1TFITrainingMetricsValue = (output, context) => {
|
|
@@ -6016,6 +6022,12 @@ const deserializeAws_json1_1TrainingResultV2 = (output, context) => {
|
|
|
6016
6022
|
: undefined,
|
|
6017
6023
|
};
|
|
6018
6024
|
};
|
|
6025
|
+
const deserializeAws_json1_1UncertaintyRange = (output, context) => {
|
|
6026
|
+
return {
|
|
6027
|
+
lowerBoundValue: (0, smithy_client_1.limitedParseFloat32)(output.lowerBoundValue),
|
|
6028
|
+
upperBoundValue: (0, smithy_client_1.limitedParseFloat32)(output.upperBoundValue),
|
|
6029
|
+
};
|
|
6030
|
+
};
|
|
6019
6031
|
const deserializeAws_json1_1UntagResourceResult = (output, context) => {
|
|
6020
6032
|
return {};
|
|
6021
6033
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [
|
|
1
|
+
const q = "fn", r = "argv", s = "ref";
|
|
2
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://frauddetector-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://frauddetector-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ type: e, rules: [{ endpoint: { url: "https://frauddetector.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ endpoint: { url: "https://frauddetector.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -101,6 +101,7 @@ export var DetectorVersionStatus;
|
|
|
101
101
|
})(DetectorVersionStatus || (DetectorVersionStatus = {}));
|
|
102
102
|
export var UnlabeledEventsTreatment;
|
|
103
103
|
(function (UnlabeledEventsTreatment) {
|
|
104
|
+
UnlabeledEventsTreatment["AUTO"] = "AUTO";
|
|
104
105
|
UnlabeledEventsTreatment["FRAUD"] = "FRAUD";
|
|
105
106
|
UnlabeledEventsTreatment["IGNORE"] = "IGNORE";
|
|
106
107
|
UnlabeledEventsTreatment["LEGIT"] = "LEGIT";
|
|
@@ -418,6 +419,9 @@ export const TrainingResultFilterSensitiveLog = (obj) => ({
|
|
|
418
419
|
export const OFIMetricDataPointFilterSensitiveLog = (obj) => ({
|
|
419
420
|
...obj,
|
|
420
421
|
});
|
|
422
|
+
export const UncertaintyRangeFilterSensitiveLog = (obj) => ({
|
|
423
|
+
...obj,
|
|
424
|
+
});
|
|
421
425
|
export const OFIModelPerformanceFilterSensitiveLog = (obj) => ({
|
|
422
426
|
...obj,
|
|
423
427
|
});
|
|
@@ -5641,6 +5641,9 @@ const deserializeAws_json1_1OFIMetricDataPointsList = (output, context) => {
|
|
|
5641
5641
|
const deserializeAws_json1_1OFIModelPerformance = (output, context) => {
|
|
5642
5642
|
return {
|
|
5643
5643
|
auc: __limitedParseFloat32(output.auc),
|
|
5644
|
+
uncertaintyRange: output.uncertaintyRange != null
|
|
5645
|
+
? deserializeAws_json1_1UncertaintyRange(output.uncertaintyRange, context)
|
|
5646
|
+
: undefined,
|
|
5644
5647
|
};
|
|
5645
5648
|
};
|
|
5646
5649
|
const deserializeAws_json1_1OFITrainingMetricsValue = (output, context) => {
|
|
@@ -5808,6 +5811,9 @@ const deserializeAws_json1_1TFIMetricDataPointsList = (output, context) => {
|
|
|
5808
5811
|
const deserializeAws_json1_1TFIModelPerformance = (output, context) => {
|
|
5809
5812
|
return {
|
|
5810
5813
|
auc: __limitedParseFloat32(output.auc),
|
|
5814
|
+
uncertaintyRange: output.uncertaintyRange != null
|
|
5815
|
+
? deserializeAws_json1_1UncertaintyRange(output.uncertaintyRange, context)
|
|
5816
|
+
: undefined,
|
|
5811
5817
|
};
|
|
5812
5818
|
};
|
|
5813
5819
|
const deserializeAws_json1_1TFITrainingMetricsValue = (output, context) => {
|
|
@@ -5875,6 +5881,12 @@ const deserializeAws_json1_1TrainingResultV2 = (output, context) => {
|
|
|
5875
5881
|
: undefined,
|
|
5876
5882
|
};
|
|
5877
5883
|
};
|
|
5884
|
+
const deserializeAws_json1_1UncertaintyRange = (output, context) => {
|
|
5885
|
+
return {
|
|
5886
|
+
lowerBoundValue: __limitedParseFloat32(output.lowerBoundValue),
|
|
5887
|
+
upperBoundValue: __limitedParseFloat32(output.upperBoundValue),
|
|
5888
|
+
};
|
|
5889
|
+
};
|
|
5878
5890
|
const deserializeAws_json1_1UntagResourceResult = (output, context) => {
|
|
5879
5891
|
return {};
|
|
5880
5892
|
};
|
|
@@ -72,9 +72,8 @@ import { FraudDetectorClient } from "./FraudDetectorClient";
|
|
|
72
72
|
* <p>This is the Amazon Fraud Detector API Reference. This guide is for developers who need
|
|
73
73
|
* detailed information about Amazon Fraud Detector API actions, data types, and errors. For
|
|
74
74
|
* more information about Amazon Fraud Detector features, see the <a href="https://docs.aws.amazon.com/frauddetector/latest/ug/">Amazon Fraud Detector User Guide</a>.</p>
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
* <p>The Amazon Fraud Detector Query API provides HTTPS requests that use the HTTP verb GET or POST and a Query parameter <code>Action</code>. AWS SDK provides libraries,
|
|
75
|
+
* <p>We provide the Query API as well as AWS software development kits (SDK) for Amazon Fraud Detector in Java and Python programming languages.</p>
|
|
76
|
+
* <p>The Amazon Fraud Detector Query API provides HTTPS requests that use the HTTP verb GET or POST and a Query parameter <code>Action</code>. AWS SDK provides libraries,
|
|
78
77
|
* sample code, tutorials, and other resources for software developers who prefer to build applications using language-specific APIs instead of submitting a request over
|
|
79
78
|
* HTTP or HTTPS. These libraries provide basic functions that automatically take care of tasks such as cryptographically signing your requests, retrying requests, and
|
|
80
79
|
* handling error responses, so that it is easier for you to get started. For more information about the AWS SDKs, see <a href="https://docs.aws.amazon.com/https:/aws.amazon.com/tools/">Tools to build on AWS</a>.
|
|
@@ -162,29 +161,29 @@ export declare class FraudDetector extends FraudDetectorClient {
|
|
|
162
161
|
deleteBatchPredictionJob(args: DeleteBatchPredictionJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBatchPredictionJobCommandOutput) => void): void;
|
|
163
162
|
/**
|
|
164
163
|
* <p>Deletes the detector. Before deleting a detector, you must first delete all detector versions and rule versions associated with the detector.</p>
|
|
165
|
-
*
|
|
164
|
+
* <p>When you delete a detector, Amazon Fraud Detector permanently deletes the detector and the data is no longer stored in Amazon Fraud Detector.</p>
|
|
166
165
|
*/
|
|
167
166
|
deleteDetector(args: DeleteDetectorCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDetectorCommandOutput>;
|
|
168
167
|
deleteDetector(args: DeleteDetectorCommandInput, cb: (err: any, data?: DeleteDetectorCommandOutput) => void): void;
|
|
169
168
|
deleteDetector(args: DeleteDetectorCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDetectorCommandOutput) => void): void;
|
|
170
169
|
/**
|
|
171
170
|
* <p>Deletes the detector version. You cannot delete detector versions that are in <code>ACTIVE</code> status.</p>
|
|
172
|
-
*
|
|
171
|
+
* <p>When you delete a detector version, Amazon Fraud Detector permanently deletes the detector and the data is no longer stored in Amazon Fraud Detector.</p>
|
|
173
172
|
*/
|
|
174
173
|
deleteDetectorVersion(args: DeleteDetectorVersionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDetectorVersionCommandOutput>;
|
|
175
174
|
deleteDetectorVersion(args: DeleteDetectorVersionCommandInput, cb: (err: any, data?: DeleteDetectorVersionCommandOutput) => void): void;
|
|
176
175
|
deleteDetectorVersion(args: DeleteDetectorVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDetectorVersionCommandOutput) => void): void;
|
|
177
176
|
/**
|
|
178
177
|
* <p>Deletes an entity type.</p>
|
|
179
|
-
*
|
|
180
|
-
*
|
|
178
|
+
* <p>You cannot delete an entity type that is included in an event type.</p>
|
|
179
|
+
* <p>When you delete an entity type, Amazon Fraud Detector permanently deletes that entity type and the data is no longer stored in Amazon Fraud Detector.</p>
|
|
181
180
|
*/
|
|
182
181
|
deleteEntityType(args: DeleteEntityTypeCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEntityTypeCommandOutput>;
|
|
183
182
|
deleteEntityType(args: DeleteEntityTypeCommandInput, cb: (err: any, data?: DeleteEntityTypeCommandOutput) => void): void;
|
|
184
183
|
deleteEntityType(args: DeleteEntityTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEntityTypeCommandOutput) => void): void;
|
|
185
184
|
/**
|
|
186
185
|
* <p>Deletes the specified event.</p>
|
|
187
|
-
*
|
|
186
|
+
* <p>When you delete an event, Amazon Fraud Detector permanently deletes that event and the event data is no longer stored in Amazon Fraud Detector.</p>
|
|
188
187
|
*/
|
|
189
188
|
deleteEvent(args: DeleteEventCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEventCommandOutput>;
|
|
190
189
|
deleteEvent(args: DeleteEventCommandInput, cb: (err: any, data?: DeleteEventCommandOutput) => void): void;
|
|
@@ -197,24 +196,23 @@ export declare class FraudDetector extends FraudDetectorClient {
|
|
|
197
196
|
deleteEventsByEventType(args: DeleteEventsByEventTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEventsByEventTypeCommandOutput) => void): void;
|
|
198
197
|
/**
|
|
199
198
|
* <p>Deletes an event type.</p>
|
|
200
|
-
*
|
|
201
|
-
*
|
|
199
|
+
* <p>You cannot delete an event type that is used in a detector or a model.</p>
|
|
200
|
+
* <p>When you delete an event type, Amazon Fraud Detector permanently deletes that event type and the data is no longer stored in Amazon Fraud Detector.</p>
|
|
202
201
|
*/
|
|
203
202
|
deleteEventType(args: DeleteEventTypeCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEventTypeCommandOutput>;
|
|
204
203
|
deleteEventType(args: DeleteEventTypeCommandInput, cb: (err: any, data?: DeleteEventTypeCommandOutput) => void): void;
|
|
205
204
|
deleteEventType(args: DeleteEventTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEventTypeCommandOutput) => void): void;
|
|
206
205
|
/**
|
|
207
206
|
* <p>Removes a SageMaker model from Amazon Fraud Detector.</p>
|
|
208
|
-
*
|
|
207
|
+
* <p>You can remove an Amazon SageMaker model if it is not associated with a detector version. Removing a SageMaker model disconnects it from Amazon Fraud Detector, but the model remains available in SageMaker.</p>
|
|
209
208
|
*/
|
|
210
209
|
deleteExternalModel(args: DeleteExternalModelCommandInput, options?: __HttpHandlerOptions): Promise<DeleteExternalModelCommandOutput>;
|
|
211
210
|
deleteExternalModel(args: DeleteExternalModelCommandInput, cb: (err: any, data?: DeleteExternalModelCommandOutput) => void): void;
|
|
212
211
|
deleteExternalModel(args: DeleteExternalModelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteExternalModelCommandOutput) => void): void;
|
|
213
212
|
/**
|
|
214
213
|
* <p>Deletes a label.</p>
|
|
215
|
-
*
|
|
214
|
+
* <p>You cannot delete labels that are included in an event type in Amazon Fraud Detector.</p>
|
|
216
215
|
* <p>You cannot delete a label assigned to an event ID. You must first delete the relevant event ID.</p>
|
|
217
|
-
*
|
|
218
216
|
* <p>When you delete a label, Amazon Fraud Detector permanently deletes that label and the data is no longer stored in Amazon Fraud Detector.</p>
|
|
219
217
|
*/
|
|
220
218
|
deleteLabel(args: DeleteLabelCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLabelCommandOutput>;
|
|
@@ -222,40 +220,40 @@ export declare class FraudDetector extends FraudDetectorClient {
|
|
|
222
220
|
deleteLabel(args: DeleteLabelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLabelCommandOutput) => void): void;
|
|
223
221
|
/**
|
|
224
222
|
* <p>Deletes a model.</p>
|
|
225
|
-
*
|
|
226
|
-
*
|
|
223
|
+
* <p>You can delete models and model versions in Amazon Fraud Detector, provided that they are not associated with a detector version.</p>
|
|
224
|
+
* <p> When you delete a model, Amazon Fraud Detector permanently deletes that model and the data is no longer stored in Amazon Fraud Detector.</p>
|
|
227
225
|
*/
|
|
228
226
|
deleteModel(args: DeleteModelCommandInput, options?: __HttpHandlerOptions): Promise<DeleteModelCommandOutput>;
|
|
229
227
|
deleteModel(args: DeleteModelCommandInput, cb: (err: any, data?: DeleteModelCommandOutput) => void): void;
|
|
230
228
|
deleteModel(args: DeleteModelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteModelCommandOutput) => void): void;
|
|
231
229
|
/**
|
|
232
230
|
* <p>Deletes a model version.</p>
|
|
233
|
-
*
|
|
234
|
-
*
|
|
231
|
+
* <p>You can delete models and model versions in Amazon Fraud Detector, provided that they are not associated with a detector version.</p>
|
|
232
|
+
* <p> When you delete a model version, Amazon Fraud Detector permanently deletes that model version and the data is no longer stored in Amazon Fraud Detector.</p>
|
|
235
233
|
*/
|
|
236
234
|
deleteModelVersion(args: DeleteModelVersionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteModelVersionCommandOutput>;
|
|
237
235
|
deleteModelVersion(args: DeleteModelVersionCommandInput, cb: (err: any, data?: DeleteModelVersionCommandOutput) => void): void;
|
|
238
236
|
deleteModelVersion(args: DeleteModelVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteModelVersionCommandOutput) => void): void;
|
|
239
237
|
/**
|
|
240
238
|
* <p>Deletes an outcome.</p>
|
|
241
|
-
*
|
|
242
|
-
*
|
|
239
|
+
* <p>You cannot delete an outcome that is used in a rule version.</p>
|
|
240
|
+
* <p>When you delete an outcome, Amazon Fraud Detector permanently deletes that outcome and the data is no longer stored in Amazon Fraud Detector.</p>
|
|
243
241
|
*/
|
|
244
242
|
deleteOutcome(args: DeleteOutcomeCommandInput, options?: __HttpHandlerOptions): Promise<DeleteOutcomeCommandOutput>;
|
|
245
243
|
deleteOutcome(args: DeleteOutcomeCommandInput, cb: (err: any, data?: DeleteOutcomeCommandOutput) => void): void;
|
|
246
244
|
deleteOutcome(args: DeleteOutcomeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteOutcomeCommandOutput) => void): void;
|
|
247
245
|
/**
|
|
248
246
|
* <p>Deletes the rule. You cannot delete a rule if it is used by an <code>ACTIVE</code> or <code>INACTIVE</code> detector version.</p>
|
|
249
|
-
*
|
|
247
|
+
* <p>When you delete a rule, Amazon Fraud Detector permanently deletes that rule and the data is no longer stored in Amazon Fraud Detector.</p>
|
|
250
248
|
*/
|
|
251
249
|
deleteRule(args: DeleteRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRuleCommandOutput>;
|
|
252
250
|
deleteRule(args: DeleteRuleCommandInput, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void;
|
|
253
251
|
deleteRule(args: DeleteRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRuleCommandOutput) => void): void;
|
|
254
252
|
/**
|
|
255
253
|
* <p>Deletes a variable.</p>
|
|
256
|
-
*
|
|
257
|
-
*
|
|
258
|
-
*
|
|
254
|
+
* <p>You can't delete variables that are included in an event type in Amazon Fraud Detector.</p>
|
|
255
|
+
* <p>Amazon Fraud Detector automatically deletes model output variables and SageMaker model output variables when you delete the model. You can't delete these variables manually.</p>
|
|
256
|
+
* <p>When you delete a variable, Amazon Fraud Detector permanently deletes that variable and the data is no longer stored in Amazon Fraud Detector.</p>
|
|
259
257
|
*/
|
|
260
258
|
deleteVariable(args: DeleteVariableCommandInput, options?: __HttpHandlerOptions): Promise<DeleteVariableCommandOutput>;
|
|
261
259
|
deleteVariable(args: DeleteVariableCommandInput, cb: (err: any, data?: DeleteVariableCommandOutput) => void): void;
|
|
@@ -430,14 +428,12 @@ export declare class FraudDetector extends FraudDetectorClient {
|
|
|
430
428
|
/**
|
|
431
429
|
* <p>Gets a list of past predictions. The list can be filtered by detector ID, detector version ID, event ID, event type, or by specifying a time period.
|
|
432
430
|
* If filter is not specified, the most recent prediction is returned.</p>
|
|
433
|
-
*
|
|
434
431
|
* <p>For example, the following filter lists all past predictions for <code>xyz</code> event type -
|
|
435
432
|
* <code>{
|
|
436
433
|
* "eventType":{
|
|
437
434
|
* "value": "xyz" }”
|
|
438
435
|
* } </code>
|
|
439
436
|
* </p>
|
|
440
|
-
*
|
|
441
437
|
* <p>This is a paginated API. If you provide a null <code>maxResults</code>, this action will retrieve a maximum of 10 records per page.
|
|
442
438
|
* If you provide a <code>maxResults</code>, the value must be between 50 and 100. To get the next page results, provide
|
|
443
439
|
* the <code>nextToken</code> from the response as part of your request. A null <code>nextToken</code> fetches the records from the beginning.
|
|
@@ -194,9 +194,8 @@ export interface FraudDetectorClientResolvedConfig extends FraudDetectorClientRe
|
|
|
194
194
|
* <p>This is the Amazon Fraud Detector API Reference. This guide is for developers who need
|
|
195
195
|
* detailed information about Amazon Fraud Detector API actions, data types, and errors. For
|
|
196
196
|
* more information about Amazon Fraud Detector features, see the <a href="https://docs.aws.amazon.com/frauddetector/latest/ug/">Amazon Fraud Detector User Guide</a>.</p>
|
|
197
|
-
*
|
|
198
|
-
*
|
|
199
|
-
* <p>The Amazon Fraud Detector Query API provides HTTPS requests that use the HTTP verb GET or POST and a Query parameter <code>Action</code>. AWS SDK provides libraries,
|
|
197
|
+
* <p>We provide the Query API as well as AWS software development kits (SDK) for Amazon Fraud Detector in Java and Python programming languages.</p>
|
|
198
|
+
* <p>The Amazon Fraud Detector Query API provides HTTPS requests that use the HTTP verb GET or POST and a Query parameter <code>Action</code>. AWS SDK provides libraries,
|
|
200
199
|
* sample code, tutorials, and other resources for software developers who prefer to build applications using language-specific APIs instead of submitting a request over
|
|
201
200
|
* HTTP or HTTPS. These libraries provide basic functions that automatically take care of tasks such as cryptographically signing your requests, retrying requests, and
|
|
202
201
|
* handling error responses, so that it is easier for you to get started. For more information about the AWS SDKs, see <a href="https://docs.aws.amazon.com/https:/aws.amazon.com/tools/">Tools to build on AWS</a>.
|
|
@@ -9,7 +9,7 @@ export interface DeleteDetectorCommandOutput extends DeleteDetectorResult, __Met
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes the detector. Before deleting a detector, you must first delete all detector versions and rule versions associated with the detector.</p>
|
|
12
|
-
*
|
|
12
|
+
* <p>When you delete a detector, Amazon Fraud Detector permanently deletes the detector and the data is no longer stored in Amazon Fraud Detector.</p>
|
|
13
13
|
* @example
|
|
14
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
15
|
* ```javascript
|
|
@@ -9,7 +9,7 @@ export interface DeleteDetectorVersionCommandOutput extends DeleteDetectorVersio
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes the detector version. You cannot delete detector versions that are in <code>ACTIVE</code> status.</p>
|
|
12
|
-
*
|
|
12
|
+
* <p>When you delete a detector version, Amazon Fraud Detector permanently deletes the detector and the data is no longer stored in Amazon Fraud Detector.</p>
|
|
13
13
|
* @example
|
|
14
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
15
|
* ```javascript
|
|
@@ -9,8 +9,8 @@ export interface DeleteEntityTypeCommandOutput extends DeleteEntityTypeResult, _
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes an entity type.</p>
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* <p>You cannot delete an entity type that is included in an event type.</p>
|
|
13
|
+
* <p>When you delete an entity type, Amazon Fraud Detector permanently deletes that entity type and the data is no longer stored in Amazon Fraud Detector.</p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
16
|
* ```javascript
|
|
@@ -9,7 +9,7 @@ export interface DeleteEventCommandOutput extends DeleteEventResult, __MetadataB
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes the specified event.</p>
|
|
12
|
-
*
|
|
12
|
+
* <p>When you delete an event, Amazon Fraud Detector permanently deletes that event and the event data is no longer stored in Amazon Fraud Detector.</p>
|
|
13
13
|
* @example
|
|
14
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
15
|
* ```javascript
|
|
@@ -9,8 +9,8 @@ export interface DeleteEventTypeCommandOutput extends DeleteEventTypeResult, __M
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes an event type.</p>
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* <p>You cannot delete an event type that is used in a detector or a model.</p>
|
|
13
|
+
* <p>When you delete an event type, Amazon Fraud Detector permanently deletes that event type and the data is no longer stored in Amazon Fraud Detector.</p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
16
|
* ```javascript
|
|
@@ -9,7 +9,7 @@ export interface DeleteExternalModelCommandOutput extends DeleteExternalModelRes
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Removes a SageMaker model from Amazon Fraud Detector.</p>
|
|
12
|
-
*
|
|
12
|
+
* <p>You can remove an Amazon SageMaker model if it is not associated with a detector version. Removing a SageMaker model disconnects it from Amazon Fraud Detector, but the model remains available in SageMaker.</p>
|
|
13
13
|
* @example
|
|
14
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
15
|
* ```javascript
|
|
@@ -9,9 +9,8 @@ export interface DeleteLabelCommandOutput extends DeleteLabelResult, __MetadataB
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes a label.</p>
|
|
12
|
-
*
|
|
12
|
+
* <p>You cannot delete labels that are included in an event type in Amazon Fraud Detector.</p>
|
|
13
13
|
* <p>You cannot delete a label assigned to an event ID. You must first delete the relevant event ID.</p>
|
|
14
|
-
*
|
|
15
14
|
* <p>When you delete a label, Amazon Fraud Detector permanently deletes that label and the data is no longer stored in Amazon Fraud Detector.</p>
|
|
16
15
|
* @example
|
|
17
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -9,8 +9,8 @@ export interface DeleteModelCommandOutput extends DeleteModelResult, __MetadataB
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes a model.</p>
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* <p>You can delete models and model versions in Amazon Fraud Detector, provided that they are not associated with a detector version.</p>
|
|
13
|
+
* <p> When you delete a model, Amazon Fraud Detector permanently deletes that model and the data is no longer stored in Amazon Fraud Detector.</p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
16
|
* ```javascript
|
|
@@ -9,8 +9,8 @@ export interface DeleteModelVersionCommandOutput extends DeleteModelVersionResul
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes a model version.</p>
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* <p>You can delete models and model versions in Amazon Fraud Detector, provided that they are not associated with a detector version.</p>
|
|
13
|
+
* <p> When you delete a model version, Amazon Fraud Detector permanently deletes that model version and the data is no longer stored in Amazon Fraud Detector.</p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
16
|
* ```javascript
|
|
@@ -9,8 +9,8 @@ export interface DeleteOutcomeCommandOutput extends DeleteOutcomeResult, __Metad
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes an outcome.</p>
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* <p>You cannot delete an outcome that is used in a rule version.</p>
|
|
13
|
+
* <p>When you delete an outcome, Amazon Fraud Detector permanently deletes that outcome and the data is no longer stored in Amazon Fraud Detector.</p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
16
|
* ```javascript
|
|
@@ -9,7 +9,7 @@ export interface DeleteRuleCommandOutput extends DeleteRuleResult, __MetadataBea
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes the rule. You cannot delete a rule if it is used by an <code>ACTIVE</code> or <code>INACTIVE</code> detector version.</p>
|
|
12
|
-
*
|
|
12
|
+
* <p>When you delete a rule, Amazon Fraud Detector permanently deletes that rule and the data is no longer stored in Amazon Fraud Detector.</p>
|
|
13
13
|
* @example
|
|
14
14
|
* Use a bare-bones client and the command you need to make an API call.
|
|
15
15
|
* ```javascript
|
|
@@ -9,9 +9,9 @@ export interface DeleteVariableCommandOutput extends DeleteVariableResult, __Met
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Deletes a variable.</p>
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
12
|
+
* <p>You can't delete variables that are included in an event type in Amazon Fraud Detector.</p>
|
|
13
|
+
* <p>Amazon Fraud Detector automatically deletes model output variables and SageMaker model output variables when you delete the model. You can't delete these variables manually.</p>
|
|
14
|
+
* <p>When you delete a variable, Amazon Fraud Detector permanently deletes that variable and the data is no longer stored in Amazon Fraud Detector.</p>
|
|
15
15
|
* @example
|
|
16
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
17
|
* ```javascript
|
|
@@ -10,14 +10,12 @@ export interface ListEventPredictionsCommandOutput extends ListEventPredictionsR
|
|
|
10
10
|
/**
|
|
11
11
|
* <p>Gets a list of past predictions. The list can be filtered by detector ID, detector version ID, event ID, event type, or by specifying a time period.
|
|
12
12
|
* If filter is not specified, the most recent prediction is returned.</p>
|
|
13
|
-
*
|
|
14
13
|
* <p>For example, the following filter lists all past predictions for <code>xyz</code> event type -
|
|
15
14
|
* <code>{
|
|
16
15
|
* "eventType":{
|
|
17
16
|
* "value": "xyz" }”
|
|
18
17
|
* } </code>
|
|
19
18
|
* </p>
|
|
20
|
-
*
|
|
21
19
|
* <p>This is a paginated API. If you provide a null <code>maxResults</code>, this action will retrieve a maximum of 10 records per page.
|
|
22
20
|
* If you provide a <code>maxResults</code>, the value must be between 50 and 100. To get the next page results, provide
|
|
23
21
|
* the <code>nextToken</code> from the response as part of your request. A null <code>nextToken</code> fetches the records from the beginning.
|
|
@@ -13,8 +13,7 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
15
|
* <p>The log odds metric details.</p>
|
|
16
|
-
*
|
|
17
|
-
* <p>Account Takeover Insights (ATI) model uses event variables from the login data you
|
|
16
|
+
* <p>Account Takeover Insights (ATI) model uses event variables from the login data you
|
|
18
17
|
* provide to continuously calculate a set of variables (aggregated variables) based on historical events. For example, your ATI model might calculate the number of times an user has logged in using the same IP address.
|
|
19
18
|
* In this case, event variables used to derive the aggregated variables are <code>IP address</code> and <code>user</code>.</p>
|
|
20
19
|
*/
|
|
@@ -35,8 +34,7 @@ export interface AggregatedLogOddsMetric {
|
|
|
35
34
|
/**
|
|
36
35
|
* <p>
|
|
37
36
|
* The details of the impact of aggregated variables on the prediction score. </p>
|
|
38
|
-
*
|
|
39
|
-
* <p>Account Takeover Insights (ATI) model uses the login data you
|
|
37
|
+
* <p>Account Takeover Insights (ATI) model uses the login data you
|
|
40
38
|
* provide to continuously calculate a set of variables (aggregated variables) based on historical events. For example, the model might calculate the number of times an user has logged in using the same IP address.
|
|
41
39
|
* In this case, event variables used to derive the aggregated variables are <code>IP address</code> and <code>user</code>.</p>
|
|
42
40
|
*/
|
|
@@ -56,7 +54,7 @@ export interface AggregatedVariablesImpactExplanation {
|
|
|
56
54
|
/**
|
|
57
55
|
* <p>
|
|
58
56
|
* The raw, uninterpreted value represented as log-odds of the fraud. These values are usually between -10 to +10, but range from -infinity to +infinity.</p>
|
|
59
|
-
*
|
|
57
|
+
* <ul>
|
|
60
58
|
* <li>
|
|
61
59
|
* <p>A positive value indicates that the variables drove the risk score up.</p>
|
|
62
60
|
* </li>
|
|
@@ -69,8 +67,7 @@ export interface AggregatedVariablesImpactExplanation {
|
|
|
69
67
|
}
|
|
70
68
|
/**
|
|
71
69
|
* <p>The details of the relative importance of the aggregated variables.</p>
|
|
72
|
-
*
|
|
73
|
-
* <p>Account Takeover Insights (ATI) model uses event variables from the login data you
|
|
70
|
+
* <p>Account Takeover Insights (ATI) model uses event variables from the login data you
|
|
74
71
|
* provide to continuously calculate a set of variables (aggregated variables) based on historical events. For example, your ATI model might calculate the number of times an user has logged in using the same IP address.
|
|
75
72
|
* In this case, event variables used to derive the aggregated variables are <code>IP address</code> and <code>user</code>.</p>
|
|
76
73
|
*/
|
|
@@ -525,9 +522,9 @@ export interface CreateDetectorVersionRequest {
|
|
|
525
522
|
modelVersions?: ModelVersion[];
|
|
526
523
|
/**
|
|
527
524
|
* <p>The rule execution mode for the rules included in the detector version.</p>
|
|
528
|
-
*
|
|
529
|
-
*
|
|
530
|
-
*
|
|
525
|
+
* <p>You can define and edit the rule mode at the detector version level, when it is in draft status.</p>
|
|
526
|
+
* <p>If you specify <code>FIRST_MATCHED</code>, Amazon Fraud Detector evaluates rules sequentially, first to last, stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that single rule.</p>
|
|
527
|
+
* <p>If you specifiy <code>ALL_MATCHED</code>, Amazon Fraud Detector evaluates all rules and returns the outcomes for all matched rules. </p>
|
|
531
528
|
* <p>The default behavior is <code>FIRST_MATCHED</code>.</p>
|
|
532
529
|
*/
|
|
533
530
|
ruleExecutionMode?: RuleExecutionMode | string;
|
|
@@ -615,6 +612,7 @@ export interface IngestedEventsDetail {
|
|
|
615
612
|
ingestedEventsTimeWindow: IngestedEventsTimeWindow | undefined;
|
|
616
613
|
}
|
|
617
614
|
export declare enum UnlabeledEventsTreatment {
|
|
615
|
+
AUTO = "AUTO",
|
|
618
616
|
FRAUD = "FRAUD",
|
|
619
617
|
IGNORE = "IGNORE",
|
|
620
618
|
LEGIT = "LEGIT"
|
|
@@ -630,6 +628,21 @@ export interface LabelSchema {
|
|
|
630
628
|
labelMapper?: Record<string, string[]>;
|
|
631
629
|
/**
|
|
632
630
|
* <p>The action to take for unlabeled events.</p>
|
|
631
|
+
* <ul>
|
|
632
|
+
* <li>
|
|
633
|
+
* <p>Use <code>IGNORE</code> if you want the unlabeled events to be ignored. This is recommended when the majority of the events in the dataset are labeled.</p>
|
|
634
|
+
* </li>
|
|
635
|
+
* <li>
|
|
636
|
+
* <p>Use <code>FRAUD</code> if you want to categorize all unlabeled events as “Fraud”. This is recommended when most of the events in your dataset are fraudulent.</p>
|
|
637
|
+
* </li>
|
|
638
|
+
* <li>
|
|
639
|
+
* <p>Use <code>LEGIT</code> f you want to categorize all unlabeled events as “Legit”. This is recommended when most of the events in your dataset are legitimate.</p>
|
|
640
|
+
* </li>
|
|
641
|
+
* <li>
|
|
642
|
+
* <p>Use <code>AUTO</code> if you want Amazon Fraud Detector to decide how to use the unlabeled data. This is recommended when there is significant unlabeled events in the dataset.</p>
|
|
643
|
+
* </li>
|
|
644
|
+
* </ul>
|
|
645
|
+
* <p>By default, Amazon Fraud Detector ignores the unlabeled data.</p>
|
|
633
646
|
*/
|
|
634
647
|
unlabeledEventsTreatment?: UnlabeledEventsTreatment | string;
|
|
635
648
|
}
|
|
@@ -1173,6 +1186,24 @@ export interface OFIMetricDataPoint {
|
|
|
1173
1186
|
*/
|
|
1174
1187
|
threshold?: number;
|
|
1175
1188
|
}
|
|
1189
|
+
/**
|
|
1190
|
+
* <p>
|
|
1191
|
+
* Range of area under curve (auc) expected from the model. A range greater than 0.1 indicates higher model uncertainity. A range is the difference between upper and lower bound of auc.
|
|
1192
|
+
* </p>
|
|
1193
|
+
*/
|
|
1194
|
+
export interface UncertaintyRange {
|
|
1195
|
+
/**
|
|
1196
|
+
* <p>
|
|
1197
|
+
* The lower bound value of the area under curve (auc).
|
|
1198
|
+
* </p>
|
|
1199
|
+
*/
|
|
1200
|
+
lowerBoundValue: number | undefined;
|
|
1201
|
+
/**
|
|
1202
|
+
* <p>
|
|
1203
|
+
* The lower bound value of the area under curve (auc). </p>
|
|
1204
|
+
*/
|
|
1205
|
+
upperBoundValue: number | undefined;
|
|
1206
|
+
}
|
|
1176
1207
|
/**
|
|
1177
1208
|
* <p>
|
|
1178
1209
|
* The Online Fraud Insights (OFI) model performance score.
|
|
@@ -1185,6 +1216,12 @@ export interface OFIModelPerformance {
|
|
|
1185
1216
|
* </p>
|
|
1186
1217
|
*/
|
|
1187
1218
|
auc?: number;
|
|
1219
|
+
/**
|
|
1220
|
+
* <p>
|
|
1221
|
+
* Indicates the range of area under curve (auc) expected from the OFI model. A range greater than 0.1 indicates higher model uncertainity.
|
|
1222
|
+
* </p>
|
|
1223
|
+
*/
|
|
1224
|
+
uncertaintyRange?: UncertaintyRange;
|
|
1188
1225
|
}
|
|
1189
1226
|
/**
|
|
1190
1227
|
* <p>
|
|
@@ -1249,6 +1286,12 @@ export interface TFIModelPerformance {
|
|
|
1249
1286
|
* </p>
|
|
1250
1287
|
*/
|
|
1251
1288
|
auc?: number;
|
|
1289
|
+
/**
|
|
1290
|
+
* <p>
|
|
1291
|
+
* Indicates the range of area under curve (auc) expected from the TFI model. A range greater than 0.1 indicates higher model uncertainity.
|
|
1292
|
+
* </p>
|
|
1293
|
+
*/
|
|
1294
|
+
uncertaintyRange?: UncertaintyRange;
|
|
1252
1295
|
}
|
|
1253
1296
|
/**
|
|
1254
1297
|
* <p>
|
|
@@ -1318,7 +1361,7 @@ export interface TrainingResultV2 {
|
|
|
1318
1361
|
* <p>
|
|
1319
1362
|
* The variable importance metrics of the aggregated variables.
|
|
1320
1363
|
* </p>
|
|
1321
|
-
*
|
|
1364
|
+
* <p>Account Takeover Insights (ATI) model uses event variables from the login data you
|
|
1322
1365
|
* provide to continuously calculate a set of variables (aggregated variables) based on historical events. For example, your ATI model might calculate the number of times an user has logged in using the same IP address.
|
|
1323
1366
|
* In this case, event variables used to derive the aggregated variables are <code>IP address</code> and <code>user</code>.</p>
|
|
1324
1367
|
*/
|
|
@@ -1682,9 +1725,9 @@ export interface GetDetectorVersionResult {
|
|
|
1682
1725
|
createdTime?: string;
|
|
1683
1726
|
/**
|
|
1684
1727
|
* <p>The execution mode of the rule in the dectector</p>
|
|
1685
|
-
*
|
|
1728
|
+
* <p>
|
|
1686
1729
|
* <code>FIRST_MATCHED</code> indicates that Amazon Fraud Detector evaluates rules sequentially, first to last, stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that single rule.</p>
|
|
1687
|
-
*
|
|
1730
|
+
* <p>
|
|
1688
1731
|
* <code>ALL_MATCHED</code> indicates that Amazon Fraud Detector evaluates all rules and returns the outcomes for all matched rules. You can define and edit the rule mode at the detector version level, when it is in draft status.</p>
|
|
1689
1732
|
*/
|
|
1690
1733
|
ruleExecutionMode?: RuleExecutionMode | string;
|
|
@@ -1848,15 +1891,12 @@ export interface GetEventPredictionRequest {
|
|
|
1848
1891
|
* <important>
|
|
1849
1892
|
* <p>You must provide at least one eventVariable</p>
|
|
1850
1893
|
* </important>
|
|
1851
|
-
*
|
|
1852
1894
|
* <p>To ensure most accurate fraud prediction and to simplify your data preparation, Amazon Fraud Detector will replace all missing variables or values as follows:</p>
|
|
1853
|
-
*
|
|
1854
1895
|
* <p>
|
|
1855
1896
|
* <b>For Amazon Fraud Detector trained models:</b>
|
|
1856
1897
|
* </p>
|
|
1857
1898
|
* <p>If a null value is provided explicitly for a variable or if a variable is missing, model will replace the null value or the missing variable (no variable name in the eventVariables map)
|
|
1858
1899
|
* with calculated default mean/medians for numeric variables and with special values for categorical variables.</p>
|
|
1859
|
-
*
|
|
1860
1900
|
* <p>
|
|
1861
1901
|
* <b>For imported SageMaker models:</b>
|
|
1862
1902
|
* </p>
|
|
@@ -2062,8 +2102,7 @@ export interface PredictionExplanations {
|
|
|
2062
2102
|
* <p>
|
|
2063
2103
|
* The details of the aggregated variables impact on the prediction score.
|
|
2064
2104
|
* </p>
|
|
2065
|
-
*
|
|
2066
|
-
* <p>Account Takeover Insights (ATI) model uses event variables from the login data you
|
|
2105
|
+
* <p>Account Takeover Insights (ATI) model uses event variables from the login data you
|
|
2067
2106
|
* provide to continuously calculate a set of variables (aggregated variables) based on historical events. For example, your ATI model might calculate the number of times an user has logged in using the same IP address.
|
|
2068
2107
|
* In this case, event variables used to derive the aggregated variables are <code>IP address</code> and <code>user</code>.</p>
|
|
2069
2108
|
*/
|
|
@@ -2685,8 +2724,8 @@ export interface GetModelVersionResult {
|
|
|
2685
2724
|
ingestedEventsDetail?: IngestedEventsDetail;
|
|
2686
2725
|
/**
|
|
2687
2726
|
* <p>The model version status.</p>
|
|
2688
|
-
*
|
|
2689
|
-
*
|
|
2727
|
+
* <p>Possible values are:</p>
|
|
2728
|
+
* <ul>
|
|
2690
2729
|
* <li>
|
|
2691
2730
|
* <p>
|
|
2692
2731
|
* <code>TRAINING_IN_PROGRESS</code>
|
|
@@ -3271,8 +3310,8 @@ export interface UpdateDetectorVersionRequest {
|
|
|
3271
3310
|
modelVersions?: ModelVersion[];
|
|
3272
3311
|
/**
|
|
3273
3312
|
* <p>The rule execution mode to add to the detector.</p>
|
|
3274
|
-
*
|
|
3275
|
-
*
|
|
3313
|
+
* <p>If you specify <code>FIRST_MATCHED</code>, Amazon Fraud Detector evaluates rules sequentially, first to last, stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that single rule.</p>
|
|
3314
|
+
* <p>If you specifiy <code>ALL_MATCHED</code>, Amazon Fraud Detector evaluates all rules and returns the outcomes for all matched rules. You can define and edit the rule mode at the detector version level, when it is in draft status.</p>
|
|
3276
3315
|
* <p>The default behavior is <code>FIRST_MATCHED</code>.</p>
|
|
3277
3316
|
*/
|
|
3278
3317
|
ruleExecutionMode?: RuleExecutionMode | string;
|
|
@@ -3814,6 +3853,10 @@ export declare const TrainingResultFilterSensitiveLog: (obj: TrainingResult) =>
|
|
|
3814
3853
|
* @internal
|
|
3815
3854
|
*/
|
|
3816
3855
|
export declare const OFIMetricDataPointFilterSensitiveLog: (obj: OFIMetricDataPoint) => any;
|
|
3856
|
+
/**
|
|
3857
|
+
* @internal
|
|
3858
|
+
*/
|
|
3859
|
+
export declare const UncertaintyRangeFilterSensitiveLog: (obj: UncertaintyRange) => any;
|
|
3817
3860
|
/**
|
|
3818
3861
|
* @internal
|
|
3819
3862
|
*/
|
|
@@ -213,6 +213,7 @@ export interface IngestedEventsDetail {
|
|
|
213
213
|
ingestedEventsTimeWindow: IngestedEventsTimeWindow | undefined;
|
|
214
214
|
}
|
|
215
215
|
export declare enum UnlabeledEventsTreatment {
|
|
216
|
+
AUTO = "AUTO",
|
|
216
217
|
FRAUD = "FRAUD",
|
|
217
218
|
IGNORE = "IGNORE",
|
|
218
219
|
LEGIT = "LEGIT",
|
|
@@ -412,8 +413,13 @@ export interface OFIMetricDataPoint {
|
|
|
412
413
|
tpr?: number;
|
|
413
414
|
threshold?: number;
|
|
414
415
|
}
|
|
416
|
+
export interface UncertaintyRange {
|
|
417
|
+
lowerBoundValue: number | undefined;
|
|
418
|
+
upperBoundValue: number | undefined;
|
|
419
|
+
}
|
|
415
420
|
export interface OFIModelPerformance {
|
|
416
421
|
auc?: number;
|
|
422
|
+
uncertaintyRange?: UncertaintyRange;
|
|
417
423
|
}
|
|
418
424
|
export interface OFITrainingMetricsValue {
|
|
419
425
|
metricDataPoints?: OFIMetricDataPoint[];
|
|
@@ -427,6 +433,7 @@ export interface TFIMetricDataPoint {
|
|
|
427
433
|
}
|
|
428
434
|
export interface TFIModelPerformance {
|
|
429
435
|
auc?: number;
|
|
436
|
+
uncertaintyRange?: UncertaintyRange;
|
|
430
437
|
}
|
|
431
438
|
export interface TFITrainingMetricsValue {
|
|
432
439
|
metricDataPoints?: TFIMetricDataPoint[];
|
|
@@ -1308,6 +1315,9 @@ export declare const TrainingResultFilterSensitiveLog: (
|
|
|
1308
1315
|
export declare const OFIMetricDataPointFilterSensitiveLog: (
|
|
1309
1316
|
obj: OFIMetricDataPoint
|
|
1310
1317
|
) => any;
|
|
1318
|
+
export declare const UncertaintyRangeFilterSensitiveLog: (
|
|
1319
|
+
obj: UncertaintyRange
|
|
1320
|
+
) => any;
|
|
1311
1321
|
export declare const OFIModelPerformanceFilterSensitiveLog: (
|
|
1312
1322
|
obj: OFIModelPerformance
|
|
1313
1323
|
) => any;
|
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.
|
|
4
|
+
"version": "3.266.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",
|
|
@@ -20,37 +20,37 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.266.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.266.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.266.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.266.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.266.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.266.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.266.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.266.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.266.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.266.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.266.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.266.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.266.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.266.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.266.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.266.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.266.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.266.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.266.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.266.0",
|
|
43
|
+
"@aws-sdk/types": "3.266.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.266.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.208.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.266.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.266.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.266.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.266.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.266.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.266.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
55
55
|
"tslib": "^2.3.1"
|
|
56
56
|
},
|