1 | import {Request} from '../lib/request';
|
2 | import {Response} from '../lib/response';
|
3 | import {AWSError} from '../lib/error';
|
4 | import {Service} from '../lib/service';
|
5 | import {ServiceConfigurationOptions} from '../lib/service';
|
6 | import {ConfigBase as Config} from '../lib/config';
|
7 | interface Blob {}
|
8 | declare class FraudDetector extends Service {
|
9 | |
10 |
|
11 |
|
12 | constructor(options?: FraudDetector.Types.ClientConfiguration)
|
13 | config: Config & FraudDetector.Types.ClientConfiguration;
|
14 | /**
|
15 | * Creates a batch of variables.
|
16 | */
|
17 | batchCreateVariable(params: FraudDetector.Types.BatchCreateVariableRequest, callback?: (err: AWSError, data: FraudDetector.Types.BatchCreateVariableResult) => void): Request<FraudDetector.Types.BatchCreateVariableResult, AWSError>;
|
18 | /**
|
19 | * Creates a batch of variables.
|
20 | */
|
21 | batchCreateVariable(callback?: (err: AWSError, data: FraudDetector.Types.BatchCreateVariableResult) => void): Request<FraudDetector.Types.BatchCreateVariableResult, AWSError>;
|
22 | /**
|
23 | * Gets a batch of variables.
|
24 | */
|
25 | batchGetVariable(params: FraudDetector.Types.BatchGetVariableRequest, callback?: (err: AWSError, data: FraudDetector.Types.BatchGetVariableResult) => void): Request<FraudDetector.Types.BatchGetVariableResult, AWSError>;
|
26 | /**
|
27 | * Gets a batch of variables.
|
28 | */
|
29 | batchGetVariable(callback?: (err: AWSError, data: FraudDetector.Types.BatchGetVariableResult) => void): Request<FraudDetector.Types.BatchGetVariableResult, AWSError>;
|
30 | /**
|
31 | * Creates a detector version. The detector version starts in a DRAFT status.
|
32 | */
|
33 | createDetectorVersion(params: FraudDetector.Types.CreateDetectorVersionRequest, callback?: (err: AWSError, data: FraudDetector.Types.CreateDetectorVersionResult) => void): Request<FraudDetector.Types.CreateDetectorVersionResult, AWSError>;
|
34 | /**
|
35 | * Creates a detector version. The detector version starts in a DRAFT status.
|
36 | */
|
37 | createDetectorVersion(callback?: (err: AWSError, data: FraudDetector.Types.CreateDetectorVersionResult) => void): Request<FraudDetector.Types.CreateDetectorVersionResult, AWSError>;
|
38 | /**
|
39 | * Creates a version of the model using the specified model type.
|
40 | */
|
41 | createModelVersion(params: FraudDetector.Types.CreateModelVersionRequest, callback?: (err: AWSError, data: FraudDetector.Types.CreateModelVersionResult) => void): Request<FraudDetector.Types.CreateModelVersionResult, AWSError>;
|
42 | /**
|
43 | * Creates a version of the model using the specified model type.
|
44 | */
|
45 | createModelVersion(callback?: (err: AWSError, data: FraudDetector.Types.CreateModelVersionResult) => void): Request<FraudDetector.Types.CreateModelVersionResult, AWSError>;
|
46 | /**
|
47 | * Creates a rule for use with the specified detector.
|
48 | */
|
49 | createRule(params: FraudDetector.Types.CreateRuleRequest, callback?: (err: AWSError, data: FraudDetector.Types.CreateRuleResult) => void): Request<FraudDetector.Types.CreateRuleResult, AWSError>;
|
50 | /**
|
51 | * Creates a rule for use with the specified detector.
|
52 | */
|
53 | createRule(callback?: (err: AWSError, data: FraudDetector.Types.CreateRuleResult) => void): Request<FraudDetector.Types.CreateRuleResult, AWSError>;
|
54 | /**
|
55 | * Creates a variable.
|
56 | */
|
57 | createVariable(params: FraudDetector.Types.CreateVariableRequest, callback?: (err: AWSError, data: FraudDetector.Types.CreateVariableResult) => void): Request<FraudDetector.Types.CreateVariableResult, AWSError>;
|
58 | /**
|
59 | * Creates a variable.
|
60 | */
|
61 | createVariable(callback?: (err: AWSError, data: FraudDetector.Types.CreateVariableResult) => void): Request<FraudDetector.Types.CreateVariableResult, AWSError>;
|
62 | /**
|
63 | * Deletes the detector version.
|
64 | */
|
65 | deleteDetectorVersion(params: FraudDetector.Types.DeleteDetectorVersionRequest, callback?: (err: AWSError, data: FraudDetector.Types.DeleteDetectorVersionResult) => void): Request<FraudDetector.Types.DeleteDetectorVersionResult, AWSError>;
|
66 | /**
|
67 | * Deletes the detector version.
|
68 | */
|
69 | deleteDetectorVersion(callback?: (err: AWSError, data: FraudDetector.Types.DeleteDetectorVersionResult) => void): Request<FraudDetector.Types.DeleteDetectorVersionResult, AWSError>;
|
70 | /**
|
71 | * Deletes the specified event.
|
72 | */
|
73 | deleteEvent(params: FraudDetector.Types.DeleteEventRequest, callback?: (err: AWSError, data: FraudDetector.Types.DeleteEventResult) => void): Request<FraudDetector.Types.DeleteEventResult, AWSError>;
|
74 | /**
|
75 | * Deletes the specified event.
|
76 | */
|
77 | deleteEvent(callback?: (err: AWSError, data: FraudDetector.Types.DeleteEventResult) => void): Request<FraudDetector.Types.DeleteEventResult, AWSError>;
|
78 | /**
|
79 | * Gets all versions for a specified detector.
|
80 | */
|
81 | describeDetector(params: FraudDetector.Types.DescribeDetectorRequest, callback?: (err: AWSError, data: FraudDetector.Types.DescribeDetectorResult) => void): Request<FraudDetector.Types.DescribeDetectorResult, AWSError>;
|
82 | /**
|
83 | * Gets all versions for a specified detector.
|
84 | */
|
85 | describeDetector(callback?: (err: AWSError, data: FraudDetector.Types.DescribeDetectorResult) => void): Request<FraudDetector.Types.DescribeDetectorResult, AWSError>;
|
86 | /**
|
87 | * 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.
|
88 | */
|
89 | describeModelVersions(params: FraudDetector.Types.DescribeModelVersionsRequest, callback?: (err: AWSError, data: FraudDetector.Types.DescribeModelVersionsResult) => void): Request<FraudDetector.Types.DescribeModelVersionsResult, AWSError>;
|
90 | /**
|
91 | * 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.
|
92 | */
|
93 | describeModelVersions(callback?: (err: AWSError, data: FraudDetector.Types.DescribeModelVersionsResult) => void): Request<FraudDetector.Types.DescribeModelVersionsResult, AWSError>;
|
94 | /**
|
95 | * Gets a particular detector version.
|
96 | */
|
97 | getDetectorVersion(params: FraudDetector.Types.GetDetectorVersionRequest, callback?: (err: AWSError, data: FraudDetector.Types.GetDetectorVersionResult) => void): Request<FraudDetector.Types.GetDetectorVersionResult, AWSError>;
|
98 | /**
|
99 | * Gets a particular detector version.
|
100 | */
|
101 | getDetectorVersion(callback?: (err: AWSError, data: FraudDetector.Types.GetDetectorVersionResult) => void): Request<FraudDetector.Types.GetDetectorVersionResult, AWSError>;
|
102 | /**
|
103 | * Gets all of detectors. This is a paginated API. If you provide a null maxSizePerPage, this actions retrieves a maximum of 10 records per page. If you provide a maxSizePerPage, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetEventTypesResponse as part of your request. A null pagination token fetches the records from the beginning.
|
104 | */
|
105 | getDetectors(params: FraudDetector.Types.GetDetectorsRequest, callback?: (err: AWSError, data: FraudDetector.Types.GetDetectorsResult) => void): Request<FraudDetector.Types.GetDetectorsResult, AWSError>;
|
106 | /**
|
107 | * Gets all of detectors. This is a paginated API. If you provide a null maxSizePerPage, this actions retrieves a maximum of 10 records per page. If you provide a maxSizePerPage, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetEventTypesResponse as part of your request. A null pagination token fetches the records from the beginning.
|
108 | */
|
109 | getDetectors(callback?: (err: AWSError, data: FraudDetector.Types.GetDetectorsResult) => void): Request<FraudDetector.Types.GetDetectorsResult, AWSError>;
|
110 | /**
|
111 | * Gets the details for one or more Amazon SageMaker models that have been imported into the service. This is a paginated API. If you provide a null maxSizePerPage, this actions retrieves a maximum of 10 records per page. If you provide a maxSizePerPage, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetExternalModelsResult as part of your request. A null pagination token fetches the records from the beginning.
|
112 | */
|
113 | getExternalModels(params: FraudDetector.Types.GetExternalModelsRequest, callback?: (err: AWSError, data: FraudDetector.Types.GetExternalModelsResult) => void): Request<FraudDetector.Types.GetExternalModelsResult, AWSError>;
|
114 | /**
|
115 | * Gets the details for one or more Amazon SageMaker models that have been imported into the service. This is a paginated API. If you provide a null maxSizePerPage, this actions retrieves a maximum of 10 records per page. If you provide a maxSizePerPage, the value must be between 5 and 10. To get the next page results, provide the pagination token from the GetExternalModelsResult as part of your request. A null pagination token fetches the records from the beginning.
|
116 | */
|
117 | getExternalModels(callback?: (err: AWSError, data: FraudDetector.Types.GetExternalModelsResult) => void): Request<FraudDetector.Types.GetExternalModelsResult, AWSError>;
|
118 | /**
|
119 | * Gets a model version.
|
120 | */
|
121 | getModelVersion(params: FraudDetector.Types.GetModelVersionRequest, callback?: (err: AWSError, data: FraudDetector.Types.GetModelVersionResult) => void): Request<FraudDetector.Types.GetModelVersionResult, AWSError>;
|
122 | /**
|
123 | * Gets a model version.
|
124 | */
|
125 | getModelVersion(callback?: (err: AWSError, data: FraudDetector.Types.GetModelVersionResult) => void): Request<FraudDetector.Types.GetModelVersionResult, AWSError>;
|
126 | /**
|
127 | * Gets all of the models for the AWS account, or the specified model type, or gets a single model for the specified model type, model ID combination.
|
128 | */
|
129 | getModels(params: FraudDetector.Types.GetModelsRequest, callback?: (err: AWSError, data: FraudDetector.Types.GetModelsResult) => void): Request<FraudDetector.Types.GetModelsResult, AWSError>;
|
130 | /**
|
131 | * Gets all of the models for the AWS account, or the specified model type, or gets a single model for the specified model type, model ID combination.
|
132 | */
|
133 | getModels(callback?: (err: AWSError, data: FraudDetector.Types.GetModelsResult) => void): Request<FraudDetector.Types.GetModelsResult, AWSError>;
|
134 | /**
|
135 | * Gets one or more outcomes. This is a paginated API. If you provide a null maxSizePerPage, this actions retrieves a maximum of 10 records per page. If you provide a maxSizePerPage, the value must be between 50 and 100. To get the next page results, provide the pagination token from the GetOutcomesResult as part of your request. A null pagination token fetches the records from the beginning.
|
136 | */
|
137 | getOutcomes(params: FraudDetector.Types.GetOutcomesRequest, callback?: (err: AWSError, data: FraudDetector.Types.GetOutcomesResult) => void): Request<FraudDetector.Types.GetOutcomesResult, AWSError>;
|
138 | /**
|
139 | * Gets one or more outcomes. This is a paginated API. If you provide a null maxSizePerPage, this actions retrieves a maximum of 10 records per page. If you provide a maxSizePerPage, the value must be between 50 and 100. To get the next page results, provide the pagination token from the GetOutcomesResult as part of your request. A null pagination token fetches the records from the beginning.
|
140 | */
|
141 | getOutcomes(callback?: (err: AWSError, data: FraudDetector.Types.GetOutcomesResult) => void): Request<FraudDetector.Types.GetOutcomesResult, AWSError>;
|
142 | /**
|
143 | * Evaluates an event against a detector version. If a version ID is not provided, the detector’s (ACTIVE) version is used.
|
144 | */
|
145 | getPrediction(params: FraudDetector.Types.GetPredictionRequest, callback?: (err: AWSError, data: FraudDetector.Types.GetPredictionResult) => void): Request<FraudDetector.Types.GetPredictionResult, AWSError>;
|
146 | /**
|
147 | * Evaluates an event against a detector version. If a version ID is not provided, the detector’s (ACTIVE) version is used.
|
148 | */
|
149 | getPrediction(callback?: (err: AWSError, data: FraudDetector.Types.GetPredictionResult) => void): Request<FraudDetector.Types.GetPredictionResult, AWSError>;
|
150 | /**
|
151 | * Gets all rules available for the specified detector.
|
152 | */
|
153 | getRules(params: FraudDetector.Types.GetRulesRequest, callback?: (err: AWSError, data: FraudDetector.Types.GetRulesResult) => void): Request<FraudDetector.Types.GetRulesResult, AWSError>;
|
154 | /**
|
155 | * Gets all rules available for the specified detector.
|
156 | */
|
157 | getRules(callback?: (err: AWSError, data: FraudDetector.Types.GetRulesResult) => void): Request<FraudDetector.Types.GetRulesResult, AWSError>;
|
158 | /**
|
159 | * Gets all of the variables or the specific variable. This is a paginated API. Providing null maxSizePerPage results in retrieving maximum of 100 records per page. If you provide maxSizePerPage the value must be between 50 and 100. To get the next page result, a provide a pagination token from GetVariablesResult as part of your request. Null pagination token fetches the records from the beginning.
|
160 | */
|
161 | getVariables(params: FraudDetector.Types.GetVariablesRequest, callback?: (err: AWSError, data: FraudDetector.Types.GetVariablesResult) => void): Request<FraudDetector.Types.GetVariablesResult, AWSError>;
|
162 | /**
|
163 | * Gets all of the variables or the specific variable. This is a paginated API. Providing null maxSizePerPage results in retrieving maximum of 100 records per page. If you provide maxSizePerPage the value must be between 50 and 100. To get the next page result, a provide a pagination token from GetVariablesResult as part of your request. Null pagination token fetches the records from the beginning.
|
164 | */
|
165 | getVariables(callback?: (err: AWSError, data: FraudDetector.Types.GetVariablesResult) => void): Request<FraudDetector.Types.GetVariablesResult, AWSError>;
|
166 | /**
|
167 | * Creates or updates a detector.
|
168 | */
|
169 | putDetector(params: FraudDetector.Types.PutDetectorRequest, callback?: (err: AWSError, data: FraudDetector.Types.PutDetectorResult) => void): Request<FraudDetector.Types.PutDetectorResult, AWSError>;
|
170 | /**
|
171 | * Creates or updates a detector.
|
172 | */
|
173 | putDetector(callback?: (err: AWSError, data: FraudDetector.Types.PutDetectorResult) => void): Request<FraudDetector.Types.PutDetectorResult, AWSError>;
|
174 | /**
|
175 | * Creates or updates an Amazon SageMaker model endpoint. You can also use this action to update the configuration of the model endpoint, including the IAM role and/or the mapped variables.
|
176 | */
|
177 | putExternalModel(params: FraudDetector.Types.PutExternalModelRequest, callback?: (err: AWSError, data: FraudDetector.Types.PutExternalModelResult) => void): Request<FraudDetector.Types.PutExternalModelResult, AWSError>;
|
178 | /**
|
179 | * Creates or updates an Amazon SageMaker model endpoint. You can also use this action to update the configuration of the model endpoint, including the IAM role and/or the mapped variables.
|
180 | */
|
181 | putExternalModel(callback?: (err: AWSError, data: FraudDetector.Types.PutExternalModelResult) => void): Request<FraudDetector.Types.PutExternalModelResult, AWSError>;
|
182 | /**
|
183 | * Creates or updates a model.
|
184 | */
|
185 | putModel(params: FraudDetector.Types.PutModelRequest, callback?: (err: AWSError, data: FraudDetector.Types.PutModelResult) => void): Request<FraudDetector.Types.PutModelResult, AWSError>;
|
186 | /**
|
187 | * Creates or updates a model.
|
188 | */
|
189 | putModel(callback?: (err: AWSError, data: FraudDetector.Types.PutModelResult) => void): Request<FraudDetector.Types.PutModelResult, AWSError>;
|
190 | /**
|
191 | * Creates or updates an outcome.
|
192 | */
|
193 | putOutcome(params: FraudDetector.Types.PutOutcomeRequest, callback?: (err: AWSError, data: FraudDetector.Types.PutOutcomeResult) => void): Request<FraudDetector.Types.PutOutcomeResult, AWSError>;
|
194 | /**
|
195 | * Creates or updates an outcome.
|
196 | */
|
197 | putOutcome(callback?: (err: AWSError, data: FraudDetector.Types.PutOutcomeResult) => void): Request<FraudDetector.Types.PutOutcomeResult, AWSError>;
|
198 | /**
|
199 | * Updates a detector version. The detector version attributes that you can update include models, external model endpoints, rules, and description. You can only update a DRAFT detector version.
|
200 | */
|
201 | updateDetectorVersion(params: FraudDetector.Types.UpdateDetectorVersionRequest, callback?: (err: AWSError, data: FraudDetector.Types.UpdateDetectorVersionResult) => void): Request<FraudDetector.Types.UpdateDetectorVersionResult, AWSError>;
|
202 | /**
|
203 | * Updates a detector version. The detector version attributes that you can update include models, external model endpoints, rules, and description. You can only update a DRAFT detector version.
|
204 | */
|
205 | updateDetectorVersion(callback?: (err: AWSError, data: FraudDetector.Types.UpdateDetectorVersionResult) => void): Request<FraudDetector.Types.UpdateDetectorVersionResult, AWSError>;
|
206 | /**
|
207 | * Updates the detector version's description. You can update the metadata for any detector version (DRAFT, ACTIVE, or INACTIVE).
|
208 | */
|
209 | updateDetectorVersionMetadata(params: FraudDetector.Types.UpdateDetectorVersionMetadataRequest, callback?: (err: AWSError, data: FraudDetector.Types.UpdateDetectorVersionMetadataResult) => void): Request<FraudDetector.Types.UpdateDetectorVersionMetadataResult, AWSError>;
|
210 | /**
|
211 | * Updates the detector version's description. You can update the metadata for any detector version (DRAFT, ACTIVE, or INACTIVE).
|
212 | */
|
213 | updateDetectorVersionMetadata(callback?: (err: AWSError, data: FraudDetector.Types.UpdateDetectorVersionMetadataResult) => void): Request<FraudDetector.Types.UpdateDetectorVersionMetadataResult, AWSError>;
|
214 | /**
|
215 | * Updates the detector version’s status. You can perform the following promotions or demotions using UpdateDetectorVersionStatus: DRAFT to ACTIVE, ACTIVE to INACTIVE, and INACTIVE to ACTIVE.
|
216 | */
|
217 | updateDetectorVersionStatus(params: FraudDetector.Types.UpdateDetectorVersionStatusRequest, callback?: (err: AWSError, data: FraudDetector.Types.UpdateDetectorVersionStatusResult) => void): Request<FraudDetector.Types.UpdateDetectorVersionStatusResult, AWSError>;
|
218 | /**
|
219 | * Updates the detector version’s status. You can perform the following promotions or demotions using UpdateDetectorVersionStatus: DRAFT to ACTIVE, ACTIVE to INACTIVE, and INACTIVE to ACTIVE.
|
220 | */
|
221 | updateDetectorVersionStatus(callback?: (err: AWSError, data: FraudDetector.Types.UpdateDetectorVersionStatusResult) => void): Request<FraudDetector.Types.UpdateDetectorVersionStatusResult, AWSError>;
|
222 | /**
|
223 | * Updates a model version. You can update the description and status attributes using this action. You can perform the following status updates: Change the TRAINING_COMPLETE status to ACTIVE Change ACTIVE back to TRAINING_COMPLETE
|
224 | */
|
225 | updateModelVersion(params: FraudDetector.Types.UpdateModelVersionRequest, callback?: (err: AWSError, data: FraudDetector.Types.UpdateModelVersionResult) => void): Request<FraudDetector.Types.UpdateModelVersionResult, AWSError>;
|
226 | /**
|
227 | * Updates a model version. You can update the description and status attributes using this action. You can perform the following status updates: Change the TRAINING_COMPLETE status to ACTIVE Change ACTIVE back to TRAINING_COMPLETE
|
228 | */
|
229 | updateModelVersion(callback?: (err: AWSError, data: FraudDetector.Types.UpdateModelVersionResult) => void): Request<FraudDetector.Types.UpdateModelVersionResult, AWSError>;
|
230 | /**
|
231 | * Updates a rule's metadata.
|
232 | */
|
233 | updateRuleMetadata(params: FraudDetector.Types.UpdateRuleMetadataRequest, callback?: (err: AWSError, data: FraudDetector.Types.UpdateRuleMetadataResult) => void): Request<FraudDetector.Types.UpdateRuleMetadataResult, AWSError>;
|
234 | /**
|
235 | * Updates a rule's metadata.
|
236 | */
|
237 | updateRuleMetadata(callback?: (err: AWSError, data: FraudDetector.Types.UpdateRuleMetadataResult) => void): Request<FraudDetector.Types.UpdateRuleMetadataResult, AWSError>;
|
238 | /**
|
239 | * Updates a rule version resulting in a new rule version.
|
240 | */
|
241 | updateRuleVersion(params: FraudDetector.Types.UpdateRuleVersionRequest, callback?: (err: AWSError, data: FraudDetector.Types.UpdateRuleVersionResult) => void): Request<FraudDetector.Types.UpdateRuleVersionResult, AWSError>;
|
242 | /**
|
243 | * Updates a rule version resulting in a new rule version.
|
244 | */
|
245 | updateRuleVersion(callback?: (err: AWSError, data: FraudDetector.Types.UpdateRuleVersionResult) => void): Request<FraudDetector.Types.UpdateRuleVersionResult, AWSError>;
|
246 | /**
|
247 | * Updates a variable.
|
248 | */
|
249 | updateVariable(params: FraudDetector.Types.UpdateVariableRequest, callback?: (err: AWSError, data: FraudDetector.Types.UpdateVariableResult) => void): Request<FraudDetector.Types.UpdateVariableResult, AWSError>;
|
250 | /**
|
251 | * Updates a variable.
|
252 | */
|
253 | updateVariable(callback?: (err: AWSError, data: FraudDetector.Types.UpdateVariableResult) => void): Request<FraudDetector.Types.UpdateVariableResult, AWSError>;
|
254 | }
|
255 | declare namespace FraudDetector {
|
256 | export interface BatchCreateVariableError {
|
257 | |
258 |
|
259 |
|
260 | name?: string;
|
261 | |
262 |
|
263 |
|
264 | code?: integer;
|
265 | |
266 |
|
267 |
|
268 | message?: string;
|
269 | }
|
270 | export type BatchCreateVariableErrorList = BatchCreateVariableError[];
|
271 | export interface BatchCreateVariableRequest {
|
272 | |
273 |
|
274 |
|
275 | variableEntries: VariableEntryList;
|
276 | }
|
277 | export interface BatchCreateVariableResult {
|
278 | |
279 |
|
280 |
|
281 | errors?: BatchCreateVariableErrorList;
|
282 | }
|
283 | export interface BatchGetVariableError {
|
284 | |
285 |
|
286 |
|
287 | name?: string;
|
288 | |
289 |
|
290 |
|
291 | code?: integer;
|
292 | |
293 |
|
294 |
|
295 | message?: string;
|
296 | }
|
297 | export type BatchGetVariableErrorList = BatchGetVariableError[];
|
298 | export interface BatchGetVariableRequest {
|
299 | |
300 |
|
301 |
|
302 | names: NameList;
|
303 | }
|
304 | export interface BatchGetVariableResult {
|
305 | |
306 |
|
307 |
|
308 | variables?: VariableList;
|
309 | |
310 |
|
311 |
|
312 | errors?: BatchGetVariableErrorList;
|
313 | }
|
314 | export interface CreateDetectorVersionRequest {
|
315 | |
316 |
|
317 |
|
318 | detectorId: identifier;
|
319 | |
320 |
|
321 |
|
322 | description?: description;
|
323 | |
324 |
|
325 |
|
326 | externalModelEndpoints?: ListOfStrings;
|
327 | |
328 |
|
329 |
|
330 | rules: RuleList;
|
331 | |
332 |
|
333 |
|
334 | modelVersions?: ListOfModelVersions;
|
335 | }
|
336 | export interface CreateDetectorVersionResult {
|
337 | |
338 |
|
339 |
|
340 | detectorId?: identifier;
|
341 | |
342 |
|
343 |
|
344 | detectorVersionId?: nonEmptyString;
|
345 | |
346 |
|
347 |
|
348 | status?: DetectorVersionStatus;
|
349 | }
|
350 | export interface CreateModelVersionRequest {
|
351 | |
352 |
|
353 |
|
354 | modelId: identifier;
|
355 | |
356 |
|
357 |
|
358 | modelType: ModelTypeEnum;
|
359 | |
360 |
|
361 |
|
362 | description?: description;
|
363 | }
|
364 | export interface CreateModelVersionResult {
|
365 | |
366 |
|
367 |
|
368 | modelId?: identifier;
|
369 | |
370 |
|
371 |
|
372 | modelType?: ModelTypeEnum;
|
373 | |
374 |
|
375 |
|
376 | modelVersionNumber?: nonEmptyString;
|
377 | |
378 |
|
379 |
|
380 | status?: string;
|
381 | }
|
382 | export interface CreateRuleRequest {
|
383 | |
384 |
|
385 |
|
386 | ruleId: identifier;
|
387 | |
388 |
|
389 |
|
390 | detectorId: identifier;
|
391 | |
392 |
|
393 |
|
394 | description?: description;
|
395 | |
396 |
|
397 |
|
398 | expression: ruleExpression;
|
399 | |
400 |
|
401 |
|
402 | language: Language;
|
403 | |
404 |
|
405 |
|
406 | outcomes: NonEmptyListOfStrings;
|
407 | }
|
408 | export interface CreateRuleResult {
|
409 | |
410 |
|
411 |
|
412 | rule?: Rule;
|
413 | }
|
414 | export interface CreateVariableRequest {
|
415 | |
416 |
|
417 |
|
418 | name: string;
|
419 | |
420 |
|
421 |
|
422 | dataType: DataType;
|
423 | |
424 |
|
425 |
|
426 | dataSource: DataSource;
|
427 | |
428 |
|
429 |
|
430 | defaultValue: string;
|
431 | |
432 |
|
433 |
|
434 | description?: string;
|
435 | |
436 |
|
437 |
|
438 | variableType?: string;
|
439 | }
|
440 | export interface CreateVariableResult {
|
441 | }
|
442 | export type CsvIndexToVariableMap = {[key: string]: string};
|
443 | export type DataSource = "EVENT"|"MODEL_SCORE"|"EXTERNAL_MODEL_SCORE"|string;
|
444 | export type DataType = "STRING"|"INTEGER"|"FLOAT"|"BOOLEAN"|string;
|
445 | export interface DeleteDetectorVersionRequest {
|
446 | |
447 |
|
448 |
|
449 | detectorId: identifier;
|
450 | |
451 |
|
452 |
|
453 | detectorVersionId: nonEmptyString;
|
454 | }
|
455 | export interface DeleteDetectorVersionResult {
|
456 | }
|
457 | export interface DeleteEventRequest {
|
458 | |
459 |
|
460 |
|
461 | eventId: string;
|
462 | }
|
463 | export interface DeleteEventResult {
|
464 | }
|
465 | export interface DescribeDetectorRequest {
|
466 | |
467 |
|
468 |
|
469 | detectorId: identifier;
|
470 | |
471 |
|
472 |
|
473 | nextToken?: string;
|
474 | |
475 |
|
476 |
|
477 | maxResults?: DetectorVersionMaxResults;
|
478 | }
|
479 | export interface DescribeDetectorResult {
|
480 | |
481 |
|
482 |
|
483 | detectorId?: identifier;
|
484 | |
485 |
|
486 |
|
487 | detectorVersionSummaries?: DetectorVersionSummaryList;
|
488 | |
489 |
|
490 |
|
491 | nextToken?: string;
|
492 | }
|
493 | export interface DescribeModelVersionsRequest {
|
494 | |
495 |
|
496 |
|
497 | modelId?: identifier;
|
498 | |
499 |
|
500 |
|
501 | modelVersionNumber?: nonEmptyString;
|
502 | |
503 |
|
504 |
|
505 | modelType?: ModelTypeEnum;
|
506 | |
507 |
|
508 |
|
509 | nextToken?: string;
|
510 | |
511 |
|
512 |
|
513 | maxResults?: MaxResults;
|
514 | }
|
515 | export interface DescribeModelVersionsResult {
|
516 | |
517 |
|
518 |
|
519 | modelVersionDetails?: ModelVersionDetailList;
|
520 | |
521 |
|
522 |
|
523 | nextToken?: string;
|
524 | }
|
525 | export interface Detector {
|
526 | |
527 |
|
528 |
|
529 | detectorId?: identifier;
|
530 | |
531 |
|
532 |
|
533 | description?: description;
|
534 | |
535 |
|
536 |
|
537 | lastUpdatedTime?: time;
|
538 | |
539 |
|
540 |
|
541 | createdTime?: time;
|
542 | }
|
543 | export type DetectorList = Detector[];
|
544 | export type DetectorVersionMaxResults = number;
|
545 | export type DetectorVersionStatus = "DRAFT"|"ACTIVE"|"INACTIVE"|string;
|
546 | export interface DetectorVersionSummary {
|
547 | |
548 |
|
549 |
|
550 | detectorVersionId?: nonEmptyString;
|
551 | |
552 |
|
553 |
|
554 | status?: DetectorVersionStatus;
|
555 | |
556 |
|
557 |
|
558 | description?: description;
|
559 | |
560 |
|
561 |
|
562 | lastUpdatedTime?: time;
|
563 | }
|
564 | export type DetectorVersionSummaryList = DetectorVersionSummary[];
|
565 | export type DetectorsMaxResults = number;
|
566 | export type EventAttributeMap = {[key: string]: attributeValue};
|
567 | export interface ExternalModel {
|
568 | |
569 |
|
570 |
|
571 | modelEndpoint?: string;
|
572 | |
573 |
|
574 |
|
575 | modelSource?: ModelSource;
|
576 | |
577 |
|
578 |
|
579 | role?: Role;
|
580 | |
581 |
|
582 |
|
583 | inputConfiguration?: ModelInputConfiguration;
|
584 | |
585 |
|
586 |
|
587 | outputConfiguration?: ModelOutputConfiguration;
|
588 | |
589 |
|
590 |
|
591 | modelEndpointStatus?: ModelEndpointStatus;
|
592 | |
593 |
|
594 |
|
595 | lastUpdatedTime?: time;
|
596 | |
597 |
|
598 |
|
599 | createdTime?: time;
|
600 | }
|
601 | export type ExternalModelEndpointDataBlobMap = {[key: string]: ModelEndpointDataBlob};
|
602 | export type ExternalModelList = ExternalModel[];
|
603 | export type ExternalModelsMaxResults = number;
|
604 | export interface GetDetectorVersionRequest {
|
605 | |
606 |
|
607 |
|
608 | detectorId: identifier;
|
609 | |
610 |
|
611 |
|
612 | detectorVersionId: nonEmptyString;
|
613 | }
|
614 | export interface GetDetectorVersionResult {
|
615 | |
616 |
|
617 |
|
618 | detectorId?: identifier;
|
619 | |
620 |
|
621 |
|
622 | detectorVersionId?: nonEmptyString;
|
623 | |
624 |
|
625 |
|
626 | description?: description;
|
627 | |
628 |
|
629 |
|
630 | externalModelEndpoints?: ListOfStrings;
|
631 | |
632 |
|
633 |
|
634 | modelVersions?: ListOfModelVersions;
|
635 | |
636 |
|
637 |
|
638 | rules?: RuleList;
|
639 | |
640 |
|
641 |
|
642 | status?: DetectorVersionStatus;
|
643 | |
644 |
|
645 |
|
646 | lastUpdatedTime?: time;
|
647 | |
648 |
|
649 |
|
650 | createdTime?: time;
|
651 | }
|
652 | export interface GetDetectorsRequest {
|
653 | |
654 |
|
655 |
|
656 | detectorId?: identifier;
|
657 | |
658 |
|
659 |
|
660 | nextToken?: string;
|
661 | |
662 |
|
663 |
|
664 | maxResults?: DetectorsMaxResults;
|
665 | }
|
666 | export interface GetDetectorsResult {
|
667 | |
668 |
|
669 |
|
670 | detectors?: DetectorList;
|
671 | |
672 |
|
673 |
|
674 | nextToken?: string;
|
675 | }
|
676 | export interface GetExternalModelsRequest {
|
677 | |
678 |
|
679 |
|
680 | modelEndpoint?: string;
|
681 | |
682 |
|
683 |
|
684 | nextToken?: string;
|
685 | |
686 |
|
687 |
|
688 | maxResults?: ExternalModelsMaxResults;
|
689 | }
|
690 | export interface GetExternalModelsResult {
|
691 | |
692 |
|
693 |
|
694 | externalModels?: ExternalModelList;
|
695 | |
696 |
|
697 |
|
698 | nextToken?: string;
|
699 | }
|
700 | export interface GetModelVersionRequest {
|
701 | |
702 |
|
703 |
|
704 | modelId: identifier;
|
705 | |
706 |
|
707 |
|
708 | modelType: ModelTypeEnum;
|
709 | |
710 |
|
711 |
|
712 | modelVersionNumber: nonEmptyString;
|
713 | }
|
714 | export interface GetModelVersionResult {
|
715 | |
716 |
|
717 |
|
718 | modelId?: identifier;
|
719 | |
720 |
|
721 |
|
722 | modelType?: ModelTypeEnum;
|
723 | |
724 |
|
725 |
|
726 | modelVersionNumber?: nonEmptyString;
|
727 | |
728 |
|
729 |
|
730 | description?: description;
|
731 | |
732 |
|
733 |
|
734 | status?: string;
|
735 | }
|
736 | export interface GetModelsRequest {
|
737 | |
738 |
|
739 |
|
740 | modelType?: ModelTypeEnum;
|
741 | |
742 |
|
743 |
|
744 | modelId?: identifier;
|
745 | |
746 |
|
747 |
|
748 | nextToken?: string;
|
749 | |
750 |
|
751 |
|
752 | maxResults?: MaxResults;
|
753 | }
|
754 | export interface GetModelsResult {
|
755 | |
756 |
|
757 |
|
758 | nextToken?: string;
|
759 | |
760 |
|
761 |
|
762 | models?: ModelList;
|
763 | }
|
764 | export interface GetOutcomesRequest {
|
765 | |
766 |
|
767 |
|
768 | name?: identifier;
|
769 | |
770 |
|
771 |
|
772 | nextToken?: string;
|
773 | |
774 |
|
775 |
|
776 | maxResults?: OutcomesMaxResults;
|
777 | }
|
778 | export interface GetOutcomesResult {
|
779 | |
780 |
|
781 |
|
782 | outcomes?: OutcomeList;
|
783 | |
784 |
|
785 |
|
786 | nextToken?: string;
|
787 | }
|
788 | export interface GetPredictionRequest {
|
789 | |
790 |
|
791 |
|
792 | detectorId: string;
|
793 | |
794 |
|
795 |
|
796 | detectorVersionId?: string;
|
797 | |
798 |
|
799 |
|
800 | eventId: string;
|
801 | |
802 |
|
803 |
|
804 | eventAttributes?: EventAttributeMap;
|
805 | |
806 |
|
807 |
|
808 | externalModelEndpointDataBlobs?: ExternalModelEndpointDataBlobMap;
|
809 | }
|
810 | export interface GetPredictionResult {
|
811 | |
812 |
|
813 |
|
814 | outcomes?: ListOfStrings;
|
815 | |
816 |
|
817 |
|
818 | modelScores?: ListOfModelScores;
|
819 | }
|
820 | export interface GetRulesRequest {
|
821 | |
822 |
|
823 |
|
824 | ruleId?: identifier;
|
825 | |
826 |
|
827 |
|
828 | detectorId: identifier;
|
829 | |
830 |
|
831 |
|
832 | ruleVersion?: nonEmptyString;
|
833 | |
834 |
|
835 |
|
836 | nextToken?: string;
|
837 | |
838 |
|
839 |
|
840 | maxResults?: RulesMaxResults;
|
841 | }
|
842 | export interface GetRulesResult {
|
843 | |
844 |
|
845 |
|
846 | ruleDetails?: RuleDetailList;
|
847 | |
848 |
|
849 |
|
850 | nextToken?: string;
|
851 | }
|
852 | export interface GetVariablesRequest {
|
853 | |
854 |
|
855 |
|
856 | name?: string;
|
857 | |
858 |
|
859 |
|
860 | nextToken?: string;
|
861 | |
862 |
|
863 |
|
864 | maxResults?: VariablesMaxResults;
|
865 | }
|
866 | export interface GetVariablesResult {
|
867 | |
868 |
|
869 |
|
870 | variables?: VariableList;
|
871 | |
872 |
|
873 |
|
874 | nextToken?: string;
|
875 | }
|
876 | export type IsOpaque = boolean;
|
877 | export type JsonKeyToVariableMap = {[key: string]: string};
|
878 | export type LabelMapper = {[key: string]: ListOfStrings};
|
879 | export interface LabelSchema {
|
880 | |
881 |
|
882 |
|
883 | labelKey: string;
|
884 | |
885 |
|
886 |
|
887 | labelMapper: LabelMapper;
|
888 | }
|
889 | export type Language = "DETECTORPL"|string;
|
890 | export type ListOfModelScores = ModelScores[];
|
891 | export type ListOfModelVersions = ModelVersion[];
|
892 | export type ListOfStrings = string[];
|
893 | export type MaxResults = number;
|
894 | export type MetricsMap = {[key: string]: string};
|
895 | export interface Model {
|
896 | |
897 |
|
898 |
|
899 | modelId?: identifier;
|
900 | |
901 |
|
902 |
|
903 | modelType?: ModelTypeEnum;
|
904 | |
905 |
|
906 |
|
907 | description?: description;
|
908 | |
909 |
|
910 |
|
911 | trainingDataSource?: TrainingDataSource;
|
912 | |
913 |
|
914 |
|
915 | modelVariables?: ModelVariablesList;
|
916 | |
917 |
|
918 |
|
919 | labelSchema?: LabelSchema;
|
920 | |
921 |
|
922 |
|
923 | lastUpdatedTime?: time;
|
924 | |
925 |
|
926 |
|
927 | createdTime?: time;
|
928 | }
|
929 | export interface ModelEndpointDataBlob {
|
930 | |
931 |
|
932 |
|
933 | byteBuffer?: blob;
|
934 | |
935 |
|
936 |
|
937 | contentType?: contentType;
|
938 | }
|
939 | export type ModelEndpointStatus = "ASSOCIATED"|"DISSOCIATED"|string;
|
940 | export interface ModelInputConfiguration {
|
941 | |
942 |
|
943 |
|
944 | format?: ModelInputDataFormat;
|
945 | |
946 |
|
947 |
|
948 | isOpaque: IsOpaque;
|
949 | |
950 |
|
951 |
|
952 | jsonInputTemplate?: string;
|
953 | |
954 |
|
955 |
|
956 | csvInputTemplate?: string;
|
957 | }
|
958 | export type ModelInputDataFormat = "TEXT_CSV"|"APPLICATION_JSON"|string;
|
959 | export type ModelList = Model[];
|
960 | export interface ModelOutputConfiguration {
|
961 | |
962 |
|
963 |
|
964 | format: ModelOutputDataFormat;
|
965 | |
966 |
|
967 |
|
968 | jsonKeyToVariableMap?: JsonKeyToVariableMap;
|
969 | |
970 |
|
971 |
|
972 | csvIndexToVariableMap?: CsvIndexToVariableMap;
|
973 | }
|
974 | export type ModelOutputDataFormat = "TEXT_CSV"|"APPLICATION_JSONLINES"|string;
|
975 | export type ModelPredictionMap = {[key: string]: float};
|
976 | export interface ModelScores {
|
977 | |
978 |
|
979 |
|
980 | modelVersion?: ModelVersion;
|
981 | |
982 |
|
983 |
|
984 | scores?: ModelPredictionMap;
|
985 | }
|
986 | export type ModelSource = "SAGEMAKER"|string;
|
987 | export type ModelTypeEnum = "ONLINE_FRAUD_INSIGHTS"|string;
|
988 | export interface ModelVariable {
|
989 | |
990 |
|
991 |
|
992 | name: string;
|
993 | |
994 |
|
995 |
|
996 | index?: ModelVariableIndex;
|
997 | }
|
998 | export type ModelVariableIndex = number;
|
999 | export type ModelVariablesList = ModelVariable[];
|
1000 | export interface ModelVersion {
|
1001 | |
1002 |
|
1003 |
|
1004 | modelId: identifier;
|
1005 | |
1006 |
|
1007 |
|
1008 | modelType: ModelTypeEnum;
|
1009 | |
1010 |
|
1011 |
|
1012 | modelVersionNumber: nonEmptyString;
|
1013 | }
|
1014 | export interface ModelVersionDetail {
|
1015 | |
1016 |
|
1017 |
|
1018 | modelId?: identifier;
|
1019 | |
1020 |
|
1021 |
|
1022 | modelType?: ModelTypeEnum;
|
1023 | |
1024 |
|
1025 |
|
1026 | modelVersionNumber?: nonEmptyString;
|
1027 | |
1028 |
|
1029 |
|
1030 | description?: description;
|
1031 | |
1032 |
|
1033 |
|
1034 | status?: string;
|
1035 | |
1036 |
|
1037 |
|
1038 | trainingDataSource?: TrainingDataSource;
|
1039 | |
1040 |
|
1041 |
|
1042 | modelVariables?: ModelVariablesList;
|
1043 | |
1044 |
|
1045 |
|
1046 | labelSchema?: LabelSchema;
|
1047 | |
1048 |
|
1049 |
|
1050 | validationMetrics?: MetricsMap;
|
1051 | |
1052 |
|
1053 |
|
1054 | trainingMetrics?: MetricsMap;
|
1055 | |
1056 |
|
1057 |
|
1058 | lastUpdatedTime?: time;
|
1059 | |
1060 |
|
1061 |
|
1062 | createdTime?: time;
|
1063 | }
|
1064 | export type ModelVersionDetailList = ModelVersionDetail[];
|
1065 | export type ModelVersionStatus = "TRAINING_IN_PROGRESS"|"TRAINING_COMPLETE"|"ACTIVATE_REQUESTED"|"ACTIVATE_IN_PROGRESS"|"ACTIVE"|"INACTIVATE_IN_PROGRESS"|"INACTIVE"|"ERROR"|string;
|
1066 | export type NameList = string[];
|
1067 | export type NonEmptyListOfStrings = string[];
|
1068 | export interface Outcome {
|
1069 | |
1070 |
|
1071 |
|
1072 | name?: identifier;
|
1073 | |
1074 |
|
1075 |
|
1076 | description?: description;
|
1077 | |
1078 |
|
1079 |
|
1080 | lastUpdatedTime?: time;
|
1081 | |
1082 |
|
1083 |
|
1084 | createdTime?: time;
|
1085 | }
|
1086 | export type OutcomeList = Outcome[];
|
1087 | export type OutcomesMaxResults = number;
|
1088 | export interface PutDetectorRequest {
|
1089 | |
1090 |
|
1091 |
|
1092 | detectorId: identifier;
|
1093 | |
1094 |
|
1095 |
|
1096 | description?: description;
|
1097 | }
|
1098 | export interface PutDetectorResult {
|
1099 | }
|
1100 | export interface PutExternalModelRequest {
|
1101 | |
1102 |
|
1103 |
|
1104 | modelEndpoint: string;
|
1105 | |
1106 |
|
1107 |
|
1108 | modelSource: ModelSource;
|
1109 | |
1110 |
|
1111 |
|
1112 | role: Role;
|
1113 | |
1114 |
|
1115 |
|
1116 | inputConfiguration: ModelInputConfiguration;
|
1117 | |
1118 |
|
1119 |
|
1120 | outputConfiguration: ModelOutputConfiguration;
|
1121 | |
1122 |
|
1123 |
|
1124 | modelEndpointStatus: ModelEndpointStatus;
|
1125 | }
|
1126 | export interface PutExternalModelResult {
|
1127 | }
|
1128 | export interface PutModelRequest {
|
1129 | |
1130 |
|
1131 |
|
1132 | modelId: identifier;
|
1133 | |
1134 |
|
1135 |
|
1136 | modelType: ModelTypeEnum;
|
1137 | |
1138 |
|
1139 |
|
1140 | description?: description;
|
1141 | |
1142 |
|
1143 |
|
1144 | trainingDataSource: TrainingDataSource;
|
1145 | |
1146 |
|
1147 |
|
1148 | modelVariables: ModelVariablesList;
|
1149 | |
1150 |
|
1151 |
|
1152 | labelSchema: LabelSchema;
|
1153 | }
|
1154 | export interface PutModelResult {
|
1155 | }
|
1156 | export interface PutOutcomeRequest {
|
1157 | |
1158 |
|
1159 |
|
1160 | name: identifier;
|
1161 | |
1162 |
|
1163 |
|
1164 | description?: description;
|
1165 | }
|
1166 | export interface PutOutcomeResult {
|
1167 | }
|
1168 | export interface Role {
|
1169 | |
1170 |
|
1171 |
|
1172 | arn: string;
|
1173 | |
1174 |
|
1175 |
|
1176 | name: string;
|
1177 | }
|
1178 | export interface Rule {
|
1179 | |
1180 |
|
1181 |
|
1182 | detectorId: identifier;
|
1183 | |
1184 |
|
1185 |
|
1186 | ruleId: identifier;
|
1187 | |
1188 |
|
1189 |
|
1190 | ruleVersion: nonEmptyString;
|
1191 | }
|
1192 | export interface RuleDetail {
|
1193 | |
1194 |
|
1195 |
|
1196 | ruleId?: identifier;
|
1197 | |
1198 |
|
1199 |
|
1200 | description?: description;
|
1201 | |
1202 |
|
1203 |
|
1204 | detectorId?: identifier;
|
1205 | |
1206 |
|
1207 |
|
1208 | ruleVersion?: nonEmptyString;
|
1209 | |
1210 |
|
1211 |
|
1212 | expression?: ruleExpression;
|
1213 | |
1214 |
|
1215 |
|
1216 | language?: Language;
|
1217 | |
1218 |
|
1219 |
|
1220 | outcomes?: NonEmptyListOfStrings;
|
1221 | |
1222 |
|
1223 |
|
1224 | lastUpdatedTime?: time;
|
1225 | |
1226 |
|
1227 |
|
1228 | createdTime?: time;
|
1229 | }
|
1230 | export type RuleDetailList = RuleDetail[];
|
1231 | export type RuleList = Rule[];
|
1232 | export type RulesMaxResults = number;
|
1233 | export interface TrainingDataSource {
|
1234 | |
1235 |
|
1236 |
|
1237 | dataLocation: s3BucketLocation;
|
1238 | |
1239 |
|
1240 |
|
1241 | dataAccessRoleArn: iamRoleArn;
|
1242 | }
|
1243 | export interface UpdateDetectorVersionMetadataRequest {
|
1244 | |
1245 |
|
1246 |
|
1247 | detectorId: identifier;
|
1248 | |
1249 |
|
1250 |
|
1251 | detectorVersionId: nonEmptyString;
|
1252 | |
1253 |
|
1254 |
|
1255 | description: description;
|
1256 | }
|
1257 | export interface UpdateDetectorVersionMetadataResult {
|
1258 | }
|
1259 | export interface UpdateDetectorVersionRequest {
|
1260 | |
1261 |
|
1262 |
|
1263 | detectorId: identifier;
|
1264 | |
1265 |
|
1266 |
|
1267 | detectorVersionId: nonEmptyString;
|
1268 | |
1269 |
|
1270 |
|
1271 | externalModelEndpoints: ListOfStrings;
|
1272 | |
1273 |
|
1274 |
|
1275 | rules: RuleList;
|
1276 | |
1277 |
|
1278 |
|
1279 | description?: description;
|
1280 | |
1281 |
|
1282 |
|
1283 | modelVersions?: ListOfModelVersions;
|
1284 | }
|
1285 | export interface UpdateDetectorVersionResult {
|
1286 | }
|
1287 | export interface UpdateDetectorVersionStatusRequest {
|
1288 | |
1289 |
|
1290 |
|
1291 | detectorId: identifier;
|
1292 | |
1293 |
|
1294 |
|
1295 | detectorVersionId: nonEmptyString;
|
1296 | |
1297 |
|
1298 |
|
1299 | status: DetectorVersionStatus;
|
1300 | }
|
1301 | export interface UpdateDetectorVersionStatusResult {
|
1302 | }
|
1303 | export interface UpdateModelVersionRequest {
|
1304 | |
1305 |
|
1306 |
|
1307 | modelId: identifier;
|
1308 | |
1309 |
|
1310 |
|
1311 | modelType: ModelTypeEnum;
|
1312 | |
1313 |
|
1314 |
|
1315 | modelVersionNumber: nonEmptyString;
|
1316 | |
1317 |
|
1318 |
|
1319 | description: description;
|
1320 | |
1321 |
|
1322 |
|
1323 | status: ModelVersionStatus;
|
1324 | }
|
1325 | export interface UpdateModelVersionResult {
|
1326 | }
|
1327 | export interface UpdateRuleMetadataRequest {
|
1328 | |
1329 |
|
1330 |
|
1331 | rule: Rule;
|
1332 | |
1333 |
|
1334 |
|
1335 | description: description;
|
1336 | }
|
1337 | export interface UpdateRuleMetadataResult {
|
1338 | }
|
1339 | export interface UpdateRuleVersionRequest {
|
1340 | |
1341 |
|
1342 |
|
1343 | rule: Rule;
|
1344 | |
1345 |
|
1346 |
|
1347 | description?: description;
|
1348 | |
1349 |
|
1350 |
|
1351 | expression: ruleExpression;
|
1352 | |
1353 |
|
1354 |
|
1355 | language: Language;
|
1356 | |
1357 |
|
1358 |
|
1359 | outcomes: NonEmptyListOfStrings;
|
1360 | }
|
1361 | export interface UpdateRuleVersionResult {
|
1362 | |
1363 |
|
1364 |
|
1365 | rule?: Rule;
|
1366 | }
|
1367 | export interface UpdateVariableRequest {
|
1368 | |
1369 |
|
1370 |
|
1371 | name: string;
|
1372 | |
1373 |
|
1374 |
|
1375 | defaultValue?: string;
|
1376 | |
1377 |
|
1378 |
|
1379 | description?: string;
|
1380 | |
1381 |
|
1382 |
|
1383 | variableType?: string;
|
1384 | }
|
1385 | export interface UpdateVariableResult {
|
1386 | }
|
1387 | export interface Variable {
|
1388 | |
1389 |
|
1390 |
|
1391 | name?: string;
|
1392 | |
1393 |
|
1394 |
|
1395 | dataType?: DataType;
|
1396 | |
1397 |
|
1398 |
|
1399 | dataSource?: DataSource;
|
1400 | |
1401 |
|
1402 |
|
1403 | defaultValue?: string;
|
1404 | |
1405 |
|
1406 |
|
1407 | description?: string;
|
1408 | |
1409 |
|
1410 |
|
1411 | variableType?: string;
|
1412 | |
1413 |
|
1414 |
|
1415 | lastUpdatedTime?: time;
|
1416 | |
1417 |
|
1418 |
|
1419 | createdTime?: time;
|
1420 | }
|
1421 | export interface VariableEntry {
|
1422 | |
1423 |
|
1424 |
|
1425 | name?: string;
|
1426 | |
1427 |
|
1428 |
|
1429 | dataType?: string;
|
1430 | |
1431 |
|
1432 |
|
1433 | dataSource?: string;
|
1434 | |
1435 |
|
1436 |
|
1437 | defaultValue?: string;
|
1438 | |
1439 |
|
1440 |
|
1441 | description?: string;
|
1442 | |
1443 |
|
1444 |
|
1445 | variableType?: string;
|
1446 | }
|
1447 | export type VariableEntryList = VariableEntry[];
|
1448 | export type VariableList = Variable[];
|
1449 | export type VariablesMaxResults = number;
|
1450 | export type attributeKey = string;
|
1451 | export type attributeValue = string;
|
1452 | export type blob = Buffer|Uint8Array|Blob|string;
|
1453 | export type contentType = string;
|
1454 | export type description = string;
|
1455 | export type float = number;
|
1456 | export type iamRoleArn = string;
|
1457 | export type identifier = string;
|
1458 | export type integer = number;
|
1459 | export type nonEmptyString = string;
|
1460 | export type ruleExpression = string;
|
1461 | export type s3BucketLocation = string;
|
1462 | export type time = string;
|
1463 | |
1464 |
|
1465 |
|
1466 | export type apiVersion = "2019-11-15"|"latest"|string;
|
1467 | export interface ClientApiVersions {
|
1468 | |
1469 |
|
1470 |
|
1471 | apiVersion?: apiVersion;
|
1472 | }
|
1473 | export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
1474 | |
1475 |
|
1476 |
|
1477 | export import Types = FraudDetector;
|
1478 | }
|
1479 | export = FraudDetector;
|