@aws-sdk/client-frauddetector 3.47.2 → 3.51.0

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.
Files changed (36) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/dist-cjs/FraudDetector.js +30 -0
  3. package/dist-cjs/commands/GetEventPredictionMetadataCommand.js +36 -0
  4. package/dist-cjs/commands/ListEventPredictionsCommand.js +36 -0
  5. package/dist-cjs/commands/index.js +2 -0
  6. package/dist-cjs/models/models_0.js +101 -2
  7. package/dist-cjs/pagination/ListEventPredictionsPaginator.js +35 -0
  8. package/dist-cjs/pagination/index.js +1 -0
  9. package/dist-cjs/protocols/Aws_json1_1.js +408 -3
  10. package/dist-es/FraudDetector.js +30 -0
  11. package/dist-es/commands/GetEventPredictionMetadataCommand.js +39 -0
  12. package/dist-es/commands/ListEventPredictionsCommand.js +39 -0
  13. package/dist-es/commands/index.js +2 -0
  14. package/dist-es/models/models_0.js +62 -0
  15. package/dist-es/pagination/ListEventPredictionsPaginator.js +74 -0
  16. package/dist-es/pagination/index.js +1 -0
  17. package/dist-es/protocols/Aws_json1_1.js +405 -0
  18. package/dist-types/FraudDetector.d.ts +29 -0
  19. package/dist-types/FraudDetectorClient.d.ts +4 -2
  20. package/dist-types/commands/GetEventPredictionMetadataCommand.d.ts +37 -0
  21. package/dist-types/commands/ListEventPredictionsCommand.d.ts +48 -0
  22. package/dist-types/commands/index.d.ts +2 -0
  23. package/dist-types/models/models_0.d.ts +551 -0
  24. package/dist-types/pagination/ListEventPredictionsPaginator.d.ts +4 -0
  25. package/dist-types/pagination/index.d.ts +1 -0
  26. package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
  27. package/dist-types/ts3.4/FraudDetector.d.ts +10 -0
  28. package/dist-types/ts3.4/FraudDetectorClient.d.ts +4 -2
  29. package/dist-types/ts3.4/commands/GetEventPredictionMetadataCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/ListEventPredictionsCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  32. package/dist-types/ts3.4/models/models_0.d.ts +224 -0
  33. package/dist-types/ts3.4/pagination/ListEventPredictionsPaginator.d.ts +4 -0
  34. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  35. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +6 -0
  36. package/package.json +39 -33
@@ -0,0 +1,37 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { FraudDetectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FraudDetectorClient";
4
+ import { GetEventPredictionMetadataRequest, GetEventPredictionMetadataResult } from "../models/models_0";
5
+ export interface GetEventPredictionMetadataCommandInput extends GetEventPredictionMetadataRequest {
6
+ }
7
+ export interface GetEventPredictionMetadataCommandOutput extends GetEventPredictionMetadataResult, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>
11
+ * Gets details of the past fraud predictions for the specified event ID, event type, detector ID, and detector version ID that was generated in the specified time period.
12
+ * </p>
13
+ * @example
14
+ * Use a bare-bones client and the command you need to make an API call.
15
+ * ```javascript
16
+ * import { FraudDetectorClient, GetEventPredictionMetadataCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
17
+ * // const { FraudDetectorClient, GetEventPredictionMetadataCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
18
+ * const client = new FraudDetectorClient(config);
19
+ * const command = new GetEventPredictionMetadataCommand(input);
20
+ * const response = await client.send(command);
21
+ * ```
22
+ *
23
+ * @see {@link GetEventPredictionMetadataCommandInput} for command's `input` shape.
24
+ * @see {@link GetEventPredictionMetadataCommandOutput} for command's `response` shape.
25
+ * @see {@link FraudDetectorClientResolvedConfig | config} for FraudDetectorClient's `config` shape.
26
+ *
27
+ */
28
+ export declare class GetEventPredictionMetadataCommand extends $Command<GetEventPredictionMetadataCommandInput, GetEventPredictionMetadataCommandOutput, FraudDetectorClientResolvedConfig> {
29
+ readonly input: GetEventPredictionMetadataCommandInput;
30
+ constructor(input: GetEventPredictionMetadataCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetEventPredictionMetadataCommandInput, GetEventPredictionMetadataCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -0,0 +1,48 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { FraudDetectorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FraudDetectorClient";
4
+ import { ListEventPredictionsRequest, ListEventPredictionsResult } from "../models/models_0";
5
+ export interface ListEventPredictionsCommandInput extends ListEventPredictionsRequest {
6
+ }
7
+ export interface ListEventPredictionsCommandOutput extends ListEventPredictionsResult, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Gets a list of past predictions. The list can be filtered by detector ID, detector version ID, event ID, event type, or by specifying a time period.
11
+ * If filter is not specified, the most recent prediction is returned.</p>
12
+ *
13
+ * <p>For example, the following filter lists all past predictions for <code>xyz</code> event type -
14
+ * <code>{
15
+ * "eventType":{
16
+ * "value": "xyz" }”
17
+ * } </code>
18
+ * </p>
19
+ *
20
+ * <p>This is a paginated API. If you provide a null <code>maxResults</code>, this action will retrieve a maximum of 10 records per page.
21
+ * If you provide a <code>maxResults</code>, the value must be between 50 and 100. To get the next page results, provide
22
+ * the <code>nextToken</code> from the response as part of your request. A null <code>nextToken</code> fetches the records from the beginning.
23
+ * </p>
24
+ * @example
25
+ * Use a bare-bones client and the command you need to make an API call.
26
+ * ```javascript
27
+ * import { FraudDetectorClient, ListEventPredictionsCommand } from "@aws-sdk/client-frauddetector"; // ES Modules import
28
+ * // const { FraudDetectorClient, ListEventPredictionsCommand } = require("@aws-sdk/client-frauddetector"); // CommonJS import
29
+ * const client = new FraudDetectorClient(config);
30
+ * const command = new ListEventPredictionsCommand(input);
31
+ * const response = await client.send(command);
32
+ * ```
33
+ *
34
+ * @see {@link ListEventPredictionsCommandInput} for command's `input` shape.
35
+ * @see {@link ListEventPredictionsCommandOutput} for command's `response` shape.
36
+ * @see {@link FraudDetectorClientResolvedConfig | config} for FraudDetectorClient's `config` shape.
37
+ *
38
+ */
39
+ export declare class ListEventPredictionsCommand extends $Command<ListEventPredictionsCommandInput, ListEventPredictionsCommandOutput, FraudDetectorClientResolvedConfig> {
40
+ readonly input: ListEventPredictionsCommandInput;
41
+ constructor(input: ListEventPredictionsCommandInput);
42
+ /**
43
+ * @internal
44
+ */
45
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FraudDetectorClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListEventPredictionsCommandInput, ListEventPredictionsCommandOutput>;
46
+ private serialize;
47
+ private deserialize;
48
+ }
@@ -34,6 +34,7 @@ export * from "./GetDetectorsCommand";
34
34
  export * from "./GetEntityTypesCommand";
35
35
  export * from "./GetEventCommand";
36
36
  export * from "./GetEventPredictionCommand";
37
+ export * from "./GetEventPredictionMetadataCommand";
37
38
  export * from "./GetEventTypesCommand";
38
39
  export * from "./GetExternalModelsCommand";
39
40
  export * from "./GetKMSEncryptionKeyCommand";
@@ -43,6 +44,7 @@ export * from "./GetModelsCommand";
43
44
  export * from "./GetOutcomesCommand";
44
45
  export * from "./GetRulesCommand";
45
46
  export * from "./GetVariablesCommand";
47
+ export * from "./ListEventPredictionsCommand";
46
48
  export * from "./ListTagsForResourceCommand";
47
49
  export * from "./PutDetectorCommand";
48
50
  export * from "./PutEntityTypeCommand";
@@ -2234,6 +2234,394 @@ export interface ResourceUnavailableException extends __SmithyException, $Metada
2234
2234
  $fault: "client";
2235
2235
  message?: string;
2236
2236
  }
2237
+ export interface GetEventPredictionMetadataRequest {
2238
+ /**
2239
+ * <p>
2240
+ * The event ID.
2241
+ * </p>
2242
+ */
2243
+ eventId: string | undefined;
2244
+ /**
2245
+ * <p>
2246
+ * The event type associated with the detector specified for the prediction.
2247
+ * </p>
2248
+ */
2249
+ eventTypeName: string | undefined;
2250
+ /**
2251
+ * <p>
2252
+ * The detector ID.
2253
+ * </p>
2254
+ */
2255
+ detectorId: string | undefined;
2256
+ /**
2257
+ * <p>
2258
+ * The detector version ID.
2259
+ * </p>
2260
+ */
2261
+ detectorVersionId: string | undefined;
2262
+ /**
2263
+ * <p>
2264
+ * The timestamp that defines when the prediction was generated.
2265
+ * </p>
2266
+ */
2267
+ predictionTimestamp: string | undefined;
2268
+ }
2269
+ export declare namespace GetEventPredictionMetadataRequest {
2270
+ /**
2271
+ * @internal
2272
+ */
2273
+ const filterSensitiveLog: (obj: GetEventPredictionMetadataRequest) => any;
2274
+ }
2275
+ /**
2276
+ * <p>
2277
+ * The details of the external (Amazon Sagemaker) model evaluated for generating predictions.
2278
+ * </p>
2279
+ */
2280
+ export interface EvaluatedExternalModel {
2281
+ /**
2282
+ * <p>
2283
+ * The endpoint of the external (Amazon Sagemaker) model.
2284
+ * </p>
2285
+ */
2286
+ modelEndpoint?: string;
2287
+ /**
2288
+ * <p>
2289
+ * Indicates whether event variables were used to generate predictions.
2290
+ * </p>
2291
+ */
2292
+ useEventVariables?: boolean;
2293
+ /**
2294
+ * <p>
2295
+ * Input variables use for generating predictions.
2296
+ * </p>
2297
+ */
2298
+ inputVariables?: {
2299
+ [key: string]: string;
2300
+ };
2301
+ /**
2302
+ * <p>
2303
+ * Output variables.
2304
+ * </p>
2305
+ */
2306
+ outputVariables?: {
2307
+ [key: string]: string;
2308
+ };
2309
+ }
2310
+ export declare namespace EvaluatedExternalModel {
2311
+ /**
2312
+ * @internal
2313
+ */
2314
+ const filterSensitiveLog: (obj: EvaluatedExternalModel) => any;
2315
+ }
2316
+ /**
2317
+ * <p>
2318
+ * The details of the event variable's impact on the prediction score.
2319
+ * </p>
2320
+ */
2321
+ export interface VariableImpactExplanation {
2322
+ /**
2323
+ * <p>
2324
+ * The event variable name.
2325
+ * </p>
2326
+ */
2327
+ eventVariableName?: string;
2328
+ /**
2329
+ * <p>
2330
+ * The event variable's relative impact in terms of magnitude on the prediction scores.
2331
+ * The relative impact values consist of a numerical rating (0-5, 5 being the highest) and direction (increased/decreased) impact of the fraud risk.
2332
+ * </p>
2333
+ */
2334
+ relativeImpact?: string;
2335
+ /**
2336
+ * <p>
2337
+ * The raw, uninterpreted value represented as log-odds of the fraud. These values are usually between -10 to +10, but range from - infinity to + infinity.</p>
2338
+ * <ul>
2339
+ * <li>
2340
+ * <p>A positive value indicates that the variable drove the risk score up.</p>
2341
+ * </li>
2342
+ * <li>
2343
+ * <p>A negative value indicates that the variable drove the risk score down.</p>
2344
+ * </li>
2345
+ * </ul>
2346
+ */
2347
+ logOddsImpact?: number;
2348
+ }
2349
+ export declare namespace VariableImpactExplanation {
2350
+ /**
2351
+ * @internal
2352
+ */
2353
+ const filterSensitiveLog: (obj: VariableImpactExplanation) => any;
2354
+ }
2355
+ /**
2356
+ * <p>
2357
+ * The prediction explanations that provide insight into how each event variable impacted the model version's fraud prediction score.
2358
+ * </p>
2359
+ */
2360
+ export interface PredictionExplanations {
2361
+ /**
2362
+ * <p>
2363
+ * The details of the event variable's impact on the prediction score.
2364
+ * </p>
2365
+ */
2366
+ variableImpactExplanations?: VariableImpactExplanation[];
2367
+ }
2368
+ export declare namespace PredictionExplanations {
2369
+ /**
2370
+ * @internal
2371
+ */
2372
+ const filterSensitiveLog: (obj: PredictionExplanations) => any;
2373
+ }
2374
+ /**
2375
+ * <p>
2376
+ * The model version evalutions.
2377
+ * </p>
2378
+ */
2379
+ export interface ModelVersionEvaluation {
2380
+ /**
2381
+ * <p>
2382
+ * The output variable name.
2383
+ * </p>
2384
+ */
2385
+ outputVariableName?: string;
2386
+ /**
2387
+ * <p>
2388
+ * The evaluation score generated for the model version.
2389
+ * </p>
2390
+ */
2391
+ evaluationScore?: string;
2392
+ /**
2393
+ * <p>
2394
+ * The prediction explanations generated for the model version.
2395
+ * </p>
2396
+ */
2397
+ predictionExplanations?: PredictionExplanations;
2398
+ }
2399
+ export declare namespace ModelVersionEvaluation {
2400
+ /**
2401
+ * @internal
2402
+ */
2403
+ const filterSensitiveLog: (obj: ModelVersionEvaluation) => any;
2404
+ }
2405
+ /**
2406
+ * <p>
2407
+ * The model version evaluated for generating prediction.
2408
+ * </p>
2409
+ */
2410
+ export interface EvaluatedModelVersion {
2411
+ /**
2412
+ * <p>
2413
+ * The model ID.
2414
+ * </p>
2415
+ */
2416
+ modelId?: string;
2417
+ /**
2418
+ * <p>
2419
+ * The model version.
2420
+ * </p>
2421
+ */
2422
+ modelVersion?: string;
2423
+ /**
2424
+ * <p>The model type. </p>
2425
+ * <p>Valid values: <code>ONLINE_FRAUD_INSIGHTS</code> | <code>TRANSACTION_FRAUD_INSIGHTS</code>
2426
+ * </p>
2427
+ */
2428
+ modelType?: string;
2429
+ /**
2430
+ * <p>
2431
+ * Evaluations generated for the model version.
2432
+ * </p>
2433
+ */
2434
+ evaluations?: ModelVersionEvaluation[];
2435
+ }
2436
+ export declare namespace EvaluatedModelVersion {
2437
+ /**
2438
+ * @internal
2439
+ */
2440
+ const filterSensitiveLog: (obj: EvaluatedModelVersion) => any;
2441
+ }
2442
+ /**
2443
+ * <p>
2444
+ * Information about the summary of an event variable that was evaluated for generating prediction.
2445
+ * </p>
2446
+ */
2447
+ export interface EventVariableSummary {
2448
+ /**
2449
+ * <p>
2450
+ * The event variable name.
2451
+ * </p>
2452
+ */
2453
+ name?: string;
2454
+ /**
2455
+ * <p>
2456
+ * The value of the event variable.
2457
+ * </p>
2458
+ */
2459
+ value?: string;
2460
+ /**
2461
+ * <p>
2462
+ * The event variable source.
2463
+ * </p>
2464
+ */
2465
+ source?: string;
2466
+ }
2467
+ export declare namespace EventVariableSummary {
2468
+ /**
2469
+ * @internal
2470
+ */
2471
+ const filterSensitiveLog: (obj: EventVariableSummary) => any;
2472
+ }
2473
+ /**
2474
+ * <p>
2475
+ * The details of the rule used for evaluating variable values.
2476
+ * </p>
2477
+ */
2478
+ export interface EvaluatedRule {
2479
+ /**
2480
+ * <p>
2481
+ * The rule ID.
2482
+ * </p>
2483
+ */
2484
+ ruleId?: string;
2485
+ /**
2486
+ * <p>
2487
+ * The rule version.
2488
+ * </p>
2489
+ */
2490
+ ruleVersion?: string;
2491
+ /**
2492
+ * <p>
2493
+ * The rule expression.
2494
+ * </p>
2495
+ */
2496
+ expression?: string;
2497
+ /**
2498
+ * <p>
2499
+ * The rule expression value.
2500
+ * </p>
2501
+ */
2502
+ expressionWithValues?: string;
2503
+ /**
2504
+ * <p>
2505
+ * The rule outcome.
2506
+ * </p>
2507
+ */
2508
+ outcomes?: string[];
2509
+ /**
2510
+ * <p>
2511
+ * Indicates whether the rule was evaluated.
2512
+ * </p>
2513
+ */
2514
+ evaluated?: boolean;
2515
+ /**
2516
+ * <p>
2517
+ * Indicates whether the rule matched.
2518
+ * </p>
2519
+ */
2520
+ matched?: boolean;
2521
+ }
2522
+ export declare namespace EvaluatedRule {
2523
+ /**
2524
+ * @internal
2525
+ */
2526
+ const filterSensitiveLog: (obj: EvaluatedRule) => any;
2527
+ }
2528
+ export interface GetEventPredictionMetadataResult {
2529
+ /**
2530
+ * <p>
2531
+ * The event ID.
2532
+ * </p>
2533
+ */
2534
+ eventId?: string;
2535
+ /**
2536
+ * <p>
2537
+ * The event type associated with the detector specified for this prediction.
2538
+ * </p>
2539
+ */
2540
+ eventTypeName?: string;
2541
+ /**
2542
+ * <p>
2543
+ * The entity ID.
2544
+ * </p>
2545
+ */
2546
+ entityId?: string;
2547
+ /**
2548
+ * <p>
2549
+ * The entity type.
2550
+ * </p>
2551
+ */
2552
+ entityType?: string;
2553
+ /**
2554
+ * <p>
2555
+ * The timestamp for when the prediction was generated for the associated event ID.
2556
+ * </p>
2557
+ */
2558
+ eventTimestamp?: string;
2559
+ /**
2560
+ * <p>
2561
+ * The detector ID.
2562
+ * </p>
2563
+ */
2564
+ detectorId?: string;
2565
+ /**
2566
+ * <p>
2567
+ * The detector version ID.
2568
+ * </p>
2569
+ */
2570
+ detectorVersionId?: string;
2571
+ /**
2572
+ * <p>
2573
+ * The status of the detector version.
2574
+ * </p>
2575
+ */
2576
+ detectorVersionStatus?: string;
2577
+ /**
2578
+ * <p>
2579
+ * A list of event variables that influenced the prediction scores.
2580
+ * </p>
2581
+ */
2582
+ eventVariables?: EventVariableSummary[];
2583
+ /**
2584
+ * <p>
2585
+ * List of rules associated with the detector version that were used for evaluating variable values.
2586
+ * </p>
2587
+ */
2588
+ rules?: EvaluatedRule[];
2589
+ /**
2590
+ * <p>
2591
+ * The execution mode of the rule used for evaluating variable values.
2592
+ * </p>
2593
+ */
2594
+ ruleExecutionMode?: RuleExecutionMode | string;
2595
+ /**
2596
+ * <p>
2597
+ * The outcomes of the matched rule, based on the rule execution mode.
2598
+ * </p>
2599
+ */
2600
+ outcomes?: string[];
2601
+ /**
2602
+ * <p>
2603
+ * Model versions that were evaluated for generating predictions.
2604
+ * </p>
2605
+ */
2606
+ evaluatedModelVersions?: EvaluatedModelVersion[];
2607
+ /**
2608
+ * <p>
2609
+ * External (Amazon SageMaker) models that were evaluated for generating predictions.
2610
+ * </p>
2611
+ */
2612
+ evaluatedExternalModels?: EvaluatedExternalModel[];
2613
+ /**
2614
+ * <p>The timestamp that defines when the prediction was generated.
2615
+ * </p>
2616
+ */
2617
+ predictionTimestamp?: string;
2618
+ }
2619
+ export declare namespace GetEventPredictionMetadataResult {
2620
+ /**
2621
+ * @internal
2622
+ */
2623
+ const filterSensitiveLog: (obj: GetEventPredictionMetadataResult) => any;
2624
+ }
2237
2625
  export interface GetEventTypesRequest {
2238
2626
  /**
2239
2627
  * <p>The name.</p>
@@ -3001,6 +3389,169 @@ export declare namespace GetVariablesResult {
3001
3389
  */
3002
3390
  const filterSensitiveLog: (obj: GetVariablesResult) => any;
3003
3391
  }
3392
+ /**
3393
+ * <p>
3394
+ * A conditional statement for filtering a list of past predictions.
3395
+ * </p>
3396
+ */
3397
+ export interface FilterCondition {
3398
+ /**
3399
+ * <p>
3400
+ * A statement containing a resource property and a value to specify filter condition.
3401
+ * </p>
3402
+ */
3403
+ value?: string;
3404
+ }
3405
+ export declare namespace FilterCondition {
3406
+ /**
3407
+ * @internal
3408
+ */
3409
+ const filterSensitiveLog: (obj: FilterCondition) => any;
3410
+ }
3411
+ /**
3412
+ * <p>
3413
+ * The time period for when the predictions were generated.
3414
+ * </p>
3415
+ */
3416
+ export interface PredictionTimeRange {
3417
+ /**
3418
+ * <p>
3419
+ * The start time of the time period for when the predictions were generated.
3420
+ * </p>
3421
+ */
3422
+ startTime: string | undefined;
3423
+ /**
3424
+ * <p>
3425
+ * The end time of the time period for when the predictions were generated.
3426
+ * </p>
3427
+ */
3428
+ endTime: string | undefined;
3429
+ }
3430
+ export declare namespace PredictionTimeRange {
3431
+ /**
3432
+ * @internal
3433
+ */
3434
+ const filterSensitiveLog: (obj: PredictionTimeRange) => any;
3435
+ }
3436
+ export interface ListEventPredictionsRequest {
3437
+ /**
3438
+ * <p>
3439
+ * The event ID.
3440
+ * </p>
3441
+ */
3442
+ eventId?: FilterCondition;
3443
+ /**
3444
+ * <p>
3445
+ * The event type associated with the detector.
3446
+ * </p>
3447
+ */
3448
+ eventType?: FilterCondition;
3449
+ /**
3450
+ * <p>
3451
+ * The detector ID.
3452
+ * </p>
3453
+ */
3454
+ detectorId?: FilterCondition;
3455
+ /**
3456
+ * <p>
3457
+ * The detector version ID.
3458
+ * </p>
3459
+ */
3460
+ detectorVersionId?: FilterCondition;
3461
+ /**
3462
+ * <p>
3463
+ * The time period for when the predictions were generated.
3464
+ * </p>
3465
+ */
3466
+ predictionTimeRange?: PredictionTimeRange;
3467
+ /**
3468
+ * <p>
3469
+ * Identifies the next page of results to return. Use the token to make the call again to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.
3470
+ * </p>
3471
+ */
3472
+ nextToken?: string;
3473
+ /**
3474
+ * <p>
3475
+ * The maximum number of predictions to return for the request.
3476
+ * </p>
3477
+ */
3478
+ maxResults?: number;
3479
+ }
3480
+ export declare namespace ListEventPredictionsRequest {
3481
+ /**
3482
+ * @internal
3483
+ */
3484
+ const filterSensitiveLog: (obj: ListEventPredictionsRequest) => any;
3485
+ }
3486
+ /**
3487
+ * <p>
3488
+ * Information about the summary of an event prediction.
3489
+ * </p>
3490
+ */
3491
+ export interface EventPredictionSummary {
3492
+ /**
3493
+ * <p>
3494
+ * The event ID.
3495
+ * </p>
3496
+ */
3497
+ eventId?: string;
3498
+ /**
3499
+ * <p>
3500
+ * The event type.
3501
+ * </p>
3502
+ */
3503
+ eventTypeName?: string;
3504
+ /**
3505
+ * <p>
3506
+ * The timestamp of the event.
3507
+ * </p>
3508
+ */
3509
+ eventTimestamp?: string;
3510
+ /**
3511
+ * <p>
3512
+ * The timestamp when the prediction was generated.
3513
+ * </p>
3514
+ */
3515
+ predictionTimestamp?: string;
3516
+ /**
3517
+ * <p>
3518
+ * The detector ID.
3519
+ * </p>
3520
+ */
3521
+ detectorId?: string;
3522
+ /**
3523
+ * <p>
3524
+ * The detector version ID.
3525
+ * </p>
3526
+ */
3527
+ detectorVersionId?: string;
3528
+ }
3529
+ export declare namespace EventPredictionSummary {
3530
+ /**
3531
+ * @internal
3532
+ */
3533
+ const filterSensitiveLog: (obj: EventPredictionSummary) => any;
3534
+ }
3535
+ export interface ListEventPredictionsResult {
3536
+ /**
3537
+ * <p>
3538
+ * The summary of the past predictions.
3539
+ * </p>
3540
+ */
3541
+ eventPredictionSummaries?: EventPredictionSummary[];
3542
+ /**
3543
+ * <p>
3544
+ * Identifies the next page of results to return. Use the token to make the call again to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.
3545
+ * </p>
3546
+ */
3547
+ nextToken?: string;
3548
+ }
3549
+ export declare namespace ListEventPredictionsResult {
3550
+ /**
3551
+ * @internal
3552
+ */
3553
+ const filterSensitiveLog: (obj: ListEventPredictionsResult) => any;
3554
+ }
3004
3555
  export interface ListTagsForResourceRequest {
3005
3556
  /**
3006
3557
  * <p>The ARN that specifies the resource whose tags you want to list.</p>
@@ -0,0 +1,4 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import { ListEventPredictionsCommandInput, ListEventPredictionsCommandOutput } from "../commands/ListEventPredictionsCommand";
3
+ import { FraudDetectorPaginationConfiguration } from "./Interfaces";
4
+ export declare function paginateListEventPredictions(config: FraudDetectorPaginationConfiguration, input: ListEventPredictionsCommandInput, ...additionalArguments: any): Paginator<ListEventPredictionsCommandOutput>;
@@ -11,4 +11,5 @@ export * from "./GetOutcomesPaginator";
11
11
  export * from "./Interfaces";
12
12
  export * from "./GetRulesPaginator";
13
13
  export * from "./GetVariablesPaginator";
14
+ export * from "./ListEventPredictionsPaginator";
14
15
  export * from "./ListTagsForResourcePaginator";