Skip to main content

event_prediction_metadatas

Creates, updates, deletes, gets or lists an event_prediction_metadatas resource.

Overview

Nameevent_prediction_metadatas
TypeResource
Idaws.frauddetector.event_prediction_metadatas

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
detector_idstringThe detector ID. (pattern: <code>^[0-9a-z_-]+$</code>)
detector_version_idstringThe detector version ID. (pattern: <code>^([1-9][0-9]*)$</code>)
detector_version_statusstringThe status of the detector version.
entity_idstringThe entity ID.
entity_typestringThe entity type.
evaluated_external_modelsarrayExternal (Amazon SageMaker) models that were evaluated for generating predictions.
evaluated_model_versionsarrayModel versions that were evaluated for generating predictions.
event_idstringThe event ID. (pattern: <code>^[0-9a-z_-]+$</code>)
event_timestampstringThe timestamp for when the prediction was generated for the associated event ID.
event_type_namestringThe event type associated with the detector specified for this prediction. (pattern: <code>^[0-9a-z_-]+$</code>)
event_variablesarrayA list of event variables that influenced the prediction scores.
outcomesarrayThe outcomes of the matched rule, based on the rule execution mode.
prediction_timestampstringThe timestamp that defines when the prediction was generated.
rule_execution_modestringThe execution mode of the rule used for evaluating variable values. (ALL_MATCHED, FIRST_MATCHED)
rulesarrayList of rules associated with the detector version that were used for evaluating variable values.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_event_prediction_metadataselectregionGets 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.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

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.

SELECT
detector_id,
detector_version_id,
detector_version_status,
entity_id,
entity_type,
evaluated_external_models,
evaluated_model_versions,
event_id,
event_timestamp,
event_type_name,
event_variables,
outcomes,
prediction_timestamp,
rule_execution_mode,
rules
FROM aws.frauddetector.event_prediction_metadatas
WHERE region = '{{ region }}' -- required
;