Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GetEventPredictionRequest

import type { GetEventPredictionRequest } from "https://aws-api.deno.dev/v0.3/services/frauddetector.ts?docs=full";
interface GetEventPredictionRequest {
detectorId: string;
detectorVersionId?: string | null;
entities: Entity[];
eventId: string;
eventTimestamp: string;
eventTypeName: string;
eventVariables: {
[key: string]: string | null | undefined;
}
;
externalModelEndpointDataBlobs?: {
[key: string]: ModelEndpointDataBlob | null | undefined;
}
| null;
}

§Properties

§
detectorId: string
[src]

The detector ID.

§
detectorVersionId?: string | null
[src]

The detector version ID.

§
entities: Entity[]
[src]

The entity type (associated with the detector's event type) and specific entity ID representing who performed the event. If an entity id is not available, use "UNKNOWN."

§
eventId: string
[src]

The unique ID used to identify the event.

§
eventTimestamp: string
[src]

Timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC.

§
eventTypeName: string
[src]

The event type associated with the detector specified for the prediction.

§
eventVariables: {
[key: string]: string | null | undefined;
}
[src]

Names of the event type's variables you defined in Amazon Fraud Detector to represent data elements and their corresponding values for the event you are sending for evaluation.

! IMPORTANT: ! You must provide at least one eventVariable

To ensure most accurate fraud prediction and to simplify your data preparation, Amazon Fraud Detector will replace all missing variables or values as follows:

For Amazon Fraud Detector trained models:

If a null value is provided explicitly for a variable or if a variable is missing, model will replace the null value or the missing variable (no variable name in the eventVariables map) with calculated default mean/medians for numeric variables and with special values for categorical variables.

For imported SageMaker models:

If a null value is provided explicitly for a variable, the model and rules will use “null” as the value. If a variable is not provided (no variable name in the eventVariables map), model and rules will use the default value that is provided for the variable.

§
externalModelEndpointDataBlobs?: {
[key: string]: ModelEndpointDataBlob | null | undefined;
}
| null
[src]

The Amazon SageMaker model endpoint input data blobs.