Note: You are viewing the documentation for an older major version of the AWS CLI (version 1).

AWS CLI version 2, the latest major version of AWS CLI, is now stable and recommended for general use. To view this page for the AWS CLI version 2, click here. For more information see the AWS CLI version 2 installation instructions and migration guide.

[ aws . frauddetector ]

get-event-prediction-metadata

Description

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.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  get-event-prediction-metadata
--event-id <value>
--event-type-name <value>
--detector-id <value>
--detector-version-id <value>
--prediction-timestamp <value>
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--event-id (string)

The event ID.

--event-type-name (string)

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

--detector-id (string)

The detector ID.

--detector-version-id (string)

The detector version ID.

--prediction-timestamp (string)

The timestamp that defines when the prediction was generated. The timestamp must be specified using ISO 8601 standard in UTC.

We recommend calling ListEventPredictions first, and using the predictionTimestamp value in the response to provide an accurate prediction timestamp value.

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.

Output

eventId -> (string)

The event ID.

eventTypeName -> (string)

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

entityId -> (string)

The entity ID.

entityType -> (string)

The entity type.

eventTimestamp -> (string)

The timestamp for when the prediction was generated for the associated event ID.

detectorId -> (string)

The detector ID.

detectorVersionId -> (string)

The detector version ID.

detectorVersionStatus -> (string)

The status of the detector version.

eventVariables -> (list)

A list of event variables that influenced the prediction scores.

(structure)

Information about the summary of an event variable that was evaluated for generating prediction.

name -> (string)

The event variable name.

value -> (string)

The value of the event variable.

source -> (string)

The event variable source.

rules -> (list)

List of rules associated with the detector version that were used for evaluating variable values.

(structure)

The details of the rule used for evaluating variable values.

ruleId -> (string)

The rule ID.

ruleVersion -> (string)

The rule version.

expression -> (string)

The rule expression.

expressionWithValues -> (string)

The rule expression value.

outcomes -> (list)

The rule outcome.

(string)

evaluated -> (boolean)

Indicates whether the rule was evaluated.

matched -> (boolean)

Indicates whether the rule matched.

ruleExecutionMode -> (string)

The execution mode of the rule used for evaluating variable values.

outcomes -> (list)

The outcomes of the matched rule, based on the rule execution mode.

(string)

evaluatedModelVersions -> (list)

Model versions that were evaluated for generating predictions.

(structure)

The model version evaluated for generating prediction.

modelId -> (string)

The model ID.

modelVersion -> (string)

The model version.

modelType -> (string)

The model type.

Valid values: ONLINE_FRAUD_INSIGHTS | TRANSACTION_FRAUD_INSIGHTS

evaluations -> (list)

Evaluations generated for the model version.

(structure)

The model version evalutions.

outputVariableName -> (string)

The output variable name.

evaluationScore -> (string)

The evaluation score generated for the model version.

predictionExplanations -> (structure)

The prediction explanations generated for the model version.

variableImpactExplanations -> (list)

The details of the event variable's impact on the prediction score.

(structure)

The details of the event variable's impact on the prediction score.

eventVariableName -> (string)

The event variable name.

relativeImpact -> (string)

The event variable's relative impact in terms of magnitude on the prediction scores. The relative impact values consist of a numerical rating (0-5, 5 being the highest) and direction (increased/decreased) impact of the fraud risk.

logOddsImpact -> (float)

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.

  • A positive value indicates that the variable drove the risk score up.
  • A negative value indicates that the variable drove the risk score down.

evaluatedExternalModels -> (list)

External (Amazon SageMaker) models that were evaluated for generating predictions.

(structure)

The details of the external (Amazon Sagemaker) model evaluated for generating predictions.

modelEndpoint -> (string)

The endpoint of the external (Amazon Sagemaker) model.

useEventVariables -> (boolean)

Indicates whether event variables were used to generate predictions.

inputVariables -> (map)

Input variables use for generating predictions.

key -> (string)

value -> (string)

outputVariables -> (map)

Output variables.

key -> (string)

value -> (string)

predictionTimestamp -> (string)

The timestamp that defines when the prediction was generated.