{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.StepFunctions.Types
(
defaultService,
_ExecutionLimitExceeded,
_InvalidDefinition,
_StateMachineLimitExceeded,
_ExecutionAlreadyExists,
_StateMachineAlreadyExists,
_TaskTimedOut,
_InvalidExecutionInput,
_InvalidOutput,
_InvalidName,
_TaskDoesNotExist,
_ActivityDoesNotExist,
_StateMachineDeleting,
_StateMachineTypeNotSupported,
_MissingRequiredParameter,
_InvalidArn,
_InvalidToken,
_InvalidLoggingConfiguration,
_ActivityWorkerLimitExceeded,
_InvalidTracingConfiguration,
_ActivityLimitExceeded,
_TooManyTags,
_ExecutionDoesNotExist,
_StateMachineDoesNotExist,
_ResourceNotFound,
ExecutionStatus (..),
HistoryEventType (..),
LogLevel (..),
StateMachineStatus (..),
StateMachineType (..),
SyncExecutionStatus (..),
ActivityFailedEventDetails (..),
newActivityFailedEventDetails,
activityFailedEventDetails_error,
activityFailedEventDetails_cause,
ActivityListItem (..),
newActivityListItem,
activityListItem_activityArn,
activityListItem_name,
activityListItem_creationDate,
ActivityScheduleFailedEventDetails (..),
newActivityScheduleFailedEventDetails,
activityScheduleFailedEventDetails_error,
activityScheduleFailedEventDetails_cause,
ActivityScheduledEventDetails (..),
newActivityScheduledEventDetails,
activityScheduledEventDetails_heartbeatInSeconds,
activityScheduledEventDetails_inputDetails,
activityScheduledEventDetails_input,
activityScheduledEventDetails_timeoutInSeconds,
activityScheduledEventDetails_resource,
ActivityStartedEventDetails (..),
newActivityStartedEventDetails,
activityStartedEventDetails_workerName,
ActivitySucceededEventDetails (..),
newActivitySucceededEventDetails,
activitySucceededEventDetails_output,
activitySucceededEventDetails_outputDetails,
ActivityTimedOutEventDetails (..),
newActivityTimedOutEventDetails,
activityTimedOutEventDetails_error,
activityTimedOutEventDetails_cause,
BillingDetails (..),
newBillingDetails,
billingDetails_billedMemoryUsedInMB,
billingDetails_billedDurationInMilliseconds,
CloudWatchEventsExecutionDataDetails (..),
newCloudWatchEventsExecutionDataDetails,
cloudWatchEventsExecutionDataDetails_included,
CloudWatchLogsLogGroup (..),
newCloudWatchLogsLogGroup,
cloudWatchLogsLogGroup_logGroupArn,
ExecutionAbortedEventDetails (..),
newExecutionAbortedEventDetails,
executionAbortedEventDetails_error,
executionAbortedEventDetails_cause,
ExecutionFailedEventDetails (..),
newExecutionFailedEventDetails,
executionFailedEventDetails_error,
executionFailedEventDetails_cause,
ExecutionListItem (..),
newExecutionListItem,
executionListItem_stopDate,
executionListItem_executionArn,
executionListItem_stateMachineArn,
executionListItem_name,
executionListItem_status,
executionListItem_startDate,
ExecutionStartedEventDetails (..),
newExecutionStartedEventDetails,
executionStartedEventDetails_inputDetails,
executionStartedEventDetails_input,
executionStartedEventDetails_roleArn,
ExecutionSucceededEventDetails (..),
newExecutionSucceededEventDetails,
executionSucceededEventDetails_output,
executionSucceededEventDetails_outputDetails,
ExecutionTimedOutEventDetails (..),
newExecutionTimedOutEventDetails,
executionTimedOutEventDetails_error,
executionTimedOutEventDetails_cause,
HistoryEvent (..),
newHistoryEvent,
historyEvent_mapStateStartedEventDetails,
historyEvent_taskSubmitFailedEventDetails,
historyEvent_taskStartedEventDetails,
historyEvent_activityStartedEventDetails,
historyEvent_taskSubmittedEventDetails,
historyEvent_lambdaFunctionStartFailedEventDetails,
historyEvent_taskStartFailedEventDetails,
historyEvent_stateExitedEventDetails,
historyEvent_lambdaFunctionSucceededEventDetails,
historyEvent_taskSucceededEventDetails,
historyEvent_activitySucceededEventDetails,
historyEvent_mapIterationAbortedEventDetails,
historyEvent_mapIterationSucceededEventDetails,
historyEvent_mapIterationStartedEventDetails,
historyEvent_lambdaFunctionTimedOutEventDetails,
historyEvent_taskTimedOutEventDetails,
historyEvent_activityTimedOutEventDetails,
historyEvent_executionFailedEventDetails,
historyEvent_executionAbortedEventDetails,
historyEvent_executionSucceededEventDetails,
historyEvent_lambdaFunctionScheduledEventDetails,
historyEvent_taskScheduledEventDetails,
historyEvent_activityScheduledEventDetails,
historyEvent_executionStartedEventDetails,
historyEvent_activityScheduleFailedEventDetails,
historyEvent_lambdaFunctionScheduleFailedEventDetails,
historyEvent_stateEnteredEventDetails,
historyEvent_previousEventId,
historyEvent_activityFailedEventDetails,
historyEvent_taskFailedEventDetails,
historyEvent_lambdaFunctionFailedEventDetails,
historyEvent_executionTimedOutEventDetails,
historyEvent_mapIterationFailedEventDetails,
historyEvent_timestamp,
historyEvent_type,
historyEvent_id,
HistoryEventExecutionDataDetails (..),
newHistoryEventExecutionDataDetails,
historyEventExecutionDataDetails_truncated,
LambdaFunctionFailedEventDetails (..),
newLambdaFunctionFailedEventDetails,
lambdaFunctionFailedEventDetails_error,
lambdaFunctionFailedEventDetails_cause,
LambdaFunctionScheduleFailedEventDetails (..),
newLambdaFunctionScheduleFailedEventDetails,
lambdaFunctionScheduleFailedEventDetails_error,
lambdaFunctionScheduleFailedEventDetails_cause,
LambdaFunctionScheduledEventDetails (..),
newLambdaFunctionScheduledEventDetails,
lambdaFunctionScheduledEventDetails_inputDetails,
lambdaFunctionScheduledEventDetails_input,
lambdaFunctionScheduledEventDetails_timeoutInSeconds,
lambdaFunctionScheduledEventDetails_resource,
LambdaFunctionStartFailedEventDetails (..),
newLambdaFunctionStartFailedEventDetails,
lambdaFunctionStartFailedEventDetails_error,
lambdaFunctionStartFailedEventDetails_cause,
LambdaFunctionSucceededEventDetails (..),
newLambdaFunctionSucceededEventDetails,
lambdaFunctionSucceededEventDetails_output,
lambdaFunctionSucceededEventDetails_outputDetails,
LambdaFunctionTimedOutEventDetails (..),
newLambdaFunctionTimedOutEventDetails,
lambdaFunctionTimedOutEventDetails_error,
lambdaFunctionTimedOutEventDetails_cause,
LogDestination (..),
newLogDestination,
logDestination_cloudWatchLogsLogGroup,
LoggingConfiguration (..),
newLoggingConfiguration,
loggingConfiguration_includeExecutionData,
loggingConfiguration_destinations,
loggingConfiguration_level,
MapIterationEventDetails (..),
newMapIterationEventDetails,
mapIterationEventDetails_name,
mapIterationEventDetails_index,
MapStateStartedEventDetails (..),
newMapStateStartedEventDetails,
mapStateStartedEventDetails_length,
StateEnteredEventDetails (..),
newStateEnteredEventDetails,
stateEnteredEventDetails_inputDetails,
stateEnteredEventDetails_input,
stateEnteredEventDetails_name,
StateExitedEventDetails (..),
newStateExitedEventDetails,
stateExitedEventDetails_output,
stateExitedEventDetails_outputDetails,
stateExitedEventDetails_name,
StateMachineListItem (..),
newStateMachineListItem,
stateMachineListItem_stateMachineArn,
stateMachineListItem_name,
stateMachineListItem_type,
stateMachineListItem_creationDate,
Tag (..),
newTag,
tag_value,
tag_key,
TaskFailedEventDetails (..),
newTaskFailedEventDetails,
taskFailedEventDetails_error,
taskFailedEventDetails_cause,
taskFailedEventDetails_resourceType,
taskFailedEventDetails_resource,
TaskScheduledEventDetails (..),
newTaskScheduledEventDetails,
taskScheduledEventDetails_heartbeatInSeconds,
taskScheduledEventDetails_timeoutInSeconds,
taskScheduledEventDetails_resourceType,
taskScheduledEventDetails_resource,
taskScheduledEventDetails_region,
taskScheduledEventDetails_parameters,
TaskStartFailedEventDetails (..),
newTaskStartFailedEventDetails,
taskStartFailedEventDetails_error,
taskStartFailedEventDetails_cause,
taskStartFailedEventDetails_resourceType,
taskStartFailedEventDetails_resource,
TaskStartedEventDetails (..),
newTaskStartedEventDetails,
taskStartedEventDetails_resourceType,
taskStartedEventDetails_resource,
TaskSubmitFailedEventDetails (..),
newTaskSubmitFailedEventDetails,
taskSubmitFailedEventDetails_error,
taskSubmitFailedEventDetails_cause,
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_error,
taskTimedOutEventDetails_cause,
taskTimedOutEventDetails_resourceType,
taskTimedOutEventDetails_resource,
TracingConfiguration (..),
newTracingConfiguration,
tracingConfiguration_enabled,
)
where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens 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.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.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 =
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
"StepFunctions",
$sel:_serviceSigner:Service :: Signer
Core._serviceSigner = Signer
Sign.v4,
$sel:_serviceEndpointPrefix:Service :: ByteString
Core._serviceEndpointPrefix = ByteString
"states",
$sel:_serviceSigningName:Service :: ByteString
Core._serviceSigningName = ByteString
"states",
$sel:_serviceVersion:Service :: ByteString
Core._serviceVersion = ByteString
"2016-11-23",
$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
"StepFunctions",
$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
_ExecutionLimitExceeded :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ExecutionLimitExceeded :: Getting (First ServiceError) a ServiceError
_ExecutionLimitExceeded =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ExecutionLimitExceeded"
_InvalidDefinition :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidDefinition :: Getting (First ServiceError) a ServiceError
_InvalidDefinition =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidDefinition"
_StateMachineLimitExceeded :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_StateMachineLimitExceeded :: Getting (First ServiceError) a ServiceError
_StateMachineLimitExceeded =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"StateMachineLimitExceeded"
_ExecutionAlreadyExists :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ExecutionAlreadyExists :: Getting (First ServiceError) a ServiceError
_ExecutionAlreadyExists =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ExecutionAlreadyExists"
_StateMachineAlreadyExists :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_StateMachineAlreadyExists :: Getting (First ServiceError) a ServiceError
_StateMachineAlreadyExists =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"StateMachineAlreadyExists"
_TaskTimedOut :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_TaskTimedOut :: Getting (First ServiceError) a ServiceError
_TaskTimedOut =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"TaskTimedOut"
_InvalidExecutionInput :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidExecutionInput :: Getting (First ServiceError) a ServiceError
_InvalidExecutionInput =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidExecutionInput"
_InvalidOutput :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidOutput :: Getting (First ServiceError) a ServiceError
_InvalidOutput =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidOutput"
_InvalidName :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidName :: Getting (First ServiceError) a ServiceError
_InvalidName =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidName"
_TaskDoesNotExist :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_TaskDoesNotExist :: Getting (First ServiceError) a ServiceError
_TaskDoesNotExist =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"TaskDoesNotExist"
_ActivityDoesNotExist :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ActivityDoesNotExist :: Getting (First ServiceError) a ServiceError
_ActivityDoesNotExist =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ActivityDoesNotExist"
_StateMachineDeleting :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_StateMachineDeleting :: Getting (First ServiceError) a ServiceError
_StateMachineDeleting =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"StateMachineDeleting"
_StateMachineTypeNotSupported :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_StateMachineTypeNotSupported :: Getting (First ServiceError) a ServiceError
_StateMachineTypeNotSupported =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"StateMachineTypeNotSupported"
_MissingRequiredParameter :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_MissingRequiredParameter :: Getting (First ServiceError) a ServiceError
_MissingRequiredParameter =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"MissingRequiredParameter"
_InvalidArn :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidArn :: Getting (First ServiceError) a ServiceError
_InvalidArn =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError Service
defaultService ErrorCode
"InvalidArn"
_InvalidToken :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidToken :: Getting (First ServiceError) a ServiceError
_InvalidToken =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidToken"
_InvalidLoggingConfiguration :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidLoggingConfiguration :: Getting (First ServiceError) a ServiceError
_InvalidLoggingConfiguration =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidLoggingConfiguration"
_ActivityWorkerLimitExceeded :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ActivityWorkerLimitExceeded :: Getting (First ServiceError) a ServiceError
_ActivityWorkerLimitExceeded =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ActivityWorkerLimitExceeded"
_InvalidTracingConfiguration :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_InvalidTracingConfiguration :: Getting (First ServiceError) a ServiceError
_InvalidTracingConfiguration =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"InvalidTracingConfiguration"
_ActivityLimitExceeded :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ActivityLimitExceeded :: Getting (First ServiceError) a ServiceError
_ActivityLimitExceeded =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ActivityLimitExceeded"
_TooManyTags :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_TooManyTags :: Getting (First ServiceError) a ServiceError
_TooManyTags =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"TooManyTags"
_ExecutionDoesNotExist :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ExecutionDoesNotExist :: Getting (First ServiceError) a ServiceError
_ExecutionDoesNotExist =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ExecutionDoesNotExist"
_StateMachineDoesNotExist :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_StateMachineDoesNotExist :: Getting (First ServiceError) a ServiceError
_StateMachineDoesNotExist =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"StateMachineDoesNotExist"
_ResourceNotFound :: Core.AsError a => Lens.Getting (Prelude.First Core.ServiceError) a Core.ServiceError
_ResourceNotFound :: Getting (First ServiceError) a ServiceError
_ResourceNotFound =
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
forall a.
AsError a =>
Service -> ErrorCode -> Getting (First ServiceError) a ServiceError
Core._MatchServiceError
Service
defaultService
ErrorCode
"ResourceNotFound"