1{
2  "version":"2.0",
3  "metadata":{
4    "apiVersion":"2019-11-15",
5    "endpointPrefix":"frauddetector",
6    "jsonVersion":"1.1",
7    "protocol":"json",
8    "serviceFullName":"Amazon Fraud Detector",
9    "serviceId":"FraudDetector",
10    "signatureVersion":"v4",
11    "targetPrefix":"AWSHawksNestServiceFacade",
12    "uid":"frauddetector-2019-11-15"
13  },
14  "operations":{
15    "BatchCreateVariable":{
16      "name":"BatchCreateVariable",
17      "http":{
18        "method":"POST",
19        "requestUri":"/"
20      },
21      "input":{"shape":"BatchCreateVariableRequest"},
22      "output":{"shape":"BatchCreateVariableResult"},
23      "errors":[
24        {"shape":"ValidationException"},
25        {"shape":"InternalServerException"},
26        {"shape":"ThrottlingException"},
27        {"shape":"AccessDeniedException"}
28      ]
29    },
30    "BatchGetVariable":{
31      "name":"BatchGetVariable",
32      "http":{
33        "method":"POST",
34        "requestUri":"/"
35      },
36      "input":{"shape":"BatchGetVariableRequest"},
37      "output":{"shape":"BatchGetVariableResult"},
38      "errors":[
39        {"shape":"ValidationException"},
40        {"shape":"InternalServerException"},
41        {"shape":"ThrottlingException"},
42        {"shape":"AccessDeniedException"}
43      ]
44    },
45    "CreateDetectorVersion":{
46      "name":"CreateDetectorVersion",
47      "http":{
48        "method":"POST",
49        "requestUri":"/"
50      },
51      "input":{"shape":"CreateDetectorVersionRequest"},
52      "output":{"shape":"CreateDetectorVersionResult"},
53      "errors":[
54        {"shape":"ValidationException"},
55        {"shape":"ResourceNotFoundException"},
56        {"shape":"InternalServerException"},
57        {"shape":"ThrottlingException"},
58        {"shape":"AccessDeniedException"}
59      ]
60    },
61    "CreateModel":{
62      "name":"CreateModel",
63      "http":{
64        "method":"POST",
65        "requestUri":"/"
66      },
67      "input":{"shape":"CreateModelRequest"},
68      "output":{"shape":"CreateModelResult"},
69      "errors":[
70        {"shape":"ValidationException"},
71        {"shape":"InternalServerException"},
72        {"shape":"AccessDeniedException"}
73      ]
74    },
75    "CreateModelVersion":{
76      "name":"CreateModelVersion",
77      "http":{
78        "method":"POST",
79        "requestUri":"/"
80      },
81      "input":{"shape":"CreateModelVersionRequest"},
82      "output":{"shape":"CreateModelVersionResult"},
83      "errors":[
84        {"shape":"ValidationException"},
85        {"shape":"ResourceNotFoundException"},
86        {"shape":"AccessDeniedException"},
87        {"shape":"InternalServerException"}
88      ]
89    },
90    "CreateRule":{
91      "name":"CreateRule",
92      "http":{
93        "method":"POST",
94        "requestUri":"/"
95      },
96      "input":{"shape":"CreateRuleRequest"},
97      "output":{"shape":"CreateRuleResult"},
98      "errors":[
99        {"shape":"ValidationException"},
100        {"shape":"InternalServerException"},
101        {"shape":"ThrottlingException"},
102        {"shape":"AccessDeniedException"}
103      ]
104    },
105    "CreateVariable":{
106      "name":"CreateVariable",
107      "http":{
108        "method":"POST",
109        "requestUri":"/"
110      },
111      "input":{"shape":"CreateVariableRequest"},
112      "output":{"shape":"CreateVariableResult"},
113      "errors":[
114        {"shape":"ValidationException"},
115        {"shape":"InternalServerException"},
116        {"shape":"ThrottlingException"},
117        {"shape":"AccessDeniedException"}
118      ]
119    },
120    "DeleteDetector":{
121      "name":"DeleteDetector",
122      "http":{
123        "method":"POST",
124        "requestUri":"/"
125      },
126      "input":{"shape":"DeleteDetectorRequest"},
127      "output":{"shape":"DeleteDetectorResult"},
128      "errors":[
129        {"shape":"ConflictException"},
130        {"shape":"ValidationException"},
131        {"shape":"InternalServerException"},
132        {"shape":"ThrottlingException"},
133        {"shape":"AccessDeniedException"}
134      ]
135    },
136    "DeleteDetectorVersion":{
137      "name":"DeleteDetectorVersion",
138      "http":{
139        "method":"POST",
140        "requestUri":"/"
141      },
142      "input":{"shape":"DeleteDetectorVersionRequest"},
143      "output":{"shape":"DeleteDetectorVersionResult"},
144      "errors":[
145        {"shape":"ValidationException"},
146        {"shape":"ResourceNotFoundException"},
147        {"shape":"InternalServerException"},
148        {"shape":"ThrottlingException"},
149        {"shape":"ConflictException"},
150        {"shape":"AccessDeniedException"}
151      ]
152    },
153    "DeleteEvent":{
154      "name":"DeleteEvent",
155      "http":{
156        "method":"POST",
157        "requestUri":"/"
158      },
159      "input":{"shape":"DeleteEventRequest"},
160      "output":{"shape":"DeleteEventResult"},
161      "errors":[
162        {"shape":"InternalServerException"},
163        {"shape":"ThrottlingException"},
164        {"shape":"AccessDeniedException"}
165      ]
166    },
167    "DeleteRule":{
168      "name":"DeleteRule",
169      "http":{
170        "method":"POST",
171        "requestUri":"/"
172      },
173      "input":{"shape":"DeleteRuleRequest"},
174      "output":{"shape":"DeleteRuleResult"},
175      "errors":[
176        {"shape":"ConflictException"},
177        {"shape":"ValidationException"},
178        {"shape":"InternalServerException"},
179        {"shape":"ThrottlingException"},
180        {"shape":"AccessDeniedException"}
181      ]
182    },
183    "DescribeDetector":{
184      "name":"DescribeDetector",
185      "http":{
186        "method":"POST",
187        "requestUri":"/"
188      },
189      "input":{"shape":"DescribeDetectorRequest"},
190      "output":{"shape":"DescribeDetectorResult"},
191      "errors":[
192        {"shape":"ValidationException"},
193        {"shape":"ResourceNotFoundException"},
194        {"shape":"InternalServerException"},
195        {"shape":"ThrottlingException"},
196        {"shape":"AccessDeniedException"}
197      ]
198    },
199    "DescribeModelVersions":{
200      "name":"DescribeModelVersions",
201      "http":{
202        "method":"POST",
203        "requestUri":"/"
204      },
205      "input":{"shape":"DescribeModelVersionsRequest"},
206      "output":{"shape":"DescribeModelVersionsResult"},
207      "errors":[
208        {"shape":"ValidationException"},
209        {"shape":"ResourceNotFoundException"},
210        {"shape":"InternalServerException"},
211        {"shape":"AccessDeniedException"}
212      ]
213    },
214    "GetDetectorVersion":{
215      "name":"GetDetectorVersion",
216      "http":{
217        "method":"POST",
218        "requestUri":"/"
219      },
220      "input":{"shape":"GetDetectorVersionRequest"},
221      "output":{"shape":"GetDetectorVersionResult"},
222      "errors":[
223        {"shape":"ValidationException"},
224        {"shape":"ResourceNotFoundException"},
225        {"shape":"InternalServerException"},
226        {"shape":"ThrottlingException"},
227        {"shape":"AccessDeniedException"}
228      ]
229    },
230    "GetDetectors":{
231      "name":"GetDetectors",
232      "http":{
233        "method":"POST",
234        "requestUri":"/"
235      },
236      "input":{"shape":"GetDetectorsRequest"},
237      "output":{"shape":"GetDetectorsResult"},
238      "errors":[
239        {"shape":"ValidationException"},
240        {"shape":"ResourceNotFoundException"},
241        {"shape":"InternalServerException"},
242        {"shape":"ThrottlingException"},
243        {"shape":"AccessDeniedException"}
244      ]
245    },
246    "GetEntityTypes":{
247      "name":"GetEntityTypes",
248      "http":{
249        "method":"POST",
250        "requestUri":"/"
251      },
252      "input":{"shape":"GetEntityTypesRequest"},
253      "output":{"shape":"GetEntityTypesResult"},
254      "errors":[
255        {"shape":"ValidationException"},
256        {"shape":"ResourceNotFoundException"},
257        {"shape":"InternalServerException"},
258        {"shape":"AccessDeniedException"}
259      ]
260    },
261    "GetEventPrediction":{
262      "name":"GetEventPrediction",
263      "http":{
264        "method":"POST",
265        "requestUri":"/"
266      },
267      "input":{"shape":"GetEventPredictionRequest"},
268      "output":{"shape":"GetEventPredictionResult"},
269      "errors":[
270        {"shape":"ValidationException"},
271        {"shape":"ResourceNotFoundException"},
272        {"shape":"InternalServerException"},
273        {"shape":"ThrottlingException"},
274        {"shape":"AccessDeniedException"}
275      ]
276    },
277    "GetEventTypes":{
278      "name":"GetEventTypes",
279      "http":{
280        "method":"POST",
281        "requestUri":"/"
282      },
283      "input":{"shape":"GetEventTypesRequest"},
284      "output":{"shape":"GetEventTypesResult"},
285      "errors":[
286        {"shape":"ValidationException"},
287        {"shape":"ResourceNotFoundException"},
288        {"shape":"InternalServerException"},
289        {"shape":"AccessDeniedException"}
290      ]
291    },
292    "GetExternalModels":{
293      "name":"GetExternalModels",
294      "http":{
295        "method":"POST",
296        "requestUri":"/"
297      },
298      "input":{"shape":"GetExternalModelsRequest"},
299      "output":{"shape":"GetExternalModelsResult"},
300      "errors":[
301        {"shape":"ValidationException"},
302        {"shape":"ResourceNotFoundException"},
303        {"shape":"InternalServerException"},
304        {"shape":"ThrottlingException"},
305        {"shape":"AccessDeniedException"}
306      ]
307    },
308    "GetKMSEncryptionKey":{
309      "name":"GetKMSEncryptionKey",
310      "http":{
311        "method":"POST",
312        "requestUri":"/"
313      },
314      "output":{"shape":"GetKMSEncryptionKeyResult"},
315      "errors":[
316        {"shape":"ResourceNotFoundException"},
317        {"shape":"InternalServerException"},
318        {"shape":"AccessDeniedException"}
319      ]
320    },
321    "GetLabels":{
322      "name":"GetLabels",
323      "http":{
324        "method":"POST",
325        "requestUri":"/"
326      },
327      "input":{"shape":"GetLabelsRequest"},
328      "output":{"shape":"GetLabelsResult"},
329      "errors":[
330        {"shape":"ValidationException"},
331        {"shape":"ResourceNotFoundException"},
332        {"shape":"InternalServerException"},
333        {"shape":"AccessDeniedException"}
334      ]
335    },
336    "GetModelVersion":{
337      "name":"GetModelVersion",
338      "http":{
339        "method":"POST",
340        "requestUri":"/"
341      },
342      "input":{"shape":"GetModelVersionRequest"},
343      "output":{"shape":"GetModelVersionResult"},
344      "errors":[
345        {"shape":"ValidationException"},
346        {"shape":"ResourceNotFoundException"},
347        {"shape":"InternalServerException"},
348        {"shape":"AccessDeniedException"}
349      ]
350    },
351    "GetModels":{
352      "name":"GetModels",
353      "http":{
354        "method":"POST",
355        "requestUri":"/"
356      },
357      "input":{"shape":"GetModelsRequest"},
358      "output":{"shape":"GetModelsResult"},
359      "errors":[
360        {"shape":"ValidationException"},
361        {"shape":"ResourceNotFoundException"},
362        {"shape":"InternalServerException"},
363        {"shape":"AccessDeniedException"}
364      ]
365    },
366    "GetOutcomes":{
367      "name":"GetOutcomes",
368      "http":{
369        "method":"POST",
370        "requestUri":"/"
371      },
372      "input":{"shape":"GetOutcomesRequest"},
373      "output":{"shape":"GetOutcomesResult"},
374      "errors":[
375        {"shape":"ValidationException"},
376        {"shape":"ResourceNotFoundException"},
377        {"shape":"InternalServerException"},
378        {"shape":"ThrottlingException"},
379        {"shape":"AccessDeniedException"}
380      ]
381    },
382    "GetRules":{
383      "name":"GetRules",
384      "http":{
385        "method":"POST",
386        "requestUri":"/"
387      },
388      "input":{"shape":"GetRulesRequest"},
389      "output":{"shape":"GetRulesResult"},
390      "errors":[
391        {"shape":"ValidationException"},
392        {"shape":"ResourceNotFoundException"},
393        {"shape":"InternalServerException"},
394        {"shape":"ThrottlingException"},
395        {"shape":"AccessDeniedException"}
396      ]
397    },
398    "GetVariables":{
399      "name":"GetVariables",
400      "http":{
401        "method":"POST",
402        "requestUri":"/"
403      },
404      "input":{"shape":"GetVariablesRequest"},
405      "output":{"shape":"GetVariablesResult"},
406      "errors":[
407        {"shape":"ValidationException"},
408        {"shape":"ResourceNotFoundException"},
409        {"shape":"InternalServerException"},
410        {"shape":"ThrottlingException"},
411        {"shape":"AccessDeniedException"}
412      ]
413    },
414    "ListTagsForResource":{
415      "name":"ListTagsForResource",
416      "http":{
417        "method":"POST",
418        "requestUri":"/"
419      },
420      "input":{"shape":"ListTagsForResourceRequest"},
421      "output":{"shape":"ListTagsForResourceResult"},
422      "errors":[
423        {"shape":"ValidationException"},
424        {"shape":"ResourceNotFoundException"},
425        {"shape":"AccessDeniedException"}
426      ]
427    },
428    "PutDetector":{
429      "name":"PutDetector",
430      "http":{
431        "method":"POST",
432        "requestUri":"/"
433      },
434      "input":{"shape":"PutDetectorRequest"},
435      "output":{"shape":"PutDetectorResult"},
436      "errors":[
437        {"shape":"ValidationException"},
438        {"shape":"InternalServerException"},
439        {"shape":"ThrottlingException"},
440        {"shape":"AccessDeniedException"}
441      ]
442    },
443    "PutEntityType":{
444      "name":"PutEntityType",
445      "http":{
446        "method":"POST",
447        "requestUri":"/"
448      },
449      "input":{"shape":"PutEntityTypeRequest"},
450      "output":{"shape":"PutEntityTypeResult"},
451      "errors":[
452        {"shape":"ValidationException"},
453        {"shape":"InternalServerException"},
454        {"shape":"AccessDeniedException"}
455      ]
456    },
457    "PutEventType":{
458      "name":"PutEventType",
459      "http":{
460        "method":"POST",
461        "requestUri":"/"
462      },
463      "input":{"shape":"PutEventTypeRequest"},
464      "output":{"shape":"PutEventTypeResult"},
465      "errors":[
466        {"shape":"ValidationException"},
467        {"shape":"InternalServerException"},
468        {"shape":"AccessDeniedException"}
469      ]
470    },
471    "PutExternalModel":{
472      "name":"PutExternalModel",
473      "http":{
474        "method":"POST",
475        "requestUri":"/"
476      },
477      "input":{"shape":"PutExternalModelRequest"},
478      "output":{"shape":"PutExternalModelResult"},
479      "errors":[
480        {"shape":"ValidationException"},
481        {"shape":"InternalServerException"},
482        {"shape":"ThrottlingException"},
483        {"shape":"AccessDeniedException"}
484      ]
485    },
486    "PutKMSEncryptionKey":{
487      "name":"PutKMSEncryptionKey",
488      "http":{
489        "method":"POST",
490        "requestUri":"/"
491      },
492      "input":{"shape":"PutKMSEncryptionKeyRequest"},
493      "output":{"shape":"PutKMSEncryptionKeyResult"},
494      "errors":[
495        {"shape":"ValidationException"},
496        {"shape":"ResourceNotFoundException"},
497        {"shape":"InternalServerException"},
498        {"shape":"AccessDeniedException"}
499      ]
500    },
501    "PutLabel":{
502      "name":"PutLabel",
503      "http":{
504        "method":"POST",
505        "requestUri":"/"
506      },
507      "input":{"shape":"PutLabelRequest"},
508      "output":{"shape":"PutLabelResult"},
509      "errors":[
510        {"shape":"ValidationException"},
511        {"shape":"InternalServerException"},
512        {"shape":"AccessDeniedException"}
513      ]
514    },
515    "PutOutcome":{
516      "name":"PutOutcome",
517      "http":{
518        "method":"POST",
519        "requestUri":"/"
520      },
521      "input":{"shape":"PutOutcomeRequest"},
522      "output":{"shape":"PutOutcomeResult"},
523      "errors":[
524        {"shape":"ValidationException"},
525        {"shape":"InternalServerException"},
526        {"shape":"ThrottlingException"},
527        {"shape":"AccessDeniedException"}
528      ]
529    },
530    "TagResource":{
531      "name":"TagResource",
532      "http":{
533        "method":"POST",
534        "requestUri":"/"
535      },
536      "input":{"shape":"TagResourceRequest"},
537      "output":{"shape":"TagResourceResult"},
538      "errors":[
539        {"shape":"ValidationException"},
540        {"shape":"ResourceNotFoundException"},
541        {"shape":"AccessDeniedException"}
542      ]
543    },
544    "UntagResource":{
545      "name":"UntagResource",
546      "http":{
547        "method":"POST",
548        "requestUri":"/"
549      },
550      "input":{"shape":"UntagResourceRequest"},
551      "output":{"shape":"UntagResourceResult"},
552      "errors":[
553        {"shape":"ValidationException"},
554        {"shape":"ResourceNotFoundException"},
555        {"shape":"AccessDeniedException"}
556      ]
557    },
558    "UpdateDetectorVersion":{
559      "name":"UpdateDetectorVersion",
560      "http":{
561        "method":"POST",
562        "requestUri":"/"
563      },
564      "input":{"shape":"UpdateDetectorVersionRequest"},
565      "output":{"shape":"UpdateDetectorVersionResult"},
566      "errors":[
567        {"shape":"ValidationException"},
568        {"shape":"ResourceNotFoundException"},
569        {"shape":"InternalServerException"},
570        {"shape":"ThrottlingException"},
571        {"shape":"AccessDeniedException"}
572      ]
573    },
574    "UpdateDetectorVersionMetadata":{
575      "name":"UpdateDetectorVersionMetadata",
576      "http":{
577        "method":"POST",
578        "requestUri":"/"
579      },
580      "input":{"shape":"UpdateDetectorVersionMetadataRequest"},
581      "output":{"shape":"UpdateDetectorVersionMetadataResult"},
582      "errors":[
583        {"shape":"ValidationException"},
584        {"shape":"InternalServerException"},
585        {"shape":"ThrottlingException"},
586        {"shape":"AccessDeniedException"}
587      ]
588    },
589    "UpdateDetectorVersionStatus":{
590      "name":"UpdateDetectorVersionStatus",
591      "http":{
592        "method":"POST",
593        "requestUri":"/"
594      },
595      "input":{"shape":"UpdateDetectorVersionStatusRequest"},
596      "output":{"shape":"UpdateDetectorVersionStatusResult"},
597      "errors":[
598        {"shape":"ValidationException"},
599        {"shape":"ResourceNotFoundException"},
600        {"shape":"InternalServerException"},
601        {"shape":"ThrottlingException"},
602        {"shape":"AccessDeniedException"}
603      ]
604    },
605    "UpdateModel":{
606      "name":"UpdateModel",
607      "http":{
608        "method":"POST",
609        "requestUri":"/"
610      },
611      "input":{"shape":"UpdateModelRequest"},
612      "output":{"shape":"UpdateModelResult"},
613      "errors":[
614        {"shape":"ValidationException"},
615        {"shape":"ResourceNotFoundException"},
616        {"shape":"InternalServerException"},
617        {"shape":"AccessDeniedException"}
618      ]
619    },
620    "UpdateModelVersion":{
621      "name":"UpdateModelVersion",
622      "http":{
623        "method":"POST",
624        "requestUri":"/"
625      },
626      "input":{"shape":"UpdateModelVersionRequest"},
627      "output":{"shape":"UpdateModelVersionResult"},
628      "errors":[
629        {"shape":"ValidationException"},
630        {"shape":"ResourceNotFoundException"},
631        {"shape":"AccessDeniedException"},
632        {"shape":"InternalServerException"}
633      ]
634    },
635    "UpdateModelVersionStatus":{
636      "name":"UpdateModelVersionStatus",
637      "http":{
638        "method":"POST",
639        "requestUri":"/"
640      },
641      "input":{"shape":"UpdateModelVersionStatusRequest"},
642      "output":{"shape":"UpdateModelVersionStatusResult"},
643      "errors":[
644        {"shape":"ValidationException"},
645        {"shape":"ResourceNotFoundException"},
646        {"shape":"InternalServerException"},
647        {"shape":"AccessDeniedException"}
648      ]
649    },
650    "UpdateRuleMetadata":{
651      "name":"UpdateRuleMetadata",
652      "http":{
653        "method":"POST",
654        "requestUri":"/"
655      },
656      "input":{"shape":"UpdateRuleMetadataRequest"},
657      "output":{"shape":"UpdateRuleMetadataResult"},
658      "errors":[
659        {"shape":"ValidationException"},
660        {"shape":"ResourceNotFoundException"},
661        {"shape":"InternalServerException"},
662        {"shape":"ThrottlingException"},
663        {"shape":"AccessDeniedException"}
664      ]
665    },
666    "UpdateRuleVersion":{
667      "name":"UpdateRuleVersion",
668      "http":{
669        "method":"POST",
670        "requestUri":"/"
671      },
672      "input":{"shape":"UpdateRuleVersionRequest"},
673      "output":{"shape":"UpdateRuleVersionResult"},
674      "errors":[
675        {"shape":"ValidationException"},
676        {"shape":"ResourceNotFoundException"},
677        {"shape":"InternalServerException"},
678        {"shape":"ThrottlingException"},
679        {"shape":"AccessDeniedException"}
680      ]
681    },
682    "UpdateVariable":{
683      "name":"UpdateVariable",
684      "http":{
685        "method":"POST",
686        "requestUri":"/"
687      },
688      "input":{"shape":"UpdateVariableRequest"},
689      "output":{"shape":"UpdateVariableResult"},
690      "errors":[
691        {"shape":"ValidationException"},
692        {"shape":"ResourceNotFoundException"},
693        {"shape":"InternalServerException"},
694        {"shape":"ThrottlingException"},
695        {"shape":"AccessDeniedException"}
696      ]
697    }
698  },
699  "shapes":{
700    "AccessDeniedException":{
701      "type":"structure",
702      "required":["message"],
703      "members":{
704        "message":{"shape":"string"}
705      },
706      "exception":true
707    },
708    "BatchCreateVariableError":{
709      "type":"structure",
710      "members":{
711        "name":{"shape":"string"},
712        "code":{"shape":"integer"},
713        "message":{"shape":"string"}
714      }
715    },
716    "BatchCreateVariableErrorList":{
717      "type":"list",
718      "member":{"shape":"BatchCreateVariableError"}
719    },
720    "BatchCreateVariableRequest":{
721      "type":"structure",
722      "required":["variableEntries"],
723      "members":{
724        "variableEntries":{"shape":"VariableEntryList"},
725        "tags":{"shape":"tagList"}
726      }
727    },
728    "BatchCreateVariableResult":{
729      "type":"structure",
730      "members":{
731        "errors":{"shape":"BatchCreateVariableErrorList"}
732      }
733    },
734    "BatchGetVariableError":{
735      "type":"structure",
736      "members":{
737        "name":{"shape":"string"},
738        "code":{"shape":"integer"},
739        "message":{"shape":"string"}
740      }
741    },
742    "BatchGetVariableErrorList":{
743      "type":"list",
744      "member":{"shape":"BatchGetVariableError"}
745    },
746    "BatchGetVariableRequest":{
747      "type":"structure",
748      "required":["names"],
749      "members":{
750        "names":{"shape":"NameList"}
751      }
752    },
753    "BatchGetVariableResult":{
754      "type":"structure",
755      "members":{
756        "variables":{"shape":"VariableList"},
757        "errors":{"shape":"BatchGetVariableErrorList"}
758      }
759    },
760    "ConflictException":{
761      "type":"structure",
762      "required":["message"],
763      "members":{
764        "message":{"shape":"string"}
765      },
766      "exception":true
767    },
768    "CreateDetectorVersionRequest":{
769      "type":"structure",
770      "required":[
771        "detectorId",
772        "rules"
773      ],
774      "members":{
775        "detectorId":{"shape":"identifier"},
776        "description":{"shape":"description"},
777        "externalModelEndpoints":{"shape":"ListOfStrings"},
778        "rules":{"shape":"RuleList"},
779        "modelVersions":{"shape":"ListOfModelVersions"},
780        "ruleExecutionMode":{"shape":"RuleExecutionMode"},
781        "tags":{"shape":"tagList"}
782      }
783    },
784    "CreateDetectorVersionResult":{
785      "type":"structure",
786      "members":{
787        "detectorId":{"shape":"identifier"},
788        "detectorVersionId":{"shape":"nonEmptyString"},
789        "status":{"shape":"DetectorVersionStatus"}
790      }
791    },
792    "CreateModelRequest":{
793      "type":"structure",
794      "required":[
795        "modelId",
796        "modelType",
797        "eventTypeName"
798      ],
799      "members":{
800        "modelId":{"shape":"modelIdentifier"},
801        "modelType":{"shape":"ModelTypeEnum"},
802        "description":{"shape":"description"},
803        "eventTypeName":{"shape":"string"},
804        "tags":{"shape":"tagList"}
805      }
806    },
807    "CreateModelResult":{
808      "type":"structure",
809      "members":{
810      }
811    },
812    "CreateModelVersionRequest":{
813      "type":"structure",
814      "required":[
815        "modelId",
816        "modelType",
817        "trainingDataSource",
818        "trainingDataSchema"
819      ],
820      "members":{
821        "modelId":{"shape":"modelIdentifier"},
822        "modelType":{"shape":"ModelTypeEnum"},
823        "trainingDataSource":{"shape":"TrainingDataSourceEnum"},
824        "trainingDataSchema":{"shape":"TrainingDataSchema"},
825        "externalEventsDetail":{"shape":"ExternalEventsDetail"},
826        "tags":{"shape":"tagList"}
827      }
828    },
829    "CreateModelVersionResult":{
830      "type":"structure",
831      "members":{
832        "modelId":{"shape":"modelIdentifier"},
833        "modelType":{"shape":"ModelTypeEnum"},
834        "modelVersionNumber":{"shape":"nonEmptyString"},
835        "status":{"shape":"string"}
836      }
837    },
838    "CreateRuleRequest":{
839      "type":"structure",
840      "required":[
841        "ruleId",
842        "detectorId",
843        "expression",
844        "language",
845        "outcomes"
846      ],
847      "members":{
848        "ruleId":{"shape":"identifier"},
849        "detectorId":{"shape":"identifier"},
850        "description":{"shape":"description"},
851        "expression":{"shape":"ruleExpression"},
852        "language":{"shape":"Language"},
853        "outcomes":{"shape":"NonEmptyListOfStrings"},
854        "tags":{"shape":"tagList"}
855      }
856    },
857    "CreateRuleResult":{
858      "type":"structure",
859      "members":{
860        "rule":{"shape":"Rule"}
861      }
862    },
863    "CreateVariableRequest":{
864      "type":"structure",
865      "required":[
866        "name",
867        "dataType",
868        "dataSource",
869        "defaultValue"
870      ],
871      "members":{
872        "name":{"shape":"string"},
873        "dataType":{"shape":"DataType"},
874        "dataSource":{"shape":"DataSource"},
875        "defaultValue":{"shape":"string"},
876        "description":{"shape":"string"},
877        "variableType":{"shape":"string"},
878        "tags":{"shape":"tagList"}
879      }
880    },
881    "CreateVariableResult":{
882      "type":"structure",
883      "members":{
884      }
885    },
886    "CsvIndexToVariableMap":{
887      "type":"map",
888      "key":{"shape":"string"},
889      "value":{"shape":"string"}
890    },
891    "DataSource":{
892      "type":"string",
893      "enum":[
894        "EVENT",
895        "MODEL_SCORE",
896        "EXTERNAL_MODEL_SCORE"
897      ]
898    },
899    "DataType":{
900      "type":"string",
901      "enum":[
902        "STRING",
903        "INTEGER",
904        "FLOAT",
905        "BOOLEAN"
906      ]
907    },
908    "DataValidationMetrics":{
909      "type":"structure",
910      "members":{
911        "fileLevelMessages":{"shape":"fileValidationMessageList"},
912        "fieldLevelMessages":{"shape":"fieldValidationMessageList"}
913      }
914    },
915    "DeleteDetectorRequest":{
916      "type":"structure",
917      "required":["detectorId"],
918      "members":{
919        "detectorId":{"shape":"identifier"}
920      }
921    },
922    "DeleteDetectorResult":{
923      "type":"structure",
924      "members":{
925      }
926    },
927    "DeleteDetectorVersionRequest":{
928      "type":"structure",
929      "required":[
930        "detectorId",
931        "detectorVersionId"
932      ],
933      "members":{
934        "detectorId":{"shape":"identifier"},
935        "detectorVersionId":{"shape":"wholeNumberVersionString"}
936      }
937    },
938    "DeleteDetectorVersionResult":{
939      "type":"structure",
940      "members":{
941      }
942    },
943    "DeleteEventRequest":{
944      "type":"structure",
945      "required":[
946        "eventId",
947        "eventTypeName"
948      ],
949      "members":{
950        "eventId":{"shape":"string"},
951        "eventTypeName":{"shape":"string"}
952      }
953    },
954    "DeleteEventResult":{
955      "type":"structure",
956      "members":{
957      }
958    },
959    "DeleteRuleRequest":{
960      "type":"structure",
961      "required":["rule"],
962      "members":{
963        "rule":{"shape":"Rule"}
964      }
965    },
966    "DeleteRuleResult":{
967      "type":"structure",
968      "members":{
969      }
970    },
971    "DescribeDetectorRequest":{
972      "type":"structure",
973      "required":["detectorId"],
974      "members":{
975        "detectorId":{"shape":"identifier"},
976        "nextToken":{"shape":"string"},
977        "maxResults":{"shape":"DetectorVersionMaxResults"}
978      }
979    },
980    "DescribeDetectorResult":{
981      "type":"structure",
982      "members":{
983        "detectorId":{"shape":"identifier"},
984        "detectorVersionSummaries":{"shape":"DetectorVersionSummaryList"},
985        "nextToken":{"shape":"string"},
986        "arn":{"shape":"fraudDetectorArn"}
987      }
988    },
989    "DescribeModelVersionsRequest":{
990      "type":"structure",
991      "members":{
992        "modelId":{"shape":"modelIdentifier"},
993        "modelVersionNumber":{"shape":"floatVersionString"},
994        "modelType":{"shape":"ModelTypeEnum"},
995        "nextToken":{"shape":"string"},
996        "maxResults":{"shape":"modelsMaxPageSize"}
997      }
998    },
999    "DescribeModelVersionsResult":{
1000      "type":"structure",
1001      "members":{
1002        "modelVersionDetails":{"shape":"modelVersionDetailList"},
1003        "nextToken":{"shape":"string"}
1004      }
1005    },
1006    "Detector":{
1007      "type":"structure",
1008      "members":{
1009        "detectorId":{"shape":"identifier"},
1010        "description":{"shape":"description"},
1011        "eventTypeName":{"shape":"identifier"},
1012        "lastUpdatedTime":{"shape":"time"},
1013        "createdTime":{"shape":"time"},
1014        "arn":{"shape":"fraudDetectorArn"}
1015      }
1016    },
1017    "DetectorList":{
1018      "type":"list",
1019      "member":{"shape":"Detector"}
1020    },
1021    "DetectorVersionMaxResults":{
1022      "type":"integer",
1023      "box":true,
1024      "max":2500,
1025      "min":1000
1026    },
1027    "DetectorVersionStatus":{
1028      "type":"string",
1029      "enum":[
1030        "DRAFT",
1031        "ACTIVE",
1032        "INACTIVE"
1033      ]
1034    },
1035    "DetectorVersionSummary":{
1036      "type":"structure",
1037      "members":{
1038        "detectorVersionId":{"shape":"nonEmptyString"},
1039        "status":{"shape":"DetectorVersionStatus"},
1040        "description":{"shape":"description"},
1041        "lastUpdatedTime":{"shape":"time"}
1042      }
1043    },
1044    "DetectorVersionSummaryList":{
1045      "type":"list",
1046      "member":{"shape":"DetectorVersionSummary"}
1047    },
1048    "DetectorsMaxResults":{
1049      "type":"integer",
1050      "box":true,
1051      "max":10,
1052      "min":5
1053    },
1054    "Entity":{
1055      "type":"structure",
1056      "required":[
1057        "entityType",
1058        "entityId"
1059      ],
1060      "members":{
1061        "entityType":{"shape":"string"},
1062        "entityId":{"shape":"identifier"}
1063      }
1064    },
1065    "EntityType":{
1066      "type":"structure",
1067      "members":{
1068        "name":{"shape":"string"},
1069        "description":{"shape":"description"},
1070        "lastUpdatedTime":{"shape":"time"},
1071        "createdTime":{"shape":"time"},
1072        "arn":{"shape":"fraudDetectorArn"}
1073      }
1074    },
1075    "EventType":{
1076      "type":"structure",
1077      "members":{
1078        "name":{"shape":"string"},
1079        "description":{"shape":"description"},
1080        "eventVariables":{"shape":"ListOfStrings"},
1081        "labels":{"shape":"ListOfStrings"},
1082        "entityTypes":{"shape":"NonEmptyListOfStrings"},
1083        "lastUpdatedTime":{"shape":"time"},
1084        "createdTime":{"shape":"time"},
1085        "arn":{"shape":"fraudDetectorArn"}
1086      }
1087    },
1088    "EventVariableMap":{
1089      "type":"map",
1090      "key":{"shape":"variableName"},
1091      "value":{"shape":"variableValue"},
1092      "min":1
1093    },
1094    "ExternalEventsDetail":{
1095      "type":"structure",
1096      "required":[
1097        "dataLocation",
1098        "dataAccessRoleArn"
1099      ],
1100      "members":{
1101        "dataLocation":{"shape":"s3BucketLocation"},
1102        "dataAccessRoleArn":{"shape":"iamRoleArn"}
1103      }
1104    },
1105    "ExternalModel":{
1106      "type":"structure",
1107      "members":{
1108        "modelEndpoint":{"shape":"string"},
1109        "modelSource":{"shape":"ModelSource"},
1110        "invokeModelEndpointRoleArn":{"shape":"string"},
1111        "inputConfiguration":{"shape":"ModelInputConfiguration"},
1112        "outputConfiguration":{"shape":"ModelOutputConfiguration"},
1113        "modelEndpointStatus":{"shape":"ModelEndpointStatus"},
1114        "lastUpdatedTime":{"shape":"time"},
1115        "createdTime":{"shape":"time"},
1116        "arn":{"shape":"fraudDetectorArn"}
1117      }
1118    },
1119    "ExternalModelEndpointDataBlobMap":{
1120      "type":"map",
1121      "key":{"shape":"string"},
1122      "value":{"shape":"ModelEndpointDataBlob"},
1123      "sensitive":true
1124    },
1125    "ExternalModelList":{
1126      "type":"list",
1127      "member":{"shape":"ExternalModel"}
1128    },
1129    "ExternalModelsMaxResults":{
1130      "type":"integer",
1131      "box":true,
1132      "max":10,
1133      "min":5
1134    },
1135    "FieldValidationMessage":{
1136      "type":"structure",
1137      "members":{
1138        "fieldName":{"shape":"string"},
1139        "identifier":{"shape":"string"},
1140        "title":{"shape":"string"},
1141        "content":{"shape":"string"},
1142        "type":{"shape":"string"}
1143      }
1144    },
1145    "FileValidationMessage":{
1146      "type":"structure",
1147      "members":{
1148        "title":{"shape":"string"},
1149        "content":{"shape":"string"},
1150        "type":{"shape":"string"}
1151      }
1152    },
1153    "GetDetectorVersionRequest":{
1154      "type":"structure",
1155      "required":[
1156        "detectorId",
1157        "detectorVersionId"
1158      ],
1159      "members":{
1160        "detectorId":{"shape":"identifier"},
1161        "detectorVersionId":{"shape":"wholeNumberVersionString"}
1162      }
1163    },
1164    "GetDetectorVersionResult":{
1165      "type":"structure",
1166      "members":{
1167        "detectorId":{"shape":"identifier"},
1168        "detectorVersionId":{"shape":"wholeNumberVersionString"},
1169        "description":{"shape":"description"},
1170        "externalModelEndpoints":{"shape":"ListOfStrings"},
1171        "modelVersions":{"shape":"ListOfModelVersions"},
1172        "rules":{"shape":"RuleList"},
1173        "status":{"shape":"DetectorVersionStatus"},
1174        "lastUpdatedTime":{"shape":"time"},
1175        "createdTime":{"shape":"time"},
1176        "ruleExecutionMode":{"shape":"RuleExecutionMode"},
1177        "arn":{"shape":"fraudDetectorArn"}
1178      }
1179    },
1180    "GetDetectorsRequest":{
1181      "type":"structure",
1182      "members":{
1183        "detectorId":{"shape":"identifier"},
1184        "nextToken":{"shape":"string"},
1185        "maxResults":{"shape":"DetectorsMaxResults"}
1186      }
1187    },
1188    "GetDetectorsResult":{
1189      "type":"structure",
1190      "members":{
1191        "detectors":{"shape":"DetectorList"},
1192        "nextToken":{"shape":"string"}
1193      }
1194    },
1195    "GetEntityTypesRequest":{
1196      "type":"structure",
1197      "members":{
1198        "name":{"shape":"identifier"},
1199        "nextToken":{"shape":"string"},
1200        "maxResults":{"shape":"entityTypesMaxResults"}
1201      }
1202    },
1203    "GetEntityTypesResult":{
1204      "type":"structure",
1205      "members":{
1206        "entityTypes":{"shape":"entityTypeList"},
1207        "nextToken":{"shape":"string"}
1208      }
1209    },
1210    "GetEventPredictionRequest":{
1211      "type":"structure",
1212      "required":[
1213        "detectorId",
1214        "eventId",
1215        "eventTypeName",
1216        "entities",
1217        "eventTimestamp",
1218        "eventVariables"
1219      ],
1220      "members":{
1221        "detectorId":{"shape":"string"},
1222        "detectorVersionId":{"shape":"wholeNumberVersionString"},
1223        "eventId":{"shape":"string"},
1224        "eventTypeName":{"shape":"string"},
1225        "entities":{"shape":"listOfEntities"},
1226        "eventTimestamp":{"shape":"string"},
1227        "eventVariables":{"shape":"EventVariableMap"},
1228        "externalModelEndpointDataBlobs":{"shape":"ExternalModelEndpointDataBlobMap"}
1229      }
1230    },
1231    "GetEventPredictionResult":{
1232      "type":"structure",
1233      "members":{
1234        "modelScores":{"shape":"ListOfModelScores"},
1235        "ruleResults":{"shape":"ListOfRuleResults"}
1236      }
1237    },
1238    "GetEventTypesRequest":{
1239      "type":"structure",
1240      "members":{
1241        "name":{"shape":"identifier"},
1242        "nextToken":{"shape":"string"},
1243        "maxResults":{"shape":"eventTypesMaxResults"}
1244      }
1245    },
1246    "GetEventTypesResult":{
1247      "type":"structure",
1248      "members":{
1249        "eventTypes":{"shape":"eventTypeList"},
1250        "nextToken":{"shape":"string"}
1251      }
1252    },
1253    "GetExternalModelsRequest":{
1254      "type":"structure",
1255      "members":{
1256        "modelEndpoint":{"shape":"string"},
1257        "nextToken":{"shape":"string"},
1258        "maxResults":{"shape":"ExternalModelsMaxResults"}
1259      }
1260    },
1261    "GetExternalModelsResult":{
1262      "type":"structure",
1263      "members":{
1264        "externalModels":{"shape":"ExternalModelList"},
1265        "nextToken":{"shape":"string"}
1266      }
1267    },
1268    "GetKMSEncryptionKeyResult":{
1269      "type":"structure",
1270      "members":{
1271        "kmsKey":{"shape":"KMSKey"}
1272      }
1273    },
1274    "GetLabelsRequest":{
1275      "type":"structure",
1276      "members":{
1277        "name":{"shape":"identifier"},
1278        "nextToken":{"shape":"string"},
1279        "maxResults":{"shape":"labelsMaxResults"}
1280      }
1281    },
1282    "GetLabelsResult":{
1283      "type":"structure",
1284      "members":{
1285        "labels":{"shape":"labelList"},
1286        "nextToken":{"shape":"string"}
1287      }
1288    },
1289    "GetModelVersionRequest":{
1290      "type":"structure",
1291      "required":[
1292        "modelId",
1293        "modelType",
1294        "modelVersionNumber"
1295      ],
1296      "members":{
1297        "modelId":{"shape":"modelIdentifier"},
1298        "modelType":{"shape":"ModelTypeEnum"},
1299        "modelVersionNumber":{"shape":"floatVersionString"}
1300      }
1301    },
1302    "GetModelVersionResult":{
1303      "type":"structure",
1304      "members":{
1305        "modelId":{"shape":"modelIdentifier"},
1306        "modelType":{"shape":"ModelTypeEnum"},
1307        "modelVersionNumber":{"shape":"floatVersionString"},
1308        "trainingDataSource":{"shape":"TrainingDataSourceEnum"},
1309        "trainingDataSchema":{"shape":"TrainingDataSchema"},
1310        "externalEventsDetail":{"shape":"ExternalEventsDetail"},
1311        "status":{"shape":"string"},
1312        "arn":{"shape":"fraudDetectorArn"}
1313      }
1314    },
1315    "GetModelsRequest":{
1316      "type":"structure",
1317      "members":{
1318        "modelId":{"shape":"modelIdentifier"},
1319        "modelType":{"shape":"ModelTypeEnum"},
1320        "nextToken":{"shape":"string"},
1321        "maxResults":{"shape":"modelsMaxPageSize"}
1322      }
1323    },
1324    "GetModelsResult":{
1325      "type":"structure",
1326      "members":{
1327        "nextToken":{"shape":"string"},
1328        "models":{"shape":"modelList"}
1329      }
1330    },
1331    "GetOutcomesRequest":{
1332      "type":"structure",
1333      "members":{
1334        "name":{"shape":"identifier"},
1335        "nextToken":{"shape":"string"},
1336        "maxResults":{"shape":"OutcomesMaxResults"}
1337      }
1338    },
1339    "GetOutcomesResult":{
1340      "type":"structure",
1341      "members":{
1342        "outcomes":{"shape":"OutcomeList"},
1343        "nextToken":{"shape":"string"}
1344      }
1345    },
1346    "GetRulesRequest":{
1347      "type":"structure",
1348      "required":["detectorId"],
1349      "members":{
1350        "ruleId":{"shape":"identifier"},
1351        "detectorId":{"shape":"identifier"},
1352        "ruleVersion":{"shape":"wholeNumberVersionString"},
1353        "nextToken":{"shape":"string"},
1354        "maxResults":{"shape":"RulesMaxResults"}
1355      }
1356    },
1357    "GetRulesResult":{
1358      "type":"structure",
1359      "members":{
1360        "ruleDetails":{"shape":"RuleDetailList"},
1361        "nextToken":{"shape":"string"}
1362      }
1363    },
1364    "GetVariablesRequest":{
1365      "type":"structure",
1366      "members":{
1367        "name":{"shape":"string"},
1368        "nextToken":{"shape":"string"},
1369        "maxResults":{"shape":"VariablesMaxResults"}
1370      }
1371    },
1372    "GetVariablesResult":{
1373      "type":"structure",
1374      "members":{
1375        "variables":{"shape":"VariableList"},
1376        "nextToken":{"shape":"string"}
1377      }
1378    },
1379    "InternalServerException":{
1380      "type":"structure",
1381      "required":["message"],
1382      "members":{
1383        "message":{"shape":"string"}
1384      },
1385      "exception":true,
1386      "fault":true
1387    },
1388    "JsonKeyToVariableMap":{
1389      "type":"map",
1390      "key":{"shape":"string"},
1391      "value":{"shape":"string"}
1392    },
1393    "KMSKey":{
1394      "type":"structure",
1395      "members":{
1396        "kmsEncryptionKeyArn":{"shape":"KmsEncryptionKeyArn"}
1397      }
1398    },
1399    "KmsEncryptionKeyArn":{
1400      "type":"string",
1401      "max":80,
1402      "min":7,
1403      "pattern":"^\\w{8}-\\w{4}-\\w{4}-\\w{4}-\\w{12}$|DEFAULT|arn:[a-zA-Z0-9-]+:kms:[a-zA-Z0-9-]+:\\d{12}:key:[a-zA-Z0-9-_]+|[a-zA-Z0-9-_]\\S+"
1404    },
1405    "Label":{
1406      "type":"structure",
1407      "members":{
1408        "name":{"shape":"string"},
1409        "description":{"shape":"description"},
1410        "lastUpdatedTime":{"shape":"time"},
1411        "createdTime":{"shape":"time"},
1412        "arn":{"shape":"fraudDetectorArn"}
1413      }
1414    },
1415    "LabelSchema":{
1416      "type":"structure",
1417      "required":["labelMapper"],
1418      "members":{
1419        "labelMapper":{"shape":"labelMapper"}
1420      }
1421    },
1422    "Language":{
1423      "type":"string",
1424      "enum":["DETECTORPL"]
1425    },
1426    "ListOfModelScores":{
1427      "type":"list",
1428      "member":{"shape":"ModelScores"}
1429    },
1430    "ListOfModelVersions":{
1431      "type":"list",
1432      "member":{"shape":"ModelVersion"}
1433    },
1434    "ListOfRuleResults":{
1435      "type":"list",
1436      "member":{"shape":"RuleResult"}
1437    },
1438    "ListOfStrings":{
1439      "type":"list",
1440      "member":{"shape":"string"}
1441    },
1442    "ListTagsForResourceRequest":{
1443      "type":"structure",
1444      "required":["resourceARN"],
1445      "members":{
1446        "resourceARN":{"shape":"fraudDetectorArn"},
1447        "nextToken":{"shape":"string"},
1448        "maxResults":{"shape":"TagsMaxResults"}
1449      }
1450    },
1451    "ListTagsForResourceResult":{
1452      "type":"structure",
1453      "members":{
1454        "tags":{"shape":"tagList"},
1455        "nextToken":{"shape":"string"}
1456      }
1457    },
1458    "MetricDataPoint":{
1459      "type":"structure",
1460      "members":{
1461        "fpr":{"shape":"float"},
1462        "precision":{"shape":"float"},
1463        "tpr":{"shape":"float"},
1464        "threshold":{"shape":"float"}
1465      }
1466    },
1467    "Model":{
1468      "type":"structure",
1469      "members":{
1470        "modelId":{"shape":"modelIdentifier"},
1471        "modelType":{"shape":"ModelTypeEnum"},
1472        "description":{"shape":"description"},
1473        "eventTypeName":{"shape":"string"},
1474        "createdTime":{"shape":"time"},
1475        "lastUpdatedTime":{"shape":"time"},
1476        "arn":{"shape":"fraudDetectorArn"}
1477      }
1478    },
1479    "ModelEndpointDataBlob":{
1480      "type":"structure",
1481      "members":{
1482        "byteBuffer":{"shape":"blob"},
1483        "contentType":{"shape":"contentType"}
1484      }
1485    },
1486    "ModelEndpointStatus":{
1487      "type":"string",
1488      "enum":[
1489        "ASSOCIATED",
1490        "DISSOCIATED"
1491      ]
1492    },
1493    "ModelInputConfiguration":{
1494      "type":"structure",
1495      "required":["useEventVariables"],
1496      "members":{
1497        "eventTypeName":{"shape":"identifier"},
1498        "format":{"shape":"ModelInputDataFormat"},
1499        "useEventVariables":{"shape":"UseEventVariables"},
1500        "jsonInputTemplate":{"shape":"string"},
1501        "csvInputTemplate":{"shape":"string"}
1502      }
1503    },
1504    "ModelInputDataFormat":{
1505      "type":"string",
1506      "enum":[
1507        "TEXT_CSV",
1508        "APPLICATION_JSON"
1509      ]
1510    },
1511    "ModelOutputConfiguration":{
1512      "type":"structure",
1513      "required":["format"],
1514      "members":{
1515        "format":{"shape":"ModelOutputDataFormat"},
1516        "jsonKeyToVariableMap":{"shape":"JsonKeyToVariableMap"},
1517        "csvIndexToVariableMap":{"shape":"CsvIndexToVariableMap"}
1518      }
1519    },
1520    "ModelOutputDataFormat":{
1521      "type":"string",
1522      "enum":[
1523        "TEXT_CSV",
1524        "APPLICATION_JSONLINES"
1525      ]
1526    },
1527    "ModelPredictionMap":{
1528      "type":"map",
1529      "key":{"shape":"string"},
1530      "value":{"shape":"float"}
1531    },
1532    "ModelScores":{
1533      "type":"structure",
1534      "members":{
1535        "modelVersion":{"shape":"ModelVersion"},
1536        "scores":{"shape":"ModelPredictionMap"}
1537      }
1538    },
1539    "ModelSource":{
1540      "type":"string",
1541      "enum":["SAGEMAKER"]
1542    },
1543    "ModelTypeEnum":{
1544      "type":"string",
1545      "enum":["ONLINE_FRAUD_INSIGHTS"]
1546    },
1547    "ModelVersion":{
1548      "type":"structure",
1549      "required":[
1550        "modelId",
1551        "modelType",
1552        "modelVersionNumber"
1553      ],
1554      "members":{
1555        "modelId":{"shape":"modelIdentifier"},
1556        "modelType":{"shape":"ModelTypeEnum"},
1557        "modelVersionNumber":{"shape":"nonEmptyString"},
1558        "arn":{"shape":"fraudDetectorArn"}
1559      }
1560    },
1561    "ModelVersionDetail":{
1562      "type":"structure",
1563      "members":{
1564        "modelId":{"shape":"modelIdentifier"},
1565        "modelType":{"shape":"ModelTypeEnum"},
1566        "modelVersionNumber":{"shape":"floatVersionString"},
1567        "status":{"shape":"string"},
1568        "trainingDataSource":{"shape":"TrainingDataSourceEnum"},
1569        "trainingDataSchema":{"shape":"TrainingDataSchema"},
1570        "externalEventsDetail":{"shape":"ExternalEventsDetail"},
1571        "trainingResult":{"shape":"TrainingResult"},
1572        "lastUpdatedTime":{"shape":"time"},
1573        "createdTime":{"shape":"time"},
1574        "arn":{"shape":"fraudDetectorArn"}
1575      }
1576    },
1577    "ModelVersionStatus":{
1578      "type":"string",
1579      "enum":[
1580        "ACTIVE",
1581        "INACTIVE"
1582      ]
1583    },
1584    "NameList":{
1585      "type":"list",
1586      "member":{"shape":"string"},
1587      "max":100,
1588      "min":1
1589    },
1590    "NonEmptyListOfStrings":{
1591      "type":"list",
1592      "member":{"shape":"string"},
1593      "min":1
1594    },
1595    "Outcome":{
1596      "type":"structure",
1597      "members":{
1598        "name":{"shape":"identifier"},
1599        "description":{"shape":"description"},
1600        "lastUpdatedTime":{"shape":"time"},
1601        "createdTime":{"shape":"time"},
1602        "arn":{"shape":"fraudDetectorArn"}
1603      }
1604    },
1605    "OutcomeList":{
1606      "type":"list",
1607      "member":{"shape":"Outcome"}
1608    },
1609    "OutcomesMaxResults":{
1610      "type":"integer",
1611      "box":true,
1612      "max":100,
1613      "min":50
1614    },
1615    "PutDetectorRequest":{
1616      "type":"structure",
1617      "required":[
1618        "detectorId",
1619        "eventTypeName"
1620      ],
1621      "members":{
1622        "detectorId":{"shape":"identifier"},
1623        "description":{"shape":"description"},
1624        "eventTypeName":{"shape":"identifier"},
1625        "tags":{"shape":"tagList"}
1626      }
1627    },
1628    "PutDetectorResult":{
1629      "type":"structure",
1630      "members":{
1631      }
1632    },
1633    "PutEntityTypeRequest":{
1634      "type":"structure",
1635      "required":["name"],
1636      "members":{
1637        "name":{"shape":"identifier"},
1638        "description":{"shape":"description"},
1639        "tags":{"shape":"tagList"}
1640      }
1641    },
1642    "PutEntityTypeResult":{
1643      "type":"structure",
1644      "members":{
1645      }
1646    },
1647    "PutEventTypeRequest":{
1648      "type":"structure",
1649      "required":[
1650        "name",
1651        "eventVariables",
1652        "entityTypes"
1653      ],
1654      "members":{
1655        "name":{"shape":"identifier"},
1656        "description":{"shape":"description"},
1657        "eventVariables":{"shape":"NonEmptyListOfStrings"},
1658        "labels":{"shape":"ListOfStrings"},
1659        "entityTypes":{"shape":"NonEmptyListOfStrings"},
1660        "tags":{"shape":"tagList"}
1661      }
1662    },
1663    "PutEventTypeResult":{
1664      "type":"structure",
1665      "members":{
1666      }
1667    },
1668    "PutExternalModelRequest":{
1669      "type":"structure",
1670      "required":[
1671        "modelEndpoint",
1672        "modelSource",
1673        "invokeModelEndpointRoleArn",
1674        "inputConfiguration",
1675        "outputConfiguration",
1676        "modelEndpointStatus"
1677      ],
1678      "members":{
1679        "modelEndpoint":{"shape":"sageMakerEndpointIdentifier"},
1680        "modelSource":{"shape":"ModelSource"},
1681        "invokeModelEndpointRoleArn":{"shape":"string"},
1682        "inputConfiguration":{"shape":"ModelInputConfiguration"},
1683        "outputConfiguration":{"shape":"ModelOutputConfiguration"},
1684        "modelEndpointStatus":{"shape":"ModelEndpointStatus"},
1685        "tags":{"shape":"tagList"}
1686      }
1687    },
1688    "PutExternalModelResult":{
1689      "type":"structure",
1690      "members":{
1691      }
1692    },
1693    "PutKMSEncryptionKeyRequest":{
1694      "type":"structure",
1695      "required":["kmsEncryptionKeyArn"],
1696      "members":{
1697        "kmsEncryptionKeyArn":{"shape":"KmsEncryptionKeyArn"}
1698      }
1699    },
1700    "PutKMSEncryptionKeyResult":{
1701      "type":"structure",
1702      "members":{
1703      }
1704    },
1705    "PutLabelRequest":{
1706      "type":"structure",
1707      "required":["name"],
1708      "members":{
1709        "name":{"shape":"identifier"},
1710        "description":{"shape":"description"},
1711        "tags":{"shape":"tagList"}
1712      }
1713    },
1714    "PutLabelResult":{
1715      "type":"structure",
1716      "members":{
1717      }
1718    },
1719    "PutOutcomeRequest":{
1720      "type":"structure",
1721      "required":["name"],
1722      "members":{
1723        "name":{"shape":"identifier"},
1724        "description":{"shape":"description"},
1725        "tags":{"shape":"tagList"}
1726      }
1727    },
1728    "PutOutcomeResult":{
1729      "type":"structure",
1730      "members":{
1731      }
1732    },
1733    "ResourceNotFoundException":{
1734      "type":"structure",
1735      "required":["message"],
1736      "members":{
1737        "message":{"shape":"string"}
1738      },
1739      "exception":true
1740    },
1741    "Rule":{
1742      "type":"structure",
1743      "required":[
1744        "detectorId",
1745        "ruleId",
1746        "ruleVersion"
1747      ],
1748      "members":{
1749        "detectorId":{"shape":"identifier"},
1750        "ruleId":{"shape":"identifier"},
1751        "ruleVersion":{"shape":"wholeNumberVersionString"}
1752      }
1753    },
1754    "RuleDetail":{
1755      "type":"structure",
1756      "members":{
1757        "ruleId":{"shape":"identifier"},
1758        "description":{"shape":"description"},
1759        "detectorId":{"shape":"identifier"},
1760        "ruleVersion":{"shape":"wholeNumberVersionString"},
1761        "expression":{"shape":"ruleExpression"},
1762        "language":{"shape":"Language"},
1763        "outcomes":{"shape":"NonEmptyListOfStrings"},
1764        "lastUpdatedTime":{"shape":"time"},
1765        "createdTime":{"shape":"time"},
1766        "arn":{"shape":"fraudDetectorArn"}
1767      }
1768    },
1769    "RuleDetailList":{
1770      "type":"list",
1771      "member":{"shape":"RuleDetail"}
1772    },
1773    "RuleExecutionMode":{
1774      "type":"string",
1775      "enum":[
1776        "ALL_MATCHED",
1777        "FIRST_MATCHED"
1778      ]
1779    },
1780    "RuleList":{
1781      "type":"list",
1782      "member":{"shape":"Rule"}
1783    },
1784    "RuleResult":{
1785      "type":"structure",
1786      "members":{
1787        "ruleId":{"shape":"string"},
1788        "outcomes":{"shape":"ListOfStrings"}
1789      }
1790    },
1791    "RulesMaxResults":{
1792      "type":"integer",
1793      "box":true,
1794      "max":100,
1795      "min":50
1796    },
1797    "Tag":{
1798      "type":"structure",
1799      "required":[
1800        "key",
1801        "value"
1802      ],
1803      "members":{
1804        "key":{"shape":"tagKey"},
1805        "value":{"shape":"tagValue"}
1806      }
1807    },
1808    "TagResourceRequest":{
1809      "type":"structure",
1810      "required":[
1811        "resourceARN",
1812        "tags"
1813      ],
1814      "members":{
1815        "resourceARN":{"shape":"fraudDetectorArn"},
1816        "tags":{"shape":"tagList"}
1817      }
1818    },
1819    "TagResourceResult":{
1820      "type":"structure",
1821      "members":{
1822      }
1823    },
1824    "TagsMaxResults":{
1825      "type":"integer",
1826      "box":true,
1827      "max":50,
1828      "min":50
1829    },
1830    "ThrottlingException":{
1831      "type":"structure",
1832      "required":["message"],
1833      "members":{
1834        "message":{"shape":"string"}
1835      },
1836      "exception":true
1837    },
1838    "TrainingDataSchema":{
1839      "type":"structure",
1840      "required":[
1841        "modelVariables",
1842        "labelSchema"
1843      ],
1844      "members":{
1845        "modelVariables":{"shape":"ListOfStrings"},
1846        "labelSchema":{"shape":"LabelSchema"}
1847      }
1848    },
1849    "TrainingDataSourceEnum":{
1850      "type":"string",
1851      "enum":["EXTERNAL_EVENTS"]
1852    },
1853    "TrainingMetrics":{
1854      "type":"structure",
1855      "members":{
1856        "auc":{"shape":"float"},
1857        "metricDataPoints":{"shape":"metricDataPointsList"}
1858      }
1859    },
1860    "TrainingResult":{
1861      "type":"structure",
1862      "members":{
1863        "dataValidationMetrics":{"shape":"DataValidationMetrics"},
1864        "trainingMetrics":{"shape":"TrainingMetrics"}
1865      }
1866    },
1867    "UntagResourceRequest":{
1868      "type":"structure",
1869      "required":[
1870        "resourceARN",
1871        "tagKeys"
1872      ],
1873      "members":{
1874        "resourceARN":{"shape":"fraudDetectorArn"},
1875        "tagKeys":{"shape":"tagKeyList"}
1876      }
1877    },
1878    "UntagResourceResult":{
1879      "type":"structure",
1880      "members":{
1881      }
1882    },
1883    "UpdateDetectorVersionMetadataRequest":{
1884      "type":"structure",
1885      "required":[
1886        "detectorId",
1887        "detectorVersionId",
1888        "description"
1889      ],
1890      "members":{
1891        "detectorId":{"shape":"identifier"},
1892        "detectorVersionId":{"shape":"wholeNumberVersionString"},
1893        "description":{"shape":"description"}
1894      }
1895    },
1896    "UpdateDetectorVersionMetadataResult":{
1897      "type":"structure",
1898      "members":{
1899      }
1900    },
1901    "UpdateDetectorVersionRequest":{
1902      "type":"structure",
1903      "required":[
1904        "detectorId",
1905        "detectorVersionId",
1906        "externalModelEndpoints",
1907        "rules"
1908      ],
1909      "members":{
1910        "detectorId":{"shape":"identifier"},
1911        "detectorVersionId":{"shape":"wholeNumberVersionString"},
1912        "externalModelEndpoints":{"shape":"ListOfStrings"},
1913        "rules":{"shape":"RuleList"},
1914        "description":{"shape":"description"},
1915        "modelVersions":{"shape":"ListOfModelVersions"},
1916        "ruleExecutionMode":{"shape":"RuleExecutionMode"}
1917      }
1918    },
1919    "UpdateDetectorVersionResult":{
1920      "type":"structure",
1921      "members":{
1922      }
1923    },
1924    "UpdateDetectorVersionStatusRequest":{
1925      "type":"structure",
1926      "required":[
1927        "detectorId",
1928        "detectorVersionId",
1929        "status"
1930      ],
1931      "members":{
1932        "detectorId":{"shape":"identifier"},
1933        "detectorVersionId":{"shape":"wholeNumberVersionString"},
1934        "status":{"shape":"DetectorVersionStatus"}
1935      }
1936    },
1937    "UpdateDetectorVersionStatusResult":{
1938      "type":"structure",
1939      "members":{
1940      }
1941    },
1942    "UpdateModelRequest":{
1943      "type":"structure",
1944      "required":[
1945        "modelId",
1946        "modelType"
1947      ],
1948      "members":{
1949        "modelId":{"shape":"modelIdentifier"},
1950        "modelType":{"shape":"ModelTypeEnum"},
1951        "description":{"shape":"description"}
1952      }
1953    },
1954    "UpdateModelResult":{
1955      "type":"structure",
1956      "members":{
1957      }
1958    },
1959    "UpdateModelVersionRequest":{
1960      "type":"structure",
1961      "required":[
1962        "modelId",
1963        "modelType",
1964        "majorVersionNumber"
1965      ],
1966      "members":{
1967        "modelId":{"shape":"modelIdentifier"},
1968        "modelType":{"shape":"ModelTypeEnum"},
1969        "majorVersionNumber":{"shape":"wholeNumberVersionString"},
1970        "externalEventsDetail":{"shape":"ExternalEventsDetail"},
1971        "tags":{"shape":"tagList"}
1972      }
1973    },
1974    "UpdateModelVersionResult":{
1975      "type":"structure",
1976      "members":{
1977        "modelId":{"shape":"modelIdentifier"},
1978        "modelType":{"shape":"ModelTypeEnum"},
1979        "modelVersionNumber":{"shape":"floatVersionString"},
1980        "status":{"shape":"string"}
1981      }
1982    },
1983    "UpdateModelVersionStatusRequest":{
1984      "type":"structure",
1985      "required":[
1986        "modelId",
1987        "modelType",
1988        "modelVersionNumber",
1989        "status"
1990      ],
1991      "members":{
1992        "modelId":{"shape":"modelIdentifier"},
1993        "modelType":{"shape":"ModelTypeEnum"},
1994        "modelVersionNumber":{"shape":"floatVersionString"},
1995        "status":{"shape":"ModelVersionStatus"}
1996      }
1997    },
1998    "UpdateModelVersionStatusResult":{
1999      "type":"structure",
2000      "members":{
2001      }
2002    },
2003    "UpdateRuleMetadataRequest":{
2004      "type":"structure",
2005      "required":[
2006        "rule",
2007        "description"
2008      ],
2009      "members":{
2010        "rule":{"shape":"Rule"},
2011        "description":{"shape":"description"}
2012      }
2013    },
2014    "UpdateRuleMetadataResult":{
2015      "type":"structure",
2016      "members":{
2017      }
2018    },
2019    "UpdateRuleVersionRequest":{
2020      "type":"structure",
2021      "required":[
2022        "rule",
2023        "expression",
2024        "language",
2025        "outcomes"
2026      ],
2027      "members":{
2028        "rule":{"shape":"Rule"},
2029        "description":{"shape":"description"},
2030        "expression":{"shape":"ruleExpression"},
2031        "language":{"shape":"Language"},
2032        "outcomes":{"shape":"NonEmptyListOfStrings"},
2033        "tags":{"shape":"tagList"}
2034      }
2035    },
2036    "UpdateRuleVersionResult":{
2037      "type":"structure",
2038      "members":{
2039        "rule":{"shape":"Rule"}
2040      }
2041    },
2042    "UpdateVariableRequest":{
2043      "type":"structure",
2044      "required":["name"],
2045      "members":{
2046        "name":{"shape":"string"},
2047        "defaultValue":{"shape":"string"},
2048        "description":{"shape":"string"},
2049        "variableType":{"shape":"string"}
2050      }
2051    },
2052    "UpdateVariableResult":{
2053      "type":"structure",
2054      "members":{
2055      }
2056    },
2057    "UseEventVariables":{"type":"boolean"},
2058    "ValidationException":{
2059      "type":"structure",
2060      "required":["message"],
2061      "members":{
2062        "message":{"shape":"string"}
2063      },
2064      "exception":true
2065    },
2066    "Variable":{
2067      "type":"structure",
2068      "members":{
2069        "name":{"shape":"string"},
2070        "dataType":{"shape":"DataType"},
2071        "dataSource":{"shape":"DataSource"},
2072        "defaultValue":{"shape":"string"},
2073        "description":{"shape":"string"},
2074        "variableType":{"shape":"string"},
2075        "lastUpdatedTime":{"shape":"time"},
2076        "createdTime":{"shape":"time"},
2077        "arn":{"shape":"fraudDetectorArn"}
2078      }
2079    },
2080    "VariableEntry":{
2081      "type":"structure",
2082      "members":{
2083        "name":{"shape":"string"},
2084        "dataType":{"shape":"string"},
2085        "dataSource":{"shape":"string"},
2086        "defaultValue":{"shape":"string"},
2087        "description":{"shape":"string"},
2088        "variableType":{"shape":"string"}
2089      }
2090    },
2091    "VariableEntryList":{
2092      "type":"list",
2093      "member":{"shape":"VariableEntry"},
2094      "max":25,
2095      "min":1
2096    },
2097    "VariableList":{
2098      "type":"list",
2099      "member":{"shape":"Variable"}
2100    },
2101    "VariablesMaxResults":{
2102      "type":"integer",
2103      "box":true,
2104      "max":100,
2105      "min":50
2106    },
2107    "blob":{"type":"blob"},
2108    "contentType":{
2109      "type":"string",
2110      "max":1024,
2111      "min":1
2112    },
2113    "description":{
2114      "type":"string",
2115      "max":128,
2116      "min":1
2117    },
2118    "entityTypeList":{
2119      "type":"list",
2120      "member":{"shape":"EntityType"}
2121    },
2122    "entityTypesMaxResults":{
2123      "type":"integer",
2124      "box":true,
2125      "max":10,
2126      "min":5
2127    },
2128    "eventTypeList":{
2129      "type":"list",
2130      "member":{"shape":"EventType"}
2131    },
2132    "eventTypesMaxResults":{
2133      "type":"integer",
2134      "box":true,
2135      "max":10,
2136      "min":5
2137    },
2138    "fieldValidationMessageList":{
2139      "type":"list",
2140      "member":{"shape":"FieldValidationMessage"}
2141    },
2142    "fileValidationMessageList":{
2143      "type":"list",
2144      "member":{"shape":"FileValidationMessage"}
2145    },
2146    "float":{"type":"float"},
2147    "floatVersionString":{
2148      "type":"string",
2149      "max":7,
2150      "min":3,
2151      "pattern":"^[1-9][0-9]{0,3}\\.[0-9]{1,2}$"
2152    },
2153    "fraudDetectorArn":{
2154      "type":"string",
2155      "max":256,
2156      "min":1,
2157      "pattern":"^arn\\:aws[a-z-]{0,15}\\:frauddetector\\:[a-z0-9-]{3,20}\\:[0-9]{12}\\:[^\\s]{2,128}$"
2158    },
2159    "iamRoleArn":{
2160      "type":"string",
2161      "max":256,
2162      "min":1,
2163      "pattern":"^arn\\:aws[a-z-]{0,15}\\:iam\\:\\:[0-9]{12}\\:role\\/[^\\s]{2,64}$"
2164    },
2165    "identifier":{
2166      "type":"string",
2167      "max":64,
2168      "min":1,
2169      "pattern":"^[0-9a-z_-]+$"
2170    },
2171    "integer":{"type":"integer"},
2172    "labelList":{
2173      "type":"list",
2174      "member":{"shape":"Label"}
2175    },
2176    "labelMapper":{
2177      "type":"map",
2178      "key":{"shape":"string"},
2179      "value":{"shape":"ListOfStrings"}
2180    },
2181    "labelsMaxResults":{
2182      "type":"integer",
2183      "box":true,
2184      "max":50,
2185      "min":10
2186    },
2187    "listOfEntities":{
2188      "type":"list",
2189      "member":{"shape":"Entity"}
2190    },
2191    "metricDataPointsList":{
2192      "type":"list",
2193      "member":{"shape":"MetricDataPoint"}
2194    },
2195    "modelIdentifier":{
2196      "type":"string",
2197      "max":64,
2198      "min":1,
2199      "pattern":"^[0-9a-z_]+$"
2200    },
2201    "modelList":{
2202      "type":"list",
2203      "member":{"shape":"Model"}
2204    },
2205    "modelVersionDetailList":{
2206      "type":"list",
2207      "member":{"shape":"ModelVersionDetail"}
2208    },
2209    "modelsMaxPageSize":{
2210      "type":"integer",
2211      "box":true,
2212      "max":10,
2213      "min":1
2214    },
2215    "nonEmptyString":{
2216      "type":"string",
2217      "min":1
2218    },
2219    "ruleExpression":{
2220      "type":"string",
2221      "max":4096,
2222      "min":1,
2223      "sensitive":true
2224    },
2225    "s3BucketLocation":{
2226      "type":"string",
2227      "max":512,
2228      "min":1,
2229      "pattern":"^s3:\\/\\/(.+)$"
2230    },
2231    "sageMakerEndpointIdentifier":{
2232      "type":"string",
2233      "max":63,
2234      "min":1,
2235      "pattern":"^[0-9A-Za-z_-]+$"
2236    },
2237    "string":{"type":"string"},
2238    "tagKey":{
2239      "type":"string",
2240      "max":128,
2241      "min":1,
2242      "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
2243    },
2244    "tagKeyList":{
2245      "type":"list",
2246      "member":{"shape":"tagKey"},
2247      "max":50,
2248      "min":0
2249    },
2250    "tagList":{
2251      "type":"list",
2252      "member":{"shape":"Tag"},
2253      "max":200,
2254      "min":0
2255    },
2256    "tagValue":{
2257      "type":"string",
2258      "max":256,
2259      "min":0
2260    },
2261    "time":{"type":"string"},
2262    "variableName":{
2263      "type":"string",
2264      "max":64,
2265      "min":1
2266    },
2267    "variableValue":{
2268      "type":"string",
2269      "max":256,
2270      "min":1,
2271      "sensitive":true
2272    },
2273    "wholeNumberVersionString":{
2274      "type":"string",
2275      "max":5,
2276      "min":1,
2277      "pattern":"^([1-9][0-9]*)$"
2278    }
2279  }
2280}
2281