{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.FraudDetector.Types
(
defaultService,
_ValidationException,
_AccessDeniedException,
_ResourceUnavailableException,
_ConflictException,
_ThrottlingException,
_InternalServerException,
_ResourceNotFoundException,
AsyncJobStatus (..),
DataSource (..),
DataType (..),
DetectorVersionStatus (..),
EventIngestion (..),
Language (..),
ModelEndpointStatus (..),
ModelInputDataFormat (..),
ModelOutputDataFormat (..),
ModelSource (..),
ModelTypeEnum (..),
ModelVersionStatus (..),
RuleExecutionMode (..),
TrainingDataSourceEnum (..),
UnlabeledEventsTreatment (..),
BatchCreateVariableError (..),
newBatchCreateVariableError,
batchCreateVariableError_name,
batchCreateVariableError_code,
batchCreateVariableError_message,
BatchGetVariableError (..),
newBatchGetVariableError,
batchGetVariableError_name,
batchGetVariableError_code,
batchGetVariableError_message,
BatchImport (..),
newBatchImport,
batchImport_failureReason,
batchImport_iamRoleArn,
batchImport_status,
batchImport_processedRecordsCount,
batchImport_totalRecordsCount,
batchImport_jobId,
batchImport_arn,
batchImport_startTime,
batchImport_eventTypeName,
batchImport_completionTime,
batchImport_outputPath,
batchImport_inputPath,
batchImport_failedRecordsCount,
BatchPrediction (..),
newBatchPrediction,
batchPrediction_failureReason,
batchPrediction_iamRoleArn,
batchPrediction_status,
batchPrediction_processedRecordsCount,
batchPrediction_totalRecordsCount,
batchPrediction_lastHeartbeatTime,
batchPrediction_jobId,
batchPrediction_arn,
batchPrediction_startTime,
batchPrediction_eventTypeName,
batchPrediction_completionTime,
batchPrediction_outputPath,
batchPrediction_detectorName,
batchPrediction_detectorVersion,
batchPrediction_inputPath,
DataValidationMetrics (..),
newDataValidationMetrics,
dataValidationMetrics_fieldLevelMessages,
dataValidationMetrics_fileLevelMessages,
Detector (..),
newDetector,
detector_lastUpdatedTime,
detector_arn,
detector_createdTime,
detector_eventTypeName,
detector_detectorId,
detector_description,
DetectorVersionSummary (..),
newDetectorVersionSummary,
detectorVersionSummary_status,
detectorVersionSummary_lastUpdatedTime,
detectorVersionSummary_detectorVersionId,
detectorVersionSummary_description,
Entity (..),
newEntity,
entity_entityType,
entity_entityId,
EntityType (..),
newEntityType,
entityType_lastUpdatedTime,
entityType_arn,
entityType_createdTime,
entityType_name,
entityType_description,
Event (..),
newEvent,
event_eventTimestamp,
event_entities,
event_labelTimestamp,
event_eventTypeName,
event_eventVariables,
event_currentLabel,
event_eventId,
EventType (..),
newEventType,
eventType_lastUpdatedTime,
eventType_arn,
eventType_createdTime,
eventType_entityTypes,
eventType_eventVariables,
eventType_name,
eventType_ingestedEventStatistics,
eventType_labels,
eventType_eventIngestion,
eventType_description,
ExternalEventsDetail (..),
newExternalEventsDetail,
externalEventsDetail_dataLocation,
externalEventsDetail_dataAccessRoleArn,
ExternalModel (..),
newExternalModel,
externalModel_modelEndpoint,
externalModel_modelSource,
externalModel_lastUpdatedTime,
externalModel_arn,
externalModel_createdTime,
externalModel_modelEndpointStatus,
externalModel_outputConfiguration,
externalModel_invokeModelEndpointRoleArn,
externalModel_inputConfiguration,
ExternalModelOutputs (..),
newExternalModelOutputs,
externalModelOutputs_externalModel,
externalModelOutputs_outputs,
ExternalModelSummary (..),
newExternalModelSummary,
externalModelSummary_modelEndpoint,
externalModelSummary_modelSource,
FieldValidationMessage (..),
newFieldValidationMessage,
fieldValidationMessage_identifier,
fieldValidationMessage_content,
fieldValidationMessage_fieldName,
fieldValidationMessage_title,
fieldValidationMessage_type,
FileValidationMessage (..),
newFileValidationMessage,
fileValidationMessage_content,
fileValidationMessage_title,
fileValidationMessage_type,
IngestedEventStatistics (..),
newIngestedEventStatistics,
ingestedEventStatistics_eventDataSizeInBytes,
ingestedEventStatistics_mostRecentEvent,
ingestedEventStatistics_lastUpdatedTime,
ingestedEventStatistics_numberOfEvents,
ingestedEventStatistics_leastRecentEvent,
IngestedEventsDetail (..),
newIngestedEventsDetail,
ingestedEventsDetail_ingestedEventsTimeWindow,
IngestedEventsTimeWindow (..),
newIngestedEventsTimeWindow,
ingestedEventsTimeWindow_startTime,
ingestedEventsTimeWindow_endTime,
KMSKey (..),
newKMSKey,
kmsKey_kmsEncryptionKeyArn,
Label (..),
newLabel,
label_lastUpdatedTime,
label_arn,
label_createdTime,
label_name,
label_description,
LabelSchema (..),
newLabelSchema,
labelSchema_unlabeledEventsTreatment,
labelSchema_labelMapper,
LogOddsMetric (..),
newLogOddsMetric,
logOddsMetric_variableName,
logOddsMetric_variableType,
logOddsMetric_variableImportance,
MetricDataPoint (..),
newMetricDataPoint,
metricDataPoint_precision,
metricDataPoint_fpr,
metricDataPoint_threshold,
metricDataPoint_tpr,
Model (..),
newModel,
model_modelType,
model_lastUpdatedTime,
model_modelId,
model_arn,
model_createdTime,
model_eventTypeName,
model_description,
ModelEndpointDataBlob (..),
newModelEndpointDataBlob,
modelEndpointDataBlob_byteBuffer,
modelEndpointDataBlob_contentType,
ModelInputConfiguration (..),
newModelInputConfiguration,
modelInputConfiguration_format,
modelInputConfiguration_eventTypeName,
modelInputConfiguration_csvInputTemplate,
modelInputConfiguration_jsonInputTemplate,
modelInputConfiguration_useEventVariables,
ModelOutputConfiguration (..),
newModelOutputConfiguration,
modelOutputConfiguration_jsonKeyToVariableMap,
modelOutputConfiguration_csvIndexToVariableMap,
modelOutputConfiguration_format,
ModelScores (..),
newModelScores,
modelScores_modelVersion,
modelScores_scores,
ModelVersion (..),
newModelVersion,
modelVersion_arn,
modelVersion_modelId,
modelVersion_modelType,
modelVersion_modelVersionNumber,
ModelVersionDetail (..),
newModelVersionDetail,
modelVersionDetail_status,
modelVersionDetail_modelType,
modelVersionDetail_lastUpdatedTime,
modelVersionDetail_modelId,
modelVersionDetail_arn,
modelVersionDetail_trainingDataSource,
modelVersionDetail_createdTime,
modelVersionDetail_externalEventsDetail,
modelVersionDetail_ingestedEventsDetail,
modelVersionDetail_modelVersionNumber,
modelVersionDetail_trainingResult,
modelVersionDetail_trainingDataSchema,
Outcome (..),
newOutcome,
outcome_lastUpdatedTime,
outcome_arn,
outcome_createdTime,
outcome_name,
outcome_description,
Rule (..),
newRule,
rule_detectorId,
rule_ruleId,
rule_ruleVersion,
RuleDetail (..),
newRuleDetail,
ruleDetail_ruleVersion,
ruleDetail_lastUpdatedTime,
ruleDetail_arn,
ruleDetail_createdTime,
ruleDetail_ruleId,
ruleDetail_outcomes,
ruleDetail_detectorId,
ruleDetail_expression,
ruleDetail_language,
ruleDetail_description,
RuleResult (..),
newRuleResult,
ruleResult_ruleId,
ruleResult_outcomes,
Tag (..),
newTag,
tag_key,
tag_value,
TrainingDataSchema (..),
newTrainingDataSchema,
trainingDataSchema_modelVariables,
trainingDataSchema_labelSchema,
TrainingMetrics (..),
newTrainingMetrics,
trainingMetrics_auc,
trainingMetrics_metricDataPoints,
TrainingResult (..),
newTrainingResult,
trainingResult_dataValidationMetrics,
trainingResult_trainingMetrics,
trainingResult_variableImportanceMetrics,
Variable (..),
newVariable,
variable_lastUpdatedTime,
variable_arn,
variable_createdTime,
variable_name,
variable_dataSource,
variable_dataType,
variable_defaultValue,
variable_variableType,
variable_description,
VariableEntry (..),
newVariableEntry,
variableEntry_name,
variableEntry_dataSource,
variableEntry_dataType,
variableEntry_defaultValue,
variableEntry_variableType,
variableEntry_description,
VariableImportanceMetrics (..),
newVariableImportanceMetrics,
variableImportanceMetrics_logOddsMetrics,
)
where
import qualified Amazonka.Core as Core
import Amazonka.FraudDetector.Types.AsyncJobStatus
import Amazonka.FraudDetector.Types.BatchCreateVariableError
import Amazonka.FraudDetector.Types.BatchGetVariableError
import Amazonka.FraudDetector.Types.BatchImport
import Amazonka.FraudDetector.Types.BatchPrediction
import Amazonka.FraudDetector.Types.DataSource
import Amazonka.FraudDetector.Types.DataType
import Amazonka.FraudDetector.Types.DataValidationMetrics
import Amazonka.FraudDetector.Types.Detector
import Amazonka.FraudDetector.Types.DetectorVersionStatus
import Amazonka.FraudDetector.Types.DetectorVersionSummary
import Amazonka.FraudDetector.Types.Entity
import Amazonka.FraudDetector.Types.EntityType
import Amazonka.FraudDetector.Types.Event
import Amazonka.FraudDetector.Types.EventIngestion
import Amazonka.FraudDetector.Types.EventType
import Amazonka.FraudDetector.Types.ExternalEventsDetail
import Amazonka.FraudDetector.Types.ExternalModel
import Amazonka.FraudDetector.Types.ExternalModelOutputs
import Amazonka.FraudDetector.Types.ExternalModelSummary
import Amazonka.FraudDetector.Types.FieldValidationMessage
import Amazonka.FraudDetector.Types.FileValidationMessage
import Amazonka.FraudDetector.Types.IngestedEventStatistics
import Amazonka.FraudDetector.Types.IngestedEventsDetail
import Amazonka.FraudDetector.Types.IngestedEventsTimeWindow
import Amazonka.FraudDetector.Types.KMSKey
import Amazonka.FraudDetector.Types.Label
import Amazonka.FraudDetector.Types.LabelSchema
import Amazonka.FraudDetector.Types.Language
import Amazonka.FraudDetector.Types.LogOddsMetric
import Amazonka.FraudDetector.Types.MetricDataPoint
import Amazonka.FraudDetector.Types.Model
import Amazonka.FraudDetector.Types.ModelEndpointDataBlob
import Amazonka.FraudDetector.Types.ModelEndpointStatus
import Amazonka.FraudDetector.Types.ModelInputConfiguration
import Amazonka.FraudDetector.Types.ModelInputDataFormat
import Amazonka.FraudDetector.Types.ModelOutputConfiguration
import Amazonka.FraudDetector.Types.ModelOutputDataFormat
import Amazonka.FraudDetector.Types.ModelScores
import Amazonka.FraudDetector.Types.ModelSource
import Amazonka.FraudDetector.Types.ModelTypeEnum
import Amazonka.FraudDetector.Types.ModelVersion
import Amazonka.FraudDetector.Types.ModelVersionDetail
import Amazonka.FraudDetector.Types.ModelVersionStatus
import Amazonka.FraudDetector.Types.Outcome
import Amazonka.FraudDetector.Types.Rule
import Amazonka.FraudDetector.Types.RuleDetail
import Amazonka.FraudDetector.Types.RuleExecutionMode
import Amazonka.FraudDetector.Types.RuleResult
import Amazonka.FraudDetector.Types.Tag
import Amazonka.FraudDetector.Types.TrainingDataSchema
import Amazonka.FraudDetector.Types.TrainingDataSourceEnum
import Amazonka.FraudDetector.Types.TrainingMetrics
import Amazonka.FraudDetector.Types.TrainingResult
import Amazonka.FraudDetector.Types.UnlabeledEventsTreatment
import Amazonka.FraudDetector.Types.Variable
import Amazonka.FraudDetector.Types.VariableEntry
import Amazonka.FraudDetector.Types.VariableImportanceMetrics
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Sign.V4 as Sign
defaultService :: Core.Service
defaultService :: Service
defaultService =
Service :: Abbrev
-> Signer
-> ByteString
-> ByteString
-> ByteString
-> (Region -> Endpoint)
-> Maybe Seconds
-> (Status -> Bool)
-> (Status -> [Header] -> ByteStringLazy -> Error)
-> Retry
-> Service
Core.Service
{ $sel:_serviceAbbrev:Service :: Abbrev
Core._serviceAbbrev = Abbrev
"FraudDetector",
$sel:_serviceSigner:Service :: Signer
Core._serviceSigner = Signer
Sign.v4,
$sel:_serviceEndpointPrefix:Service :: ByteString
Core._serviceEndpointPrefix = ByteString
"frauddetector",
$sel:_serviceSigningName:Service :: ByteString
Core._serviceSigningName = ByteString
"frauddetector",
$sel:_serviceVersion:Service :: ByteString
Core._serviceVersion = ByteString
"2019-11-15",
$sel:_serviceEndpoint:Service :: Region -> Endpoint
Core._serviceEndpoint =
Service -> Region -> Endpoint
Core.defaultEndpoint Service
defaultService,
$sel:_serviceTimeout:Service :: Maybe Seconds
Core._serviceTimeout = Seconds -> Maybe Seconds
forall a. a -> Maybe a
Prelude.Just Seconds
70,
$sel:_serviceCheck:Service :: Status -> Bool
Core._serviceCheck = Status -> Bool
Core.statusSuccess,
$sel:_serviceError:Service :: Status -> [Header] -> ByteStringLazy -> Error
Core._serviceError =
Abbrev -> Status -> [Header] -> ByteStringLazy -> Error
Core.parseJSONError Abbrev
"FraudDetector",
$sel:_serviceRetry:Service :: Retry
Core._serviceRetry = Retry
retry
}
where
retry :: Retry
retry =
Exponential :: Double -> Int -> Int -> (ServiceError -> Maybe Text) -> Retry
Core.Exponential
{ $sel:_retryBase:Exponential :: Double
Core._retryBase = Double
5.0e-2,
$sel:_retryGrowth:Exponential :: Int
Core._retryGrowth = Int
2,
$sel:_retryAttempts:Exponential :: Int
Core._retryAttempts = Int
5,
$sel:_retryCheck:Exponential :: ServiceError -> Maybe Text
Core._retryCheck = ServiceError -> Maybe Text
forall a. IsString a => ServiceError -> Maybe a
check
}
check :: ServiceError -> Maybe a
check ServiceError
e
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has
( ErrorCode -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"ThrottledException"
Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"throttled_exception"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
429) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"too_many_requests"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has
( ErrorCode -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"ThrottlingException"
Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"throttling_exception"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has
( ErrorCode -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"Throttling"
Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"throttling"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has
( ErrorCode -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode
ErrorCode
"ProvisionedThroughputExceededException"
Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"throughput_exceeded"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
504) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"gateway_timeout"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has
( ErrorCode -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"RequestThrottledException"
Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
-> Getting Any ServiceError ServiceError
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"request_throttled_exception"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
502) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"bad_gateway"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
503) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"service_unavailable"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
500) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"general_server_error"
| Getting Any ServiceError ServiceError -> ServiceError -> Bool
forall s a. Getting Any s a -> s -> Bool
Lens.has (Int -> Getting Any ServiceError ServiceError
forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
509) ServiceError
e =
a -> Maybe a
forall a. a -> Maybe a
Prelude.Just a
"limit_exceeded"
| Bool
Prelude.otherwise = Maybe a
forall a. Maybe a
Prelude.Nothing
_ValidationException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ValidationException :: Getting (First ServiceError) a ServiceError
_ValidationException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ValidationException"
_AccessDeniedException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_AccessDeniedException :: Getting (First ServiceError) a ServiceError
_AccessDeniedException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"AccessDeniedException"
_ResourceUnavailableException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ResourceUnavailableException :: Getting (First ServiceError) a ServiceError
_ResourceUnavailableException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceUnavailableException"
_ConflictException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ConflictException :: Getting (First ServiceError) a ServiceError
_ConflictException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ConflictException"
_ThrottlingException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ThrottlingException :: Getting (First ServiceError) a ServiceError
_ThrottlingException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ThrottlingException"
_InternalServerException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InternalServerException :: Getting (First ServiceError) a ServiceError
_InternalServerException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InternalServerException"
_ResourceNotFoundException :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ResourceNotFoundException :: Getting (First ServiceError) a ServiceError
_ResourceNotFoundException =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceNotFoundException"