Skip to content

Commit d9c7b40

Browse files
AWS SDK for RubyNobody
authored andcommitted
Updated service API models for release.
1 parent c4e1f5c commit d9c7b40

File tree

6 files changed

+193
-15
lines changed

6 files changed

+193
-15
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Unreleased Changes
22
------------------
33

4+
* Feature - Aws::FraudDetector - Updated the API, and documentation for Amazon Fraud Detector.
5+
6+
* Feature - Aws::OpsWorksCM - Updated the documentation, and API for AWS OpsWorks CM.
7+
48
2.11.488 (2020-04-16)
59
------------------
610

aws-sdk-core/apis/frauddetector/2019-11-15/api-2.json

Lines changed: 98 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
"output":{"shape":"CreateModelVersionResult"},
6666
"errors":[
6767
{"shape":"ValidationException"},
68+
{"shape":"ResourceNotFoundException"},
6869
{"shape":"InternalServerException"},
6970
{"shape":"ThrottlingException"}
7071
]
@@ -97,6 +98,21 @@
9798
{"shape":"ThrottlingException"}
9899
]
99100
},
101+
"DeleteDetector":{
102+
"name":"DeleteDetector",
103+
"http":{
104+
"method":"POST",
105+
"requestUri":"/"
106+
},
107+
"input":{"shape":"DeleteDetectorRequest"},
108+
"output":{"shape":"DeleteDetectorResult"},
109+
"errors":[
110+
{"shape":"ConflictException"},
111+
{"shape":"ValidationException"},
112+
{"shape":"InternalServerException"},
113+
{"shape":"ThrottlingException"}
114+
]
115+
},
100116
"DeleteDetectorVersion":{
101117
"name":"DeleteDetectorVersion",
102118
"http":{
@@ -109,7 +125,8 @@
109125
{"shape":"ValidationException"},
110126
{"shape":"ResourceNotFoundException"},
111127
{"shape":"InternalServerException"},
112-
{"shape":"ThrottlingException"}
128+
{"shape":"ThrottlingException"},
129+
{"shape":"ConflictException"}
113130
]
114131
},
115132
"DeleteEvent":{
@@ -125,6 +142,21 @@
125142
{"shape":"ThrottlingException"}
126143
]
127144
},
145+
"DeleteRuleVersion":{
146+
"name":"DeleteRuleVersion",
147+
"http":{
148+
"method":"POST",
149+
"requestUri":"/"
150+
},
151+
"input":{"shape":"DeleteRuleVersionRequest"},
152+
"output":{"shape":"DeleteRuleVersionResult"},
153+
"errors":[
154+
{"shape":"ConflictException"},
155+
{"shape":"ValidationException"},
156+
{"shape":"InternalServerException"},
157+
{"shape":"ThrottlingException"}
158+
]
159+
},
128160
"DescribeDetector":{
129161
"name":"DescribeDetector",
130162
"http":{
@@ -503,6 +535,14 @@
503535
"errors":{"shape":"BatchGetVariableErrorList"}
504536
}
505537
},
538+
"ConflictException":{
539+
"type":"structure",
540+
"required":["message"],
541+
"members":{
542+
"message":{"shape":"string"}
543+
},
544+
"exception":true
545+
},
506546
"CreateDetectorVersionRequest":{
507547
"type":"structure",
508548
"required":[
@@ -514,7 +554,8 @@
514554
"description":{"shape":"description"},
515555
"externalModelEndpoints":{"shape":"ListOfStrings"},
516556
"rules":{"shape":"RuleList"},
517-
"modelVersions":{"shape":"ListOfModelVersions"}
557+
"modelVersions":{"shape":"ListOfModelVersions"},
558+
"ruleExecutionMode":{"shape":"RuleExecutionMode"}
518559
}
519560
},
520561
"CreateDetectorVersionResult":{
@@ -614,6 +655,18 @@
614655
"BOOLEAN"
615656
]
616657
},
658+
"DeleteDetectorRequest":{
659+
"type":"structure",
660+
"required":["detectorId"],
661+
"members":{
662+
"detectorId":{"shape":"identifier"}
663+
}
664+
},
665+
"DeleteDetectorResult":{
666+
"type":"structure",
667+
"members":{
668+
}
669+
},
617670
"DeleteDetectorVersionRequest":{
618671
"type":"structure",
619672
"required":[
@@ -642,6 +695,24 @@
642695
"members":{
643696
}
644697
},
698+
"DeleteRuleVersionRequest":{
699+
"type":"structure",
700+
"required":[
701+
"detectorId",
702+
"ruleId",
703+
"ruleVersion"
704+
],
705+
"members":{
706+
"detectorId":{"shape":"identifier"},
707+
"ruleId":{"shape":"identifier"},
708+
"ruleVersion":{"shape":"nonEmptyString"}
709+
}
710+
},
711+
"DeleteRuleVersionResult":{
712+
"type":"structure",
713+
"members":{
714+
}
715+
},
645716
"DescribeDetectorRequest":{
646717
"type":"structure",
647718
"required":["detectorId"],
@@ -778,7 +849,8 @@
778849
"rules":{"shape":"RuleList"},
779850
"status":{"shape":"DetectorVersionStatus"},
780851
"lastUpdatedTime":{"shape":"time"},
781-
"createdTime":{"shape":"time"}
852+
"createdTime":{"shape":"time"},
853+
"ruleExecutionMode":{"shape":"RuleExecutionMode"}
782854
}
783855
},
784856
"GetDetectorsRequest":{
@@ -883,7 +955,8 @@
883955
"type":"structure",
884956
"members":{
885957
"outcomes":{"shape":"ListOfStrings"},
886-
"modelScores":{"shape":"ListOfModelScores"}
958+
"modelScores":{"shape":"ListOfModelScores"},
959+
"ruleResults":{"shape":"ListOfRuleResults"}
887960
}
888961
},
889962
"GetRulesRequest":{
@@ -962,6 +1035,10 @@
9621035
"type":"list",
9631036
"member":{"shape":"ModelVersion"}
9641037
},
1038+
"ListOfRuleResults":{
1039+
"type":"list",
1040+
"member":{"shape":"RuleResult"}
1041+
},
9651042
"ListOfStrings":{
9661043
"type":"list",
9671044
"member":{"shape":"string"}
@@ -1274,10 +1351,24 @@
12741351
"type":"list",
12751352
"member":{"shape":"RuleDetail"}
12761353
},
1354+
"RuleExecutionMode":{
1355+
"type":"string",
1356+
"enum":[
1357+
"ALL_MATCHED",
1358+
"FIRST_MATCHED"
1359+
]
1360+
},
12771361
"RuleList":{
12781362
"type":"list",
12791363
"member":{"shape":"Rule"}
12801364
},
1365+
"RuleResult":{
1366+
"type":"structure",
1367+
"members":{
1368+
"ruleId":{"shape":"string"},
1369+
"outcomes":{"shape":"ListOfStrings"}
1370+
}
1371+
},
12811372
"RulesMaxResults":{
12821373
"type":"integer",
12831374
"box":true,
@@ -1335,7 +1426,8 @@
13351426
"externalModelEndpoints":{"shape":"ListOfStrings"},
13361427
"rules":{"shape":"RuleList"},
13371428
"description":{"shape":"description"},
1338-
"modelVersions":{"shape":"ListOfModelVersions"}
1429+
"modelVersions":{"shape":"ListOfModelVersions"},
1430+
"ruleExecutionMode":{"shape":"RuleExecutionMode"}
13391431
}
13401432
},
13411433
"UpdateDetectorVersionResult":{
@@ -1533,7 +1625,7 @@
15331625
"type":"string",
15341626
"max":512,
15351627
"min":1,
1536-
"pattern":"^s3:\\/\\/[^\\s]+$"
1628+
"pattern":"^s3:\\/\\/(.+)$"
15371629
},
15381630
"string":{"type":"string"},
15391631
"time":{"type":"string"}

aws-sdk-core/apis/frauddetector/2019-11-15/docs-2.json

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88
"CreateModelVersion": "<p>Creates a version of the model using the specified model type. </p>",
99
"CreateRule": "<p>Creates a rule for use with the specified detector. </p>",
1010
"CreateVariable": "<p>Creates a variable.</p>",
11-
"DeleteDetectorVersion": "<p>Deletes the detector version.</p>",
11+
"DeleteDetector": "<p>Deletes the detector. Before deleting a detector, you must first delete all detector versions and rule versions associated with the detector.</p>",
12+
"DeleteDetectorVersion": "<p>Deletes the detector version. You cannot delete detector versions that are in <code>ACTIVE</code> status.</p>",
1213
"DeleteEvent": "<p>Deletes the specified event.</p>",
14+
"DeleteRuleVersion": "<p>Deletes the rule version. You cannot delete a rule version if it is used by an <code>ACTIVE</code> or <code>INACTIVE</code> detector version.</p>",
1315
"DescribeDetector": "<p>Gets all versions for a specified detector.</p>",
1416
"DescribeModelVersions": "<p>Gets all of the model versions for the specified model type or for the specified model type and model ID. You can also get details for a single, specified model version. </p>",
1517
"GetDetectorVersion": "<p>Gets a particular detector version. </p>",
@@ -78,6 +80,11 @@
7880
"refs": {
7981
}
8082
},
83+
"ConflictException": {
84+
"base": "<p>An exception indicating there was a conflict during a delete operation. The following delete operations can cause a conflict exception:</p> <ul> <li> <p>DeleteDetector: A conflict exception will occur if the detector has associated <code>Rules</code> or <code>DetectorVersions</code>. You can only delete a detector if it has no <code>Rules</code> or <code>DetectorVersions</code>.</p> </li> <li> <p>DeleteDetectorVersion: A conflict exception will occur if the <code>DetectorVersion</code> status is <code>ACTIVE</code>.</p> </li> <li> <p>DeleteRuleVersion: A conflict exception will occur if the <code>RuleVersion</code> is in use by an associated <code>ACTIVE</code> or <code>INACTIVE DetectorVersion</code>.</p> </li> </ul>",
85+
"refs": {
86+
}
87+
},
8188
"CreateDetectorVersionRequest": {
8289
"base": null,
8390
"refs": {
@@ -138,6 +145,16 @@
138145
"Variable$dataType": "<p>The data type of the variable.</p>"
139146
}
140147
},
148+
"DeleteDetectorRequest": {
149+
"base": null,
150+
"refs": {
151+
}
152+
},
153+
"DeleteDetectorResult": {
154+
"base": null,
155+
"refs": {
156+
}
157+
},
141158
"DeleteDetectorVersionRequest": {
142159
"base": null,
143160
"refs": {
@@ -158,6 +175,16 @@
158175
"refs": {
159176
}
160177
},
178+
"DeleteRuleVersionRequest": {
179+
"base": null,
180+
"refs": {
181+
}
182+
},
183+
"DeleteRuleVersionResult": {
184+
"base": null,
185+
"refs": {
186+
}
187+
},
161188
"DescribeDetectorRequest": {
162189
"base": null,
163190
"refs": {
@@ -396,13 +423,20 @@
396423
"UpdateDetectorVersionRequest$modelVersions": "<p>The model versions to include in the detector version.</p>"
397424
}
398425
},
426+
"ListOfRuleResults": {
427+
"base": null,
428+
"refs": {
429+
"GetPredictionResult$ruleResults": "<p>The rule results in the prediction.</p>"
430+
}
431+
},
399432
"ListOfStrings": {
400433
"base": null,
401434
"refs": {
402435
"CreateDetectorVersionRequest$externalModelEndpoints": "<p>The Amazon Sagemaker model endpoints to include in the detector version.</p>",
403436
"GetDetectorVersionResult$externalModelEndpoints": "<p>The Amazon SageMaker model endpoints included in the detector version.</p>",
404437
"GetPredictionResult$outcomes": "<p>The prediction outcomes.</p>",
405438
"LabelMapper$value": null,
439+
"RuleResult$outcomes": "<p>The outcomes of the matched rule, based on the rule execution mode.</p>",
406440
"UpdateDetectorVersionRequest$externalModelEndpoints": "<p>The Amazon SageMaker model endpoints to include in the detector version.</p>"
407441
}
408442
},
@@ -657,6 +691,14 @@
657691
"GetRulesResult$ruleDetails": "<p>The details of the requested rule.</p>"
658692
}
659693
},
694+
"RuleExecutionMode": {
695+
"base": null,
696+
"refs": {
697+
"CreateDetectorVersionRequest$ruleExecutionMode": "<p>The rule execution mode for the rules included in the detector version.</p> <p>You can define and edit the rule mode at the detector version level, when it is in draft status.</p> <p>If you specify <code>FIRST_MATCHED</code>, Amazon Fraud Detector evaluates rules sequentially, first to last, stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that single rule.</p> <p>If you specifiy <code>ALL_MATCHED</code>, Amazon Fraud Detector evaluates all rules and returns the outcomes for all matched rules. </p> <p>The default behavior is <code>FIRST_MATCHED</code>.</p>",
698+
"GetDetectorVersionResult$ruleExecutionMode": "<p>The execution mode of the rule in the dectector</p> <p> <code>FIRST_MATCHED</code> indicates that Amazon Fraud Detector evaluates rules sequentially, first to last, stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that single rule.</p> <p> <code>ALL_MATCHED</code> indicates that Amazon Fraud Detector evaluates all rules and returns the outcomes for all matched rules. You can define and edit the rule mode at the detector version level, when it is in draft status.</p>",
699+
"UpdateDetectorVersionRequest$ruleExecutionMode": "<p>The rule execution mode to add to the detector.</p> <p>If you specify <code>FIRST_MATCHED</code>, Amazon Fraud Detector evaluates rules sequentially, first to last, stopping at the first matched rule. Amazon Fraud dectector then provides the outcomes for that single rule.</p> <p>If you specifiy <code>ALL_MATCHED</code>, Amazon Fraud Detector evaluates all rules and returns the outcomes for all matched rules. You can define and edit the rule mode at the detector version level, when it is in draft status.</p> <p>The default behavior is <code>FIRST_MATCHED</code>.</p>"
700+
}
701+
},
660702
"RuleList": {
661703
"base": null,
662704
"refs": {
@@ -665,6 +707,12 @@
665707
"UpdateDetectorVersionRequest$rules": "<p>The rules to include in the detector version.</p>"
666708
}
667709
},
710+
"RuleResult": {
711+
"base": "<p>The rule results.</p>",
712+
"refs": {
713+
"ListOfRuleResults$member": null
714+
}
715+
},
668716
"RulesMaxResults": {
669717
"base": null,
670718
"refs": {
@@ -859,7 +907,10 @@
859907
"CreateModelVersionResult$modelId": "<p>The model ID. </p>",
860908
"CreateRuleRequest$ruleId": "<p>The rule ID.</p>",
861909
"CreateRuleRequest$detectorId": "<p>The detector ID for the rule's parent detector.</p>",
910+
"DeleteDetectorRequest$detectorId": "<p>The ID of the detector to delete.</p>",
862911
"DeleteDetectorVersionRequest$detectorId": "<p>The ID of the parent detector for the detector version to delete.</p>",
912+
"DeleteRuleVersionRequest$detectorId": "<p>The ID of the detector that includes the rule version to delete.</p>",
913+
"DeleteRuleVersionRequest$ruleId": "<p>The rule ID of the rule version to delete.</p>",
863914
"DescribeDetectorRequest$detectorId": "<p>The detector ID.</p>",
864915
"DescribeDetectorResult$detectorId": "<p>The detector ID.</p>",
865916
"DescribeModelVersionsRequest$modelId": "<p>The model ID.</p>",
@@ -903,6 +954,7 @@
903954
"CreateDetectorVersionResult$detectorVersionId": "<p>The ID for the created detector. </p>",
904955
"CreateModelVersionResult$modelVersionNumber": "<p>The version of the model. </p>",
905956
"DeleteDetectorVersionRequest$detectorVersionId": "<p>The ID of the detector version to delete.</p>",
957+
"DeleteRuleVersionRequest$ruleVersion": "<p>The rule version to delete.</p>",
906958
"DescribeModelVersionsRequest$modelVersionNumber": "<p>The model version. </p>",
907959
"DetectorVersionSummary$detectorVersionId": "<p>The detector version ID. </p>",
908960
"GetDetectorVersionRequest$detectorVersionId": "<p>The detector version ID.</p>",
@@ -941,6 +993,7 @@
941993
"BatchCreateVariableError$message": "<p>The error message.</p>",
942994
"BatchGetVariableError$name": "<p>The error name. </p>",
943995
"BatchGetVariableError$message": "<p>The error message.</p>",
996+
"ConflictException$message": null,
944997
"CreateModelVersionResult$status": "<p>The model version status. </p>",
945998
"CreateVariableRequest$name": "<p>The name of the variable.</p>",
946999
"CreateVariableRequest$defaultValue": "<p>The default value for the variable when no value is received.</p>",
@@ -992,6 +1045,7 @@
9921045
"ResourceNotFoundException$message": null,
9931046
"Role$arn": "<p>The role ARN.</p>",
9941047
"Role$name": "<p>The role name.</p>",
1048+
"RuleResult$ruleId": "<p>The rule ID that was matched, based on the rule execution mode.</p>",
9951049
"ThrottlingException$message": null,
9961050
"UpdateVariableRequest$name": "<p>The name of the variable.</p>",
9971051
"UpdateVariableRequest$defaultValue": "<p>The new default value of the variable.</p>",

0 commit comments

Comments
 (0)