amazonka-frauddetector-2.0: Amazon Fraud Detector SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.FraudDetector.GetEventPredictionMetadata

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.

Synopsis

Creating a Request

data GetEventPredictionMetadata Source #

See: newGetEventPredictionMetadata smart constructor.

Constructors

GetEventPredictionMetadata' 

Fields

Instances

Instances details
ToJSON GetEventPredictionMetadata Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventPredictionMetadata

ToHeaders GetEventPredictionMetadata Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventPredictionMetadata

ToPath GetEventPredictionMetadata Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventPredictionMetadata

ToQuery GetEventPredictionMetadata Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventPredictionMetadata

AWSRequest GetEventPredictionMetadata Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventPredictionMetadata

Generic GetEventPredictionMetadata Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventPredictionMetadata

Associated Types

type Rep GetEventPredictionMetadata :: Type -> Type #

Read GetEventPredictionMetadata Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventPredictionMetadata

Show GetEventPredictionMetadata Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventPredictionMetadata

NFData GetEventPredictionMetadata Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventPredictionMetadata

Eq GetEventPredictionMetadata Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventPredictionMetadata

Hashable GetEventPredictionMetadata Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventPredictionMetadata

type AWSResponse GetEventPredictionMetadata Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventPredictionMetadata

type Rep GetEventPredictionMetadata Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventPredictionMetadata

type Rep GetEventPredictionMetadata = D1 ('MetaData "GetEventPredictionMetadata" "Amazonka.FraudDetector.GetEventPredictionMetadata" "amazonka-frauddetector-2.0-CdXFXtLV8DgKo4Kta7Jw61" 'False) (C1 ('MetaCons "GetEventPredictionMetadata'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "eventId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "eventTypeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "detectorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "detectorVersionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "predictionTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newGetEventPredictionMetadata Source #

Create a value of GetEventPredictionMetadata with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

GetEventPredictionMetadata, getEventPredictionMetadata_eventId - The event ID.

GetEventPredictionMetadata, getEventPredictionMetadata_eventTypeName - The event type associated with the detector specified for the prediction.

GetEventPredictionMetadata, getEventPredictionMetadata_detectorId - The detector ID.

GetEventPredictionMetadata, getEventPredictionMetadata_detectorVersionId - The detector version ID.

GetEventPredictionMetadata, getEventPredictionMetadata_predictionTimestamp - 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.

Request Lenses

getEventPredictionMetadata_eventTypeName :: Lens' GetEventPredictionMetadata Text Source #

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

getEventPredictionMetadata_predictionTimestamp :: Lens' GetEventPredictionMetadata Text Source #

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.

Destructuring the Response

data GetEventPredictionMetadataResponse Source #

Constructors

GetEventPredictionMetadataResponse' 

Fields

Instances

Instances details
Generic GetEventPredictionMetadataResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventPredictionMetadata

Associated Types

type Rep GetEventPredictionMetadataResponse :: Type -> Type #

Show GetEventPredictionMetadataResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventPredictionMetadata

NFData GetEventPredictionMetadataResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventPredictionMetadata

Eq GetEventPredictionMetadataResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventPredictionMetadata

type Rep GetEventPredictionMetadataResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.GetEventPredictionMetadata

type Rep GetEventPredictionMetadataResponse = D1 ('MetaData "GetEventPredictionMetadataResponse" "Amazonka.FraudDetector.GetEventPredictionMetadata" "amazonka-frauddetector-2.0-CdXFXtLV8DgKo4Kta7Jw61" 'False) (C1 ('MetaCons "GetEventPredictionMetadataResponse'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "detectorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "detectorVersionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "detectorVersionStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "entityId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "entityType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "evaluatedExternalModels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EvaluatedExternalModel]))) :*: (S1 ('MetaSel ('Just "evaluatedModelVersions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EvaluatedModelVersion])) :*: S1 ('MetaSel ('Just "eventId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "eventTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "eventTypeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "eventVariables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EventVariableSummary])) :*: S1 ('MetaSel ('Just "outcomes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: ((S1 ('MetaSel ('Just "predictionTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ruleExecutionMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RuleExecutionMode))) :*: (S1 ('MetaSel ('Just "rules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EvaluatedRule])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newGetEventPredictionMetadataResponse Source #

Create a value of GetEventPredictionMetadataResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

GetEventPredictionMetadata, getEventPredictionMetadataResponse_detectorId - The detector ID.

GetEventPredictionMetadata, getEventPredictionMetadataResponse_detectorVersionId - The detector version ID.

$sel:detectorVersionStatus:GetEventPredictionMetadataResponse', getEventPredictionMetadataResponse_detectorVersionStatus - The status of the detector version.

GetEventPredictionMetadataResponse, getEventPredictionMetadataResponse_entityId - The entity ID.

GetEventPredictionMetadataResponse, getEventPredictionMetadataResponse_entityType - The entity type.

$sel:evaluatedExternalModels:GetEventPredictionMetadataResponse', getEventPredictionMetadataResponse_evaluatedExternalModels - External (Amazon SageMaker) models that were evaluated for generating predictions.

$sel:evaluatedModelVersions:GetEventPredictionMetadataResponse', getEventPredictionMetadataResponse_evaluatedModelVersions - Model versions that were evaluated for generating predictions.

GetEventPredictionMetadata, getEventPredictionMetadataResponse_eventId - The event ID.

GetEventPredictionMetadataResponse, getEventPredictionMetadataResponse_eventTimestamp - The timestamp for when the prediction was generated for the associated event ID.

GetEventPredictionMetadata, getEventPredictionMetadataResponse_eventTypeName - The event type associated with the detector specified for this prediction.

GetEventPredictionMetadataResponse, getEventPredictionMetadataResponse_eventVariables - A list of event variables that influenced the prediction scores.

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

GetEventPredictionMetadata, getEventPredictionMetadataResponse_predictionTimestamp - The timestamp that defines when the prediction was generated.

$sel:ruleExecutionMode:GetEventPredictionMetadataResponse', getEventPredictionMetadataResponse_ruleExecutionMode - The execution mode of the rule used for evaluating variable values.

$sel:rules:GetEventPredictionMetadataResponse', getEventPredictionMetadataResponse_rules - List of rules associated with the detector version that were used for evaluating variable values.

$sel:httpStatus:GetEventPredictionMetadataResponse', getEventPredictionMetadataResponse_httpStatus - The response's http status code.

Response Lenses

getEventPredictionMetadataResponse_evaluatedExternalModels :: Lens' GetEventPredictionMetadataResponse (Maybe [EvaluatedExternalModel]) Source #

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

getEventPredictionMetadataResponse_eventTimestamp :: Lens' GetEventPredictionMetadataResponse (Maybe Text) Source #

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

getEventPredictionMetadataResponse_eventTypeName :: Lens' GetEventPredictionMetadataResponse (Maybe Text) Source #

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

getEventPredictionMetadataResponse_outcomes :: Lens' GetEventPredictionMetadataResponse (Maybe [Text]) Source #

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

getEventPredictionMetadataResponse_rules :: Lens' GetEventPredictionMetadataResponse (Maybe [EvaluatedRule]) Source #

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