module Network.AWS.SWF.Types
(
SWF
, _LimitExceededFault
, _WorkflowExecutionAlreadyStartedFault
, _DomainAlreadyExistsFault
, _UnknownResourceFault
, _OperationNotPermittedFault
, _DefaultUndefinedFault
, _TypeDeprecatedFault
, _TypeAlreadyExistsFault
, _DomainDeprecatedFault
, ActivityTaskTimeoutType (..)
, CancelTimerFailedCause (..)
, CancelWorkflowExecutionFailedCause (..)
, ChildPolicy (..)
, CloseStatus (..)
, CompleteWorkflowExecutionFailedCause (..)
, ContinueAsNewWorkflowExecutionFailedCause (..)
, DecisionTaskTimeoutType (..)
, DecisionType (..)
, EventType (..)
, ExecutionStatus (..)
, FailWorkflowExecutionFailedCause (..)
, LambdaFunctionTimeoutType (..)
, RecordMarkerFailedCause (..)
, RegistrationStatus (..)
, RequestCancelActivityTaskFailedCause (..)
, RequestCancelExternalWorkflowExecutionFailedCause (..)
, ScheduleActivityTaskFailedCause (..)
, ScheduleLambdaFunctionFailedCause (..)
, SignalExternalWorkflowExecutionFailedCause (..)
, StartChildWorkflowExecutionFailedCause (..)
, StartLambdaFunctionFailedCause (..)
, StartTimerFailedCause (..)
, WorkflowExecutionCancelRequestedCause (..)
, WorkflowExecutionTerminatedCause (..)
, WorkflowExecutionTimeoutType (..)
, ActivityTaskCancelRequestedEventAttributes
, activityTaskCancelRequestedEventAttributes
, atcreaDecisionTaskCompletedEventId
, atcreaActivityId
, ActivityTaskCanceledEventAttributes
, activityTaskCanceledEventAttributes
, aLatestCancelRequestedEventId
, aDetails
, aScheduledEventId
, aStartedEventId
, ActivityTaskCompletedEventAttributes
, activityTaskCompletedEventAttributes
, atceaResult
, atceaScheduledEventId
, atceaStartedEventId
, ActivityTaskFailedEventAttributes
, activityTaskFailedEventAttributes
, atfeaReason
, atfeaDetails
, atfeaScheduledEventId
, atfeaStartedEventId
, ActivityTaskScheduledEventAttributes
, activityTaskScheduledEventAttributes
, atseaControl
, atseaScheduleToCloseTimeout
, atseaHeartbeatTimeout
, atseaInput
, atseaTaskPriority
, atseaScheduleToStartTimeout
, atseaStartToCloseTimeout
, atseaActivityType
, atseaActivityId
, atseaTaskList
, atseaDecisionTaskCompletedEventId
, ActivityTaskStartedEventAttributes
, activityTaskStartedEventAttributes
, atseaIdentity
, atseaScheduledEventId
, ActivityTaskTimedOutEventAttributes
, activityTaskTimedOutEventAttributes
, attoeaDetails
, attoeaTimeoutType
, attoeaScheduledEventId
, attoeaStartedEventId
, ActivityType
, activityType
, atName
, atVersion
, ActivityTypeConfiguration
, activityTypeConfiguration
, atcDefaultTaskScheduleToStartTimeout
, atcDefaultTaskList
, atcDefaultTaskPriority
, atcDefaultTaskHeartbeatTimeout
, atcDefaultTaskScheduleToCloseTimeout
, atcDefaultTaskStartToCloseTimeout
, ActivityTypeInfo
, activityTypeInfo
, atiDeprecationDate
, atiDescription
, atiActivityType
, atiStatus
, atiCreationDate
, CancelTimerDecisionAttributes
, cancelTimerDecisionAttributes
, ctdaTimerId
, CancelTimerFailedEventAttributes
, cancelTimerFailedEventAttributes
, ctfeaTimerId
, ctfeaCause
, ctfeaDecisionTaskCompletedEventId
, CancelWorkflowExecutionDecisionAttributes
, cancelWorkflowExecutionDecisionAttributes
, cwedaDetails
, CancelWorkflowExecutionFailedEventAttributes
, cancelWorkflowExecutionFailedEventAttributes
, cCause
, cDecisionTaskCompletedEventId
, ChildWorkflowExecutionCanceledEventAttributes
, childWorkflowExecutionCanceledEventAttributes
, cDetails
, cWorkflowExecution
, cWorkflowType
, cInitiatedEventId
, cStartedEventId
, ChildWorkflowExecutionCompletedEventAttributes
, childWorkflowExecutionCompletedEventAttributes
, cweceaResult
, cweceaWorkflowExecution
, cweceaWorkflowType
, cweceaInitiatedEventId
, cweceaStartedEventId
, ChildWorkflowExecutionFailedEventAttributes
, childWorkflowExecutionFailedEventAttributes
, cwefeaReason
, cwefeaDetails
, cwefeaWorkflowExecution
, cwefeaWorkflowType
, cwefeaInitiatedEventId
, cwefeaStartedEventId
, ChildWorkflowExecutionStartedEventAttributes
, childWorkflowExecutionStartedEventAttributes
, cweseaWorkflowExecution
, cweseaWorkflowType
, cweseaInitiatedEventId
, ChildWorkflowExecutionTerminatedEventAttributes
, childWorkflowExecutionTerminatedEventAttributes
, cweteaWorkflowExecution
, cweteaWorkflowType
, cweteaInitiatedEventId
, cweteaStartedEventId
, ChildWorkflowExecutionTimedOutEventAttributes
, childWorkflowExecutionTimedOutEventAttributes
, cwetoeaWorkflowExecution
, cwetoeaWorkflowType
, cwetoeaTimeoutType
, cwetoeaInitiatedEventId
, cwetoeaStartedEventId
, CloseStatusFilter
, closeStatusFilter
, csfStatus
, CompleteWorkflowExecutionDecisionAttributes
, completeWorkflowExecutionDecisionAttributes
, cwedaResult
, CompleteWorkflowExecutionFailedEventAttributes
, completeWorkflowExecutionFailedEventAttributes
, cwefeaCause
, cwefeaDecisionTaskCompletedEventId
, ContinueAsNewWorkflowExecutionDecisionAttributes
, continueAsNewWorkflowExecutionDecisionAttributes
, canwedaTagList
, canwedaTaskStartToCloseTimeout
, canwedaLambdaRole
, canwedaInput
, canwedaWorkflowTypeVersion
, canwedaExecutionStartToCloseTimeout
, canwedaTaskList
, canwedaTaskPriority
, canwedaChildPolicy
, ContinueAsNewWorkflowExecutionFailedEventAttributes
, continueAsNewWorkflowExecutionFailedEventAttributes
, canwefeaCause
, canwefeaDecisionTaskCompletedEventId
, Decision
, decision
, dRequestCancelExternalWorkflowExecutionDecisionAttributes
, dScheduleActivityTaskDecisionAttributes
, dSignalExternalWorkflowExecutionDecisionAttributes
, dStartTimerDecisionAttributes
, dRecordMarkerDecisionAttributes
, dFailWorkflowExecutionDecisionAttributes
, dStartChildWorkflowExecutionDecisionAttributes
, dScheduleLambdaFunctionDecisionAttributes
, dCompleteWorkflowExecutionDecisionAttributes
, dRequestCancelActivityTaskDecisionAttributes
, dCancelWorkflowExecutionDecisionAttributes
, dCancelTimerDecisionAttributes
, dContinueAsNewWorkflowExecutionDecisionAttributes
, dDecisionType
, DecisionTaskCompletedEventAttributes
, decisionTaskCompletedEventAttributes
, dtceaExecutionContext
, dtceaScheduledEventId
, dtceaStartedEventId
, DecisionTaskScheduledEventAttributes
, decisionTaskScheduledEventAttributes
, dtseaTaskPriority
, dtseaStartToCloseTimeout
, dtseaTaskList
, DecisionTaskStartedEventAttributes
, decisionTaskStartedEventAttributes
, dtseaIdentity
, dtseaScheduledEventId
, DecisionTaskTimedOutEventAttributes
, decisionTaskTimedOutEventAttributes
, dttoeaTimeoutType
, dttoeaScheduledEventId
, dttoeaStartedEventId
, DomainConfiguration
, domainConfiguration
, dcWorkflowExecutionRetentionPeriodInDays
, DomainInfo
, domainInfo
, diDescription
, diName
, diStatus
, ExecutionTimeFilter
, executionTimeFilter
, etfLatestDate
, etfOldestDate
, ExternalWorkflowExecutionCancelRequestedEventAttributes
, externalWorkflowExecutionCancelRequestedEventAttributes
, ewecreaWorkflowExecution
, ewecreaInitiatedEventId
, ExternalWorkflowExecutionSignaledEventAttributes
, externalWorkflowExecutionSignaledEventAttributes
, eweseaWorkflowExecution
, eweseaInitiatedEventId
, FailWorkflowExecutionDecisionAttributes
, failWorkflowExecutionDecisionAttributes
, fwedaReason
, fwedaDetails
, FailWorkflowExecutionFailedEventAttributes
, failWorkflowExecutionFailedEventAttributes
, fwefeaCause
, fwefeaDecisionTaskCompletedEventId
, HistoryEvent
, historyEvent
, heWorkflowExecutionCancelRequestedEventAttributes
, heDecisionTaskScheduledEventAttributes
, heStartTimerFailedEventAttributes
, heLambdaFunctionStartedEventAttributes
, heRecordMarkerFailedEventAttributes
, heRequestCancelExternalWorkflowExecutionInitiatedEventAttributes
, heWorkflowExecutionCompletedEventAttributes
, heActivityTaskScheduledEventAttributes
, heChildWorkflowExecutionCompletedEventAttributes
, heScheduleActivityTaskFailedEventAttributes
, heMarkerRecordedEventAttributes
, heScheduleLambdaFunctionFailedEventAttributes
, heCompleteWorkflowExecutionFailedEventAttributes
, heRequestCancelExternalWorkflowExecutionFailedEventAttributes
, heLambdaFunctionCompletedEventAttributes
, heTimerCanceledEventAttributes
, heWorkflowExecutionStartedEventAttributes
, heActivityTaskCompletedEventAttributes
, heChildWorkflowExecutionStartedEventAttributes
, heDecisionTaskTimedOutEventAttributes
, heCancelTimerFailedEventAttributes
, heActivityTaskTimedOutEventAttributes
, heActivityTaskCanceledEventAttributes
, heChildWorkflowExecutionCanceledEventAttributes
, heDecisionTaskStartedEventAttributes
, heCancelWorkflowExecutionFailedEventAttributes
, heLambdaFunctionScheduledEventAttributes
, heChildWorkflowExecutionTimedOutEventAttributes
, heRequestCancelActivityTaskFailedEventAttributes
, heWorkflowExecutionTerminatedEventAttributes
, heStartChildWorkflowExecutionInitiatedEventAttributes
, heActivityTaskStartedEventAttributes
, heSignalExternalWorkflowExecutionFailedEventAttributes
, heTimerStartedEventAttributes
, heWorkflowExecutionTimedOutEventAttributes
, heActivityTaskCancelRequestedEventAttributes
, heStartLambdaFunctionFailedEventAttributes
, heChildWorkflowExecutionTerminatedEventAttributes
, heLambdaFunctionFailedEventAttributes
, heWorkflowExecutionCanceledEventAttributes
, heWorkflowExecutionSignaledEventAttributes
, heActivityTaskFailedEventAttributes
, heExternalWorkflowExecutionSignaledEventAttributes
, heTimerFiredEventAttributes
, heFailWorkflowExecutionFailedEventAttributes
, heChildWorkflowExecutionFailedEventAttributes
, heDecisionTaskCompletedEventAttributes
, heStartChildWorkflowExecutionFailedEventAttributes
, heSignalExternalWorkflowExecutionInitiatedEventAttributes
, heContinueAsNewWorkflowExecutionFailedEventAttributes
, heWorkflowExecutionFailedEventAttributes
, heWorkflowExecutionContinuedAsNewEventAttributes
, heExternalWorkflowExecutionCancelRequestedEventAttributes
, heLambdaFunctionTimedOutEventAttributes
, heEventTimestamp
, heEventType
, heEventId
, LambdaFunctionCompletedEventAttributes
, lambdaFunctionCompletedEventAttributes
, lfceaResult
, lfceaScheduledEventId
, lfceaStartedEventId
, LambdaFunctionFailedEventAttributes
, lambdaFunctionFailedEventAttributes
, lffeaReason
, lffeaDetails
, lffeaScheduledEventId
, lffeaStartedEventId
, LambdaFunctionScheduledEventAttributes
, lambdaFunctionScheduledEventAttributes
, lfseaInput
, lfseaStartToCloseTimeout
, lfseaId
, lfseaName
, lfseaDecisionTaskCompletedEventId
, LambdaFunctionStartedEventAttributes
, lambdaFunctionStartedEventAttributes
, lfseaScheduledEventId
, LambdaFunctionTimedOutEventAttributes
, lambdaFunctionTimedOutEventAttributes
, lftoeaTimeoutType
, lftoeaScheduledEventId
, lftoeaStartedEventId
, MarkerRecordedEventAttributes
, markerRecordedEventAttributes
, mreaDetails
, mreaMarkerName
, mreaDecisionTaskCompletedEventId
, PendingTaskCount
, pendingTaskCount
, ptcTruncated
, ptcCount
, RecordMarkerDecisionAttributes
, recordMarkerDecisionAttributes
, rmdaDetails
, rmdaMarkerName
, RecordMarkerFailedEventAttributes
, recordMarkerFailedEventAttributes
, rmfeaMarkerName
, rmfeaCause
, rmfeaDecisionTaskCompletedEventId
, RequestCancelActivityTaskDecisionAttributes
, requestCancelActivityTaskDecisionAttributes
, rcatdaActivityId
, RequestCancelActivityTaskFailedEventAttributes
, requestCancelActivityTaskFailedEventAttributes
, rcatfeaActivityId
, rcatfeaCause
, rcatfeaDecisionTaskCompletedEventId
, RequestCancelExternalWorkflowExecutionDecisionAttributes
, requestCancelExternalWorkflowExecutionDecisionAttributes
, rcewedaControl
, rcewedaRunId
, rcewedaWorkflowId
, RequestCancelExternalWorkflowExecutionFailedEventAttributes
, requestCancelExternalWorkflowExecutionFailedEventAttributes
, rcewefeaControl
, rcewefeaRunId
, rcewefeaWorkflowId
, rcewefeaCause
, rcewefeaInitiatedEventId
, rcewefeaDecisionTaskCompletedEventId
, RequestCancelExternalWorkflowExecutionInitiatedEventAttributes
, requestCancelExternalWorkflowExecutionInitiatedEventAttributes
, rceweieaControl
, rceweieaRunId
, rceweieaWorkflowId
, rceweieaDecisionTaskCompletedEventId
, ScheduleActivityTaskDecisionAttributes
, scheduleActivityTaskDecisionAttributes
, satdaControl
, satdaScheduleToCloseTimeout
, satdaHeartbeatTimeout
, satdaInput
, satdaTaskList
, satdaTaskPriority
, satdaScheduleToStartTimeout
, satdaStartToCloseTimeout
, satdaActivityType
, satdaActivityId
, ScheduleActivityTaskFailedEventAttributes
, scheduleActivityTaskFailedEventAttributes
, satfeaActivityType
, satfeaActivityId
, satfeaCause
, satfeaDecisionTaskCompletedEventId
, ScheduleLambdaFunctionDecisionAttributes
, scheduleLambdaFunctionDecisionAttributes
, slfdaInput
, slfdaStartToCloseTimeout
, slfdaId
, slfdaName
, ScheduleLambdaFunctionFailedEventAttributes
, scheduleLambdaFunctionFailedEventAttributes
, slffeaId
, slffeaName
, slffeaCause
, slffeaDecisionTaskCompletedEventId
, SignalExternalWorkflowExecutionDecisionAttributes
, signalExternalWorkflowExecutionDecisionAttributes
, sewedaControl
, sewedaInput
, sewedaRunId
, sewedaWorkflowId
, sewedaSignalName
, SignalExternalWorkflowExecutionFailedEventAttributes
, signalExternalWorkflowExecutionFailedEventAttributes
, sewefeaControl
, sewefeaRunId
, sewefeaWorkflowId
, sewefeaCause
, sewefeaInitiatedEventId
, sewefeaDecisionTaskCompletedEventId
, SignalExternalWorkflowExecutionInitiatedEventAttributes
, signalExternalWorkflowExecutionInitiatedEventAttributes
, seweieaControl
, seweieaInput
, seweieaRunId
, seweieaWorkflowId
, seweieaSignalName
, seweieaDecisionTaskCompletedEventId
, StartChildWorkflowExecutionDecisionAttributes
, startChildWorkflowExecutionDecisionAttributes
, scwedaControl
, scwedaTagList
, scwedaTaskStartToCloseTimeout
, scwedaLambdaRole
, scwedaInput
, scwedaExecutionStartToCloseTimeout
, scwedaTaskList
, scwedaTaskPriority
, scwedaChildPolicy
, scwedaWorkflowType
, scwedaWorkflowId
, StartChildWorkflowExecutionFailedEventAttributes
, startChildWorkflowExecutionFailedEventAttributes
, scwefeaControl
, scwefeaWorkflowType
, scwefeaCause
, scwefeaWorkflowId
, scwefeaInitiatedEventId
, scwefeaDecisionTaskCompletedEventId
, StartChildWorkflowExecutionInitiatedEventAttributes
, startChildWorkflowExecutionInitiatedEventAttributes
, scweieaControl
, scweieaTagList
, scweieaTaskStartToCloseTimeout
, scweieaLambdaRole
, scweieaInput
, scweieaExecutionStartToCloseTimeout
, scweieaTaskPriority
, scweieaWorkflowId
, scweieaWorkflowType
, scweieaTaskList
, scweieaDecisionTaskCompletedEventId
, scweieaChildPolicy
, StartLambdaFunctionFailedEventAttributes
, startLambdaFunctionFailedEventAttributes
, sScheduledEventId
, sCause
, sMessage
, StartTimerDecisionAttributes
, startTimerDecisionAttributes
, stdaControl
, stdaTimerId
, stdaStartToFireTimeout
, StartTimerFailedEventAttributes
, startTimerFailedEventAttributes
, stfeaTimerId
, stfeaCause
, stfeaDecisionTaskCompletedEventId
, TagFilter
, tagFilter
, tfTag
, TaskList
, taskList
, tlName
, TimerCanceledEventAttributes
, timerCanceledEventAttributes
, tceaTimerId
, tceaStartedEventId
, tceaDecisionTaskCompletedEventId
, TimerFiredEventAttributes
, timerFiredEventAttributes
, tfeaTimerId
, tfeaStartedEventId
, TimerStartedEventAttributes
, timerStartedEventAttributes
, tseaControl
, tseaTimerId
, tseaStartToFireTimeout
, tseaDecisionTaskCompletedEventId
, WorkflowExecution
, workflowExecution
, weWorkflowId
, weRunId
, WorkflowExecutionCancelRequestedEventAttributes
, workflowExecutionCancelRequestedEventAttributes
, wecreaExternalWorkflowExecution
, wecreaExternalInitiatedEventId
, wecreaCause
, WorkflowExecutionCanceledEventAttributes
, workflowExecutionCanceledEventAttributes
, wDetails
, wDecisionTaskCompletedEventId
, WorkflowExecutionCompletedEventAttributes
, workflowExecutionCompletedEventAttributes
, weceaResult
, weceaDecisionTaskCompletedEventId
, WorkflowExecutionConfiguration
, workflowExecutionConfiguration
, wecLambdaRole
, wecTaskPriority
, wecTaskStartToCloseTimeout
, wecExecutionStartToCloseTimeout
, wecTaskList
, wecChildPolicy
, WorkflowExecutionContinuedAsNewEventAttributes
, workflowExecutionContinuedAsNewEventAttributes
, wecaneaTagList
, wecaneaTaskStartToCloseTimeout
, wecaneaLambdaRole
, wecaneaInput
, wecaneaExecutionStartToCloseTimeout
, wecaneaTaskPriority
, wecaneaDecisionTaskCompletedEventId
, wecaneaNewExecutionRunId
, wecaneaTaskList
, wecaneaChildPolicy
, wecaneaWorkflowType
, WorkflowExecutionCount
, workflowExecutionCount
, wecTruncated
, wecCount
, WorkflowExecutionFailedEventAttributes
, workflowExecutionFailedEventAttributes
, wefeaReason
, wefeaDetails
, wefeaDecisionTaskCompletedEventId
, WorkflowExecutionFilter
, workflowExecutionFilter
, wefWorkflowId
, WorkflowExecutionInfo
, workflowExecutionInfo
, weiParent
, weiTagList
, weiCloseStatus
, weiCloseTimestamp
, weiCancelRequested
, weiExecution
, weiWorkflowType
, weiStartTimestamp
, weiExecutionStatus
, WorkflowExecutionInfos
, workflowExecutionInfos
, weiNextPageToken
, weiExecutionInfos
, WorkflowExecutionOpenCounts
, workflowExecutionOpenCounts
, weocOpenLambdaFunctions
, weocOpenActivityTasks
, weocOpenDecisionTasks
, weocOpenTimers
, weocOpenChildWorkflowExecutions
, WorkflowExecutionSignaledEventAttributes
, workflowExecutionSignaledEventAttributes
, wExternalWorkflowExecution
, wExternalInitiatedEventId
, wInput
, wSignalName
, WorkflowExecutionStartedEventAttributes
, workflowExecutionStartedEventAttributes
, weseaParentInitiatedEventId
, weseaTagList
, weseaTaskStartToCloseTimeout
, weseaLambdaRole
, weseaInput
, weseaExecutionStartToCloseTimeout
, weseaTaskPriority
, weseaParentWorkflowExecution
, weseaContinuedExecutionRunId
, weseaChildPolicy
, weseaTaskList
, weseaWorkflowType
, WorkflowExecutionTerminatedEventAttributes
, workflowExecutionTerminatedEventAttributes
, weteaCause
, weteaReason
, weteaDetails
, weteaChildPolicy
, WorkflowExecutionTimedOutEventAttributes
, workflowExecutionTimedOutEventAttributes
, wetoeaTimeoutType
, wetoeaChildPolicy
, WorkflowType
, workflowType
, wtName
, wtVersion
, WorkflowTypeConfiguration
, workflowTypeConfiguration
, wtcDefaultLambdaRole
, wtcDefaultChildPolicy
, wtcDefaultTaskList
, wtcDefaultTaskPriority
, wtcDefaultExecutionStartToCloseTimeout
, wtcDefaultTaskStartToCloseTimeout
, WorkflowTypeFilter
, workflowTypeFilter
, wtfVersion
, wtfName
, WorkflowTypeInfo
, workflowTypeInfo
, wtiDeprecationDate
, wtiDescription
, wtiWorkflowType
, wtiStatus
, wtiCreationDate
) where
import Network.AWS.Prelude
import Network.AWS.Sign.V4
import Network.AWS.SWF.Types.Product
import Network.AWS.SWF.Types.Sum
data SWF
instance AWSService SWF where
type Sg SWF = V4
service = const svc
where
svc =
Service
{ _svcAbbrev = "SWF"
, _svcPrefix = "swf"
, _svcVersion = "2012-01-25"
, _svcEndpoint = defaultEndpoint svc
, _svcTimeout = Just 70
, _svcStatus = statusSuccess
, _svcError = parseJSONError
, _svcRetry = retry
}
retry =
Exponential
{ _retryBase = 5.0e-2
, _retryGrowth = 2
, _retryAttempts = 5
, _retryCheck = check
}
check e
| has (hasCode "ThrottlingException" . hasStatus 400) e =
Just "throttling_exception"
| has (hasCode "Throttling" . hasStatus 400) e = Just "throttling"
| has (hasStatus 503) e = Just "service_unavailable"
| has (hasStatus 500) e = Just "general_server_error"
| has (hasStatus 509) e = Just "limit_exceeded"
| otherwise = Nothing
_LimitExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
_LimitExceededFault = _ServiceError . hasCode "LimitExceededFault"
_WorkflowExecutionAlreadyStartedFault :: AsError a => Getting (First ServiceError) a ServiceError
_WorkflowExecutionAlreadyStartedFault =
_ServiceError . hasCode "WorkflowExecutionAlreadyStartedFault"
_DomainAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError
_DomainAlreadyExistsFault = _ServiceError . hasCode "DomainAlreadyExistsFault"
_UnknownResourceFault :: AsError a => Getting (First ServiceError) a ServiceError
_UnknownResourceFault = _ServiceError . hasCode "UnknownResourceFault"
_OperationNotPermittedFault :: AsError a => Getting (First ServiceError) a ServiceError
_OperationNotPermittedFault =
_ServiceError . hasCode "OperationNotPermittedFault"
_DefaultUndefinedFault :: AsError a => Getting (First ServiceError) a ServiceError
_DefaultUndefinedFault = _ServiceError . hasCode "DefaultUndefinedFault"
_TypeDeprecatedFault :: AsError a => Getting (First ServiceError) a ServiceError
_TypeDeprecatedFault = _ServiceError . hasCode "TypeDeprecatedFault"
_TypeAlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError
_TypeAlreadyExistsFault = _ServiceError . hasCode "TypeAlreadyExistsFault"
_DomainDeprecatedFault :: AsError a => Getting (First ServiceError) a ServiceError
_DomainDeprecatedFault = _ServiceError . hasCode "DomainDeprecatedFault"