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 |
- Service Configuration
- Errors
- AsyncJobStatus
- DataSource
- DataType
- DetectorVersionStatus
- EventIngestion
- Language
- ModelEndpointStatus
- ModelInputDataFormat
- ModelOutputDataFormat
- ModelSource
- ModelTypeEnum
- ModelVersionStatus
- RuleExecutionMode
- TrainingDataSourceEnum
- UnlabeledEventsTreatment
- ATIMetricDataPoint
- ATIModelPerformance
- ATITrainingMetricsValue
- AggregatedLogOddsMetric
- AggregatedVariablesImpactExplanation
- AggregatedVariablesImportanceMetrics
- BatchCreateVariableError
- BatchGetVariableError
- BatchImport
- BatchPrediction
- DataValidationMetrics
- Detector
- DetectorVersionSummary
- Entity
- EntityType
- EvaluatedExternalModel
- EvaluatedModelVersion
- EvaluatedRule
- Event
- EventPredictionSummary
- EventType
- EventVariableSummary
- ExternalEventsDetail
- ExternalModel
- ExternalModelOutputs
- ExternalModelSummary
- FieldValidationMessage
- FileValidationMessage
- FilterCondition
- IngestedEventStatistics
- IngestedEventsDetail
- IngestedEventsTimeWindow
- KMSKey
- Label
- LabelSchema
- LogOddsMetric
- MetricDataPoint
- Model
- ModelEndpointDataBlob
- ModelInputConfiguration
- ModelOutputConfiguration
- ModelScores
- ModelVersion
- ModelVersionDetail
- ModelVersionEvaluation
- OFIMetricDataPoint
- OFIModelPerformance
- OFITrainingMetricsValue
- Outcome
- PredictionExplanations
- PredictionTimeRange
- Rule
- RuleDetail
- RuleResult
- TFIMetricDataPoint
- TFIModelPerformance
- TFITrainingMetricsValue
- Tag
- TrainingDataSchema
- TrainingMetrics
- TrainingMetricsV2
- TrainingResult
- TrainingResultV2
- Variable
- VariableEntry
- VariableImpactExplanation
- VariableImportanceMetrics
Synopsis
- defaultService :: Service
- _AccessDeniedException :: AsError a => Fold a ServiceError
- _ConflictException :: AsError a => Fold a ServiceError
- _InternalServerException :: AsError a => Fold a ServiceError
- _ResourceNotFoundException :: AsError a => Fold a ServiceError
- _ResourceUnavailableException :: AsError a => Fold a ServiceError
- _ThrottlingException :: AsError a => Fold a ServiceError
- _ValidationException :: AsError a => Fold a ServiceError
- newtype AsyncJobStatus where
- AsyncJobStatus' { }
- pattern AsyncJobStatus_CANCELED :: AsyncJobStatus
- pattern AsyncJobStatus_CANCEL_IN_PROGRESS :: AsyncJobStatus
- pattern AsyncJobStatus_COMPLETE :: AsyncJobStatus
- pattern AsyncJobStatus_FAILED :: AsyncJobStatus
- pattern AsyncJobStatus_IN_PROGRESS :: AsyncJobStatus
- pattern AsyncJobStatus_IN_PROGRESS_INITIALIZING :: AsyncJobStatus
- newtype DataSource where
- DataSource' { }
- pattern DataSource_EVENT :: DataSource
- pattern DataSource_EXTERNAL_MODEL_SCORE :: DataSource
- pattern DataSource_MODEL_SCORE :: DataSource
- newtype DataType where
- DataType' {
- fromDataType :: Text
- pattern DataType_BOOLEAN :: DataType
- pattern DataType_FLOAT :: DataType
- pattern DataType_INTEGER :: DataType
- pattern DataType_STRING :: DataType
- DataType' {
- newtype DetectorVersionStatus where
- newtype EventIngestion where
- EventIngestion' { }
- pattern EventIngestion_DISABLED :: EventIngestion
- pattern EventIngestion_ENABLED :: EventIngestion
- newtype Language where
- Language' {
- fromLanguage :: Text
- pattern Language_DETECTORPL :: Language
- Language' {
- newtype ModelEndpointStatus where
- newtype ModelInputDataFormat where
- newtype ModelOutputDataFormat where
- newtype ModelSource where
- ModelSource' { }
- pattern ModelSource_SAGEMAKER :: ModelSource
- newtype ModelTypeEnum where
- newtype ModelVersionStatus where
- newtype RuleExecutionMode where
- newtype TrainingDataSourceEnum where
- newtype UnlabeledEventsTreatment where
- data ATIMetricDataPoint = ATIMetricDataPoint' {}
- newATIMetricDataPoint :: ATIMetricDataPoint
- aTIMetricDataPoint_adr :: Lens' ATIMetricDataPoint (Maybe Double)
- aTIMetricDataPoint_atodr :: Lens' ATIMetricDataPoint (Maybe Double)
- aTIMetricDataPoint_cr :: Lens' ATIMetricDataPoint (Maybe Double)
- aTIMetricDataPoint_threshold :: Lens' ATIMetricDataPoint (Maybe Double)
- data ATIModelPerformance = ATIModelPerformance' {}
- newATIModelPerformance :: ATIModelPerformance
- aTIModelPerformance_asi :: Lens' ATIModelPerformance (Maybe Double)
- data ATITrainingMetricsValue = ATITrainingMetricsValue' {}
- newATITrainingMetricsValue :: ATITrainingMetricsValue
- aTITrainingMetricsValue_metricDataPoints :: Lens' ATITrainingMetricsValue (Maybe [ATIMetricDataPoint])
- aTITrainingMetricsValue_modelPerformance :: Lens' ATITrainingMetricsValue (Maybe ATIModelPerformance)
- data AggregatedLogOddsMetric = AggregatedLogOddsMetric' {}
- newAggregatedLogOddsMetric :: Double -> AggregatedLogOddsMetric
- aggregatedLogOddsMetric_variableNames :: Lens' AggregatedLogOddsMetric [Text]
- aggregatedLogOddsMetric_aggregatedVariablesImportance :: Lens' AggregatedLogOddsMetric Double
- data AggregatedVariablesImpactExplanation = AggregatedVariablesImpactExplanation' {}
- newAggregatedVariablesImpactExplanation :: AggregatedVariablesImpactExplanation
- aggregatedVariablesImpactExplanation_eventVariableNames :: Lens' AggregatedVariablesImpactExplanation (Maybe [Text])
- aggregatedVariablesImpactExplanation_logOddsImpact :: Lens' AggregatedVariablesImpactExplanation (Maybe Double)
- aggregatedVariablesImpactExplanation_relativeImpact :: Lens' AggregatedVariablesImpactExplanation (Maybe Text)
- data AggregatedVariablesImportanceMetrics = AggregatedVariablesImportanceMetrics' {}
- newAggregatedVariablesImportanceMetrics :: AggregatedVariablesImportanceMetrics
- aggregatedVariablesImportanceMetrics_logOddsMetrics :: Lens' AggregatedVariablesImportanceMetrics (Maybe [AggregatedLogOddsMetric])
- data BatchCreateVariableError = BatchCreateVariableError' {}
- newBatchCreateVariableError :: BatchCreateVariableError
- batchCreateVariableError_code :: Lens' BatchCreateVariableError (Maybe Int)
- batchCreateVariableError_message :: Lens' BatchCreateVariableError (Maybe Text)
- batchCreateVariableError_name :: Lens' BatchCreateVariableError (Maybe Text)
- data BatchGetVariableError = BatchGetVariableError' {}
- newBatchGetVariableError :: BatchGetVariableError
- batchGetVariableError_code :: Lens' BatchGetVariableError (Maybe Int)
- batchGetVariableError_message :: Lens' BatchGetVariableError (Maybe Text)
- batchGetVariableError_name :: Lens' BatchGetVariableError (Maybe Text)
- data BatchImport = BatchImport' {
- arn :: Maybe Text
- completionTime :: Maybe Text
- eventTypeName :: Maybe Text
- failedRecordsCount :: Maybe Int
- failureReason :: Maybe Text
- iamRoleArn :: Maybe Text
- inputPath :: Maybe Text
- jobId :: Maybe Text
- outputPath :: Maybe Text
- processedRecordsCount :: Maybe Int
- startTime :: Maybe Text
- status :: Maybe AsyncJobStatus
- totalRecordsCount :: Maybe Int
- newBatchImport :: BatchImport
- batchImport_arn :: Lens' BatchImport (Maybe Text)
- batchImport_completionTime :: Lens' BatchImport (Maybe Text)
- batchImport_eventTypeName :: Lens' BatchImport (Maybe Text)
- batchImport_failedRecordsCount :: Lens' BatchImport (Maybe Int)
- batchImport_failureReason :: Lens' BatchImport (Maybe Text)
- batchImport_iamRoleArn :: Lens' BatchImport (Maybe Text)
- batchImport_inputPath :: Lens' BatchImport (Maybe Text)
- batchImport_jobId :: Lens' BatchImport (Maybe Text)
- batchImport_outputPath :: Lens' BatchImport (Maybe Text)
- batchImport_processedRecordsCount :: Lens' BatchImport (Maybe Int)
- batchImport_startTime :: Lens' BatchImport (Maybe Text)
- batchImport_status :: Lens' BatchImport (Maybe AsyncJobStatus)
- batchImport_totalRecordsCount :: Lens' BatchImport (Maybe Int)
- data BatchPrediction = BatchPrediction' {
- arn :: Maybe Text
- completionTime :: Maybe Text
- detectorName :: Maybe Text
- detectorVersion :: Maybe Text
- eventTypeName :: Maybe Text
- failureReason :: Maybe Text
- iamRoleArn :: Maybe Text
- inputPath :: Maybe Text
- jobId :: Maybe Text
- lastHeartbeatTime :: Maybe Text
- outputPath :: Maybe Text
- processedRecordsCount :: Maybe Int
- startTime :: Maybe Text
- status :: Maybe AsyncJobStatus
- totalRecordsCount :: Maybe Int
- newBatchPrediction :: BatchPrediction
- batchPrediction_arn :: Lens' BatchPrediction (Maybe Text)
- batchPrediction_completionTime :: Lens' BatchPrediction (Maybe Text)
- batchPrediction_detectorName :: Lens' BatchPrediction (Maybe Text)
- batchPrediction_detectorVersion :: Lens' BatchPrediction (Maybe Text)
- batchPrediction_eventTypeName :: Lens' BatchPrediction (Maybe Text)
- batchPrediction_failureReason :: Lens' BatchPrediction (Maybe Text)
- batchPrediction_iamRoleArn :: Lens' BatchPrediction (Maybe Text)
- batchPrediction_inputPath :: Lens' BatchPrediction (Maybe Text)
- batchPrediction_jobId :: Lens' BatchPrediction (Maybe Text)
- batchPrediction_lastHeartbeatTime :: Lens' BatchPrediction (Maybe Text)
- batchPrediction_outputPath :: Lens' BatchPrediction (Maybe Text)
- batchPrediction_processedRecordsCount :: Lens' BatchPrediction (Maybe Int)
- batchPrediction_startTime :: Lens' BatchPrediction (Maybe Text)
- batchPrediction_status :: Lens' BatchPrediction (Maybe AsyncJobStatus)
- batchPrediction_totalRecordsCount :: Lens' BatchPrediction (Maybe Int)
- data DataValidationMetrics = DataValidationMetrics' {}
- newDataValidationMetrics :: DataValidationMetrics
- dataValidationMetrics_fieldLevelMessages :: Lens' DataValidationMetrics (Maybe [FieldValidationMessage])
- dataValidationMetrics_fileLevelMessages :: Lens' DataValidationMetrics (Maybe [FileValidationMessage])
- data Detector = Detector' {
- arn :: Maybe Text
- createdTime :: Maybe Text
- description :: Maybe Text
- detectorId :: Maybe Text
- eventTypeName :: Maybe Text
- lastUpdatedTime :: Maybe Text
- newDetector :: Detector
- detector_arn :: Lens' Detector (Maybe Text)
- detector_createdTime :: Lens' Detector (Maybe Text)
- detector_description :: Lens' Detector (Maybe Text)
- detector_detectorId :: Lens' Detector (Maybe Text)
- detector_eventTypeName :: Lens' Detector (Maybe Text)
- detector_lastUpdatedTime :: Lens' Detector (Maybe Text)
- data DetectorVersionSummary = DetectorVersionSummary' {}
- newDetectorVersionSummary :: DetectorVersionSummary
- detectorVersionSummary_description :: Lens' DetectorVersionSummary (Maybe Text)
- detectorVersionSummary_detectorVersionId :: Lens' DetectorVersionSummary (Maybe Text)
- detectorVersionSummary_lastUpdatedTime :: Lens' DetectorVersionSummary (Maybe Text)
- detectorVersionSummary_status :: Lens' DetectorVersionSummary (Maybe DetectorVersionStatus)
- data Entity = Entity' {
- entityType :: Text
- entityId :: Text
- newEntity :: Text -> Text -> Entity
- entity_entityType :: Lens' Entity Text
- entity_entityId :: Lens' Entity Text
- data EntityType = EntityType' {
- arn :: Maybe Text
- createdTime :: Maybe Text
- description :: Maybe Text
- lastUpdatedTime :: Maybe Text
- name :: Maybe Text
- newEntityType :: EntityType
- entityType_arn :: Lens' EntityType (Maybe Text)
- entityType_createdTime :: Lens' EntityType (Maybe Text)
- entityType_description :: Lens' EntityType (Maybe Text)
- entityType_lastUpdatedTime :: Lens' EntityType (Maybe Text)
- entityType_name :: Lens' EntityType (Maybe Text)
- data EvaluatedExternalModel = EvaluatedExternalModel' {
- inputVariables :: Maybe (Sensitive (HashMap Text Text))
- modelEndpoint :: Maybe Text
- outputVariables :: Maybe (Sensitive (HashMap Text Text))
- useEventVariables :: Maybe Bool
- newEvaluatedExternalModel :: EvaluatedExternalModel
- evaluatedExternalModel_inputVariables :: Lens' EvaluatedExternalModel (Maybe (HashMap Text Text))
- evaluatedExternalModel_modelEndpoint :: Lens' EvaluatedExternalModel (Maybe Text)
- evaluatedExternalModel_outputVariables :: Lens' EvaluatedExternalModel (Maybe (HashMap Text Text))
- evaluatedExternalModel_useEventVariables :: Lens' EvaluatedExternalModel (Maybe Bool)
- data EvaluatedModelVersion = EvaluatedModelVersion' {}
- newEvaluatedModelVersion :: EvaluatedModelVersion
- evaluatedModelVersion_evaluations :: Lens' EvaluatedModelVersion (Maybe [ModelVersionEvaluation])
- evaluatedModelVersion_modelId :: Lens' EvaluatedModelVersion (Maybe Text)
- evaluatedModelVersion_modelType :: Lens' EvaluatedModelVersion (Maybe Text)
- evaluatedModelVersion_modelVersion :: Lens' EvaluatedModelVersion (Maybe Text)
- data EvaluatedRule = EvaluatedRule' {}
- newEvaluatedRule :: EvaluatedRule
- evaluatedRule_evaluated :: Lens' EvaluatedRule (Maybe Bool)
- evaluatedRule_expression :: Lens' EvaluatedRule (Maybe Text)
- evaluatedRule_expressionWithValues :: Lens' EvaluatedRule (Maybe Text)
- evaluatedRule_matched :: Lens' EvaluatedRule (Maybe Bool)
- evaluatedRule_outcomes :: Lens' EvaluatedRule (Maybe [Text])
- evaluatedRule_ruleId :: Lens' EvaluatedRule (Maybe Text)
- evaluatedRule_ruleVersion :: Lens' EvaluatedRule (Maybe Text)
- data Event = Event' {
- currentLabel :: Maybe Text
- entities :: Maybe [Sensitive Entity]
- eventId :: Maybe Text
- eventTimestamp :: Maybe Text
- eventTypeName :: Maybe Text
- eventVariables :: Maybe (HashMap Text (Sensitive Text))
- labelTimestamp :: Maybe Text
- newEvent :: Event
- event_currentLabel :: Lens' Event (Maybe Text)
- event_entities :: Lens' Event (Maybe [Entity])
- event_eventId :: Lens' Event (Maybe Text)
- event_eventTimestamp :: Lens' Event (Maybe Text)
- event_eventTypeName :: Lens' Event (Maybe Text)
- event_eventVariables :: Lens' Event (Maybe (HashMap Text Text))
- event_labelTimestamp :: Lens' Event (Maybe Text)
- data EventPredictionSummary = EventPredictionSummary' {}
- newEventPredictionSummary :: EventPredictionSummary
- eventPredictionSummary_detectorId :: Lens' EventPredictionSummary (Maybe Text)
- eventPredictionSummary_detectorVersionId :: Lens' EventPredictionSummary (Maybe Text)
- eventPredictionSummary_eventId :: Lens' EventPredictionSummary (Maybe Text)
- eventPredictionSummary_eventTimestamp :: Lens' EventPredictionSummary (Maybe Text)
- eventPredictionSummary_eventTypeName :: Lens' EventPredictionSummary (Maybe Text)
- eventPredictionSummary_predictionTimestamp :: Lens' EventPredictionSummary (Maybe Text)
- data EventType = EventType' {}
- newEventType :: EventType
- eventType_arn :: Lens' EventType (Maybe Text)
- eventType_createdTime :: Lens' EventType (Maybe Text)
- eventType_description :: Lens' EventType (Maybe Text)
- eventType_entityTypes :: Lens' EventType (Maybe (NonEmpty Text))
- eventType_eventIngestion :: Lens' EventType (Maybe EventIngestion)
- eventType_eventVariables :: Lens' EventType (Maybe [Text])
- eventType_ingestedEventStatistics :: Lens' EventType (Maybe IngestedEventStatistics)
- eventType_labels :: Lens' EventType (Maybe [Text])
- eventType_lastUpdatedTime :: Lens' EventType (Maybe Text)
- eventType_name :: Lens' EventType (Maybe Text)
- data EventVariableSummary = EventVariableSummary' {}
- newEventVariableSummary :: EventVariableSummary
- eventVariableSummary_name :: Lens' EventVariableSummary (Maybe Text)
- eventVariableSummary_source :: Lens' EventVariableSummary (Maybe Text)
- eventVariableSummary_value :: Lens' EventVariableSummary (Maybe Text)
- data ExternalEventsDetail = ExternalEventsDetail' {}
- newExternalEventsDetail :: Text -> Text -> ExternalEventsDetail
- externalEventsDetail_dataLocation :: Lens' ExternalEventsDetail Text
- externalEventsDetail_dataAccessRoleArn :: Lens' ExternalEventsDetail Text
- data ExternalModel = ExternalModel' {
- arn :: Maybe Text
- createdTime :: Maybe Text
- inputConfiguration :: Maybe ModelInputConfiguration
- invokeModelEndpointRoleArn :: Maybe Text
- lastUpdatedTime :: Maybe Text
- modelEndpoint :: Maybe Text
- modelEndpointStatus :: Maybe ModelEndpointStatus
- modelSource :: Maybe ModelSource
- outputConfiguration :: Maybe ModelOutputConfiguration
- newExternalModel :: ExternalModel
- externalModel_arn :: Lens' ExternalModel (Maybe Text)
- externalModel_createdTime :: Lens' ExternalModel (Maybe Text)
- externalModel_inputConfiguration :: Lens' ExternalModel (Maybe ModelInputConfiguration)
- externalModel_invokeModelEndpointRoleArn :: Lens' ExternalModel (Maybe Text)
- externalModel_lastUpdatedTime :: Lens' ExternalModel (Maybe Text)
- externalModel_modelEndpoint :: Lens' ExternalModel (Maybe Text)
- externalModel_modelEndpointStatus :: Lens' ExternalModel (Maybe ModelEndpointStatus)
- externalModel_modelSource :: Lens' ExternalModel (Maybe ModelSource)
- externalModel_outputConfiguration :: Lens' ExternalModel (Maybe ModelOutputConfiguration)
- data ExternalModelOutputs = ExternalModelOutputs' {}
- newExternalModelOutputs :: ExternalModelOutputs
- externalModelOutputs_externalModel :: Lens' ExternalModelOutputs (Maybe ExternalModelSummary)
- externalModelOutputs_outputs :: Lens' ExternalModelOutputs (Maybe (HashMap Text Text))
- data ExternalModelSummary = ExternalModelSummary' {}
- newExternalModelSummary :: ExternalModelSummary
- externalModelSummary_modelEndpoint :: Lens' ExternalModelSummary (Maybe Text)
- externalModelSummary_modelSource :: Lens' ExternalModelSummary (Maybe ModelSource)
- data FieldValidationMessage = FieldValidationMessage' {}
- newFieldValidationMessage :: FieldValidationMessage
- fieldValidationMessage_content :: Lens' FieldValidationMessage (Maybe Text)
- fieldValidationMessage_fieldName :: Lens' FieldValidationMessage (Maybe Text)
- fieldValidationMessage_identifier :: Lens' FieldValidationMessage (Maybe Text)
- fieldValidationMessage_title :: Lens' FieldValidationMessage (Maybe Text)
- fieldValidationMessage_type :: Lens' FieldValidationMessage (Maybe Text)
- data FileValidationMessage = FileValidationMessage' {}
- newFileValidationMessage :: FileValidationMessage
- fileValidationMessage_content :: Lens' FileValidationMessage (Maybe Text)
- fileValidationMessage_title :: Lens' FileValidationMessage (Maybe Text)
- fileValidationMessage_type :: Lens' FileValidationMessage (Maybe Text)
- data FilterCondition = FilterCondition' {}
- newFilterCondition :: FilterCondition
- filterCondition_value :: Lens' FilterCondition (Maybe Text)
- data IngestedEventStatistics = IngestedEventStatistics' {}
- newIngestedEventStatistics :: IngestedEventStatistics
- ingestedEventStatistics_eventDataSizeInBytes :: Lens' IngestedEventStatistics (Maybe Integer)
- ingestedEventStatistics_lastUpdatedTime :: Lens' IngestedEventStatistics (Maybe Text)
- ingestedEventStatistics_leastRecentEvent :: Lens' IngestedEventStatistics (Maybe Text)
- ingestedEventStatistics_mostRecentEvent :: Lens' IngestedEventStatistics (Maybe Text)
- ingestedEventStatistics_numberOfEvents :: Lens' IngestedEventStatistics (Maybe Integer)
- data IngestedEventsDetail = IngestedEventsDetail' {}
- newIngestedEventsDetail :: IngestedEventsTimeWindow -> IngestedEventsDetail
- ingestedEventsDetail_ingestedEventsTimeWindow :: Lens' IngestedEventsDetail IngestedEventsTimeWindow
- data IngestedEventsTimeWindow = IngestedEventsTimeWindow' {}
- newIngestedEventsTimeWindow :: Text -> Text -> IngestedEventsTimeWindow
- ingestedEventsTimeWindow_startTime :: Lens' IngestedEventsTimeWindow Text
- ingestedEventsTimeWindow_endTime :: Lens' IngestedEventsTimeWindow Text
- data KMSKey = KMSKey' {}
- newKMSKey :: KMSKey
- kmsKey_kmsEncryptionKeyArn :: Lens' KMSKey (Maybe Text)
- data Label = Label' {
- arn :: Maybe Text
- createdTime :: Maybe Text
- description :: Maybe Text
- lastUpdatedTime :: Maybe Text
- name :: Maybe Text
- newLabel :: Label
- label_arn :: Lens' Label (Maybe Text)
- label_createdTime :: Lens' Label (Maybe Text)
- label_description :: Lens' Label (Maybe Text)
- label_lastUpdatedTime :: Lens' Label (Maybe Text)
- label_name :: Lens' Label (Maybe Text)
- data LabelSchema = LabelSchema' {}
- newLabelSchema :: LabelSchema
- labelSchema_labelMapper :: Lens' LabelSchema (Maybe (HashMap Text [Text]))
- labelSchema_unlabeledEventsTreatment :: Lens' LabelSchema (Maybe UnlabeledEventsTreatment)
- data LogOddsMetric = LogOddsMetric' {}
- newLogOddsMetric :: Text -> Text -> Double -> LogOddsMetric
- logOddsMetric_variableName :: Lens' LogOddsMetric Text
- logOddsMetric_variableType :: Lens' LogOddsMetric Text
- logOddsMetric_variableImportance :: Lens' LogOddsMetric Double
- data MetricDataPoint = MetricDataPoint' {}
- newMetricDataPoint :: MetricDataPoint
- metricDataPoint_fpr :: Lens' MetricDataPoint (Maybe Double)
- metricDataPoint_precision :: Lens' MetricDataPoint (Maybe Double)
- metricDataPoint_threshold :: Lens' MetricDataPoint (Maybe Double)
- metricDataPoint_tpr :: Lens' MetricDataPoint (Maybe Double)
- data Model = Model' {}
- newModel :: Model
- model_arn :: Lens' Model (Maybe Text)
- model_createdTime :: Lens' Model (Maybe Text)
- model_description :: Lens' Model (Maybe Text)
- model_eventTypeName :: Lens' Model (Maybe Text)
- model_lastUpdatedTime :: Lens' Model (Maybe Text)
- model_modelId :: Lens' Model (Maybe Text)
- model_modelType :: Lens' Model (Maybe ModelTypeEnum)
- data ModelEndpointDataBlob = ModelEndpointDataBlob' {}
- newModelEndpointDataBlob :: ModelEndpointDataBlob
- modelEndpointDataBlob_byteBuffer :: Lens' ModelEndpointDataBlob (Maybe ByteString)
- modelEndpointDataBlob_contentType :: Lens' ModelEndpointDataBlob (Maybe Text)
- data ModelInputConfiguration = ModelInputConfiguration' {}
- newModelInputConfiguration :: Bool -> ModelInputConfiguration
- modelInputConfiguration_csvInputTemplate :: Lens' ModelInputConfiguration (Maybe Text)
- modelInputConfiguration_eventTypeName :: Lens' ModelInputConfiguration (Maybe Text)
- modelInputConfiguration_format :: Lens' ModelInputConfiguration (Maybe ModelInputDataFormat)
- modelInputConfiguration_jsonInputTemplate :: Lens' ModelInputConfiguration (Maybe Text)
- modelInputConfiguration_useEventVariables :: Lens' ModelInputConfiguration Bool
- data ModelOutputConfiguration = ModelOutputConfiguration' {}
- newModelOutputConfiguration :: ModelOutputDataFormat -> ModelOutputConfiguration
- modelOutputConfiguration_csvIndexToVariableMap :: Lens' ModelOutputConfiguration (Maybe (HashMap Text Text))
- modelOutputConfiguration_jsonKeyToVariableMap :: Lens' ModelOutputConfiguration (Maybe (HashMap Text Text))
- modelOutputConfiguration_format :: Lens' ModelOutputConfiguration ModelOutputDataFormat
- data ModelScores = ModelScores' {}
- newModelScores :: ModelScores
- modelScores_modelVersion :: Lens' ModelScores (Maybe ModelVersion)
- modelScores_scores :: Lens' ModelScores (Maybe (HashMap Text Double))
- data ModelVersion = ModelVersion' {
- arn :: Maybe Text
- modelId :: Text
- modelType :: ModelTypeEnum
- modelVersionNumber :: Text
- newModelVersion :: Text -> ModelTypeEnum -> Text -> ModelVersion
- modelVersion_arn :: Lens' ModelVersion (Maybe Text)
- modelVersion_modelId :: Lens' ModelVersion Text
- modelVersion_modelType :: Lens' ModelVersion ModelTypeEnum
- modelVersion_modelVersionNumber :: Lens' ModelVersion Text
- data ModelVersionDetail = ModelVersionDetail' {
- arn :: Maybe Text
- createdTime :: Maybe Text
- externalEventsDetail :: Maybe ExternalEventsDetail
- ingestedEventsDetail :: Maybe IngestedEventsDetail
- lastUpdatedTime :: Maybe Text
- modelId :: Maybe Text
- modelType :: Maybe ModelTypeEnum
- modelVersionNumber :: Maybe Text
- status :: Maybe Text
- trainingDataSchema :: Maybe TrainingDataSchema
- trainingDataSource :: Maybe TrainingDataSourceEnum
- trainingResult :: Maybe TrainingResult
- trainingResultV2 :: Maybe TrainingResultV2
- newModelVersionDetail :: ModelVersionDetail
- modelVersionDetail_arn :: Lens' ModelVersionDetail (Maybe Text)
- modelVersionDetail_createdTime :: Lens' ModelVersionDetail (Maybe Text)
- modelVersionDetail_externalEventsDetail :: Lens' ModelVersionDetail (Maybe ExternalEventsDetail)
- modelVersionDetail_ingestedEventsDetail :: Lens' ModelVersionDetail (Maybe IngestedEventsDetail)
- modelVersionDetail_lastUpdatedTime :: Lens' ModelVersionDetail (Maybe Text)
- modelVersionDetail_modelId :: Lens' ModelVersionDetail (Maybe Text)
- modelVersionDetail_modelType :: Lens' ModelVersionDetail (Maybe ModelTypeEnum)
- modelVersionDetail_modelVersionNumber :: Lens' ModelVersionDetail (Maybe Text)
- modelVersionDetail_status :: Lens' ModelVersionDetail (Maybe Text)
- modelVersionDetail_trainingDataSchema :: Lens' ModelVersionDetail (Maybe TrainingDataSchema)
- modelVersionDetail_trainingDataSource :: Lens' ModelVersionDetail (Maybe TrainingDataSourceEnum)
- modelVersionDetail_trainingResult :: Lens' ModelVersionDetail (Maybe TrainingResult)
- modelVersionDetail_trainingResultV2 :: Lens' ModelVersionDetail (Maybe TrainingResultV2)
- data ModelVersionEvaluation = ModelVersionEvaluation' {}
- newModelVersionEvaluation :: ModelVersionEvaluation
- modelVersionEvaluation_evaluationScore :: Lens' ModelVersionEvaluation (Maybe Text)
- modelVersionEvaluation_outputVariableName :: Lens' ModelVersionEvaluation (Maybe Text)
- modelVersionEvaluation_predictionExplanations :: Lens' ModelVersionEvaluation (Maybe PredictionExplanations)
- data OFIMetricDataPoint = OFIMetricDataPoint' {}
- newOFIMetricDataPoint :: OFIMetricDataPoint
- oFIMetricDataPoint_fpr :: Lens' OFIMetricDataPoint (Maybe Double)
- oFIMetricDataPoint_precision :: Lens' OFIMetricDataPoint (Maybe Double)
- oFIMetricDataPoint_threshold :: Lens' OFIMetricDataPoint (Maybe Double)
- oFIMetricDataPoint_tpr :: Lens' OFIMetricDataPoint (Maybe Double)
- data OFIModelPerformance = OFIModelPerformance' {}
- newOFIModelPerformance :: OFIModelPerformance
- oFIModelPerformance_auc :: Lens' OFIModelPerformance (Maybe Double)
- data OFITrainingMetricsValue = OFITrainingMetricsValue' {}
- newOFITrainingMetricsValue :: OFITrainingMetricsValue
- oFITrainingMetricsValue_metricDataPoints :: Lens' OFITrainingMetricsValue (Maybe [OFIMetricDataPoint])
- oFITrainingMetricsValue_modelPerformance :: Lens' OFITrainingMetricsValue (Maybe OFIModelPerformance)
- data Outcome = Outcome' {
- arn :: Maybe Text
- createdTime :: Maybe Text
- description :: Maybe Text
- lastUpdatedTime :: Maybe Text
- name :: Maybe Text
- newOutcome :: Outcome
- outcome_arn :: Lens' Outcome (Maybe Text)
- outcome_createdTime :: Lens' Outcome (Maybe Text)
- outcome_description :: Lens' Outcome (Maybe Text)
- outcome_lastUpdatedTime :: Lens' Outcome (Maybe Text)
- outcome_name :: Lens' Outcome (Maybe Text)
- data PredictionExplanations = PredictionExplanations' {}
- newPredictionExplanations :: PredictionExplanations
- predictionExplanations_aggregatedVariablesImpactExplanations :: Lens' PredictionExplanations (Maybe [AggregatedVariablesImpactExplanation])
- predictionExplanations_variableImpactExplanations :: Lens' PredictionExplanations (Maybe [VariableImpactExplanation])
- data PredictionTimeRange = PredictionTimeRange' {}
- newPredictionTimeRange :: Text -> Text -> PredictionTimeRange
- predictionTimeRange_startTime :: Lens' PredictionTimeRange Text
- predictionTimeRange_endTime :: Lens' PredictionTimeRange Text
- data Rule = Rule' {
- detectorId :: Text
- ruleId :: Text
- ruleVersion :: Text
- newRule :: Text -> Text -> Text -> Rule
- rule_detectorId :: Lens' Rule Text
- rule_ruleId :: Lens' Rule Text
- rule_ruleVersion :: Lens' Rule Text
- data RuleDetail = RuleDetail' {}
- newRuleDetail :: RuleDetail
- ruleDetail_arn :: Lens' RuleDetail (Maybe Text)
- ruleDetail_createdTime :: Lens' RuleDetail (Maybe Text)
- ruleDetail_description :: Lens' RuleDetail (Maybe Text)
- ruleDetail_detectorId :: Lens' RuleDetail (Maybe Text)
- ruleDetail_expression :: Lens' RuleDetail (Maybe Text)
- ruleDetail_language :: Lens' RuleDetail (Maybe Language)
- ruleDetail_lastUpdatedTime :: Lens' RuleDetail (Maybe Text)
- ruleDetail_outcomes :: Lens' RuleDetail (Maybe (NonEmpty Text))
- ruleDetail_ruleId :: Lens' RuleDetail (Maybe Text)
- ruleDetail_ruleVersion :: Lens' RuleDetail (Maybe Text)
- data RuleResult = RuleResult' {}
- newRuleResult :: RuleResult
- ruleResult_outcomes :: Lens' RuleResult (Maybe [Text])
- ruleResult_ruleId :: Lens' RuleResult (Maybe Text)
- data TFIMetricDataPoint = TFIMetricDataPoint' {}
- newTFIMetricDataPoint :: TFIMetricDataPoint
- tFIMetricDataPoint_fpr :: Lens' TFIMetricDataPoint (Maybe Double)
- tFIMetricDataPoint_precision :: Lens' TFIMetricDataPoint (Maybe Double)
- tFIMetricDataPoint_threshold :: Lens' TFIMetricDataPoint (Maybe Double)
- tFIMetricDataPoint_tpr :: Lens' TFIMetricDataPoint (Maybe Double)
- data TFIModelPerformance = TFIModelPerformance' {}
- newTFIModelPerformance :: TFIModelPerformance
- tFIModelPerformance_auc :: Lens' TFIModelPerformance (Maybe Double)
- data TFITrainingMetricsValue = TFITrainingMetricsValue' {}
- newTFITrainingMetricsValue :: TFITrainingMetricsValue
- tFITrainingMetricsValue_metricDataPoints :: Lens' TFITrainingMetricsValue (Maybe [TFIMetricDataPoint])
- tFITrainingMetricsValue_modelPerformance :: Lens' TFITrainingMetricsValue (Maybe TFIModelPerformance)
- data Tag = Tag' {}
- newTag :: Text -> Text -> Tag
- tag_key :: Lens' Tag Text
- tag_value :: Lens' Tag Text
- data TrainingDataSchema = TrainingDataSchema' {}
- newTrainingDataSchema :: TrainingDataSchema
- trainingDataSchema_labelSchema :: Lens' TrainingDataSchema (Maybe LabelSchema)
- trainingDataSchema_modelVariables :: Lens' TrainingDataSchema [Text]
- data TrainingMetrics = TrainingMetrics' {}
- newTrainingMetrics :: TrainingMetrics
- trainingMetrics_auc :: Lens' TrainingMetrics (Maybe Double)
- trainingMetrics_metricDataPoints :: Lens' TrainingMetrics (Maybe [MetricDataPoint])
- data TrainingMetricsV2 = TrainingMetricsV2' {}
- newTrainingMetricsV2 :: TrainingMetricsV2
- trainingMetricsV2_ati :: Lens' TrainingMetricsV2 (Maybe ATITrainingMetricsValue)
- trainingMetricsV2_ofi :: Lens' TrainingMetricsV2 (Maybe OFITrainingMetricsValue)
- trainingMetricsV2_tfi :: Lens' TrainingMetricsV2 (Maybe TFITrainingMetricsValue)
- data TrainingResult = TrainingResult' {}
- newTrainingResult :: TrainingResult
- trainingResult_dataValidationMetrics :: Lens' TrainingResult (Maybe DataValidationMetrics)
- trainingResult_trainingMetrics :: Lens' TrainingResult (Maybe TrainingMetrics)
- trainingResult_variableImportanceMetrics :: Lens' TrainingResult (Maybe VariableImportanceMetrics)
- data TrainingResultV2 = TrainingResultV2' {}
- newTrainingResultV2 :: TrainingResultV2
- trainingResultV2_aggregatedVariablesImportanceMetrics :: Lens' TrainingResultV2 (Maybe AggregatedVariablesImportanceMetrics)
- trainingResultV2_dataValidationMetrics :: Lens' TrainingResultV2 (Maybe DataValidationMetrics)
- trainingResultV2_trainingMetricsV2 :: Lens' TrainingResultV2 (Maybe TrainingMetricsV2)
- trainingResultV2_variableImportanceMetrics :: Lens' TrainingResultV2 (Maybe VariableImportanceMetrics)
- data Variable = Variable' {
- arn :: Maybe Text
- createdTime :: Maybe Text
- dataSource :: Maybe DataSource
- dataType :: Maybe DataType
- defaultValue :: Maybe Text
- description :: Maybe Text
- lastUpdatedTime :: Maybe Text
- name :: Maybe Text
- variableType :: Maybe Text
- newVariable :: Variable
- variable_arn :: Lens' Variable (Maybe Text)
- variable_createdTime :: Lens' Variable (Maybe Text)
- variable_dataSource :: Lens' Variable (Maybe DataSource)
- variable_dataType :: Lens' Variable (Maybe DataType)
- variable_defaultValue :: Lens' Variable (Maybe Text)
- variable_description :: Lens' Variable (Maybe Text)
- variable_lastUpdatedTime :: Lens' Variable (Maybe Text)
- variable_name :: Lens' Variable (Maybe Text)
- variable_variableType :: Lens' Variable (Maybe Text)
- data VariableEntry = VariableEntry' {
- dataSource :: Maybe Text
- dataType :: Maybe Text
- defaultValue :: Maybe Text
- description :: Maybe Text
- name :: Maybe Text
- variableType :: Maybe Text
- newVariableEntry :: VariableEntry
- variableEntry_dataSource :: Lens' VariableEntry (Maybe Text)
- variableEntry_dataType :: Lens' VariableEntry (Maybe Text)
- variableEntry_defaultValue :: Lens' VariableEntry (Maybe Text)
- variableEntry_description :: Lens' VariableEntry (Maybe Text)
- variableEntry_name :: Lens' VariableEntry (Maybe Text)
- variableEntry_variableType :: Lens' VariableEntry (Maybe Text)
- data VariableImpactExplanation = VariableImpactExplanation' {}
- newVariableImpactExplanation :: VariableImpactExplanation
- variableImpactExplanation_eventVariableName :: Lens' VariableImpactExplanation (Maybe Text)
- variableImpactExplanation_logOddsImpact :: Lens' VariableImpactExplanation (Maybe Double)
- variableImpactExplanation_relativeImpact :: Lens' VariableImpactExplanation (Maybe Text)
- data VariableImportanceMetrics = VariableImportanceMetrics' {}
- newVariableImportanceMetrics :: VariableImportanceMetrics
- variableImportanceMetrics_logOddsMetrics :: Lens' VariableImportanceMetrics (Maybe [LogOddsMetric])
Service Configuration
defaultService :: Service Source #
API version 2019-11-15
of the Amazon Fraud Detector SDK configuration.
Errors
_AccessDeniedException :: AsError a => Fold a ServiceError Source #
An exception indicating Amazon Fraud Detector does not have the needed
permissions. This can occur if you submit a request, such as
PutExternalModel
, that specifies a role that is not in your account.
_ConflictException :: AsError a => Fold a ServiceError Source #
An exception indicating there was a conflict during a delete operation.
_InternalServerException :: AsError a => Fold a ServiceError Source #
An exception indicating an internal server error.
_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #
An exception indicating the specified resource was not found.
_ResourceUnavailableException :: AsError a => Fold a ServiceError Source #
An exception indicating that the attached customer-owned (external) model threw an exception when Amazon Fraud Detector invoked the model.
_ThrottlingException :: AsError a => Fold a ServiceError Source #
An exception indicating a throttling error.
_ValidationException :: AsError a => Fold a ServiceError Source #
An exception indicating a specified value is not allowed.
AsyncJobStatus
newtype AsyncJobStatus Source #
pattern AsyncJobStatus_CANCELED :: AsyncJobStatus | |
pattern AsyncJobStatus_CANCEL_IN_PROGRESS :: AsyncJobStatus | |
pattern AsyncJobStatus_COMPLETE :: AsyncJobStatus | |
pattern AsyncJobStatus_FAILED :: AsyncJobStatus | |
pattern AsyncJobStatus_IN_PROGRESS :: AsyncJobStatus | |
pattern AsyncJobStatus_IN_PROGRESS_INITIALIZING :: AsyncJobStatus |
Instances
DataSource
newtype DataSource Source #
pattern DataSource_EVENT :: DataSource | |
pattern DataSource_EXTERNAL_MODEL_SCORE :: DataSource | |
pattern DataSource_MODEL_SCORE :: DataSource |
Instances
DataType
pattern DataType_BOOLEAN :: DataType | |
pattern DataType_FLOAT :: DataType | |
pattern DataType_INTEGER :: DataType | |
pattern DataType_STRING :: DataType |
Instances
DetectorVersionStatus
newtype DetectorVersionStatus Source #
pattern DetectorVersionStatus_ACTIVE :: DetectorVersionStatus | |
pattern DetectorVersionStatus_DRAFT :: DetectorVersionStatus | |
pattern DetectorVersionStatus_INACTIVE :: DetectorVersionStatus |
Instances
EventIngestion
newtype EventIngestion Source #
pattern EventIngestion_DISABLED :: EventIngestion | |
pattern EventIngestion_ENABLED :: EventIngestion |
Instances
Language
pattern Language_DETECTORPL :: Language |
Instances
ModelEndpointStatus
newtype ModelEndpointStatus Source #
pattern ModelEndpointStatus_ASSOCIATED :: ModelEndpointStatus | |
pattern ModelEndpointStatus_DISSOCIATED :: ModelEndpointStatus |
Instances
ModelInputDataFormat
newtype ModelInputDataFormat Source #
pattern ModelInputDataFormat_APPLICATION_JSON :: ModelInputDataFormat | |
pattern ModelInputDataFormat_TEXT_CSV :: ModelInputDataFormat |
Instances
ModelOutputDataFormat
newtype ModelOutputDataFormat Source #
pattern ModelOutputDataFormat_APPLICATION_JSONLINES :: ModelOutputDataFormat | |
pattern ModelOutputDataFormat_TEXT_CSV :: ModelOutputDataFormat |
Instances
ModelSource
newtype ModelSource Source #
pattern ModelSource_SAGEMAKER :: ModelSource |
Instances
ModelTypeEnum
newtype ModelTypeEnum Source #
pattern ModelTypeEnum_ACCOUNT_TAKEOVER_INSIGHTS :: ModelTypeEnum | |
pattern ModelTypeEnum_ONLINE_FRAUD_INSIGHTS :: ModelTypeEnum | |
pattern ModelTypeEnum_TRANSACTION_FRAUD_INSIGHTS :: ModelTypeEnum |
Instances
ModelVersionStatus
newtype ModelVersionStatus Source #
pattern ModelVersionStatus_ACTIVE :: ModelVersionStatus | |
pattern ModelVersionStatus_INACTIVE :: ModelVersionStatus | |
pattern ModelVersionStatus_TRAINING_CANCELLED :: ModelVersionStatus |
Instances
RuleExecutionMode
newtype RuleExecutionMode Source #
pattern RuleExecutionMode_ALL_MATCHED :: RuleExecutionMode | |
pattern RuleExecutionMode_FIRST_MATCHED :: RuleExecutionMode |
Instances
TrainingDataSourceEnum
newtype TrainingDataSourceEnum Source #
pattern TrainingDataSourceEnum_EXTERNAL_EVENTS :: TrainingDataSourceEnum | |
pattern TrainingDataSourceEnum_INGESTED_EVENTS :: TrainingDataSourceEnum |
Instances
UnlabeledEventsTreatment
newtype UnlabeledEventsTreatment Source #
Instances
ATIMetricDataPoint
data ATIMetricDataPoint Source #
The Account Takeover Insights (ATI) model performance metrics data points.
See: newATIMetricDataPoint
smart constructor.
ATIMetricDataPoint' | |
|
Instances
newATIMetricDataPoint :: ATIMetricDataPoint Source #
Create a value of ATIMetricDataPoint
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:
$sel:adr:ATIMetricDataPoint'
, aTIMetricDataPoint_adr
- The anomaly discovery rate. This metric quantifies the percentage of
anomalies that can be detected by the model at the selected score
threshold. A lower score threshold increases the percentage of anomalies
captured by the model, but would also require challenging a larger
percentage of login events, leading to a higher customer friction.
$sel:atodr:ATIMetricDataPoint'
, aTIMetricDataPoint_atodr
- The account takeover discovery rate. This metric quantifies the
percentage of account compromise events that can be detected by the
model at the selected score threshold. This metric is only available if
50 or more entities with at-least one labeled account takeover event is
present in the ingested dataset.
$sel:cr:ATIMetricDataPoint'
, aTIMetricDataPoint_cr
- The challenge rate. This indicates the percentage of login events that
the model recommends to challenge such as one-time password,
multi-factor authentication, and investigations.
$sel:threshold:ATIMetricDataPoint'
, aTIMetricDataPoint_threshold
- The model's threshold that specifies an acceptable fraud capture rate.
For example, a threshold of 500 means any model score 500 or above is
labeled as fraud.
aTIMetricDataPoint_adr :: Lens' ATIMetricDataPoint (Maybe Double) Source #
The anomaly discovery rate. This metric quantifies the percentage of anomalies that can be detected by the model at the selected score threshold. A lower score threshold increases the percentage of anomalies captured by the model, but would also require challenging a larger percentage of login events, leading to a higher customer friction.
aTIMetricDataPoint_atodr :: Lens' ATIMetricDataPoint (Maybe Double) Source #
The account takeover discovery rate. This metric quantifies the percentage of account compromise events that can be detected by the model at the selected score threshold. This metric is only available if 50 or more entities with at-least one labeled account takeover event is present in the ingested dataset.
aTIMetricDataPoint_cr :: Lens' ATIMetricDataPoint (Maybe Double) Source #
The challenge rate. This indicates the percentage of login events that the model recommends to challenge such as one-time password, multi-factor authentication, and investigations.
aTIMetricDataPoint_threshold :: Lens' ATIMetricDataPoint (Maybe Double) Source #
The model's threshold that specifies an acceptable fraud capture rate. For example, a threshold of 500 means any model score 500 or above is labeled as fraud.
ATIModelPerformance
data ATIModelPerformance Source #
The Account Takeover Insights (ATI) model performance score.
See: newATIModelPerformance
smart constructor.
ATIModelPerformance' | |
|
Instances
newATIModelPerformance :: ATIModelPerformance Source #
Create a value of ATIModelPerformance
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:
$sel:asi:ATIModelPerformance'
, aTIModelPerformance_asi
- The anomaly separation index (ASI) score. This metric summarizes the
overall ability of the model to separate anomalous activities from the
normal behavior. Depending on the business, a large fraction of these
anomalous activities can be malicious and correspond to the account
takeover attacks. A model with no separability power will have the
lowest possible ASI score of 0.5, whereas the a model with a high
separability power will have the highest possible ASI score of 1.0
aTIModelPerformance_asi :: Lens' ATIModelPerformance (Maybe Double) Source #
The anomaly separation index (ASI) score. This metric summarizes the overall ability of the model to separate anomalous activities from the normal behavior. Depending on the business, a large fraction of these anomalous activities can be malicious and correspond to the account takeover attacks. A model with no separability power will have the lowest possible ASI score of 0.5, whereas the a model with a high separability power will have the highest possible ASI score of 1.0
ATITrainingMetricsValue
data ATITrainingMetricsValue Source #
The Account Takeover Insights (ATI) model training metric details.
See: newATITrainingMetricsValue
smart constructor.
ATITrainingMetricsValue' | |
|
Instances
newATITrainingMetricsValue :: ATITrainingMetricsValue Source #
Create a value of ATITrainingMetricsValue
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:
$sel:metricDataPoints:ATITrainingMetricsValue'
, aTITrainingMetricsValue_metricDataPoints
- The model's performance metrics data points.
$sel:modelPerformance:ATITrainingMetricsValue'
, aTITrainingMetricsValue_modelPerformance
- The model's overall performance scores.
aTITrainingMetricsValue_metricDataPoints :: Lens' ATITrainingMetricsValue (Maybe [ATIMetricDataPoint]) Source #
The model's performance metrics data points.
aTITrainingMetricsValue_modelPerformance :: Lens' ATITrainingMetricsValue (Maybe ATIModelPerformance) Source #
The model's overall performance scores.
AggregatedLogOddsMetric
data AggregatedLogOddsMetric Source #
The log odds metric details.
Account Takeover Insights (ATI) model uses event variables from the
login data you provide to continuously calculate a set of variables
(aggregated variables) based on historical events. For example, your ATI
model might calculate the number of times an user has logged in using
the same IP address. In this case, event variables used to derive the
aggregated variables are IP address
and user
.
See: newAggregatedLogOddsMetric
smart constructor.
AggregatedLogOddsMetric' | |
|
Instances
newAggregatedLogOddsMetric Source #
Create a value of AggregatedLogOddsMetric
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:
$sel:variableNames:AggregatedLogOddsMetric'
, aggregatedLogOddsMetric_variableNames
- The names of all the variables.
$sel:aggregatedVariablesImportance:AggregatedLogOddsMetric'
, aggregatedLogOddsMetric_aggregatedVariablesImportance
- The relative importance of the variables in the list to the other event
variable.
aggregatedLogOddsMetric_variableNames :: Lens' AggregatedLogOddsMetric [Text] Source #
The names of all the variables.
aggregatedLogOddsMetric_aggregatedVariablesImportance :: Lens' AggregatedLogOddsMetric Double Source #
The relative importance of the variables in the list to the other event variable.
AggregatedVariablesImpactExplanation
data AggregatedVariablesImpactExplanation Source #
The details of the impact of aggregated variables on the prediction score.
Account Takeover Insights (ATI) model uses the login data you provide to
continuously calculate a set of variables (aggregated variables) based
on historical events. For example, the model might calculate the number
of times an user has logged in using the same IP address. In this case,
event variables used to derive the aggregated variables are IP address
and user
.
See: newAggregatedVariablesImpactExplanation
smart constructor.
AggregatedVariablesImpactExplanation' | |
|
Instances
newAggregatedVariablesImpactExplanation :: AggregatedVariablesImpactExplanation Source #
Create a value of AggregatedVariablesImpactExplanation
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:
$sel:eventVariableNames:AggregatedVariablesImpactExplanation'
, aggregatedVariablesImpactExplanation_eventVariableNames
- The names of all the event variables that were used to derive the
aggregated variables.
$sel:logOddsImpact:AggregatedVariablesImpactExplanation'
, aggregatedVariablesImpactExplanation_logOddsImpact
- 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 variables drove the risk score up.
- A negative value indicates that the variables drove the risk score down.
$sel:relativeImpact:AggregatedVariablesImpactExplanation'
, aggregatedVariablesImpactExplanation_relativeImpact
- The relative impact of the aggregated variables in terms of magnitude on
the prediction scores.
aggregatedVariablesImpactExplanation_eventVariableNames :: Lens' AggregatedVariablesImpactExplanation (Maybe [Text]) Source #
The names of all the event variables that were used to derive the aggregated variables.
aggregatedVariablesImpactExplanation_logOddsImpact :: Lens' AggregatedVariablesImpactExplanation (Maybe Double) Source #
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 variables drove the risk score up.
- A negative value indicates that the variables drove the risk score down.
aggregatedVariablesImpactExplanation_relativeImpact :: Lens' AggregatedVariablesImpactExplanation (Maybe Text) Source #
The relative impact of the aggregated variables in terms of magnitude on the prediction scores.
AggregatedVariablesImportanceMetrics
data AggregatedVariablesImportanceMetrics Source #
The details of the relative importance of the aggregated variables.
Account Takeover Insights (ATI) model uses event variables from the
login data you provide to continuously calculate a set of variables
(aggregated variables) based on historical events. For example, your ATI
model might calculate the number of times an user has logged in using
the same IP address. In this case, event variables used to derive the
aggregated variables are IP address
and user
.
See: newAggregatedVariablesImportanceMetrics
smart constructor.
AggregatedVariablesImportanceMetrics' | |
|
Instances
FromJSON AggregatedVariablesImportanceMetrics Source # | |
Generic AggregatedVariablesImportanceMetrics Source # | |
Read AggregatedVariablesImportanceMetrics Source # | |
Show AggregatedVariablesImportanceMetrics Source # | |
NFData AggregatedVariablesImportanceMetrics Source # | |
Eq AggregatedVariablesImportanceMetrics Source # | |
Hashable AggregatedVariablesImportanceMetrics Source # | |
type Rep AggregatedVariablesImportanceMetrics Source # | |
Defined in Amazonka.FraudDetector.Types.AggregatedVariablesImportanceMetrics type Rep AggregatedVariablesImportanceMetrics = D1 ('MetaData "AggregatedVariablesImportanceMetrics" "Amazonka.FraudDetector.Types.AggregatedVariablesImportanceMetrics" "amazonka-frauddetector-2.0-CdXFXtLV8DgKo4Kta7Jw61" 'False) (C1 ('MetaCons "AggregatedVariablesImportanceMetrics'" 'PrefixI 'True) (S1 ('MetaSel ('Just "logOddsMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AggregatedLogOddsMetric])))) |
newAggregatedVariablesImportanceMetrics :: AggregatedVariablesImportanceMetrics Source #
Create a value of AggregatedVariablesImportanceMetrics
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:
$sel:logOddsMetrics:AggregatedVariablesImportanceMetrics'
, aggregatedVariablesImportanceMetrics_logOddsMetrics
- List of variables' metrics.
aggregatedVariablesImportanceMetrics_logOddsMetrics :: Lens' AggregatedVariablesImportanceMetrics (Maybe [AggregatedLogOddsMetric]) Source #
List of variables' metrics.
BatchCreateVariableError
data BatchCreateVariableError Source #
Provides the error of the batch create variable API.
See: newBatchCreateVariableError
smart constructor.
Instances
newBatchCreateVariableError :: BatchCreateVariableError Source #
Create a value of BatchCreateVariableError
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:
$sel:code:BatchCreateVariableError'
, batchCreateVariableError_code
- The error code.
$sel:message:BatchCreateVariableError'
, batchCreateVariableError_message
- The error message.
$sel:name:BatchCreateVariableError'
, batchCreateVariableError_name
- The name.
batchCreateVariableError_code :: Lens' BatchCreateVariableError (Maybe Int) Source #
The error code.
batchCreateVariableError_message :: Lens' BatchCreateVariableError (Maybe Text) Source #
The error message.
batchCreateVariableError_name :: Lens' BatchCreateVariableError (Maybe Text) Source #
The name.
BatchGetVariableError
data BatchGetVariableError Source #
Provides the error of the batch get variable API.
See: newBatchGetVariableError
smart constructor.
Instances
newBatchGetVariableError :: BatchGetVariableError Source #
Create a value of BatchGetVariableError
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:
$sel:code:BatchGetVariableError'
, batchGetVariableError_code
- The error code.
$sel:message:BatchGetVariableError'
, batchGetVariableError_message
- The error message.
$sel:name:BatchGetVariableError'
, batchGetVariableError_name
- The error name.
batchGetVariableError_code :: Lens' BatchGetVariableError (Maybe Int) Source #
The error code.
batchGetVariableError_message :: Lens' BatchGetVariableError (Maybe Text) Source #
The error message.
batchGetVariableError_name :: Lens' BatchGetVariableError (Maybe Text) Source #
The error name.
BatchImport
data BatchImport Source #
The batch import job details.
See: newBatchImport
smart constructor.
BatchImport' | |
|
Instances
newBatchImport :: BatchImport Source #
Create a value of BatchImport
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:
$sel:arn:BatchImport'
, batchImport_arn
- The ARN of the batch import job.
$sel:completionTime:BatchImport'
, batchImport_completionTime
- Timestamp of when batch import job completed.
$sel:eventTypeName:BatchImport'
, batchImport_eventTypeName
- The name of the event type.
$sel:failedRecordsCount:BatchImport'
, batchImport_failedRecordsCount
- The number of records that failed to import.
$sel:failureReason:BatchImport'
, batchImport_failureReason
- The reason batch import job failed.
$sel:iamRoleArn:BatchImport'
, batchImport_iamRoleArn
- The ARN of the IAM role to use for this job request.
$sel:inputPath:BatchImport'
, batchImport_inputPath
- The Amazon S3 location of your data file for batch import.
$sel:jobId:BatchImport'
, batchImport_jobId
- The ID of the batch import job.
$sel:outputPath:BatchImport'
, batchImport_outputPath
- The Amazon S3 location of your output file.
$sel:processedRecordsCount:BatchImport'
, batchImport_processedRecordsCount
- The number of records processed by batch import job.
$sel:startTime:BatchImport'
, batchImport_startTime
- Timestamp of when the batch import job started.
$sel:status:BatchImport'
, batchImport_status
- The status of the batch import job.
$sel:totalRecordsCount:BatchImport'
, batchImport_totalRecordsCount
- The total number of records in the batch import job.
batchImport_arn :: Lens' BatchImport (Maybe Text) Source #
The ARN of the batch import job.
batchImport_completionTime :: Lens' BatchImport (Maybe Text) Source #
Timestamp of when batch import job completed.
batchImport_eventTypeName :: Lens' BatchImport (Maybe Text) Source #
The name of the event type.
batchImport_failedRecordsCount :: Lens' BatchImport (Maybe Int) Source #
The number of records that failed to import.
batchImport_failureReason :: Lens' BatchImport (Maybe Text) Source #
The reason batch import job failed.
batchImport_iamRoleArn :: Lens' BatchImport (Maybe Text) Source #
The ARN of the IAM role to use for this job request.
batchImport_inputPath :: Lens' BatchImport (Maybe Text) Source #
The Amazon S3 location of your data file for batch import.
batchImport_jobId :: Lens' BatchImport (Maybe Text) Source #
The ID of the batch import job.
batchImport_outputPath :: Lens' BatchImport (Maybe Text) Source #
The Amazon S3 location of your output file.
batchImport_processedRecordsCount :: Lens' BatchImport (Maybe Int) Source #
The number of records processed by batch import job.
batchImport_startTime :: Lens' BatchImport (Maybe Text) Source #
Timestamp of when the batch import job started.
batchImport_status :: Lens' BatchImport (Maybe AsyncJobStatus) Source #
The status of the batch import job.
batchImport_totalRecordsCount :: Lens' BatchImport (Maybe Int) Source #
The total number of records in the batch import job.
BatchPrediction
data BatchPrediction Source #
The batch prediction details.
See: newBatchPrediction
smart constructor.
BatchPrediction' | |
|
Instances
newBatchPrediction :: BatchPrediction Source #
Create a value of BatchPrediction
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:
$sel:arn:BatchPrediction'
, batchPrediction_arn
- The ARN of batch prediction job.
$sel:completionTime:BatchPrediction'
, batchPrediction_completionTime
- Timestamp of when the batch prediction job completed.
$sel:detectorName:BatchPrediction'
, batchPrediction_detectorName
- The name of the detector.
$sel:detectorVersion:BatchPrediction'
, batchPrediction_detectorVersion
- The detector version.
$sel:eventTypeName:BatchPrediction'
, batchPrediction_eventTypeName
- The name of the event type.
$sel:failureReason:BatchPrediction'
, batchPrediction_failureReason
- The reason a batch prediction job failed.
$sel:iamRoleArn:BatchPrediction'
, batchPrediction_iamRoleArn
- The ARN of the IAM role to use for this job request.
$sel:inputPath:BatchPrediction'
, batchPrediction_inputPath
- The Amazon S3 location of your training file.
$sel:jobId:BatchPrediction'
, batchPrediction_jobId
- The job ID for the batch prediction.
$sel:lastHeartbeatTime:BatchPrediction'
, batchPrediction_lastHeartbeatTime
- Timestamp of most recent heartbeat indicating the batch prediction job
was making progress.
$sel:outputPath:BatchPrediction'
, batchPrediction_outputPath
- The Amazon S3 location of your output file.
$sel:processedRecordsCount:BatchPrediction'
, batchPrediction_processedRecordsCount
- The number of records processed by the batch prediction job.
$sel:startTime:BatchPrediction'
, batchPrediction_startTime
- Timestamp of when the batch prediction job started.
$sel:status:BatchPrediction'
, batchPrediction_status
- The batch prediction status.
$sel:totalRecordsCount:BatchPrediction'
, batchPrediction_totalRecordsCount
- The total number of records in the batch prediction job.
batchPrediction_arn :: Lens' BatchPrediction (Maybe Text) Source #
The ARN of batch prediction job.
batchPrediction_completionTime :: Lens' BatchPrediction (Maybe Text) Source #
Timestamp of when the batch prediction job completed.
batchPrediction_detectorName :: Lens' BatchPrediction (Maybe Text) Source #
The name of the detector.
batchPrediction_detectorVersion :: Lens' BatchPrediction (Maybe Text) Source #
The detector version.
batchPrediction_eventTypeName :: Lens' BatchPrediction (Maybe Text) Source #
The name of the event type.
batchPrediction_failureReason :: Lens' BatchPrediction (Maybe Text) Source #
The reason a batch prediction job failed.
batchPrediction_iamRoleArn :: Lens' BatchPrediction (Maybe Text) Source #
The ARN of the IAM role to use for this job request.
batchPrediction_inputPath :: Lens' BatchPrediction (Maybe Text) Source #
The Amazon S3 location of your training file.
batchPrediction_jobId :: Lens' BatchPrediction (Maybe Text) Source #
The job ID for the batch prediction.
batchPrediction_lastHeartbeatTime :: Lens' BatchPrediction (Maybe Text) Source #
Timestamp of most recent heartbeat indicating the batch prediction job was making progress.
batchPrediction_outputPath :: Lens' BatchPrediction (Maybe Text) Source #
The Amazon S3 location of your output file.
batchPrediction_processedRecordsCount :: Lens' BatchPrediction (Maybe Int) Source #
The number of records processed by the batch prediction job.
batchPrediction_startTime :: Lens' BatchPrediction (Maybe Text) Source #
Timestamp of when the batch prediction job started.
batchPrediction_status :: Lens' BatchPrediction (Maybe AsyncJobStatus) Source #
The batch prediction status.
batchPrediction_totalRecordsCount :: Lens' BatchPrediction (Maybe Int) Source #
The total number of records in the batch prediction job.
DataValidationMetrics
data DataValidationMetrics Source #
The model training data validation metrics.
See: newDataValidationMetrics
smart constructor.
DataValidationMetrics' | |
|
Instances
newDataValidationMetrics :: DataValidationMetrics Source #
Create a value of DataValidationMetrics
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:
$sel:fieldLevelMessages:DataValidationMetrics'
, dataValidationMetrics_fieldLevelMessages
- The field-specific model training validation messages.
$sel:fileLevelMessages:DataValidationMetrics'
, dataValidationMetrics_fileLevelMessages
- The file-specific model training data validation messages.
dataValidationMetrics_fieldLevelMessages :: Lens' DataValidationMetrics (Maybe [FieldValidationMessage]) Source #
The field-specific model training validation messages.
dataValidationMetrics_fileLevelMessages :: Lens' DataValidationMetrics (Maybe [FileValidationMessage]) Source #
The file-specific model training data validation messages.
Detector
The detector.
See: newDetector
smart constructor.
Detector' | |
|
Instances
newDetector :: Detector Source #
Create a value of Detector
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:
$sel:arn:Detector'
, detector_arn
- The detector ARN.
$sel:createdTime:Detector'
, detector_createdTime
- Timestamp of when the detector was created.
$sel:description:Detector'
, detector_description
- The detector description.
$sel:detectorId:Detector'
, detector_detectorId
- The detector ID.
$sel:eventTypeName:Detector'
, detector_eventTypeName
- The name of the event type.
$sel:lastUpdatedTime:Detector'
, detector_lastUpdatedTime
- Timestamp of when the detector was last updated.
detector_createdTime :: Lens' Detector (Maybe Text) Source #
Timestamp of when the detector was created.
detector_lastUpdatedTime :: Lens' Detector (Maybe Text) Source #
Timestamp of when the detector was last updated.
DetectorVersionSummary
data DetectorVersionSummary Source #
The summary of the detector version.
See: newDetectorVersionSummary
smart constructor.
DetectorVersionSummary' | |
|
Instances
newDetectorVersionSummary :: DetectorVersionSummary Source #
Create a value of DetectorVersionSummary
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:
$sel:description:DetectorVersionSummary'
, detectorVersionSummary_description
- The detector version description.
$sel:detectorVersionId:DetectorVersionSummary'
, detectorVersionSummary_detectorVersionId
- The detector version ID.
$sel:lastUpdatedTime:DetectorVersionSummary'
, detectorVersionSummary_lastUpdatedTime
- Timestamp of when the detector version was last updated.
$sel:status:DetectorVersionSummary'
, detectorVersionSummary_status
- The detector version status.
detectorVersionSummary_description :: Lens' DetectorVersionSummary (Maybe Text) Source #
The detector version description.
detectorVersionSummary_detectorVersionId :: Lens' DetectorVersionSummary (Maybe Text) Source #
The detector version ID.
detectorVersionSummary_lastUpdatedTime :: Lens' DetectorVersionSummary (Maybe Text) Source #
Timestamp of when the detector version was last updated.
detectorVersionSummary_status :: Lens' DetectorVersionSummary (Maybe DetectorVersionStatus) Source #
The detector version status.
Entity
The entity details.
See: newEntity
smart constructor.
Entity' | |
|
Instances
FromJSON Entity Source # | |
ToJSON Entity Source # | |
Defined in Amazonka.FraudDetector.Types.Entity | |
Generic Entity Source # | |
Show Entity Source # | |
NFData Entity Source # | |
Defined in Amazonka.FraudDetector.Types.Entity | |
Eq Entity Source # | |
Hashable Entity Source # | |
Defined in Amazonka.FraudDetector.Types.Entity | |
type Rep Entity Source # | |
Defined in Amazonka.FraudDetector.Types.Entity type Rep Entity = D1 ('MetaData "Entity" "Amazonka.FraudDetector.Types.Entity" "amazonka-frauddetector-2.0-CdXFXtLV8DgKo4Kta7Jw61" 'False) (C1 ('MetaCons "Entity'" 'PrefixI 'True) (S1 ('MetaSel ('Just "entityType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "entityId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Create a value of Entity
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:
$sel:entityType:Entity'
, entity_entityType
- The entity type.
$sel:entityId:Entity'
, entity_entityId
- The entity ID. If you do not know the entityId
, you can pass
unknown
, which is areserved string literal.
entity_entityId :: Lens' Entity Text Source #
The entity ID. If you do not know the entityId
, you can pass
unknown
, which is areserved string literal.
EntityType
data EntityType Source #
The entity type details.
See: newEntityType
smart constructor.
EntityType' | |
|
Instances
newEntityType :: EntityType Source #
Create a value of EntityType
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:
$sel:arn:EntityType'
, entityType_arn
- The entity type ARN.
$sel:createdTime:EntityType'
, entityType_createdTime
- Timestamp of when the entity type was created.
$sel:description:EntityType'
, entityType_description
- The entity type description.
$sel:lastUpdatedTime:EntityType'
, entityType_lastUpdatedTime
- Timestamp of when the entity type was last updated.
$sel:name:EntityType'
, entityType_name
- The entity type name.
entityType_arn :: Lens' EntityType (Maybe Text) Source #
The entity type ARN.
entityType_createdTime :: Lens' EntityType (Maybe Text) Source #
Timestamp of when the entity type was created.
entityType_description :: Lens' EntityType (Maybe Text) Source #
The entity type description.
entityType_lastUpdatedTime :: Lens' EntityType (Maybe Text) Source #
Timestamp of when the entity type was last updated.
entityType_name :: Lens' EntityType (Maybe Text) Source #
The entity type name.
EvaluatedExternalModel
data EvaluatedExternalModel Source #
The details of the external (Amazon Sagemaker) model evaluated for generating predictions.
See: newEvaluatedExternalModel
smart constructor.
EvaluatedExternalModel' | |
|
Instances
newEvaluatedExternalModel :: EvaluatedExternalModel Source #
Create a value of EvaluatedExternalModel
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:
$sel:inputVariables:EvaluatedExternalModel'
, evaluatedExternalModel_inputVariables
- Input variables use for generating predictions.
$sel:modelEndpoint:EvaluatedExternalModel'
, evaluatedExternalModel_modelEndpoint
- The endpoint of the external (Amazon Sagemaker) model.
$sel:outputVariables:EvaluatedExternalModel'
, evaluatedExternalModel_outputVariables
- Output variables.
$sel:useEventVariables:EvaluatedExternalModel'
, evaluatedExternalModel_useEventVariables
- Indicates whether event variables were used to generate predictions.
evaluatedExternalModel_inputVariables :: Lens' EvaluatedExternalModel (Maybe (HashMap Text Text)) Source #
Input variables use for generating predictions.
evaluatedExternalModel_modelEndpoint :: Lens' EvaluatedExternalModel (Maybe Text) Source #
The endpoint of the external (Amazon Sagemaker) model.
evaluatedExternalModel_outputVariables :: Lens' EvaluatedExternalModel (Maybe (HashMap Text Text)) Source #
Output variables.
evaluatedExternalModel_useEventVariables :: Lens' EvaluatedExternalModel (Maybe Bool) Source #
Indicates whether event variables were used to generate predictions.
EvaluatedModelVersion
data EvaluatedModelVersion Source #
The model version evaluated for generating prediction.
See: newEvaluatedModelVersion
smart constructor.
EvaluatedModelVersion' | |
|
Instances
newEvaluatedModelVersion :: EvaluatedModelVersion Source #
Create a value of EvaluatedModelVersion
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:
$sel:evaluations:EvaluatedModelVersion'
, evaluatedModelVersion_evaluations
- Evaluations generated for the model version.
$sel:modelId:EvaluatedModelVersion'
, evaluatedModelVersion_modelId
- The model ID.
$sel:modelType:EvaluatedModelVersion'
, evaluatedModelVersion_modelType
- The model type.
Valid values: ONLINE_FRAUD_INSIGHTS
| TRANSACTION_FRAUD_INSIGHTS
$sel:modelVersion:EvaluatedModelVersion'
, evaluatedModelVersion_modelVersion
- The model version.
evaluatedModelVersion_evaluations :: Lens' EvaluatedModelVersion (Maybe [ModelVersionEvaluation]) Source #
Evaluations generated for the model version.
evaluatedModelVersion_modelId :: Lens' EvaluatedModelVersion (Maybe Text) Source #
The model ID.
evaluatedModelVersion_modelType :: Lens' EvaluatedModelVersion (Maybe Text) Source #
The model type.
Valid values: ONLINE_FRAUD_INSIGHTS
| TRANSACTION_FRAUD_INSIGHTS
evaluatedModelVersion_modelVersion :: Lens' EvaluatedModelVersion (Maybe Text) Source #
The model version.
EvaluatedRule
data EvaluatedRule Source #
The details of the rule used for evaluating variable values.
See: newEvaluatedRule
smart constructor.
EvaluatedRule' | |
|
Instances
newEvaluatedRule :: EvaluatedRule Source #
Create a value of EvaluatedRule
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:
$sel:evaluated:EvaluatedRule'
, evaluatedRule_evaluated
- Indicates whether the rule was evaluated.
$sel:expression:EvaluatedRule'
, evaluatedRule_expression
- The rule expression.
$sel:expressionWithValues:EvaluatedRule'
, evaluatedRule_expressionWithValues
- The rule expression value.
$sel:matched:EvaluatedRule'
, evaluatedRule_matched
- Indicates whether the rule matched.
$sel:outcomes:EvaluatedRule'
, evaluatedRule_outcomes
- The rule outcome.
$sel:ruleId:EvaluatedRule'
, evaluatedRule_ruleId
- The rule ID.
$sel:ruleVersion:EvaluatedRule'
, evaluatedRule_ruleVersion
- The rule version.
evaluatedRule_evaluated :: Lens' EvaluatedRule (Maybe Bool) Source #
Indicates whether the rule was evaluated.
evaluatedRule_expression :: Lens' EvaluatedRule (Maybe Text) Source #
The rule expression.
evaluatedRule_expressionWithValues :: Lens' EvaluatedRule (Maybe Text) Source #
The rule expression value.
evaluatedRule_matched :: Lens' EvaluatedRule (Maybe Bool) Source #
Indicates whether the rule matched.
evaluatedRule_outcomes :: Lens' EvaluatedRule (Maybe [Text]) Source #
The rule outcome.
evaluatedRule_ruleId :: Lens' EvaluatedRule (Maybe Text) Source #
The rule ID.
evaluatedRule_ruleVersion :: Lens' EvaluatedRule (Maybe Text) Source #
The rule version.
Event
The event details.
See: newEvent
smart constructor.
Event' | |
|
Instances
Create a value of Event
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:
$sel:currentLabel:Event'
, event_currentLabel
- The label associated with the event.
$sel:entities:Event'
, event_entities
- The event entities.
$sel:eventId:Event'
, event_eventId
- The event ID.
$sel:eventTimestamp:Event'
, event_eventTimestamp
- The timestamp that defines when the event under evaluation occurred. The
timestamp must be specified using ISO 8601 standard in UTC.
$sel:eventTypeName:Event'
, event_eventTypeName
- The event type.
$sel:eventVariables:Event'
, event_eventVariables
- 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.
$sel:labelTimestamp:Event'
, event_labelTimestamp
- The timestamp associated with the label to update. The timestamp must be
specified using ISO 8601 standard in UTC.
event_eventTimestamp :: Lens' Event (Maybe Text) Source #
The timestamp that defines when the event under evaluation occurred. The timestamp must be specified using ISO 8601 standard in UTC.
event_eventVariables :: Lens' Event (Maybe (HashMap Text Text)) Source #
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.
event_labelTimestamp :: Lens' Event (Maybe Text) Source #
The timestamp associated with the label to update. The timestamp must be specified using ISO 8601 standard in UTC.
EventPredictionSummary
data EventPredictionSummary Source #
Information about the summary of an event prediction.
See: newEventPredictionSummary
smart constructor.
EventPredictionSummary' | |
|
Instances
newEventPredictionSummary :: EventPredictionSummary Source #
Create a value of EventPredictionSummary
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:
$sel:detectorId:EventPredictionSummary'
, eventPredictionSummary_detectorId
- The detector ID.
$sel:detectorVersionId:EventPredictionSummary'
, eventPredictionSummary_detectorVersionId
- The detector version ID.
$sel:eventId:EventPredictionSummary'
, eventPredictionSummary_eventId
- The event ID.
$sel:eventTimestamp:EventPredictionSummary'
, eventPredictionSummary_eventTimestamp
- The timestamp of the event.
$sel:eventTypeName:EventPredictionSummary'
, eventPredictionSummary_eventTypeName
- The event type.
$sel:predictionTimestamp:EventPredictionSummary'
, eventPredictionSummary_predictionTimestamp
- The timestamp when the prediction was generated.
eventPredictionSummary_detectorId :: Lens' EventPredictionSummary (Maybe Text) Source #
The detector ID.
eventPredictionSummary_detectorVersionId :: Lens' EventPredictionSummary (Maybe Text) Source #
The detector version ID.
eventPredictionSummary_eventId :: Lens' EventPredictionSummary (Maybe Text) Source #
The event ID.
eventPredictionSummary_eventTimestamp :: Lens' EventPredictionSummary (Maybe Text) Source #
The timestamp of the event.
eventPredictionSummary_eventTypeName :: Lens' EventPredictionSummary (Maybe Text) Source #
The event type.
eventPredictionSummary_predictionTimestamp :: Lens' EventPredictionSummary (Maybe Text) Source #
The timestamp when the prediction was generated.
EventType
The event type details.
See: newEventType
smart constructor.
EventType' | |
|
Instances
newEventType :: EventType Source #
Create a value of EventType
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:
$sel:arn:EventType'
, eventType_arn
- The entity type ARN.
$sel:createdTime:EventType'
, eventType_createdTime
- Timestamp of when the event type was created.
$sel:description:EventType'
, eventType_description
- The event type description.
$sel:entityTypes:EventType'
, eventType_entityTypes
- The event type entity types.
$sel:eventIngestion:EventType'
, eventType_eventIngestion
- If Enabled
, Amazon Fraud Detector stores event data when you generate
a prediction and uses that data to update calculated variables in near
real-time. Amazon Fraud Detector uses this data, known as
INGESTED_EVENTS
, to train your model and improve fraud predictions.
$sel:eventVariables:EventType'
, eventType_eventVariables
- The event type event variables.
$sel:ingestedEventStatistics:EventType'
, eventType_ingestedEventStatistics
- Data about the stored events.
$sel:labels:EventType'
, eventType_labels
- The event type labels.
EventType
, eventType_lastUpdatedTime
- Timestamp of when the event type was last updated.
$sel:name:EventType'
, eventType_name
- The event type name.
eventType_createdTime :: Lens' EventType (Maybe Text) Source #
Timestamp of when the event type was created.
eventType_entityTypes :: Lens' EventType (Maybe (NonEmpty Text)) Source #
The event type entity types.
eventType_eventIngestion :: Lens' EventType (Maybe EventIngestion) Source #
If Enabled
, Amazon Fraud Detector stores event data when you generate
a prediction and uses that data to update calculated variables in near
real-time. Amazon Fraud Detector uses this data, known as
INGESTED_EVENTS
, to train your model and improve fraud predictions.
eventType_ingestedEventStatistics :: Lens' EventType (Maybe IngestedEventStatistics) Source #
Data about the stored events.
eventType_lastUpdatedTime :: Lens' EventType (Maybe Text) Source #
Timestamp of when the event type was last updated.
EventVariableSummary
data EventVariableSummary Source #
Information about the summary of an event variable that was evaluated for generating prediction.
See: newEventVariableSummary
smart constructor.
Instances
newEventVariableSummary :: EventVariableSummary Source #
Create a value of EventVariableSummary
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:
$sel:name:EventVariableSummary'
, eventVariableSummary_name
- The event variable name.
$sel:source:EventVariableSummary'
, eventVariableSummary_source
- The event variable source.
$sel:value:EventVariableSummary'
, eventVariableSummary_value
- The value of the event variable.
eventVariableSummary_name :: Lens' EventVariableSummary (Maybe Text) Source #
The event variable name.
eventVariableSummary_source :: Lens' EventVariableSummary (Maybe Text) Source #
The event variable source.
eventVariableSummary_value :: Lens' EventVariableSummary (Maybe Text) Source #
The value of the event variable.
ExternalEventsDetail
data ExternalEventsDetail Source #
Details for the external events data used for model version training.
See: newExternalEventsDetail
smart constructor.
ExternalEventsDetail' | |
|
Instances
newExternalEventsDetail Source #
:: Text | |
-> Text | |
-> ExternalEventsDetail |
Create a value of ExternalEventsDetail
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:
$sel:dataLocation:ExternalEventsDetail'
, externalEventsDetail_dataLocation
- The Amazon S3 bucket location for the data.
$sel:dataAccessRoleArn:ExternalEventsDetail'
, externalEventsDetail_dataAccessRoleArn
- The ARN of the role that provides Amazon Fraud Detector access to the
data location.
externalEventsDetail_dataLocation :: Lens' ExternalEventsDetail Text Source #
The Amazon S3 bucket location for the data.
externalEventsDetail_dataAccessRoleArn :: Lens' ExternalEventsDetail Text Source #
The ARN of the role that provides Amazon Fraud Detector access to the data location.
ExternalModel
data ExternalModel Source #
The Amazon SageMaker model.
See: newExternalModel
smart constructor.
ExternalModel' | |
|
Instances
newExternalModel :: ExternalModel Source #
Create a value of ExternalModel
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:
$sel:arn:ExternalModel'
, externalModel_arn
- The model ARN.
$sel:createdTime:ExternalModel'
, externalModel_createdTime
- Timestamp of when the model was last created.
$sel:inputConfiguration:ExternalModel'
, externalModel_inputConfiguration
- The input configuration.
$sel:invokeModelEndpointRoleArn:ExternalModel'
, externalModel_invokeModelEndpointRoleArn
- The role used to invoke the model.
$sel:lastUpdatedTime:ExternalModel'
, externalModel_lastUpdatedTime
- Timestamp of when the model was last updated.
$sel:modelEndpoint:ExternalModel'
, externalModel_modelEndpoint
- The Amazon SageMaker model endpoints.
$sel:modelEndpointStatus:ExternalModel'
, externalModel_modelEndpointStatus
- The Amazon Fraud Detector status for the external model endpoint
$sel:modelSource:ExternalModel'
, externalModel_modelSource
- The source of the model.
$sel:outputConfiguration:ExternalModel'
, externalModel_outputConfiguration
- The output configuration.
externalModel_arn :: Lens' ExternalModel (Maybe Text) Source #
The model ARN.
externalModel_createdTime :: Lens' ExternalModel (Maybe Text) Source #
Timestamp of when the model was last created.
externalModel_inputConfiguration :: Lens' ExternalModel (Maybe ModelInputConfiguration) Source #
The input configuration.
externalModel_invokeModelEndpointRoleArn :: Lens' ExternalModel (Maybe Text) Source #
The role used to invoke the model.
externalModel_lastUpdatedTime :: Lens' ExternalModel (Maybe Text) Source #
Timestamp of when the model was last updated.
externalModel_modelEndpoint :: Lens' ExternalModel (Maybe Text) Source #
The Amazon SageMaker model endpoints.
externalModel_modelEndpointStatus :: Lens' ExternalModel (Maybe ModelEndpointStatus) Source #
The Amazon Fraud Detector status for the external model endpoint
externalModel_modelSource :: Lens' ExternalModel (Maybe ModelSource) Source #
The source of the model.
externalModel_outputConfiguration :: Lens' ExternalModel (Maybe ModelOutputConfiguration) Source #
The output configuration.
ExternalModelOutputs
data ExternalModelOutputs Source #
The fraud prediction scores from Amazon SageMaker model.
See: newExternalModelOutputs
smart constructor.
ExternalModelOutputs' | |
|
Instances
newExternalModelOutputs :: ExternalModelOutputs Source #
Create a value of ExternalModelOutputs
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:
$sel:externalModel:ExternalModelOutputs'
, externalModelOutputs_externalModel
- The Amazon SageMaker model.
$sel:outputs:ExternalModelOutputs'
, externalModelOutputs_outputs
- The fraud prediction scores from Amazon SageMaker model.
externalModelOutputs_externalModel :: Lens' ExternalModelOutputs (Maybe ExternalModelSummary) Source #
The Amazon SageMaker model.
externalModelOutputs_outputs :: Lens' ExternalModelOutputs (Maybe (HashMap Text Text)) Source #
The fraud prediction scores from Amazon SageMaker model.
ExternalModelSummary
data ExternalModelSummary Source #
The Amazon SageMaker model.
See: newExternalModelSummary
smart constructor.
ExternalModelSummary' | |
|
Instances
newExternalModelSummary :: ExternalModelSummary Source #
Create a value of ExternalModelSummary
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:
$sel:modelEndpoint:ExternalModelSummary'
, externalModelSummary_modelEndpoint
- The endpoint of the Amazon SageMaker model.
$sel:modelSource:ExternalModelSummary'
, externalModelSummary_modelSource
- The source of the model.
externalModelSummary_modelEndpoint :: Lens' ExternalModelSummary (Maybe Text) Source #
The endpoint of the Amazon SageMaker model.
externalModelSummary_modelSource :: Lens' ExternalModelSummary (Maybe ModelSource) Source #
The source of the model.
FieldValidationMessage
data FieldValidationMessage Source #
The message details.
See: newFieldValidationMessage
smart constructor.
Instances
newFieldValidationMessage :: FieldValidationMessage Source #
Create a value of FieldValidationMessage
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:
$sel:content:FieldValidationMessage'
, fieldValidationMessage_content
- The message content.
$sel:fieldName:FieldValidationMessage'
, fieldValidationMessage_fieldName
- The field name.
$sel:identifier:FieldValidationMessage'
, fieldValidationMessage_identifier
- The message ID.
$sel:title:FieldValidationMessage'
, fieldValidationMessage_title
- The message title.
$sel:type':FieldValidationMessage'
, fieldValidationMessage_type
- The message type.
fieldValidationMessage_content :: Lens' FieldValidationMessage (Maybe Text) Source #
The message content.
fieldValidationMessage_fieldName :: Lens' FieldValidationMessage (Maybe Text) Source #
The field name.
fieldValidationMessage_identifier :: Lens' FieldValidationMessage (Maybe Text) Source #
The message ID.
fieldValidationMessage_title :: Lens' FieldValidationMessage (Maybe Text) Source #
The message title.
fieldValidationMessage_type :: Lens' FieldValidationMessage (Maybe Text) Source #
The message type.
FileValidationMessage
data FileValidationMessage Source #
The message details.
See: newFileValidationMessage
smart constructor.
Instances
newFileValidationMessage :: FileValidationMessage Source #
Create a value of FileValidationMessage
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:
$sel:content:FileValidationMessage'
, fileValidationMessage_content
- The message content.
$sel:title:FileValidationMessage'
, fileValidationMessage_title
- The message title.
$sel:type':FileValidationMessage'
, fileValidationMessage_type
- The message type.
fileValidationMessage_content :: Lens' FileValidationMessage (Maybe Text) Source #
The message content.
fileValidationMessage_title :: Lens' FileValidationMessage (Maybe Text) Source #
The message title.
fileValidationMessage_type :: Lens' FileValidationMessage (Maybe Text) Source #
The message type.
FilterCondition
data FilterCondition Source #
A conditional statement for filtering a list of past predictions.
See: newFilterCondition
smart constructor.
Instances
newFilterCondition :: FilterCondition Source #
Create a value of FilterCondition
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:
$sel:value:FilterCondition'
, filterCondition_value
- A statement containing a resource property and a value to specify filter
condition.
filterCondition_value :: Lens' FilterCondition (Maybe Text) Source #
A statement containing a resource property and a value to specify filter condition.
IngestedEventStatistics
data IngestedEventStatistics Source #
Data about the stored events.
See: newIngestedEventStatistics
smart constructor.
IngestedEventStatistics' | |
|
Instances
newIngestedEventStatistics :: IngestedEventStatistics Source #
Create a value of IngestedEventStatistics
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:
$sel:eventDataSizeInBytes:IngestedEventStatistics'
, ingestedEventStatistics_eventDataSizeInBytes
- The total size of the stored events.
$sel:lastUpdatedTime:IngestedEventStatistics'
, ingestedEventStatistics_lastUpdatedTime
- Timestamp of when the stored event was last updated.
$sel:leastRecentEvent:IngestedEventStatistics'
, ingestedEventStatistics_leastRecentEvent
- The oldest stored event.
$sel:mostRecentEvent:IngestedEventStatistics'
, ingestedEventStatistics_mostRecentEvent
- The newest stored event.
$sel:numberOfEvents:IngestedEventStatistics'
, ingestedEventStatistics_numberOfEvents
- The number of stored events.
ingestedEventStatistics_eventDataSizeInBytes :: Lens' IngestedEventStatistics (Maybe Integer) Source #
The total size of the stored events.
ingestedEventStatistics_lastUpdatedTime :: Lens' IngestedEventStatistics (Maybe Text) Source #
Timestamp of when the stored event was last updated.
ingestedEventStatistics_leastRecentEvent :: Lens' IngestedEventStatistics (Maybe Text) Source #
The oldest stored event.
ingestedEventStatistics_mostRecentEvent :: Lens' IngestedEventStatistics (Maybe Text) Source #
The newest stored event.
ingestedEventStatistics_numberOfEvents :: Lens' IngestedEventStatistics (Maybe Integer) Source #
The number of stored events.
IngestedEventsDetail
data IngestedEventsDetail Source #
The details of the ingested event.
See: newIngestedEventsDetail
smart constructor.
IngestedEventsDetail' | |
|
Instances
newIngestedEventsDetail Source #
Create a value of IngestedEventsDetail
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:
$sel:ingestedEventsTimeWindow:IngestedEventsDetail'
, ingestedEventsDetail_ingestedEventsTimeWindow
- The start and stop time of the ingested events.
ingestedEventsDetail_ingestedEventsTimeWindow :: Lens' IngestedEventsDetail IngestedEventsTimeWindow Source #
The start and stop time of the ingested events.
IngestedEventsTimeWindow
data IngestedEventsTimeWindow Source #
The start and stop time of the ingested events.
See: newIngestedEventsTimeWindow
smart constructor.
Instances
newIngestedEventsTimeWindow Source #
:: Text | |
-> Text | |
-> IngestedEventsTimeWindow |
Create a value of IngestedEventsTimeWindow
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:
$sel:startTime:IngestedEventsTimeWindow'
, ingestedEventsTimeWindow_startTime
- Timestamp of the first ingensted event.
$sel:endTime:IngestedEventsTimeWindow'
, ingestedEventsTimeWindow_endTime
- Timestamp of the final ingested event.
ingestedEventsTimeWindow_startTime :: Lens' IngestedEventsTimeWindow Text Source #
Timestamp of the first ingensted event.
ingestedEventsTimeWindow_endTime :: Lens' IngestedEventsTimeWindow Text Source #
Timestamp of the final ingested event.
KMSKey
The KMS key details.
See: newKMSKey
smart constructor.
KMSKey' | |
|
Instances
FromJSON KMSKey Source # | |
Generic KMSKey Source # | |
Read KMSKey Source # | |
Show KMSKey Source # | |
NFData KMSKey Source # | |
Defined in Amazonka.FraudDetector.Types.KMSKey | |
Eq KMSKey Source # | |
Hashable KMSKey Source # | |
Defined in Amazonka.FraudDetector.Types.KMSKey | |
type Rep KMSKey Source # | |
Defined in Amazonka.FraudDetector.Types.KMSKey type Rep KMSKey = D1 ('MetaData "KMSKey" "Amazonka.FraudDetector.Types.KMSKey" "amazonka-frauddetector-2.0-CdXFXtLV8DgKo4Kta7Jw61" 'False) (C1 ('MetaCons "KMSKey'" 'PrefixI 'True) (S1 ('MetaSel ('Just "kmsEncryptionKeyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
Create a value of KMSKey
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:
$sel:kmsEncryptionKeyArn:KMSKey'
, kmsKey_kmsEncryptionKeyArn
- The encryption key ARN.
Label
The label details.
See: newLabel
smart constructor.
Label' | |
|
Instances
Create a value of Label
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:
$sel:arn:Label'
, label_arn
- The label ARN.
$sel:createdTime:Label'
, label_createdTime
- Timestamp of when the event type was created.
$sel:description:Label'
, label_description
- The label description.
$sel:lastUpdatedTime:Label'
, label_lastUpdatedTime
- Timestamp of when the label was last updated.
$sel:name:Label'
, label_name
- The label name.
label_lastUpdatedTime :: Lens' Label (Maybe Text) Source #
Timestamp of when the label was last updated.
LabelSchema
data LabelSchema Source #
The label schema.
See: newLabelSchema
smart constructor.
LabelSchema' | |
|
Instances
newLabelSchema :: LabelSchema Source #
Create a value of LabelSchema
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:
$sel:labelMapper:LabelSchema'
, labelSchema_labelMapper
- The label mapper maps the Amazon Fraud Detector supported model
classification labels (FRAUD
, LEGIT
) to the appropriate event type
labels. For example, if "FRAUD
" and "LEGIT
" are Amazon Fraud
Detector supported labels, this mapper could be:
{"FRAUD" => ["0"]
, "LEGIT" => ["1"]}
or
{"FRAUD" => ["false"]
, "LEGIT" => ["true"]}
or
{"FRAUD" => ["fraud", "abuse"]
,
"LEGIT" => ["legit", "safe"]}
. The value part of the mapper is a
list, because you may have multiple label variants from your event type
for a single Amazon Fraud Detector label.
$sel:unlabeledEventsTreatment:LabelSchema'
, labelSchema_unlabeledEventsTreatment
- The action to take for unlabeled events.
labelSchema_labelMapper :: Lens' LabelSchema (Maybe (HashMap Text [Text])) Source #
The label mapper maps the Amazon Fraud Detector supported model
classification labels (FRAUD
, LEGIT
) to the appropriate event type
labels. For example, if "FRAUD
" and "LEGIT
" are Amazon Fraud
Detector supported labels, this mapper could be:
{"FRAUD" => ["0"]
, "LEGIT" => ["1"]}
or
{"FRAUD" => ["false"]
, "LEGIT" => ["true"]}
or
{"FRAUD" => ["fraud", "abuse"]
,
"LEGIT" => ["legit", "safe"]}
. The value part of the mapper is a
list, because you may have multiple label variants from your event type
for a single Amazon Fraud Detector label.
labelSchema_unlabeledEventsTreatment :: Lens' LabelSchema (Maybe UnlabeledEventsTreatment) Source #
The action to take for unlabeled events.
LogOddsMetric
data LogOddsMetric Source #
The log odds metric details.
See: newLogOddsMetric
smart constructor.
LogOddsMetric' | |
|
Instances
:: Text | |
-> Text | |
-> Double | |
-> LogOddsMetric |
Create a value of LogOddsMetric
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:
$sel:variableName:LogOddsMetric'
, logOddsMetric_variableName
- The name of the variable.
$sel:variableType:LogOddsMetric'
, logOddsMetric_variableType
- The type of variable.
$sel:variableImportance:LogOddsMetric'
, logOddsMetric_variableImportance
- The relative importance of the variable. For more information, see
Model variable importance.
logOddsMetric_variableName :: Lens' LogOddsMetric Text Source #
The name of the variable.
logOddsMetric_variableType :: Lens' LogOddsMetric Text Source #
The type of variable.
logOddsMetric_variableImportance :: Lens' LogOddsMetric Double Source #
The relative importance of the variable. For more information, see Model variable importance.
MetricDataPoint
data MetricDataPoint Source #
Model performance metrics data points.
See: newMetricDataPoint
smart constructor.
MetricDataPoint' | |
|
Instances
newMetricDataPoint :: MetricDataPoint Source #
Create a value of MetricDataPoint
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:
$sel:fpr:MetricDataPoint'
, metricDataPoint_fpr
- The false positive rate. This is the percentage of total legitimate
events that are incorrectly predicted as fraud.
$sel:precision:MetricDataPoint'
, metricDataPoint_precision
- The percentage of fraud events correctly predicted as fraudulent as
compared to all events predicted as fraudulent.
$sel:threshold:MetricDataPoint'
, metricDataPoint_threshold
- The model threshold that specifies an acceptable fraud capture rate. For
example, a threshold of 500 means any model score 500 or above is
labeled as fraud.
$sel:tpr:MetricDataPoint'
, metricDataPoint_tpr
- The true positive rate. This is the percentage of total fraud the model
detects. Also known as capture rate.
metricDataPoint_fpr :: Lens' MetricDataPoint (Maybe Double) Source #
The false positive rate. This is the percentage of total legitimate events that are incorrectly predicted as fraud.
metricDataPoint_precision :: Lens' MetricDataPoint (Maybe Double) Source #
The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as fraudulent.
metricDataPoint_threshold :: Lens' MetricDataPoint (Maybe Double) Source #
The model threshold that specifies an acceptable fraud capture rate. For example, a threshold of 500 means any model score 500 or above is labeled as fraud.
metricDataPoint_tpr :: Lens' MetricDataPoint (Maybe Double) Source #
The true positive rate. This is the percentage of total fraud the model detects. Also known as capture rate.
Model
The model.
See: newModel
smart constructor.
Model' | |
|
Instances
Create a value of Model
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:
$sel:arn:Model'
, model_arn
- The ARN of the model.
$sel:createdTime:Model'
, model_createdTime
- Timestamp of when the model was created.
$sel:description:Model'
, model_description
- The model description.
$sel:eventTypeName:Model'
, model_eventTypeName
- The name of the event type.
$sel:lastUpdatedTime:Model'
, model_lastUpdatedTime
- Timestamp of last time the model was updated.
$sel:modelId:Model'
, model_modelId
- The model ID.
$sel:modelType:Model'
, model_modelType
- The model type.
model_lastUpdatedTime :: Lens' Model (Maybe Text) Source #
Timestamp of last time the model was updated.
model_modelType :: Lens' Model (Maybe ModelTypeEnum) Source #
The model type.
ModelEndpointDataBlob
data ModelEndpointDataBlob Source #
A pre-formed Amazon SageMaker model input you can include if your detector version includes an imported Amazon SageMaker model endpoint with pass-through input configuration.
See: newModelEndpointDataBlob
smart constructor.
ModelEndpointDataBlob' | |
|
Instances
newModelEndpointDataBlob :: ModelEndpointDataBlob Source #
Create a value of ModelEndpointDataBlob
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:
$sel:byteBuffer:ModelEndpointDataBlob'
, modelEndpointDataBlob_byteBuffer
- The byte buffer of the Amazon SageMaker model endpoint input data blob.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
$sel:contentType:ModelEndpointDataBlob'
, modelEndpointDataBlob_contentType
- The content type of the Amazon SageMaker model endpoint input data blob.
modelEndpointDataBlob_byteBuffer :: Lens' ModelEndpointDataBlob (Maybe ByteString) Source #
The byte buffer of the Amazon SageMaker model endpoint input data blob.--
-- Note: This Lens
automatically encodes and decodes Base64 data.
-- The underlying isomorphism will encode to Base64 representation during
-- serialisation, and decode from Base64 representation during deserialisation.
-- This Lens
accepts and returns only raw unencoded data.
modelEndpointDataBlob_contentType :: Lens' ModelEndpointDataBlob (Maybe Text) Source #
The content type of the Amazon SageMaker model endpoint input data blob.
ModelInputConfiguration
data ModelInputConfiguration Source #
The Amazon SageMaker model input configuration.
See: newModelInputConfiguration
smart constructor.
ModelInputConfiguration' | |
|
Instances
newModelInputConfiguration Source #
Create a value of ModelInputConfiguration
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:
$sel:csvInputTemplate:ModelInputConfiguration'
, modelInputConfiguration_csvInputTemplate
- Template for constructing the CSV input-data sent to SageMaker. At
event-evaluation, the placeholders for variable-names in the template
will be replaced with the variable values before being sent to
SageMaker.
$sel:eventTypeName:ModelInputConfiguration'
, modelInputConfiguration_eventTypeName
- The event type name.
$sel:format:ModelInputConfiguration'
, modelInputConfiguration_format
- The format of the model input configuration. The format differs
depending on if it is passed through to SageMaker or constructed by
Amazon Fraud Detector.
$sel:jsonInputTemplate:ModelInputConfiguration'
, modelInputConfiguration_jsonInputTemplate
- Template for constructing the JSON input-data sent to SageMaker. At
event-evaluation, the placeholders for variable names in the template
will be replaced with the variable values before being sent to
SageMaker.
$sel:useEventVariables:ModelInputConfiguration'
, modelInputConfiguration_useEventVariables
- The event variables.
modelInputConfiguration_csvInputTemplate :: Lens' ModelInputConfiguration (Maybe Text) Source #
Template for constructing the CSV input-data sent to SageMaker. At event-evaluation, the placeholders for variable-names in the template will be replaced with the variable values before being sent to SageMaker.
modelInputConfiguration_eventTypeName :: Lens' ModelInputConfiguration (Maybe Text) Source #
The event type name.
modelInputConfiguration_format :: Lens' ModelInputConfiguration (Maybe ModelInputDataFormat) Source #
The format of the model input configuration. The format differs depending on if it is passed through to SageMaker or constructed by Amazon Fraud Detector.
modelInputConfiguration_jsonInputTemplate :: Lens' ModelInputConfiguration (Maybe Text) Source #
Template for constructing the JSON input-data sent to SageMaker. At event-evaluation, the placeholders for variable names in the template will be replaced with the variable values before being sent to SageMaker.
modelInputConfiguration_useEventVariables :: Lens' ModelInputConfiguration Bool Source #
The event variables.
ModelOutputConfiguration
data ModelOutputConfiguration Source #
Provides the Amazon Sagemaker model output configuration.
See: newModelOutputConfiguration
smart constructor.
ModelOutputConfiguration' | |
|
Instances
newModelOutputConfiguration Source #
Create a value of ModelOutputConfiguration
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:
$sel:csvIndexToVariableMap:ModelOutputConfiguration'
, modelOutputConfiguration_csvIndexToVariableMap
- A map of CSV index values in the SageMaker response to the Amazon Fraud
Detector variables.
$sel:jsonKeyToVariableMap:ModelOutputConfiguration'
, modelOutputConfiguration_jsonKeyToVariableMap
- A map of JSON keys in response from SageMaker to the Amazon Fraud
Detector variables.
$sel:format:ModelOutputConfiguration'
, modelOutputConfiguration_format
- The format of the model output configuration.
modelOutputConfiguration_csvIndexToVariableMap :: Lens' ModelOutputConfiguration (Maybe (HashMap Text Text)) Source #
A map of CSV index values in the SageMaker response to the Amazon Fraud Detector variables.
modelOutputConfiguration_jsonKeyToVariableMap :: Lens' ModelOutputConfiguration (Maybe (HashMap Text Text)) Source #
A map of JSON keys in response from SageMaker to the Amazon Fraud Detector variables.
modelOutputConfiguration_format :: Lens' ModelOutputConfiguration ModelOutputDataFormat Source #
The format of the model output configuration.
ModelScores
data ModelScores Source #
The fraud prediction scores.
See: newModelScores
smart constructor.
ModelScores' | |
|
Instances
newModelScores :: ModelScores Source #
Create a value of ModelScores
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:
$sel:modelVersion:ModelScores'
, modelScores_modelVersion
- The model version.
$sel:scores:ModelScores'
, modelScores_scores
- The model's fraud prediction scores.
modelScores_modelVersion :: Lens' ModelScores (Maybe ModelVersion) Source #
The model version.
modelScores_scores :: Lens' ModelScores (Maybe (HashMap Text Double)) Source #
The model's fraud prediction scores.
ModelVersion
data ModelVersion Source #
The model version.
See: newModelVersion
smart constructor.
ModelVersion' | |
|
Instances
:: Text | |
-> ModelTypeEnum | |
-> Text | |
-> ModelVersion |
Create a value of ModelVersion
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:
$sel:arn:ModelVersion'
, modelVersion_arn
- The model version ARN.
$sel:modelId:ModelVersion'
, modelVersion_modelId
- The model ID.
$sel:modelType:ModelVersion'
, modelVersion_modelType
- The model type.
$sel:modelVersionNumber:ModelVersion'
, modelVersion_modelVersionNumber
- The model version number.
modelVersion_arn :: Lens' ModelVersion (Maybe Text) Source #
The model version ARN.
modelVersion_modelId :: Lens' ModelVersion Text Source #
The model ID.
modelVersion_modelType :: Lens' ModelVersion ModelTypeEnum Source #
The model type.
modelVersion_modelVersionNumber :: Lens' ModelVersion Text Source #
The model version number.
ModelVersionDetail
data ModelVersionDetail Source #
The details of the model version.
See: newModelVersionDetail
smart constructor.
ModelVersionDetail' | |
|
Instances
newModelVersionDetail :: ModelVersionDetail Source #
Create a value of ModelVersionDetail
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:
$sel:arn:ModelVersionDetail'
, modelVersionDetail_arn
- The model version ARN.
$sel:createdTime:ModelVersionDetail'
, modelVersionDetail_createdTime
- The timestamp when the model was created.
$sel:externalEventsDetail:ModelVersionDetail'
, modelVersionDetail_externalEventsDetail
- The external events data details. This will be populated if the
trainingDataSource
for the model version is specified as
EXTERNAL_EVENTS
.
$sel:ingestedEventsDetail:ModelVersionDetail'
, modelVersionDetail_ingestedEventsDetail
- The ingested events data details. This will be populated if the
trainingDataSource
for the model version is specified as
INGESTED_EVENTS
.
$sel:lastUpdatedTime:ModelVersionDetail'
, modelVersionDetail_lastUpdatedTime
- The timestamp when the model was last updated.
$sel:modelId:ModelVersionDetail'
, modelVersionDetail_modelId
- The model ID.
$sel:modelType:ModelVersionDetail'
, modelVersionDetail_modelType
- The model type.
$sel:modelVersionNumber:ModelVersionDetail'
, modelVersionDetail_modelVersionNumber
- The model version number.
$sel:status:ModelVersionDetail'
, modelVersionDetail_status
- The status of the model version.
$sel:trainingDataSchema:ModelVersionDetail'
, modelVersionDetail_trainingDataSchema
- The training data schema.
$sel:trainingDataSource:ModelVersionDetail'
, modelVersionDetail_trainingDataSource
- The model version training data source.
$sel:trainingResult:ModelVersionDetail'
, modelVersionDetail_trainingResult
- The training results.
$sel:trainingResultV2:ModelVersionDetail'
, modelVersionDetail_trainingResultV2
- The training result details. The details include the relative importance
of the variables.
modelVersionDetail_arn :: Lens' ModelVersionDetail (Maybe Text) Source #
The model version ARN.
modelVersionDetail_createdTime :: Lens' ModelVersionDetail (Maybe Text) Source #
The timestamp when the model was created.
modelVersionDetail_externalEventsDetail :: Lens' ModelVersionDetail (Maybe ExternalEventsDetail) Source #
The external events data details. This will be populated if the
trainingDataSource
for the model version is specified as
EXTERNAL_EVENTS
.
modelVersionDetail_ingestedEventsDetail :: Lens' ModelVersionDetail (Maybe IngestedEventsDetail) Source #
The ingested events data details. This will be populated if the
trainingDataSource
for the model version is specified as
INGESTED_EVENTS
.
modelVersionDetail_lastUpdatedTime :: Lens' ModelVersionDetail (Maybe Text) Source #
The timestamp when the model was last updated.
modelVersionDetail_modelId :: Lens' ModelVersionDetail (Maybe Text) Source #
The model ID.
modelVersionDetail_modelType :: Lens' ModelVersionDetail (Maybe ModelTypeEnum) Source #
The model type.
modelVersionDetail_modelVersionNumber :: Lens' ModelVersionDetail (Maybe Text) Source #
The model version number.
modelVersionDetail_status :: Lens' ModelVersionDetail (Maybe Text) Source #
The status of the model version.
modelVersionDetail_trainingDataSchema :: Lens' ModelVersionDetail (Maybe TrainingDataSchema) Source #
The training data schema.
modelVersionDetail_trainingDataSource :: Lens' ModelVersionDetail (Maybe TrainingDataSourceEnum) Source #
The model version training data source.
modelVersionDetail_trainingResult :: Lens' ModelVersionDetail (Maybe TrainingResult) Source #
The training results.
modelVersionDetail_trainingResultV2 :: Lens' ModelVersionDetail (Maybe TrainingResultV2) Source #
The training result details. The details include the relative importance of the variables.
ModelVersionEvaluation
data ModelVersionEvaluation Source #
The model version evalutions.
See: newModelVersionEvaluation
smart constructor.
ModelVersionEvaluation' | |
|
Instances
newModelVersionEvaluation :: ModelVersionEvaluation Source #
Create a value of ModelVersionEvaluation
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:
$sel:evaluationScore:ModelVersionEvaluation'
, modelVersionEvaluation_evaluationScore
- The evaluation score generated for the model version.
$sel:outputVariableName:ModelVersionEvaluation'
, modelVersionEvaluation_outputVariableName
- The output variable name.
$sel:predictionExplanations:ModelVersionEvaluation'
, modelVersionEvaluation_predictionExplanations
- The prediction explanations generated for the model version.
modelVersionEvaluation_evaluationScore :: Lens' ModelVersionEvaluation (Maybe Text) Source #
The evaluation score generated for the model version.
modelVersionEvaluation_outputVariableName :: Lens' ModelVersionEvaluation (Maybe Text) Source #
The output variable name.
modelVersionEvaluation_predictionExplanations :: Lens' ModelVersionEvaluation (Maybe PredictionExplanations) Source #
The prediction explanations generated for the model version.
OFIMetricDataPoint
data OFIMetricDataPoint Source #
The Online Fraud Insights (OFI) model performance metrics data points.
See: newOFIMetricDataPoint
smart constructor.
OFIMetricDataPoint' | |
|
Instances
newOFIMetricDataPoint :: OFIMetricDataPoint Source #
Create a value of OFIMetricDataPoint
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:
$sel:fpr:OFIMetricDataPoint'
, oFIMetricDataPoint_fpr
- The false positive rate. This is the percentage of total legitimate
events that are incorrectly predicted as fraud.
$sel:precision:OFIMetricDataPoint'
, oFIMetricDataPoint_precision
- The percentage of fraud events correctly predicted as fraudulent as
compared to all events predicted as fraudulent.
$sel:threshold:OFIMetricDataPoint'
, oFIMetricDataPoint_threshold
- The model threshold that specifies an acceptable fraud capture rate. For
example, a threshold of 500 means any model score 500 or above is
labeled as fraud.
$sel:tpr:OFIMetricDataPoint'
, oFIMetricDataPoint_tpr
- The true positive rate. This is the percentage of total fraud the model
detects. Also known as capture rate.
oFIMetricDataPoint_fpr :: Lens' OFIMetricDataPoint (Maybe Double) Source #
The false positive rate. This is the percentage of total legitimate events that are incorrectly predicted as fraud.
oFIMetricDataPoint_precision :: Lens' OFIMetricDataPoint (Maybe Double) Source #
The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as fraudulent.
oFIMetricDataPoint_threshold :: Lens' OFIMetricDataPoint (Maybe Double) Source #
The model threshold that specifies an acceptable fraud capture rate. For example, a threshold of 500 means any model score 500 or above is labeled as fraud.
oFIMetricDataPoint_tpr :: Lens' OFIMetricDataPoint (Maybe Double) Source #
The true positive rate. This is the percentage of total fraud the model detects. Also known as capture rate.
OFIModelPerformance
data OFIModelPerformance Source #
The Online Fraud Insights (OFI) model performance score.
See: newOFIModelPerformance
smart constructor.
Instances
newOFIModelPerformance :: OFIModelPerformance Source #
Create a value of OFIModelPerformance
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:
$sel:auc:OFIModelPerformance'
, oFIModelPerformance_auc
- The area under the curve (auc). This summarizes the total positive rate
(tpr) and false positive rate (FPR) across all possible model score
thresholds.
oFIModelPerformance_auc :: Lens' OFIModelPerformance (Maybe Double) Source #
The area under the curve (auc). This summarizes the total positive rate (tpr) and false positive rate (FPR) across all possible model score thresholds.
OFITrainingMetricsValue
data OFITrainingMetricsValue Source #
The Online Fraud Insights (OFI) model training metric details.
See: newOFITrainingMetricsValue
smart constructor.
OFITrainingMetricsValue' | |
|
Instances
newOFITrainingMetricsValue :: OFITrainingMetricsValue Source #
Create a value of OFITrainingMetricsValue
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:
$sel:metricDataPoints:OFITrainingMetricsValue'
, oFITrainingMetricsValue_metricDataPoints
- The model's performance metrics data points.
$sel:modelPerformance:OFITrainingMetricsValue'
, oFITrainingMetricsValue_modelPerformance
- The model's overall performance score.
oFITrainingMetricsValue_metricDataPoints :: Lens' OFITrainingMetricsValue (Maybe [OFIMetricDataPoint]) Source #
The model's performance metrics data points.
oFITrainingMetricsValue_modelPerformance :: Lens' OFITrainingMetricsValue (Maybe OFIModelPerformance) Source #
The model's overall performance score.
Outcome
The outcome.
See: newOutcome
smart constructor.
Outcome' | |
|
Instances
newOutcome :: Outcome Source #
Create a value of Outcome
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:
$sel:arn:Outcome'
, outcome_arn
- The outcome ARN.
$sel:createdTime:Outcome'
, outcome_createdTime
- The timestamp when the outcome was created.
$sel:description:Outcome'
, outcome_description
- The outcome description.
$sel:lastUpdatedTime:Outcome'
, outcome_lastUpdatedTime
- The timestamp when the outcome was last updated.
$sel:name:Outcome'
, outcome_name
- The outcome name.
outcome_createdTime :: Lens' Outcome (Maybe Text) Source #
The timestamp when the outcome was created.
outcome_lastUpdatedTime :: Lens' Outcome (Maybe Text) Source #
The timestamp when the outcome was last updated.
PredictionExplanations
data PredictionExplanations Source #
The prediction explanations that provide insight into how each event variable impacted the model version's fraud prediction score.
See: newPredictionExplanations
smart constructor.
PredictionExplanations' | |
|
Instances
newPredictionExplanations :: PredictionExplanations Source #
Create a value of PredictionExplanations
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:
$sel:aggregatedVariablesImpactExplanations:PredictionExplanations'
, predictionExplanations_aggregatedVariablesImpactExplanations
- The details of the aggregated variables impact on the prediction score.
Account Takeover Insights (ATI) model uses event variables from the
login data you provide to continuously calculate a set of variables
(aggregated variables) based on historical events. For example, your ATI
model might calculate the number of times an user has logged in using
the same IP address. In this case, event variables used to derive the
aggregated variables are IP address
and user
.
$sel:variableImpactExplanations:PredictionExplanations'
, predictionExplanations_variableImpactExplanations
- The details of the event variable's impact on the prediction score.
predictionExplanations_aggregatedVariablesImpactExplanations :: Lens' PredictionExplanations (Maybe [AggregatedVariablesImpactExplanation]) Source #
The details of the aggregated variables impact on the prediction score.
Account Takeover Insights (ATI) model uses event variables from the
login data you provide to continuously calculate a set of variables
(aggregated variables) based on historical events. For example, your ATI
model might calculate the number of times an user has logged in using
the same IP address. In this case, event variables used to derive the
aggregated variables are IP address
and user
.
predictionExplanations_variableImpactExplanations :: Lens' PredictionExplanations (Maybe [VariableImpactExplanation]) Source #
The details of the event variable's impact on the prediction score.
PredictionTimeRange
data PredictionTimeRange Source #
The time period for when the predictions were generated.
See: newPredictionTimeRange
smart constructor.
Instances
newPredictionTimeRange Source #
:: Text | |
-> Text | |
-> PredictionTimeRange |
Create a value of PredictionTimeRange
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:
$sel:startTime:PredictionTimeRange'
, predictionTimeRange_startTime
- The start time of the time period for when the predictions were
generated.
$sel:endTime:PredictionTimeRange'
, predictionTimeRange_endTime
- The end time of the time period for when the predictions were generated.
predictionTimeRange_startTime :: Lens' PredictionTimeRange Text Source #
The start time of the time period for when the predictions were generated.
predictionTimeRange_endTime :: Lens' PredictionTimeRange Text Source #
The end time of the time period for when the predictions were generated.
Rule
A rule.
See: newRule
smart constructor.
Rule' | |
|
Instances
FromJSON Rule Source # | |
ToJSON Rule Source # | |
Defined in Amazonka.FraudDetector.Types.Rule | |
Generic Rule Source # | |
Read Rule Source # | |
Show Rule Source # | |
NFData Rule Source # | |
Defined in Amazonka.FraudDetector.Types.Rule | |
Eq Rule Source # | |
Hashable Rule Source # | |
Defined in Amazonka.FraudDetector.Types.Rule | |
type Rep Rule Source # | |
Defined in Amazonka.FraudDetector.Types.Rule type Rep Rule = D1 ('MetaData "Rule" "Amazonka.FraudDetector.Types.Rule" "amazonka-frauddetector-2.0-CdXFXtLV8DgKo4Kta7Jw61" 'False) (C1 ('MetaCons "Rule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "detectorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "ruleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "ruleVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) |
Create a value of Rule
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:
$sel:detectorId:Rule'
, rule_detectorId
- The detector for which the rule is associated.
$sel:ruleId:Rule'
, rule_ruleId
- The rule ID.
$sel:ruleVersion:Rule'
, rule_ruleVersion
- The rule version.
RuleDetail
data RuleDetail Source #
The details of the rule.
See: newRuleDetail
smart constructor.
RuleDetail' | |
|
Instances
newRuleDetail :: RuleDetail Source #
Create a value of RuleDetail
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:
$sel:arn:RuleDetail'
, ruleDetail_arn
- The rule ARN.
$sel:createdTime:RuleDetail'
, ruleDetail_createdTime
- The timestamp of when the rule was created.
$sel:description:RuleDetail'
, ruleDetail_description
- The rule description.
$sel:detectorId:RuleDetail'
, ruleDetail_detectorId
- The detector for which the rule is associated.
$sel:expression:RuleDetail'
, ruleDetail_expression
- The rule expression.
$sel:language:RuleDetail'
, ruleDetail_language
- The rule language.
$sel:lastUpdatedTime:RuleDetail'
, ruleDetail_lastUpdatedTime
- Timestamp of the last time the rule was updated.
$sel:outcomes:RuleDetail'
, ruleDetail_outcomes
- The rule outcomes.
$sel:ruleId:RuleDetail'
, ruleDetail_ruleId
- The rule ID.
$sel:ruleVersion:RuleDetail'
, ruleDetail_ruleVersion
- The rule version.
ruleDetail_arn :: Lens' RuleDetail (Maybe Text) Source #
The rule ARN.
ruleDetail_createdTime :: Lens' RuleDetail (Maybe Text) Source #
The timestamp of when the rule was created.
ruleDetail_description :: Lens' RuleDetail (Maybe Text) Source #
The rule description.
ruleDetail_detectorId :: Lens' RuleDetail (Maybe Text) Source #
The detector for which the rule is associated.
ruleDetail_expression :: Lens' RuleDetail (Maybe Text) Source #
The rule expression.
ruleDetail_language :: Lens' RuleDetail (Maybe Language) Source #
The rule language.
ruleDetail_lastUpdatedTime :: Lens' RuleDetail (Maybe Text) Source #
Timestamp of the last time the rule was updated.
ruleDetail_outcomes :: Lens' RuleDetail (Maybe (NonEmpty Text)) Source #
The rule outcomes.
ruleDetail_ruleId :: Lens' RuleDetail (Maybe Text) Source #
The rule ID.
ruleDetail_ruleVersion :: Lens' RuleDetail (Maybe Text) Source #
The rule version.
RuleResult
data RuleResult Source #
The rule results.
See: newRuleResult
smart constructor.
Instances
newRuleResult :: RuleResult Source #
Create a value of RuleResult
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:
$sel:outcomes:RuleResult'
, ruleResult_outcomes
- The outcomes of the matched rule, based on the rule execution mode.
$sel:ruleId:RuleResult'
, ruleResult_ruleId
- The rule ID that was matched, based on the rule execution mode.
ruleResult_outcomes :: Lens' RuleResult (Maybe [Text]) Source #
The outcomes of the matched rule, based on the rule execution mode.
ruleResult_ruleId :: Lens' RuleResult (Maybe Text) Source #
The rule ID that was matched, based on the rule execution mode.
TFIMetricDataPoint
data TFIMetricDataPoint Source #
The performance metrics data points for Transaction Fraud Insights (TFI) model.
See: newTFIMetricDataPoint
smart constructor.
TFIMetricDataPoint' | |
|
Instances
newTFIMetricDataPoint :: TFIMetricDataPoint Source #
Create a value of TFIMetricDataPoint
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:
$sel:fpr:TFIMetricDataPoint'
, tFIMetricDataPoint_fpr
- The false positive rate. This is the percentage of total legitimate
events that are incorrectly predicted as fraud.
$sel:precision:TFIMetricDataPoint'
, tFIMetricDataPoint_precision
- The percentage of fraud events correctly predicted as fraudulent as
compared to all events predicted as fraudulent.
$sel:threshold:TFIMetricDataPoint'
, tFIMetricDataPoint_threshold
- The model threshold that specifies an acceptable fraud capture rate. For
example, a threshold of 500 means any model score 500 or above is
labeled as fraud.
$sel:tpr:TFIMetricDataPoint'
, tFIMetricDataPoint_tpr
- The true positive rate. This is the percentage of total fraud the model
detects. Also known as capture rate.
tFIMetricDataPoint_fpr :: Lens' TFIMetricDataPoint (Maybe Double) Source #
The false positive rate. This is the percentage of total legitimate events that are incorrectly predicted as fraud.
tFIMetricDataPoint_precision :: Lens' TFIMetricDataPoint (Maybe Double) Source #
The percentage of fraud events correctly predicted as fraudulent as compared to all events predicted as fraudulent.
tFIMetricDataPoint_threshold :: Lens' TFIMetricDataPoint (Maybe Double) Source #
The model threshold that specifies an acceptable fraud capture rate. For example, a threshold of 500 means any model score 500 or above is labeled as fraud.
tFIMetricDataPoint_tpr :: Lens' TFIMetricDataPoint (Maybe Double) Source #
The true positive rate. This is the percentage of total fraud the model detects. Also known as capture rate.
TFIModelPerformance
data TFIModelPerformance Source #
The Transaction Fraud Insights (TFI) model performance score.
See: newTFIModelPerformance
smart constructor.
Instances
newTFIModelPerformance :: TFIModelPerformance Source #
Create a value of TFIModelPerformance
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:
$sel:auc:TFIModelPerformance'
, tFIModelPerformance_auc
- The area under the curve (auc). This summarizes the total positive rate
(tpr) and false positive rate (FPR) across all possible model score
thresholds.
tFIModelPerformance_auc :: Lens' TFIModelPerformance (Maybe Double) Source #
The area under the curve (auc). This summarizes the total positive rate (tpr) and false positive rate (FPR) across all possible model score thresholds.
TFITrainingMetricsValue
data TFITrainingMetricsValue Source #
The Transaction Fraud Insights (TFI) model training metric details.
See: newTFITrainingMetricsValue
smart constructor.
TFITrainingMetricsValue' | |
|
Instances
newTFITrainingMetricsValue :: TFITrainingMetricsValue Source #
Create a value of TFITrainingMetricsValue
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:
$sel:metricDataPoints:TFITrainingMetricsValue'
, tFITrainingMetricsValue_metricDataPoints
- The model's performance metrics data points.
$sel:modelPerformance:TFITrainingMetricsValue'
, tFITrainingMetricsValue_modelPerformance
- The model performance score.
tFITrainingMetricsValue_metricDataPoints :: Lens' TFITrainingMetricsValue (Maybe [TFIMetricDataPoint]) Source #
The model's performance metrics data points.
tFITrainingMetricsValue_modelPerformance :: Lens' TFITrainingMetricsValue (Maybe TFIModelPerformance) Source #
The model performance score.
Tag
A key and value pair.
See: newTag
smart constructor.
Instances
FromJSON Tag Source # | |
ToJSON Tag Source # | |
Defined in Amazonka.FraudDetector.Types.Tag | |
Generic Tag Source # | |
Read Tag Source # | |
Show Tag Source # | |
NFData Tag Source # | |
Defined in Amazonka.FraudDetector.Types.Tag | |
Eq Tag Source # | |
Hashable Tag Source # | |
Defined in Amazonka.FraudDetector.Types.Tag | |
type Rep Tag Source # | |
Defined in Amazonka.FraudDetector.Types.Tag type Rep Tag = D1 ('MetaData "Tag" "Amazonka.FraudDetector.Types.Tag" "amazonka-frauddetector-2.0-CdXFXtLV8DgKo4Kta7Jw61" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
Create a value of Tag
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:
$sel:key:Tag'
, tag_key
- A tag key.
$sel:value:Tag'
, tag_value
- A value assigned to a tag key.
TrainingDataSchema
data TrainingDataSchema Source #
The training data schema.
See: newTrainingDataSchema
smart constructor.
TrainingDataSchema' | |
|
Instances
newTrainingDataSchema :: TrainingDataSchema Source #
Create a value of TrainingDataSchema
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:
$sel:labelSchema:TrainingDataSchema'
, trainingDataSchema_labelSchema
- Undocumented member.
$sel:modelVariables:TrainingDataSchema'
, trainingDataSchema_modelVariables
- The training data schema variables.
trainingDataSchema_labelSchema :: Lens' TrainingDataSchema (Maybe LabelSchema) Source #
Undocumented member.
trainingDataSchema_modelVariables :: Lens' TrainingDataSchema [Text] Source #
The training data schema variables.
TrainingMetrics
data TrainingMetrics Source #
The training metric details.
See: newTrainingMetrics
smart constructor.
TrainingMetrics' | |
|
Instances
newTrainingMetrics :: TrainingMetrics Source #
Create a value of TrainingMetrics
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:
$sel:auc:TrainingMetrics'
, trainingMetrics_auc
- The area under the curve. This summarizes true positive rate (TPR) and
false positive rate (FPR) across all possible model score thresholds. A
model with no predictive power has an AUC of 0.5, whereas a perfect
model has a score of 1.0.
$sel:metricDataPoints:TrainingMetrics'
, trainingMetrics_metricDataPoints
- The data points details.
trainingMetrics_auc :: Lens' TrainingMetrics (Maybe Double) Source #
The area under the curve. This summarizes true positive rate (TPR) and false positive rate (FPR) across all possible model score thresholds. A model with no predictive power has an AUC of 0.5, whereas a perfect model has a score of 1.0.
trainingMetrics_metricDataPoints :: Lens' TrainingMetrics (Maybe [MetricDataPoint]) Source #
The data points details.
TrainingMetricsV2
data TrainingMetricsV2 Source #
The training metrics details.
See: newTrainingMetricsV2
smart constructor.
TrainingMetricsV2' | |
|
Instances
newTrainingMetricsV2 :: TrainingMetricsV2 Source #
Create a value of TrainingMetricsV2
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:
$sel:ati:TrainingMetricsV2'
, trainingMetricsV2_ati
- The Account Takeover Insights (ATI) model training metric details.
$sel:ofi:TrainingMetricsV2'
, trainingMetricsV2_ofi
- The Online Fraud Insights (OFI) model training metric details.
$sel:tfi:TrainingMetricsV2'
, trainingMetricsV2_tfi
- The Transaction Fraud Insights (TFI) model training metric details.
trainingMetricsV2_ati :: Lens' TrainingMetricsV2 (Maybe ATITrainingMetricsValue) Source #
The Account Takeover Insights (ATI) model training metric details.
trainingMetricsV2_ofi :: Lens' TrainingMetricsV2 (Maybe OFITrainingMetricsValue) Source #
The Online Fraud Insights (OFI) model training metric details.
trainingMetricsV2_tfi :: Lens' TrainingMetricsV2 (Maybe TFITrainingMetricsValue) Source #
The Transaction Fraud Insights (TFI) model training metric details.
TrainingResult
data TrainingResult Source #
The training result details.
See: newTrainingResult
smart constructor.
TrainingResult' | |
|
Instances
newTrainingResult :: TrainingResult Source #
Create a value of TrainingResult
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:
$sel:dataValidationMetrics:TrainingResult'
, trainingResult_dataValidationMetrics
- The validation metrics.
$sel:trainingMetrics:TrainingResult'
, trainingResult_trainingMetrics
- The training metric details.
$sel:variableImportanceMetrics:TrainingResult'
, trainingResult_variableImportanceMetrics
- The variable importance metrics.
trainingResult_dataValidationMetrics :: Lens' TrainingResult (Maybe DataValidationMetrics) Source #
The validation metrics.
trainingResult_trainingMetrics :: Lens' TrainingResult (Maybe TrainingMetrics) Source #
The training metric details.
trainingResult_variableImportanceMetrics :: Lens' TrainingResult (Maybe VariableImportanceMetrics) Source #
The variable importance metrics.
TrainingResultV2
data TrainingResultV2 Source #
The training result details.
See: newTrainingResultV2
smart constructor.
TrainingResultV2' | |
|
Instances
newTrainingResultV2 :: TrainingResultV2 Source #
Create a value of TrainingResultV2
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:
$sel:aggregatedVariablesImportanceMetrics:TrainingResultV2'
, trainingResultV2_aggregatedVariablesImportanceMetrics
- The variable importance metrics of the aggregated variables.
Account Takeover Insights (ATI) model uses event variables from the
login data you provide to continuously calculate a set of variables
(aggregated variables) based on historical events. For example, your ATI
model might calculate the number of times an user has logged in using
the same IP address. In this case, event variables used to derive the
aggregated variables are IP address
and user
.
$sel:dataValidationMetrics:TrainingResultV2'
, trainingResultV2_dataValidationMetrics
- Undocumented member.
$sel:trainingMetricsV2:TrainingResultV2'
, trainingResultV2_trainingMetricsV2
- The training metric details.
$sel:variableImportanceMetrics:TrainingResultV2'
, trainingResultV2_variableImportanceMetrics
- Undocumented member.
trainingResultV2_aggregatedVariablesImportanceMetrics :: Lens' TrainingResultV2 (Maybe AggregatedVariablesImportanceMetrics) Source #
The variable importance metrics of the aggregated variables.
Account Takeover Insights (ATI) model uses event variables from the
login data you provide to continuously calculate a set of variables
(aggregated variables) based on historical events. For example, your ATI
model might calculate the number of times an user has logged in using
the same IP address. In this case, event variables used to derive the
aggregated variables are IP address
and user
.
trainingResultV2_dataValidationMetrics :: Lens' TrainingResultV2 (Maybe DataValidationMetrics) Source #
Undocumented member.
trainingResultV2_trainingMetricsV2 :: Lens' TrainingResultV2 (Maybe TrainingMetricsV2) Source #
The training metric details.
trainingResultV2_variableImportanceMetrics :: Lens' TrainingResultV2 (Maybe VariableImportanceMetrics) Source #
Undocumented member.
Variable
The variable.
See: newVariable
smart constructor.
Variable' | |
|
Instances
newVariable :: Variable Source #
Create a value of Variable
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:
$sel:arn:Variable'
, variable_arn
- The ARN of the variable.
$sel:createdTime:Variable'
, variable_createdTime
- The time when the variable was created.
$sel:dataSource:Variable'
, variable_dataSource
- The data source of the variable.
$sel:dataType:Variable'
, variable_dataType
- The data type of the variable. For more information see
Variable types.
$sel:defaultValue:Variable'
, variable_defaultValue
- The default value of the variable.
$sel:description:Variable'
, variable_description
- The description of the variable.
$sel:lastUpdatedTime:Variable'
, variable_lastUpdatedTime
- The time when variable was last updated.
$sel:name:Variable'
, variable_name
- The name of the variable.
$sel:variableType:Variable'
, variable_variableType
- The variable type of the variable.
Valid Values:
AUTH_CODE | AVS | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY | BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN | CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL | FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT
variable_dataSource :: Lens' Variable (Maybe DataSource) Source #
The data source of the variable.
variable_dataType :: Lens' Variable (Maybe DataType) Source #
The data type of the variable. For more information see Variable types.
variable_lastUpdatedTime :: Lens' Variable (Maybe Text) Source #
The time when variable was last updated.
variable_variableType :: Lens' Variable (Maybe Text) Source #
The variable type of the variable.
Valid Values:
AUTH_CODE | AVS | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY | BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN | CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL | FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT
VariableEntry
data VariableEntry Source #
A variable in the list of variables for the batch create variable request.
See: newVariableEntry
smart constructor.
VariableEntry' | |
|
Instances
newVariableEntry :: VariableEntry Source #
Create a value of VariableEntry
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:
$sel:dataSource:VariableEntry'
, variableEntry_dataSource
- The data source of the variable.
$sel:dataType:VariableEntry'
, variableEntry_dataType
- The data type of the variable.
$sel:defaultValue:VariableEntry'
, variableEntry_defaultValue
- The default value of the variable.
$sel:description:VariableEntry'
, variableEntry_description
- The description of the variable.
$sel:name:VariableEntry'
, variableEntry_name
- The name of the variable.
$sel:variableType:VariableEntry'
, variableEntry_variableType
- The type of the variable. For more information see
Variable types.
Valid Values:
AUTH_CODE | AVS | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY | BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN | CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL | FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT
variableEntry_dataSource :: Lens' VariableEntry (Maybe Text) Source #
The data source of the variable.
variableEntry_dataType :: Lens' VariableEntry (Maybe Text) Source #
The data type of the variable.
variableEntry_defaultValue :: Lens' VariableEntry (Maybe Text) Source #
The default value of the variable.
variableEntry_description :: Lens' VariableEntry (Maybe Text) Source #
The description of the variable.
variableEntry_name :: Lens' VariableEntry (Maybe Text) Source #
The name of the variable.
variableEntry_variableType :: Lens' VariableEntry (Maybe Text) Source #
The type of the variable. For more information see Variable types.
Valid Values:
AUTH_CODE | AVS | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY | BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN | CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL | FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT
VariableImpactExplanation
data VariableImpactExplanation Source #
The details of the event variable's impact on the prediction score.
See: newVariableImpactExplanation
smart constructor.
VariableImpactExplanation' | |
|
Instances
newVariableImpactExplanation :: VariableImpactExplanation Source #
Create a value of VariableImpactExplanation
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:
$sel:eventVariableName:VariableImpactExplanation'
, variableImpactExplanation_eventVariableName
- The event variable name.
$sel:logOddsImpact:VariableImpactExplanation'
, variableImpactExplanation_logOddsImpact
- 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.
$sel:relativeImpact:VariableImpactExplanation'
, variableImpactExplanation_relativeImpact
- 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.
variableImpactExplanation_eventVariableName :: Lens' VariableImpactExplanation (Maybe Text) Source #
The event variable name.
variableImpactExplanation_logOddsImpact :: Lens' VariableImpactExplanation (Maybe Double) Source #
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.
variableImpactExplanation_relativeImpact :: Lens' VariableImpactExplanation (Maybe Text) Source #
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.
VariableImportanceMetrics
data VariableImportanceMetrics Source #
The variable importance metrics details.
See: newVariableImportanceMetrics
smart constructor.
VariableImportanceMetrics' | |
|
Instances
newVariableImportanceMetrics :: VariableImportanceMetrics Source #
Create a value of VariableImportanceMetrics
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:
$sel:logOddsMetrics:VariableImportanceMetrics'
, variableImportanceMetrics_logOddsMetrics
- List of variable metrics.
variableImportanceMetrics_logOddsMetrics :: Lens' VariableImportanceMetrics (Maybe [LogOddsMetric]) Source #
List of variable metrics.