Skip to content

Commit ca37b40

Browse files
author
AWS
committed
Amazon Fraud Detector Update: Enhanced GetEventPrediction API response to include risk scores from imported SageMaker models
1 parent 6d3c8de commit ca37b40

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Fraud Detector",
4+
"contributor": "",
5+
"description": "Enhanced GetEventPrediction API response to include risk scores from imported SageMaker models"
6+
}

services/frauddetector/src/main/resources/codegen-resources/service-2.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2053,6 +2053,39 @@
20532053
"type":"list",
20542054
"member":{"shape":"ExternalModel"}
20552055
},
2056+
"ExternalModelOutputs":{
2057+
"type":"structure",
2058+
"members":{
2059+
"externalModel":{
2060+
"shape":"ExternalModelSummary",
2061+
"documentation":"<p>The Amazon SageMaker model.</p>"
2062+
},
2063+
"outputs":{
2064+
"shape":"ExternalModelPredictionMap",
2065+
"documentation":"<p>The fraud prediction scores from Amazon SageMaker model.</p>"
2066+
}
2067+
},
2068+
"documentation":"<p>The fraud prediction scores from Amazon SageMaker model.</p>"
2069+
},
2070+
"ExternalModelPredictionMap":{
2071+
"type":"map",
2072+
"key":{"shape":"string"},
2073+
"value":{"shape":"string"}
2074+
},
2075+
"ExternalModelSummary":{
2076+
"type":"structure",
2077+
"members":{
2078+
"modelEndpoint":{
2079+
"shape":"string",
2080+
"documentation":"<p>The endpoint of the Amazon SageMaker model.</p>"
2081+
},
2082+
"modelSource":{
2083+
"shape":"ModelSource",
2084+
"documentation":"<p>The source of the model.</p>"
2085+
}
2086+
},
2087+
"documentation":"<p>The Amazon SageMaker model.</p>"
2088+
},
20562089
"ExternalModelsMaxResults":{
20572090
"type":"integer",
20582091
"box":true,
@@ -2314,6 +2347,10 @@
23142347
"ruleResults":{
23152348
"shape":"ListOfRuleResults",
23162349
"documentation":"<p>The results from the rules.</p>"
2350+
},
2351+
"externalModelOutputs":{
2352+
"shape":"ListOfExternalModelOutputs",
2353+
"documentation":"<p>The model scores for Amazon SageMaker models.</p>"
23172354
}
23182355
}
23192356
},
@@ -2681,6 +2718,10 @@
26812718
"type":"string",
26822719
"enum":["DETECTORPL"]
26832720
},
2721+
"ListOfExternalModelOutputs":{
2722+
"type":"list",
2723+
"member":{"shape":"ExternalModelOutputs"}
2724+
},
26842725
"ListOfLogOddsMetrics":{
26852726
"type":"list",
26862727
"member":{"shape":"LogOddsMetric"}

0 commit comments

Comments
 (0)