{-# LANGUAGE DisambiguateRecordFields #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.StepFunctions.Types
(
defaultService,
_ActivityDoesNotExist,
_ActivityLimitExceeded,
_ActivityWorkerLimitExceeded,
_ExecutionAlreadyExists,
_ExecutionDoesNotExist,
_ExecutionLimitExceeded,
_InvalidArn,
_InvalidDefinition,
_InvalidExecutionInput,
_InvalidLoggingConfiguration,
_InvalidName,
_InvalidOutput,
_InvalidToken,
_InvalidTracingConfiguration,
_MissingRequiredParameter,
_ResourceNotFound,
_StateMachineAlreadyExists,
_StateMachineDeleting,
_StateMachineDoesNotExist,
_StateMachineLimitExceeded,
_StateMachineTypeNotSupported,
_TaskDoesNotExist,
_TaskTimedOut,
_TooManyTags,
_ValidationException,
ExecutionStatus (..),
HistoryEventType (..),
LogLevel (..),
MapRunStatus (..),
StateMachineStatus (..),
StateMachineType (..),
SyncExecutionStatus (..),
ActivityFailedEventDetails (..),
newActivityFailedEventDetails,
activityFailedEventDetails_cause,
activityFailedEventDetails_error,
ActivityListItem (..),
newActivityListItem,
activityListItem_activityArn,
activityListItem_name,
activityListItem_creationDate,
ActivityScheduleFailedEventDetails (..),
newActivityScheduleFailedEventDetails,
activityScheduleFailedEventDetails_cause,
activityScheduleFailedEventDetails_error,
ActivityScheduledEventDetails (..),
newActivityScheduledEventDetails,
activityScheduledEventDetails_heartbeatInSeconds,
activityScheduledEventDetails_input,
activityScheduledEventDetails_inputDetails,
activityScheduledEventDetails_timeoutInSeconds,
activityScheduledEventDetails_resource,
ActivityStartedEventDetails (..),
newActivityStartedEventDetails,
activityStartedEventDetails_workerName,
ActivitySucceededEventDetails (..),
newActivitySucceededEventDetails,
activitySucceededEventDetails_output,
activitySucceededEventDetails_outputDetails,
ActivityTimedOutEventDetails (..),
newActivityTimedOutEventDetails,
activityTimedOutEventDetails_cause,
activityTimedOutEventDetails_error,
BillingDetails (..),
newBillingDetails,
billingDetails_billedDurationInMilliseconds,
billingDetails_billedMemoryUsedInMB,
CloudWatchEventsExecutionDataDetails (..),
newCloudWatchEventsExecutionDataDetails,
cloudWatchEventsExecutionDataDetails_included,
CloudWatchLogsLogGroup (..),
newCloudWatchLogsLogGroup,
cloudWatchLogsLogGroup_logGroupArn,
ExecutionAbortedEventDetails (..),
newExecutionAbortedEventDetails,
executionAbortedEventDetails_cause,
executionAbortedEventDetails_error,
ExecutionFailedEventDetails (..),
newExecutionFailedEventDetails,
executionFailedEventDetails_cause,
executionFailedEventDetails_error,
ExecutionListItem (..),
newExecutionListItem,
executionListItem_itemCount,
executionListItem_mapRunArn,
executionListItem_stopDate,
executionListItem_executionArn,
executionListItem_stateMachineArn,
executionListItem_name,
executionListItem_status,
executionListItem_startDate,
ExecutionStartedEventDetails (..),
newExecutionStartedEventDetails,
executionStartedEventDetails_input,
executionStartedEventDetails_inputDetails,
executionStartedEventDetails_roleArn,
ExecutionSucceededEventDetails (..),
newExecutionSucceededEventDetails,
executionSucceededEventDetails_output,
executionSucceededEventDetails_outputDetails,
ExecutionTimedOutEventDetails (..),
newExecutionTimedOutEventDetails,
executionTimedOutEventDetails_cause,
executionTimedOutEventDetails_error,
HistoryEvent (..),
newHistoryEvent,
historyEvent_activityFailedEventDetails,
historyEvent_activityScheduleFailedEventDetails,
historyEvent_activityScheduledEventDetails,
historyEvent_activityStartedEventDetails,
historyEvent_activitySucceededEventDetails,
historyEvent_activityTimedOutEventDetails,
historyEvent_executionAbortedEventDetails,
historyEvent_executionFailedEventDetails,
historyEvent_executionStartedEventDetails,
historyEvent_executionSucceededEventDetails,
historyEvent_executionTimedOutEventDetails,
historyEvent_lambdaFunctionFailedEventDetails,
historyEvent_lambdaFunctionScheduleFailedEventDetails,
historyEvent_lambdaFunctionScheduledEventDetails,
historyEvent_lambdaFunctionStartFailedEventDetails,
historyEvent_lambdaFunctionSucceededEventDetails,
historyEvent_lambdaFunctionTimedOutEventDetails,
historyEvent_mapIterationAbortedEventDetails,
historyEvent_mapIterationFailedEventDetails,
historyEvent_mapIterationStartedEventDetails,
historyEvent_mapIterationSucceededEventDetails,
historyEvent_mapRunFailedEventDetails,
historyEvent_mapRunStartedEventDetails,
historyEvent_mapStateStartedEventDetails,
historyEvent_previousEventId,
historyEvent_stateEnteredEventDetails,
historyEvent_stateExitedEventDetails,
historyEvent_taskFailedEventDetails,
historyEvent_taskScheduledEventDetails,
historyEvent_taskStartFailedEventDetails,
historyEvent_taskStartedEventDetails,
historyEvent_taskSubmitFailedEventDetails,
historyEvent_taskSubmittedEventDetails,
historyEvent_taskSucceededEventDetails,
historyEvent_taskTimedOutEventDetails,
historyEvent_timestamp,
historyEvent_type,
historyEvent_id,
HistoryEventExecutionDataDetails (..),
newHistoryEventExecutionDataDetails,
historyEventExecutionDataDetails_truncated,
LambdaFunctionFailedEventDetails (..),
newLambdaFunctionFailedEventDetails,
lambdaFunctionFailedEventDetails_cause,
lambdaFunctionFailedEventDetails_error,
LambdaFunctionScheduleFailedEventDetails (..),
newLambdaFunctionScheduleFailedEventDetails,
lambdaFunctionScheduleFailedEventDetails_cause,
lambdaFunctionScheduleFailedEventDetails_error,
LambdaFunctionScheduledEventDetails (..),
newLambdaFunctionScheduledEventDetails,
lambdaFunctionScheduledEventDetails_input,
lambdaFunctionScheduledEventDetails_inputDetails,
lambdaFunctionScheduledEventDetails_taskCredentials,
lambdaFunctionScheduledEventDetails_timeoutInSeconds,
lambdaFunctionScheduledEventDetails_resource,
LambdaFunctionStartFailedEventDetails (..),
newLambdaFunctionStartFailedEventDetails,
lambdaFunctionStartFailedEventDetails_cause,
lambdaFunctionStartFailedEventDetails_error,
LambdaFunctionSucceededEventDetails (..),
newLambdaFunctionSucceededEventDetails,
lambdaFunctionSucceededEventDetails_output,
lambdaFunctionSucceededEventDetails_outputDetails,
LambdaFunctionTimedOutEventDetails (..),
newLambdaFunctionTimedOutEventDetails,
lambdaFunctionTimedOutEventDetails_cause,
lambdaFunctionTimedOutEventDetails_error,
LogDestination (..),
newLogDestination,
logDestination_cloudWatchLogsLogGroup,
LoggingConfiguration (..),
newLoggingConfiguration,
loggingConfiguration_destinations,
loggingConfiguration_includeExecutionData,
loggingConfiguration_level,
MapIterationEventDetails (..),
newMapIterationEventDetails,
mapIterationEventDetails_index,
mapIterationEventDetails_name,
MapRunExecutionCounts (..),
newMapRunExecutionCounts,
mapRunExecutionCounts_pending,
mapRunExecutionCounts_running,
mapRunExecutionCounts_succeeded,
mapRunExecutionCounts_failed,
mapRunExecutionCounts_timedOut,
mapRunExecutionCounts_aborted,
mapRunExecutionCounts_total,
mapRunExecutionCounts_resultsWritten,
MapRunFailedEventDetails (..),
newMapRunFailedEventDetails,
mapRunFailedEventDetails_cause,
mapRunFailedEventDetails_error,
MapRunItemCounts (..),
newMapRunItemCounts,
mapRunItemCounts_pending,
mapRunItemCounts_running,
mapRunItemCounts_succeeded,
mapRunItemCounts_failed,
mapRunItemCounts_timedOut,
mapRunItemCounts_aborted,
mapRunItemCounts_total,
mapRunItemCounts_resultsWritten,
MapRunListItem (..),
newMapRunListItem,
mapRunListItem_stopDate,
mapRunListItem_executionArn,
mapRunListItem_mapRunArn,
mapRunListItem_stateMachineArn,
mapRunListItem_startDate,
MapRunStartedEventDetails (..),
newMapRunStartedEventDetails,
mapRunStartedEventDetails_mapRunArn,
MapStateStartedEventDetails (..),
newMapStateStartedEventDetails,
mapStateStartedEventDetails_length,
StateEnteredEventDetails (..),
newStateEnteredEventDetails,
stateEnteredEventDetails_input,
stateEnteredEventDetails_inputDetails,
stateEnteredEventDetails_name,
StateExitedEventDetails (..),
newStateExitedEventDetails,
stateExitedEventDetails_output,
stateExitedEventDetails_outputDetails,
stateExitedEventDetails_name,
StateMachineListItem (..),
newStateMachineListItem,
stateMachineListItem_stateMachineArn,
stateMachineListItem_name,
stateMachineListItem_type,
stateMachineListItem_creationDate,
Tag (..),
newTag,
tag_key,
tag_value,
TaskCredentials (..),
newTaskCredentials,
taskCredentials_roleArn,
TaskFailedEventDetails (..),
newTaskFailedEventDetails,
taskFailedEventDetails_cause,
taskFailedEventDetails_error,
taskFailedEventDetails_resourceType,
taskFailedEventDetails_resource,
TaskScheduledEventDetails (..),
newTaskScheduledEventDetails,
taskScheduledEventDetails_heartbeatInSeconds,
taskScheduledEventDetails_taskCredentials,
taskScheduledEventDetails_timeoutInSeconds,
taskScheduledEventDetails_resourceType,
taskScheduledEventDetails_resource,
taskScheduledEventDetails_region,
taskScheduledEventDetails_parameters,
TaskStartFailedEventDetails (..),
newTaskStartFailedEventDetails,
taskStartFailedEventDetails_cause,
taskStartFailedEventDetails_error,
taskStartFailedEventDetails_resourceType,
taskStartFailedEventDetails_resource,
TaskStartedEventDetails (..),
newTaskStartedEventDetails,
taskStartedEventDetails_resourceType,
taskStartedEventDetails_resource,
TaskSubmitFailedEventDetails (..),
newTaskSubmitFailedEventDetails,
taskSubmitFailedEventDetails_cause,
taskSubmitFailedEventDetails_error,
taskSubmitFailedEventDetails_resourceType,
taskSubmitFailedEventDetails_resource,
TaskSubmittedEventDetails (..),
newTaskSubmittedEventDetails,
taskSubmittedEventDetails_output,
taskSubmittedEventDetails_outputDetails,
taskSubmittedEventDetails_resourceType,
taskSubmittedEventDetails_resource,
TaskSucceededEventDetails (..),
newTaskSucceededEventDetails,
taskSucceededEventDetails_output,
taskSucceededEventDetails_outputDetails,
taskSucceededEventDetails_resourceType,
taskSucceededEventDetails_resource,
TaskTimedOutEventDetails (..),
newTaskTimedOutEventDetails,
taskTimedOutEventDetails_cause,
taskTimedOutEventDetails_error,
taskTimedOutEventDetails_resourceType,
taskTimedOutEventDetails_resource,
TracingConfiguration (..),
newTracingConfiguration,
tracingConfiguration_enabled,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Sign.V4 as Sign
import Amazonka.StepFunctions.Types.ActivityFailedEventDetails
import Amazonka.StepFunctions.Types.ActivityListItem
import Amazonka.StepFunctions.Types.ActivityScheduleFailedEventDetails
import Amazonka.StepFunctions.Types.ActivityScheduledEventDetails
import Amazonka.StepFunctions.Types.ActivityStartedEventDetails
import Amazonka.StepFunctions.Types.ActivitySucceededEventDetails
import Amazonka.StepFunctions.Types.ActivityTimedOutEventDetails
import Amazonka.StepFunctions.Types.BillingDetails
import Amazonka.StepFunctions.Types.CloudWatchEventsExecutionDataDetails
import Amazonka.StepFunctions.Types.CloudWatchLogsLogGroup
import Amazonka.StepFunctions.Types.ExecutionAbortedEventDetails
import Amazonka.StepFunctions.Types.ExecutionFailedEventDetails
import Amazonka.StepFunctions.Types.ExecutionListItem
import Amazonka.StepFunctions.Types.ExecutionStartedEventDetails
import Amazonka.StepFunctions.Types.ExecutionStatus
import Amazonka.StepFunctions.Types.ExecutionSucceededEventDetails
import Amazonka.StepFunctions.Types.ExecutionTimedOutEventDetails
import Amazonka.StepFunctions.Types.HistoryEvent
import Amazonka.StepFunctions.Types.HistoryEventExecutionDataDetails
import Amazonka.StepFunctions.Types.HistoryEventType
import Amazonka.StepFunctions.Types.LambdaFunctionFailedEventDetails
import Amazonka.StepFunctions.Types.LambdaFunctionScheduleFailedEventDetails
import Amazonka.StepFunctions.Types.LambdaFunctionScheduledEventDetails
import Amazonka.StepFunctions.Types.LambdaFunctionStartFailedEventDetails
import Amazonka.StepFunctions.Types.LambdaFunctionSucceededEventDetails
import Amazonka.StepFunctions.Types.LambdaFunctionTimedOutEventDetails
import Amazonka.StepFunctions.Types.LogDestination
import Amazonka.StepFunctions.Types.LogLevel
import Amazonka.StepFunctions.Types.LoggingConfiguration
import Amazonka.StepFunctions.Types.MapIterationEventDetails
import Amazonka.StepFunctions.Types.MapRunExecutionCounts
import Amazonka.StepFunctions.Types.MapRunFailedEventDetails
import Amazonka.StepFunctions.Types.MapRunItemCounts
import Amazonka.StepFunctions.Types.MapRunListItem
import Amazonka.StepFunctions.Types.MapRunStartedEventDetails
import Amazonka.StepFunctions.Types.MapRunStatus
import Amazonka.StepFunctions.Types.MapStateStartedEventDetails
import Amazonka.StepFunctions.Types.StateEnteredEventDetails
import Amazonka.StepFunctions.Types.StateExitedEventDetails
import Amazonka.StepFunctions.Types.StateMachineListItem
import Amazonka.StepFunctions.Types.StateMachineStatus
import Amazonka.StepFunctions.Types.StateMachineType
import Amazonka.StepFunctions.Types.SyncExecutionStatus
import Amazonka.StepFunctions.Types.Tag
import Amazonka.StepFunctions.Types.TaskCredentials
import Amazonka.StepFunctions.Types.TaskFailedEventDetails
import Amazonka.StepFunctions.Types.TaskScheduledEventDetails
import Amazonka.StepFunctions.Types.TaskStartFailedEventDetails
import Amazonka.StepFunctions.Types.TaskStartedEventDetails
import Amazonka.StepFunctions.Types.TaskSubmitFailedEventDetails
import Amazonka.StepFunctions.Types.TaskSubmittedEventDetails
import Amazonka.StepFunctions.Types.TaskSucceededEventDetails
import Amazonka.StepFunctions.Types.TaskTimedOutEventDetails
import Amazonka.StepFunctions.Types.TracingConfiguration
defaultService :: Core.Service
defaultService :: Service
defaultService =
Core.Service
{ $sel:abbrev:Service :: Abbrev
Core.abbrev = Abbrev
"StepFunctions",
$sel:signer:Service :: Signer
Core.signer = Signer
Sign.v4,
$sel:endpointPrefix:Service :: ByteString
Core.endpointPrefix = ByteString
"states",
$sel:signingName:Service :: ByteString
Core.signingName = ByteString
"states",
$sel:version:Service :: ByteString
Core.version = ByteString
"2016-11-23",
$sel:s3AddressingStyle:Service :: S3AddressingStyle
Core.s3AddressingStyle = S3AddressingStyle
Core.S3AddressingStyleAuto,
$sel:endpoint:Service :: Region -> Endpoint
Core.endpoint = Service -> Region -> Endpoint
Core.defaultEndpoint Service
defaultService,
$sel:timeout:Service :: Maybe Seconds
Core.timeout = forall a. a -> Maybe a
Prelude.Just Seconds
70,
$sel:check:Service :: Status -> Bool
Core.check = Status -> Bool
Core.statusSuccess,
$sel:error:Service :: Status -> [Header] -> ByteStringLazy -> Error
Core.error = Abbrev -> Status -> [Header] -> ByteStringLazy -> Error
Core.parseJSONError Abbrev
"StepFunctions",
$sel:retry:Service :: Retry
Core.retry = Retry
retry
}
where
retry :: Retry
retry =
Core.Exponential
{ $sel:base:Exponential :: Double
Core.base = Double
5.0e-2,
$sel:growth:Exponential :: Int
Core.growth = Int
2,
$sel:attempts:Exponential :: Int
Core.attempts = Int
5,
$sel:check:Exponential :: ServiceError -> Maybe Text
Core.check = forall {a}. IsString a => ServiceError -> Maybe a
check
}
check :: ServiceError -> Maybe a
check ServiceError
e
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
502) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"bad_gateway"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
504) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"gateway_timeout"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
500) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"general_server_error"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
509) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"limit_exceeded"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"RequestThrottledException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"request_throttled_exception"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
503) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"service_unavailable"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"ThrottledException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"throttled_exception"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"Throttling"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"throttling"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode ErrorCode
"ThrottlingException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"throttling_exception"
| forall s a. Getting Any s a -> s -> Bool
Lens.has
( forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
ErrorCode -> Optic' p f ServiceError ServiceError
Core.hasCode
ErrorCode
"ProvisionedThroughputExceededException"
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
400
)
ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"throughput_exceeded"
| forall s a. Getting Any s a -> s -> Bool
Lens.has (forall (f :: * -> *) (p :: * -> * -> *).
(Applicative f, Choice p) =>
Int -> Optic' p f ServiceError ServiceError
Core.hasStatus Int
429) ServiceError
e =
forall a. a -> Maybe a
Prelude.Just a
"too_many_requests"
| Bool
Prelude.otherwise = forall a. Maybe a
Prelude.Nothing
_ActivityDoesNotExist :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ActivityDoesNotExist :: forall a. AsError a => Fold a ServiceError
_ActivityDoesNotExist =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ActivityDoesNotExist"
_ActivityLimitExceeded :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ActivityLimitExceeded :: forall a. AsError a => Fold a ServiceError
_ActivityLimitExceeded =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ActivityLimitExceeded"
_ActivityWorkerLimitExceeded :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ActivityWorkerLimitExceeded :: forall a. AsError a => Fold a ServiceError
_ActivityWorkerLimitExceeded =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ActivityWorkerLimitExceeded"
_ExecutionAlreadyExists :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ExecutionAlreadyExists :: forall a. AsError a => Fold a ServiceError
_ExecutionAlreadyExists =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ExecutionAlreadyExists"
_ExecutionDoesNotExist :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ExecutionDoesNotExist :: forall a. AsError a => Fold a ServiceError
_ExecutionDoesNotExist =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ExecutionDoesNotExist"
_ExecutionLimitExceeded :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ExecutionLimitExceeded :: forall a. AsError a => Fold a ServiceError
_ExecutionLimitExceeded =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ExecutionLimitExceeded"
_InvalidArn :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidArn :: forall a. AsError a => Fold a ServiceError
_InvalidArn =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError Service
defaultService ErrorCode
"InvalidArn"
_InvalidDefinition :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidDefinition :: forall a. AsError a => Fold a ServiceError
_InvalidDefinition =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidDefinition"
_InvalidExecutionInput :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidExecutionInput :: forall a. AsError a => Fold a ServiceError
_InvalidExecutionInput =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidExecutionInput"
_InvalidLoggingConfiguration :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidLoggingConfiguration :: forall a. AsError a => Fold a ServiceError
_InvalidLoggingConfiguration =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidLoggingConfiguration"
_InvalidName :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidName :: forall a. AsError a => Fold a ServiceError
_InvalidName =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidName"
_InvalidOutput :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidOutput :: forall a. AsError a => Fold a ServiceError
_InvalidOutput =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidOutput"
_InvalidToken :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidToken :: forall a. AsError a => Fold a ServiceError
_InvalidToken =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidToken"
_InvalidTracingConfiguration :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_InvalidTracingConfiguration :: forall a. AsError a => Fold a ServiceError
_InvalidTracingConfiguration =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidTracingConfiguration"
_MissingRequiredParameter :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_MissingRequiredParameter :: forall a. AsError a => Fold a ServiceError
_MissingRequiredParameter =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"MissingRequiredParameter"
_ResourceNotFound :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ResourceNotFound :: forall a. AsError a => Fold a ServiceError
_ResourceNotFound =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceNotFound"
_StateMachineAlreadyExists :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_StateMachineAlreadyExists :: forall a. AsError a => Fold a ServiceError
_StateMachineAlreadyExists =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"StateMachineAlreadyExists"
_StateMachineDeleting :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_StateMachineDeleting :: forall a. AsError a => Fold a ServiceError
_StateMachineDeleting =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"StateMachineDeleting"
_StateMachineDoesNotExist :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_StateMachineDoesNotExist :: forall a. AsError a => Fold a ServiceError
_StateMachineDoesNotExist =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"StateMachineDoesNotExist"
_StateMachineLimitExceeded :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_StateMachineLimitExceeded :: forall a. AsError a => Fold a ServiceError
_StateMachineLimitExceeded =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"StateMachineLimitExceeded"
_StateMachineTypeNotSupported :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_StateMachineTypeNotSupported :: forall a. AsError a => Fold a ServiceError
_StateMachineTypeNotSupported =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"StateMachineTypeNotSupported"
_TaskDoesNotExist :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_TaskDoesNotExist :: forall a. AsError a => Fold a ServiceError
_TaskDoesNotExist =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"TaskDoesNotExist"
_TaskTimedOut :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_TaskTimedOut :: forall a. AsError a => Fold a ServiceError
_TaskTimedOut =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"TaskTimedOut"
_TooManyTags :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_TooManyTags :: forall a. AsError a => Fold a ServiceError
_TooManyTags =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"TooManyTags"
_ValidationException :: (Core.AsError a) => Lens.Fold a Core.ServiceError
_ValidationException :: forall a. AsError a => Fold a ServiceError
_ValidationException =
forall a. AsError a => Service -> ErrorCode -> Fold a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ValidationException"