aws-sdk-core 2.11.547 → 2.11.548

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.
@@ -23,7 +23,8 @@
23
23
  "errors":[
24
24
  {"shape":"ValidationException"},
25
25
  {"shape":"InternalServerException"},
26
- {"shape":"ThrottlingException"}
26
+ {"shape":"ThrottlingException"},
27
+ {"shape":"AccessDeniedException"}
27
28
  ]
28
29
  },
29
30
  "BatchGetVariable":{
@@ -37,7 +38,8 @@
37
38
  "errors":[
38
39
  {"shape":"ValidationException"},
39
40
  {"shape":"InternalServerException"},
40
- {"shape":"ThrottlingException"}
41
+ {"shape":"ThrottlingException"},
42
+ {"shape":"AccessDeniedException"}
41
43
  ]
42
44
  },
43
45
  "CreateDetectorVersion":{
@@ -52,7 +54,22 @@
52
54
  {"shape":"ValidationException"},
53
55
  {"shape":"ResourceNotFoundException"},
54
56
  {"shape":"InternalServerException"},
55
- {"shape":"ThrottlingException"}
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"}
56
73
  ]
57
74
  },
58
75
  "CreateModelVersion":{
@@ -66,8 +83,8 @@
66
83
  "errors":[
67
84
  {"shape":"ValidationException"},
68
85
  {"shape":"ResourceNotFoundException"},
69
- {"shape":"InternalServerException"},
70
- {"shape":"ThrottlingException"}
86
+ {"shape":"AccessDeniedException"},
87
+ {"shape":"InternalServerException"}
71
88
  ]
72
89
  },
73
90
  "CreateRule":{
@@ -81,7 +98,8 @@
81
98
  "errors":[
82
99
  {"shape":"ValidationException"},
83
100
  {"shape":"InternalServerException"},
84
- {"shape":"ThrottlingException"}
101
+ {"shape":"ThrottlingException"},
102
+ {"shape":"AccessDeniedException"}
85
103
  ]
86
104
  },
87
105
  "CreateVariable":{
@@ -95,7 +113,8 @@
95
113
  "errors":[
96
114
  {"shape":"ValidationException"},
97
115
  {"shape":"InternalServerException"},
98
- {"shape":"ThrottlingException"}
116
+ {"shape":"ThrottlingException"},
117
+ {"shape":"AccessDeniedException"}
99
118
  ]
100
119
  },
101
120
  "DeleteDetector":{
@@ -110,7 +129,8 @@
110
129
  {"shape":"ConflictException"},
111
130
  {"shape":"ValidationException"},
112
131
  {"shape":"InternalServerException"},
113
- {"shape":"ThrottlingException"}
132
+ {"shape":"ThrottlingException"},
133
+ {"shape":"AccessDeniedException"}
114
134
  ]
115
135
  },
116
136
  "DeleteDetectorVersion":{
@@ -126,7 +146,8 @@
126
146
  {"shape":"ResourceNotFoundException"},
127
147
  {"shape":"InternalServerException"},
128
148
  {"shape":"ThrottlingException"},
129
- {"shape":"ConflictException"}
149
+ {"shape":"ConflictException"},
150
+ {"shape":"AccessDeniedException"}
130
151
  ]
131
152
  },
132
153
  "DeleteEvent":{
@@ -139,22 +160,24 @@
139
160
  "output":{"shape":"DeleteEventResult"},
140
161
  "errors":[
141
162
  {"shape":"InternalServerException"},
142
- {"shape":"ThrottlingException"}
163
+ {"shape":"ThrottlingException"},
164
+ {"shape":"AccessDeniedException"}
143
165
  ]
144
166
  },
145
- "DeleteRuleVersion":{
146
- "name":"DeleteRuleVersion",
167
+ "DeleteRule":{
168
+ "name":"DeleteRule",
147
169
  "http":{
148
170
  "method":"POST",
149
171
  "requestUri":"/"
150
172
  },
151
- "input":{"shape":"DeleteRuleVersionRequest"},
152
- "output":{"shape":"DeleteRuleVersionResult"},
173
+ "input":{"shape":"DeleteRuleRequest"},
174
+ "output":{"shape":"DeleteRuleResult"},
153
175
  "errors":[
154
176
  {"shape":"ConflictException"},
155
177
  {"shape":"ValidationException"},
156
178
  {"shape":"InternalServerException"},
157
- {"shape":"ThrottlingException"}
179
+ {"shape":"ThrottlingException"},
180
+ {"shape":"AccessDeniedException"}
158
181
  ]
159
182
  },
160
183
  "DescribeDetector":{
@@ -169,7 +192,8 @@
169
192
  {"shape":"ValidationException"},
170
193
  {"shape":"ResourceNotFoundException"},
171
194
  {"shape":"InternalServerException"},
172
- {"shape":"ThrottlingException"}
195
+ {"shape":"ThrottlingException"},
196
+ {"shape":"AccessDeniedException"}
173
197
  ]
174
198
  },
175
199
  "DescribeModelVersions":{
@@ -184,7 +208,7 @@
184
208
  {"shape":"ValidationException"},
185
209
  {"shape":"ResourceNotFoundException"},
186
210
  {"shape":"InternalServerException"},
187
- {"shape":"ThrottlingException"}
211
+ {"shape":"AccessDeniedException"}
188
212
  ]
189
213
  },
190
214
  "GetDetectorVersion":{
@@ -199,7 +223,8 @@
199
223
  {"shape":"ValidationException"},
200
224
  {"shape":"ResourceNotFoundException"},
201
225
  {"shape":"InternalServerException"},
202
- {"shape":"ThrottlingException"}
226
+ {"shape":"ThrottlingException"},
227
+ {"shape":"AccessDeniedException"}
203
228
  ]
204
229
  },
205
230
  "GetDetectors":{
@@ -214,7 +239,54 @@
214
239
  {"shape":"ValidationException"},
215
240
  {"shape":"ResourceNotFoundException"},
216
241
  {"shape":"InternalServerException"},
217
- {"shape":"ThrottlingException"}
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"}
218
290
  ]
219
291
  },
220
292
  "GetExternalModels":{
@@ -229,7 +301,36 @@
229
301
  {"shape":"ValidationException"},
230
302
  {"shape":"ResourceNotFoundException"},
231
303
  {"shape":"InternalServerException"},
232
- {"shape":"ThrottlingException"}
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"}
233
334
  ]
234
335
  },
235
336
  "GetModelVersion":{
@@ -244,7 +345,7 @@
244
345
  {"shape":"ValidationException"},
245
346
  {"shape":"ResourceNotFoundException"},
246
347
  {"shape":"InternalServerException"},
247
- {"shape":"ThrottlingException"}
348
+ {"shape":"AccessDeniedException"}
248
349
  ]
249
350
  },
250
351
  "GetModels":{
@@ -259,7 +360,7 @@
259
360
  {"shape":"ValidationException"},
260
361
  {"shape":"ResourceNotFoundException"},
261
362
  {"shape":"InternalServerException"},
262
- {"shape":"ThrottlingException"}
363
+ {"shape":"AccessDeniedException"}
263
364
  ]
264
365
  },
265
366
  "GetOutcomes":{
@@ -274,7 +375,8 @@
274
375
  {"shape":"ValidationException"},
275
376
  {"shape":"ResourceNotFoundException"},
276
377
  {"shape":"InternalServerException"},
277
- {"shape":"ThrottlingException"}
378
+ {"shape":"ThrottlingException"},
379
+ {"shape":"AccessDeniedException"}
278
380
  ]
279
381
  },
280
382
  "GetPrediction":{
@@ -289,7 +391,8 @@
289
391
  {"shape":"ValidationException"},
290
392
  {"shape":"ResourceNotFoundException"},
291
393
  {"shape":"InternalServerException"},
292
- {"shape":"ThrottlingException"}
394
+ {"shape":"ThrottlingException"},
395
+ {"shape":"AccessDeniedException"}
293
396
  ]
294
397
  },
295
398
  "GetRules":{
@@ -304,7 +407,8 @@
304
407
  {"shape":"ValidationException"},
305
408
  {"shape":"ResourceNotFoundException"},
306
409
  {"shape":"InternalServerException"},
307
- {"shape":"ThrottlingException"}
410
+ {"shape":"ThrottlingException"},
411
+ {"shape":"AccessDeniedException"}
308
412
  ]
309
413
  },
310
414
  "GetVariables":{
@@ -319,7 +423,22 @@
319
423
  {"shape":"ValidationException"},
320
424
  {"shape":"ResourceNotFoundException"},
321
425
  {"shape":"InternalServerException"},
322
- {"shape":"ThrottlingException"}
426
+ {"shape":"ThrottlingException"},
427
+ {"shape":"AccessDeniedException"}
428
+ ]
429
+ },
430
+ "ListTagsForResource":{
431
+ "name":"ListTagsForResource",
432
+ "http":{
433
+ "method":"POST",
434
+ "requestUri":"/"
435
+ },
436
+ "input":{"shape":"ListTagsForResourceRequest"},
437
+ "output":{"shape":"ListTagsForResourceResult"},
438
+ "errors":[
439
+ {"shape":"ValidationException"},
440
+ {"shape":"ResourceNotFoundException"},
441
+ {"shape":"AccessDeniedException"}
323
442
  ]
324
443
  },
325
444
  "PutDetector":{
@@ -333,7 +452,36 @@
333
452
  "errors":[
334
453
  {"shape":"ValidationException"},
335
454
  {"shape":"InternalServerException"},
336
- {"shape":"ThrottlingException"}
455
+ {"shape":"ThrottlingException"},
456
+ {"shape":"AccessDeniedException"}
457
+ ]
458
+ },
459
+ "PutEntityType":{
460
+ "name":"PutEntityType",
461
+ "http":{
462
+ "method":"POST",
463
+ "requestUri":"/"
464
+ },
465
+ "input":{"shape":"PutEntityTypeRequest"},
466
+ "output":{"shape":"PutEntityTypeResult"},
467
+ "errors":[
468
+ {"shape":"ValidationException"},
469
+ {"shape":"InternalServerException"},
470
+ {"shape":"AccessDeniedException"}
471
+ ]
472
+ },
473
+ "PutEventType":{
474
+ "name":"PutEventType",
475
+ "http":{
476
+ "method":"POST",
477
+ "requestUri":"/"
478
+ },
479
+ "input":{"shape":"PutEventTypeRequest"},
480
+ "output":{"shape":"PutEventTypeResult"},
481
+ "errors":[
482
+ {"shape":"ValidationException"},
483
+ {"shape":"InternalServerException"},
484
+ {"shape":"AccessDeniedException"}
337
485
  ]
338
486
  },
339
487
  "PutExternalModel":{
@@ -347,21 +495,37 @@
347
495
  "errors":[
348
496
  {"shape":"ValidationException"},
349
497
  {"shape":"InternalServerException"},
350
- {"shape":"ThrottlingException"}
498
+ {"shape":"ThrottlingException"},
499
+ {"shape":"AccessDeniedException"}
500
+ ]
501
+ },
502
+ "PutKMSEncryptionKey":{
503
+ "name":"PutKMSEncryptionKey",
504
+ "http":{
505
+ "method":"POST",
506
+ "requestUri":"/"
507
+ },
508
+ "input":{"shape":"PutKMSEncryptionKeyRequest"},
509
+ "output":{"shape":"PutKMSEncryptionKeyResult"},
510
+ "errors":[
511
+ {"shape":"ValidationException"},
512
+ {"shape":"ResourceNotFoundException"},
513
+ {"shape":"InternalServerException"},
514
+ {"shape":"AccessDeniedException"}
351
515
  ]
352
516
  },
353
- "PutModel":{
354
- "name":"PutModel",
517
+ "PutLabel":{
518
+ "name":"PutLabel",
355
519
  "http":{
356
520
  "method":"POST",
357
521
  "requestUri":"/"
358
522
  },
359
- "input":{"shape":"PutModelRequest"},
360
- "output":{"shape":"PutModelResult"},
523
+ "input":{"shape":"PutLabelRequest"},
524
+ "output":{"shape":"PutLabelResult"},
361
525
  "errors":[
362
526
  {"shape":"ValidationException"},
363
527
  {"shape":"InternalServerException"},
364
- {"shape":"ThrottlingException"}
528
+ {"shape":"AccessDeniedException"}
365
529
  ]
366
530
  },
367
531
  "PutOutcome":{
@@ -375,7 +539,36 @@
375
539
  "errors":[
376
540
  {"shape":"ValidationException"},
377
541
  {"shape":"InternalServerException"},
378
- {"shape":"ThrottlingException"}
542
+ {"shape":"ThrottlingException"},
543
+ {"shape":"AccessDeniedException"}
544
+ ]
545
+ },
546
+ "TagResource":{
547
+ "name":"TagResource",
548
+ "http":{
549
+ "method":"POST",
550
+ "requestUri":"/"
551
+ },
552
+ "input":{"shape":"TagResourceRequest"},
553
+ "output":{"shape":"TagResourceResult"},
554
+ "errors":[
555
+ {"shape":"ValidationException"},
556
+ {"shape":"ResourceNotFoundException"},
557
+ {"shape":"AccessDeniedException"}
558
+ ]
559
+ },
560
+ "UntagResource":{
561
+ "name":"UntagResource",
562
+ "http":{
563
+ "method":"POST",
564
+ "requestUri":"/"
565
+ },
566
+ "input":{"shape":"UntagResourceRequest"},
567
+ "output":{"shape":"UntagResourceResult"},
568
+ "errors":[
569
+ {"shape":"ValidationException"},
570
+ {"shape":"ResourceNotFoundException"},
571
+ {"shape":"AccessDeniedException"}
379
572
  ]
380
573
  },
381
574
  "UpdateDetectorVersion":{
@@ -390,7 +583,8 @@
390
583
  {"shape":"ValidationException"},
391
584
  {"shape":"ResourceNotFoundException"},
392
585
  {"shape":"InternalServerException"},
393
- {"shape":"ThrottlingException"}
586
+ {"shape":"ThrottlingException"},
587
+ {"shape":"AccessDeniedException"}
394
588
  ]
395
589
  },
396
590
  "UpdateDetectorVersionMetadata":{
@@ -404,7 +598,8 @@
404
598
  "errors":[
405
599
  {"shape":"ValidationException"},
406
600
  {"shape":"InternalServerException"},
407
- {"shape":"ThrottlingException"}
601
+ {"shape":"ThrottlingException"},
602
+ {"shape":"AccessDeniedException"}
408
603
  ]
409
604
  },
410
605
  "UpdateDetectorVersionStatus":{
@@ -419,7 +614,23 @@
419
614
  {"shape":"ValidationException"},
420
615
  {"shape":"ResourceNotFoundException"},
421
616
  {"shape":"InternalServerException"},
422
- {"shape":"ThrottlingException"}
617
+ {"shape":"ThrottlingException"},
618
+ {"shape":"AccessDeniedException"}
619
+ ]
620
+ },
621
+ "UpdateModel":{
622
+ "name":"UpdateModel",
623
+ "http":{
624
+ "method":"POST",
625
+ "requestUri":"/"
626
+ },
627
+ "input":{"shape":"UpdateModelRequest"},
628
+ "output":{"shape":"UpdateModelResult"},
629
+ "errors":[
630
+ {"shape":"ValidationException"},
631
+ {"shape":"ResourceNotFoundException"},
632
+ {"shape":"InternalServerException"},
633
+ {"shape":"AccessDeniedException"}
423
634
  ]
424
635
  },
425
636
  "UpdateModelVersion":{
@@ -430,11 +641,26 @@
430
641
  },
431
642
  "input":{"shape":"UpdateModelVersionRequest"},
432
643
  "output":{"shape":"UpdateModelVersionResult"},
644
+ "errors":[
645
+ {"shape":"ValidationException"},
646
+ {"shape":"ResourceNotFoundException"},
647
+ {"shape":"AccessDeniedException"},
648
+ {"shape":"InternalServerException"}
649
+ ]
650
+ },
651
+ "UpdateModelVersionStatus":{
652
+ "name":"UpdateModelVersionStatus",
653
+ "http":{
654
+ "method":"POST",
655
+ "requestUri":"/"
656
+ },
657
+ "input":{"shape":"UpdateModelVersionStatusRequest"},
658
+ "output":{"shape":"UpdateModelVersionStatusResult"},
433
659
  "errors":[
434
660
  {"shape":"ValidationException"},
435
661
  {"shape":"ResourceNotFoundException"},
436
662
  {"shape":"InternalServerException"},
437
- {"shape":"ThrottlingException"}
663
+ {"shape":"AccessDeniedException"}
438
664
  ]
439
665
  },
440
666
  "UpdateRuleMetadata":{
@@ -449,7 +675,8 @@
449
675
  {"shape":"ValidationException"},
450
676
  {"shape":"ResourceNotFoundException"},
451
677
  {"shape":"InternalServerException"},
452
- {"shape":"ThrottlingException"}
678
+ {"shape":"ThrottlingException"},
679
+ {"shape":"AccessDeniedException"}
453
680
  ]
454
681
  },
455
682
  "UpdateRuleVersion":{
@@ -464,7 +691,8 @@
464
691
  {"shape":"ValidationException"},
465
692
  {"shape":"ResourceNotFoundException"},
466
693
  {"shape":"InternalServerException"},
467
- {"shape":"ThrottlingException"}
694
+ {"shape":"ThrottlingException"},
695
+ {"shape":"AccessDeniedException"}
468
696
  ]
469
697
  },
470
698
  "UpdateVariable":{
@@ -479,11 +707,20 @@
479
707
  {"shape":"ValidationException"},
480
708
  {"shape":"ResourceNotFoundException"},
481
709
  {"shape":"InternalServerException"},
482
- {"shape":"ThrottlingException"}
710
+ {"shape":"ThrottlingException"},
711
+ {"shape":"AccessDeniedException"}
483
712
  ]
484
713
  }
485
714
  },
486
715
  "shapes":{
716
+ "AccessDeniedException":{
717
+ "type":"structure",
718
+ "required":["message"],
719
+ "members":{
720
+ "message":{"shape":"string"}
721
+ },
722
+ "exception":true
723
+ },
487
724
  "BatchCreateVariableError":{
488
725
  "type":"structure",
489
726
  "members":{
@@ -500,7 +737,8 @@
500
737
  "type":"structure",
501
738
  "required":["variableEntries"],
502
739
  "members":{
503
- "variableEntries":{"shape":"VariableEntryList"}
740
+ "variableEntries":{"shape":"VariableEntryList"},
741
+ "tags":{"shape":"tagList"}
504
742
  }
505
743
  },
506
744
  "BatchCreateVariableResult":{
@@ -555,7 +793,8 @@
555
793
  "externalModelEndpoints":{"shape":"ListOfStrings"},
556
794
  "rules":{"shape":"RuleList"},
557
795
  "modelVersions":{"shape":"ListOfModelVersions"},
558
- "ruleExecutionMode":{"shape":"RuleExecutionMode"}
796
+ "ruleExecutionMode":{"shape":"RuleExecutionMode"},
797
+ "tags":{"shape":"tagList"}
559
798
  }
560
799
  },
561
800
  "CreateDetectorVersionResult":{
@@ -566,16 +805,41 @@
566
805
  "status":{"shape":"DetectorVersionStatus"}
567
806
  }
568
807
  },
808
+ "CreateModelRequest":{
809
+ "type":"structure",
810
+ "required":[
811
+ "modelId",
812
+ "modelType",
813
+ "eventTypeName"
814
+ ],
815
+ "members":{
816
+ "modelId":{"shape":"identifier"},
817
+ "modelType":{"shape":"ModelTypeEnum"},
818
+ "description":{"shape":"description"},
819
+ "eventTypeName":{"shape":"string"},
820
+ "tags":{"shape":"tagList"}
821
+ }
822
+ },
823
+ "CreateModelResult":{
824
+ "type":"structure",
825
+ "members":{
826
+ }
827
+ },
569
828
  "CreateModelVersionRequest":{
570
829
  "type":"structure",
571
830
  "required":[
572
831
  "modelId",
573
- "modelType"
832
+ "modelType",
833
+ "trainingDataSource",
834
+ "trainingDataSchema"
574
835
  ],
575
836
  "members":{
576
837
  "modelId":{"shape":"identifier"},
577
838
  "modelType":{"shape":"ModelTypeEnum"},
578
- "description":{"shape":"description"}
839
+ "trainingDataSource":{"shape":"TrainingDataSourceEnum"},
840
+ "trainingDataSchema":{"shape":"TrainingDataSchema"},
841
+ "externalEventsDetail":{"shape":"ExternalEventsDetail"},
842
+ "tags":{"shape":"tagList"}
579
843
  }
580
844
  },
581
845
  "CreateModelVersionResult":{
@@ -602,7 +866,8 @@
602
866
  "description":{"shape":"description"},
603
867
  "expression":{"shape":"ruleExpression"},
604
868
  "language":{"shape":"Language"},
605
- "outcomes":{"shape":"NonEmptyListOfStrings"}
869
+ "outcomes":{"shape":"NonEmptyListOfStrings"},
870
+ "tags":{"shape":"tagList"}
606
871
  }
607
872
  },
608
873
  "CreateRuleResult":{
@@ -625,7 +890,8 @@
625
890
  "dataSource":{"shape":"DataSource"},
626
891
  "defaultValue":{"shape":"string"},
627
892
  "description":{"shape":"string"},
628
- "variableType":{"shape":"string"}
893
+ "variableType":{"shape":"string"},
894
+ "tags":{"shape":"tagList"}
629
895
  }
630
896
  },
631
897
  "CreateVariableResult":{
@@ -655,6 +921,13 @@
655
921
  "BOOLEAN"
656
922
  ]
657
923
  },
924
+ "DataValidationMetrics":{
925
+ "type":"structure",
926
+ "members":{
927
+ "fileLevelMessages":{"shape":"fileValidationMessageList"},
928
+ "fieldLevelMessages":{"shape":"fieldValidationMessageList"}
929
+ }
930
+ },
658
931
  "DeleteDetectorRequest":{
659
932
  "type":"structure",
660
933
  "required":["detectorId"],
@@ -675,7 +948,7 @@
675
948
  ],
676
949
  "members":{
677
950
  "detectorId":{"shape":"identifier"},
678
- "detectorVersionId":{"shape":"nonEmptyString"}
951
+ "detectorVersionId":{"shape":"wholeNumberVersionString"}
679
952
  }
680
953
  },
681
954
  "DeleteDetectorVersionResult":{
@@ -685,9 +958,13 @@
685
958
  },
686
959
  "DeleteEventRequest":{
687
960
  "type":"structure",
688
- "required":["eventId"],
961
+ "required":[
962
+ "eventId",
963
+ "eventTypeName"
964
+ ],
689
965
  "members":{
690
- "eventId":{"shape":"string"}
966
+ "eventId":{"shape":"string"},
967
+ "eventTypeName":{"shape":"string"}
691
968
  }
692
969
  },
693
970
  "DeleteEventResult":{
@@ -695,20 +972,14 @@
695
972
  "members":{
696
973
  }
697
974
  },
698
- "DeleteRuleVersionRequest":{
975
+ "DeleteRuleRequest":{
699
976
  "type":"structure",
700
- "required":[
701
- "detectorId",
702
- "ruleId",
703
- "ruleVersion"
704
- ],
977
+ "required":["rule"],
705
978
  "members":{
706
- "detectorId":{"shape":"identifier"},
707
- "ruleId":{"shape":"identifier"},
708
- "ruleVersion":{"shape":"nonEmptyString"}
979
+ "rule":{"shape":"Rule"}
709
980
  }
710
981
  },
711
- "DeleteRuleVersionResult":{
982
+ "DeleteRuleResult":{
712
983
  "type":"structure",
713
984
  "members":{
714
985
  }
@@ -727,23 +998,24 @@
727
998
  "members":{
728
999
  "detectorId":{"shape":"identifier"},
729
1000
  "detectorVersionSummaries":{"shape":"DetectorVersionSummaryList"},
730
- "nextToken":{"shape":"string"}
1001
+ "nextToken":{"shape":"string"},
1002
+ "arn":{"shape":"fraudDetectorArn"}
731
1003
  }
732
1004
  },
733
1005
  "DescribeModelVersionsRequest":{
734
1006
  "type":"structure",
735
1007
  "members":{
736
1008
  "modelId":{"shape":"identifier"},
737
- "modelVersionNumber":{"shape":"nonEmptyString"},
1009
+ "modelVersionNumber":{"shape":"floatVersionString"},
738
1010
  "modelType":{"shape":"ModelTypeEnum"},
739
1011
  "nextToken":{"shape":"string"},
740
- "maxResults":{"shape":"MaxResults"}
1012
+ "maxResults":{"shape":"modelsMaxPageSize"}
741
1013
  }
742
1014
  },
743
1015
  "DescribeModelVersionsResult":{
744
1016
  "type":"structure",
745
1017
  "members":{
746
- "modelVersionDetails":{"shape":"ModelVersionDetailList"},
1018
+ "modelVersionDetails":{"shape":"modelVersionDetailList"},
747
1019
  "nextToken":{"shape":"string"}
748
1020
  }
749
1021
  },
@@ -752,8 +1024,10 @@
752
1024
  "members":{
753
1025
  "detectorId":{"shape":"identifier"},
754
1026
  "description":{"shape":"description"},
1027
+ "eventTypeName":{"shape":"identifier"},
755
1028
  "lastUpdatedTime":{"shape":"time"},
756
- "createdTime":{"shape":"time"}
1029
+ "createdTime":{"shape":"time"},
1030
+ "arn":{"shape":"fraudDetectorArn"}
757
1031
  }
758
1032
  },
759
1033
  "DetectorList":{
@@ -793,22 +1067,71 @@
793
1067
  "max":10,
794
1068
  "min":5
795
1069
  },
1070
+ "Entity":{
1071
+ "type":"structure",
1072
+ "members":{
1073
+ "entityType":{"shape":"string"},
1074
+ "entityId":{"shape":"identifier"}
1075
+ }
1076
+ },
1077
+ "EntityType":{
1078
+ "type":"structure",
1079
+ "members":{
1080
+ "name":{"shape":"string"},
1081
+ "description":{"shape":"description"},
1082
+ "lastUpdatedTime":{"shape":"time"},
1083
+ "createdTime":{"shape":"time"},
1084
+ "arn":{"shape":"fraudDetectorArn"}
1085
+ }
1086
+ },
796
1087
  "EventAttributeMap":{
797
1088
  "type":"map",
798
1089
  "key":{"shape":"attributeKey"},
799
1090
  "value":{"shape":"attributeValue"}
800
1091
  },
1092
+ "EventType":{
1093
+ "type":"structure",
1094
+ "members":{
1095
+ "name":{"shape":"string"},
1096
+ "description":{"shape":"description"},
1097
+ "eventVariables":{"shape":"ListOfStrings"},
1098
+ "labels":{"shape":"ListOfStrings"},
1099
+ "entityTypes":{"shape":"NonEmptyListOfStrings"},
1100
+ "lastUpdatedTime":{"shape":"time"},
1101
+ "createdTime":{"shape":"time"},
1102
+ "arn":{"shape":"fraudDetectorArn"}
1103
+ }
1104
+ },
1105
+ "EventVariableMap":{
1106
+ "type":"map",
1107
+ "key":{"shape":"variableName"},
1108
+ "value":{"shape":"variableValue"},
1109
+ "min":1
1110
+ },
1111
+ "ExternalEventsDetail":{
1112
+ "type":"structure",
1113
+ "required":[
1114
+ "dataLocation",
1115
+ "dataAccessRoleArn"
1116
+ ],
1117
+ "members":{
1118
+ "dataLocation":{"shape":"s3BucketLocation"},
1119
+ "dataAccessRoleArn":{"shape":"iamRoleArn"}
1120
+ }
1121
+ },
801
1122
  "ExternalModel":{
802
1123
  "type":"structure",
803
1124
  "members":{
804
1125
  "modelEndpoint":{"shape":"string"},
1126
+ "eventTypeName":{"shape":"identifier"},
805
1127
  "modelSource":{"shape":"ModelSource"},
806
1128
  "role":{"shape":"Role"},
807
1129
  "inputConfiguration":{"shape":"ModelInputConfiguration"},
808
1130
  "outputConfiguration":{"shape":"ModelOutputConfiguration"},
809
1131
  "modelEndpointStatus":{"shape":"ModelEndpointStatus"},
810
1132
  "lastUpdatedTime":{"shape":"time"},
811
- "createdTime":{"shape":"time"}
1133
+ "createdTime":{"shape":"time"},
1134
+ "arn":{"shape":"fraudDetectorArn"}
812
1135
  }
813
1136
  },
814
1137
  "ExternalModelEndpointDataBlobMap":{
@@ -827,6 +1150,24 @@
827
1150
  "max":10,
828
1151
  "min":5
829
1152
  },
1153
+ "FieldValidationMessage":{
1154
+ "type":"structure",
1155
+ "members":{
1156
+ "fieldName":{"shape":"string"},
1157
+ "identifier":{"shape":"string"},
1158
+ "title":{"shape":"string"},
1159
+ "content":{"shape":"string"},
1160
+ "type":{"shape":"string"}
1161
+ }
1162
+ },
1163
+ "FileValidationMessage":{
1164
+ "type":"structure",
1165
+ "members":{
1166
+ "title":{"shape":"string"},
1167
+ "content":{"shape":"string"},
1168
+ "type":{"shape":"string"}
1169
+ }
1170
+ },
830
1171
  "GetDetectorVersionRequest":{
831
1172
  "type":"structure",
832
1173
  "required":[
@@ -835,14 +1176,14 @@
835
1176
  ],
836
1177
  "members":{
837
1178
  "detectorId":{"shape":"identifier"},
838
- "detectorVersionId":{"shape":"nonEmptyString"}
1179
+ "detectorVersionId":{"shape":"wholeNumberVersionString"}
839
1180
  }
840
1181
  },
841
1182
  "GetDetectorVersionResult":{
842
1183
  "type":"structure",
843
1184
  "members":{
844
1185
  "detectorId":{"shape":"identifier"},
845
- "detectorVersionId":{"shape":"nonEmptyString"},
1186
+ "detectorVersionId":{"shape":"wholeNumberVersionString"},
846
1187
  "description":{"shape":"description"},
847
1188
  "externalModelEndpoints":{"shape":"ListOfStrings"},
848
1189
  "modelVersions":{"shape":"ListOfModelVersions"},
@@ -850,7 +1191,8 @@
850
1191
  "status":{"shape":"DetectorVersionStatus"},
851
1192
  "lastUpdatedTime":{"shape":"time"},
852
1193
  "createdTime":{"shape":"time"},
853
- "ruleExecutionMode":{"shape":"RuleExecutionMode"}
1194
+ "ruleExecutionMode":{"shape":"RuleExecutionMode"},
1195
+ "arn":{"shape":"fraudDetectorArn"}
854
1196
  }
855
1197
  },
856
1198
  "GetDetectorsRequest":{
@@ -868,10 +1210,68 @@
868
1210
  "nextToken":{"shape":"string"}
869
1211
  }
870
1212
  },
871
- "GetExternalModelsRequest":{
1213
+ "GetEntityTypesRequest":{
872
1214
  "type":"structure",
873
1215
  "members":{
874
- "modelEndpoint":{"shape":"string"},
1216
+ "name":{"shape":"identifier"},
1217
+ "nextToken":{"shape":"string"},
1218
+ "maxResults":{"shape":"entityTypesMaxResults"}
1219
+ }
1220
+ },
1221
+ "GetEntityTypesResult":{
1222
+ "type":"structure",
1223
+ "members":{
1224
+ "entityTypes":{"shape":"entityTypeList"},
1225
+ "nextToken":{"shape":"string"}
1226
+ }
1227
+ },
1228
+ "GetEventPredictionRequest":{
1229
+ "type":"structure",
1230
+ "required":[
1231
+ "detectorId",
1232
+ "eventId",
1233
+ "eventTypeName",
1234
+ "entities",
1235
+ "eventTimestamp",
1236
+ "eventVariables"
1237
+ ],
1238
+ "members":{
1239
+ "detectorId":{"shape":"string"},
1240
+ "detectorVersionId":{"shape":"string"},
1241
+ "eventId":{"shape":"string"},
1242
+ "eventTypeName":{"shape":"string"},
1243
+ "entities":{"shape":"listOfEntities"},
1244
+ "eventTimestamp":{"shape":"string"},
1245
+ "eventVariables":{"shape":"EventVariableMap"},
1246
+ "externalModelEndpointDataBlobs":{"shape":"ExternalModelEndpointDataBlobMap"}
1247
+ }
1248
+ },
1249
+ "GetEventPredictionResult":{
1250
+ "type":"structure",
1251
+ "members":{
1252
+ "modelScores":{"shape":"ListOfModelScores"},
1253
+ "ruleResults":{"shape":"ListOfRuleResults"}
1254
+ }
1255
+ },
1256
+ "GetEventTypesRequest":{
1257
+ "type":"structure",
1258
+ "members":{
1259
+ "name":{"shape":"identifier"},
1260
+ "nextToken":{"shape":"string"},
1261
+ "maxResults":{"shape":"eventTypesMaxResults"}
1262
+ }
1263
+ },
1264
+ "GetEventTypesResult":{
1265
+ "type":"structure",
1266
+ "members":{
1267
+ "eventTypes":{"shape":"eventTypeList"},
1268
+ "nextToken":{"shape":"string"}
1269
+ }
1270
+ },
1271
+ "GetExternalModelsRequest":{
1272
+ "type":"structure",
1273
+ "members":{
1274
+ "modelEndpoint":{"shape":"string"},
875
1275
  "nextToken":{"shape":"string"},
876
1276
  "maxResults":{"shape":"ExternalModelsMaxResults"}
877
1277
  }
@@ -883,6 +1283,27 @@
883
1283
  "nextToken":{"shape":"string"}
884
1284
  }
885
1285
  },
1286
+ "GetKMSEncryptionKeyResult":{
1287
+ "type":"structure",
1288
+ "members":{
1289
+ "kmsKey":{"shape":"KMSKey"}
1290
+ }
1291
+ },
1292
+ "GetLabelsRequest":{
1293
+ "type":"structure",
1294
+ "members":{
1295
+ "name":{"shape":"identifier"},
1296
+ "nextToken":{"shape":"string"},
1297
+ "maxResults":{"shape":"labelsMaxResults"}
1298
+ }
1299
+ },
1300
+ "GetLabelsResult":{
1301
+ "type":"structure",
1302
+ "members":{
1303
+ "labels":{"shape":"labelList"},
1304
+ "nextToken":{"shape":"string"}
1305
+ }
1306
+ },
886
1307
  "GetModelVersionRequest":{
887
1308
  "type":"structure",
888
1309
  "required":[
@@ -893,7 +1314,7 @@
893
1314
  "members":{
894
1315
  "modelId":{"shape":"identifier"},
895
1316
  "modelType":{"shape":"ModelTypeEnum"},
896
- "modelVersionNumber":{"shape":"nonEmptyString"}
1317
+ "modelVersionNumber":{"shape":"floatVersionString"}
897
1318
  }
898
1319
  },
899
1320
  "GetModelVersionResult":{
@@ -901,25 +1322,28 @@
901
1322
  "members":{
902
1323
  "modelId":{"shape":"identifier"},
903
1324
  "modelType":{"shape":"ModelTypeEnum"},
904
- "modelVersionNumber":{"shape":"nonEmptyString"},
905
- "description":{"shape":"description"},
906
- "status":{"shape":"string"}
1325
+ "modelVersionNumber":{"shape":"floatVersionString"},
1326
+ "trainingDataSource":{"shape":"TrainingDataSourceEnum"},
1327
+ "trainingDataSchema":{"shape":"TrainingDataSchema"},
1328
+ "externalEventsDetail":{"shape":"ExternalEventsDetail"},
1329
+ "status":{"shape":"string"},
1330
+ "arn":{"shape":"fraudDetectorArn"}
907
1331
  }
908
1332
  },
909
1333
  "GetModelsRequest":{
910
1334
  "type":"structure",
911
1335
  "members":{
912
- "modelType":{"shape":"ModelTypeEnum"},
913
1336
  "modelId":{"shape":"identifier"},
1337
+ "modelType":{"shape":"ModelTypeEnum"},
914
1338
  "nextToken":{"shape":"string"},
915
- "maxResults":{"shape":"MaxResults"}
1339
+ "maxResults":{"shape":"modelsMaxPageSize"}
916
1340
  }
917
1341
  },
918
1342
  "GetModelsResult":{
919
1343
  "type":"structure",
920
1344
  "members":{
921
1345
  "nextToken":{"shape":"string"},
922
- "models":{"shape":"ModelList"}
1346
+ "models":{"shape":"modelList"}
923
1347
  }
924
1348
  },
925
1349
  "GetOutcomesRequest":{
@@ -965,7 +1389,7 @@
965
1389
  "members":{
966
1390
  "ruleId":{"shape":"identifier"},
967
1391
  "detectorId":{"shape":"identifier"},
968
- "ruleVersion":{"shape":"nonEmptyString"},
1392
+ "ruleVersion":{"shape":"wholeNumberVersionString"},
969
1393
  "nextToken":{"shape":"string"},
970
1394
  "maxResults":{"shape":"RulesMaxResults"}
971
1395
  }
@@ -1001,26 +1425,38 @@
1001
1425
  "exception":true,
1002
1426
  "fault":true
1003
1427
  },
1004
- "IsOpaque":{"type":"boolean"},
1005
1428
  "JsonKeyToVariableMap":{
1006
1429
  "type":"map",
1007
1430
  "key":{"shape":"string"},
1008
1431
  "value":{"shape":"string"}
1009
1432
  },
1010
- "LabelMapper":{
1011
- "type":"map",
1012
- "key":{"shape":"string"},
1013
- "value":{"shape":"ListOfStrings"}
1433
+ "KMSKey":{
1434
+ "type":"structure",
1435
+ "members":{
1436
+ "kmsEncryptionKeyArn":{"shape":"KmsEncryptionKeyArn"}
1437
+ }
1438
+ },
1439
+ "KmsEncryptionKeyArn":{
1440
+ "type":"string",
1441
+ "max":80,
1442
+ "min":7,
1443
+ "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+"
1444
+ },
1445
+ "Label":{
1446
+ "type":"structure",
1447
+ "members":{
1448
+ "name":{"shape":"string"},
1449
+ "description":{"shape":"description"},
1450
+ "lastUpdatedTime":{"shape":"time"},
1451
+ "createdTime":{"shape":"time"},
1452
+ "arn":{"shape":"fraudDetectorArn"}
1453
+ }
1014
1454
  },
1015
1455
  "LabelSchema":{
1016
1456
  "type":"structure",
1017
- "required":[
1018
- "labelKey",
1019
- "labelMapper"
1020
- ],
1457
+ "required":["labelMapper"],
1021
1458
  "members":{
1022
- "labelKey":{"shape":"string"},
1023
- "labelMapper":{"shape":"LabelMapper"}
1459
+ "labelMapper":{"shape":"labelMapper"}
1024
1460
  }
1025
1461
  },
1026
1462
  "Language":{
@@ -1043,16 +1479,30 @@
1043
1479
  "type":"list",
1044
1480
  "member":{"shape":"string"}
1045
1481
  },
1046
- "MaxResults":{
1047
- "type":"integer",
1048
- "box":true,
1049
- "max":10,
1050
- "min":1
1482
+ "ListTagsForResourceRequest":{
1483
+ "type":"structure",
1484
+ "required":["resourceARN"],
1485
+ "members":{
1486
+ "resourceARN":{"shape":"fraudDetectorArn"},
1487
+ "nextToken":{"shape":"string"},
1488
+ "maxResults":{"shape":"TagsMaxResults"}
1489
+ }
1051
1490
  },
1052
- "MetricsMap":{
1053
- "type":"map",
1054
- "key":{"shape":"string"},
1055
- "value":{"shape":"string"}
1491
+ "ListTagsForResourceResult":{
1492
+ "type":"structure",
1493
+ "members":{
1494
+ "tags":{"shape":"tagList"},
1495
+ "nextToken":{"shape":"string"}
1496
+ }
1497
+ },
1498
+ "MetricDataPoint":{
1499
+ "type":"structure",
1500
+ "members":{
1501
+ "fpr":{"shape":"float"},
1502
+ "precision":{"shape":"float"},
1503
+ "tpr":{"shape":"float"},
1504
+ "threshold":{"shape":"float"}
1505
+ }
1056
1506
  },
1057
1507
  "Model":{
1058
1508
  "type":"structure",
@@ -1060,11 +1510,10 @@
1060
1510
  "modelId":{"shape":"identifier"},
1061
1511
  "modelType":{"shape":"ModelTypeEnum"},
1062
1512
  "description":{"shape":"description"},
1063
- "trainingDataSource":{"shape":"TrainingDataSource"},
1064
- "modelVariables":{"shape":"ModelVariablesList"},
1065
- "labelSchema":{"shape":"LabelSchema"},
1513
+ "eventTypeName":{"shape":"string"},
1514
+ "createdTime":{"shape":"time"},
1066
1515
  "lastUpdatedTime":{"shape":"time"},
1067
- "createdTime":{"shape":"time"}
1516
+ "arn":{"shape":"fraudDetectorArn"}
1068
1517
  }
1069
1518
  },
1070
1519
  "ModelEndpointDataBlob":{
@@ -1083,10 +1532,10 @@
1083
1532
  },
1084
1533
  "ModelInputConfiguration":{
1085
1534
  "type":"structure",
1086
- "required":["isOpaque"],
1535
+ "required":["useEventVariables"],
1087
1536
  "members":{
1088
1537
  "format":{"shape":"ModelInputDataFormat"},
1089
- "isOpaque":{"shape":"IsOpaque"},
1538
+ "useEventVariables":{"shape":"UseEventVariables"},
1090
1539
  "jsonInputTemplate":{"shape":"string"},
1091
1540
  "csvInputTemplate":{"shape":"string"}
1092
1541
  }
@@ -1098,10 +1547,6 @@
1098
1547
  "APPLICATION_JSON"
1099
1548
  ]
1100
1549
  },
1101
- "ModelList":{
1102
- "type":"list",
1103
- "member":{"shape":"Model"}
1104
- },
1105
1550
  "ModelOutputConfiguration":{
1106
1551
  "type":"structure",
1107
1552
  "required":["format"],
@@ -1138,19 +1583,6 @@
1138
1583
  "type":"string",
1139
1584
  "enum":["ONLINE_FRAUD_INSIGHTS"]
1140
1585
  },
1141
- "ModelVariable":{
1142
- "type":"structure",
1143
- "required":["name"],
1144
- "members":{
1145
- "name":{"shape":"string"},
1146
- "index":{"shape":"ModelVariableIndex"}
1147
- }
1148
- },
1149
- "ModelVariableIndex":{"type":"integer"},
1150
- "ModelVariablesList":{
1151
- "type":"list",
1152
- "member":{"shape":"ModelVariable"}
1153
- },
1154
1586
  "ModelVersion":{
1155
1587
  "type":"structure",
1156
1588
  "required":[
@@ -1161,7 +1593,8 @@
1161
1593
  "members":{
1162
1594
  "modelId":{"shape":"identifier"},
1163
1595
  "modelType":{"shape":"ModelTypeEnum"},
1164
- "modelVersionNumber":{"shape":"nonEmptyString"}
1596
+ "modelVersionNumber":{"shape":"nonEmptyString"},
1597
+ "arn":{"shape":"fraudDetectorArn"}
1165
1598
  }
1166
1599
  },
1167
1600
  "ModelVersionDetail":{
@@ -1169,22 +1602,17 @@
1169
1602
  "members":{
1170
1603
  "modelId":{"shape":"identifier"},
1171
1604
  "modelType":{"shape":"ModelTypeEnum"},
1172
- "modelVersionNumber":{"shape":"nonEmptyString"},
1173
- "description":{"shape":"description"},
1605
+ "modelVersionNumber":{"shape":"floatVersionString"},
1174
1606
  "status":{"shape":"string"},
1175
- "trainingDataSource":{"shape":"TrainingDataSource"},
1176
- "modelVariables":{"shape":"ModelVariablesList"},
1177
- "labelSchema":{"shape":"LabelSchema"},
1178
- "validationMetrics":{"shape":"MetricsMap"},
1179
- "trainingMetrics":{"shape":"MetricsMap"},
1607
+ "trainingDataSource":{"shape":"TrainingDataSourceEnum"},
1608
+ "trainingDataSchema":{"shape":"TrainingDataSchema"},
1609
+ "externalEventsDetail":{"shape":"ExternalEventsDetail"},
1610
+ "trainingResult":{"shape":"TrainingResult"},
1180
1611
  "lastUpdatedTime":{"shape":"time"},
1181
- "createdTime":{"shape":"time"}
1612
+ "createdTime":{"shape":"time"},
1613
+ "arn":{"shape":"fraudDetectorArn"}
1182
1614
  }
1183
1615
  },
1184
- "ModelVersionDetailList":{
1185
- "type":"list",
1186
- "member":{"shape":"ModelVersionDetail"}
1187
- },
1188
1616
  "ModelVersionStatus":{
1189
1617
  "type":"string",
1190
1618
  "enum":[
@@ -1195,6 +1623,8 @@
1195
1623
  "ACTIVE",
1196
1624
  "INACTIVATE_IN_PROGRESS",
1197
1625
  "INACTIVE",
1626
+ "DELETE_REQUESTED",
1627
+ "DELETE_IN_PROGRESS",
1198
1628
  "ERROR"
1199
1629
  ]
1200
1630
  },
@@ -1215,7 +1645,8 @@
1215
1645
  "name":{"shape":"identifier"},
1216
1646
  "description":{"shape":"description"},
1217
1647
  "lastUpdatedTime":{"shape":"time"},
1218
- "createdTime":{"shape":"time"}
1648
+ "createdTime":{"shape":"time"},
1649
+ "arn":{"shape":"fraudDetectorArn"}
1219
1650
  }
1220
1651
  },
1221
1652
  "OutcomeList":{
@@ -1230,10 +1661,15 @@
1230
1661
  },
1231
1662
  "PutDetectorRequest":{
1232
1663
  "type":"structure",
1233
- "required":["detectorId"],
1664
+ "required":[
1665
+ "detectorId",
1666
+ "eventTypeName"
1667
+ ],
1234
1668
  "members":{
1235
1669
  "detectorId":{"shape":"identifier"},
1236
- "description":{"shape":"description"}
1670
+ "description":{"shape":"description"},
1671
+ "eventTypeName":{"shape":"identifier"},
1672
+ "tags":{"shape":"tagList"}
1237
1673
  }
1238
1674
  },
1239
1675
  "PutDetectorResult":{
@@ -1241,6 +1677,41 @@
1241
1677
  "members":{
1242
1678
  }
1243
1679
  },
1680
+ "PutEntityTypeRequest":{
1681
+ "type":"structure",
1682
+ "required":["name"],
1683
+ "members":{
1684
+ "name":{"shape":"identifier"},
1685
+ "description":{"shape":"description"},
1686
+ "tags":{"shape":"tagList"}
1687
+ }
1688
+ },
1689
+ "PutEntityTypeResult":{
1690
+ "type":"structure",
1691
+ "members":{
1692
+ }
1693
+ },
1694
+ "PutEventTypeRequest":{
1695
+ "type":"structure",
1696
+ "required":[
1697
+ "name",
1698
+ "eventVariables",
1699
+ "entityTypes"
1700
+ ],
1701
+ "members":{
1702
+ "name":{"shape":"identifier"},
1703
+ "description":{"shape":"description"},
1704
+ "eventVariables":{"shape":"NonEmptyListOfStrings"},
1705
+ "labels":{"shape":"ListOfStrings"},
1706
+ "entityTypes":{"shape":"NonEmptyListOfStrings"},
1707
+ "tags":{"shape":"tagList"}
1708
+ }
1709
+ },
1710
+ "PutEventTypeResult":{
1711
+ "type":"structure",
1712
+ "members":{
1713
+ }
1714
+ },
1244
1715
  "PutExternalModelRequest":{
1245
1716
  "type":"structure",
1246
1717
  "required":[
@@ -1252,12 +1723,14 @@
1252
1723
  "modelEndpointStatus"
1253
1724
  ],
1254
1725
  "members":{
1255
- "modelEndpoint":{"shape":"string"},
1726
+ "modelEndpoint":{"shape":"sageMakerEndpointIdentifier"},
1727
+ "eventTypeName":{"shape":"identifier"},
1256
1728
  "modelSource":{"shape":"ModelSource"},
1257
1729
  "role":{"shape":"Role"},
1258
1730
  "inputConfiguration":{"shape":"ModelInputConfiguration"},
1259
1731
  "outputConfiguration":{"shape":"ModelOutputConfiguration"},
1260
- "modelEndpointStatus":{"shape":"ModelEndpointStatus"}
1732
+ "modelEndpointStatus":{"shape":"ModelEndpointStatus"},
1733
+ "tags":{"shape":"tagList"}
1261
1734
  }
1262
1735
  },
1263
1736
  "PutExternalModelResult":{
@@ -1265,25 +1738,28 @@
1265
1738
  "members":{
1266
1739
  }
1267
1740
  },
1268
- "PutModelRequest":{
1741
+ "PutKMSEncryptionKeyRequest":{
1269
1742
  "type":"structure",
1270
- "required":[
1271
- "modelId",
1272
- "modelType",
1273
- "trainingDataSource",
1274
- "modelVariables",
1275
- "labelSchema"
1276
- ],
1743
+ "required":["kmsEncryptionKeyArn"],
1277
1744
  "members":{
1278
- "modelId":{"shape":"identifier"},
1279
- "modelType":{"shape":"ModelTypeEnum"},
1745
+ "kmsEncryptionKeyArn":{"shape":"KmsEncryptionKeyArn"}
1746
+ }
1747
+ },
1748
+ "PutKMSEncryptionKeyResult":{
1749
+ "type":"structure",
1750
+ "members":{
1751
+ }
1752
+ },
1753
+ "PutLabelRequest":{
1754
+ "type":"structure",
1755
+ "required":["name"],
1756
+ "members":{
1757
+ "name":{"shape":"identifier"},
1280
1758
  "description":{"shape":"description"},
1281
- "trainingDataSource":{"shape":"TrainingDataSource"},
1282
- "modelVariables":{"shape":"ModelVariablesList"},
1283
- "labelSchema":{"shape":"LabelSchema"}
1759
+ "tags":{"shape":"tagList"}
1284
1760
  }
1285
1761
  },
1286
- "PutModelResult":{
1762
+ "PutLabelResult":{
1287
1763
  "type":"structure",
1288
1764
  "members":{
1289
1765
  }
@@ -1293,7 +1769,8 @@
1293
1769
  "required":["name"],
1294
1770
  "members":{
1295
1771
  "name":{"shape":"identifier"},
1296
- "description":{"shape":"description"}
1772
+ "description":{"shape":"description"},
1773
+ "tags":{"shape":"tagList"}
1297
1774
  }
1298
1775
  },
1299
1776
  "PutOutcomeResult":{
@@ -1330,7 +1807,7 @@
1330
1807
  "members":{
1331
1808
  "detectorId":{"shape":"identifier"},
1332
1809
  "ruleId":{"shape":"identifier"},
1333
- "ruleVersion":{"shape":"nonEmptyString"}
1810
+ "ruleVersion":{"shape":"wholeNumberVersionString"}
1334
1811
  }
1335
1812
  },
1336
1813
  "RuleDetail":{
@@ -1339,12 +1816,13 @@
1339
1816
  "ruleId":{"shape":"identifier"},
1340
1817
  "description":{"shape":"description"},
1341
1818
  "detectorId":{"shape":"identifier"},
1342
- "ruleVersion":{"shape":"nonEmptyString"},
1819
+ "ruleVersion":{"shape":"wholeNumberVersionString"},
1343
1820
  "expression":{"shape":"ruleExpression"},
1344
1821
  "language":{"shape":"Language"},
1345
1822
  "outcomes":{"shape":"NonEmptyListOfStrings"},
1346
1823
  "lastUpdatedTime":{"shape":"time"},
1347
- "createdTime":{"shape":"time"}
1824
+ "createdTime":{"shape":"time"},
1825
+ "arn":{"shape":"fraudDetectorArn"}
1348
1826
  }
1349
1827
  },
1350
1828
  "RuleDetailList":{
@@ -1375,6 +1853,39 @@
1375
1853
  "max":100,
1376
1854
  "min":50
1377
1855
  },
1856
+ "Tag":{
1857
+ "type":"structure",
1858
+ "required":[
1859
+ "key",
1860
+ "value"
1861
+ ],
1862
+ "members":{
1863
+ "key":{"shape":"tagKey"},
1864
+ "value":{"shape":"tagValue"}
1865
+ }
1866
+ },
1867
+ "TagResourceRequest":{
1868
+ "type":"structure",
1869
+ "required":[
1870
+ "resourceARN",
1871
+ "tags"
1872
+ ],
1873
+ "members":{
1874
+ "resourceARN":{"shape":"fraudDetectorArn"},
1875
+ "tags":{"shape":"tagList"}
1876
+ }
1877
+ },
1878
+ "TagResourceResult":{
1879
+ "type":"structure",
1880
+ "members":{
1881
+ }
1882
+ },
1883
+ "TagsMaxResults":{
1884
+ "type":"integer",
1885
+ "box":true,
1886
+ "max":50,
1887
+ "min":50
1888
+ },
1378
1889
  "ThrottlingException":{
1379
1890
  "type":"structure",
1380
1891
  "required":["message"],
@@ -1383,15 +1894,49 @@
1383
1894
  },
1384
1895
  "exception":true
1385
1896
  },
1386
- "TrainingDataSource":{
1897
+ "TrainingDataSchema":{
1387
1898
  "type":"structure",
1388
1899
  "required":[
1389
- "dataLocation",
1390
- "dataAccessRoleArn"
1900
+ "modelVariables",
1901
+ "labelSchema"
1391
1902
  ],
1392
1903
  "members":{
1393
- "dataLocation":{"shape":"s3BucketLocation"},
1394
- "dataAccessRoleArn":{"shape":"iamRoleArn"}
1904
+ "modelVariables":{"shape":"ListOfStrings"},
1905
+ "labelSchema":{"shape":"LabelSchema"}
1906
+ }
1907
+ },
1908
+ "TrainingDataSourceEnum":{
1909
+ "type":"string",
1910
+ "enum":["EXTERNAL_EVENTS"]
1911
+ },
1912
+ "TrainingMetrics":{
1913
+ "type":"structure",
1914
+ "members":{
1915
+ "auc":{"shape":"float"},
1916
+ "metricDataPoints":{"shape":"metricDataPointsList"}
1917
+ }
1918
+ },
1919
+ "TrainingResult":{
1920
+ "type":"structure",
1921
+ "members":{
1922
+ "dataValidationMetrics":{"shape":"DataValidationMetrics"},
1923
+ "trainingMetrics":{"shape":"TrainingMetrics"}
1924
+ }
1925
+ },
1926
+ "UntagResourceRequest":{
1927
+ "type":"structure",
1928
+ "required":[
1929
+ "resourceARN",
1930
+ "tagKeys"
1931
+ ],
1932
+ "members":{
1933
+ "resourceARN":{"shape":"fraudDetectorArn"},
1934
+ "tagKeys":{"shape":"tagKeyList"}
1935
+ }
1936
+ },
1937
+ "UntagResourceResult":{
1938
+ "type":"structure",
1939
+ "members":{
1395
1940
  }
1396
1941
  },
1397
1942
  "UpdateDetectorVersionMetadataRequest":{
@@ -1403,7 +1948,7 @@
1403
1948
  ],
1404
1949
  "members":{
1405
1950
  "detectorId":{"shape":"identifier"},
1406
- "detectorVersionId":{"shape":"nonEmptyString"},
1951
+ "detectorVersionId":{"shape":"wholeNumberVersionString"},
1407
1952
  "description":{"shape":"description"}
1408
1953
  }
1409
1954
  },
@@ -1422,7 +1967,7 @@
1422
1967
  ],
1423
1968
  "members":{
1424
1969
  "detectorId":{"shape":"identifier"},
1425
- "detectorVersionId":{"shape":"nonEmptyString"},
1970
+ "detectorVersionId":{"shape":"wholeNumberVersionString"},
1426
1971
  "externalModelEndpoints":{"shape":"ListOfStrings"},
1427
1972
  "rules":{"shape":"RuleList"},
1428
1973
  "description":{"shape":"description"},
@@ -1444,7 +1989,7 @@
1444
1989
  ],
1445
1990
  "members":{
1446
1991
  "detectorId":{"shape":"identifier"},
1447
- "detectorVersionId":{"shape":"nonEmptyString"},
1992
+ "detectorVersionId":{"shape":"wholeNumberVersionString"},
1448
1993
  "status":{"shape":"DetectorVersionStatus"}
1449
1994
  }
1450
1995
  },
@@ -1453,24 +1998,63 @@
1453
1998
  "members":{
1454
1999
  }
1455
2000
  },
2001
+ "UpdateModelRequest":{
2002
+ "type":"structure",
2003
+ "required":[
2004
+ "modelId",
2005
+ "modelType"
2006
+ ],
2007
+ "members":{
2008
+ "modelId":{"shape":"identifier"},
2009
+ "modelType":{"shape":"ModelTypeEnum"},
2010
+ "description":{"shape":"description"}
2011
+ }
2012
+ },
2013
+ "UpdateModelResult":{
2014
+ "type":"structure",
2015
+ "members":{
2016
+ }
2017
+ },
1456
2018
  "UpdateModelVersionRequest":{
2019
+ "type":"structure",
2020
+ "required":[
2021
+ "modelId",
2022
+ "modelType",
2023
+ "majorVersionNumber"
2024
+ ],
2025
+ "members":{
2026
+ "modelId":{"shape":"identifier"},
2027
+ "modelType":{"shape":"ModelTypeEnum"},
2028
+ "majorVersionNumber":{"shape":"wholeNumberVersionString"},
2029
+ "externalEventsDetail":{"shape":"ExternalEventsDetail"},
2030
+ "tags":{"shape":"tagList"}
2031
+ }
2032
+ },
2033
+ "UpdateModelVersionResult":{
2034
+ "type":"structure",
2035
+ "members":{
2036
+ "modelId":{"shape":"identifier"},
2037
+ "modelType":{"shape":"ModelTypeEnum"},
2038
+ "modelVersionNumber":{"shape":"floatVersionString"},
2039
+ "status":{"shape":"string"}
2040
+ }
2041
+ },
2042
+ "UpdateModelVersionStatusRequest":{
1457
2043
  "type":"structure",
1458
2044
  "required":[
1459
2045
  "modelId",
1460
2046
  "modelType",
1461
2047
  "modelVersionNumber",
1462
- "description",
1463
2048
  "status"
1464
2049
  ],
1465
2050
  "members":{
1466
2051
  "modelId":{"shape":"identifier"},
1467
2052
  "modelType":{"shape":"ModelTypeEnum"},
1468
- "modelVersionNumber":{"shape":"nonEmptyString"},
1469
- "description":{"shape":"description"},
2053
+ "modelVersionNumber":{"shape":"floatVersionString"},
1470
2054
  "status":{"shape":"ModelVersionStatus"}
1471
2055
  }
1472
2056
  },
1473
- "UpdateModelVersionResult":{
2057
+ "UpdateModelVersionStatusResult":{
1474
2058
  "type":"structure",
1475
2059
  "members":{
1476
2060
  }
@@ -1504,7 +2088,8 @@
1504
2088
  "description":{"shape":"description"},
1505
2089
  "expression":{"shape":"ruleExpression"},
1506
2090
  "language":{"shape":"Language"},
1507
- "outcomes":{"shape":"NonEmptyListOfStrings"}
2091
+ "outcomes":{"shape":"NonEmptyListOfStrings"},
2092
+ "tags":{"shape":"tagList"}
1508
2093
  }
1509
2094
  },
1510
2095
  "UpdateRuleVersionResult":{
@@ -1528,6 +2113,7 @@
1528
2113
  "members":{
1529
2114
  }
1530
2115
  },
2116
+ "UseEventVariables":{"type":"boolean"},
1531
2117
  "ValidationException":{
1532
2118
  "type":"structure",
1533
2119
  "required":["message"],
@@ -1546,7 +2132,8 @@
1546
2132
  "description":{"shape":"string"},
1547
2133
  "variableType":{"shape":"string"},
1548
2134
  "lastUpdatedTime":{"shape":"time"},
1549
- "createdTime":{"shape":"time"}
2135
+ "createdTime":{"shape":"time"},
2136
+ "arn":{"shape":"fraudDetectorArn"}
1550
2137
  }
1551
2138
  },
1552
2139
  "VariableEntry":{
@@ -1598,12 +2185,50 @@
1598
2185
  "max":128,
1599
2186
  "min":1
1600
2187
  },
2188
+ "entityTypeList":{
2189
+ "type":"list",
2190
+ "member":{"shape":"EntityType"}
2191
+ },
2192
+ "entityTypesMaxResults":{
2193
+ "type":"integer",
2194
+ "box":true,
2195
+ "max":10,
2196
+ "min":5
2197
+ },
2198
+ "eventTypeList":{
2199
+ "type":"list",
2200
+ "member":{"shape":"EventType"}
2201
+ },
2202
+ "eventTypesMaxResults":{
2203
+ "type":"integer",
2204
+ "box":true,
2205
+ "max":10,
2206
+ "min":5
2207
+ },
2208
+ "fieldValidationMessageList":{
2209
+ "type":"list",
2210
+ "member":{"shape":"FieldValidationMessage"}
2211
+ },
2212
+ "fileValidationMessageList":{
2213
+ "type":"list",
2214
+ "member":{"shape":"FileValidationMessage"}
2215
+ },
1601
2216
  "float":{"type":"float"},
2217
+ "floatVersionString":{
2218
+ "type":"string",
2219
+ "pattern":"^[1-9][0-9]{0,3}\\.[0-9]{1,2}$"
2220
+ },
2221
+ "fraudDetectorArn":{
2222
+ "type":"string",
2223
+ "max":256,
2224
+ "min":1,
2225
+ "pattern":"^arn\\:aws[a-z-]{0,15}\\:frauddetector\\:[a-z0-9-]{3,20}\\:[0-9]{12}\\:[^\\s]{2,128}$"
2226
+ },
1602
2227
  "iamRoleArn":{
1603
2228
  "type":"string",
1604
2229
  "max":256,
1605
2230
  "min":1,
1606
- "pattern":"^arn\\:aws\\:iam\\:\\:[0-9]{12}\\:role\\/[^\\s]{2,64}$"
2231
+ "pattern":"^arn\\:aws[a-z-]{0,15}\\:iam\\:\\:[0-9]{12}\\:role\\/[^\\s]{2,64}$"
1607
2232
  },
1608
2233
  "identifier":{
1609
2234
  "type":"string",
@@ -1612,6 +2237,43 @@
1612
2237
  "pattern":"^[0-9a-z_-]+$"
1613
2238
  },
1614
2239
  "integer":{"type":"integer"},
2240
+ "labelList":{
2241
+ "type":"list",
2242
+ "member":{"shape":"Label"}
2243
+ },
2244
+ "labelMapper":{
2245
+ "type":"map",
2246
+ "key":{"shape":"string"},
2247
+ "value":{"shape":"ListOfStrings"}
2248
+ },
2249
+ "labelsMaxResults":{
2250
+ "type":"integer",
2251
+ "box":true,
2252
+ "max":50,
2253
+ "min":10
2254
+ },
2255
+ "listOfEntities":{
2256
+ "type":"list",
2257
+ "member":{"shape":"Entity"}
2258
+ },
2259
+ "metricDataPointsList":{
2260
+ "type":"list",
2261
+ "member":{"shape":"MetricDataPoint"}
2262
+ },
2263
+ "modelList":{
2264
+ "type":"list",
2265
+ "member":{"shape":"Model"}
2266
+ },
2267
+ "modelVersionDetailList":{
2268
+ "type":"list",
2269
+ "member":{"shape":"ModelVersionDetail"}
2270
+ },
2271
+ "modelsMaxPageSize":{
2272
+ "type":"integer",
2273
+ "box":true,
2274
+ "max":10,
2275
+ "min":1
2276
+ },
1615
2277
  "nonEmptyString":{
1616
2278
  "type":"string",
1617
2279
  "min":1
@@ -1619,7 +2281,8 @@
1619
2281
  "ruleExpression":{
1620
2282
  "type":"string",
1621
2283
  "max":4096,
1622
- "min":1
2284
+ "min":1,
2285
+ "sensitive":true
1623
2286
  },
1624
2287
  "s3BucketLocation":{
1625
2288
  "type":"string",
@@ -1627,7 +2290,51 @@
1627
2290
  "min":1,
1628
2291
  "pattern":"^s3:\\/\\/(.+)$"
1629
2292
  },
2293
+ "sageMakerEndpointIdentifier":{
2294
+ "type":"string",
2295
+ "max":63,
2296
+ "min":1,
2297
+ "pattern":"^[0-9A-Za-z_-]+$"
2298
+ },
1630
2299
  "string":{"type":"string"},
1631
- "time":{"type":"string"}
2300
+ "tagKey":{
2301
+ "type":"string",
2302
+ "max":128,
2303
+ "min":1,
2304
+ "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
2305
+ },
2306
+ "tagKeyList":{
2307
+ "type":"list",
2308
+ "member":{"shape":"tagKey"},
2309
+ "max":50,
2310
+ "min":0
2311
+ },
2312
+ "tagList":{
2313
+ "type":"list",
2314
+ "member":{"shape":"Tag"},
2315
+ "max":200,
2316
+ "min":0
2317
+ },
2318
+ "tagValue":{
2319
+ "type":"string",
2320
+ "max":256,
2321
+ "min":0
2322
+ },
2323
+ "time":{"type":"string"},
2324
+ "variableName":{
2325
+ "type":"string",
2326
+ "max":64,
2327
+ "min":1
2328
+ },
2329
+ "variableValue":{
2330
+ "type":"string",
2331
+ "max":256,
2332
+ "min":1,
2333
+ "sensitive":true
2334
+ },
2335
+ "wholeNumberVersionString":{
2336
+ "type":"string",
2337
+ "pattern":"^([1-9][0-9]*)$"
2338
+ }
1632
2339
  }
1633
2340
  }