|
44 | 44 | ],
|
45 | 45 | "documentation":"<p>Gets a batch of variables.</p>"
|
46 | 46 | },
|
| 47 | + "CancelBatchPredictionJob":{ |
| 48 | + "name":"CancelBatchPredictionJob", |
| 49 | + "http":{ |
| 50 | + "method":"POST", |
| 51 | + "requestUri":"/" |
| 52 | + }, |
| 53 | + "input":{"shape":"CancelBatchPredictionJobRequest"}, |
| 54 | + "output":{"shape":"CancelBatchPredictionJobResult"}, |
| 55 | + "errors":[ |
| 56 | + {"shape":"ValidationException"}, |
| 57 | + {"shape":"ResourceNotFoundException"}, |
| 58 | + {"shape":"InternalServerException"}, |
| 59 | + {"shape":"AccessDeniedException"} |
| 60 | + ], |
| 61 | + "documentation":"<p>Cancels the specified batch prediction job.</p>" |
| 62 | + }, |
| 63 | + "CreateBatchPredictionJob":{ |
| 64 | + "name":"CreateBatchPredictionJob", |
| 65 | + "http":{ |
| 66 | + "method":"POST", |
| 67 | + "requestUri":"/" |
| 68 | + }, |
| 69 | + "input":{"shape":"CreateBatchPredictionJobRequest"}, |
| 70 | + "output":{"shape":"CreateBatchPredictionJobResult"}, |
| 71 | + "errors":[ |
| 72 | + {"shape":"ValidationException"}, |
| 73 | + {"shape":"InternalServerException"}, |
| 74 | + {"shape":"AccessDeniedException"} |
| 75 | + ], |
| 76 | + "documentation":"<p>Creates a batch prediction job.</p>" |
| 77 | + }, |
47 | 78 | "CreateDetectorVersion":{
|
48 | 79 | "name":"CreateDetectorVersion",
|
49 | 80 | "http":{
|
|
124 | 155 | ],
|
125 | 156 | "documentation":"<p>Creates a variable.</p>"
|
126 | 157 | },
|
| 158 | + "DeleteBatchPredictionJob":{ |
| 159 | + "name":"DeleteBatchPredictionJob", |
| 160 | + "http":{ |
| 161 | + "method":"POST", |
| 162 | + "requestUri":"/" |
| 163 | + }, |
| 164 | + "input":{"shape":"DeleteBatchPredictionJobRequest"}, |
| 165 | + "output":{"shape":"DeleteBatchPredictionJobResult"}, |
| 166 | + "errors":[ |
| 167 | + {"shape":"ValidationException"}, |
| 168 | + {"shape":"ResourceNotFoundException"}, |
| 169 | + {"shape":"InternalServerException"}, |
| 170 | + {"shape":"AccessDeniedException"} |
| 171 | + ], |
| 172 | + "documentation":"<p>Deletes a batch prediction job.</p>" |
| 173 | + }, |
127 | 174 | "DeleteDetector":{
|
128 | 175 | "name":"DeleteDetector",
|
129 | 176 | "http":{
|
|
355 | 402 | ],
|
356 | 403 | "documentation":"<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>"
|
357 | 404 | },
|
| 405 | + "GetBatchPredictionJobs":{ |
| 406 | + "name":"GetBatchPredictionJobs", |
| 407 | + "http":{ |
| 408 | + "method":"POST", |
| 409 | + "requestUri":"/" |
| 410 | + }, |
| 411 | + "input":{"shape":"GetBatchPredictionJobsRequest"}, |
| 412 | + "output":{"shape":"GetBatchPredictionJobsResult"}, |
| 413 | + "errors":[ |
| 414 | + {"shape":"ValidationException"}, |
| 415 | + {"shape":"ResourceNotFoundException"}, |
| 416 | + {"shape":"InternalServerException"}, |
| 417 | + {"shape":"AccessDeniedException"} |
| 418 | + ], |
| 419 | + "documentation":"<p>Gets all batch prediction jobs or a specific job if you specify a job ID. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 50 records per page. If you provide a maxResults, the value must be between 1 and 50. To get the next page results, provide the pagination token from the GetBatchPredictionJobsResponse as part of your request. A null pagination token fetches the records from the beginning.</p>" |
| 420 | + }, |
358 | 421 | "GetDetectorVersion":{
|
359 | 422 | "name":"GetDetectorVersion",
|
360 | 423 | "http":{
|
|
883 | 946 | "documentation":"<p>An exception indicating Amazon Fraud Detector does not have the needed permissions. This can occur if you submit a request, such as <code>PutExternalModel</code>, that specifies a role that is not in your account.</p>",
|
884 | 947 | "exception":true
|
885 | 948 | },
|
| 949 | + "AsyncJobStatus":{ |
| 950 | + "type":"string", |
| 951 | + "enum":[ |
| 952 | + "IN_PROGRESS_INITIALIZING", |
| 953 | + "IN_PROGRESS", |
| 954 | + "CANCEL_IN_PROGRESS", |
| 955 | + "CANCELED", |
| 956 | + "COMPLETE", |
| 957 | + "FAILED" |
| 958 | + ] |
| 959 | + }, |
886 | 960 | "BatchCreateVariableError":{
|
887 | 961 | "type":"structure",
|
888 | 962 | "members":{
|
|
973 | 1047 | }
|
974 | 1048 | }
|
975 | 1049 | },
|
| 1050 | + "BatchPrediction":{ |
| 1051 | + "type":"structure", |
| 1052 | + "members":{ |
| 1053 | + "jobId":{ |
| 1054 | + "shape":"identifier", |
| 1055 | + "documentation":"<p>The job ID for the batch prediction.</p>" |
| 1056 | + }, |
| 1057 | + "status":{ |
| 1058 | + "shape":"AsyncJobStatus", |
| 1059 | + "documentation":"<p>The batch prediction status.</p>" |
| 1060 | + }, |
| 1061 | + "failureReason":{ |
| 1062 | + "shape":"string", |
| 1063 | + "documentation":"<p>The reason a batch prediction job failed.</p>" |
| 1064 | + }, |
| 1065 | + "startTime":{ |
| 1066 | + "shape":"time", |
| 1067 | + "documentation":"<p>Timestamp of when the batch prediction job started.</p>" |
| 1068 | + }, |
| 1069 | + "completionTime":{ |
| 1070 | + "shape":"time", |
| 1071 | + "documentation":"<p>Timestamp of when the batch prediction job comleted.</p>" |
| 1072 | + }, |
| 1073 | + "lastHeartbeatTime":{ |
| 1074 | + "shape":"time", |
| 1075 | + "documentation":"<p>Timestamp of most recent heartbeat indicating the batch prediction job was making progress.</p>" |
| 1076 | + }, |
| 1077 | + "inputPath":{ |
| 1078 | + "shape":"s3BucketLocation", |
| 1079 | + "documentation":"<p>The Amazon S3 location of your training file.</p>" |
| 1080 | + }, |
| 1081 | + "outputPath":{ |
| 1082 | + "shape":"s3BucketLocation", |
| 1083 | + "documentation":"<p>The Amazon S3 location of your output file.</p>" |
| 1084 | + }, |
| 1085 | + "eventTypeName":{ |
| 1086 | + "shape":"identifier", |
| 1087 | + "documentation":"<p>The name of the event type.</p>" |
| 1088 | + }, |
| 1089 | + "detectorName":{ |
| 1090 | + "shape":"identifier", |
| 1091 | + "documentation":"<p>The name of the detector.</p>" |
| 1092 | + }, |
| 1093 | + "detectorVersion":{ |
| 1094 | + "shape":"floatVersionString", |
| 1095 | + "documentation":"<p>The detector version. </p>" |
| 1096 | + }, |
| 1097 | + "iamRoleArn":{ |
| 1098 | + "shape":"iamRoleArn", |
| 1099 | + "documentation":"<p>The ARN of the IAM role to use for this job request.</p>" |
| 1100 | + }, |
| 1101 | + "arn":{ |
| 1102 | + "shape":"fraudDetectorArn", |
| 1103 | + "documentation":"<p>The ARN of batch prediction job.</p>" |
| 1104 | + }, |
| 1105 | + "processedRecordsCount":{ |
| 1106 | + "shape":"Integer", |
| 1107 | + "documentation":"<p>The number of records processed by the batch prediction job.</p>" |
| 1108 | + }, |
| 1109 | + "totalRecordsCount":{ |
| 1110 | + "shape":"Integer", |
| 1111 | + "documentation":"<p>The total number of records in the batch prediction job.</p>" |
| 1112 | + } |
| 1113 | + }, |
| 1114 | + "documentation":"<p>The batch prediction details.</p>" |
| 1115 | + }, |
| 1116 | + "BatchPredictionList":{ |
| 1117 | + "type":"list", |
| 1118 | + "member":{"shape":"BatchPrediction"} |
| 1119 | + }, |
| 1120 | + "CancelBatchPredictionJobRequest":{ |
| 1121 | + "type":"structure", |
| 1122 | + "required":["jobId"], |
| 1123 | + "members":{ |
| 1124 | + "jobId":{ |
| 1125 | + "shape":"identifier", |
| 1126 | + "documentation":"<p>The ID of the batch prediction job to cancel.</p>" |
| 1127 | + } |
| 1128 | + } |
| 1129 | + }, |
| 1130 | + "CancelBatchPredictionJobResult":{ |
| 1131 | + "type":"structure", |
| 1132 | + "members":{ |
| 1133 | + } |
| 1134 | + }, |
976 | 1135 | "ConflictException":{
|
977 | 1136 | "type":"structure",
|
978 | 1137 | "required":["message"],
|
|
982 | 1141 | "documentation":"<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>DeleteRule: 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>",
|
983 | 1142 | "exception":true
|
984 | 1143 | },
|
| 1144 | + "CreateBatchPredictionJobRequest":{ |
| 1145 | + "type":"structure", |
| 1146 | + "required":[ |
| 1147 | + "jobId", |
| 1148 | + "inputPath", |
| 1149 | + "outputPath", |
| 1150 | + "eventTypeName", |
| 1151 | + "detectorName", |
| 1152 | + "iamRoleArn" |
| 1153 | + ], |
| 1154 | + "members":{ |
| 1155 | + "jobId":{ |
| 1156 | + "shape":"identifier", |
| 1157 | + "documentation":"<p>The ID of the batch prediction job.</p>" |
| 1158 | + }, |
| 1159 | + "inputPath":{ |
| 1160 | + "shape":"s3BucketLocation", |
| 1161 | + "documentation":"<p>The Amazon S3 location of your training file.</p>" |
| 1162 | + }, |
| 1163 | + "outputPath":{ |
| 1164 | + "shape":"s3BucketLocation", |
| 1165 | + "documentation":"<p>The Amazon S3 location of your output file.</p>" |
| 1166 | + }, |
| 1167 | + "eventTypeName":{ |
| 1168 | + "shape":"identifier", |
| 1169 | + "documentation":"<p>The name of the event type.</p>" |
| 1170 | + }, |
| 1171 | + "detectorName":{ |
| 1172 | + "shape":"identifier", |
| 1173 | + "documentation":"<p>The name of the detector.</p>" |
| 1174 | + }, |
| 1175 | + "detectorVersion":{ |
| 1176 | + "shape":"wholeNumberVersionString", |
| 1177 | + "documentation":"<p>The detector version.</p>" |
| 1178 | + }, |
| 1179 | + "iamRoleArn":{ |
| 1180 | + "shape":"iamRoleArn", |
| 1181 | + "documentation":"<p>The ARN of the IAM role to use for this job request.</p>" |
| 1182 | + }, |
| 1183 | + "tags":{ |
| 1184 | + "shape":"tagList", |
| 1185 | + "documentation":"<p>A collection of key and value pairs.</p>" |
| 1186 | + } |
| 1187 | + } |
| 1188 | + }, |
| 1189 | + "CreateBatchPredictionJobResult":{ |
| 1190 | + "type":"structure", |
| 1191 | + "members":{ |
| 1192 | + } |
| 1193 | + }, |
985 | 1194 | "CreateDetectorVersionRequest":{
|
986 | 1195 | "type":"structure",
|
987 | 1196 | "required":[
|
|
1256 | 1465 | },
|
1257 | 1466 | "documentation":"<p>The model training validation messages.</p>"
|
1258 | 1467 | },
|
| 1468 | + "DeleteBatchPredictionJobRequest":{ |
| 1469 | + "type":"structure", |
| 1470 | + "required":["jobId"], |
| 1471 | + "members":{ |
| 1472 | + "jobId":{ |
| 1473 | + "shape":"identifier", |
| 1474 | + "documentation":"<p>The ID of the batch prediction job to delete.</p>" |
| 1475 | + } |
| 1476 | + } |
| 1477 | + }, |
| 1478 | + "DeleteBatchPredictionJobResult":{ |
| 1479 | + "type":"structure", |
| 1480 | + "members":{ |
| 1481 | + } |
| 1482 | + }, |
1259 | 1483 | "DeleteDetectorRequest":{
|
1260 | 1484 | "type":"structure",
|
1261 | 1485 | "required":["detectorId"],
|
|
1831 | 2055 | },
|
1832 | 2056 | "documentation":"<p>The message details.</p>"
|
1833 | 2057 | },
|
| 2058 | + "GetBatchPredictionJobsRequest":{ |
| 2059 | + "type":"structure", |
| 2060 | + "members":{ |
| 2061 | + "jobId":{ |
| 2062 | + "shape":"identifier", |
| 2063 | + "documentation":"<p>The batch prediction job for which to get the details.</p>" |
| 2064 | + }, |
| 2065 | + "maxResults":{ |
| 2066 | + "shape":"batchPredictionsMaxPageSize", |
| 2067 | + "documentation":"<p>The maximum number of objects to return for the request.</p>" |
| 2068 | + }, |
| 2069 | + "nextToken":{ |
| 2070 | + "shape":"string", |
| 2071 | + "documentation":"<p>The next token from the previous request.</p>" |
| 2072 | + } |
| 2073 | + } |
| 2074 | + }, |
| 2075 | + "GetBatchPredictionJobsResult":{ |
| 2076 | + "type":"structure", |
| 2077 | + "members":{ |
| 2078 | + "batchPredictions":{ |
| 2079 | + "shape":"BatchPredictionList", |
| 2080 | + "documentation":"<p>An array containing the details of each batch prediction job.</p>" |
| 2081 | + }, |
| 2082 | + "nextToken":{ |
| 2083 | + "shape":"string", |
| 2084 | + "documentation":"<p>The next token for the subsequent request.</p>" |
| 2085 | + } |
| 2086 | + } |
| 2087 | + }, |
1834 | 2088 | "GetDetectorVersionRequest":{
|
1835 | 2089 | "type":"structure",
|
1836 | 2090 | "required":[
|
|
2306 | 2560 | }
|
2307 | 2561 | }
|
2308 | 2562 | },
|
| 2563 | + "Integer":{"type":"integer"}, |
2309 | 2564 | "InternalServerException":{
|
2310 | 2565 | "type":"structure",
|
2311 | 2566 | "required":["message"],
|
|
3555 | 3810 | "max":100,
|
3556 | 3811 | "min":50
|
3557 | 3812 | },
|
| 3813 | + "batchPredictionsMaxPageSize":{ |
| 3814 | + "type":"integer", |
| 3815 | + "box":true, |
| 3816 | + "max":50, |
| 3817 | + "min":1 |
| 3818 | + }, |
3558 | 3819 | "blob":{"type":"blob"},
|
3559 | 3820 | "contentType":{
|
3560 | 3821 | "type":"string",
|
|
3709 | 3970 | "max":256,
|
3710 | 3971 | "min":0
|
3711 | 3972 | },
|
3712 |
| - "time":{"type":"string"}, |
| 3973 | + "time":{ |
| 3974 | + "type":"string", |
| 3975 | + "max":30, |
| 3976 | + "min":11 |
| 3977 | + }, |
3713 | 3978 | "variableName":{
|
3714 | 3979 | "type":"string",
|
3715 | 3980 | "max":64,
|
|
0 commit comments