Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
- data GetEventPredictionMetadata = GetEventPredictionMetadata' {}
- newGetEventPredictionMetadata :: Text -> Text -> Text -> Text -> Text -> GetEventPredictionMetadata
- getEventPredictionMetadata_eventId :: Lens' GetEventPredictionMetadata Text
- getEventPredictionMetadata_eventTypeName :: Lens' GetEventPredictionMetadata Text
- getEventPredictionMetadata_detectorId :: Lens' GetEventPredictionMetadata Text
- getEventPredictionMetadata_detectorVersionId :: Lens' GetEventPredictionMetadata Text
- getEventPredictionMetadata_predictionTimestamp :: Lens' GetEventPredictionMetadata Text
- data GetEventPredictionMetadataResponse = GetEventPredictionMetadataResponse' {
- detectorId :: Maybe Text
- detectorVersionId :: Maybe Text
- detectorVersionStatus :: Maybe Text
- entityId :: Maybe Text
- entityType :: Maybe Text
- evaluatedExternalModels :: Maybe [EvaluatedExternalModel]
- evaluatedModelVersions :: Maybe [EvaluatedModelVersion]
- eventId :: Maybe Text
- eventTimestamp :: Maybe Text
- eventTypeName :: Maybe Text
- eventVariables :: Maybe [EventVariableSummary]
- outcomes :: Maybe [Text]
- predictionTimestamp :: Maybe Text
- ruleExecutionMode :: Maybe RuleExecutionMode
- rules :: Maybe [EvaluatedRule]
- httpStatus :: Int
- newGetEventPredictionMetadataResponse :: Int -> GetEventPredictionMetadataResponse
- getEventPredictionMetadataResponse_detectorId :: Lens' GetEventPredictionMetadataResponse (Maybe Text)
- getEventPredictionMetadataResponse_detectorVersionId :: Lens' GetEventPredictionMetadataResponse (Maybe Text)
- getEventPredictionMetadataResponse_detectorVersionStatus :: Lens' GetEventPredictionMetadataResponse (Maybe Text)
- getEventPredictionMetadataResponse_entityId :: Lens' GetEventPredictionMetadataResponse (Maybe Text)
- getEventPredictionMetadataResponse_entityType :: Lens' GetEventPredictionMetadataResponse (Maybe Text)
- getEventPredictionMetadataResponse_evaluatedExternalModels :: Lens' GetEventPredictionMetadataResponse (Maybe [EvaluatedExternalModel])
- getEventPredictionMetadataResponse_evaluatedModelVersions :: Lens' GetEventPredictionMetadataResponse (Maybe [EvaluatedModelVersion])
- getEventPredictionMetadataResponse_eventId :: Lens' GetEventPredictionMetadataResponse (Maybe Text)
- getEventPredictionMetadataResponse_eventTimestamp :: Lens' GetEventPredictionMetadataResponse (Maybe Text)
- getEventPredictionMetadataResponse_eventTypeName :: Lens' GetEventPredictionMetadataResponse (Maybe Text)
- getEventPredictionMetadataResponse_eventVariables :: Lens' GetEventPredictionMetadataResponse (Maybe [EventVariableSummary])
- getEventPredictionMetadataResponse_outcomes :: Lens' GetEventPredictionMetadataResponse (Maybe [Text])
- getEventPredictionMetadataResponse_predictionTimestamp :: Lens' GetEventPredictionMetadataResponse (Maybe Text)
- getEventPredictionMetadataResponse_ruleExecutionMode :: Lens' GetEventPredictionMetadataResponse (Maybe RuleExecutionMode)
- getEventPredictionMetadataResponse_rules :: Lens' GetEventPredictionMetadataResponse (Maybe [EvaluatedRule])
- getEventPredictionMetadataResponse_httpStatus :: Lens' GetEventPredictionMetadataResponse Int
Creating a Request
data GetEventPredictionMetadata Source #
See: newGetEventPredictionMetadata
smart constructor.
GetEventPredictionMetadata' | |
|
Instances
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_eventId :: Lens' GetEventPredictionMetadata Text Source #
The event ID.
getEventPredictionMetadata_eventTypeName :: Lens' GetEventPredictionMetadata Text Source #
The event type associated with the detector specified for the prediction.
getEventPredictionMetadata_detectorId :: Lens' GetEventPredictionMetadata Text Source #
The detector ID.
getEventPredictionMetadata_detectorVersionId :: Lens' GetEventPredictionMetadata Text Source #
The detector version ID.
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 #
See: newGetEventPredictionMetadataResponse
smart constructor.
GetEventPredictionMetadataResponse' | |
|
Instances
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_detectorId :: Lens' GetEventPredictionMetadataResponse (Maybe Text) Source #
The detector ID.
getEventPredictionMetadataResponse_detectorVersionId :: Lens' GetEventPredictionMetadataResponse (Maybe Text) Source #
The detector version ID.
getEventPredictionMetadataResponse_detectorVersionStatus :: Lens' GetEventPredictionMetadataResponse (Maybe Text) Source #
The status of the detector version.
getEventPredictionMetadataResponse_entityId :: Lens' GetEventPredictionMetadataResponse (Maybe Text) Source #
The entity ID.
getEventPredictionMetadataResponse_entityType :: Lens' GetEventPredictionMetadataResponse (Maybe Text) Source #
The entity type.
getEventPredictionMetadataResponse_evaluatedExternalModels :: Lens' GetEventPredictionMetadataResponse (Maybe [EvaluatedExternalModel]) Source #
External (Amazon SageMaker) models that were evaluated for generating predictions.
getEventPredictionMetadataResponse_evaluatedModelVersions :: Lens' GetEventPredictionMetadataResponse (Maybe [EvaluatedModelVersion]) Source #
Model versions that were evaluated for generating predictions.
getEventPredictionMetadataResponse_eventId :: Lens' GetEventPredictionMetadataResponse (Maybe Text) Source #
The event ID.
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_eventVariables :: Lens' GetEventPredictionMetadataResponse (Maybe [EventVariableSummary]) Source #
A list of event variables that influenced the prediction scores.
getEventPredictionMetadataResponse_outcomes :: Lens' GetEventPredictionMetadataResponse (Maybe [Text]) Source #
The outcomes of the matched rule, based on the rule execution mode.
getEventPredictionMetadataResponse_predictionTimestamp :: Lens' GetEventPredictionMetadataResponse (Maybe Text) Source #
The timestamp that defines when the prediction was generated.
getEventPredictionMetadataResponse_ruleExecutionMode :: Lens' GetEventPredictionMetadataResponse (Maybe RuleExecutionMode) Source #
The execution mode of the rule used for evaluating variable values.
getEventPredictionMetadataResponse_rules :: Lens' GetEventPredictionMetadataResponse (Maybe [EvaluatedRule]) Source #
List of rules associated with the detector version that were used for evaluating variable values.
getEventPredictionMetadataResponse_httpStatus :: Lens' GetEventPredictionMetadataResponse Int Source #
The response's http status code.