-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Amazon Step Functions SDK.
--
-- Derived from API version 2016-11-23 of the AWS service
-- descriptions, licensed under Apache 2.0.
--
-- The types from this library are intended to be used with
-- amazonka, which provides mechanisms for specifying AuthN/AuthZ
-- information, sending requests, and receiving responses.
--
-- It is recommended to use generic lenses or optics from packages such
-- as generic-lens or optics to modify optional fields and
-- deconstruct responses.
--
-- Generated lenses can be found in Amazonka.StepFunctions.Lens
-- and are suitable for use with a lens package such as lens or
-- lens-family-core.
--
-- See Amazonka.StepFunctions and the AWS documentation to
-- get started.
@package amazonka-stepfunctions
@version 2.0
module Amazonka.StepFunctions.Types.ActivityFailedEventDetails
-- | Contains details about an activity that failed during an execution.
--
-- See: newActivityFailedEventDetails smart constructor.
data ActivityFailedEventDetails
ActivityFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> ActivityFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
[$sel:cause:ActivityFailedEventDetails'] :: ActivityFailedEventDetails -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:ActivityFailedEventDetails'] :: ActivityFailedEventDetails -> Maybe (Sensitive Text)
-- | Create a value of ActivityFailedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:ActivityFailedEventDetails',
-- activityFailedEventDetails_cause - A more detailed explanation
-- of the cause of the failure.
--
-- $sel:error:ActivityFailedEventDetails',
-- activityFailedEventDetails_error - The error code of the
-- failure.
newActivityFailedEventDetails :: ActivityFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
activityFailedEventDetails_cause :: Lens' ActivityFailedEventDetails (Maybe Text)
-- | The error code of the failure.
activityFailedEventDetails_error :: Lens' ActivityFailedEventDetails (Maybe Text)
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.ActivityFailedEventDetails.ActivityFailedEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.ActivityFailedEventDetails.ActivityFailedEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.ActivityFailedEventDetails.ActivityFailedEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.ActivityFailedEventDetails.ActivityFailedEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.ActivityFailedEventDetails.ActivityFailedEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.ActivityFailedEventDetails.ActivityFailedEventDetails
module Amazonka.StepFunctions.Types.ActivityListItem
-- | Contains details about an activity.
--
-- See: newActivityListItem smart constructor.
data ActivityListItem
ActivityListItem' :: Text -> Text -> POSIX -> ActivityListItem
-- | The Amazon Resource Name (ARN) that identifies the activity.
[$sel:activityArn:ActivityListItem'] :: ActivityListItem -> Text
-- | The name of the activity.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
[$sel:name:ActivityListItem'] :: ActivityListItem -> Text
-- | The date the activity is created.
[$sel:creationDate:ActivityListItem'] :: ActivityListItem -> POSIX
-- | Create a value of ActivityListItem with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:activityArn:ActivityListItem',
-- activityListItem_activityArn - The Amazon Resource Name (ARN)
-- that identifies the activity.
--
-- $sel:name:ActivityListItem', activityListItem_name - The
-- name of the activity.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
--
-- $sel:creationDate:ActivityListItem',
-- activityListItem_creationDate - The date the activity is
-- created.
newActivityListItem :: Text -> Text -> UTCTime -> ActivityListItem
-- | The Amazon Resource Name (ARN) that identifies the activity.
activityListItem_activityArn :: Lens' ActivityListItem Text
-- | The name of the activity.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
activityListItem_name :: Lens' ActivityListItem Text
-- | The date the activity is created.
activityListItem_creationDate :: Lens' ActivityListItem UTCTime
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.ActivityListItem.ActivityListItem
instance GHC.Show.Show Amazonka.StepFunctions.Types.ActivityListItem.ActivityListItem
instance GHC.Read.Read Amazonka.StepFunctions.Types.ActivityListItem.ActivityListItem
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.ActivityListItem.ActivityListItem
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.ActivityListItem.ActivityListItem
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.ActivityListItem.ActivityListItem
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.ActivityListItem.ActivityListItem
module Amazonka.StepFunctions.Types.ActivityScheduleFailedEventDetails
-- | Contains details about an activity schedule failure that occurred
-- during an execution.
--
-- See: newActivityScheduleFailedEventDetails smart
-- constructor.
data ActivityScheduleFailedEventDetails
ActivityScheduleFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> ActivityScheduleFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
[$sel:cause:ActivityScheduleFailedEventDetails'] :: ActivityScheduleFailedEventDetails -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:ActivityScheduleFailedEventDetails'] :: ActivityScheduleFailedEventDetails -> Maybe (Sensitive Text)
-- | Create a value of ActivityScheduleFailedEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:ActivityScheduleFailedEventDetails',
-- activityScheduleFailedEventDetails_cause - A more detailed
-- explanation of the cause of the failure.
--
-- $sel:error:ActivityScheduleFailedEventDetails',
-- activityScheduleFailedEventDetails_error - The error code of
-- the failure.
newActivityScheduleFailedEventDetails :: ActivityScheduleFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
activityScheduleFailedEventDetails_cause :: Lens' ActivityScheduleFailedEventDetails (Maybe Text)
-- | The error code of the failure.
activityScheduleFailedEventDetails_error :: Lens' ActivityScheduleFailedEventDetails (Maybe Text)
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.ActivityScheduleFailedEventDetails.ActivityScheduleFailedEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.ActivityScheduleFailedEventDetails.ActivityScheduleFailedEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.ActivityScheduleFailedEventDetails.ActivityScheduleFailedEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.ActivityScheduleFailedEventDetails.ActivityScheduleFailedEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.ActivityScheduleFailedEventDetails.ActivityScheduleFailedEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.ActivityScheduleFailedEventDetails.ActivityScheduleFailedEventDetails
module Amazonka.StepFunctions.Types.ActivityStartedEventDetails
-- | Contains details about the start of an activity during an execution.
--
-- See: newActivityStartedEventDetails smart constructor.
data ActivityStartedEventDetails
ActivityStartedEventDetails' :: Maybe Text -> ActivityStartedEventDetails
-- | The name of the worker that the task is assigned to. These names are
-- provided by the workers when calling GetActivityTask.
[$sel:workerName:ActivityStartedEventDetails'] :: ActivityStartedEventDetails -> Maybe Text
-- | Create a value of ActivityStartedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:workerName:ActivityStartedEventDetails',
-- activityStartedEventDetails_workerName - The name of the worker
-- that the task is assigned to. These names are provided by the workers
-- when calling GetActivityTask.
newActivityStartedEventDetails :: ActivityStartedEventDetails
-- | The name of the worker that the task is assigned to. These names are
-- provided by the workers when calling GetActivityTask.
activityStartedEventDetails_workerName :: Lens' ActivityStartedEventDetails (Maybe Text)
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.ActivityStartedEventDetails.ActivityStartedEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.ActivityStartedEventDetails.ActivityStartedEventDetails
instance GHC.Read.Read Amazonka.StepFunctions.Types.ActivityStartedEventDetails.ActivityStartedEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.ActivityStartedEventDetails.ActivityStartedEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.ActivityStartedEventDetails.ActivityStartedEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.ActivityStartedEventDetails.ActivityStartedEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.ActivityStartedEventDetails.ActivityStartedEventDetails
module Amazonka.StepFunctions.Types.ActivityTimedOutEventDetails
-- | Contains details about an activity timeout that occurred during an
-- execution.
--
-- See: newActivityTimedOutEventDetails smart constructor.
data ActivityTimedOutEventDetails
ActivityTimedOutEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> ActivityTimedOutEventDetails
-- | A more detailed explanation of the cause of the timeout.
[$sel:cause:ActivityTimedOutEventDetails'] :: ActivityTimedOutEventDetails -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:ActivityTimedOutEventDetails'] :: ActivityTimedOutEventDetails -> Maybe (Sensitive Text)
-- | Create a value of ActivityTimedOutEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:ActivityTimedOutEventDetails',
-- activityTimedOutEventDetails_cause - A more detailed
-- explanation of the cause of the timeout.
--
-- $sel:error:ActivityTimedOutEventDetails',
-- activityTimedOutEventDetails_error - The error code of the
-- failure.
newActivityTimedOutEventDetails :: ActivityTimedOutEventDetails
-- | A more detailed explanation of the cause of the timeout.
activityTimedOutEventDetails_cause :: Lens' ActivityTimedOutEventDetails (Maybe Text)
-- | The error code of the failure.
activityTimedOutEventDetails_error :: Lens' ActivityTimedOutEventDetails (Maybe Text)
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.ActivityTimedOutEventDetails.ActivityTimedOutEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.ActivityTimedOutEventDetails.ActivityTimedOutEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.ActivityTimedOutEventDetails.ActivityTimedOutEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.ActivityTimedOutEventDetails.ActivityTimedOutEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.ActivityTimedOutEventDetails.ActivityTimedOutEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.ActivityTimedOutEventDetails.ActivityTimedOutEventDetails
module Amazonka.StepFunctions.Types.BillingDetails
-- | An object that describes workflow billing details.
--
-- See: newBillingDetails smart constructor.
data BillingDetails
BillingDetails' :: Maybe Natural -> Maybe Natural -> BillingDetails
-- | Billed duration of your workflow, in milliseconds.
[$sel:billedDurationInMilliseconds:BillingDetails'] :: BillingDetails -> Maybe Natural
-- | Billed memory consumption of your workflow, in MB.
[$sel:billedMemoryUsedInMB:BillingDetails'] :: BillingDetails -> Maybe Natural
-- | Create a value of BillingDetails with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:billedDurationInMilliseconds:BillingDetails',
-- billingDetails_billedDurationInMilliseconds - Billed duration
-- of your workflow, in milliseconds.
--
-- $sel:billedMemoryUsedInMB:BillingDetails',
-- billingDetails_billedMemoryUsedInMB - Billed memory consumption
-- of your workflow, in MB.
newBillingDetails :: BillingDetails
-- | Billed duration of your workflow, in milliseconds.
billingDetails_billedDurationInMilliseconds :: Lens' BillingDetails (Maybe Natural)
-- | Billed memory consumption of your workflow, in MB.
billingDetails_billedMemoryUsedInMB :: Lens' BillingDetails (Maybe Natural)
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.BillingDetails.BillingDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.BillingDetails.BillingDetails
instance GHC.Read.Read Amazonka.StepFunctions.Types.BillingDetails.BillingDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.BillingDetails.BillingDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.BillingDetails.BillingDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.BillingDetails.BillingDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.BillingDetails.BillingDetails
module Amazonka.StepFunctions.Types.CloudWatchEventsExecutionDataDetails
-- | Provides details about execution input or output.
--
-- See: newCloudWatchEventsExecutionDataDetails smart
-- constructor.
data CloudWatchEventsExecutionDataDetails
CloudWatchEventsExecutionDataDetails' :: Maybe Bool -> CloudWatchEventsExecutionDataDetails
-- | Indicates whether input or output was included in the response. Always
-- true for API calls.
[$sel:included:CloudWatchEventsExecutionDataDetails'] :: CloudWatchEventsExecutionDataDetails -> Maybe Bool
-- | Create a value of CloudWatchEventsExecutionDataDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:included:CloudWatchEventsExecutionDataDetails',
-- cloudWatchEventsExecutionDataDetails_included - Indicates
-- whether input or output was included in the response. Always
-- true for API calls.
newCloudWatchEventsExecutionDataDetails :: CloudWatchEventsExecutionDataDetails
-- | Indicates whether input or output was included in the response. Always
-- true for API calls.
cloudWatchEventsExecutionDataDetails_included :: Lens' CloudWatchEventsExecutionDataDetails (Maybe Bool)
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.CloudWatchEventsExecutionDataDetails.CloudWatchEventsExecutionDataDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.CloudWatchEventsExecutionDataDetails.CloudWatchEventsExecutionDataDetails
instance GHC.Read.Read Amazonka.StepFunctions.Types.CloudWatchEventsExecutionDataDetails.CloudWatchEventsExecutionDataDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.CloudWatchEventsExecutionDataDetails.CloudWatchEventsExecutionDataDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.CloudWatchEventsExecutionDataDetails.CloudWatchEventsExecutionDataDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.CloudWatchEventsExecutionDataDetails.CloudWatchEventsExecutionDataDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.CloudWatchEventsExecutionDataDetails.CloudWatchEventsExecutionDataDetails
module Amazonka.StepFunctions.Types.CloudWatchLogsLogGroup
-- | See: newCloudWatchLogsLogGroup smart constructor.
data CloudWatchLogsLogGroup
CloudWatchLogsLogGroup' :: Maybe Text -> CloudWatchLogsLogGroup
-- | The ARN of the the CloudWatch log group to which you want your logs
-- emitted to. The ARN must end with :*
[$sel:logGroupArn:CloudWatchLogsLogGroup'] :: CloudWatchLogsLogGroup -> Maybe Text
-- | Create a value of CloudWatchLogsLogGroup with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:logGroupArn:CloudWatchLogsLogGroup',
-- cloudWatchLogsLogGroup_logGroupArn - The ARN of the the
-- CloudWatch log group to which you want your logs emitted to. The ARN
-- must end with :*
newCloudWatchLogsLogGroup :: CloudWatchLogsLogGroup
-- | The ARN of the the CloudWatch log group to which you want your logs
-- emitted to. The ARN must end with :*
cloudWatchLogsLogGroup_logGroupArn :: Lens' CloudWatchLogsLogGroup (Maybe Text)
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.CloudWatchLogsLogGroup.CloudWatchLogsLogGroup
instance GHC.Show.Show Amazonka.StepFunctions.Types.CloudWatchLogsLogGroup.CloudWatchLogsLogGroup
instance GHC.Read.Read Amazonka.StepFunctions.Types.CloudWatchLogsLogGroup.CloudWatchLogsLogGroup
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.CloudWatchLogsLogGroup.CloudWatchLogsLogGroup
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.CloudWatchLogsLogGroup.CloudWatchLogsLogGroup
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.CloudWatchLogsLogGroup.CloudWatchLogsLogGroup
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.CloudWatchLogsLogGroup.CloudWatchLogsLogGroup
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.Types.CloudWatchLogsLogGroup.CloudWatchLogsLogGroup
module Amazonka.StepFunctions.Types.ExecutionAbortedEventDetails
-- | Contains details about an abort of an execution.
--
-- See: newExecutionAbortedEventDetails smart constructor.
data ExecutionAbortedEventDetails
ExecutionAbortedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> ExecutionAbortedEventDetails
-- | A more detailed explanation of the cause of the failure.
[$sel:cause:ExecutionAbortedEventDetails'] :: ExecutionAbortedEventDetails -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:ExecutionAbortedEventDetails'] :: ExecutionAbortedEventDetails -> Maybe (Sensitive Text)
-- | Create a value of ExecutionAbortedEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:ExecutionAbortedEventDetails',
-- executionAbortedEventDetails_cause - A more detailed
-- explanation of the cause of the failure.
--
-- $sel:error:ExecutionAbortedEventDetails',
-- executionAbortedEventDetails_error - The error code of the
-- failure.
newExecutionAbortedEventDetails :: ExecutionAbortedEventDetails
-- | A more detailed explanation of the cause of the failure.
executionAbortedEventDetails_cause :: Lens' ExecutionAbortedEventDetails (Maybe Text)
-- | The error code of the failure.
executionAbortedEventDetails_error :: Lens' ExecutionAbortedEventDetails (Maybe Text)
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.ExecutionAbortedEventDetails.ExecutionAbortedEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.ExecutionAbortedEventDetails.ExecutionAbortedEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.ExecutionAbortedEventDetails.ExecutionAbortedEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.ExecutionAbortedEventDetails.ExecutionAbortedEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.ExecutionAbortedEventDetails.ExecutionAbortedEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.ExecutionAbortedEventDetails.ExecutionAbortedEventDetails
module Amazonka.StepFunctions.Types.ExecutionFailedEventDetails
-- | Contains details about an execution failure event.
--
-- See: newExecutionFailedEventDetails smart constructor.
data ExecutionFailedEventDetails
ExecutionFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> ExecutionFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
[$sel:cause:ExecutionFailedEventDetails'] :: ExecutionFailedEventDetails -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:ExecutionFailedEventDetails'] :: ExecutionFailedEventDetails -> Maybe (Sensitive Text)
-- | Create a value of ExecutionFailedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:ExecutionFailedEventDetails',
-- executionFailedEventDetails_cause - A more detailed explanation
-- of the cause of the failure.
--
-- $sel:error:ExecutionFailedEventDetails',
-- executionFailedEventDetails_error - The error code of the
-- failure.
newExecutionFailedEventDetails :: ExecutionFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
executionFailedEventDetails_cause :: Lens' ExecutionFailedEventDetails (Maybe Text)
-- | The error code of the failure.
executionFailedEventDetails_error :: Lens' ExecutionFailedEventDetails (Maybe Text)
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.ExecutionFailedEventDetails.ExecutionFailedEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.ExecutionFailedEventDetails.ExecutionFailedEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.ExecutionFailedEventDetails.ExecutionFailedEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.ExecutionFailedEventDetails.ExecutionFailedEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.ExecutionFailedEventDetails.ExecutionFailedEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.ExecutionFailedEventDetails.ExecutionFailedEventDetails
module Amazonka.StepFunctions.Types.ExecutionStatus
newtype ExecutionStatus
ExecutionStatus' :: Text -> ExecutionStatus
[fromExecutionStatus] :: ExecutionStatus -> Text
pattern ExecutionStatus_ABORTED :: ExecutionStatus
pattern ExecutionStatus_FAILED :: ExecutionStatus
pattern ExecutionStatus_RUNNING :: ExecutionStatus
pattern ExecutionStatus_SUCCEEDED :: ExecutionStatus
pattern ExecutionStatus_TIMED_OUT :: ExecutionStatus
instance Amazonka.Data.XML.ToXML Amazonka.StepFunctions.Types.ExecutionStatus.ExecutionStatus
instance Amazonka.Data.XML.FromXML Amazonka.StepFunctions.Types.ExecutionStatus.ExecutionStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.StepFunctions.Types.ExecutionStatus.ExecutionStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.Types.ExecutionStatus.ExecutionStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.StepFunctions.Types.ExecutionStatus.ExecutionStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.ExecutionStatus.ExecutionStatus
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.Types.ExecutionStatus.ExecutionStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.StepFunctions.Types.ExecutionStatus.ExecutionStatus
instance Amazonka.Data.Log.ToLog Amazonka.StepFunctions.Types.ExecutionStatus.ExecutionStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.StepFunctions.Types.ExecutionStatus.ExecutionStatus
instance Amazonka.Data.Text.ToText Amazonka.StepFunctions.Types.ExecutionStatus.ExecutionStatus
instance Amazonka.Data.Text.FromText Amazonka.StepFunctions.Types.ExecutionStatus.ExecutionStatus
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.ExecutionStatus.ExecutionStatus
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.ExecutionStatus.ExecutionStatus
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.ExecutionStatus.ExecutionStatus
instance GHC.Classes.Ord Amazonka.StepFunctions.Types.ExecutionStatus.ExecutionStatus
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.ExecutionStatus.ExecutionStatus
instance GHC.Read.Read Amazonka.StepFunctions.Types.ExecutionStatus.ExecutionStatus
instance GHC.Show.Show Amazonka.StepFunctions.Types.ExecutionStatus.ExecutionStatus
module Amazonka.StepFunctions.Types.ExecutionListItem
-- | Contains details about an execution.
--
-- See: newExecutionListItem smart constructor.
data ExecutionListItem
ExecutionListItem' :: Maybe Natural -> Maybe Text -> Maybe POSIX -> Text -> Text -> Text -> ExecutionStatus -> POSIX -> ExecutionListItem
-- | The total number of items processed in a child workflow execution.
-- This field is returned only if mapRunArn was specified in the
-- ListExecutions API action. If stateMachineArn was
-- specified in ListExecutions, the itemCount field
-- isn't returned.
[$sel:itemCount:ExecutionListItem'] :: ExecutionListItem -> Maybe Natural
-- | The Amazon Resource Name (ARN) of a Map Run. This field is returned
-- only if mapRunArn was specified in the
-- ListExecutions API action. If stateMachineArn was
-- specified in ListExecutions, the mapRunArn isn't
-- returned.
[$sel:mapRunArn:ExecutionListItem'] :: ExecutionListItem -> Maybe Text
-- | If the execution already ended, the date the execution stopped.
[$sel:stopDate:ExecutionListItem'] :: ExecutionListItem -> Maybe POSIX
-- | The Amazon Resource Name (ARN) that identifies the execution.
[$sel:executionArn:ExecutionListItem'] :: ExecutionListItem -> Text
-- | The Amazon Resource Name (ARN) of the executed state machine.
[$sel:stateMachineArn:ExecutionListItem'] :: ExecutionListItem -> Text
-- | The name of the execution.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
[$sel:name:ExecutionListItem'] :: ExecutionListItem -> Text
-- | The current status of the execution.
[$sel:status:ExecutionListItem'] :: ExecutionListItem -> ExecutionStatus
-- | The date the execution started.
[$sel:startDate:ExecutionListItem'] :: ExecutionListItem -> POSIX
-- | Create a value of ExecutionListItem with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:itemCount:ExecutionListItem',
-- executionListItem_itemCount - The total number of items
-- processed in a child workflow execution. This field is returned only
-- if mapRunArn was specified in the ListExecutions API
-- action. If stateMachineArn was specified in
-- ListExecutions, the itemCount field isn't returned.
--
-- $sel:mapRunArn:ExecutionListItem',
-- executionListItem_mapRunArn - The Amazon Resource Name (ARN) of
-- a Map Run. This field is returned only if mapRunArn was
-- specified in the ListExecutions API action. If
-- stateMachineArn was specified in ListExecutions, the
-- mapRunArn isn't returned.
--
-- $sel:stopDate:ExecutionListItem',
-- executionListItem_stopDate - If the execution already ended,
-- the date the execution stopped.
--
-- $sel:executionArn:ExecutionListItem',
-- executionListItem_executionArn - The Amazon Resource Name (ARN)
-- that identifies the execution.
--
-- $sel:stateMachineArn:ExecutionListItem',
-- executionListItem_stateMachineArn - The Amazon Resource Name
-- (ARN) of the executed state machine.
--
-- $sel:name:ExecutionListItem', executionListItem_name -
-- The name of the execution.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
--
-- $sel:status:ExecutionListItem', executionListItem_status
-- - The current status of the execution.
--
-- $sel:startDate:ExecutionListItem',
-- executionListItem_startDate - The date the execution started.
newExecutionListItem :: Text -> Text -> Text -> ExecutionStatus -> UTCTime -> ExecutionListItem
-- | The total number of items processed in a child workflow execution.
-- This field is returned only if mapRunArn was specified in the
-- ListExecutions API action. If stateMachineArn was
-- specified in ListExecutions, the itemCount field
-- isn't returned.
executionListItem_itemCount :: Lens' ExecutionListItem (Maybe Natural)
-- | The Amazon Resource Name (ARN) of a Map Run. This field is returned
-- only if mapRunArn was specified in the
-- ListExecutions API action. If stateMachineArn was
-- specified in ListExecutions, the mapRunArn isn't
-- returned.
executionListItem_mapRunArn :: Lens' ExecutionListItem (Maybe Text)
-- | If the execution already ended, the date the execution stopped.
executionListItem_stopDate :: Lens' ExecutionListItem (Maybe UTCTime)
-- | The Amazon Resource Name (ARN) that identifies the execution.
executionListItem_executionArn :: Lens' ExecutionListItem Text
-- | The Amazon Resource Name (ARN) of the executed state machine.
executionListItem_stateMachineArn :: Lens' ExecutionListItem Text
-- | The name of the execution.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
executionListItem_name :: Lens' ExecutionListItem Text
-- | The current status of the execution.
executionListItem_status :: Lens' ExecutionListItem ExecutionStatus
-- | The date the execution started.
executionListItem_startDate :: Lens' ExecutionListItem UTCTime
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.ExecutionListItem.ExecutionListItem
instance GHC.Show.Show Amazonka.StepFunctions.Types.ExecutionListItem.ExecutionListItem
instance GHC.Read.Read Amazonka.StepFunctions.Types.ExecutionListItem.ExecutionListItem
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.ExecutionListItem.ExecutionListItem
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.ExecutionListItem.ExecutionListItem
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.ExecutionListItem.ExecutionListItem
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.ExecutionListItem.ExecutionListItem
module Amazonka.StepFunctions.Types.ExecutionTimedOutEventDetails
-- | Contains details about the execution timeout that occurred during the
-- execution.
--
-- See: newExecutionTimedOutEventDetails smart constructor.
data ExecutionTimedOutEventDetails
ExecutionTimedOutEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> ExecutionTimedOutEventDetails
-- | A more detailed explanation of the cause of the timeout.
[$sel:cause:ExecutionTimedOutEventDetails'] :: ExecutionTimedOutEventDetails -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:ExecutionTimedOutEventDetails'] :: ExecutionTimedOutEventDetails -> Maybe (Sensitive Text)
-- | Create a value of ExecutionTimedOutEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:ExecutionTimedOutEventDetails',
-- executionTimedOutEventDetails_cause - A more detailed
-- explanation of the cause of the timeout.
--
-- $sel:error:ExecutionTimedOutEventDetails',
-- executionTimedOutEventDetails_error - The error code of the
-- failure.
newExecutionTimedOutEventDetails :: ExecutionTimedOutEventDetails
-- | A more detailed explanation of the cause of the timeout.
executionTimedOutEventDetails_cause :: Lens' ExecutionTimedOutEventDetails (Maybe Text)
-- | The error code of the failure.
executionTimedOutEventDetails_error :: Lens' ExecutionTimedOutEventDetails (Maybe Text)
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.ExecutionTimedOutEventDetails.ExecutionTimedOutEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.ExecutionTimedOutEventDetails.ExecutionTimedOutEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.ExecutionTimedOutEventDetails.ExecutionTimedOutEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.ExecutionTimedOutEventDetails.ExecutionTimedOutEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.ExecutionTimedOutEventDetails.ExecutionTimedOutEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.ExecutionTimedOutEventDetails.ExecutionTimedOutEventDetails
module Amazonka.StepFunctions.Types.HistoryEventExecutionDataDetails
-- | Provides details about input or output in an execution history event.
--
-- See: newHistoryEventExecutionDataDetails smart
-- constructor.
data HistoryEventExecutionDataDetails
HistoryEventExecutionDataDetails' :: Maybe Bool -> HistoryEventExecutionDataDetails
-- | Indicates whether input or output was truncated in the response.
-- Always false for API calls.
[$sel:truncated:HistoryEventExecutionDataDetails'] :: HistoryEventExecutionDataDetails -> Maybe Bool
-- | Create a value of HistoryEventExecutionDataDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:truncated:HistoryEventExecutionDataDetails',
-- historyEventExecutionDataDetails_truncated - Indicates whether
-- input or output was truncated in the response. Always false
-- for API calls.
newHistoryEventExecutionDataDetails :: HistoryEventExecutionDataDetails
-- | Indicates whether input or output was truncated in the response.
-- Always false for API calls.
historyEventExecutionDataDetails_truncated :: Lens' HistoryEventExecutionDataDetails (Maybe Bool)
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.HistoryEventExecutionDataDetails.HistoryEventExecutionDataDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.HistoryEventExecutionDataDetails.HistoryEventExecutionDataDetails
instance GHC.Read.Read Amazonka.StepFunctions.Types.HistoryEventExecutionDataDetails.HistoryEventExecutionDataDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.HistoryEventExecutionDataDetails.HistoryEventExecutionDataDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.HistoryEventExecutionDataDetails.HistoryEventExecutionDataDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.HistoryEventExecutionDataDetails.HistoryEventExecutionDataDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.HistoryEventExecutionDataDetails.HistoryEventExecutionDataDetails
module Amazonka.StepFunctions.Types.ExecutionSucceededEventDetails
-- | Contains details about the successful termination of the execution.
--
-- See: newExecutionSucceededEventDetails smart
-- constructor.
data ExecutionSucceededEventDetails
ExecutionSucceededEventDetails' :: Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> ExecutionSucceededEventDetails
-- | The JSON data output by the execution. Length constraints apply to the
-- payload size, and are expressed as bytes in UTF-8 encoding.
[$sel:output:ExecutionSucceededEventDetails'] :: ExecutionSucceededEventDetails -> Maybe (Sensitive Text)
-- | Contains details about the output of an execution history event.
[$sel:outputDetails:ExecutionSucceededEventDetails'] :: ExecutionSucceededEventDetails -> Maybe HistoryEventExecutionDataDetails
-- | Create a value of ExecutionSucceededEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:output:ExecutionSucceededEventDetails',
-- executionSucceededEventDetails_output - The JSON data output by
-- the execution. Length constraints apply to the payload size, and are
-- expressed as bytes in UTF-8 encoding.
--
-- $sel:outputDetails:ExecutionSucceededEventDetails',
-- executionSucceededEventDetails_outputDetails - Contains details
-- about the output of an execution history event.
newExecutionSucceededEventDetails :: ExecutionSucceededEventDetails
-- | The JSON data output by the execution. Length constraints apply to the
-- payload size, and are expressed as bytes in UTF-8 encoding.
executionSucceededEventDetails_output :: Lens' ExecutionSucceededEventDetails (Maybe Text)
-- | Contains details about the output of an execution history event.
executionSucceededEventDetails_outputDetails :: Lens' ExecutionSucceededEventDetails (Maybe HistoryEventExecutionDataDetails)
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.ExecutionSucceededEventDetails.ExecutionSucceededEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.ExecutionSucceededEventDetails.ExecutionSucceededEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.ExecutionSucceededEventDetails.ExecutionSucceededEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.ExecutionSucceededEventDetails.ExecutionSucceededEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.ExecutionSucceededEventDetails.ExecutionSucceededEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.ExecutionSucceededEventDetails.ExecutionSucceededEventDetails
module Amazonka.StepFunctions.Types.ExecutionStartedEventDetails
-- | Contains details about the start of the execution.
--
-- See: newExecutionStartedEventDetails smart constructor.
data ExecutionStartedEventDetails
ExecutionStartedEventDetails' :: Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> Maybe Text -> ExecutionStartedEventDetails
-- | The JSON data input to the execution. Length constraints apply to the
-- payload size, and are expressed as bytes in UTF-8 encoding.
[$sel:input:ExecutionStartedEventDetails'] :: ExecutionStartedEventDetails -> Maybe (Sensitive Text)
-- | Contains details about the input for an execution history event.
[$sel:inputDetails:ExecutionStartedEventDetails'] :: ExecutionStartedEventDetails -> Maybe HistoryEventExecutionDataDetails
-- | The Amazon Resource Name (ARN) of the IAM role used for executing
-- Lambda tasks.
[$sel:roleArn:ExecutionStartedEventDetails'] :: ExecutionStartedEventDetails -> Maybe Text
-- | Create a value of ExecutionStartedEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:input:ExecutionStartedEventDetails',
-- executionStartedEventDetails_input - The JSON data input to the
-- execution. Length constraints apply to the payload size, and are
-- expressed as bytes in UTF-8 encoding.
--
-- $sel:inputDetails:ExecutionStartedEventDetails',
-- executionStartedEventDetails_inputDetails - Contains details
-- about the input for an execution history event.
--
-- $sel:roleArn:ExecutionStartedEventDetails',
-- executionStartedEventDetails_roleArn - The Amazon Resource Name
-- (ARN) of the IAM role used for executing Lambda tasks.
newExecutionStartedEventDetails :: ExecutionStartedEventDetails
-- | The JSON data input to the execution. Length constraints apply to the
-- payload size, and are expressed as bytes in UTF-8 encoding.
executionStartedEventDetails_input :: Lens' ExecutionStartedEventDetails (Maybe Text)
-- | Contains details about the input for an execution history event.
executionStartedEventDetails_inputDetails :: Lens' ExecutionStartedEventDetails (Maybe HistoryEventExecutionDataDetails)
-- | The Amazon Resource Name (ARN) of the IAM role used for executing
-- Lambda tasks.
executionStartedEventDetails_roleArn :: Lens' ExecutionStartedEventDetails (Maybe Text)
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.ExecutionStartedEventDetails.ExecutionStartedEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.ExecutionStartedEventDetails.ExecutionStartedEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.ExecutionStartedEventDetails.ExecutionStartedEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.ExecutionStartedEventDetails.ExecutionStartedEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.ExecutionStartedEventDetails.ExecutionStartedEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.ExecutionStartedEventDetails.ExecutionStartedEventDetails
module Amazonka.StepFunctions.Types.ActivitySucceededEventDetails
-- | Contains details about an activity that successfully terminated during
-- an execution.
--
-- See: newActivitySucceededEventDetails smart constructor.
data ActivitySucceededEventDetails
ActivitySucceededEventDetails' :: Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> ActivitySucceededEventDetails
-- | The JSON data output by the activity task. Length constraints apply to
-- the payload size, and are expressed as bytes in UTF-8 encoding.
[$sel:output:ActivitySucceededEventDetails'] :: ActivitySucceededEventDetails -> Maybe (Sensitive Text)
-- | Contains details about the output of an execution history event.
[$sel:outputDetails:ActivitySucceededEventDetails'] :: ActivitySucceededEventDetails -> Maybe HistoryEventExecutionDataDetails
-- | Create a value of ActivitySucceededEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:output:ActivitySucceededEventDetails',
-- activitySucceededEventDetails_output - The JSON data output by
-- the activity task. Length constraints apply to the payload size, and
-- are expressed as bytes in UTF-8 encoding.
--
-- $sel:outputDetails:ActivitySucceededEventDetails',
-- activitySucceededEventDetails_outputDetails - Contains details
-- about the output of an execution history event.
newActivitySucceededEventDetails :: ActivitySucceededEventDetails
-- | The JSON data output by the activity task. Length constraints apply to
-- the payload size, and are expressed as bytes in UTF-8 encoding.
activitySucceededEventDetails_output :: Lens' ActivitySucceededEventDetails (Maybe Text)
-- | Contains details about the output of an execution history event.
activitySucceededEventDetails_outputDetails :: Lens' ActivitySucceededEventDetails (Maybe HistoryEventExecutionDataDetails)
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.ActivitySucceededEventDetails.ActivitySucceededEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.ActivitySucceededEventDetails.ActivitySucceededEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.ActivitySucceededEventDetails.ActivitySucceededEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.ActivitySucceededEventDetails.ActivitySucceededEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.ActivitySucceededEventDetails.ActivitySucceededEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.ActivitySucceededEventDetails.ActivitySucceededEventDetails
module Amazonka.StepFunctions.Types.ActivityScheduledEventDetails
-- | Contains details about an activity scheduled during an execution.
--
-- See: newActivityScheduledEventDetails smart constructor.
data ActivityScheduledEventDetails
ActivityScheduledEventDetails' :: Maybe Integer -> Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> Maybe Integer -> Text -> ActivityScheduledEventDetails
-- | The maximum allowed duration between two heartbeats for the activity
-- task.
[$sel:heartbeatInSeconds:ActivityScheduledEventDetails'] :: ActivityScheduledEventDetails -> Maybe Integer
-- | The JSON data input to the activity task. Length constraints apply to
-- the payload size, and are expressed as bytes in UTF-8 encoding.
[$sel:input:ActivityScheduledEventDetails'] :: ActivityScheduledEventDetails -> Maybe (Sensitive Text)
-- | Contains details about the input for an execution history event.
[$sel:inputDetails:ActivityScheduledEventDetails'] :: ActivityScheduledEventDetails -> Maybe HistoryEventExecutionDataDetails
-- | The maximum allowed duration of the activity task.
[$sel:timeoutInSeconds:ActivityScheduledEventDetails'] :: ActivityScheduledEventDetails -> Maybe Integer
-- | The Amazon Resource Name (ARN) of the scheduled activity.
[$sel:resource:ActivityScheduledEventDetails'] :: ActivityScheduledEventDetails -> Text
-- | Create a value of ActivityScheduledEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:heartbeatInSeconds:ActivityScheduledEventDetails',
-- activityScheduledEventDetails_heartbeatInSeconds - The maximum
-- allowed duration between two heartbeats for the activity task.
--
-- $sel:input:ActivityScheduledEventDetails',
-- activityScheduledEventDetails_input - The JSON data input to
-- the activity task. Length constraints apply to the payload size, and
-- are expressed as bytes in UTF-8 encoding.
--
-- $sel:inputDetails:ActivityScheduledEventDetails',
-- activityScheduledEventDetails_inputDetails - Contains details
-- about the input for an execution history event.
--
-- $sel:timeoutInSeconds:ActivityScheduledEventDetails',
-- activityScheduledEventDetails_timeoutInSeconds - The maximum
-- allowed duration of the activity task.
--
-- $sel:resource:ActivityScheduledEventDetails',
-- activityScheduledEventDetails_resource - The Amazon Resource
-- Name (ARN) of the scheduled activity.
newActivityScheduledEventDetails :: Text -> ActivityScheduledEventDetails
-- | The maximum allowed duration between two heartbeats for the activity
-- task.
activityScheduledEventDetails_heartbeatInSeconds :: Lens' ActivityScheduledEventDetails (Maybe Integer)
-- | The JSON data input to the activity task. Length constraints apply to
-- the payload size, and are expressed as bytes in UTF-8 encoding.
activityScheduledEventDetails_input :: Lens' ActivityScheduledEventDetails (Maybe Text)
-- | Contains details about the input for an execution history event.
activityScheduledEventDetails_inputDetails :: Lens' ActivityScheduledEventDetails (Maybe HistoryEventExecutionDataDetails)
-- | The maximum allowed duration of the activity task.
activityScheduledEventDetails_timeoutInSeconds :: Lens' ActivityScheduledEventDetails (Maybe Integer)
-- | The Amazon Resource Name (ARN) of the scheduled activity.
activityScheduledEventDetails_resource :: Lens' ActivityScheduledEventDetails Text
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.ActivityScheduledEventDetails.ActivityScheduledEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.ActivityScheduledEventDetails.ActivityScheduledEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.ActivityScheduledEventDetails.ActivityScheduledEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.ActivityScheduledEventDetails.ActivityScheduledEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.ActivityScheduledEventDetails.ActivityScheduledEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.ActivityScheduledEventDetails.ActivityScheduledEventDetails
module Amazonka.StepFunctions.Types.HistoryEventType
newtype HistoryEventType
HistoryEventType' :: Text -> HistoryEventType
[fromHistoryEventType] :: HistoryEventType -> Text
pattern HistoryEventType_ActivityFailed :: HistoryEventType
pattern HistoryEventType_ActivityScheduleFailed :: HistoryEventType
pattern HistoryEventType_ActivityScheduled :: HistoryEventType
pattern HistoryEventType_ActivityStarted :: HistoryEventType
pattern HistoryEventType_ActivitySucceeded :: HistoryEventType
pattern HistoryEventType_ActivityTimedOut :: HistoryEventType
pattern HistoryEventType_ChoiceStateEntered :: HistoryEventType
pattern HistoryEventType_ChoiceStateExited :: HistoryEventType
pattern HistoryEventType_ExecutionAborted :: HistoryEventType
pattern HistoryEventType_ExecutionFailed :: HistoryEventType
pattern HistoryEventType_ExecutionStarted :: HistoryEventType
pattern HistoryEventType_ExecutionSucceeded :: HistoryEventType
pattern HistoryEventType_ExecutionTimedOut :: HistoryEventType
pattern HistoryEventType_FailStateEntered :: HistoryEventType
pattern HistoryEventType_LambdaFunctionFailed :: HistoryEventType
pattern HistoryEventType_LambdaFunctionScheduleFailed :: HistoryEventType
pattern HistoryEventType_LambdaFunctionScheduled :: HistoryEventType
pattern HistoryEventType_LambdaFunctionStartFailed :: HistoryEventType
pattern HistoryEventType_LambdaFunctionStarted :: HistoryEventType
pattern HistoryEventType_LambdaFunctionSucceeded :: HistoryEventType
pattern HistoryEventType_LambdaFunctionTimedOut :: HistoryEventType
pattern HistoryEventType_MapIterationAborted :: HistoryEventType
pattern HistoryEventType_MapIterationFailed :: HistoryEventType
pattern HistoryEventType_MapIterationStarted :: HistoryEventType
pattern HistoryEventType_MapIterationSucceeded :: HistoryEventType
pattern HistoryEventType_MapRunAborted :: HistoryEventType
pattern HistoryEventType_MapRunFailed :: HistoryEventType
pattern HistoryEventType_MapRunStarted :: HistoryEventType
pattern HistoryEventType_MapRunSucceeded :: HistoryEventType
pattern HistoryEventType_MapStateAborted :: HistoryEventType
pattern HistoryEventType_MapStateEntered :: HistoryEventType
pattern HistoryEventType_MapStateExited :: HistoryEventType
pattern HistoryEventType_MapStateFailed :: HistoryEventType
pattern HistoryEventType_MapStateStarted :: HistoryEventType
pattern HistoryEventType_MapStateSucceeded :: HistoryEventType
pattern HistoryEventType_ParallelStateAborted :: HistoryEventType
pattern HistoryEventType_ParallelStateEntered :: HistoryEventType
pattern HistoryEventType_ParallelStateExited :: HistoryEventType
pattern HistoryEventType_ParallelStateFailed :: HistoryEventType
pattern HistoryEventType_ParallelStateStarted :: HistoryEventType
pattern HistoryEventType_ParallelStateSucceeded :: HistoryEventType
pattern HistoryEventType_PassStateEntered :: HistoryEventType
pattern HistoryEventType_PassStateExited :: HistoryEventType
pattern HistoryEventType_SucceedStateEntered :: HistoryEventType
pattern HistoryEventType_SucceedStateExited :: HistoryEventType
pattern HistoryEventType_TaskFailed :: HistoryEventType
pattern HistoryEventType_TaskScheduled :: HistoryEventType
pattern HistoryEventType_TaskStartFailed :: HistoryEventType
pattern HistoryEventType_TaskStarted :: HistoryEventType
pattern HistoryEventType_TaskStateAborted :: HistoryEventType
pattern HistoryEventType_TaskStateEntered :: HistoryEventType
pattern HistoryEventType_TaskStateExited :: HistoryEventType
pattern HistoryEventType_TaskSubmitFailed :: HistoryEventType
pattern HistoryEventType_TaskSubmitted :: HistoryEventType
pattern HistoryEventType_TaskSucceeded :: HistoryEventType
pattern HistoryEventType_TaskTimedOut :: HistoryEventType
pattern HistoryEventType_WaitStateAborted :: HistoryEventType
pattern HistoryEventType_WaitStateEntered :: HistoryEventType
pattern HistoryEventType_WaitStateExited :: HistoryEventType
instance Amazonka.Data.XML.ToXML Amazonka.StepFunctions.Types.HistoryEventType.HistoryEventType
instance Amazonka.Data.XML.FromXML Amazonka.StepFunctions.Types.HistoryEventType.HistoryEventType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.StepFunctions.Types.HistoryEventType.HistoryEventType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.Types.HistoryEventType.HistoryEventType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.StepFunctions.Types.HistoryEventType.HistoryEventType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.HistoryEventType.HistoryEventType
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.Types.HistoryEventType.HistoryEventType
instance Amazonka.Data.Headers.ToHeader Amazonka.StepFunctions.Types.HistoryEventType.HistoryEventType
instance Amazonka.Data.Log.ToLog Amazonka.StepFunctions.Types.HistoryEventType.HistoryEventType
instance Amazonka.Data.ByteString.ToByteString Amazonka.StepFunctions.Types.HistoryEventType.HistoryEventType
instance Amazonka.Data.Text.ToText Amazonka.StepFunctions.Types.HistoryEventType.HistoryEventType
instance Amazonka.Data.Text.FromText Amazonka.StepFunctions.Types.HistoryEventType.HistoryEventType
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.HistoryEventType.HistoryEventType
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.HistoryEventType.HistoryEventType
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.HistoryEventType.HistoryEventType
instance GHC.Classes.Ord Amazonka.StepFunctions.Types.HistoryEventType.HistoryEventType
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.HistoryEventType.HistoryEventType
instance GHC.Read.Read Amazonka.StepFunctions.Types.HistoryEventType.HistoryEventType
instance GHC.Show.Show Amazonka.StepFunctions.Types.HistoryEventType.HistoryEventType
module Amazonka.StepFunctions.Types.LambdaFunctionFailedEventDetails
-- | Contains details about a Lambda function that failed during an
-- execution.
--
-- See: newLambdaFunctionFailedEventDetails smart
-- constructor.
data LambdaFunctionFailedEventDetails
LambdaFunctionFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> LambdaFunctionFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
[$sel:cause:LambdaFunctionFailedEventDetails'] :: LambdaFunctionFailedEventDetails -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:LambdaFunctionFailedEventDetails'] :: LambdaFunctionFailedEventDetails -> Maybe (Sensitive Text)
-- | Create a value of LambdaFunctionFailedEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:LambdaFunctionFailedEventDetails',
-- lambdaFunctionFailedEventDetails_cause - A more detailed
-- explanation of the cause of the failure.
--
-- $sel:error:LambdaFunctionFailedEventDetails',
-- lambdaFunctionFailedEventDetails_error - The error code of the
-- failure.
newLambdaFunctionFailedEventDetails :: LambdaFunctionFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
lambdaFunctionFailedEventDetails_cause :: Lens' LambdaFunctionFailedEventDetails (Maybe Text)
-- | The error code of the failure.
lambdaFunctionFailedEventDetails_error :: Lens' LambdaFunctionFailedEventDetails (Maybe Text)
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.LambdaFunctionFailedEventDetails.LambdaFunctionFailedEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.LambdaFunctionFailedEventDetails.LambdaFunctionFailedEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.LambdaFunctionFailedEventDetails.LambdaFunctionFailedEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.LambdaFunctionFailedEventDetails.LambdaFunctionFailedEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.LambdaFunctionFailedEventDetails.LambdaFunctionFailedEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.LambdaFunctionFailedEventDetails.LambdaFunctionFailedEventDetails
module Amazonka.StepFunctions.Types.LambdaFunctionScheduleFailedEventDetails
-- | Contains details about a failed Lambda function schedule event that
-- occurred during an execution.
--
-- See: newLambdaFunctionScheduleFailedEventDetails smart
-- constructor.
data LambdaFunctionScheduleFailedEventDetails
LambdaFunctionScheduleFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> LambdaFunctionScheduleFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
[$sel:cause:LambdaFunctionScheduleFailedEventDetails'] :: LambdaFunctionScheduleFailedEventDetails -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:LambdaFunctionScheduleFailedEventDetails'] :: LambdaFunctionScheduleFailedEventDetails -> Maybe (Sensitive Text)
-- | Create a value of LambdaFunctionScheduleFailedEventDetails with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:LambdaFunctionScheduleFailedEventDetails',
-- lambdaFunctionScheduleFailedEventDetails_cause - A more
-- detailed explanation of the cause of the failure.
--
-- $sel:error:LambdaFunctionScheduleFailedEventDetails',
-- lambdaFunctionScheduleFailedEventDetails_error - The error code
-- of the failure.
newLambdaFunctionScheduleFailedEventDetails :: LambdaFunctionScheduleFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
lambdaFunctionScheduleFailedEventDetails_cause :: Lens' LambdaFunctionScheduleFailedEventDetails (Maybe Text)
-- | The error code of the failure.
lambdaFunctionScheduleFailedEventDetails_error :: Lens' LambdaFunctionScheduleFailedEventDetails (Maybe Text)
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.LambdaFunctionScheduleFailedEventDetails.LambdaFunctionScheduleFailedEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.LambdaFunctionScheduleFailedEventDetails.LambdaFunctionScheduleFailedEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.LambdaFunctionScheduleFailedEventDetails.LambdaFunctionScheduleFailedEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.LambdaFunctionScheduleFailedEventDetails.LambdaFunctionScheduleFailedEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.LambdaFunctionScheduleFailedEventDetails.LambdaFunctionScheduleFailedEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.LambdaFunctionScheduleFailedEventDetails.LambdaFunctionScheduleFailedEventDetails
module Amazonka.StepFunctions.Types.LambdaFunctionStartFailedEventDetails
-- | Contains details about a lambda function that failed to start during
-- an execution.
--
-- See: newLambdaFunctionStartFailedEventDetails smart
-- constructor.
data LambdaFunctionStartFailedEventDetails
LambdaFunctionStartFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> LambdaFunctionStartFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
[$sel:cause:LambdaFunctionStartFailedEventDetails'] :: LambdaFunctionStartFailedEventDetails -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:LambdaFunctionStartFailedEventDetails'] :: LambdaFunctionStartFailedEventDetails -> Maybe (Sensitive Text)
-- | Create a value of LambdaFunctionStartFailedEventDetails with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:LambdaFunctionStartFailedEventDetails',
-- lambdaFunctionStartFailedEventDetails_cause - A more detailed
-- explanation of the cause of the failure.
--
-- $sel:error:LambdaFunctionStartFailedEventDetails',
-- lambdaFunctionStartFailedEventDetails_error - The error code of
-- the failure.
newLambdaFunctionStartFailedEventDetails :: LambdaFunctionStartFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
lambdaFunctionStartFailedEventDetails_cause :: Lens' LambdaFunctionStartFailedEventDetails (Maybe Text)
-- | The error code of the failure.
lambdaFunctionStartFailedEventDetails_error :: Lens' LambdaFunctionStartFailedEventDetails (Maybe Text)
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.LambdaFunctionStartFailedEventDetails.LambdaFunctionStartFailedEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.LambdaFunctionStartFailedEventDetails.LambdaFunctionStartFailedEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.LambdaFunctionStartFailedEventDetails.LambdaFunctionStartFailedEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.LambdaFunctionStartFailedEventDetails.LambdaFunctionStartFailedEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.LambdaFunctionStartFailedEventDetails.LambdaFunctionStartFailedEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.LambdaFunctionStartFailedEventDetails.LambdaFunctionStartFailedEventDetails
module Amazonka.StepFunctions.Types.LambdaFunctionSucceededEventDetails
-- | Contains details about a Lambda function that successfully terminated
-- during an execution.
--
-- See: newLambdaFunctionSucceededEventDetails smart
-- constructor.
data LambdaFunctionSucceededEventDetails
LambdaFunctionSucceededEventDetails' :: Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> LambdaFunctionSucceededEventDetails
-- | The JSON data output by the Lambda function. Length constraints apply
-- to the payload size, and are expressed as bytes in UTF-8 encoding.
[$sel:output:LambdaFunctionSucceededEventDetails'] :: LambdaFunctionSucceededEventDetails -> Maybe (Sensitive Text)
-- | Contains details about the output of an execution history event.
[$sel:outputDetails:LambdaFunctionSucceededEventDetails'] :: LambdaFunctionSucceededEventDetails -> Maybe HistoryEventExecutionDataDetails
-- | Create a value of LambdaFunctionSucceededEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:output:LambdaFunctionSucceededEventDetails',
-- lambdaFunctionSucceededEventDetails_output - The JSON data
-- output by the Lambda function. Length constraints apply to the payload
-- size, and are expressed as bytes in UTF-8 encoding.
--
-- $sel:outputDetails:LambdaFunctionSucceededEventDetails',
-- lambdaFunctionSucceededEventDetails_outputDetails - Contains
-- details about the output of an execution history event.
newLambdaFunctionSucceededEventDetails :: LambdaFunctionSucceededEventDetails
-- | The JSON data output by the Lambda function. Length constraints apply
-- to the payload size, and are expressed as bytes in UTF-8 encoding.
lambdaFunctionSucceededEventDetails_output :: Lens' LambdaFunctionSucceededEventDetails (Maybe Text)
-- | Contains details about the output of an execution history event.
lambdaFunctionSucceededEventDetails_outputDetails :: Lens' LambdaFunctionSucceededEventDetails (Maybe HistoryEventExecutionDataDetails)
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.LambdaFunctionSucceededEventDetails.LambdaFunctionSucceededEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.LambdaFunctionSucceededEventDetails.LambdaFunctionSucceededEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.LambdaFunctionSucceededEventDetails.LambdaFunctionSucceededEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.LambdaFunctionSucceededEventDetails.LambdaFunctionSucceededEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.LambdaFunctionSucceededEventDetails.LambdaFunctionSucceededEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.LambdaFunctionSucceededEventDetails.LambdaFunctionSucceededEventDetails
module Amazonka.StepFunctions.Types.LambdaFunctionTimedOutEventDetails
-- | Contains details about a Lambda function timeout that occurred during
-- an execution.
--
-- See: newLambdaFunctionTimedOutEventDetails smart
-- constructor.
data LambdaFunctionTimedOutEventDetails
LambdaFunctionTimedOutEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> LambdaFunctionTimedOutEventDetails
-- | A more detailed explanation of the cause of the timeout.
[$sel:cause:LambdaFunctionTimedOutEventDetails'] :: LambdaFunctionTimedOutEventDetails -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:LambdaFunctionTimedOutEventDetails'] :: LambdaFunctionTimedOutEventDetails -> Maybe (Sensitive Text)
-- | Create a value of LambdaFunctionTimedOutEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:LambdaFunctionTimedOutEventDetails',
-- lambdaFunctionTimedOutEventDetails_cause - A more detailed
-- explanation of the cause of the timeout.
--
-- $sel:error:LambdaFunctionTimedOutEventDetails',
-- lambdaFunctionTimedOutEventDetails_error - The error code of
-- the failure.
newLambdaFunctionTimedOutEventDetails :: LambdaFunctionTimedOutEventDetails
-- | A more detailed explanation of the cause of the timeout.
lambdaFunctionTimedOutEventDetails_cause :: Lens' LambdaFunctionTimedOutEventDetails (Maybe Text)
-- | The error code of the failure.
lambdaFunctionTimedOutEventDetails_error :: Lens' LambdaFunctionTimedOutEventDetails (Maybe Text)
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.LambdaFunctionTimedOutEventDetails.LambdaFunctionTimedOutEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.LambdaFunctionTimedOutEventDetails.LambdaFunctionTimedOutEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.LambdaFunctionTimedOutEventDetails.LambdaFunctionTimedOutEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.LambdaFunctionTimedOutEventDetails.LambdaFunctionTimedOutEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.LambdaFunctionTimedOutEventDetails.LambdaFunctionTimedOutEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.LambdaFunctionTimedOutEventDetails.LambdaFunctionTimedOutEventDetails
module Amazonka.StepFunctions.Types.LogDestination
-- | See: newLogDestination smart constructor.
data LogDestination
LogDestination' :: Maybe CloudWatchLogsLogGroup -> LogDestination
-- | An object describing a CloudWatch log group. For more information, see
-- AWS::Logs::LogGroup in the CloudFormation User Guide.
[$sel:cloudWatchLogsLogGroup:LogDestination'] :: LogDestination -> Maybe CloudWatchLogsLogGroup
-- | Create a value of LogDestination with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cloudWatchLogsLogGroup:LogDestination',
-- logDestination_cloudWatchLogsLogGroup - An object describing a
-- CloudWatch log group. For more information, see
-- AWS::Logs::LogGroup in the CloudFormation User Guide.
newLogDestination :: LogDestination
-- | An object describing a CloudWatch log group. For more information, see
-- AWS::Logs::LogGroup in the CloudFormation User Guide.
logDestination_cloudWatchLogsLogGroup :: Lens' LogDestination (Maybe CloudWatchLogsLogGroup)
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.LogDestination.LogDestination
instance GHC.Show.Show Amazonka.StepFunctions.Types.LogDestination.LogDestination
instance GHC.Read.Read Amazonka.StepFunctions.Types.LogDestination.LogDestination
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.LogDestination.LogDestination
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.LogDestination.LogDestination
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.LogDestination.LogDestination
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.LogDestination.LogDestination
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.Types.LogDestination.LogDestination
module Amazonka.StepFunctions.Types.LogLevel
newtype LogLevel
LogLevel' :: Text -> LogLevel
[fromLogLevel] :: LogLevel -> Text
pattern LogLevel_ALL :: LogLevel
pattern LogLevel_ERROR :: LogLevel
pattern LogLevel_FATAL :: LogLevel
pattern LogLevel_OFF :: LogLevel
instance Amazonka.Data.XML.ToXML Amazonka.StepFunctions.Types.LogLevel.LogLevel
instance Amazonka.Data.XML.FromXML Amazonka.StepFunctions.Types.LogLevel.LogLevel
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.StepFunctions.Types.LogLevel.LogLevel
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.Types.LogLevel.LogLevel
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.StepFunctions.Types.LogLevel.LogLevel
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.LogLevel.LogLevel
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.Types.LogLevel.LogLevel
instance Amazonka.Data.Headers.ToHeader Amazonka.StepFunctions.Types.LogLevel.LogLevel
instance Amazonka.Data.Log.ToLog Amazonka.StepFunctions.Types.LogLevel.LogLevel
instance Amazonka.Data.ByteString.ToByteString Amazonka.StepFunctions.Types.LogLevel.LogLevel
instance Amazonka.Data.Text.ToText Amazonka.StepFunctions.Types.LogLevel.LogLevel
instance Amazonka.Data.Text.FromText Amazonka.StepFunctions.Types.LogLevel.LogLevel
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.LogLevel.LogLevel
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.LogLevel.LogLevel
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.LogLevel.LogLevel
instance GHC.Classes.Ord Amazonka.StepFunctions.Types.LogLevel.LogLevel
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.LogLevel.LogLevel
instance GHC.Read.Read Amazonka.StepFunctions.Types.LogLevel.LogLevel
instance GHC.Show.Show Amazonka.StepFunctions.Types.LogLevel.LogLevel
module Amazonka.StepFunctions.Types.LoggingConfiguration
-- | The LoggingConfiguration data type is used to set CloudWatch
-- Logs options.
--
-- See: newLoggingConfiguration smart constructor.
data LoggingConfiguration
LoggingConfiguration' :: Maybe [LogDestination] -> Maybe Bool -> Maybe LogLevel -> LoggingConfiguration
-- | An array of objects that describes where your execution history events
-- will be logged. Limited to size 1. Required, if your log level is not
-- set to OFF.
[$sel:destinations:LoggingConfiguration'] :: LoggingConfiguration -> Maybe [LogDestination]
-- | Determines whether execution data is included in your log. When set to
-- false, data is excluded.
[$sel:includeExecutionData:LoggingConfiguration'] :: LoggingConfiguration -> Maybe Bool
-- | Defines which category of execution history events are logged.
[$sel:level:LoggingConfiguration'] :: LoggingConfiguration -> Maybe LogLevel
-- | Create a value of LoggingConfiguration with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:destinations:LoggingConfiguration',
-- loggingConfiguration_destinations - An array of objects that
-- describes where your execution history events will be logged. Limited
-- to size 1. Required, if your log level is not set to OFF.
--
-- $sel:includeExecutionData:LoggingConfiguration',
-- loggingConfiguration_includeExecutionData - Determines whether
-- execution data is included in your log. When set to false,
-- data is excluded.
--
-- $sel:level:LoggingConfiguration',
-- loggingConfiguration_level - Defines which category of
-- execution history events are logged.
newLoggingConfiguration :: LoggingConfiguration
-- | An array of objects that describes where your execution history events
-- will be logged. Limited to size 1. Required, if your log level is not
-- set to OFF.
loggingConfiguration_destinations :: Lens' LoggingConfiguration (Maybe [LogDestination])
-- | Determines whether execution data is included in your log. When set to
-- false, data is excluded.
loggingConfiguration_includeExecutionData :: Lens' LoggingConfiguration (Maybe Bool)
-- | Defines which category of execution history events are logged.
loggingConfiguration_level :: Lens' LoggingConfiguration (Maybe LogLevel)
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.LoggingConfiguration.LoggingConfiguration
instance GHC.Show.Show Amazonka.StepFunctions.Types.LoggingConfiguration.LoggingConfiguration
instance GHC.Read.Read Amazonka.StepFunctions.Types.LoggingConfiguration.LoggingConfiguration
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.LoggingConfiguration.LoggingConfiguration
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.LoggingConfiguration.LoggingConfiguration
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.LoggingConfiguration.LoggingConfiguration
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.LoggingConfiguration.LoggingConfiguration
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.Types.LoggingConfiguration.LoggingConfiguration
module Amazonka.StepFunctions.Types.MapIterationEventDetails
-- | Contains details about an iteration of a Map state.
--
-- See: newMapIterationEventDetails smart constructor.
data MapIterationEventDetails
MapIterationEventDetails' :: Maybe Natural -> Maybe Text -> MapIterationEventDetails
-- | The index of the array belonging to the Map state iteration.
[$sel:index:MapIterationEventDetails'] :: MapIterationEventDetails -> Maybe Natural
-- | The name of the iteration’s parent Map state.
[$sel:name:MapIterationEventDetails'] :: MapIterationEventDetails -> Maybe Text
-- | Create a value of MapIterationEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:index:MapIterationEventDetails',
-- mapIterationEventDetails_index - The index of the array
-- belonging to the Map state iteration.
--
-- $sel:name:MapIterationEventDetails',
-- mapIterationEventDetails_name - The name of the iteration’s
-- parent Map state.
newMapIterationEventDetails :: MapIterationEventDetails
-- | The index of the array belonging to the Map state iteration.
mapIterationEventDetails_index :: Lens' MapIterationEventDetails (Maybe Natural)
-- | The name of the iteration’s parent Map state.
mapIterationEventDetails_name :: Lens' MapIterationEventDetails (Maybe Text)
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.MapIterationEventDetails.MapIterationEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.MapIterationEventDetails.MapIterationEventDetails
instance GHC.Read.Read Amazonka.StepFunctions.Types.MapIterationEventDetails.MapIterationEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.MapIterationEventDetails.MapIterationEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.MapIterationEventDetails.MapIterationEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.MapIterationEventDetails.MapIterationEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.MapIterationEventDetails.MapIterationEventDetails
module Amazonka.StepFunctions.Types.MapRunExecutionCounts
-- | Contains details about all of the child workflow executions started by
-- a Map Run.
--
-- See: newMapRunExecutionCounts smart constructor.
data MapRunExecutionCounts
MapRunExecutionCounts' :: Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> MapRunExecutionCounts
-- | The total number of child workflow executions that were started by a
-- Map Run, but haven't started executing yet.
[$sel:pending:MapRunExecutionCounts'] :: MapRunExecutionCounts -> Natural
-- | The total number of child workflow executions that were started by a
-- Map Run and are currently in-progress.
[$sel:running:MapRunExecutionCounts'] :: MapRunExecutionCounts -> Natural
-- | The total number of child workflow executions that were started by a
-- Map Run and have completed successfully.
[$sel:succeeded:MapRunExecutionCounts'] :: MapRunExecutionCounts -> Natural
-- | The total number of child workflow executions that were started by a
-- Map Run, but have failed.
[$sel:failed:MapRunExecutionCounts'] :: MapRunExecutionCounts -> Natural
-- | The total number of child workflow executions that were started by a
-- Map Run and have timed out.
[$sel:timedOut:MapRunExecutionCounts'] :: MapRunExecutionCounts -> Natural
-- | The total number of child workflow executions that were started by a
-- Map Run and were running, but were either stopped by the user or by
-- Step Functions because the Map Run failed.
[$sel:aborted:MapRunExecutionCounts'] :: MapRunExecutionCounts -> Natural
-- | The total number of child workflow executions that were started by a
-- Map Run.
[$sel:total:MapRunExecutionCounts'] :: MapRunExecutionCounts -> Natural
-- | Returns the count of child workflow executions whose results were
-- written by ResultWriter. For more information, see
-- ResultWriter in the Step Functions Developer Guide.
[$sel:resultsWritten:MapRunExecutionCounts'] :: MapRunExecutionCounts -> Natural
-- | Create a value of MapRunExecutionCounts with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:pending:MapRunExecutionCounts',
-- mapRunExecutionCounts_pending - The total number of child
-- workflow executions that were started by a Map Run, but haven't
-- started executing yet.
--
-- $sel:running:MapRunExecutionCounts',
-- mapRunExecutionCounts_running - The total number of child
-- workflow executions that were started by a Map Run and are currently
-- in-progress.
--
-- $sel:succeeded:MapRunExecutionCounts',
-- mapRunExecutionCounts_succeeded - The total number of child
-- workflow executions that were started by a Map Run and have completed
-- successfully.
--
-- $sel:failed:MapRunExecutionCounts',
-- mapRunExecutionCounts_failed - The total number of child
-- workflow executions that were started by a Map Run, but have failed.
--
-- $sel:timedOut:MapRunExecutionCounts',
-- mapRunExecutionCounts_timedOut - The total number of child
-- workflow executions that were started by a Map Run and have timed out.
--
-- $sel:aborted:MapRunExecutionCounts',
-- mapRunExecutionCounts_aborted - The total number of child
-- workflow executions that were started by a Map Run and were running,
-- but were either stopped by the user or by Step Functions because the
-- Map Run failed.
--
-- $sel:total:MapRunExecutionCounts',
-- mapRunExecutionCounts_total - The total number of child
-- workflow executions that were started by a Map Run.
--
-- $sel:resultsWritten:MapRunExecutionCounts',
-- mapRunExecutionCounts_resultsWritten - Returns the count of
-- child workflow executions whose results were written by
-- ResultWriter. For more information, see ResultWriter
-- in the Step Functions Developer Guide.
newMapRunExecutionCounts :: Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> MapRunExecutionCounts
-- | The total number of child workflow executions that were started by a
-- Map Run, but haven't started executing yet.
mapRunExecutionCounts_pending :: Lens' MapRunExecutionCounts Natural
-- | The total number of child workflow executions that were started by a
-- Map Run and are currently in-progress.
mapRunExecutionCounts_running :: Lens' MapRunExecutionCounts Natural
-- | The total number of child workflow executions that were started by a
-- Map Run and have completed successfully.
mapRunExecutionCounts_succeeded :: Lens' MapRunExecutionCounts Natural
-- | The total number of child workflow executions that were started by a
-- Map Run, but have failed.
mapRunExecutionCounts_failed :: Lens' MapRunExecutionCounts Natural
-- | The total number of child workflow executions that were started by a
-- Map Run and have timed out.
mapRunExecutionCounts_timedOut :: Lens' MapRunExecutionCounts Natural
-- | The total number of child workflow executions that were started by a
-- Map Run and were running, but were either stopped by the user or by
-- Step Functions because the Map Run failed.
mapRunExecutionCounts_aborted :: Lens' MapRunExecutionCounts Natural
-- | The total number of child workflow executions that were started by a
-- Map Run.
mapRunExecutionCounts_total :: Lens' MapRunExecutionCounts Natural
-- | Returns the count of child workflow executions whose results were
-- written by ResultWriter. For more information, see
-- ResultWriter in the Step Functions Developer Guide.
mapRunExecutionCounts_resultsWritten :: Lens' MapRunExecutionCounts Natural
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.MapRunExecutionCounts.MapRunExecutionCounts
instance GHC.Show.Show Amazonka.StepFunctions.Types.MapRunExecutionCounts.MapRunExecutionCounts
instance GHC.Read.Read Amazonka.StepFunctions.Types.MapRunExecutionCounts.MapRunExecutionCounts
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.MapRunExecutionCounts.MapRunExecutionCounts
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.MapRunExecutionCounts.MapRunExecutionCounts
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.MapRunExecutionCounts.MapRunExecutionCounts
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.MapRunExecutionCounts.MapRunExecutionCounts
module Amazonka.StepFunctions.Types.MapRunFailedEventDetails
-- | Contains details about a Map Run failure event that occurred during a
-- state machine execution.
--
-- See: newMapRunFailedEventDetails smart constructor.
data MapRunFailedEventDetails
MapRunFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> MapRunFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
[$sel:cause:MapRunFailedEventDetails'] :: MapRunFailedEventDetails -> Maybe (Sensitive Text)
-- | The error code of the Map Run failure.
[$sel:error:MapRunFailedEventDetails'] :: MapRunFailedEventDetails -> Maybe (Sensitive Text)
-- | Create a value of MapRunFailedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:MapRunFailedEventDetails',
-- mapRunFailedEventDetails_cause - A more detailed explanation of
-- the cause of the failure.
--
-- $sel:error:MapRunFailedEventDetails',
-- mapRunFailedEventDetails_error - The error code of the Map Run
-- failure.
newMapRunFailedEventDetails :: MapRunFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
mapRunFailedEventDetails_cause :: Lens' MapRunFailedEventDetails (Maybe Text)
-- | The error code of the Map Run failure.
mapRunFailedEventDetails_error :: Lens' MapRunFailedEventDetails (Maybe Text)
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.MapRunFailedEventDetails.MapRunFailedEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.MapRunFailedEventDetails.MapRunFailedEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.MapRunFailedEventDetails.MapRunFailedEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.MapRunFailedEventDetails.MapRunFailedEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.MapRunFailedEventDetails.MapRunFailedEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.MapRunFailedEventDetails.MapRunFailedEventDetails
module Amazonka.StepFunctions.Types.MapRunItemCounts
-- | Contains details about items that were processed in all of the child
-- workflow executions that were started by a Map Run.
--
-- See: newMapRunItemCounts smart constructor.
data MapRunItemCounts
MapRunItemCounts' :: Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> MapRunItemCounts
-- | The total number of items to process in child workflow executions that
-- haven't started running yet.
[$sel:pending:MapRunItemCounts'] :: MapRunItemCounts -> Natural
-- | The total number of items being processed in child workflow executions
-- that are currently in-progress.
[$sel:running:MapRunItemCounts'] :: MapRunItemCounts -> Natural
-- | The total number of items processed in child workflow executions that
-- have completed successfully.
[$sel:succeeded:MapRunItemCounts'] :: MapRunItemCounts -> Natural
-- | The total number of items processed in child workflow executions that
-- have failed.
[$sel:failed:MapRunItemCounts'] :: MapRunItemCounts -> Natural
-- | The total number of items processed in child workflow executions that
-- have timed out.
[$sel:timedOut:MapRunItemCounts'] :: MapRunItemCounts -> Natural
-- | The total number of items processed in child workflow executions that
-- were either stopped by the user or by Step Functions, because the Map
-- Run failed.
[$sel:aborted:MapRunItemCounts'] :: MapRunItemCounts -> Natural
-- | The total number of items processed in all the child workflow
-- executions started by a Map Run.
[$sel:total:MapRunItemCounts'] :: MapRunItemCounts -> Natural
-- | Returns the count of items whose results were written by
-- ResultWriter. For more information, see ResultWriter
-- in the Step Functions Developer Guide.
[$sel:resultsWritten:MapRunItemCounts'] :: MapRunItemCounts -> Natural
-- | Create a value of MapRunItemCounts with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:pending:MapRunItemCounts', mapRunItemCounts_pending
-- - The total number of items to process in child workflow executions
-- that haven't started running yet.
--
-- $sel:running:MapRunItemCounts', mapRunItemCounts_running
-- - The total number of items being processed in child workflow
-- executions that are currently in-progress.
--
-- $sel:succeeded:MapRunItemCounts',
-- mapRunItemCounts_succeeded - The total number of items
-- processed in child workflow executions that have completed
-- successfully.
--
-- $sel:failed:MapRunItemCounts', mapRunItemCounts_failed -
-- The total number of items processed in child workflow executions that
-- have failed.
--
-- $sel:timedOut:MapRunItemCounts',
-- mapRunItemCounts_timedOut - The total number of items processed
-- in child workflow executions that have timed out.
--
-- $sel:aborted:MapRunItemCounts', mapRunItemCounts_aborted
-- - The total number of items processed in child workflow executions
-- that were either stopped by the user or by Step Functions, because the
-- Map Run failed.
--
-- $sel:total:MapRunItemCounts', mapRunItemCounts_total -
-- The total number of items processed in all the child workflow
-- executions started by a Map Run.
--
-- $sel:resultsWritten:MapRunItemCounts',
-- mapRunItemCounts_resultsWritten - Returns the count of items
-- whose results were written by ResultWriter. For more
-- information, see ResultWriter in the Step Functions
-- Developer Guide.
newMapRunItemCounts :: Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> MapRunItemCounts
-- | The total number of items to process in child workflow executions that
-- haven't started running yet.
mapRunItemCounts_pending :: Lens' MapRunItemCounts Natural
-- | The total number of items being processed in child workflow executions
-- that are currently in-progress.
mapRunItemCounts_running :: Lens' MapRunItemCounts Natural
-- | The total number of items processed in child workflow executions that
-- have completed successfully.
mapRunItemCounts_succeeded :: Lens' MapRunItemCounts Natural
-- | The total number of items processed in child workflow executions that
-- have failed.
mapRunItemCounts_failed :: Lens' MapRunItemCounts Natural
-- | The total number of items processed in child workflow executions that
-- have timed out.
mapRunItemCounts_timedOut :: Lens' MapRunItemCounts Natural
-- | The total number of items processed in child workflow executions that
-- were either stopped by the user or by Step Functions, because the Map
-- Run failed.
mapRunItemCounts_aborted :: Lens' MapRunItemCounts Natural
-- | The total number of items processed in all the child workflow
-- executions started by a Map Run.
mapRunItemCounts_total :: Lens' MapRunItemCounts Natural
-- | Returns the count of items whose results were written by
-- ResultWriter. For more information, see ResultWriter
-- in the Step Functions Developer Guide.
mapRunItemCounts_resultsWritten :: Lens' MapRunItemCounts Natural
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.MapRunItemCounts.MapRunItemCounts
instance GHC.Show.Show Amazonka.StepFunctions.Types.MapRunItemCounts.MapRunItemCounts
instance GHC.Read.Read Amazonka.StepFunctions.Types.MapRunItemCounts.MapRunItemCounts
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.MapRunItemCounts.MapRunItemCounts
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.MapRunItemCounts.MapRunItemCounts
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.MapRunItemCounts.MapRunItemCounts
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.MapRunItemCounts.MapRunItemCounts
module Amazonka.StepFunctions.Types.MapRunListItem
-- | Contains details about a specific Map Run.
--
-- See: newMapRunListItem smart constructor.
data MapRunListItem
MapRunListItem' :: Maybe POSIX -> Text -> Text -> Text -> POSIX -> MapRunListItem
-- | The date on which the Map Run stopped.
[$sel:stopDate:MapRunListItem'] :: MapRunListItem -> Maybe POSIX
-- | The executionArn of the execution from which the Map Run was
-- started.
[$sel:executionArn:MapRunListItem'] :: MapRunListItem -> Text
-- | The Amazon Resource Name (ARN) of the Map Run.
[$sel:mapRunArn:MapRunListItem'] :: MapRunListItem -> Text
-- | The Amazon Resource Name (ARN) of the executed state machine.
[$sel:stateMachineArn:MapRunListItem'] :: MapRunListItem -> Text
-- | The date on which the Map Run started.
[$sel:startDate:MapRunListItem'] :: MapRunListItem -> POSIX
-- | Create a value of MapRunListItem with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:stopDate:MapRunListItem', mapRunListItem_stopDate -
-- The date on which the Map Run stopped.
--
-- $sel:executionArn:MapRunListItem',
-- mapRunListItem_executionArn - The executionArn of the
-- execution from which the Map Run was started.
--
-- $sel:mapRunArn:MapRunListItem', mapRunListItem_mapRunArn
-- - The Amazon Resource Name (ARN) of the Map Run.
--
-- $sel:stateMachineArn:MapRunListItem',
-- mapRunListItem_stateMachineArn - The Amazon Resource Name (ARN)
-- of the executed state machine.
--
-- $sel:startDate:MapRunListItem', mapRunListItem_startDate
-- - The date on which the Map Run started.
newMapRunListItem :: Text -> Text -> Text -> UTCTime -> MapRunListItem
-- | The date on which the Map Run stopped.
mapRunListItem_stopDate :: Lens' MapRunListItem (Maybe UTCTime)
-- | The executionArn of the execution from which the Map Run was
-- started.
mapRunListItem_executionArn :: Lens' MapRunListItem Text
-- | The Amazon Resource Name (ARN) of the Map Run.
mapRunListItem_mapRunArn :: Lens' MapRunListItem Text
-- | The Amazon Resource Name (ARN) of the executed state machine.
mapRunListItem_stateMachineArn :: Lens' MapRunListItem Text
-- | The date on which the Map Run started.
mapRunListItem_startDate :: Lens' MapRunListItem UTCTime
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.MapRunListItem.MapRunListItem
instance GHC.Show.Show Amazonka.StepFunctions.Types.MapRunListItem.MapRunListItem
instance GHC.Read.Read Amazonka.StepFunctions.Types.MapRunListItem.MapRunListItem
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.MapRunListItem.MapRunListItem
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.MapRunListItem.MapRunListItem
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.MapRunListItem.MapRunListItem
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.MapRunListItem.MapRunListItem
module Amazonka.StepFunctions.Types.MapRunStartedEventDetails
-- | Contains details about a Map Run that was started during a state
-- machine execution.
--
-- See: newMapRunStartedEventDetails smart constructor.
data MapRunStartedEventDetails
MapRunStartedEventDetails' :: Maybe Text -> MapRunStartedEventDetails
-- | The Amazon Resource Name (ARN) of a Map Run that was started.
[$sel:mapRunArn:MapRunStartedEventDetails'] :: MapRunStartedEventDetails -> Maybe Text
-- | Create a value of MapRunStartedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:mapRunArn:MapRunStartedEventDetails',
-- mapRunStartedEventDetails_mapRunArn - The Amazon Resource Name
-- (ARN) of a Map Run that was started.
newMapRunStartedEventDetails :: MapRunStartedEventDetails
-- | The Amazon Resource Name (ARN) of a Map Run that was started.
mapRunStartedEventDetails_mapRunArn :: Lens' MapRunStartedEventDetails (Maybe Text)
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.MapRunStartedEventDetails.MapRunStartedEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.MapRunStartedEventDetails.MapRunStartedEventDetails
instance GHC.Read.Read Amazonka.StepFunctions.Types.MapRunStartedEventDetails.MapRunStartedEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.MapRunStartedEventDetails.MapRunStartedEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.MapRunStartedEventDetails.MapRunStartedEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.MapRunStartedEventDetails.MapRunStartedEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.MapRunStartedEventDetails.MapRunStartedEventDetails
module Amazonka.StepFunctions.Types.MapRunStatus
newtype MapRunStatus
MapRunStatus' :: Text -> MapRunStatus
[fromMapRunStatus] :: MapRunStatus -> Text
pattern MapRunStatus_ABORTED :: MapRunStatus
pattern MapRunStatus_FAILED :: MapRunStatus
pattern MapRunStatus_RUNNING :: MapRunStatus
pattern MapRunStatus_SUCCEEDED :: MapRunStatus
instance Amazonka.Data.XML.ToXML Amazonka.StepFunctions.Types.MapRunStatus.MapRunStatus
instance Amazonka.Data.XML.FromXML Amazonka.StepFunctions.Types.MapRunStatus.MapRunStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.StepFunctions.Types.MapRunStatus.MapRunStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.Types.MapRunStatus.MapRunStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.StepFunctions.Types.MapRunStatus.MapRunStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.MapRunStatus.MapRunStatus
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.Types.MapRunStatus.MapRunStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.StepFunctions.Types.MapRunStatus.MapRunStatus
instance Amazonka.Data.Log.ToLog Amazonka.StepFunctions.Types.MapRunStatus.MapRunStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.StepFunctions.Types.MapRunStatus.MapRunStatus
instance Amazonka.Data.Text.ToText Amazonka.StepFunctions.Types.MapRunStatus.MapRunStatus
instance Amazonka.Data.Text.FromText Amazonka.StepFunctions.Types.MapRunStatus.MapRunStatus
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.MapRunStatus.MapRunStatus
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.MapRunStatus.MapRunStatus
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.MapRunStatus.MapRunStatus
instance GHC.Classes.Ord Amazonka.StepFunctions.Types.MapRunStatus.MapRunStatus
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.MapRunStatus.MapRunStatus
instance GHC.Read.Read Amazonka.StepFunctions.Types.MapRunStatus.MapRunStatus
instance GHC.Show.Show Amazonka.StepFunctions.Types.MapRunStatus.MapRunStatus
module Amazonka.StepFunctions.Types.MapStateStartedEventDetails
-- | Details about a Map state that was started.
--
-- See: newMapStateStartedEventDetails smart constructor.
data MapStateStartedEventDetails
MapStateStartedEventDetails' :: Maybe Natural -> MapStateStartedEventDetails
-- | The size of the array for Map state iterations.
[$sel:length:MapStateStartedEventDetails'] :: MapStateStartedEventDetails -> Maybe Natural
-- | Create a value of MapStateStartedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:length:MapStateStartedEventDetails',
-- mapStateStartedEventDetails_length - The size of the array for
-- Map state iterations.
newMapStateStartedEventDetails :: MapStateStartedEventDetails
-- | The size of the array for Map state iterations.
mapStateStartedEventDetails_length :: Lens' MapStateStartedEventDetails (Maybe Natural)
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.MapStateStartedEventDetails.MapStateStartedEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.MapStateStartedEventDetails.MapStateStartedEventDetails
instance GHC.Read.Read Amazonka.StepFunctions.Types.MapStateStartedEventDetails.MapStateStartedEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.MapStateStartedEventDetails.MapStateStartedEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.MapStateStartedEventDetails.MapStateStartedEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.MapStateStartedEventDetails.MapStateStartedEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.MapStateStartedEventDetails.MapStateStartedEventDetails
module Amazonka.StepFunctions.Types.StateEnteredEventDetails
-- | Contains details about a state entered during an execution.
--
-- See: newStateEnteredEventDetails smart constructor.
data StateEnteredEventDetails
StateEnteredEventDetails' :: Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> Text -> StateEnteredEventDetails
-- | The string that contains the JSON input data for the state. Length
-- constraints apply to the payload size, and are expressed as bytes in
-- UTF-8 encoding.
[$sel:input:StateEnteredEventDetails'] :: StateEnteredEventDetails -> Maybe (Sensitive Text)
-- | Contains details about the input for an execution history event.
[$sel:inputDetails:StateEnteredEventDetails'] :: StateEnteredEventDetails -> Maybe HistoryEventExecutionDataDetails
-- | The name of the state.
[$sel:name:StateEnteredEventDetails'] :: StateEnteredEventDetails -> Text
-- | Create a value of StateEnteredEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:input:StateEnteredEventDetails',
-- stateEnteredEventDetails_input - The string that contains the
-- JSON input data for the state. Length constraints apply to the payload
-- size, and are expressed as bytes in UTF-8 encoding.
--
-- $sel:inputDetails:StateEnteredEventDetails',
-- stateEnteredEventDetails_inputDetails - Contains details about
-- the input for an execution history event.
--
-- $sel:name:StateEnteredEventDetails',
-- stateEnteredEventDetails_name - The name of the state.
newStateEnteredEventDetails :: Text -> StateEnteredEventDetails
-- | The string that contains the JSON input data for the state. Length
-- constraints apply to the payload size, and are expressed as bytes in
-- UTF-8 encoding.
stateEnteredEventDetails_input :: Lens' StateEnteredEventDetails (Maybe Text)
-- | Contains details about the input for an execution history event.
stateEnteredEventDetails_inputDetails :: Lens' StateEnteredEventDetails (Maybe HistoryEventExecutionDataDetails)
-- | The name of the state.
stateEnteredEventDetails_name :: Lens' StateEnteredEventDetails Text
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.StateEnteredEventDetails.StateEnteredEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.StateEnteredEventDetails.StateEnteredEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.StateEnteredEventDetails.StateEnteredEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.StateEnteredEventDetails.StateEnteredEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.StateEnteredEventDetails.StateEnteredEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.StateEnteredEventDetails.StateEnteredEventDetails
module Amazonka.StepFunctions.Types.StateExitedEventDetails
-- | Contains details about an exit from a state during an execution.
--
-- See: newStateExitedEventDetails smart constructor.
data StateExitedEventDetails
StateExitedEventDetails' :: Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> Text -> StateExitedEventDetails
-- | The JSON output data of the state. Length constraints apply to the
-- payload size, and are expressed as bytes in UTF-8 encoding.
[$sel:output:StateExitedEventDetails'] :: StateExitedEventDetails -> Maybe (Sensitive Text)
-- | Contains details about the output of an execution history event.
[$sel:outputDetails:StateExitedEventDetails'] :: StateExitedEventDetails -> Maybe HistoryEventExecutionDataDetails
-- | The name of the state.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
[$sel:name:StateExitedEventDetails'] :: StateExitedEventDetails -> Text
-- | Create a value of StateExitedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:output:StateExitedEventDetails',
-- stateExitedEventDetails_output - The JSON output data of the
-- state. Length constraints apply to the payload size, and are expressed
-- as bytes in UTF-8 encoding.
--
-- $sel:outputDetails:StateExitedEventDetails',
-- stateExitedEventDetails_outputDetails - Contains details about
-- the output of an execution history event.
--
-- $sel:name:StateExitedEventDetails',
-- stateExitedEventDetails_name - The name of the state.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
newStateExitedEventDetails :: Text -> StateExitedEventDetails
-- | The JSON output data of the state. Length constraints apply to the
-- payload size, and are expressed as bytes in UTF-8 encoding.
stateExitedEventDetails_output :: Lens' StateExitedEventDetails (Maybe Text)
-- | Contains details about the output of an execution history event.
stateExitedEventDetails_outputDetails :: Lens' StateExitedEventDetails (Maybe HistoryEventExecutionDataDetails)
-- | The name of the state.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
stateExitedEventDetails_name :: Lens' StateExitedEventDetails Text
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.StateExitedEventDetails.StateExitedEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.StateExitedEventDetails.StateExitedEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.StateExitedEventDetails.StateExitedEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.StateExitedEventDetails.StateExitedEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.StateExitedEventDetails.StateExitedEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.StateExitedEventDetails.StateExitedEventDetails
module Amazonka.StepFunctions.Types.StateMachineStatus
newtype StateMachineStatus
StateMachineStatus' :: Text -> StateMachineStatus
[fromStateMachineStatus] :: StateMachineStatus -> Text
pattern StateMachineStatus_ACTIVE :: StateMachineStatus
pattern StateMachineStatus_DELETING :: StateMachineStatus
instance Amazonka.Data.XML.ToXML Amazonka.StepFunctions.Types.StateMachineStatus.StateMachineStatus
instance Amazonka.Data.XML.FromXML Amazonka.StepFunctions.Types.StateMachineStatus.StateMachineStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.StepFunctions.Types.StateMachineStatus.StateMachineStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.Types.StateMachineStatus.StateMachineStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.StepFunctions.Types.StateMachineStatus.StateMachineStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.StateMachineStatus.StateMachineStatus
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.Types.StateMachineStatus.StateMachineStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.StepFunctions.Types.StateMachineStatus.StateMachineStatus
instance Amazonka.Data.Log.ToLog Amazonka.StepFunctions.Types.StateMachineStatus.StateMachineStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.StepFunctions.Types.StateMachineStatus.StateMachineStatus
instance Amazonka.Data.Text.ToText Amazonka.StepFunctions.Types.StateMachineStatus.StateMachineStatus
instance Amazonka.Data.Text.FromText Amazonka.StepFunctions.Types.StateMachineStatus.StateMachineStatus
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.StateMachineStatus.StateMachineStatus
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.StateMachineStatus.StateMachineStatus
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.StateMachineStatus.StateMachineStatus
instance GHC.Classes.Ord Amazonka.StepFunctions.Types.StateMachineStatus.StateMachineStatus
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.StateMachineStatus.StateMachineStatus
instance GHC.Read.Read Amazonka.StepFunctions.Types.StateMachineStatus.StateMachineStatus
instance GHC.Show.Show Amazonka.StepFunctions.Types.StateMachineStatus.StateMachineStatus
module Amazonka.StepFunctions.Types.StateMachineType
newtype StateMachineType
StateMachineType' :: Text -> StateMachineType
[fromStateMachineType] :: StateMachineType -> Text
pattern StateMachineType_EXPRESS :: StateMachineType
pattern StateMachineType_STANDARD :: StateMachineType
instance Amazonka.Data.XML.ToXML Amazonka.StepFunctions.Types.StateMachineType.StateMachineType
instance Amazonka.Data.XML.FromXML Amazonka.StepFunctions.Types.StateMachineType.StateMachineType
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.StepFunctions.Types.StateMachineType.StateMachineType
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.Types.StateMachineType.StateMachineType
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.StepFunctions.Types.StateMachineType.StateMachineType
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.StateMachineType.StateMachineType
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.Types.StateMachineType.StateMachineType
instance Amazonka.Data.Headers.ToHeader Amazonka.StepFunctions.Types.StateMachineType.StateMachineType
instance Amazonka.Data.Log.ToLog Amazonka.StepFunctions.Types.StateMachineType.StateMachineType
instance Amazonka.Data.ByteString.ToByteString Amazonka.StepFunctions.Types.StateMachineType.StateMachineType
instance Amazonka.Data.Text.ToText Amazonka.StepFunctions.Types.StateMachineType.StateMachineType
instance Amazonka.Data.Text.FromText Amazonka.StepFunctions.Types.StateMachineType.StateMachineType
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.StateMachineType.StateMachineType
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.StateMachineType.StateMachineType
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.StateMachineType.StateMachineType
instance GHC.Classes.Ord Amazonka.StepFunctions.Types.StateMachineType.StateMachineType
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.StateMachineType.StateMachineType
instance GHC.Read.Read Amazonka.StepFunctions.Types.StateMachineType.StateMachineType
instance GHC.Show.Show Amazonka.StepFunctions.Types.StateMachineType.StateMachineType
module Amazonka.StepFunctions.Types.StateMachineListItem
-- | Contains details about the state machine.
--
-- See: newStateMachineListItem smart constructor.
data StateMachineListItem
StateMachineListItem' :: Text -> Text -> StateMachineType -> POSIX -> StateMachineListItem
-- | The Amazon Resource Name (ARN) that identifies the state machine.
[$sel:stateMachineArn:StateMachineListItem'] :: StateMachineListItem -> Text
-- | The name of the state machine.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
[$sel:name:StateMachineListItem'] :: StateMachineListItem -> Text
[$sel:type':StateMachineListItem'] :: StateMachineListItem -> StateMachineType
-- | The date the state machine is created.
[$sel:creationDate:StateMachineListItem'] :: StateMachineListItem -> POSIX
-- | Create a value of StateMachineListItem with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:stateMachineArn:StateMachineListItem',
-- stateMachineListItem_stateMachineArn - The Amazon Resource Name
-- (ARN) that identifies the state machine.
--
-- $sel:name:StateMachineListItem',
-- stateMachineListItem_name - The name of the state machine.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
--
-- $sel:type':StateMachineListItem',
-- stateMachineListItem_type -
--
-- $sel:creationDate:StateMachineListItem',
-- stateMachineListItem_creationDate - The date the state machine
-- is created.
newStateMachineListItem :: Text -> Text -> StateMachineType -> UTCTime -> StateMachineListItem
-- | The Amazon Resource Name (ARN) that identifies the state machine.
stateMachineListItem_stateMachineArn :: Lens' StateMachineListItem Text
-- | The name of the state machine.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
stateMachineListItem_name :: Lens' StateMachineListItem Text
stateMachineListItem_type :: Lens' StateMachineListItem StateMachineType
-- | The date the state machine is created.
stateMachineListItem_creationDate :: Lens' StateMachineListItem UTCTime
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.StateMachineListItem.StateMachineListItem
instance GHC.Show.Show Amazonka.StepFunctions.Types.StateMachineListItem.StateMachineListItem
instance GHC.Read.Read Amazonka.StepFunctions.Types.StateMachineListItem.StateMachineListItem
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.StateMachineListItem.StateMachineListItem
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.StateMachineListItem.StateMachineListItem
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.StateMachineListItem.StateMachineListItem
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.StateMachineListItem.StateMachineListItem
module Amazonka.StepFunctions.Types.SyncExecutionStatus
newtype SyncExecutionStatus
SyncExecutionStatus' :: Text -> SyncExecutionStatus
[fromSyncExecutionStatus] :: SyncExecutionStatus -> Text
pattern SyncExecutionStatus_FAILED :: SyncExecutionStatus
pattern SyncExecutionStatus_SUCCEEDED :: SyncExecutionStatus
pattern SyncExecutionStatus_TIMED_OUT :: SyncExecutionStatus
instance Amazonka.Data.XML.ToXML Amazonka.StepFunctions.Types.SyncExecutionStatus.SyncExecutionStatus
instance Amazonka.Data.XML.FromXML Amazonka.StepFunctions.Types.SyncExecutionStatus.SyncExecutionStatus
instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.StepFunctions.Types.SyncExecutionStatus.SyncExecutionStatus
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.Types.SyncExecutionStatus.SyncExecutionStatus
instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.StepFunctions.Types.SyncExecutionStatus.SyncExecutionStatus
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.SyncExecutionStatus.SyncExecutionStatus
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.Types.SyncExecutionStatus.SyncExecutionStatus
instance Amazonka.Data.Headers.ToHeader Amazonka.StepFunctions.Types.SyncExecutionStatus.SyncExecutionStatus
instance Amazonka.Data.Log.ToLog Amazonka.StepFunctions.Types.SyncExecutionStatus.SyncExecutionStatus
instance Amazonka.Data.ByteString.ToByteString Amazonka.StepFunctions.Types.SyncExecutionStatus.SyncExecutionStatus
instance Amazonka.Data.Text.ToText Amazonka.StepFunctions.Types.SyncExecutionStatus.SyncExecutionStatus
instance Amazonka.Data.Text.FromText Amazonka.StepFunctions.Types.SyncExecutionStatus.SyncExecutionStatus
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.SyncExecutionStatus.SyncExecutionStatus
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.SyncExecutionStatus.SyncExecutionStatus
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.SyncExecutionStatus.SyncExecutionStatus
instance GHC.Classes.Ord Amazonka.StepFunctions.Types.SyncExecutionStatus.SyncExecutionStatus
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.SyncExecutionStatus.SyncExecutionStatus
instance GHC.Read.Read Amazonka.StepFunctions.Types.SyncExecutionStatus.SyncExecutionStatus
instance GHC.Show.Show Amazonka.StepFunctions.Types.SyncExecutionStatus.SyncExecutionStatus
module Amazonka.StepFunctions.Types.Tag
-- | Tags are key-value pairs that can be associated with Step Functions
-- state machines and activities.
--
-- An array of key-value pairs. For more information, see Using Cost
-- Allocation Tags in the Amazon Web Services Billing and Cost
-- Management User Guide, and Controlling Access Using IAM
-- Tags.
--
-- Tags may only contain Unicode letters, digits, white space, or these
-- symbols: _ . : / = + - @.
--
-- See: newTag smart constructor.
data Tag
Tag' :: Maybe Text -> Maybe Text -> Tag
-- | The key of a tag.
[$sel:key:Tag'] :: Tag -> Maybe Text
-- | The value of a tag.
[$sel:value:Tag'] :: Tag -> Maybe Text
-- | Create a value of Tag with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:key:Tag', tag_key - The key of a tag.
--
-- $sel:value:Tag', tag_value - The value of a tag.
newTag :: Tag
-- | The key of a tag.
tag_key :: Lens' Tag (Maybe Text)
-- | The value of a tag.
tag_value :: Lens' Tag (Maybe Text)
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.Tag.Tag
instance GHC.Show.Show Amazonka.StepFunctions.Types.Tag.Tag
instance GHC.Read.Read Amazonka.StepFunctions.Types.Tag.Tag
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.Tag.Tag
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.Tag.Tag
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.Tag.Tag
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.Tag.Tag
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.Types.Tag.Tag
module Amazonka.StepFunctions.Types.TaskCredentials
-- | Contains details about the credentials that Step Functions uses for a
-- task.
--
-- See: newTaskCredentials smart constructor.
data TaskCredentials
TaskCredentials' :: Maybe Text -> TaskCredentials
-- | The ARN of an IAM role that Step Functions assumes for the task. The
-- role can allow cross-account access to resources.
[$sel:roleArn:TaskCredentials'] :: TaskCredentials -> Maybe Text
-- | Create a value of TaskCredentials with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:roleArn:TaskCredentials', taskCredentials_roleArn -
-- The ARN of an IAM role that Step Functions assumes for the task. The
-- role can allow cross-account access to resources.
newTaskCredentials :: TaskCredentials
-- | The ARN of an IAM role that Step Functions assumes for the task. The
-- role can allow cross-account access to resources.
taskCredentials_roleArn :: Lens' TaskCredentials (Maybe Text)
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.TaskCredentials.TaskCredentials
instance GHC.Show.Show Amazonka.StepFunctions.Types.TaskCredentials.TaskCredentials
instance GHC.Read.Read Amazonka.StepFunctions.Types.TaskCredentials.TaskCredentials
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.TaskCredentials.TaskCredentials
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.TaskCredentials.TaskCredentials
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.TaskCredentials.TaskCredentials
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.TaskCredentials.TaskCredentials
module Amazonka.StepFunctions.Types.LambdaFunctionScheduledEventDetails
-- | Contains details about a Lambda function scheduled during an
-- execution.
--
-- See: newLambdaFunctionScheduledEventDetails smart
-- constructor.
data LambdaFunctionScheduledEventDetails
LambdaFunctionScheduledEventDetails' :: Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> Maybe TaskCredentials -> Maybe Integer -> Text -> LambdaFunctionScheduledEventDetails
-- | The JSON data input to the Lambda function. Length constraints apply
-- to the payload size, and are expressed as bytes in UTF-8 encoding.
[$sel:input:LambdaFunctionScheduledEventDetails'] :: LambdaFunctionScheduledEventDetails -> Maybe (Sensitive Text)
-- | Contains details about input for an execution history event.
[$sel:inputDetails:LambdaFunctionScheduledEventDetails'] :: LambdaFunctionScheduledEventDetails -> Maybe HistoryEventExecutionDataDetails
-- | The credentials that Step Functions uses for the task.
[$sel:taskCredentials:LambdaFunctionScheduledEventDetails'] :: LambdaFunctionScheduledEventDetails -> Maybe TaskCredentials
-- | The maximum allowed duration of the Lambda function.
[$sel:timeoutInSeconds:LambdaFunctionScheduledEventDetails'] :: LambdaFunctionScheduledEventDetails -> Maybe Integer
-- | The Amazon Resource Name (ARN) of the scheduled Lambda function.
[$sel:resource:LambdaFunctionScheduledEventDetails'] :: LambdaFunctionScheduledEventDetails -> Text
-- | Create a value of LambdaFunctionScheduledEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:input:LambdaFunctionScheduledEventDetails',
-- lambdaFunctionScheduledEventDetails_input - The JSON data input
-- to the Lambda function. Length constraints apply to the payload size,
-- and are expressed as bytes in UTF-8 encoding.
--
-- $sel:inputDetails:LambdaFunctionScheduledEventDetails',
-- lambdaFunctionScheduledEventDetails_inputDetails - Contains
-- details about input for an execution history event.
--
-- $sel:taskCredentials:LambdaFunctionScheduledEventDetails',
-- lambdaFunctionScheduledEventDetails_taskCredentials - The
-- credentials that Step Functions uses for the task.
--
-- $sel:timeoutInSeconds:LambdaFunctionScheduledEventDetails',
-- lambdaFunctionScheduledEventDetails_timeoutInSeconds - The
-- maximum allowed duration of the Lambda function.
--
-- $sel:resource:LambdaFunctionScheduledEventDetails',
-- lambdaFunctionScheduledEventDetails_resource - The Amazon
-- Resource Name (ARN) of the scheduled Lambda function.
newLambdaFunctionScheduledEventDetails :: Text -> LambdaFunctionScheduledEventDetails
-- | The JSON data input to the Lambda function. Length constraints apply
-- to the payload size, and are expressed as bytes in UTF-8 encoding.
lambdaFunctionScheduledEventDetails_input :: Lens' LambdaFunctionScheduledEventDetails (Maybe Text)
-- | Contains details about input for an execution history event.
lambdaFunctionScheduledEventDetails_inputDetails :: Lens' LambdaFunctionScheduledEventDetails (Maybe HistoryEventExecutionDataDetails)
-- | The credentials that Step Functions uses for the task.
lambdaFunctionScheduledEventDetails_taskCredentials :: Lens' LambdaFunctionScheduledEventDetails (Maybe TaskCredentials)
-- | The maximum allowed duration of the Lambda function.
lambdaFunctionScheduledEventDetails_timeoutInSeconds :: Lens' LambdaFunctionScheduledEventDetails (Maybe Integer)
-- | The Amazon Resource Name (ARN) of the scheduled Lambda function.
lambdaFunctionScheduledEventDetails_resource :: Lens' LambdaFunctionScheduledEventDetails Text
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.LambdaFunctionScheduledEventDetails.LambdaFunctionScheduledEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.LambdaFunctionScheduledEventDetails.LambdaFunctionScheduledEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.LambdaFunctionScheduledEventDetails.LambdaFunctionScheduledEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.LambdaFunctionScheduledEventDetails.LambdaFunctionScheduledEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.LambdaFunctionScheduledEventDetails.LambdaFunctionScheduledEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.LambdaFunctionScheduledEventDetails.LambdaFunctionScheduledEventDetails
module Amazonka.StepFunctions.Types.TaskFailedEventDetails
-- | Contains details about a task failure event.
--
-- See: newTaskFailedEventDetails smart constructor.
data TaskFailedEventDetails
TaskFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Text -> Text -> TaskFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
[$sel:cause:TaskFailedEventDetails'] :: TaskFailedEventDetails -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:TaskFailedEventDetails'] :: TaskFailedEventDetails -> Maybe (Sensitive Text)
-- | The service name of the resource in a task state.
[$sel:resourceType:TaskFailedEventDetails'] :: TaskFailedEventDetails -> Text
-- | The action of the resource called by a task state.
[$sel:resource:TaskFailedEventDetails'] :: TaskFailedEventDetails -> Text
-- | Create a value of TaskFailedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:TaskFailedEventDetails',
-- taskFailedEventDetails_cause - A more detailed explanation of
-- the cause of the failure.
--
-- $sel:error:TaskFailedEventDetails',
-- taskFailedEventDetails_error - The error code of the failure.
--
-- $sel:resourceType:TaskFailedEventDetails',
-- taskFailedEventDetails_resourceType - The service name of the
-- resource in a task state.
--
-- $sel:resource:TaskFailedEventDetails',
-- taskFailedEventDetails_resource - The action of the resource
-- called by a task state.
newTaskFailedEventDetails :: Text -> Text -> TaskFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
taskFailedEventDetails_cause :: Lens' TaskFailedEventDetails (Maybe Text)
-- | The error code of the failure.
taskFailedEventDetails_error :: Lens' TaskFailedEventDetails (Maybe Text)
-- | The service name of the resource in a task state.
taskFailedEventDetails_resourceType :: Lens' TaskFailedEventDetails Text
-- | The action of the resource called by a task state.
taskFailedEventDetails_resource :: Lens' TaskFailedEventDetails Text
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.TaskFailedEventDetails.TaskFailedEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.TaskFailedEventDetails.TaskFailedEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.TaskFailedEventDetails.TaskFailedEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.TaskFailedEventDetails.TaskFailedEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.TaskFailedEventDetails.TaskFailedEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.TaskFailedEventDetails.TaskFailedEventDetails
module Amazonka.StepFunctions.Types.TaskScheduledEventDetails
-- | Contains details about a task scheduled during an execution.
--
-- See: newTaskScheduledEventDetails smart constructor.
data TaskScheduledEventDetails
TaskScheduledEventDetails' :: Maybe Integer -> Maybe TaskCredentials -> Maybe Integer -> Text -> Text -> Text -> Sensitive Text -> TaskScheduledEventDetails
-- | The maximum allowed duration between two heartbeats for the task.
[$sel:heartbeatInSeconds:TaskScheduledEventDetails'] :: TaskScheduledEventDetails -> Maybe Integer
-- | The credentials that Step Functions uses for the task.
[$sel:taskCredentials:TaskScheduledEventDetails'] :: TaskScheduledEventDetails -> Maybe TaskCredentials
-- | The maximum allowed duration of the task.
[$sel:timeoutInSeconds:TaskScheduledEventDetails'] :: TaskScheduledEventDetails -> Maybe Integer
-- | The service name of the resource in a task state.
[$sel:resourceType:TaskScheduledEventDetails'] :: TaskScheduledEventDetails -> Text
-- | The action of the resource called by a task state.
[$sel:resource:TaskScheduledEventDetails'] :: TaskScheduledEventDetails -> Text
-- | The region of the scheduled task
[$sel:region:TaskScheduledEventDetails'] :: TaskScheduledEventDetails -> Text
-- | The JSON data passed to the resource referenced in a task state.
-- Length constraints apply to the payload size, and are expressed as
-- bytes in UTF-8 encoding.
[$sel:parameters:TaskScheduledEventDetails'] :: TaskScheduledEventDetails -> Sensitive Text
-- | Create a value of TaskScheduledEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:heartbeatInSeconds:TaskScheduledEventDetails',
-- taskScheduledEventDetails_heartbeatInSeconds - The maximum
-- allowed duration between two heartbeats for the task.
--
-- $sel:taskCredentials:TaskScheduledEventDetails',
-- taskScheduledEventDetails_taskCredentials - The credentials
-- that Step Functions uses for the task.
--
-- $sel:timeoutInSeconds:TaskScheduledEventDetails',
-- taskScheduledEventDetails_timeoutInSeconds - The maximum
-- allowed duration of the task.
--
-- $sel:resourceType:TaskScheduledEventDetails',
-- taskScheduledEventDetails_resourceType - The service name of
-- the resource in a task state.
--
-- $sel:resource:TaskScheduledEventDetails',
-- taskScheduledEventDetails_resource - The action of the resource
-- called by a task state.
--
-- $sel:region:TaskScheduledEventDetails',
-- taskScheduledEventDetails_region - The region of the scheduled
-- task
--
-- $sel:parameters:TaskScheduledEventDetails',
-- taskScheduledEventDetails_parameters - The JSON data passed to
-- the resource referenced in a task state. Length constraints apply to
-- the payload size, and are expressed as bytes in UTF-8 encoding.
newTaskScheduledEventDetails :: Text -> Text -> Text -> Text -> TaskScheduledEventDetails
-- | The maximum allowed duration between two heartbeats for the task.
taskScheduledEventDetails_heartbeatInSeconds :: Lens' TaskScheduledEventDetails (Maybe Integer)
-- | The credentials that Step Functions uses for the task.
taskScheduledEventDetails_taskCredentials :: Lens' TaskScheduledEventDetails (Maybe TaskCredentials)
-- | The maximum allowed duration of the task.
taskScheduledEventDetails_timeoutInSeconds :: Lens' TaskScheduledEventDetails (Maybe Integer)
-- | The service name of the resource in a task state.
taskScheduledEventDetails_resourceType :: Lens' TaskScheduledEventDetails Text
-- | The action of the resource called by a task state.
taskScheduledEventDetails_resource :: Lens' TaskScheduledEventDetails Text
-- | The region of the scheduled task
taskScheduledEventDetails_region :: Lens' TaskScheduledEventDetails Text
-- | The JSON data passed to the resource referenced in a task state.
-- Length constraints apply to the payload size, and are expressed as
-- bytes in UTF-8 encoding.
taskScheduledEventDetails_parameters :: Lens' TaskScheduledEventDetails Text
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.TaskScheduledEventDetails.TaskScheduledEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.TaskScheduledEventDetails.TaskScheduledEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.TaskScheduledEventDetails.TaskScheduledEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.TaskScheduledEventDetails.TaskScheduledEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.TaskScheduledEventDetails.TaskScheduledEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.TaskScheduledEventDetails.TaskScheduledEventDetails
module Amazonka.StepFunctions.Types.TaskStartFailedEventDetails
-- | Contains details about a task that failed to start during an
-- execution.
--
-- See: newTaskStartFailedEventDetails smart constructor.
data TaskStartFailedEventDetails
TaskStartFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Text -> Text -> TaskStartFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
[$sel:cause:TaskStartFailedEventDetails'] :: TaskStartFailedEventDetails -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:TaskStartFailedEventDetails'] :: TaskStartFailedEventDetails -> Maybe (Sensitive Text)
-- | The service name of the resource in a task state.
[$sel:resourceType:TaskStartFailedEventDetails'] :: TaskStartFailedEventDetails -> Text
-- | The action of the resource called by a task state.
[$sel:resource:TaskStartFailedEventDetails'] :: TaskStartFailedEventDetails -> Text
-- | Create a value of TaskStartFailedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:TaskStartFailedEventDetails',
-- taskStartFailedEventDetails_cause - A more detailed explanation
-- of the cause of the failure.
--
-- $sel:error:TaskStartFailedEventDetails',
-- taskStartFailedEventDetails_error - The error code of the
-- failure.
--
-- $sel:resourceType:TaskStartFailedEventDetails',
-- taskStartFailedEventDetails_resourceType - The service name of
-- the resource in a task state.
--
-- $sel:resource:TaskStartFailedEventDetails',
-- taskStartFailedEventDetails_resource - The action of the
-- resource called by a task state.
newTaskStartFailedEventDetails :: Text -> Text -> TaskStartFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
taskStartFailedEventDetails_cause :: Lens' TaskStartFailedEventDetails (Maybe Text)
-- | The error code of the failure.
taskStartFailedEventDetails_error :: Lens' TaskStartFailedEventDetails (Maybe Text)
-- | The service name of the resource in a task state.
taskStartFailedEventDetails_resourceType :: Lens' TaskStartFailedEventDetails Text
-- | The action of the resource called by a task state.
taskStartFailedEventDetails_resource :: Lens' TaskStartFailedEventDetails Text
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.TaskStartFailedEventDetails.TaskStartFailedEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.TaskStartFailedEventDetails.TaskStartFailedEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.TaskStartFailedEventDetails.TaskStartFailedEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.TaskStartFailedEventDetails.TaskStartFailedEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.TaskStartFailedEventDetails.TaskStartFailedEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.TaskStartFailedEventDetails.TaskStartFailedEventDetails
module Amazonka.StepFunctions.Types.TaskStartedEventDetails
-- | Contains details about the start of a task during an execution.
--
-- See: newTaskStartedEventDetails smart constructor.
data TaskStartedEventDetails
TaskStartedEventDetails' :: Text -> Text -> TaskStartedEventDetails
-- | The service name of the resource in a task state.
[$sel:resourceType:TaskStartedEventDetails'] :: TaskStartedEventDetails -> Text
-- | The action of the resource called by a task state.
[$sel:resource:TaskStartedEventDetails'] :: TaskStartedEventDetails -> Text
-- | Create a value of TaskStartedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceType:TaskStartedEventDetails',
-- taskStartedEventDetails_resourceType - The service name of the
-- resource in a task state.
--
-- $sel:resource:TaskStartedEventDetails',
-- taskStartedEventDetails_resource - The action of the resource
-- called by a task state.
newTaskStartedEventDetails :: Text -> Text -> TaskStartedEventDetails
-- | The service name of the resource in a task state.
taskStartedEventDetails_resourceType :: Lens' TaskStartedEventDetails Text
-- | The action of the resource called by a task state.
taskStartedEventDetails_resource :: Lens' TaskStartedEventDetails Text
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.TaskStartedEventDetails.TaskStartedEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.TaskStartedEventDetails.TaskStartedEventDetails
instance GHC.Read.Read Amazonka.StepFunctions.Types.TaskStartedEventDetails.TaskStartedEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.TaskStartedEventDetails.TaskStartedEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.TaskStartedEventDetails.TaskStartedEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.TaskStartedEventDetails.TaskStartedEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.TaskStartedEventDetails.TaskStartedEventDetails
module Amazonka.StepFunctions.Types.TaskSubmitFailedEventDetails
-- | Contains details about a task that failed to submit during an
-- execution.
--
-- See: newTaskSubmitFailedEventDetails smart constructor.
data TaskSubmitFailedEventDetails
TaskSubmitFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Text -> Text -> TaskSubmitFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
[$sel:cause:TaskSubmitFailedEventDetails'] :: TaskSubmitFailedEventDetails -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:TaskSubmitFailedEventDetails'] :: TaskSubmitFailedEventDetails -> Maybe (Sensitive Text)
-- | The service name of the resource in a task state.
[$sel:resourceType:TaskSubmitFailedEventDetails'] :: TaskSubmitFailedEventDetails -> Text
-- | The action of the resource called by a task state.
[$sel:resource:TaskSubmitFailedEventDetails'] :: TaskSubmitFailedEventDetails -> Text
-- | Create a value of TaskSubmitFailedEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:TaskSubmitFailedEventDetails',
-- taskSubmitFailedEventDetails_cause - A more detailed
-- explanation of the cause of the failure.
--
-- $sel:error:TaskSubmitFailedEventDetails',
-- taskSubmitFailedEventDetails_error - The error code of the
-- failure.
--
-- $sel:resourceType:TaskSubmitFailedEventDetails',
-- taskSubmitFailedEventDetails_resourceType - The service name of
-- the resource in a task state.
--
-- $sel:resource:TaskSubmitFailedEventDetails',
-- taskSubmitFailedEventDetails_resource - The action of the
-- resource called by a task state.
newTaskSubmitFailedEventDetails :: Text -> Text -> TaskSubmitFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
taskSubmitFailedEventDetails_cause :: Lens' TaskSubmitFailedEventDetails (Maybe Text)
-- | The error code of the failure.
taskSubmitFailedEventDetails_error :: Lens' TaskSubmitFailedEventDetails (Maybe Text)
-- | The service name of the resource in a task state.
taskSubmitFailedEventDetails_resourceType :: Lens' TaskSubmitFailedEventDetails Text
-- | The action of the resource called by a task state.
taskSubmitFailedEventDetails_resource :: Lens' TaskSubmitFailedEventDetails Text
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.TaskSubmitFailedEventDetails.TaskSubmitFailedEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.TaskSubmitFailedEventDetails.TaskSubmitFailedEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.TaskSubmitFailedEventDetails.TaskSubmitFailedEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.TaskSubmitFailedEventDetails.TaskSubmitFailedEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.TaskSubmitFailedEventDetails.TaskSubmitFailedEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.TaskSubmitFailedEventDetails.TaskSubmitFailedEventDetails
module Amazonka.StepFunctions.Types.TaskSubmittedEventDetails
-- | Contains details about a task submitted to a resource .
--
-- See: newTaskSubmittedEventDetails smart constructor.
data TaskSubmittedEventDetails
TaskSubmittedEventDetails' :: Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> Text -> Text -> TaskSubmittedEventDetails
-- | The response from a resource when a task has started. Length
-- constraints apply to the payload size, and are expressed as bytes in
-- UTF-8 encoding.
[$sel:output:TaskSubmittedEventDetails'] :: TaskSubmittedEventDetails -> Maybe (Sensitive Text)
-- | Contains details about the output of an execution history event.
[$sel:outputDetails:TaskSubmittedEventDetails'] :: TaskSubmittedEventDetails -> Maybe HistoryEventExecutionDataDetails
-- | The service name of the resource in a task state.
[$sel:resourceType:TaskSubmittedEventDetails'] :: TaskSubmittedEventDetails -> Text
-- | The action of the resource called by a task state.
[$sel:resource:TaskSubmittedEventDetails'] :: TaskSubmittedEventDetails -> Text
-- | Create a value of TaskSubmittedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:output:TaskSubmittedEventDetails',
-- taskSubmittedEventDetails_output - The response from a resource
-- when a task has started. Length constraints apply to the payload size,
-- and are expressed as bytes in UTF-8 encoding.
--
-- $sel:outputDetails:TaskSubmittedEventDetails',
-- taskSubmittedEventDetails_outputDetails - Contains details
-- about the output of an execution history event.
--
-- $sel:resourceType:TaskSubmittedEventDetails',
-- taskSubmittedEventDetails_resourceType - The service name of
-- the resource in a task state.
--
-- $sel:resource:TaskSubmittedEventDetails',
-- taskSubmittedEventDetails_resource - The action of the resource
-- called by a task state.
newTaskSubmittedEventDetails :: Text -> Text -> TaskSubmittedEventDetails
-- | The response from a resource when a task has started. Length
-- constraints apply to the payload size, and are expressed as bytes in
-- UTF-8 encoding.
taskSubmittedEventDetails_output :: Lens' TaskSubmittedEventDetails (Maybe Text)
-- | Contains details about the output of an execution history event.
taskSubmittedEventDetails_outputDetails :: Lens' TaskSubmittedEventDetails (Maybe HistoryEventExecutionDataDetails)
-- | The service name of the resource in a task state.
taskSubmittedEventDetails_resourceType :: Lens' TaskSubmittedEventDetails Text
-- | The action of the resource called by a task state.
taskSubmittedEventDetails_resource :: Lens' TaskSubmittedEventDetails Text
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.TaskSubmittedEventDetails.TaskSubmittedEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.TaskSubmittedEventDetails.TaskSubmittedEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.TaskSubmittedEventDetails.TaskSubmittedEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.TaskSubmittedEventDetails.TaskSubmittedEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.TaskSubmittedEventDetails.TaskSubmittedEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.TaskSubmittedEventDetails.TaskSubmittedEventDetails
module Amazonka.StepFunctions.Types.TaskSucceededEventDetails
-- | Contains details about the successful completion of a task state.
--
-- See: newTaskSucceededEventDetails smart constructor.
data TaskSucceededEventDetails
TaskSucceededEventDetails' :: Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> Text -> Text -> TaskSucceededEventDetails
-- | The full JSON response from a resource when a task has succeeded. This
-- response becomes the output of the related task. Length constraints
-- apply to the payload size, and are expressed as bytes in UTF-8
-- encoding.
[$sel:output:TaskSucceededEventDetails'] :: TaskSucceededEventDetails -> Maybe (Sensitive Text)
-- | Contains details about the output of an execution history event.
[$sel:outputDetails:TaskSucceededEventDetails'] :: TaskSucceededEventDetails -> Maybe HistoryEventExecutionDataDetails
-- | The service name of the resource in a task state.
[$sel:resourceType:TaskSucceededEventDetails'] :: TaskSucceededEventDetails -> Text
-- | The action of the resource called by a task state.
[$sel:resource:TaskSucceededEventDetails'] :: TaskSucceededEventDetails -> Text
-- | Create a value of TaskSucceededEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:output:TaskSucceededEventDetails',
-- taskSucceededEventDetails_output - The full JSON response from
-- a resource when a task has succeeded. This response becomes the output
-- of the related task. Length constraints apply to the payload size, and
-- are expressed as bytes in UTF-8 encoding.
--
-- $sel:outputDetails:TaskSucceededEventDetails',
-- taskSucceededEventDetails_outputDetails - Contains details
-- about the output of an execution history event.
--
-- $sel:resourceType:TaskSucceededEventDetails',
-- taskSucceededEventDetails_resourceType - The service name of
-- the resource in a task state.
--
-- $sel:resource:TaskSucceededEventDetails',
-- taskSucceededEventDetails_resource - The action of the resource
-- called by a task state.
newTaskSucceededEventDetails :: Text -> Text -> TaskSucceededEventDetails
-- | The full JSON response from a resource when a task has succeeded. This
-- response becomes the output of the related task. Length constraints
-- apply to the payload size, and are expressed as bytes in UTF-8
-- encoding.
taskSucceededEventDetails_output :: Lens' TaskSucceededEventDetails (Maybe Text)
-- | Contains details about the output of an execution history event.
taskSucceededEventDetails_outputDetails :: Lens' TaskSucceededEventDetails (Maybe HistoryEventExecutionDataDetails)
-- | The service name of the resource in a task state.
taskSucceededEventDetails_resourceType :: Lens' TaskSucceededEventDetails Text
-- | The action of the resource called by a task state.
taskSucceededEventDetails_resource :: Lens' TaskSucceededEventDetails Text
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.TaskSucceededEventDetails.TaskSucceededEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.TaskSucceededEventDetails.TaskSucceededEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.TaskSucceededEventDetails.TaskSucceededEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.TaskSucceededEventDetails.TaskSucceededEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.TaskSucceededEventDetails.TaskSucceededEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.TaskSucceededEventDetails.TaskSucceededEventDetails
module Amazonka.StepFunctions.Types.TaskTimedOutEventDetails
-- | Contains details about a resource timeout that occurred during an
-- execution.
--
-- See: newTaskTimedOutEventDetails smart constructor.
data TaskTimedOutEventDetails
TaskTimedOutEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Text -> Text -> TaskTimedOutEventDetails
-- | A more detailed explanation of the cause of the failure.
[$sel:cause:TaskTimedOutEventDetails'] :: TaskTimedOutEventDetails -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:TaskTimedOutEventDetails'] :: TaskTimedOutEventDetails -> Maybe (Sensitive Text)
-- | The service name of the resource in a task state.
[$sel:resourceType:TaskTimedOutEventDetails'] :: TaskTimedOutEventDetails -> Text
-- | The action of the resource called by a task state.
[$sel:resource:TaskTimedOutEventDetails'] :: TaskTimedOutEventDetails -> Text
-- | Create a value of TaskTimedOutEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:TaskTimedOutEventDetails',
-- taskTimedOutEventDetails_cause - A more detailed explanation of
-- the cause of the failure.
--
-- $sel:error:TaskTimedOutEventDetails',
-- taskTimedOutEventDetails_error - The error code of the failure.
--
-- $sel:resourceType:TaskTimedOutEventDetails',
-- taskTimedOutEventDetails_resourceType - The service name of the
-- resource in a task state.
--
-- $sel:resource:TaskTimedOutEventDetails',
-- taskTimedOutEventDetails_resource - The action of the resource
-- called by a task state.
newTaskTimedOutEventDetails :: Text -> Text -> TaskTimedOutEventDetails
-- | A more detailed explanation of the cause of the failure.
taskTimedOutEventDetails_cause :: Lens' TaskTimedOutEventDetails (Maybe Text)
-- | The error code of the failure.
taskTimedOutEventDetails_error :: Lens' TaskTimedOutEventDetails (Maybe Text)
-- | The service name of the resource in a task state.
taskTimedOutEventDetails_resourceType :: Lens' TaskTimedOutEventDetails Text
-- | The action of the resource called by a task state.
taskTimedOutEventDetails_resource :: Lens' TaskTimedOutEventDetails Text
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.TaskTimedOutEventDetails.TaskTimedOutEventDetails
instance GHC.Show.Show Amazonka.StepFunctions.Types.TaskTimedOutEventDetails.TaskTimedOutEventDetails
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.TaskTimedOutEventDetails.TaskTimedOutEventDetails
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.TaskTimedOutEventDetails.TaskTimedOutEventDetails
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.TaskTimedOutEventDetails.TaskTimedOutEventDetails
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.TaskTimedOutEventDetails.TaskTimedOutEventDetails
module Amazonka.StepFunctions.Types.HistoryEvent
-- | Contains details about the events of an execution.
--
-- See: newHistoryEvent smart constructor.
data HistoryEvent
HistoryEvent' :: Maybe ActivityFailedEventDetails -> Maybe ActivityScheduleFailedEventDetails -> Maybe ActivityScheduledEventDetails -> Maybe ActivityStartedEventDetails -> Maybe ActivitySucceededEventDetails -> Maybe ActivityTimedOutEventDetails -> Maybe ExecutionAbortedEventDetails -> Maybe ExecutionFailedEventDetails -> Maybe ExecutionStartedEventDetails -> Maybe ExecutionSucceededEventDetails -> Maybe ExecutionTimedOutEventDetails -> Maybe LambdaFunctionFailedEventDetails -> Maybe LambdaFunctionScheduleFailedEventDetails -> Maybe LambdaFunctionScheduledEventDetails -> Maybe LambdaFunctionStartFailedEventDetails -> Maybe LambdaFunctionSucceededEventDetails -> Maybe LambdaFunctionTimedOutEventDetails -> Maybe MapIterationEventDetails -> Maybe MapIterationEventDetails -> Maybe MapIterationEventDetails -> Maybe MapIterationEventDetails -> Maybe MapRunFailedEventDetails -> Maybe MapRunStartedEventDetails -> Maybe MapStateStartedEventDetails -> Maybe Integer -> Maybe StateEnteredEventDetails -> Maybe StateExitedEventDetails -> Maybe TaskFailedEventDetails -> Maybe TaskScheduledEventDetails -> Maybe TaskStartFailedEventDetails -> Maybe TaskStartedEventDetails -> Maybe TaskSubmitFailedEventDetails -> Maybe TaskSubmittedEventDetails -> Maybe TaskSucceededEventDetails -> Maybe TaskTimedOutEventDetails -> POSIX -> HistoryEventType -> Integer -> HistoryEvent
[$sel:activityFailedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe ActivityFailedEventDetails
-- | Contains details about an activity schedule event that failed during
-- an execution.
[$sel:activityScheduleFailedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe ActivityScheduleFailedEventDetails
[$sel:activityScheduledEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe ActivityScheduledEventDetails
[$sel:activityStartedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe ActivityStartedEventDetails
[$sel:activitySucceededEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe ActivitySucceededEventDetails
[$sel:activityTimedOutEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe ActivityTimedOutEventDetails
[$sel:executionAbortedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe ExecutionAbortedEventDetails
[$sel:executionFailedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe ExecutionFailedEventDetails
[$sel:executionStartedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe ExecutionStartedEventDetails
[$sel:executionSucceededEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe ExecutionSucceededEventDetails
[$sel:executionTimedOutEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe ExecutionTimedOutEventDetails
[$sel:lambdaFunctionFailedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe LambdaFunctionFailedEventDetails
[$sel:lambdaFunctionScheduleFailedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe LambdaFunctionScheduleFailedEventDetails
[$sel:lambdaFunctionScheduledEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe LambdaFunctionScheduledEventDetails
-- | Contains details about a lambda function that failed to start during
-- an execution.
[$sel:lambdaFunctionStartFailedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe LambdaFunctionStartFailedEventDetails
-- | Contains details about a Lambda function that terminated successfully
-- during an execution.
[$sel:lambdaFunctionSucceededEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe LambdaFunctionSucceededEventDetails
[$sel:lambdaFunctionTimedOutEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe LambdaFunctionTimedOutEventDetails
-- | Contains details about an iteration of a Map state that was aborted.
[$sel:mapIterationAbortedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe MapIterationEventDetails
-- | Contains details about an iteration of a Map state that failed.
[$sel:mapIterationFailedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe MapIterationEventDetails
-- | Contains details about an iteration of a Map state that was started.
[$sel:mapIterationStartedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe MapIterationEventDetails
-- | Contains details about an iteration of a Map state that succeeded.
[$sel:mapIterationSucceededEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe MapIterationEventDetails
-- | Contains error and cause details about a Map Run that failed.
[$sel:mapRunFailedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe MapRunFailedEventDetails
-- | Contains details, such as mapRunArn, and the start date and
-- time of a Map Run. mapRunArn is the Amazon Resource Name
-- (ARN) of the Map Run that was started.
[$sel:mapRunStartedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe MapRunStartedEventDetails
-- | Contains details about Map state that was started.
[$sel:mapStateStartedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe MapStateStartedEventDetails
-- | The id of the previous event.
[$sel:previousEventId:HistoryEvent'] :: HistoryEvent -> Maybe Integer
[$sel:stateEnteredEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe StateEnteredEventDetails
[$sel:stateExitedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe StateExitedEventDetails
-- | Contains details about the failure of a task.
[$sel:taskFailedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe TaskFailedEventDetails
-- | Contains details about a task that was scheduled.
[$sel:taskScheduledEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe TaskScheduledEventDetails
-- | Contains details about a task that failed to start.
[$sel:taskStartFailedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe TaskStartFailedEventDetails
-- | Contains details about a task that was started.
[$sel:taskStartedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe TaskStartedEventDetails
-- | Contains details about a task that where the submit failed.
[$sel:taskSubmitFailedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe TaskSubmitFailedEventDetails
-- | Contains details about a submitted task.
[$sel:taskSubmittedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe TaskSubmittedEventDetails
-- | Contains details about a task that succeeded.
[$sel:taskSucceededEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe TaskSucceededEventDetails
-- | Contains details about a task that timed out.
[$sel:taskTimedOutEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe TaskTimedOutEventDetails
-- | The date and time the event occurred.
[$sel:timestamp:HistoryEvent'] :: HistoryEvent -> POSIX
-- | The type of the event.
[$sel:type':HistoryEvent'] :: HistoryEvent -> HistoryEventType
-- | The id of the event. Events are numbered sequentially, starting at
-- one.
[$sel:id:HistoryEvent'] :: HistoryEvent -> Integer
-- | Create a value of HistoryEvent with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:activityFailedEventDetails:HistoryEvent',
-- historyEvent_activityFailedEventDetails - Undocumented member.
--
-- $sel:activityScheduleFailedEventDetails:HistoryEvent',
-- historyEvent_activityScheduleFailedEventDetails - Contains
-- details about an activity schedule event that failed during an
-- execution.
--
-- $sel:activityScheduledEventDetails:HistoryEvent',
-- historyEvent_activityScheduledEventDetails - Undocumented
-- member.
--
-- $sel:activityStartedEventDetails:HistoryEvent',
-- historyEvent_activityStartedEventDetails - Undocumented member.
--
-- $sel:activitySucceededEventDetails:HistoryEvent',
-- historyEvent_activitySucceededEventDetails - Undocumented
-- member.
--
-- $sel:activityTimedOutEventDetails:HistoryEvent',
-- historyEvent_activityTimedOutEventDetails - Undocumented
-- member.
--
-- $sel:executionAbortedEventDetails:HistoryEvent',
-- historyEvent_executionAbortedEventDetails - Undocumented
-- member.
--
-- $sel:executionFailedEventDetails:HistoryEvent',
-- historyEvent_executionFailedEventDetails - Undocumented member.
--
-- $sel:executionStartedEventDetails:HistoryEvent',
-- historyEvent_executionStartedEventDetails - Undocumented
-- member.
--
-- $sel:executionSucceededEventDetails:HistoryEvent',
-- historyEvent_executionSucceededEventDetails - Undocumented
-- member.
--
-- $sel:executionTimedOutEventDetails:HistoryEvent',
-- historyEvent_executionTimedOutEventDetails - Undocumented
-- member.
--
-- $sel:lambdaFunctionFailedEventDetails:HistoryEvent',
-- historyEvent_lambdaFunctionFailedEventDetails - Undocumented
-- member.
--
-- $sel:lambdaFunctionScheduleFailedEventDetails:HistoryEvent',
-- historyEvent_lambdaFunctionScheduleFailedEventDetails -
-- Undocumented member.
--
-- $sel:lambdaFunctionScheduledEventDetails:HistoryEvent',
-- historyEvent_lambdaFunctionScheduledEventDetails - Undocumented
-- member.
--
-- $sel:lambdaFunctionStartFailedEventDetails:HistoryEvent',
-- historyEvent_lambdaFunctionStartFailedEventDetails - Contains
-- details about a lambda function that failed to start during an
-- execution.
--
-- $sel:lambdaFunctionSucceededEventDetails:HistoryEvent',
-- historyEvent_lambdaFunctionSucceededEventDetails - Contains
-- details about a Lambda function that terminated successfully during an
-- execution.
--
-- $sel:lambdaFunctionTimedOutEventDetails:HistoryEvent',
-- historyEvent_lambdaFunctionTimedOutEventDetails - Undocumented
-- member.
--
-- $sel:mapIterationAbortedEventDetails:HistoryEvent',
-- historyEvent_mapIterationAbortedEventDetails - Contains details
-- about an iteration of a Map state that was aborted.
--
-- $sel:mapIterationFailedEventDetails:HistoryEvent',
-- historyEvent_mapIterationFailedEventDetails - Contains details
-- about an iteration of a Map state that failed.
--
-- $sel:mapIterationStartedEventDetails:HistoryEvent',
-- historyEvent_mapIterationStartedEventDetails - Contains details
-- about an iteration of a Map state that was started.
--
-- $sel:mapIterationSucceededEventDetails:HistoryEvent',
-- historyEvent_mapIterationSucceededEventDetails - Contains
-- details about an iteration of a Map state that succeeded.
--
-- $sel:mapRunFailedEventDetails:HistoryEvent',
-- historyEvent_mapRunFailedEventDetails - Contains error and
-- cause details about a Map Run that failed.
--
-- $sel:mapRunStartedEventDetails:HistoryEvent',
-- historyEvent_mapRunStartedEventDetails - Contains details, such
-- as mapRunArn, and the start date and time of a Map Run.
-- mapRunArn is the Amazon Resource Name (ARN) of the Map Run
-- that was started.
--
-- $sel:mapStateStartedEventDetails:HistoryEvent',
-- historyEvent_mapStateStartedEventDetails - Contains details
-- about Map state that was started.
--
-- $sel:previousEventId:HistoryEvent',
-- historyEvent_previousEventId - The id of the previous event.
--
-- $sel:stateEnteredEventDetails:HistoryEvent',
-- historyEvent_stateEnteredEventDetails - Undocumented member.
--
-- $sel:stateExitedEventDetails:HistoryEvent',
-- historyEvent_stateExitedEventDetails - Undocumented member.
--
-- $sel:taskFailedEventDetails:HistoryEvent',
-- historyEvent_taskFailedEventDetails - Contains details about
-- the failure of a task.
--
-- $sel:taskScheduledEventDetails:HistoryEvent',
-- historyEvent_taskScheduledEventDetails - Contains details about
-- a task that was scheduled.
--
-- $sel:taskStartFailedEventDetails:HistoryEvent',
-- historyEvent_taskStartFailedEventDetails - Contains details
-- about a task that failed to start.
--
-- $sel:taskStartedEventDetails:HistoryEvent',
-- historyEvent_taskStartedEventDetails - Contains details about a
-- task that was started.
--
-- $sel:taskSubmitFailedEventDetails:HistoryEvent',
-- historyEvent_taskSubmitFailedEventDetails - Contains details
-- about a task that where the submit failed.
--
-- $sel:taskSubmittedEventDetails:HistoryEvent',
-- historyEvent_taskSubmittedEventDetails - Contains details about
-- a submitted task.
--
-- $sel:taskSucceededEventDetails:HistoryEvent',
-- historyEvent_taskSucceededEventDetails - Contains details about
-- a task that succeeded.
--
-- $sel:taskTimedOutEventDetails:HistoryEvent',
-- historyEvent_taskTimedOutEventDetails - Contains details about
-- a task that timed out.
--
-- $sel:timestamp:HistoryEvent', historyEvent_timestamp -
-- The date and time the event occurred.
--
-- $sel:type':HistoryEvent', historyEvent_type - The type
-- of the event.
--
-- $sel:id:HistoryEvent', historyEvent_id - The id of the
-- event. Events are numbered sequentially, starting at one.
newHistoryEvent :: UTCTime -> HistoryEventType -> Integer -> HistoryEvent
-- | Undocumented member.
historyEvent_activityFailedEventDetails :: Lens' HistoryEvent (Maybe ActivityFailedEventDetails)
-- | Contains details about an activity schedule event that failed during
-- an execution.
historyEvent_activityScheduleFailedEventDetails :: Lens' HistoryEvent (Maybe ActivityScheduleFailedEventDetails)
-- | Undocumented member.
historyEvent_activityScheduledEventDetails :: Lens' HistoryEvent (Maybe ActivityScheduledEventDetails)
-- | Undocumented member.
historyEvent_activityStartedEventDetails :: Lens' HistoryEvent (Maybe ActivityStartedEventDetails)
-- | Undocumented member.
historyEvent_activitySucceededEventDetails :: Lens' HistoryEvent (Maybe ActivitySucceededEventDetails)
-- | Undocumented member.
historyEvent_activityTimedOutEventDetails :: Lens' HistoryEvent (Maybe ActivityTimedOutEventDetails)
-- | Undocumented member.
historyEvent_executionAbortedEventDetails :: Lens' HistoryEvent (Maybe ExecutionAbortedEventDetails)
-- | Undocumented member.
historyEvent_executionFailedEventDetails :: Lens' HistoryEvent (Maybe ExecutionFailedEventDetails)
-- | Undocumented member.
historyEvent_executionStartedEventDetails :: Lens' HistoryEvent (Maybe ExecutionStartedEventDetails)
-- | Undocumented member.
historyEvent_executionSucceededEventDetails :: Lens' HistoryEvent (Maybe ExecutionSucceededEventDetails)
-- | Undocumented member.
historyEvent_executionTimedOutEventDetails :: Lens' HistoryEvent (Maybe ExecutionTimedOutEventDetails)
-- | Undocumented member.
historyEvent_lambdaFunctionFailedEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionFailedEventDetails)
-- | Undocumented member.
historyEvent_lambdaFunctionScheduleFailedEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionScheduleFailedEventDetails)
-- | Undocumented member.
historyEvent_lambdaFunctionScheduledEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionScheduledEventDetails)
-- | Contains details about a lambda function that failed to start during
-- an execution.
historyEvent_lambdaFunctionStartFailedEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionStartFailedEventDetails)
-- | Contains details about a Lambda function that terminated successfully
-- during an execution.
historyEvent_lambdaFunctionSucceededEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionSucceededEventDetails)
-- | Undocumented member.
historyEvent_lambdaFunctionTimedOutEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionTimedOutEventDetails)
-- | Contains details about an iteration of a Map state that was aborted.
historyEvent_mapIterationAbortedEventDetails :: Lens' HistoryEvent (Maybe MapIterationEventDetails)
-- | Contains details about an iteration of a Map state that failed.
historyEvent_mapIterationFailedEventDetails :: Lens' HistoryEvent (Maybe MapIterationEventDetails)
-- | Contains details about an iteration of a Map state that was started.
historyEvent_mapIterationStartedEventDetails :: Lens' HistoryEvent (Maybe MapIterationEventDetails)
-- | Contains details about an iteration of a Map state that succeeded.
historyEvent_mapIterationSucceededEventDetails :: Lens' HistoryEvent (Maybe MapIterationEventDetails)
-- | Contains error and cause details about a Map Run that failed.
historyEvent_mapRunFailedEventDetails :: Lens' HistoryEvent (Maybe MapRunFailedEventDetails)
-- | Contains details, such as mapRunArn, and the start date and
-- time of a Map Run. mapRunArn is the Amazon Resource Name
-- (ARN) of the Map Run that was started.
historyEvent_mapRunStartedEventDetails :: Lens' HistoryEvent (Maybe MapRunStartedEventDetails)
-- | Contains details about Map state that was started.
historyEvent_mapStateStartedEventDetails :: Lens' HistoryEvent (Maybe MapStateStartedEventDetails)
-- | The id of the previous event.
historyEvent_previousEventId :: Lens' HistoryEvent (Maybe Integer)
-- | Undocumented member.
historyEvent_stateEnteredEventDetails :: Lens' HistoryEvent (Maybe StateEnteredEventDetails)
-- | Undocumented member.
historyEvent_stateExitedEventDetails :: Lens' HistoryEvent (Maybe StateExitedEventDetails)
-- | Contains details about the failure of a task.
historyEvent_taskFailedEventDetails :: Lens' HistoryEvent (Maybe TaskFailedEventDetails)
-- | Contains details about a task that was scheduled.
historyEvent_taskScheduledEventDetails :: Lens' HistoryEvent (Maybe TaskScheduledEventDetails)
-- | Contains details about a task that failed to start.
historyEvent_taskStartFailedEventDetails :: Lens' HistoryEvent (Maybe TaskStartFailedEventDetails)
-- | Contains details about a task that was started.
historyEvent_taskStartedEventDetails :: Lens' HistoryEvent (Maybe TaskStartedEventDetails)
-- | Contains details about a task that where the submit failed.
historyEvent_taskSubmitFailedEventDetails :: Lens' HistoryEvent (Maybe TaskSubmitFailedEventDetails)
-- | Contains details about a submitted task.
historyEvent_taskSubmittedEventDetails :: Lens' HistoryEvent (Maybe TaskSubmittedEventDetails)
-- | Contains details about a task that succeeded.
historyEvent_taskSucceededEventDetails :: Lens' HistoryEvent (Maybe TaskSucceededEventDetails)
-- | Contains details about a task that timed out.
historyEvent_taskTimedOutEventDetails :: Lens' HistoryEvent (Maybe TaskTimedOutEventDetails)
-- | The date and time the event occurred.
historyEvent_timestamp :: Lens' HistoryEvent UTCTime
-- | The type of the event.
historyEvent_type :: Lens' HistoryEvent HistoryEventType
-- | The id of the event. Events are numbered sequentially, starting at
-- one.
historyEvent_id :: Lens' HistoryEvent Integer
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.HistoryEvent.HistoryEvent
instance GHC.Show.Show Amazonka.StepFunctions.Types.HistoryEvent.HistoryEvent
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.HistoryEvent.HistoryEvent
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.HistoryEvent.HistoryEvent
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.HistoryEvent.HistoryEvent
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.HistoryEvent.HistoryEvent
module Amazonka.StepFunctions.Types.TracingConfiguration
-- | Selects whether or not the state machine's X-Ray tracing is enabled.
-- Default is false
--
-- See: newTracingConfiguration smart constructor.
data TracingConfiguration
TracingConfiguration' :: Maybe Bool -> TracingConfiguration
-- | When set to true, X-Ray tracing is enabled.
[$sel:enabled:TracingConfiguration'] :: TracingConfiguration -> Maybe Bool
-- | Create a value of TracingConfiguration with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:enabled:TracingConfiguration',
-- tracingConfiguration_enabled - When set to true, X-Ray
-- tracing is enabled.
newTracingConfiguration :: TracingConfiguration
-- | When set to true, X-Ray tracing is enabled.
tracingConfiguration_enabled :: Lens' TracingConfiguration (Maybe Bool)
instance GHC.Generics.Generic Amazonka.StepFunctions.Types.TracingConfiguration.TracingConfiguration
instance GHC.Show.Show Amazonka.StepFunctions.Types.TracingConfiguration.TracingConfiguration
instance GHC.Read.Read Amazonka.StepFunctions.Types.TracingConfiguration.TracingConfiguration
instance GHC.Classes.Eq Amazonka.StepFunctions.Types.TracingConfiguration.TracingConfiguration
instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.StepFunctions.Types.TracingConfiguration.TracingConfiguration
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.Types.TracingConfiguration.TracingConfiguration
instance Control.DeepSeq.NFData Amazonka.StepFunctions.Types.TracingConfiguration.TracingConfiguration
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.Types.TracingConfiguration.TracingConfiguration
module Amazonka.StepFunctions.Types
-- | API version 2016-11-23 of the Amazon Step Functions SDK
-- configuration.
defaultService :: Service
-- | The specified activity does not exist.
_ActivityDoesNotExist :: AsError a => Fold a ServiceError
-- | The maximum number of activities has been reached. Existing activities
-- must be deleted before a new activity can be created.
_ActivityLimitExceeded :: AsError a => Fold a ServiceError
-- | The maximum number of workers concurrently polling for activity tasks
-- has been reached.
_ActivityWorkerLimitExceeded :: AsError a => Fold a ServiceError
-- | The execution has the same name as another execution (but a
-- different input).
--
-- Executions with the same name and input are
-- considered idempotent.
_ExecutionAlreadyExists :: AsError a => Fold a ServiceError
-- | The specified execution does not exist.
_ExecutionDoesNotExist :: AsError a => Fold a ServiceError
-- | The maximum number of running executions has been reached. Running
-- executions must end or be stopped before a new execution can be
-- started.
_ExecutionLimitExceeded :: AsError a => Fold a ServiceError
-- | The provided Amazon Resource Name (ARN) is not valid.
_InvalidArn :: AsError a => Fold a ServiceError
-- | The provided Amazon States Language definition is not valid.
_InvalidDefinition :: AsError a => Fold a ServiceError
-- | The provided JSON input data is not valid.
_InvalidExecutionInput :: AsError a => Fold a ServiceError
_InvalidLoggingConfiguration :: AsError a => Fold a ServiceError
-- | The provided name is not valid.
_InvalidName :: AsError a => Fold a ServiceError
-- | The provided JSON output data is not valid.
_InvalidOutput :: AsError a => Fold a ServiceError
-- | The provided token is not valid.
_InvalidToken :: AsError a => Fold a ServiceError
-- | Your tracingConfiguration key does not match, or
-- enabled has not been set to true or false.
_InvalidTracingConfiguration :: AsError a => Fold a ServiceError
-- | Request is missing a required parameter. This error occurs if both
-- definition and roleArn are not specified.
_MissingRequiredParameter :: AsError a => Fold a ServiceError
-- | Could not find the referenced resource. Only state machine and
-- activity ARNs are supported.
_ResourceNotFound :: AsError a => Fold a ServiceError
-- | A state machine with the same name but a different definition or role
-- ARN already exists.
_StateMachineAlreadyExists :: AsError a => Fold a ServiceError
-- | The specified state machine is being deleted.
_StateMachineDeleting :: AsError a => Fold a ServiceError
-- | The specified state machine does not exist.
_StateMachineDoesNotExist :: AsError a => Fold a ServiceError
-- | The maximum number of state machines has been reached. Existing state
-- machines must be deleted before a new state machine can be created.
_StateMachineLimitExceeded :: AsError a => Fold a ServiceError
_StateMachineTypeNotSupported :: AsError a => Fold a ServiceError
-- | Prism for TaskDoesNotExist' errors.
_TaskDoesNotExist :: AsError a => Fold a ServiceError
-- | Prism for TaskTimedOut' errors.
_TaskTimedOut :: AsError a => Fold a ServiceError
-- | You've exceeded the number of tags allowed for a resource. See the
-- Limits Topic in the Step Functions Developer Guide.
_TooManyTags :: AsError a => Fold a ServiceError
-- | The input does not satisfy the constraints specified by an Amazon Web
-- Services service.
_ValidationException :: AsError a => Fold a ServiceError
newtype ExecutionStatus
ExecutionStatus' :: Text -> ExecutionStatus
[fromExecutionStatus] :: ExecutionStatus -> Text
pattern ExecutionStatus_ABORTED :: ExecutionStatus
pattern ExecutionStatus_FAILED :: ExecutionStatus
pattern ExecutionStatus_RUNNING :: ExecutionStatus
pattern ExecutionStatus_SUCCEEDED :: ExecutionStatus
pattern ExecutionStatus_TIMED_OUT :: ExecutionStatus
newtype HistoryEventType
HistoryEventType' :: Text -> HistoryEventType
[fromHistoryEventType] :: HistoryEventType -> Text
pattern HistoryEventType_ActivityFailed :: HistoryEventType
pattern HistoryEventType_ActivityScheduleFailed :: HistoryEventType
pattern HistoryEventType_ActivityScheduled :: HistoryEventType
pattern HistoryEventType_ActivityStarted :: HistoryEventType
pattern HistoryEventType_ActivitySucceeded :: HistoryEventType
pattern HistoryEventType_ActivityTimedOut :: HistoryEventType
pattern HistoryEventType_ChoiceStateEntered :: HistoryEventType
pattern HistoryEventType_ChoiceStateExited :: HistoryEventType
pattern HistoryEventType_ExecutionAborted :: HistoryEventType
pattern HistoryEventType_ExecutionFailed :: HistoryEventType
pattern HistoryEventType_ExecutionStarted :: HistoryEventType
pattern HistoryEventType_ExecutionSucceeded :: HistoryEventType
pattern HistoryEventType_ExecutionTimedOut :: HistoryEventType
pattern HistoryEventType_FailStateEntered :: HistoryEventType
pattern HistoryEventType_LambdaFunctionFailed :: HistoryEventType
pattern HistoryEventType_LambdaFunctionScheduleFailed :: HistoryEventType
pattern HistoryEventType_LambdaFunctionScheduled :: HistoryEventType
pattern HistoryEventType_LambdaFunctionStartFailed :: HistoryEventType
pattern HistoryEventType_LambdaFunctionStarted :: HistoryEventType
pattern HistoryEventType_LambdaFunctionSucceeded :: HistoryEventType
pattern HistoryEventType_LambdaFunctionTimedOut :: HistoryEventType
pattern HistoryEventType_MapIterationAborted :: HistoryEventType
pattern HistoryEventType_MapIterationFailed :: HistoryEventType
pattern HistoryEventType_MapIterationStarted :: HistoryEventType
pattern HistoryEventType_MapIterationSucceeded :: HistoryEventType
pattern HistoryEventType_MapRunAborted :: HistoryEventType
pattern HistoryEventType_MapRunFailed :: HistoryEventType
pattern HistoryEventType_MapRunStarted :: HistoryEventType
pattern HistoryEventType_MapRunSucceeded :: HistoryEventType
pattern HistoryEventType_MapStateAborted :: HistoryEventType
pattern HistoryEventType_MapStateEntered :: HistoryEventType
pattern HistoryEventType_MapStateExited :: HistoryEventType
pattern HistoryEventType_MapStateFailed :: HistoryEventType
pattern HistoryEventType_MapStateStarted :: HistoryEventType
pattern HistoryEventType_MapStateSucceeded :: HistoryEventType
pattern HistoryEventType_ParallelStateAborted :: HistoryEventType
pattern HistoryEventType_ParallelStateEntered :: HistoryEventType
pattern HistoryEventType_ParallelStateExited :: HistoryEventType
pattern HistoryEventType_ParallelStateFailed :: HistoryEventType
pattern HistoryEventType_ParallelStateStarted :: HistoryEventType
pattern HistoryEventType_ParallelStateSucceeded :: HistoryEventType
pattern HistoryEventType_PassStateEntered :: HistoryEventType
pattern HistoryEventType_PassStateExited :: HistoryEventType
pattern HistoryEventType_SucceedStateEntered :: HistoryEventType
pattern HistoryEventType_SucceedStateExited :: HistoryEventType
pattern HistoryEventType_TaskFailed :: HistoryEventType
pattern HistoryEventType_TaskScheduled :: HistoryEventType
pattern HistoryEventType_TaskStartFailed :: HistoryEventType
pattern HistoryEventType_TaskStarted :: HistoryEventType
pattern HistoryEventType_TaskStateAborted :: HistoryEventType
pattern HistoryEventType_TaskStateEntered :: HistoryEventType
pattern HistoryEventType_TaskStateExited :: HistoryEventType
pattern HistoryEventType_TaskSubmitFailed :: HistoryEventType
pattern HistoryEventType_TaskSubmitted :: HistoryEventType
pattern HistoryEventType_TaskSucceeded :: HistoryEventType
pattern HistoryEventType_TaskTimedOut :: HistoryEventType
pattern HistoryEventType_WaitStateAborted :: HistoryEventType
pattern HistoryEventType_WaitStateEntered :: HistoryEventType
pattern HistoryEventType_WaitStateExited :: HistoryEventType
newtype LogLevel
LogLevel' :: Text -> LogLevel
[fromLogLevel] :: LogLevel -> Text
pattern LogLevel_ALL :: LogLevel
pattern LogLevel_ERROR :: LogLevel
pattern LogLevel_FATAL :: LogLevel
pattern LogLevel_OFF :: LogLevel
newtype MapRunStatus
MapRunStatus' :: Text -> MapRunStatus
[fromMapRunStatus] :: MapRunStatus -> Text
pattern MapRunStatus_ABORTED :: MapRunStatus
pattern MapRunStatus_FAILED :: MapRunStatus
pattern MapRunStatus_RUNNING :: MapRunStatus
pattern MapRunStatus_SUCCEEDED :: MapRunStatus
newtype StateMachineStatus
StateMachineStatus' :: Text -> StateMachineStatus
[fromStateMachineStatus] :: StateMachineStatus -> Text
pattern StateMachineStatus_ACTIVE :: StateMachineStatus
pattern StateMachineStatus_DELETING :: StateMachineStatus
newtype StateMachineType
StateMachineType' :: Text -> StateMachineType
[fromStateMachineType] :: StateMachineType -> Text
pattern StateMachineType_EXPRESS :: StateMachineType
pattern StateMachineType_STANDARD :: StateMachineType
newtype SyncExecutionStatus
SyncExecutionStatus' :: Text -> SyncExecutionStatus
[fromSyncExecutionStatus] :: SyncExecutionStatus -> Text
pattern SyncExecutionStatus_FAILED :: SyncExecutionStatus
pattern SyncExecutionStatus_SUCCEEDED :: SyncExecutionStatus
pattern SyncExecutionStatus_TIMED_OUT :: SyncExecutionStatus
-- | Contains details about an activity that failed during an execution.
--
-- See: newActivityFailedEventDetails smart constructor.
data ActivityFailedEventDetails
ActivityFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> ActivityFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
[$sel:cause:ActivityFailedEventDetails'] :: ActivityFailedEventDetails -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:ActivityFailedEventDetails'] :: ActivityFailedEventDetails -> Maybe (Sensitive Text)
-- | Create a value of ActivityFailedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:ActivityFailedEventDetails',
-- activityFailedEventDetails_cause - A more detailed explanation
-- of the cause of the failure.
--
-- $sel:error:ActivityFailedEventDetails',
-- activityFailedEventDetails_error - The error code of the
-- failure.
newActivityFailedEventDetails :: ActivityFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
activityFailedEventDetails_cause :: Lens' ActivityFailedEventDetails (Maybe Text)
-- | The error code of the failure.
activityFailedEventDetails_error :: Lens' ActivityFailedEventDetails (Maybe Text)
-- | Contains details about an activity.
--
-- See: newActivityListItem smart constructor.
data ActivityListItem
ActivityListItem' :: Text -> Text -> POSIX -> ActivityListItem
-- | The Amazon Resource Name (ARN) that identifies the activity.
[$sel:activityArn:ActivityListItem'] :: ActivityListItem -> Text
-- | The name of the activity.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
[$sel:name:ActivityListItem'] :: ActivityListItem -> Text
-- | The date the activity is created.
[$sel:creationDate:ActivityListItem'] :: ActivityListItem -> POSIX
-- | Create a value of ActivityListItem with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:activityArn:ActivityListItem',
-- activityListItem_activityArn - The Amazon Resource Name (ARN)
-- that identifies the activity.
--
-- $sel:name:ActivityListItem', activityListItem_name - The
-- name of the activity.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
--
-- $sel:creationDate:ActivityListItem',
-- activityListItem_creationDate - The date the activity is
-- created.
newActivityListItem :: Text -> Text -> UTCTime -> ActivityListItem
-- | The Amazon Resource Name (ARN) that identifies the activity.
activityListItem_activityArn :: Lens' ActivityListItem Text
-- | The name of the activity.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
activityListItem_name :: Lens' ActivityListItem Text
-- | The date the activity is created.
activityListItem_creationDate :: Lens' ActivityListItem UTCTime
-- | Contains details about an activity schedule failure that occurred
-- during an execution.
--
-- See: newActivityScheduleFailedEventDetails smart
-- constructor.
data ActivityScheduleFailedEventDetails
ActivityScheduleFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> ActivityScheduleFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
[$sel:cause:ActivityScheduleFailedEventDetails'] :: ActivityScheduleFailedEventDetails -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:ActivityScheduleFailedEventDetails'] :: ActivityScheduleFailedEventDetails -> Maybe (Sensitive Text)
-- | Create a value of ActivityScheduleFailedEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:ActivityScheduleFailedEventDetails',
-- activityScheduleFailedEventDetails_cause - A more detailed
-- explanation of the cause of the failure.
--
-- $sel:error:ActivityScheduleFailedEventDetails',
-- activityScheduleFailedEventDetails_error - The error code of
-- the failure.
newActivityScheduleFailedEventDetails :: ActivityScheduleFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
activityScheduleFailedEventDetails_cause :: Lens' ActivityScheduleFailedEventDetails (Maybe Text)
-- | The error code of the failure.
activityScheduleFailedEventDetails_error :: Lens' ActivityScheduleFailedEventDetails (Maybe Text)
-- | Contains details about an activity scheduled during an execution.
--
-- See: newActivityScheduledEventDetails smart constructor.
data ActivityScheduledEventDetails
ActivityScheduledEventDetails' :: Maybe Integer -> Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> Maybe Integer -> Text -> ActivityScheduledEventDetails
-- | The maximum allowed duration between two heartbeats for the activity
-- task.
[$sel:heartbeatInSeconds:ActivityScheduledEventDetails'] :: ActivityScheduledEventDetails -> Maybe Integer
-- | The JSON data input to the activity task. Length constraints apply to
-- the payload size, and are expressed as bytes in UTF-8 encoding.
[$sel:input:ActivityScheduledEventDetails'] :: ActivityScheduledEventDetails -> Maybe (Sensitive Text)
-- | Contains details about the input for an execution history event.
[$sel:inputDetails:ActivityScheduledEventDetails'] :: ActivityScheduledEventDetails -> Maybe HistoryEventExecutionDataDetails
-- | The maximum allowed duration of the activity task.
[$sel:timeoutInSeconds:ActivityScheduledEventDetails'] :: ActivityScheduledEventDetails -> Maybe Integer
-- | The Amazon Resource Name (ARN) of the scheduled activity.
[$sel:resource:ActivityScheduledEventDetails'] :: ActivityScheduledEventDetails -> Text
-- | Create a value of ActivityScheduledEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:heartbeatInSeconds:ActivityScheduledEventDetails',
-- activityScheduledEventDetails_heartbeatInSeconds - The maximum
-- allowed duration between two heartbeats for the activity task.
--
-- $sel:input:ActivityScheduledEventDetails',
-- activityScheduledEventDetails_input - The JSON data input to
-- the activity task. Length constraints apply to the payload size, and
-- are expressed as bytes in UTF-8 encoding.
--
-- $sel:inputDetails:ActivityScheduledEventDetails',
-- activityScheduledEventDetails_inputDetails - Contains details
-- about the input for an execution history event.
--
-- $sel:timeoutInSeconds:ActivityScheduledEventDetails',
-- activityScheduledEventDetails_timeoutInSeconds - The maximum
-- allowed duration of the activity task.
--
-- $sel:resource:ActivityScheduledEventDetails',
-- activityScheduledEventDetails_resource - The Amazon Resource
-- Name (ARN) of the scheduled activity.
newActivityScheduledEventDetails :: Text -> ActivityScheduledEventDetails
-- | The maximum allowed duration between two heartbeats for the activity
-- task.
activityScheduledEventDetails_heartbeatInSeconds :: Lens' ActivityScheduledEventDetails (Maybe Integer)
-- | The JSON data input to the activity task. Length constraints apply to
-- the payload size, and are expressed as bytes in UTF-8 encoding.
activityScheduledEventDetails_input :: Lens' ActivityScheduledEventDetails (Maybe Text)
-- | Contains details about the input for an execution history event.
activityScheduledEventDetails_inputDetails :: Lens' ActivityScheduledEventDetails (Maybe HistoryEventExecutionDataDetails)
-- | The maximum allowed duration of the activity task.
activityScheduledEventDetails_timeoutInSeconds :: Lens' ActivityScheduledEventDetails (Maybe Integer)
-- | The Amazon Resource Name (ARN) of the scheduled activity.
activityScheduledEventDetails_resource :: Lens' ActivityScheduledEventDetails Text
-- | Contains details about the start of an activity during an execution.
--
-- See: newActivityStartedEventDetails smart constructor.
data ActivityStartedEventDetails
ActivityStartedEventDetails' :: Maybe Text -> ActivityStartedEventDetails
-- | The name of the worker that the task is assigned to. These names are
-- provided by the workers when calling GetActivityTask.
[$sel:workerName:ActivityStartedEventDetails'] :: ActivityStartedEventDetails -> Maybe Text
-- | Create a value of ActivityStartedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:workerName:ActivityStartedEventDetails',
-- activityStartedEventDetails_workerName - The name of the worker
-- that the task is assigned to. These names are provided by the workers
-- when calling GetActivityTask.
newActivityStartedEventDetails :: ActivityStartedEventDetails
-- | The name of the worker that the task is assigned to. These names are
-- provided by the workers when calling GetActivityTask.
activityStartedEventDetails_workerName :: Lens' ActivityStartedEventDetails (Maybe Text)
-- | Contains details about an activity that successfully terminated during
-- an execution.
--
-- See: newActivitySucceededEventDetails smart constructor.
data ActivitySucceededEventDetails
ActivitySucceededEventDetails' :: Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> ActivitySucceededEventDetails
-- | The JSON data output by the activity task. Length constraints apply to
-- the payload size, and are expressed as bytes in UTF-8 encoding.
[$sel:output:ActivitySucceededEventDetails'] :: ActivitySucceededEventDetails -> Maybe (Sensitive Text)
-- | Contains details about the output of an execution history event.
[$sel:outputDetails:ActivitySucceededEventDetails'] :: ActivitySucceededEventDetails -> Maybe HistoryEventExecutionDataDetails
-- | Create a value of ActivitySucceededEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:output:ActivitySucceededEventDetails',
-- activitySucceededEventDetails_output - The JSON data output by
-- the activity task. Length constraints apply to the payload size, and
-- are expressed as bytes in UTF-8 encoding.
--
-- $sel:outputDetails:ActivitySucceededEventDetails',
-- activitySucceededEventDetails_outputDetails - Contains details
-- about the output of an execution history event.
newActivitySucceededEventDetails :: ActivitySucceededEventDetails
-- | The JSON data output by the activity task. Length constraints apply to
-- the payload size, and are expressed as bytes in UTF-8 encoding.
activitySucceededEventDetails_output :: Lens' ActivitySucceededEventDetails (Maybe Text)
-- | Contains details about the output of an execution history event.
activitySucceededEventDetails_outputDetails :: Lens' ActivitySucceededEventDetails (Maybe HistoryEventExecutionDataDetails)
-- | Contains details about an activity timeout that occurred during an
-- execution.
--
-- See: newActivityTimedOutEventDetails smart constructor.
data ActivityTimedOutEventDetails
ActivityTimedOutEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> ActivityTimedOutEventDetails
-- | A more detailed explanation of the cause of the timeout.
[$sel:cause:ActivityTimedOutEventDetails'] :: ActivityTimedOutEventDetails -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:ActivityTimedOutEventDetails'] :: ActivityTimedOutEventDetails -> Maybe (Sensitive Text)
-- | Create a value of ActivityTimedOutEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:ActivityTimedOutEventDetails',
-- activityTimedOutEventDetails_cause - A more detailed
-- explanation of the cause of the timeout.
--
-- $sel:error:ActivityTimedOutEventDetails',
-- activityTimedOutEventDetails_error - The error code of the
-- failure.
newActivityTimedOutEventDetails :: ActivityTimedOutEventDetails
-- | A more detailed explanation of the cause of the timeout.
activityTimedOutEventDetails_cause :: Lens' ActivityTimedOutEventDetails (Maybe Text)
-- | The error code of the failure.
activityTimedOutEventDetails_error :: Lens' ActivityTimedOutEventDetails (Maybe Text)
-- | An object that describes workflow billing details.
--
-- See: newBillingDetails smart constructor.
data BillingDetails
BillingDetails' :: Maybe Natural -> Maybe Natural -> BillingDetails
-- | Billed duration of your workflow, in milliseconds.
[$sel:billedDurationInMilliseconds:BillingDetails'] :: BillingDetails -> Maybe Natural
-- | Billed memory consumption of your workflow, in MB.
[$sel:billedMemoryUsedInMB:BillingDetails'] :: BillingDetails -> Maybe Natural
-- | Create a value of BillingDetails with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:billedDurationInMilliseconds:BillingDetails',
-- billingDetails_billedDurationInMilliseconds - Billed duration
-- of your workflow, in milliseconds.
--
-- $sel:billedMemoryUsedInMB:BillingDetails',
-- billingDetails_billedMemoryUsedInMB - Billed memory consumption
-- of your workflow, in MB.
newBillingDetails :: BillingDetails
-- | Billed duration of your workflow, in milliseconds.
billingDetails_billedDurationInMilliseconds :: Lens' BillingDetails (Maybe Natural)
-- | Billed memory consumption of your workflow, in MB.
billingDetails_billedMemoryUsedInMB :: Lens' BillingDetails (Maybe Natural)
-- | Provides details about execution input or output.
--
-- See: newCloudWatchEventsExecutionDataDetails smart
-- constructor.
data CloudWatchEventsExecutionDataDetails
CloudWatchEventsExecutionDataDetails' :: Maybe Bool -> CloudWatchEventsExecutionDataDetails
-- | Indicates whether input or output was included in the response. Always
-- true for API calls.
[$sel:included:CloudWatchEventsExecutionDataDetails'] :: CloudWatchEventsExecutionDataDetails -> Maybe Bool
-- | Create a value of CloudWatchEventsExecutionDataDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:included:CloudWatchEventsExecutionDataDetails',
-- cloudWatchEventsExecutionDataDetails_included - Indicates
-- whether input or output was included in the response. Always
-- true for API calls.
newCloudWatchEventsExecutionDataDetails :: CloudWatchEventsExecutionDataDetails
-- | Indicates whether input or output was included in the response. Always
-- true for API calls.
cloudWatchEventsExecutionDataDetails_included :: Lens' CloudWatchEventsExecutionDataDetails (Maybe Bool)
-- | See: newCloudWatchLogsLogGroup smart constructor.
data CloudWatchLogsLogGroup
CloudWatchLogsLogGroup' :: Maybe Text -> CloudWatchLogsLogGroup
-- | The ARN of the the CloudWatch log group to which you want your logs
-- emitted to. The ARN must end with :*
[$sel:logGroupArn:CloudWatchLogsLogGroup'] :: CloudWatchLogsLogGroup -> Maybe Text
-- | Create a value of CloudWatchLogsLogGroup with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:logGroupArn:CloudWatchLogsLogGroup',
-- cloudWatchLogsLogGroup_logGroupArn - The ARN of the the
-- CloudWatch log group to which you want your logs emitted to. The ARN
-- must end with :*
newCloudWatchLogsLogGroup :: CloudWatchLogsLogGroup
-- | The ARN of the the CloudWatch log group to which you want your logs
-- emitted to. The ARN must end with :*
cloudWatchLogsLogGroup_logGroupArn :: Lens' CloudWatchLogsLogGroup (Maybe Text)
-- | Contains details about an abort of an execution.
--
-- See: newExecutionAbortedEventDetails smart constructor.
data ExecutionAbortedEventDetails
ExecutionAbortedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> ExecutionAbortedEventDetails
-- | A more detailed explanation of the cause of the failure.
[$sel:cause:ExecutionAbortedEventDetails'] :: ExecutionAbortedEventDetails -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:ExecutionAbortedEventDetails'] :: ExecutionAbortedEventDetails -> Maybe (Sensitive Text)
-- | Create a value of ExecutionAbortedEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:ExecutionAbortedEventDetails',
-- executionAbortedEventDetails_cause - A more detailed
-- explanation of the cause of the failure.
--
-- $sel:error:ExecutionAbortedEventDetails',
-- executionAbortedEventDetails_error - The error code of the
-- failure.
newExecutionAbortedEventDetails :: ExecutionAbortedEventDetails
-- | A more detailed explanation of the cause of the failure.
executionAbortedEventDetails_cause :: Lens' ExecutionAbortedEventDetails (Maybe Text)
-- | The error code of the failure.
executionAbortedEventDetails_error :: Lens' ExecutionAbortedEventDetails (Maybe Text)
-- | Contains details about an execution failure event.
--
-- See: newExecutionFailedEventDetails smart constructor.
data ExecutionFailedEventDetails
ExecutionFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> ExecutionFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
[$sel:cause:ExecutionFailedEventDetails'] :: ExecutionFailedEventDetails -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:ExecutionFailedEventDetails'] :: ExecutionFailedEventDetails -> Maybe (Sensitive Text)
-- | Create a value of ExecutionFailedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:ExecutionFailedEventDetails',
-- executionFailedEventDetails_cause - A more detailed explanation
-- of the cause of the failure.
--
-- $sel:error:ExecutionFailedEventDetails',
-- executionFailedEventDetails_error - The error code of the
-- failure.
newExecutionFailedEventDetails :: ExecutionFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
executionFailedEventDetails_cause :: Lens' ExecutionFailedEventDetails (Maybe Text)
-- | The error code of the failure.
executionFailedEventDetails_error :: Lens' ExecutionFailedEventDetails (Maybe Text)
-- | Contains details about an execution.
--
-- See: newExecutionListItem smart constructor.
data ExecutionListItem
ExecutionListItem' :: Maybe Natural -> Maybe Text -> Maybe POSIX -> Text -> Text -> Text -> ExecutionStatus -> POSIX -> ExecutionListItem
-- | The total number of items processed in a child workflow execution.
-- This field is returned only if mapRunArn was specified in the
-- ListExecutions API action. If stateMachineArn was
-- specified in ListExecutions, the itemCount field
-- isn't returned.
[$sel:itemCount:ExecutionListItem'] :: ExecutionListItem -> Maybe Natural
-- | The Amazon Resource Name (ARN) of a Map Run. This field is returned
-- only if mapRunArn was specified in the
-- ListExecutions API action. If stateMachineArn was
-- specified in ListExecutions, the mapRunArn isn't
-- returned.
[$sel:mapRunArn:ExecutionListItem'] :: ExecutionListItem -> Maybe Text
-- | If the execution already ended, the date the execution stopped.
[$sel:stopDate:ExecutionListItem'] :: ExecutionListItem -> Maybe POSIX
-- | The Amazon Resource Name (ARN) that identifies the execution.
[$sel:executionArn:ExecutionListItem'] :: ExecutionListItem -> Text
-- | The Amazon Resource Name (ARN) of the executed state machine.
[$sel:stateMachineArn:ExecutionListItem'] :: ExecutionListItem -> Text
-- | The name of the execution.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
[$sel:name:ExecutionListItem'] :: ExecutionListItem -> Text
-- | The current status of the execution.
[$sel:status:ExecutionListItem'] :: ExecutionListItem -> ExecutionStatus
-- | The date the execution started.
[$sel:startDate:ExecutionListItem'] :: ExecutionListItem -> POSIX
-- | Create a value of ExecutionListItem with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:itemCount:ExecutionListItem',
-- executionListItem_itemCount - The total number of items
-- processed in a child workflow execution. This field is returned only
-- if mapRunArn was specified in the ListExecutions API
-- action. If stateMachineArn was specified in
-- ListExecutions, the itemCount field isn't returned.
--
-- $sel:mapRunArn:ExecutionListItem',
-- executionListItem_mapRunArn - The Amazon Resource Name (ARN) of
-- a Map Run. This field is returned only if mapRunArn was
-- specified in the ListExecutions API action. If
-- stateMachineArn was specified in ListExecutions, the
-- mapRunArn isn't returned.
--
-- $sel:stopDate:ExecutionListItem',
-- executionListItem_stopDate - If the execution already ended,
-- the date the execution stopped.
--
-- $sel:executionArn:ExecutionListItem',
-- executionListItem_executionArn - The Amazon Resource Name (ARN)
-- that identifies the execution.
--
-- $sel:stateMachineArn:ExecutionListItem',
-- executionListItem_stateMachineArn - The Amazon Resource Name
-- (ARN) of the executed state machine.
--
-- $sel:name:ExecutionListItem', executionListItem_name -
-- The name of the execution.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
--
-- $sel:status:ExecutionListItem', executionListItem_status
-- - The current status of the execution.
--
-- $sel:startDate:ExecutionListItem',
-- executionListItem_startDate - The date the execution started.
newExecutionListItem :: Text -> Text -> Text -> ExecutionStatus -> UTCTime -> ExecutionListItem
-- | The total number of items processed in a child workflow execution.
-- This field is returned only if mapRunArn was specified in the
-- ListExecutions API action. If stateMachineArn was
-- specified in ListExecutions, the itemCount field
-- isn't returned.
executionListItem_itemCount :: Lens' ExecutionListItem (Maybe Natural)
-- | The Amazon Resource Name (ARN) of a Map Run. This field is returned
-- only if mapRunArn was specified in the
-- ListExecutions API action. If stateMachineArn was
-- specified in ListExecutions, the mapRunArn isn't
-- returned.
executionListItem_mapRunArn :: Lens' ExecutionListItem (Maybe Text)
-- | If the execution already ended, the date the execution stopped.
executionListItem_stopDate :: Lens' ExecutionListItem (Maybe UTCTime)
-- | The Amazon Resource Name (ARN) that identifies the execution.
executionListItem_executionArn :: Lens' ExecutionListItem Text
-- | The Amazon Resource Name (ARN) of the executed state machine.
executionListItem_stateMachineArn :: Lens' ExecutionListItem Text
-- | The name of the execution.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
executionListItem_name :: Lens' ExecutionListItem Text
-- | The current status of the execution.
executionListItem_status :: Lens' ExecutionListItem ExecutionStatus
-- | The date the execution started.
executionListItem_startDate :: Lens' ExecutionListItem UTCTime
-- | Contains details about the start of the execution.
--
-- See: newExecutionStartedEventDetails smart constructor.
data ExecutionStartedEventDetails
ExecutionStartedEventDetails' :: Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> Maybe Text -> ExecutionStartedEventDetails
-- | The JSON data input to the execution. Length constraints apply to the
-- payload size, and are expressed as bytes in UTF-8 encoding.
[$sel:input:ExecutionStartedEventDetails'] :: ExecutionStartedEventDetails -> Maybe (Sensitive Text)
-- | Contains details about the input for an execution history event.
[$sel:inputDetails:ExecutionStartedEventDetails'] :: ExecutionStartedEventDetails -> Maybe HistoryEventExecutionDataDetails
-- | The Amazon Resource Name (ARN) of the IAM role used for executing
-- Lambda tasks.
[$sel:roleArn:ExecutionStartedEventDetails'] :: ExecutionStartedEventDetails -> Maybe Text
-- | Create a value of ExecutionStartedEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:input:ExecutionStartedEventDetails',
-- executionStartedEventDetails_input - The JSON data input to the
-- execution. Length constraints apply to the payload size, and are
-- expressed as bytes in UTF-8 encoding.
--
-- $sel:inputDetails:ExecutionStartedEventDetails',
-- executionStartedEventDetails_inputDetails - Contains details
-- about the input for an execution history event.
--
-- $sel:roleArn:ExecutionStartedEventDetails',
-- executionStartedEventDetails_roleArn - The Amazon Resource Name
-- (ARN) of the IAM role used for executing Lambda tasks.
newExecutionStartedEventDetails :: ExecutionStartedEventDetails
-- | The JSON data input to the execution. Length constraints apply to the
-- payload size, and are expressed as bytes in UTF-8 encoding.
executionStartedEventDetails_input :: Lens' ExecutionStartedEventDetails (Maybe Text)
-- | Contains details about the input for an execution history event.
executionStartedEventDetails_inputDetails :: Lens' ExecutionStartedEventDetails (Maybe HistoryEventExecutionDataDetails)
-- | The Amazon Resource Name (ARN) of the IAM role used for executing
-- Lambda tasks.
executionStartedEventDetails_roleArn :: Lens' ExecutionStartedEventDetails (Maybe Text)
-- | Contains details about the successful termination of the execution.
--
-- See: newExecutionSucceededEventDetails smart
-- constructor.
data ExecutionSucceededEventDetails
ExecutionSucceededEventDetails' :: Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> ExecutionSucceededEventDetails
-- | The JSON data output by the execution. Length constraints apply to the
-- payload size, and are expressed as bytes in UTF-8 encoding.
[$sel:output:ExecutionSucceededEventDetails'] :: ExecutionSucceededEventDetails -> Maybe (Sensitive Text)
-- | Contains details about the output of an execution history event.
[$sel:outputDetails:ExecutionSucceededEventDetails'] :: ExecutionSucceededEventDetails -> Maybe HistoryEventExecutionDataDetails
-- | Create a value of ExecutionSucceededEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:output:ExecutionSucceededEventDetails',
-- executionSucceededEventDetails_output - The JSON data output by
-- the execution. Length constraints apply to the payload size, and are
-- expressed as bytes in UTF-8 encoding.
--
-- $sel:outputDetails:ExecutionSucceededEventDetails',
-- executionSucceededEventDetails_outputDetails - Contains details
-- about the output of an execution history event.
newExecutionSucceededEventDetails :: ExecutionSucceededEventDetails
-- | The JSON data output by the execution. Length constraints apply to the
-- payload size, and are expressed as bytes in UTF-8 encoding.
executionSucceededEventDetails_output :: Lens' ExecutionSucceededEventDetails (Maybe Text)
-- | Contains details about the output of an execution history event.
executionSucceededEventDetails_outputDetails :: Lens' ExecutionSucceededEventDetails (Maybe HistoryEventExecutionDataDetails)
-- | Contains details about the execution timeout that occurred during the
-- execution.
--
-- See: newExecutionTimedOutEventDetails smart constructor.
data ExecutionTimedOutEventDetails
ExecutionTimedOutEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> ExecutionTimedOutEventDetails
-- | A more detailed explanation of the cause of the timeout.
[$sel:cause:ExecutionTimedOutEventDetails'] :: ExecutionTimedOutEventDetails -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:ExecutionTimedOutEventDetails'] :: ExecutionTimedOutEventDetails -> Maybe (Sensitive Text)
-- | Create a value of ExecutionTimedOutEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:ExecutionTimedOutEventDetails',
-- executionTimedOutEventDetails_cause - A more detailed
-- explanation of the cause of the timeout.
--
-- $sel:error:ExecutionTimedOutEventDetails',
-- executionTimedOutEventDetails_error - The error code of the
-- failure.
newExecutionTimedOutEventDetails :: ExecutionTimedOutEventDetails
-- | A more detailed explanation of the cause of the timeout.
executionTimedOutEventDetails_cause :: Lens' ExecutionTimedOutEventDetails (Maybe Text)
-- | The error code of the failure.
executionTimedOutEventDetails_error :: Lens' ExecutionTimedOutEventDetails (Maybe Text)
-- | Contains details about the events of an execution.
--
-- See: newHistoryEvent smart constructor.
data HistoryEvent
HistoryEvent' :: Maybe ActivityFailedEventDetails -> Maybe ActivityScheduleFailedEventDetails -> Maybe ActivityScheduledEventDetails -> Maybe ActivityStartedEventDetails -> Maybe ActivitySucceededEventDetails -> Maybe ActivityTimedOutEventDetails -> Maybe ExecutionAbortedEventDetails -> Maybe ExecutionFailedEventDetails -> Maybe ExecutionStartedEventDetails -> Maybe ExecutionSucceededEventDetails -> Maybe ExecutionTimedOutEventDetails -> Maybe LambdaFunctionFailedEventDetails -> Maybe LambdaFunctionScheduleFailedEventDetails -> Maybe LambdaFunctionScheduledEventDetails -> Maybe LambdaFunctionStartFailedEventDetails -> Maybe LambdaFunctionSucceededEventDetails -> Maybe LambdaFunctionTimedOutEventDetails -> Maybe MapIterationEventDetails -> Maybe MapIterationEventDetails -> Maybe MapIterationEventDetails -> Maybe MapIterationEventDetails -> Maybe MapRunFailedEventDetails -> Maybe MapRunStartedEventDetails -> Maybe MapStateStartedEventDetails -> Maybe Integer -> Maybe StateEnteredEventDetails -> Maybe StateExitedEventDetails -> Maybe TaskFailedEventDetails -> Maybe TaskScheduledEventDetails -> Maybe TaskStartFailedEventDetails -> Maybe TaskStartedEventDetails -> Maybe TaskSubmitFailedEventDetails -> Maybe TaskSubmittedEventDetails -> Maybe TaskSucceededEventDetails -> Maybe TaskTimedOutEventDetails -> POSIX -> HistoryEventType -> Integer -> HistoryEvent
[$sel:activityFailedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe ActivityFailedEventDetails
-- | Contains details about an activity schedule event that failed during
-- an execution.
[$sel:activityScheduleFailedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe ActivityScheduleFailedEventDetails
[$sel:activityScheduledEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe ActivityScheduledEventDetails
[$sel:activityStartedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe ActivityStartedEventDetails
[$sel:activitySucceededEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe ActivitySucceededEventDetails
[$sel:activityTimedOutEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe ActivityTimedOutEventDetails
[$sel:executionAbortedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe ExecutionAbortedEventDetails
[$sel:executionFailedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe ExecutionFailedEventDetails
[$sel:executionStartedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe ExecutionStartedEventDetails
[$sel:executionSucceededEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe ExecutionSucceededEventDetails
[$sel:executionTimedOutEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe ExecutionTimedOutEventDetails
[$sel:lambdaFunctionFailedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe LambdaFunctionFailedEventDetails
[$sel:lambdaFunctionScheduleFailedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe LambdaFunctionScheduleFailedEventDetails
[$sel:lambdaFunctionScheduledEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe LambdaFunctionScheduledEventDetails
-- | Contains details about a lambda function that failed to start during
-- an execution.
[$sel:lambdaFunctionStartFailedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe LambdaFunctionStartFailedEventDetails
-- | Contains details about a Lambda function that terminated successfully
-- during an execution.
[$sel:lambdaFunctionSucceededEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe LambdaFunctionSucceededEventDetails
[$sel:lambdaFunctionTimedOutEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe LambdaFunctionTimedOutEventDetails
-- | Contains details about an iteration of a Map state that was aborted.
[$sel:mapIterationAbortedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe MapIterationEventDetails
-- | Contains details about an iteration of a Map state that failed.
[$sel:mapIterationFailedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe MapIterationEventDetails
-- | Contains details about an iteration of a Map state that was started.
[$sel:mapIterationStartedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe MapIterationEventDetails
-- | Contains details about an iteration of a Map state that succeeded.
[$sel:mapIterationSucceededEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe MapIterationEventDetails
-- | Contains error and cause details about a Map Run that failed.
[$sel:mapRunFailedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe MapRunFailedEventDetails
-- | Contains details, such as mapRunArn, and the start date and
-- time of a Map Run. mapRunArn is the Amazon Resource Name
-- (ARN) of the Map Run that was started.
[$sel:mapRunStartedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe MapRunStartedEventDetails
-- | Contains details about Map state that was started.
[$sel:mapStateStartedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe MapStateStartedEventDetails
-- | The id of the previous event.
[$sel:previousEventId:HistoryEvent'] :: HistoryEvent -> Maybe Integer
[$sel:stateEnteredEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe StateEnteredEventDetails
[$sel:stateExitedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe StateExitedEventDetails
-- | Contains details about the failure of a task.
[$sel:taskFailedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe TaskFailedEventDetails
-- | Contains details about a task that was scheduled.
[$sel:taskScheduledEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe TaskScheduledEventDetails
-- | Contains details about a task that failed to start.
[$sel:taskStartFailedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe TaskStartFailedEventDetails
-- | Contains details about a task that was started.
[$sel:taskStartedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe TaskStartedEventDetails
-- | Contains details about a task that where the submit failed.
[$sel:taskSubmitFailedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe TaskSubmitFailedEventDetails
-- | Contains details about a submitted task.
[$sel:taskSubmittedEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe TaskSubmittedEventDetails
-- | Contains details about a task that succeeded.
[$sel:taskSucceededEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe TaskSucceededEventDetails
-- | Contains details about a task that timed out.
[$sel:taskTimedOutEventDetails:HistoryEvent'] :: HistoryEvent -> Maybe TaskTimedOutEventDetails
-- | The date and time the event occurred.
[$sel:timestamp:HistoryEvent'] :: HistoryEvent -> POSIX
-- | The type of the event.
[$sel:type':HistoryEvent'] :: HistoryEvent -> HistoryEventType
-- | The id of the event. Events are numbered sequentially, starting at
-- one.
[$sel:id:HistoryEvent'] :: HistoryEvent -> Integer
-- | Create a value of HistoryEvent with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:activityFailedEventDetails:HistoryEvent',
-- historyEvent_activityFailedEventDetails - Undocumented member.
--
-- $sel:activityScheduleFailedEventDetails:HistoryEvent',
-- historyEvent_activityScheduleFailedEventDetails - Contains
-- details about an activity schedule event that failed during an
-- execution.
--
-- $sel:activityScheduledEventDetails:HistoryEvent',
-- historyEvent_activityScheduledEventDetails - Undocumented
-- member.
--
-- $sel:activityStartedEventDetails:HistoryEvent',
-- historyEvent_activityStartedEventDetails - Undocumented member.
--
-- $sel:activitySucceededEventDetails:HistoryEvent',
-- historyEvent_activitySucceededEventDetails - Undocumented
-- member.
--
-- $sel:activityTimedOutEventDetails:HistoryEvent',
-- historyEvent_activityTimedOutEventDetails - Undocumented
-- member.
--
-- $sel:executionAbortedEventDetails:HistoryEvent',
-- historyEvent_executionAbortedEventDetails - Undocumented
-- member.
--
-- $sel:executionFailedEventDetails:HistoryEvent',
-- historyEvent_executionFailedEventDetails - Undocumented member.
--
-- $sel:executionStartedEventDetails:HistoryEvent',
-- historyEvent_executionStartedEventDetails - Undocumented
-- member.
--
-- $sel:executionSucceededEventDetails:HistoryEvent',
-- historyEvent_executionSucceededEventDetails - Undocumented
-- member.
--
-- $sel:executionTimedOutEventDetails:HistoryEvent',
-- historyEvent_executionTimedOutEventDetails - Undocumented
-- member.
--
-- $sel:lambdaFunctionFailedEventDetails:HistoryEvent',
-- historyEvent_lambdaFunctionFailedEventDetails - Undocumented
-- member.
--
-- $sel:lambdaFunctionScheduleFailedEventDetails:HistoryEvent',
-- historyEvent_lambdaFunctionScheduleFailedEventDetails -
-- Undocumented member.
--
-- $sel:lambdaFunctionScheduledEventDetails:HistoryEvent',
-- historyEvent_lambdaFunctionScheduledEventDetails - Undocumented
-- member.
--
-- $sel:lambdaFunctionStartFailedEventDetails:HistoryEvent',
-- historyEvent_lambdaFunctionStartFailedEventDetails - Contains
-- details about a lambda function that failed to start during an
-- execution.
--
-- $sel:lambdaFunctionSucceededEventDetails:HistoryEvent',
-- historyEvent_lambdaFunctionSucceededEventDetails - Contains
-- details about a Lambda function that terminated successfully during an
-- execution.
--
-- $sel:lambdaFunctionTimedOutEventDetails:HistoryEvent',
-- historyEvent_lambdaFunctionTimedOutEventDetails - Undocumented
-- member.
--
-- $sel:mapIterationAbortedEventDetails:HistoryEvent',
-- historyEvent_mapIterationAbortedEventDetails - Contains details
-- about an iteration of a Map state that was aborted.
--
-- $sel:mapIterationFailedEventDetails:HistoryEvent',
-- historyEvent_mapIterationFailedEventDetails - Contains details
-- about an iteration of a Map state that failed.
--
-- $sel:mapIterationStartedEventDetails:HistoryEvent',
-- historyEvent_mapIterationStartedEventDetails - Contains details
-- about an iteration of a Map state that was started.
--
-- $sel:mapIterationSucceededEventDetails:HistoryEvent',
-- historyEvent_mapIterationSucceededEventDetails - Contains
-- details about an iteration of a Map state that succeeded.
--
-- $sel:mapRunFailedEventDetails:HistoryEvent',
-- historyEvent_mapRunFailedEventDetails - Contains error and
-- cause details about a Map Run that failed.
--
-- $sel:mapRunStartedEventDetails:HistoryEvent',
-- historyEvent_mapRunStartedEventDetails - Contains details, such
-- as mapRunArn, and the start date and time of a Map Run.
-- mapRunArn is the Amazon Resource Name (ARN) of the Map Run
-- that was started.
--
-- $sel:mapStateStartedEventDetails:HistoryEvent',
-- historyEvent_mapStateStartedEventDetails - Contains details
-- about Map state that was started.
--
-- $sel:previousEventId:HistoryEvent',
-- historyEvent_previousEventId - The id of the previous event.
--
-- $sel:stateEnteredEventDetails:HistoryEvent',
-- historyEvent_stateEnteredEventDetails - Undocumented member.
--
-- $sel:stateExitedEventDetails:HistoryEvent',
-- historyEvent_stateExitedEventDetails - Undocumented member.
--
-- $sel:taskFailedEventDetails:HistoryEvent',
-- historyEvent_taskFailedEventDetails - Contains details about
-- the failure of a task.
--
-- $sel:taskScheduledEventDetails:HistoryEvent',
-- historyEvent_taskScheduledEventDetails - Contains details about
-- a task that was scheduled.
--
-- $sel:taskStartFailedEventDetails:HistoryEvent',
-- historyEvent_taskStartFailedEventDetails - Contains details
-- about a task that failed to start.
--
-- $sel:taskStartedEventDetails:HistoryEvent',
-- historyEvent_taskStartedEventDetails - Contains details about a
-- task that was started.
--
-- $sel:taskSubmitFailedEventDetails:HistoryEvent',
-- historyEvent_taskSubmitFailedEventDetails - Contains details
-- about a task that where the submit failed.
--
-- $sel:taskSubmittedEventDetails:HistoryEvent',
-- historyEvent_taskSubmittedEventDetails - Contains details about
-- a submitted task.
--
-- $sel:taskSucceededEventDetails:HistoryEvent',
-- historyEvent_taskSucceededEventDetails - Contains details about
-- a task that succeeded.
--
-- $sel:taskTimedOutEventDetails:HistoryEvent',
-- historyEvent_taskTimedOutEventDetails - Contains details about
-- a task that timed out.
--
-- $sel:timestamp:HistoryEvent', historyEvent_timestamp -
-- The date and time the event occurred.
--
-- $sel:type':HistoryEvent', historyEvent_type - The type
-- of the event.
--
-- $sel:id:HistoryEvent', historyEvent_id - The id of the
-- event. Events are numbered sequentially, starting at one.
newHistoryEvent :: UTCTime -> HistoryEventType -> Integer -> HistoryEvent
-- | Undocumented member.
historyEvent_activityFailedEventDetails :: Lens' HistoryEvent (Maybe ActivityFailedEventDetails)
-- | Contains details about an activity schedule event that failed during
-- an execution.
historyEvent_activityScheduleFailedEventDetails :: Lens' HistoryEvent (Maybe ActivityScheduleFailedEventDetails)
-- | Undocumented member.
historyEvent_activityScheduledEventDetails :: Lens' HistoryEvent (Maybe ActivityScheduledEventDetails)
-- | Undocumented member.
historyEvent_activityStartedEventDetails :: Lens' HistoryEvent (Maybe ActivityStartedEventDetails)
-- | Undocumented member.
historyEvent_activitySucceededEventDetails :: Lens' HistoryEvent (Maybe ActivitySucceededEventDetails)
-- | Undocumented member.
historyEvent_activityTimedOutEventDetails :: Lens' HistoryEvent (Maybe ActivityTimedOutEventDetails)
-- | Undocumented member.
historyEvent_executionAbortedEventDetails :: Lens' HistoryEvent (Maybe ExecutionAbortedEventDetails)
-- | Undocumented member.
historyEvent_executionFailedEventDetails :: Lens' HistoryEvent (Maybe ExecutionFailedEventDetails)
-- | Undocumented member.
historyEvent_executionStartedEventDetails :: Lens' HistoryEvent (Maybe ExecutionStartedEventDetails)
-- | Undocumented member.
historyEvent_executionSucceededEventDetails :: Lens' HistoryEvent (Maybe ExecutionSucceededEventDetails)
-- | Undocumented member.
historyEvent_executionTimedOutEventDetails :: Lens' HistoryEvent (Maybe ExecutionTimedOutEventDetails)
-- | Undocumented member.
historyEvent_lambdaFunctionFailedEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionFailedEventDetails)
-- | Undocumented member.
historyEvent_lambdaFunctionScheduleFailedEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionScheduleFailedEventDetails)
-- | Undocumented member.
historyEvent_lambdaFunctionScheduledEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionScheduledEventDetails)
-- | Contains details about a lambda function that failed to start during
-- an execution.
historyEvent_lambdaFunctionStartFailedEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionStartFailedEventDetails)
-- | Contains details about a Lambda function that terminated successfully
-- during an execution.
historyEvent_lambdaFunctionSucceededEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionSucceededEventDetails)
-- | Undocumented member.
historyEvent_lambdaFunctionTimedOutEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionTimedOutEventDetails)
-- | Contains details about an iteration of a Map state that was aborted.
historyEvent_mapIterationAbortedEventDetails :: Lens' HistoryEvent (Maybe MapIterationEventDetails)
-- | Contains details about an iteration of a Map state that failed.
historyEvent_mapIterationFailedEventDetails :: Lens' HistoryEvent (Maybe MapIterationEventDetails)
-- | Contains details about an iteration of a Map state that was started.
historyEvent_mapIterationStartedEventDetails :: Lens' HistoryEvent (Maybe MapIterationEventDetails)
-- | Contains details about an iteration of a Map state that succeeded.
historyEvent_mapIterationSucceededEventDetails :: Lens' HistoryEvent (Maybe MapIterationEventDetails)
-- | Contains error and cause details about a Map Run that failed.
historyEvent_mapRunFailedEventDetails :: Lens' HistoryEvent (Maybe MapRunFailedEventDetails)
-- | Contains details, such as mapRunArn, and the start date and
-- time of a Map Run. mapRunArn is the Amazon Resource Name
-- (ARN) of the Map Run that was started.
historyEvent_mapRunStartedEventDetails :: Lens' HistoryEvent (Maybe MapRunStartedEventDetails)
-- | Contains details about Map state that was started.
historyEvent_mapStateStartedEventDetails :: Lens' HistoryEvent (Maybe MapStateStartedEventDetails)
-- | The id of the previous event.
historyEvent_previousEventId :: Lens' HistoryEvent (Maybe Integer)
-- | Undocumented member.
historyEvent_stateEnteredEventDetails :: Lens' HistoryEvent (Maybe StateEnteredEventDetails)
-- | Undocumented member.
historyEvent_stateExitedEventDetails :: Lens' HistoryEvent (Maybe StateExitedEventDetails)
-- | Contains details about the failure of a task.
historyEvent_taskFailedEventDetails :: Lens' HistoryEvent (Maybe TaskFailedEventDetails)
-- | Contains details about a task that was scheduled.
historyEvent_taskScheduledEventDetails :: Lens' HistoryEvent (Maybe TaskScheduledEventDetails)
-- | Contains details about a task that failed to start.
historyEvent_taskStartFailedEventDetails :: Lens' HistoryEvent (Maybe TaskStartFailedEventDetails)
-- | Contains details about a task that was started.
historyEvent_taskStartedEventDetails :: Lens' HistoryEvent (Maybe TaskStartedEventDetails)
-- | Contains details about a task that where the submit failed.
historyEvent_taskSubmitFailedEventDetails :: Lens' HistoryEvent (Maybe TaskSubmitFailedEventDetails)
-- | Contains details about a submitted task.
historyEvent_taskSubmittedEventDetails :: Lens' HistoryEvent (Maybe TaskSubmittedEventDetails)
-- | Contains details about a task that succeeded.
historyEvent_taskSucceededEventDetails :: Lens' HistoryEvent (Maybe TaskSucceededEventDetails)
-- | Contains details about a task that timed out.
historyEvent_taskTimedOutEventDetails :: Lens' HistoryEvent (Maybe TaskTimedOutEventDetails)
-- | The date and time the event occurred.
historyEvent_timestamp :: Lens' HistoryEvent UTCTime
-- | The type of the event.
historyEvent_type :: Lens' HistoryEvent HistoryEventType
-- | The id of the event. Events are numbered sequentially, starting at
-- one.
historyEvent_id :: Lens' HistoryEvent Integer
-- | Provides details about input or output in an execution history event.
--
-- See: newHistoryEventExecutionDataDetails smart
-- constructor.
data HistoryEventExecutionDataDetails
HistoryEventExecutionDataDetails' :: Maybe Bool -> HistoryEventExecutionDataDetails
-- | Indicates whether input or output was truncated in the response.
-- Always false for API calls.
[$sel:truncated:HistoryEventExecutionDataDetails'] :: HistoryEventExecutionDataDetails -> Maybe Bool
-- | Create a value of HistoryEventExecutionDataDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:truncated:HistoryEventExecutionDataDetails',
-- historyEventExecutionDataDetails_truncated - Indicates whether
-- input or output was truncated in the response. Always false
-- for API calls.
newHistoryEventExecutionDataDetails :: HistoryEventExecutionDataDetails
-- | Indicates whether input or output was truncated in the response.
-- Always false for API calls.
historyEventExecutionDataDetails_truncated :: Lens' HistoryEventExecutionDataDetails (Maybe Bool)
-- | Contains details about a Lambda function that failed during an
-- execution.
--
-- See: newLambdaFunctionFailedEventDetails smart
-- constructor.
data LambdaFunctionFailedEventDetails
LambdaFunctionFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> LambdaFunctionFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
[$sel:cause:LambdaFunctionFailedEventDetails'] :: LambdaFunctionFailedEventDetails -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:LambdaFunctionFailedEventDetails'] :: LambdaFunctionFailedEventDetails -> Maybe (Sensitive Text)
-- | Create a value of LambdaFunctionFailedEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:LambdaFunctionFailedEventDetails',
-- lambdaFunctionFailedEventDetails_cause - A more detailed
-- explanation of the cause of the failure.
--
-- $sel:error:LambdaFunctionFailedEventDetails',
-- lambdaFunctionFailedEventDetails_error - The error code of the
-- failure.
newLambdaFunctionFailedEventDetails :: LambdaFunctionFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
lambdaFunctionFailedEventDetails_cause :: Lens' LambdaFunctionFailedEventDetails (Maybe Text)
-- | The error code of the failure.
lambdaFunctionFailedEventDetails_error :: Lens' LambdaFunctionFailedEventDetails (Maybe Text)
-- | Contains details about a failed Lambda function schedule event that
-- occurred during an execution.
--
-- See: newLambdaFunctionScheduleFailedEventDetails smart
-- constructor.
data LambdaFunctionScheduleFailedEventDetails
LambdaFunctionScheduleFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> LambdaFunctionScheduleFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
[$sel:cause:LambdaFunctionScheduleFailedEventDetails'] :: LambdaFunctionScheduleFailedEventDetails -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:LambdaFunctionScheduleFailedEventDetails'] :: LambdaFunctionScheduleFailedEventDetails -> Maybe (Sensitive Text)
-- | Create a value of LambdaFunctionScheduleFailedEventDetails with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:LambdaFunctionScheduleFailedEventDetails',
-- lambdaFunctionScheduleFailedEventDetails_cause - A more
-- detailed explanation of the cause of the failure.
--
-- $sel:error:LambdaFunctionScheduleFailedEventDetails',
-- lambdaFunctionScheduleFailedEventDetails_error - The error code
-- of the failure.
newLambdaFunctionScheduleFailedEventDetails :: LambdaFunctionScheduleFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
lambdaFunctionScheduleFailedEventDetails_cause :: Lens' LambdaFunctionScheduleFailedEventDetails (Maybe Text)
-- | The error code of the failure.
lambdaFunctionScheduleFailedEventDetails_error :: Lens' LambdaFunctionScheduleFailedEventDetails (Maybe Text)
-- | Contains details about a Lambda function scheduled during an
-- execution.
--
-- See: newLambdaFunctionScheduledEventDetails smart
-- constructor.
data LambdaFunctionScheduledEventDetails
LambdaFunctionScheduledEventDetails' :: Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> Maybe TaskCredentials -> Maybe Integer -> Text -> LambdaFunctionScheduledEventDetails
-- | The JSON data input to the Lambda function. Length constraints apply
-- to the payload size, and are expressed as bytes in UTF-8 encoding.
[$sel:input:LambdaFunctionScheduledEventDetails'] :: LambdaFunctionScheduledEventDetails -> Maybe (Sensitive Text)
-- | Contains details about input for an execution history event.
[$sel:inputDetails:LambdaFunctionScheduledEventDetails'] :: LambdaFunctionScheduledEventDetails -> Maybe HistoryEventExecutionDataDetails
-- | The credentials that Step Functions uses for the task.
[$sel:taskCredentials:LambdaFunctionScheduledEventDetails'] :: LambdaFunctionScheduledEventDetails -> Maybe TaskCredentials
-- | The maximum allowed duration of the Lambda function.
[$sel:timeoutInSeconds:LambdaFunctionScheduledEventDetails'] :: LambdaFunctionScheduledEventDetails -> Maybe Integer
-- | The Amazon Resource Name (ARN) of the scheduled Lambda function.
[$sel:resource:LambdaFunctionScheduledEventDetails'] :: LambdaFunctionScheduledEventDetails -> Text
-- | Create a value of LambdaFunctionScheduledEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:input:LambdaFunctionScheduledEventDetails',
-- lambdaFunctionScheduledEventDetails_input - The JSON data input
-- to the Lambda function. Length constraints apply to the payload size,
-- and are expressed as bytes in UTF-8 encoding.
--
-- $sel:inputDetails:LambdaFunctionScheduledEventDetails',
-- lambdaFunctionScheduledEventDetails_inputDetails - Contains
-- details about input for an execution history event.
--
-- $sel:taskCredentials:LambdaFunctionScheduledEventDetails',
-- lambdaFunctionScheduledEventDetails_taskCredentials - The
-- credentials that Step Functions uses for the task.
--
-- $sel:timeoutInSeconds:LambdaFunctionScheduledEventDetails',
-- lambdaFunctionScheduledEventDetails_timeoutInSeconds - The
-- maximum allowed duration of the Lambda function.
--
-- $sel:resource:LambdaFunctionScheduledEventDetails',
-- lambdaFunctionScheduledEventDetails_resource - The Amazon
-- Resource Name (ARN) of the scheduled Lambda function.
newLambdaFunctionScheduledEventDetails :: Text -> LambdaFunctionScheduledEventDetails
-- | The JSON data input to the Lambda function. Length constraints apply
-- to the payload size, and are expressed as bytes in UTF-8 encoding.
lambdaFunctionScheduledEventDetails_input :: Lens' LambdaFunctionScheduledEventDetails (Maybe Text)
-- | Contains details about input for an execution history event.
lambdaFunctionScheduledEventDetails_inputDetails :: Lens' LambdaFunctionScheduledEventDetails (Maybe HistoryEventExecutionDataDetails)
-- | The credentials that Step Functions uses for the task.
lambdaFunctionScheduledEventDetails_taskCredentials :: Lens' LambdaFunctionScheduledEventDetails (Maybe TaskCredentials)
-- | The maximum allowed duration of the Lambda function.
lambdaFunctionScheduledEventDetails_timeoutInSeconds :: Lens' LambdaFunctionScheduledEventDetails (Maybe Integer)
-- | The Amazon Resource Name (ARN) of the scheduled Lambda function.
lambdaFunctionScheduledEventDetails_resource :: Lens' LambdaFunctionScheduledEventDetails Text
-- | Contains details about a lambda function that failed to start during
-- an execution.
--
-- See: newLambdaFunctionStartFailedEventDetails smart
-- constructor.
data LambdaFunctionStartFailedEventDetails
LambdaFunctionStartFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> LambdaFunctionStartFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
[$sel:cause:LambdaFunctionStartFailedEventDetails'] :: LambdaFunctionStartFailedEventDetails -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:LambdaFunctionStartFailedEventDetails'] :: LambdaFunctionStartFailedEventDetails -> Maybe (Sensitive Text)
-- | Create a value of LambdaFunctionStartFailedEventDetails with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:LambdaFunctionStartFailedEventDetails',
-- lambdaFunctionStartFailedEventDetails_cause - A more detailed
-- explanation of the cause of the failure.
--
-- $sel:error:LambdaFunctionStartFailedEventDetails',
-- lambdaFunctionStartFailedEventDetails_error - The error code of
-- the failure.
newLambdaFunctionStartFailedEventDetails :: LambdaFunctionStartFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
lambdaFunctionStartFailedEventDetails_cause :: Lens' LambdaFunctionStartFailedEventDetails (Maybe Text)
-- | The error code of the failure.
lambdaFunctionStartFailedEventDetails_error :: Lens' LambdaFunctionStartFailedEventDetails (Maybe Text)
-- | Contains details about a Lambda function that successfully terminated
-- during an execution.
--
-- See: newLambdaFunctionSucceededEventDetails smart
-- constructor.
data LambdaFunctionSucceededEventDetails
LambdaFunctionSucceededEventDetails' :: Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> LambdaFunctionSucceededEventDetails
-- | The JSON data output by the Lambda function. Length constraints apply
-- to the payload size, and are expressed as bytes in UTF-8 encoding.
[$sel:output:LambdaFunctionSucceededEventDetails'] :: LambdaFunctionSucceededEventDetails -> Maybe (Sensitive Text)
-- | Contains details about the output of an execution history event.
[$sel:outputDetails:LambdaFunctionSucceededEventDetails'] :: LambdaFunctionSucceededEventDetails -> Maybe HistoryEventExecutionDataDetails
-- | Create a value of LambdaFunctionSucceededEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:output:LambdaFunctionSucceededEventDetails',
-- lambdaFunctionSucceededEventDetails_output - The JSON data
-- output by the Lambda function. Length constraints apply to the payload
-- size, and are expressed as bytes in UTF-8 encoding.
--
-- $sel:outputDetails:LambdaFunctionSucceededEventDetails',
-- lambdaFunctionSucceededEventDetails_outputDetails - Contains
-- details about the output of an execution history event.
newLambdaFunctionSucceededEventDetails :: LambdaFunctionSucceededEventDetails
-- | The JSON data output by the Lambda function. Length constraints apply
-- to the payload size, and are expressed as bytes in UTF-8 encoding.
lambdaFunctionSucceededEventDetails_output :: Lens' LambdaFunctionSucceededEventDetails (Maybe Text)
-- | Contains details about the output of an execution history event.
lambdaFunctionSucceededEventDetails_outputDetails :: Lens' LambdaFunctionSucceededEventDetails (Maybe HistoryEventExecutionDataDetails)
-- | Contains details about a Lambda function timeout that occurred during
-- an execution.
--
-- See: newLambdaFunctionTimedOutEventDetails smart
-- constructor.
data LambdaFunctionTimedOutEventDetails
LambdaFunctionTimedOutEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> LambdaFunctionTimedOutEventDetails
-- | A more detailed explanation of the cause of the timeout.
[$sel:cause:LambdaFunctionTimedOutEventDetails'] :: LambdaFunctionTimedOutEventDetails -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:LambdaFunctionTimedOutEventDetails'] :: LambdaFunctionTimedOutEventDetails -> Maybe (Sensitive Text)
-- | Create a value of LambdaFunctionTimedOutEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:LambdaFunctionTimedOutEventDetails',
-- lambdaFunctionTimedOutEventDetails_cause - A more detailed
-- explanation of the cause of the timeout.
--
-- $sel:error:LambdaFunctionTimedOutEventDetails',
-- lambdaFunctionTimedOutEventDetails_error - The error code of
-- the failure.
newLambdaFunctionTimedOutEventDetails :: LambdaFunctionTimedOutEventDetails
-- | A more detailed explanation of the cause of the timeout.
lambdaFunctionTimedOutEventDetails_cause :: Lens' LambdaFunctionTimedOutEventDetails (Maybe Text)
-- | The error code of the failure.
lambdaFunctionTimedOutEventDetails_error :: Lens' LambdaFunctionTimedOutEventDetails (Maybe Text)
-- | See: newLogDestination smart constructor.
data LogDestination
LogDestination' :: Maybe CloudWatchLogsLogGroup -> LogDestination
-- | An object describing a CloudWatch log group. For more information, see
-- AWS::Logs::LogGroup in the CloudFormation User Guide.
[$sel:cloudWatchLogsLogGroup:LogDestination'] :: LogDestination -> Maybe CloudWatchLogsLogGroup
-- | Create a value of LogDestination with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cloudWatchLogsLogGroup:LogDestination',
-- logDestination_cloudWatchLogsLogGroup - An object describing a
-- CloudWatch log group. For more information, see
-- AWS::Logs::LogGroup in the CloudFormation User Guide.
newLogDestination :: LogDestination
-- | An object describing a CloudWatch log group. For more information, see
-- AWS::Logs::LogGroup in the CloudFormation User Guide.
logDestination_cloudWatchLogsLogGroup :: Lens' LogDestination (Maybe CloudWatchLogsLogGroup)
-- | The LoggingConfiguration data type is used to set CloudWatch
-- Logs options.
--
-- See: newLoggingConfiguration smart constructor.
data LoggingConfiguration
LoggingConfiguration' :: Maybe [LogDestination] -> Maybe Bool -> Maybe LogLevel -> LoggingConfiguration
-- | An array of objects that describes where your execution history events
-- will be logged. Limited to size 1. Required, if your log level is not
-- set to OFF.
[$sel:destinations:LoggingConfiguration'] :: LoggingConfiguration -> Maybe [LogDestination]
-- | Determines whether execution data is included in your log. When set to
-- false, data is excluded.
[$sel:includeExecutionData:LoggingConfiguration'] :: LoggingConfiguration -> Maybe Bool
-- | Defines which category of execution history events are logged.
[$sel:level:LoggingConfiguration'] :: LoggingConfiguration -> Maybe LogLevel
-- | Create a value of LoggingConfiguration with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:destinations:LoggingConfiguration',
-- loggingConfiguration_destinations - An array of objects that
-- describes where your execution history events will be logged. Limited
-- to size 1. Required, if your log level is not set to OFF.
--
-- $sel:includeExecutionData:LoggingConfiguration',
-- loggingConfiguration_includeExecutionData - Determines whether
-- execution data is included in your log. When set to false,
-- data is excluded.
--
-- $sel:level:LoggingConfiguration',
-- loggingConfiguration_level - Defines which category of
-- execution history events are logged.
newLoggingConfiguration :: LoggingConfiguration
-- | An array of objects that describes where your execution history events
-- will be logged. Limited to size 1. Required, if your log level is not
-- set to OFF.
loggingConfiguration_destinations :: Lens' LoggingConfiguration (Maybe [LogDestination])
-- | Determines whether execution data is included in your log. When set to
-- false, data is excluded.
loggingConfiguration_includeExecutionData :: Lens' LoggingConfiguration (Maybe Bool)
-- | Defines which category of execution history events are logged.
loggingConfiguration_level :: Lens' LoggingConfiguration (Maybe LogLevel)
-- | Contains details about an iteration of a Map state.
--
-- See: newMapIterationEventDetails smart constructor.
data MapIterationEventDetails
MapIterationEventDetails' :: Maybe Natural -> Maybe Text -> MapIterationEventDetails
-- | The index of the array belonging to the Map state iteration.
[$sel:index:MapIterationEventDetails'] :: MapIterationEventDetails -> Maybe Natural
-- | The name of the iteration’s parent Map state.
[$sel:name:MapIterationEventDetails'] :: MapIterationEventDetails -> Maybe Text
-- | Create a value of MapIterationEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:index:MapIterationEventDetails',
-- mapIterationEventDetails_index - The index of the array
-- belonging to the Map state iteration.
--
-- $sel:name:MapIterationEventDetails',
-- mapIterationEventDetails_name - The name of the iteration’s
-- parent Map state.
newMapIterationEventDetails :: MapIterationEventDetails
-- | The index of the array belonging to the Map state iteration.
mapIterationEventDetails_index :: Lens' MapIterationEventDetails (Maybe Natural)
-- | The name of the iteration’s parent Map state.
mapIterationEventDetails_name :: Lens' MapIterationEventDetails (Maybe Text)
-- | Contains details about all of the child workflow executions started by
-- a Map Run.
--
-- See: newMapRunExecutionCounts smart constructor.
data MapRunExecutionCounts
MapRunExecutionCounts' :: Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> MapRunExecutionCounts
-- | The total number of child workflow executions that were started by a
-- Map Run, but haven't started executing yet.
[$sel:pending:MapRunExecutionCounts'] :: MapRunExecutionCounts -> Natural
-- | The total number of child workflow executions that were started by a
-- Map Run and are currently in-progress.
[$sel:running:MapRunExecutionCounts'] :: MapRunExecutionCounts -> Natural
-- | The total number of child workflow executions that were started by a
-- Map Run and have completed successfully.
[$sel:succeeded:MapRunExecutionCounts'] :: MapRunExecutionCounts -> Natural
-- | The total number of child workflow executions that were started by a
-- Map Run, but have failed.
[$sel:failed:MapRunExecutionCounts'] :: MapRunExecutionCounts -> Natural
-- | The total number of child workflow executions that were started by a
-- Map Run and have timed out.
[$sel:timedOut:MapRunExecutionCounts'] :: MapRunExecutionCounts -> Natural
-- | The total number of child workflow executions that were started by a
-- Map Run and were running, but were either stopped by the user or by
-- Step Functions because the Map Run failed.
[$sel:aborted:MapRunExecutionCounts'] :: MapRunExecutionCounts -> Natural
-- | The total number of child workflow executions that were started by a
-- Map Run.
[$sel:total:MapRunExecutionCounts'] :: MapRunExecutionCounts -> Natural
-- | Returns the count of child workflow executions whose results were
-- written by ResultWriter. For more information, see
-- ResultWriter in the Step Functions Developer Guide.
[$sel:resultsWritten:MapRunExecutionCounts'] :: MapRunExecutionCounts -> Natural
-- | Create a value of MapRunExecutionCounts with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:pending:MapRunExecutionCounts',
-- mapRunExecutionCounts_pending - The total number of child
-- workflow executions that were started by a Map Run, but haven't
-- started executing yet.
--
-- $sel:running:MapRunExecutionCounts',
-- mapRunExecutionCounts_running - The total number of child
-- workflow executions that were started by a Map Run and are currently
-- in-progress.
--
-- $sel:succeeded:MapRunExecutionCounts',
-- mapRunExecutionCounts_succeeded - The total number of child
-- workflow executions that were started by a Map Run and have completed
-- successfully.
--
-- $sel:failed:MapRunExecutionCounts',
-- mapRunExecutionCounts_failed - The total number of child
-- workflow executions that were started by a Map Run, but have failed.
--
-- $sel:timedOut:MapRunExecutionCounts',
-- mapRunExecutionCounts_timedOut - The total number of child
-- workflow executions that were started by a Map Run and have timed out.
--
-- $sel:aborted:MapRunExecutionCounts',
-- mapRunExecutionCounts_aborted - The total number of child
-- workflow executions that were started by a Map Run and were running,
-- but were either stopped by the user or by Step Functions because the
-- Map Run failed.
--
-- $sel:total:MapRunExecutionCounts',
-- mapRunExecutionCounts_total - The total number of child
-- workflow executions that were started by a Map Run.
--
-- $sel:resultsWritten:MapRunExecutionCounts',
-- mapRunExecutionCounts_resultsWritten - Returns the count of
-- child workflow executions whose results were written by
-- ResultWriter. For more information, see ResultWriter
-- in the Step Functions Developer Guide.
newMapRunExecutionCounts :: Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> MapRunExecutionCounts
-- | The total number of child workflow executions that were started by a
-- Map Run, but haven't started executing yet.
mapRunExecutionCounts_pending :: Lens' MapRunExecutionCounts Natural
-- | The total number of child workflow executions that were started by a
-- Map Run and are currently in-progress.
mapRunExecutionCounts_running :: Lens' MapRunExecutionCounts Natural
-- | The total number of child workflow executions that were started by a
-- Map Run and have completed successfully.
mapRunExecutionCounts_succeeded :: Lens' MapRunExecutionCounts Natural
-- | The total number of child workflow executions that were started by a
-- Map Run, but have failed.
mapRunExecutionCounts_failed :: Lens' MapRunExecutionCounts Natural
-- | The total number of child workflow executions that were started by a
-- Map Run and have timed out.
mapRunExecutionCounts_timedOut :: Lens' MapRunExecutionCounts Natural
-- | The total number of child workflow executions that were started by a
-- Map Run and were running, but were either stopped by the user or by
-- Step Functions because the Map Run failed.
mapRunExecutionCounts_aborted :: Lens' MapRunExecutionCounts Natural
-- | The total number of child workflow executions that were started by a
-- Map Run.
mapRunExecutionCounts_total :: Lens' MapRunExecutionCounts Natural
-- | Returns the count of child workflow executions whose results were
-- written by ResultWriter. For more information, see
-- ResultWriter in the Step Functions Developer Guide.
mapRunExecutionCounts_resultsWritten :: Lens' MapRunExecutionCounts Natural
-- | Contains details about a Map Run failure event that occurred during a
-- state machine execution.
--
-- See: newMapRunFailedEventDetails smart constructor.
data MapRunFailedEventDetails
MapRunFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> MapRunFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
[$sel:cause:MapRunFailedEventDetails'] :: MapRunFailedEventDetails -> Maybe (Sensitive Text)
-- | The error code of the Map Run failure.
[$sel:error:MapRunFailedEventDetails'] :: MapRunFailedEventDetails -> Maybe (Sensitive Text)
-- | Create a value of MapRunFailedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:MapRunFailedEventDetails',
-- mapRunFailedEventDetails_cause - A more detailed explanation of
-- the cause of the failure.
--
-- $sel:error:MapRunFailedEventDetails',
-- mapRunFailedEventDetails_error - The error code of the Map Run
-- failure.
newMapRunFailedEventDetails :: MapRunFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
mapRunFailedEventDetails_cause :: Lens' MapRunFailedEventDetails (Maybe Text)
-- | The error code of the Map Run failure.
mapRunFailedEventDetails_error :: Lens' MapRunFailedEventDetails (Maybe Text)
-- | Contains details about items that were processed in all of the child
-- workflow executions that were started by a Map Run.
--
-- See: newMapRunItemCounts smart constructor.
data MapRunItemCounts
MapRunItemCounts' :: Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> MapRunItemCounts
-- | The total number of items to process in child workflow executions that
-- haven't started running yet.
[$sel:pending:MapRunItemCounts'] :: MapRunItemCounts -> Natural
-- | The total number of items being processed in child workflow executions
-- that are currently in-progress.
[$sel:running:MapRunItemCounts'] :: MapRunItemCounts -> Natural
-- | The total number of items processed in child workflow executions that
-- have completed successfully.
[$sel:succeeded:MapRunItemCounts'] :: MapRunItemCounts -> Natural
-- | The total number of items processed in child workflow executions that
-- have failed.
[$sel:failed:MapRunItemCounts'] :: MapRunItemCounts -> Natural
-- | The total number of items processed in child workflow executions that
-- have timed out.
[$sel:timedOut:MapRunItemCounts'] :: MapRunItemCounts -> Natural
-- | The total number of items processed in child workflow executions that
-- were either stopped by the user or by Step Functions, because the Map
-- Run failed.
[$sel:aborted:MapRunItemCounts'] :: MapRunItemCounts -> Natural
-- | The total number of items processed in all the child workflow
-- executions started by a Map Run.
[$sel:total:MapRunItemCounts'] :: MapRunItemCounts -> Natural
-- | Returns the count of items whose results were written by
-- ResultWriter. For more information, see ResultWriter
-- in the Step Functions Developer Guide.
[$sel:resultsWritten:MapRunItemCounts'] :: MapRunItemCounts -> Natural
-- | Create a value of MapRunItemCounts with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:pending:MapRunItemCounts', mapRunItemCounts_pending
-- - The total number of items to process in child workflow executions
-- that haven't started running yet.
--
-- $sel:running:MapRunItemCounts', mapRunItemCounts_running
-- - The total number of items being processed in child workflow
-- executions that are currently in-progress.
--
-- $sel:succeeded:MapRunItemCounts',
-- mapRunItemCounts_succeeded - The total number of items
-- processed in child workflow executions that have completed
-- successfully.
--
-- $sel:failed:MapRunItemCounts', mapRunItemCounts_failed -
-- The total number of items processed in child workflow executions that
-- have failed.
--
-- $sel:timedOut:MapRunItemCounts',
-- mapRunItemCounts_timedOut - The total number of items processed
-- in child workflow executions that have timed out.
--
-- $sel:aborted:MapRunItemCounts', mapRunItemCounts_aborted
-- - The total number of items processed in child workflow executions
-- that were either stopped by the user or by Step Functions, because the
-- Map Run failed.
--
-- $sel:total:MapRunItemCounts', mapRunItemCounts_total -
-- The total number of items processed in all the child workflow
-- executions started by a Map Run.
--
-- $sel:resultsWritten:MapRunItemCounts',
-- mapRunItemCounts_resultsWritten - Returns the count of items
-- whose results were written by ResultWriter. For more
-- information, see ResultWriter in the Step Functions
-- Developer Guide.
newMapRunItemCounts :: Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> MapRunItemCounts
-- | The total number of items to process in child workflow executions that
-- haven't started running yet.
mapRunItemCounts_pending :: Lens' MapRunItemCounts Natural
-- | The total number of items being processed in child workflow executions
-- that are currently in-progress.
mapRunItemCounts_running :: Lens' MapRunItemCounts Natural
-- | The total number of items processed in child workflow executions that
-- have completed successfully.
mapRunItemCounts_succeeded :: Lens' MapRunItemCounts Natural
-- | The total number of items processed in child workflow executions that
-- have failed.
mapRunItemCounts_failed :: Lens' MapRunItemCounts Natural
-- | The total number of items processed in child workflow executions that
-- have timed out.
mapRunItemCounts_timedOut :: Lens' MapRunItemCounts Natural
-- | The total number of items processed in child workflow executions that
-- were either stopped by the user or by Step Functions, because the Map
-- Run failed.
mapRunItemCounts_aborted :: Lens' MapRunItemCounts Natural
-- | The total number of items processed in all the child workflow
-- executions started by a Map Run.
mapRunItemCounts_total :: Lens' MapRunItemCounts Natural
-- | Returns the count of items whose results were written by
-- ResultWriter. For more information, see ResultWriter
-- in the Step Functions Developer Guide.
mapRunItemCounts_resultsWritten :: Lens' MapRunItemCounts Natural
-- | Contains details about a specific Map Run.
--
-- See: newMapRunListItem smart constructor.
data MapRunListItem
MapRunListItem' :: Maybe POSIX -> Text -> Text -> Text -> POSIX -> MapRunListItem
-- | The date on which the Map Run stopped.
[$sel:stopDate:MapRunListItem'] :: MapRunListItem -> Maybe POSIX
-- | The executionArn of the execution from which the Map Run was
-- started.
[$sel:executionArn:MapRunListItem'] :: MapRunListItem -> Text
-- | The Amazon Resource Name (ARN) of the Map Run.
[$sel:mapRunArn:MapRunListItem'] :: MapRunListItem -> Text
-- | The Amazon Resource Name (ARN) of the executed state machine.
[$sel:stateMachineArn:MapRunListItem'] :: MapRunListItem -> Text
-- | The date on which the Map Run started.
[$sel:startDate:MapRunListItem'] :: MapRunListItem -> POSIX
-- | Create a value of MapRunListItem with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:stopDate:MapRunListItem', mapRunListItem_stopDate -
-- The date on which the Map Run stopped.
--
-- $sel:executionArn:MapRunListItem',
-- mapRunListItem_executionArn - The executionArn of the
-- execution from which the Map Run was started.
--
-- $sel:mapRunArn:MapRunListItem', mapRunListItem_mapRunArn
-- - The Amazon Resource Name (ARN) of the Map Run.
--
-- $sel:stateMachineArn:MapRunListItem',
-- mapRunListItem_stateMachineArn - The Amazon Resource Name (ARN)
-- of the executed state machine.
--
-- $sel:startDate:MapRunListItem', mapRunListItem_startDate
-- - The date on which the Map Run started.
newMapRunListItem :: Text -> Text -> Text -> UTCTime -> MapRunListItem
-- | The date on which the Map Run stopped.
mapRunListItem_stopDate :: Lens' MapRunListItem (Maybe UTCTime)
-- | The executionArn of the execution from which the Map Run was
-- started.
mapRunListItem_executionArn :: Lens' MapRunListItem Text
-- | The Amazon Resource Name (ARN) of the Map Run.
mapRunListItem_mapRunArn :: Lens' MapRunListItem Text
-- | The Amazon Resource Name (ARN) of the executed state machine.
mapRunListItem_stateMachineArn :: Lens' MapRunListItem Text
-- | The date on which the Map Run started.
mapRunListItem_startDate :: Lens' MapRunListItem UTCTime
-- | Contains details about a Map Run that was started during a state
-- machine execution.
--
-- See: newMapRunStartedEventDetails smart constructor.
data MapRunStartedEventDetails
MapRunStartedEventDetails' :: Maybe Text -> MapRunStartedEventDetails
-- | The Amazon Resource Name (ARN) of a Map Run that was started.
[$sel:mapRunArn:MapRunStartedEventDetails'] :: MapRunStartedEventDetails -> Maybe Text
-- | Create a value of MapRunStartedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:mapRunArn:MapRunStartedEventDetails',
-- mapRunStartedEventDetails_mapRunArn - The Amazon Resource Name
-- (ARN) of a Map Run that was started.
newMapRunStartedEventDetails :: MapRunStartedEventDetails
-- | The Amazon Resource Name (ARN) of a Map Run that was started.
mapRunStartedEventDetails_mapRunArn :: Lens' MapRunStartedEventDetails (Maybe Text)
-- | Details about a Map state that was started.
--
-- See: newMapStateStartedEventDetails smart constructor.
data MapStateStartedEventDetails
MapStateStartedEventDetails' :: Maybe Natural -> MapStateStartedEventDetails
-- | The size of the array for Map state iterations.
[$sel:length:MapStateStartedEventDetails'] :: MapStateStartedEventDetails -> Maybe Natural
-- | Create a value of MapStateStartedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:length:MapStateStartedEventDetails',
-- mapStateStartedEventDetails_length - The size of the array for
-- Map state iterations.
newMapStateStartedEventDetails :: MapStateStartedEventDetails
-- | The size of the array for Map state iterations.
mapStateStartedEventDetails_length :: Lens' MapStateStartedEventDetails (Maybe Natural)
-- | Contains details about a state entered during an execution.
--
-- See: newStateEnteredEventDetails smart constructor.
data StateEnteredEventDetails
StateEnteredEventDetails' :: Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> Text -> StateEnteredEventDetails
-- | The string that contains the JSON input data for the state. Length
-- constraints apply to the payload size, and are expressed as bytes in
-- UTF-8 encoding.
[$sel:input:StateEnteredEventDetails'] :: StateEnteredEventDetails -> Maybe (Sensitive Text)
-- | Contains details about the input for an execution history event.
[$sel:inputDetails:StateEnteredEventDetails'] :: StateEnteredEventDetails -> Maybe HistoryEventExecutionDataDetails
-- | The name of the state.
[$sel:name:StateEnteredEventDetails'] :: StateEnteredEventDetails -> Text
-- | Create a value of StateEnteredEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:input:StateEnteredEventDetails',
-- stateEnteredEventDetails_input - The string that contains the
-- JSON input data for the state. Length constraints apply to the payload
-- size, and are expressed as bytes in UTF-8 encoding.
--
-- $sel:inputDetails:StateEnteredEventDetails',
-- stateEnteredEventDetails_inputDetails - Contains details about
-- the input for an execution history event.
--
-- $sel:name:StateEnteredEventDetails',
-- stateEnteredEventDetails_name - The name of the state.
newStateEnteredEventDetails :: Text -> StateEnteredEventDetails
-- | The string that contains the JSON input data for the state. Length
-- constraints apply to the payload size, and are expressed as bytes in
-- UTF-8 encoding.
stateEnteredEventDetails_input :: Lens' StateEnteredEventDetails (Maybe Text)
-- | Contains details about the input for an execution history event.
stateEnteredEventDetails_inputDetails :: Lens' StateEnteredEventDetails (Maybe HistoryEventExecutionDataDetails)
-- | The name of the state.
stateEnteredEventDetails_name :: Lens' StateEnteredEventDetails Text
-- | Contains details about an exit from a state during an execution.
--
-- See: newStateExitedEventDetails smart constructor.
data StateExitedEventDetails
StateExitedEventDetails' :: Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> Text -> StateExitedEventDetails
-- | The JSON output data of the state. Length constraints apply to the
-- payload size, and are expressed as bytes in UTF-8 encoding.
[$sel:output:StateExitedEventDetails'] :: StateExitedEventDetails -> Maybe (Sensitive Text)
-- | Contains details about the output of an execution history event.
[$sel:outputDetails:StateExitedEventDetails'] :: StateExitedEventDetails -> Maybe HistoryEventExecutionDataDetails
-- | The name of the state.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
[$sel:name:StateExitedEventDetails'] :: StateExitedEventDetails -> Text
-- | Create a value of StateExitedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:output:StateExitedEventDetails',
-- stateExitedEventDetails_output - The JSON output data of the
-- state. Length constraints apply to the payload size, and are expressed
-- as bytes in UTF-8 encoding.
--
-- $sel:outputDetails:StateExitedEventDetails',
-- stateExitedEventDetails_outputDetails - Contains details about
-- the output of an execution history event.
--
-- $sel:name:StateExitedEventDetails',
-- stateExitedEventDetails_name - The name of the state.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
newStateExitedEventDetails :: Text -> StateExitedEventDetails
-- | The JSON output data of the state. Length constraints apply to the
-- payload size, and are expressed as bytes in UTF-8 encoding.
stateExitedEventDetails_output :: Lens' StateExitedEventDetails (Maybe Text)
-- | Contains details about the output of an execution history event.
stateExitedEventDetails_outputDetails :: Lens' StateExitedEventDetails (Maybe HistoryEventExecutionDataDetails)
-- | The name of the state.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
stateExitedEventDetails_name :: Lens' StateExitedEventDetails Text
-- | Contains details about the state machine.
--
-- See: newStateMachineListItem smart constructor.
data StateMachineListItem
StateMachineListItem' :: Text -> Text -> StateMachineType -> POSIX -> StateMachineListItem
-- | The Amazon Resource Name (ARN) that identifies the state machine.
[$sel:stateMachineArn:StateMachineListItem'] :: StateMachineListItem -> Text
-- | The name of the state machine.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
[$sel:name:StateMachineListItem'] :: StateMachineListItem -> Text
[$sel:type':StateMachineListItem'] :: StateMachineListItem -> StateMachineType
-- | The date the state machine is created.
[$sel:creationDate:StateMachineListItem'] :: StateMachineListItem -> POSIX
-- | Create a value of StateMachineListItem with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:stateMachineArn:StateMachineListItem',
-- stateMachineListItem_stateMachineArn - The Amazon Resource Name
-- (ARN) that identifies the state machine.
--
-- $sel:name:StateMachineListItem',
-- stateMachineListItem_name - The name of the state machine.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
--
-- $sel:type':StateMachineListItem',
-- stateMachineListItem_type -
--
-- $sel:creationDate:StateMachineListItem',
-- stateMachineListItem_creationDate - The date the state machine
-- is created.
newStateMachineListItem :: Text -> Text -> StateMachineType -> UTCTime -> StateMachineListItem
-- | The Amazon Resource Name (ARN) that identifies the state machine.
stateMachineListItem_stateMachineArn :: Lens' StateMachineListItem Text
-- | The name of the state machine.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
stateMachineListItem_name :: Lens' StateMachineListItem Text
stateMachineListItem_type :: Lens' StateMachineListItem StateMachineType
-- | The date the state machine is created.
stateMachineListItem_creationDate :: Lens' StateMachineListItem UTCTime
-- | Tags are key-value pairs that can be associated with Step Functions
-- state machines and activities.
--
-- An array of key-value pairs. For more information, see Using Cost
-- Allocation Tags in the Amazon Web Services Billing and Cost
-- Management User Guide, and Controlling Access Using IAM
-- Tags.
--
-- Tags may only contain Unicode letters, digits, white space, or these
-- symbols: _ . : / = + - @.
--
-- See: newTag smart constructor.
data Tag
Tag' :: Maybe Text -> Maybe Text -> Tag
-- | The key of a tag.
[$sel:key:Tag'] :: Tag -> Maybe Text
-- | The value of a tag.
[$sel:value:Tag'] :: Tag -> Maybe Text
-- | Create a value of Tag with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:key:Tag', tag_key - The key of a tag.
--
-- $sel:value:Tag', tag_value - The value of a tag.
newTag :: Tag
-- | The key of a tag.
tag_key :: Lens' Tag (Maybe Text)
-- | The value of a tag.
tag_value :: Lens' Tag (Maybe Text)
-- | Contains details about the credentials that Step Functions uses for a
-- task.
--
-- See: newTaskCredentials smart constructor.
data TaskCredentials
TaskCredentials' :: Maybe Text -> TaskCredentials
-- | The ARN of an IAM role that Step Functions assumes for the task. The
-- role can allow cross-account access to resources.
[$sel:roleArn:TaskCredentials'] :: TaskCredentials -> Maybe Text
-- | Create a value of TaskCredentials with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:roleArn:TaskCredentials', taskCredentials_roleArn -
-- The ARN of an IAM role that Step Functions assumes for the task. The
-- role can allow cross-account access to resources.
newTaskCredentials :: TaskCredentials
-- | The ARN of an IAM role that Step Functions assumes for the task. The
-- role can allow cross-account access to resources.
taskCredentials_roleArn :: Lens' TaskCredentials (Maybe Text)
-- | Contains details about a task failure event.
--
-- See: newTaskFailedEventDetails smart constructor.
data TaskFailedEventDetails
TaskFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Text -> Text -> TaskFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
[$sel:cause:TaskFailedEventDetails'] :: TaskFailedEventDetails -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:TaskFailedEventDetails'] :: TaskFailedEventDetails -> Maybe (Sensitive Text)
-- | The service name of the resource in a task state.
[$sel:resourceType:TaskFailedEventDetails'] :: TaskFailedEventDetails -> Text
-- | The action of the resource called by a task state.
[$sel:resource:TaskFailedEventDetails'] :: TaskFailedEventDetails -> Text
-- | Create a value of TaskFailedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:TaskFailedEventDetails',
-- taskFailedEventDetails_cause - A more detailed explanation of
-- the cause of the failure.
--
-- $sel:error:TaskFailedEventDetails',
-- taskFailedEventDetails_error - The error code of the failure.
--
-- $sel:resourceType:TaskFailedEventDetails',
-- taskFailedEventDetails_resourceType - The service name of the
-- resource in a task state.
--
-- $sel:resource:TaskFailedEventDetails',
-- taskFailedEventDetails_resource - The action of the resource
-- called by a task state.
newTaskFailedEventDetails :: Text -> Text -> TaskFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
taskFailedEventDetails_cause :: Lens' TaskFailedEventDetails (Maybe Text)
-- | The error code of the failure.
taskFailedEventDetails_error :: Lens' TaskFailedEventDetails (Maybe Text)
-- | The service name of the resource in a task state.
taskFailedEventDetails_resourceType :: Lens' TaskFailedEventDetails Text
-- | The action of the resource called by a task state.
taskFailedEventDetails_resource :: Lens' TaskFailedEventDetails Text
-- | Contains details about a task scheduled during an execution.
--
-- See: newTaskScheduledEventDetails smart constructor.
data TaskScheduledEventDetails
TaskScheduledEventDetails' :: Maybe Integer -> Maybe TaskCredentials -> Maybe Integer -> Text -> Text -> Text -> Sensitive Text -> TaskScheduledEventDetails
-- | The maximum allowed duration between two heartbeats for the task.
[$sel:heartbeatInSeconds:TaskScheduledEventDetails'] :: TaskScheduledEventDetails -> Maybe Integer
-- | The credentials that Step Functions uses for the task.
[$sel:taskCredentials:TaskScheduledEventDetails'] :: TaskScheduledEventDetails -> Maybe TaskCredentials
-- | The maximum allowed duration of the task.
[$sel:timeoutInSeconds:TaskScheduledEventDetails'] :: TaskScheduledEventDetails -> Maybe Integer
-- | The service name of the resource in a task state.
[$sel:resourceType:TaskScheduledEventDetails'] :: TaskScheduledEventDetails -> Text
-- | The action of the resource called by a task state.
[$sel:resource:TaskScheduledEventDetails'] :: TaskScheduledEventDetails -> Text
-- | The region of the scheduled task
[$sel:region:TaskScheduledEventDetails'] :: TaskScheduledEventDetails -> Text
-- | The JSON data passed to the resource referenced in a task state.
-- Length constraints apply to the payload size, and are expressed as
-- bytes in UTF-8 encoding.
[$sel:parameters:TaskScheduledEventDetails'] :: TaskScheduledEventDetails -> Sensitive Text
-- | Create a value of TaskScheduledEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:heartbeatInSeconds:TaskScheduledEventDetails',
-- taskScheduledEventDetails_heartbeatInSeconds - The maximum
-- allowed duration between two heartbeats for the task.
--
-- $sel:taskCredentials:TaskScheduledEventDetails',
-- taskScheduledEventDetails_taskCredentials - The credentials
-- that Step Functions uses for the task.
--
-- $sel:timeoutInSeconds:TaskScheduledEventDetails',
-- taskScheduledEventDetails_timeoutInSeconds - The maximum
-- allowed duration of the task.
--
-- $sel:resourceType:TaskScheduledEventDetails',
-- taskScheduledEventDetails_resourceType - The service name of
-- the resource in a task state.
--
-- $sel:resource:TaskScheduledEventDetails',
-- taskScheduledEventDetails_resource - The action of the resource
-- called by a task state.
--
-- $sel:region:TaskScheduledEventDetails',
-- taskScheduledEventDetails_region - The region of the scheduled
-- task
--
-- $sel:parameters:TaskScheduledEventDetails',
-- taskScheduledEventDetails_parameters - The JSON data passed to
-- the resource referenced in a task state. Length constraints apply to
-- the payload size, and are expressed as bytes in UTF-8 encoding.
newTaskScheduledEventDetails :: Text -> Text -> Text -> Text -> TaskScheduledEventDetails
-- | The maximum allowed duration between two heartbeats for the task.
taskScheduledEventDetails_heartbeatInSeconds :: Lens' TaskScheduledEventDetails (Maybe Integer)
-- | The credentials that Step Functions uses for the task.
taskScheduledEventDetails_taskCredentials :: Lens' TaskScheduledEventDetails (Maybe TaskCredentials)
-- | The maximum allowed duration of the task.
taskScheduledEventDetails_timeoutInSeconds :: Lens' TaskScheduledEventDetails (Maybe Integer)
-- | The service name of the resource in a task state.
taskScheduledEventDetails_resourceType :: Lens' TaskScheduledEventDetails Text
-- | The action of the resource called by a task state.
taskScheduledEventDetails_resource :: Lens' TaskScheduledEventDetails Text
-- | The region of the scheduled task
taskScheduledEventDetails_region :: Lens' TaskScheduledEventDetails Text
-- | The JSON data passed to the resource referenced in a task state.
-- Length constraints apply to the payload size, and are expressed as
-- bytes in UTF-8 encoding.
taskScheduledEventDetails_parameters :: Lens' TaskScheduledEventDetails Text
-- | Contains details about a task that failed to start during an
-- execution.
--
-- See: newTaskStartFailedEventDetails smart constructor.
data TaskStartFailedEventDetails
TaskStartFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Text -> Text -> TaskStartFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
[$sel:cause:TaskStartFailedEventDetails'] :: TaskStartFailedEventDetails -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:TaskStartFailedEventDetails'] :: TaskStartFailedEventDetails -> Maybe (Sensitive Text)
-- | The service name of the resource in a task state.
[$sel:resourceType:TaskStartFailedEventDetails'] :: TaskStartFailedEventDetails -> Text
-- | The action of the resource called by a task state.
[$sel:resource:TaskStartFailedEventDetails'] :: TaskStartFailedEventDetails -> Text
-- | Create a value of TaskStartFailedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:TaskStartFailedEventDetails',
-- taskStartFailedEventDetails_cause - A more detailed explanation
-- of the cause of the failure.
--
-- $sel:error:TaskStartFailedEventDetails',
-- taskStartFailedEventDetails_error - The error code of the
-- failure.
--
-- $sel:resourceType:TaskStartFailedEventDetails',
-- taskStartFailedEventDetails_resourceType - The service name of
-- the resource in a task state.
--
-- $sel:resource:TaskStartFailedEventDetails',
-- taskStartFailedEventDetails_resource - The action of the
-- resource called by a task state.
newTaskStartFailedEventDetails :: Text -> Text -> TaskStartFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
taskStartFailedEventDetails_cause :: Lens' TaskStartFailedEventDetails (Maybe Text)
-- | The error code of the failure.
taskStartFailedEventDetails_error :: Lens' TaskStartFailedEventDetails (Maybe Text)
-- | The service name of the resource in a task state.
taskStartFailedEventDetails_resourceType :: Lens' TaskStartFailedEventDetails Text
-- | The action of the resource called by a task state.
taskStartFailedEventDetails_resource :: Lens' TaskStartFailedEventDetails Text
-- | Contains details about the start of a task during an execution.
--
-- See: newTaskStartedEventDetails smart constructor.
data TaskStartedEventDetails
TaskStartedEventDetails' :: Text -> Text -> TaskStartedEventDetails
-- | The service name of the resource in a task state.
[$sel:resourceType:TaskStartedEventDetails'] :: TaskStartedEventDetails -> Text
-- | The action of the resource called by a task state.
[$sel:resource:TaskStartedEventDetails'] :: TaskStartedEventDetails -> Text
-- | Create a value of TaskStartedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceType:TaskStartedEventDetails',
-- taskStartedEventDetails_resourceType - The service name of the
-- resource in a task state.
--
-- $sel:resource:TaskStartedEventDetails',
-- taskStartedEventDetails_resource - The action of the resource
-- called by a task state.
newTaskStartedEventDetails :: Text -> Text -> TaskStartedEventDetails
-- | The service name of the resource in a task state.
taskStartedEventDetails_resourceType :: Lens' TaskStartedEventDetails Text
-- | The action of the resource called by a task state.
taskStartedEventDetails_resource :: Lens' TaskStartedEventDetails Text
-- | Contains details about a task that failed to submit during an
-- execution.
--
-- See: newTaskSubmitFailedEventDetails smart constructor.
data TaskSubmitFailedEventDetails
TaskSubmitFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Text -> Text -> TaskSubmitFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
[$sel:cause:TaskSubmitFailedEventDetails'] :: TaskSubmitFailedEventDetails -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:TaskSubmitFailedEventDetails'] :: TaskSubmitFailedEventDetails -> Maybe (Sensitive Text)
-- | The service name of the resource in a task state.
[$sel:resourceType:TaskSubmitFailedEventDetails'] :: TaskSubmitFailedEventDetails -> Text
-- | The action of the resource called by a task state.
[$sel:resource:TaskSubmitFailedEventDetails'] :: TaskSubmitFailedEventDetails -> Text
-- | Create a value of TaskSubmitFailedEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:TaskSubmitFailedEventDetails',
-- taskSubmitFailedEventDetails_cause - A more detailed
-- explanation of the cause of the failure.
--
-- $sel:error:TaskSubmitFailedEventDetails',
-- taskSubmitFailedEventDetails_error - The error code of the
-- failure.
--
-- $sel:resourceType:TaskSubmitFailedEventDetails',
-- taskSubmitFailedEventDetails_resourceType - The service name of
-- the resource in a task state.
--
-- $sel:resource:TaskSubmitFailedEventDetails',
-- taskSubmitFailedEventDetails_resource - The action of the
-- resource called by a task state.
newTaskSubmitFailedEventDetails :: Text -> Text -> TaskSubmitFailedEventDetails
-- | A more detailed explanation of the cause of the failure.
taskSubmitFailedEventDetails_cause :: Lens' TaskSubmitFailedEventDetails (Maybe Text)
-- | The error code of the failure.
taskSubmitFailedEventDetails_error :: Lens' TaskSubmitFailedEventDetails (Maybe Text)
-- | The service name of the resource in a task state.
taskSubmitFailedEventDetails_resourceType :: Lens' TaskSubmitFailedEventDetails Text
-- | The action of the resource called by a task state.
taskSubmitFailedEventDetails_resource :: Lens' TaskSubmitFailedEventDetails Text
-- | Contains details about a task submitted to a resource .
--
-- See: newTaskSubmittedEventDetails smart constructor.
data TaskSubmittedEventDetails
TaskSubmittedEventDetails' :: Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> Text -> Text -> TaskSubmittedEventDetails
-- | The response from a resource when a task has started. Length
-- constraints apply to the payload size, and are expressed as bytes in
-- UTF-8 encoding.
[$sel:output:TaskSubmittedEventDetails'] :: TaskSubmittedEventDetails -> Maybe (Sensitive Text)
-- | Contains details about the output of an execution history event.
[$sel:outputDetails:TaskSubmittedEventDetails'] :: TaskSubmittedEventDetails -> Maybe HistoryEventExecutionDataDetails
-- | The service name of the resource in a task state.
[$sel:resourceType:TaskSubmittedEventDetails'] :: TaskSubmittedEventDetails -> Text
-- | The action of the resource called by a task state.
[$sel:resource:TaskSubmittedEventDetails'] :: TaskSubmittedEventDetails -> Text
-- | Create a value of TaskSubmittedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:output:TaskSubmittedEventDetails',
-- taskSubmittedEventDetails_output - The response from a resource
-- when a task has started. Length constraints apply to the payload size,
-- and are expressed as bytes in UTF-8 encoding.
--
-- $sel:outputDetails:TaskSubmittedEventDetails',
-- taskSubmittedEventDetails_outputDetails - Contains details
-- about the output of an execution history event.
--
-- $sel:resourceType:TaskSubmittedEventDetails',
-- taskSubmittedEventDetails_resourceType - The service name of
-- the resource in a task state.
--
-- $sel:resource:TaskSubmittedEventDetails',
-- taskSubmittedEventDetails_resource - The action of the resource
-- called by a task state.
newTaskSubmittedEventDetails :: Text -> Text -> TaskSubmittedEventDetails
-- | The response from a resource when a task has started. Length
-- constraints apply to the payload size, and are expressed as bytes in
-- UTF-8 encoding.
taskSubmittedEventDetails_output :: Lens' TaskSubmittedEventDetails (Maybe Text)
-- | Contains details about the output of an execution history event.
taskSubmittedEventDetails_outputDetails :: Lens' TaskSubmittedEventDetails (Maybe HistoryEventExecutionDataDetails)
-- | The service name of the resource in a task state.
taskSubmittedEventDetails_resourceType :: Lens' TaskSubmittedEventDetails Text
-- | The action of the resource called by a task state.
taskSubmittedEventDetails_resource :: Lens' TaskSubmittedEventDetails Text
-- | Contains details about the successful completion of a task state.
--
-- See: newTaskSucceededEventDetails smart constructor.
data TaskSucceededEventDetails
TaskSucceededEventDetails' :: Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> Text -> Text -> TaskSucceededEventDetails
-- | The full JSON response from a resource when a task has succeeded. This
-- response becomes the output of the related task. Length constraints
-- apply to the payload size, and are expressed as bytes in UTF-8
-- encoding.
[$sel:output:TaskSucceededEventDetails'] :: TaskSucceededEventDetails -> Maybe (Sensitive Text)
-- | Contains details about the output of an execution history event.
[$sel:outputDetails:TaskSucceededEventDetails'] :: TaskSucceededEventDetails -> Maybe HistoryEventExecutionDataDetails
-- | The service name of the resource in a task state.
[$sel:resourceType:TaskSucceededEventDetails'] :: TaskSucceededEventDetails -> Text
-- | The action of the resource called by a task state.
[$sel:resource:TaskSucceededEventDetails'] :: TaskSucceededEventDetails -> Text
-- | Create a value of TaskSucceededEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:output:TaskSucceededEventDetails',
-- taskSucceededEventDetails_output - The full JSON response from
-- a resource when a task has succeeded. This response becomes the output
-- of the related task. Length constraints apply to the payload size, and
-- are expressed as bytes in UTF-8 encoding.
--
-- $sel:outputDetails:TaskSucceededEventDetails',
-- taskSucceededEventDetails_outputDetails - Contains details
-- about the output of an execution history event.
--
-- $sel:resourceType:TaskSucceededEventDetails',
-- taskSucceededEventDetails_resourceType - The service name of
-- the resource in a task state.
--
-- $sel:resource:TaskSucceededEventDetails',
-- taskSucceededEventDetails_resource - The action of the resource
-- called by a task state.
newTaskSucceededEventDetails :: Text -> Text -> TaskSucceededEventDetails
-- | The full JSON response from a resource when a task has succeeded. This
-- response becomes the output of the related task. Length constraints
-- apply to the payload size, and are expressed as bytes in UTF-8
-- encoding.
taskSucceededEventDetails_output :: Lens' TaskSucceededEventDetails (Maybe Text)
-- | Contains details about the output of an execution history event.
taskSucceededEventDetails_outputDetails :: Lens' TaskSucceededEventDetails (Maybe HistoryEventExecutionDataDetails)
-- | The service name of the resource in a task state.
taskSucceededEventDetails_resourceType :: Lens' TaskSucceededEventDetails Text
-- | The action of the resource called by a task state.
taskSucceededEventDetails_resource :: Lens' TaskSucceededEventDetails Text
-- | Contains details about a resource timeout that occurred during an
-- execution.
--
-- See: newTaskTimedOutEventDetails smart constructor.
data TaskTimedOutEventDetails
TaskTimedOutEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Text -> Text -> TaskTimedOutEventDetails
-- | A more detailed explanation of the cause of the failure.
[$sel:cause:TaskTimedOutEventDetails'] :: TaskTimedOutEventDetails -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:TaskTimedOutEventDetails'] :: TaskTimedOutEventDetails -> Maybe (Sensitive Text)
-- | The service name of the resource in a task state.
[$sel:resourceType:TaskTimedOutEventDetails'] :: TaskTimedOutEventDetails -> Text
-- | The action of the resource called by a task state.
[$sel:resource:TaskTimedOutEventDetails'] :: TaskTimedOutEventDetails -> Text
-- | Create a value of TaskTimedOutEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:TaskTimedOutEventDetails',
-- taskTimedOutEventDetails_cause - A more detailed explanation of
-- the cause of the failure.
--
-- $sel:error:TaskTimedOutEventDetails',
-- taskTimedOutEventDetails_error - The error code of the failure.
--
-- $sel:resourceType:TaskTimedOutEventDetails',
-- taskTimedOutEventDetails_resourceType - The service name of the
-- resource in a task state.
--
-- $sel:resource:TaskTimedOutEventDetails',
-- taskTimedOutEventDetails_resource - The action of the resource
-- called by a task state.
newTaskTimedOutEventDetails :: Text -> Text -> TaskTimedOutEventDetails
-- | A more detailed explanation of the cause of the failure.
taskTimedOutEventDetails_cause :: Lens' TaskTimedOutEventDetails (Maybe Text)
-- | The error code of the failure.
taskTimedOutEventDetails_error :: Lens' TaskTimedOutEventDetails (Maybe Text)
-- | The service name of the resource in a task state.
taskTimedOutEventDetails_resourceType :: Lens' TaskTimedOutEventDetails Text
-- | The action of the resource called by a task state.
taskTimedOutEventDetails_resource :: Lens' TaskTimedOutEventDetails Text
-- | Selects whether or not the state machine's X-Ray tracing is enabled.
-- Default is false
--
-- See: newTracingConfiguration smart constructor.
data TracingConfiguration
TracingConfiguration' :: Maybe Bool -> TracingConfiguration
-- | When set to true, X-Ray tracing is enabled.
[$sel:enabled:TracingConfiguration'] :: TracingConfiguration -> Maybe Bool
-- | Create a value of TracingConfiguration with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:enabled:TracingConfiguration',
-- tracingConfiguration_enabled - When set to true, X-Ray
-- tracing is enabled.
newTracingConfiguration :: TracingConfiguration
-- | When set to true, X-Ray tracing is enabled.
tracingConfiguration_enabled :: Lens' TracingConfiguration (Maybe Bool)
-- | Add a tag to a Step Functions resource.
--
-- An array of key-value pairs. For more information, see Using Cost
-- Allocation Tags in the Amazon Web Services Billing and Cost
-- Management User Guide, and Controlling Access Using IAM
-- Tags.
--
-- Tags may only contain Unicode letters, digits, white space, or these
-- symbols: _ . : / = + - @.
module Amazonka.StepFunctions.TagResource
-- | See: newTagResource smart constructor.
data TagResource
TagResource' :: Text -> [Tag] -> TagResource
-- | The Amazon Resource Name (ARN) for the Step Functions state machine or
-- activity.
[$sel:resourceArn:TagResource'] :: TagResource -> Text
-- | The list of tags to add to a resource.
--
-- Tags may only contain Unicode letters, digits, white space, or these
-- symbols: _ . : / = + - @.
[$sel:tags:TagResource'] :: TagResource -> [Tag]
-- | Create a value of TagResource with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceArn:TagResource', tagResource_resourceArn -
-- The Amazon Resource Name (ARN) for the Step Functions state machine or
-- activity.
--
-- $sel:tags:TagResource', tagResource_tags - The list of
-- tags to add to a resource.
--
-- Tags may only contain Unicode letters, digits, white space, or these
-- symbols: _ . : / = + - @.
newTagResource :: Text -> TagResource
-- | The Amazon Resource Name (ARN) for the Step Functions state machine or
-- activity.
tagResource_resourceArn :: Lens' TagResource Text
-- | The list of tags to add to a resource.
--
-- Tags may only contain Unicode letters, digits, white space, or these
-- symbols: _ . : / = + - @.
tagResource_tags :: Lens' TagResource [Tag]
-- | See: newTagResourceResponse smart constructor.
data TagResourceResponse
TagResourceResponse' :: Int -> TagResourceResponse
-- | The response's http status code.
[$sel:httpStatus:TagResourceResponse'] :: TagResourceResponse -> Int
-- | Create a value of TagResourceResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:TagResourceResponse',
-- tagResourceResponse_httpStatus - The response's http status
-- code.
newTagResourceResponse :: Int -> TagResourceResponse
-- | The response's http status code.
tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
instance GHC.Generics.Generic Amazonka.StepFunctions.TagResource.TagResource
instance GHC.Show.Show Amazonka.StepFunctions.TagResource.TagResource
instance GHC.Read.Read Amazonka.StepFunctions.TagResource.TagResource
instance GHC.Classes.Eq Amazonka.StepFunctions.TagResource.TagResource
instance GHC.Generics.Generic Amazonka.StepFunctions.TagResource.TagResourceResponse
instance GHC.Show.Show Amazonka.StepFunctions.TagResource.TagResourceResponse
instance GHC.Read.Read Amazonka.StepFunctions.TagResource.TagResourceResponse
instance GHC.Classes.Eq Amazonka.StepFunctions.TagResource.TagResourceResponse
instance Amazonka.Types.AWSRequest Amazonka.StepFunctions.TagResource.TagResource
instance Control.DeepSeq.NFData Amazonka.StepFunctions.TagResource.TagResourceResponse
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.TagResource.TagResource
instance Control.DeepSeq.NFData Amazonka.StepFunctions.TagResource.TagResource
instance Amazonka.Data.Headers.ToHeaders Amazonka.StepFunctions.TagResource.TagResource
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.TagResource.TagResource
instance Amazonka.Data.Path.ToPath Amazonka.StepFunctions.TagResource.TagResource
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.TagResource.TagResource
-- | Stops an execution.
--
-- This API action is not supported by EXPRESS state machines.
module Amazonka.StepFunctions.StopExecution
-- | See: newStopExecution smart constructor.
data StopExecution
StopExecution' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Text -> StopExecution
-- | A more detailed explanation of the cause of the failure.
[$sel:cause:StopExecution'] :: StopExecution -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:StopExecution'] :: StopExecution -> Maybe (Sensitive Text)
-- | The Amazon Resource Name (ARN) of the execution to stop.
[$sel:executionArn:StopExecution'] :: StopExecution -> Text
-- | Create a value of StopExecution with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- StopExecution, stopExecution_cause - A more detailed
-- explanation of the cause of the failure.
--
-- StopExecution, stopExecution_error - The error code of
-- the failure.
--
-- StopExecution, stopExecution_executionArn - The Amazon
-- Resource Name (ARN) of the execution to stop.
newStopExecution :: Text -> StopExecution
-- | A more detailed explanation of the cause of the failure.
stopExecution_cause :: Lens' StopExecution (Maybe Text)
-- | The error code of the failure.
stopExecution_error :: Lens' StopExecution (Maybe Text)
-- | The Amazon Resource Name (ARN) of the execution to stop.
stopExecution_executionArn :: Lens' StopExecution Text
-- | See: newStopExecutionResponse smart constructor.
data StopExecutionResponse
StopExecutionResponse' :: Int -> POSIX -> StopExecutionResponse
-- | The response's http status code.
[$sel:httpStatus:StopExecutionResponse'] :: StopExecutionResponse -> Int
-- | The date the execution is stopped.
[$sel:stopDate:StopExecutionResponse'] :: StopExecutionResponse -> POSIX
-- | Create a value of StopExecutionResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:StopExecutionResponse',
-- stopExecutionResponse_httpStatus - The response's http status
-- code.
--
-- StopExecutionResponse, stopExecutionResponse_stopDate -
-- The date the execution is stopped.
newStopExecutionResponse :: Int -> UTCTime -> StopExecutionResponse
-- | The response's http status code.
stopExecutionResponse_httpStatus :: Lens' StopExecutionResponse Int
-- | The date the execution is stopped.
stopExecutionResponse_stopDate :: Lens' StopExecutionResponse UTCTime
instance GHC.Generics.Generic Amazonka.StepFunctions.StopExecution.StopExecution
instance GHC.Show.Show Amazonka.StepFunctions.StopExecution.StopExecution
instance GHC.Classes.Eq Amazonka.StepFunctions.StopExecution.StopExecution
instance GHC.Generics.Generic Amazonka.StepFunctions.StopExecution.StopExecutionResponse
instance GHC.Show.Show Amazonka.StepFunctions.StopExecution.StopExecutionResponse
instance GHC.Read.Read Amazonka.StepFunctions.StopExecution.StopExecutionResponse
instance GHC.Classes.Eq Amazonka.StepFunctions.StopExecution.StopExecutionResponse
instance Amazonka.Types.AWSRequest Amazonka.StepFunctions.StopExecution.StopExecution
instance Control.DeepSeq.NFData Amazonka.StepFunctions.StopExecution.StopExecutionResponse
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.StopExecution.StopExecution
instance Control.DeepSeq.NFData Amazonka.StepFunctions.StopExecution.StopExecution
instance Amazonka.Data.Headers.ToHeaders Amazonka.StepFunctions.StopExecution.StopExecution
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.StopExecution.StopExecution
instance Amazonka.Data.Path.ToPath Amazonka.StepFunctions.StopExecution.StopExecution
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.StopExecution.StopExecution
-- | Starts a Synchronous Express state machine execution.
-- StartSyncExecution is not available for STANDARD
-- workflows.
--
-- StartSyncExecution will return a 200 OK response,
-- even if your execution fails, because the status code in the API
-- response doesn't reflect function errors. Error codes are reserved for
-- errors that prevent your execution from running, such as permissions
-- errors, limit errors, or issues with your state machine code and
-- configuration.
--
-- This API action isn't logged in CloudTrail.
module Amazonka.StepFunctions.StartSyncExecution
-- | See: newStartSyncExecution smart constructor.
data StartSyncExecution
StartSyncExecution' :: Maybe (Sensitive Text) -> Maybe Text -> Maybe Text -> Text -> StartSyncExecution
-- | The string that contains the JSON input data for the execution, for
-- example:
--
--
-- "input": "{\"first_name\" : \"test\"}"
--
--
-- If you don't include any JSON input data, you still must include the
-- two braces, for example: "input": "{}"
--
-- Length constraints apply to the payload size, and are expressed as
-- bytes in UTF-8 encoding.
[$sel:input:StartSyncExecution'] :: StartSyncExecution -> Maybe (Sensitive Text)
-- | The name of the execution.
[$sel:name:StartSyncExecution'] :: StartSyncExecution -> Maybe Text
-- | Passes the X-Ray trace header. The trace header can also be passed in
-- the request payload.
[$sel:traceHeader:StartSyncExecution'] :: StartSyncExecution -> Maybe Text
-- | The Amazon Resource Name (ARN) of the state machine to execute.
[$sel:stateMachineArn:StartSyncExecution'] :: StartSyncExecution -> Text
-- | Create a value of StartSyncExecution with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- StartSyncExecution, startSyncExecution_input - The
-- string that contains the JSON input data for the execution, for
-- example:
--
--
-- "input": "{\"first_name\" : \"test\"}"
--
--
-- If you don't include any JSON input data, you still must include the
-- two braces, for example: "input": "{}"
--
-- Length constraints apply to the payload size, and are expressed as
-- bytes in UTF-8 encoding.
--
-- StartSyncExecution, startSyncExecution_name - The name
-- of the execution.
--
-- StartSyncExecution, startSyncExecution_traceHeader -
-- Passes the X-Ray trace header. The trace header can also be passed in
-- the request payload.
--
-- StartSyncExecution, startSyncExecution_stateMachineArn -
-- The Amazon Resource Name (ARN) of the state machine to execute.
newStartSyncExecution :: Text -> StartSyncExecution
-- | The string that contains the JSON input data for the execution, for
-- example:
--
--
-- "input": "{\"first_name\" : \"test\"}"
--
--
-- If you don't include any JSON input data, you still must include the
-- two braces, for example: "input": "{}"
--
-- Length constraints apply to the payload size, and are expressed as
-- bytes in UTF-8 encoding.
startSyncExecution_input :: Lens' StartSyncExecution (Maybe Text)
-- | The name of the execution.
startSyncExecution_name :: Lens' StartSyncExecution (Maybe Text)
-- | Passes the X-Ray trace header. The trace header can also be passed in
-- the request payload.
startSyncExecution_traceHeader :: Lens' StartSyncExecution (Maybe Text)
-- | The Amazon Resource Name (ARN) of the state machine to execute.
startSyncExecution_stateMachineArn :: Lens' StartSyncExecution Text
-- | See: newStartSyncExecutionResponse smart constructor.
data StartSyncExecutionResponse
StartSyncExecutionResponse' :: Maybe BillingDetails -> Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Maybe CloudWatchEventsExecutionDataDetails -> Maybe Text -> Maybe (Sensitive Text) -> Maybe CloudWatchEventsExecutionDataDetails -> Maybe Text -> Maybe Text -> Int -> Text -> POSIX -> POSIX -> SyncExecutionStatus -> StartSyncExecutionResponse
-- | An object that describes workflow billing details, including billed
-- duration and memory use.
[$sel:billingDetails:StartSyncExecutionResponse'] :: StartSyncExecutionResponse -> Maybe BillingDetails
-- | A more detailed explanation of the cause of the failure.
[$sel:cause:StartSyncExecutionResponse'] :: StartSyncExecutionResponse -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:StartSyncExecutionResponse'] :: StartSyncExecutionResponse -> Maybe (Sensitive Text)
-- | The string that contains the JSON input data of the execution. Length
-- constraints apply to the payload size, and are expressed as bytes in
-- UTF-8 encoding.
[$sel:input:StartSyncExecutionResponse'] :: StartSyncExecutionResponse -> Maybe (Sensitive Text)
[$sel:inputDetails:StartSyncExecutionResponse'] :: StartSyncExecutionResponse -> Maybe CloudWatchEventsExecutionDataDetails
-- | The name of the execution.
[$sel:name:StartSyncExecutionResponse'] :: StartSyncExecutionResponse -> Maybe Text
-- | The JSON output data of the execution. Length constraints apply to the
-- payload size, and are expressed as bytes in UTF-8 encoding.
--
-- This field is set only if the execution succeeds. If the execution
-- fails, this field is null.
[$sel:output:StartSyncExecutionResponse'] :: StartSyncExecutionResponse -> Maybe (Sensitive Text)
[$sel:outputDetails:StartSyncExecutionResponse'] :: StartSyncExecutionResponse -> Maybe CloudWatchEventsExecutionDataDetails
-- | The Amazon Resource Name (ARN) that identifies the state machine.
[$sel:stateMachineArn:StartSyncExecutionResponse'] :: StartSyncExecutionResponse -> Maybe Text
-- | The X-Ray trace header that was passed to the execution.
[$sel:traceHeader:StartSyncExecutionResponse'] :: StartSyncExecutionResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:StartSyncExecutionResponse'] :: StartSyncExecutionResponse -> Int
-- | The Amazon Resource Name (ARN) that identifies the execution.
[$sel:executionArn:StartSyncExecutionResponse'] :: StartSyncExecutionResponse -> Text
-- | The date the execution is started.
[$sel:startDate:StartSyncExecutionResponse'] :: StartSyncExecutionResponse -> POSIX
-- | If the execution has already ended, the date the execution stopped.
[$sel:stopDate:StartSyncExecutionResponse'] :: StartSyncExecutionResponse -> POSIX
-- | The current status of the execution.
[$sel:status:StartSyncExecutionResponse'] :: StartSyncExecutionResponse -> SyncExecutionStatus
-- | Create a value of StartSyncExecutionResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:billingDetails:StartSyncExecutionResponse',
-- startSyncExecutionResponse_billingDetails - An object that
-- describes workflow billing details, including billed duration and
-- memory use.
--
-- StartSyncExecutionResponse,
-- startSyncExecutionResponse_cause - A more detailed explanation
-- of the cause of the failure.
--
-- StartSyncExecutionResponse,
-- startSyncExecutionResponse_error - The error code of the
-- failure.
--
-- StartSyncExecution, startSyncExecutionResponse_input -
-- The string that contains the JSON input data of the execution. Length
-- constraints apply to the payload size, and are expressed as bytes in
-- UTF-8 encoding.
--
-- StartSyncExecutionResponse,
-- startSyncExecutionResponse_inputDetails - Undocumented member.
--
-- StartSyncExecution, startSyncExecutionResponse_name -
-- The name of the execution.
--
-- StartSyncExecutionResponse,
-- startSyncExecutionResponse_output - The JSON output data of the
-- execution. Length constraints apply to the payload size, and are
-- expressed as bytes in UTF-8 encoding.
--
-- This field is set only if the execution succeeds. If the execution
-- fails, this field is null.
--
-- StartSyncExecutionResponse,
-- startSyncExecutionResponse_outputDetails - Undocumented member.
--
-- StartSyncExecution,
-- startSyncExecutionResponse_stateMachineArn - The Amazon
-- Resource Name (ARN) that identifies the state machine.
--
-- StartSyncExecution,
-- startSyncExecutionResponse_traceHeader - The X-Ray trace header
-- that was passed to the execution.
--
-- $sel:httpStatus:StartSyncExecutionResponse',
-- startSyncExecutionResponse_httpStatus - The response's http
-- status code.
--
-- StartSyncExecutionResponse,
-- startSyncExecutionResponse_executionArn - The Amazon Resource
-- Name (ARN) that identifies the execution.
--
-- StartSyncExecutionResponse,
-- startSyncExecutionResponse_startDate - The date the execution
-- is started.
--
-- StartSyncExecutionResponse,
-- startSyncExecutionResponse_stopDate - If the execution has
-- already ended, the date the execution stopped.
--
-- StartSyncExecutionResponse,
-- startSyncExecutionResponse_status - The current status of the
-- execution.
newStartSyncExecutionResponse :: Int -> Text -> UTCTime -> UTCTime -> SyncExecutionStatus -> StartSyncExecutionResponse
-- | An object that describes workflow billing details, including billed
-- duration and memory use.
startSyncExecutionResponse_billingDetails :: Lens' StartSyncExecutionResponse (Maybe BillingDetails)
-- | A more detailed explanation of the cause of the failure.
startSyncExecutionResponse_cause :: Lens' StartSyncExecutionResponse (Maybe Text)
-- | The error code of the failure.
startSyncExecutionResponse_error :: Lens' StartSyncExecutionResponse (Maybe Text)
-- | The string that contains the JSON input data of the execution. Length
-- constraints apply to the payload size, and are expressed as bytes in
-- UTF-8 encoding.
startSyncExecutionResponse_input :: Lens' StartSyncExecutionResponse (Maybe Text)
-- | Undocumented member.
startSyncExecutionResponse_inputDetails :: Lens' StartSyncExecutionResponse (Maybe CloudWatchEventsExecutionDataDetails)
-- | The name of the execution.
startSyncExecutionResponse_name :: Lens' StartSyncExecutionResponse (Maybe Text)
-- | The JSON output data of the execution. Length constraints apply to the
-- payload size, and are expressed as bytes in UTF-8 encoding.
--
-- This field is set only if the execution succeeds. If the execution
-- fails, this field is null.
startSyncExecutionResponse_output :: Lens' StartSyncExecutionResponse (Maybe Text)
-- | Undocumented member.
startSyncExecutionResponse_outputDetails :: Lens' StartSyncExecutionResponse (Maybe CloudWatchEventsExecutionDataDetails)
-- | The Amazon Resource Name (ARN) that identifies the state machine.
startSyncExecutionResponse_stateMachineArn :: Lens' StartSyncExecutionResponse (Maybe Text)
-- | The X-Ray trace header that was passed to the execution.
startSyncExecutionResponse_traceHeader :: Lens' StartSyncExecutionResponse (Maybe Text)
-- | The response's http status code.
startSyncExecutionResponse_httpStatus :: Lens' StartSyncExecutionResponse Int
-- | The Amazon Resource Name (ARN) that identifies the execution.
startSyncExecutionResponse_executionArn :: Lens' StartSyncExecutionResponse Text
-- | The date the execution is started.
startSyncExecutionResponse_startDate :: Lens' StartSyncExecutionResponse UTCTime
-- | If the execution has already ended, the date the execution stopped.
startSyncExecutionResponse_stopDate :: Lens' StartSyncExecutionResponse UTCTime
-- | The current status of the execution.
startSyncExecutionResponse_status :: Lens' StartSyncExecutionResponse SyncExecutionStatus
instance GHC.Generics.Generic Amazonka.StepFunctions.StartSyncExecution.StartSyncExecution
instance GHC.Show.Show Amazonka.StepFunctions.StartSyncExecution.StartSyncExecution
instance GHC.Classes.Eq Amazonka.StepFunctions.StartSyncExecution.StartSyncExecution
instance GHC.Generics.Generic Amazonka.StepFunctions.StartSyncExecution.StartSyncExecutionResponse
instance GHC.Show.Show Amazonka.StepFunctions.StartSyncExecution.StartSyncExecutionResponse
instance GHC.Classes.Eq Amazonka.StepFunctions.StartSyncExecution.StartSyncExecutionResponse
instance Amazonka.Types.AWSRequest Amazonka.StepFunctions.StartSyncExecution.StartSyncExecution
instance Control.DeepSeq.NFData Amazonka.StepFunctions.StartSyncExecution.StartSyncExecutionResponse
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.StartSyncExecution.StartSyncExecution
instance Control.DeepSeq.NFData Amazonka.StepFunctions.StartSyncExecution.StartSyncExecution
instance Amazonka.Data.Headers.ToHeaders Amazonka.StepFunctions.StartSyncExecution.StartSyncExecution
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.StartSyncExecution.StartSyncExecution
instance Amazonka.Data.Path.ToPath Amazonka.StepFunctions.StartSyncExecution.StartSyncExecution
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.StartSyncExecution.StartSyncExecution
-- | Starts a state machine execution. If the given state machine Amazon
-- Resource Name (ARN) is a qualified state machine ARN, it will fail
-- with ValidationException.
--
-- A qualified state machine ARN refers to a Distributed Map state
-- defined within a state machine. For example, the qualified state
-- machine ARN
-- arn:partition:states:region:account-id:stateMachine:stateMachineName/mapStateLabel
-- refers to a Distributed Map state with a label
-- mapStateLabel in the state machine named
-- stateMachineName.
--
-- StartExecution is idempotent for STANDARD workflows.
-- For a STANDARD workflow, if StartExecution is called
-- with the same name and input as a running execution, the call will
-- succeed and return the same response as the original request. If the
-- execution is closed or if the input is different, it will return a
-- 400 ExecutionAlreadyExists error. Names can be reused after
-- 90 days.
--
-- StartExecution is not idempotent for EXPRESS
-- workflows.
module Amazonka.StepFunctions.StartExecution
-- | See: newStartExecution smart constructor.
data StartExecution
StartExecution' :: Maybe (Sensitive Text) -> Maybe Text -> Maybe Text -> Text -> StartExecution
-- | The string that contains the JSON input data for the execution, for
-- example:
--
--
-- "input": "{\"first_name\" : \"test\"}"
--
--
-- If you don't include any JSON input data, you still must include the
-- two braces, for example: "input": "{}"
--
-- Length constraints apply to the payload size, and are expressed as
-- bytes in UTF-8 encoding.
[$sel:input:StartExecution'] :: StartExecution -> Maybe (Sensitive Text)
-- | The name of the execution. This name must be unique for your Amazon
-- Web Services account, region, and state machine for 90 days. For more
-- information, see Limits Related to State Machine Executions in
-- the Step Functions Developer Guide.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
[$sel:name:StartExecution'] :: StartExecution -> Maybe Text
-- | Passes the X-Ray trace header. The trace header can also be passed in
-- the request payload.
[$sel:traceHeader:StartExecution'] :: StartExecution -> Maybe Text
-- | The Amazon Resource Name (ARN) of the state machine to execute.
[$sel:stateMachineArn:StartExecution'] :: StartExecution -> Text
-- | Create a value of StartExecution with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- StartExecution, startExecution_input - The string that
-- contains the JSON input data for the execution, for example:
--
--
-- "input": "{\"first_name\" : \"test\"}"
--
--
-- If you don't include any JSON input data, you still must include the
-- two braces, for example: "input": "{}"
--
-- Length constraints apply to the payload size, and are expressed as
-- bytes in UTF-8 encoding.
--
-- StartExecution, startExecution_name - The name of the
-- execution. This name must be unique for your Amazon Web Services
-- account, region, and state machine for 90 days. For more information,
-- see Limits Related to State Machine Executions in the Step
-- Functions Developer Guide.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
--
-- $sel:traceHeader:StartExecution',
-- startExecution_traceHeader - Passes the X-Ray trace header. The
-- trace header can also be passed in the request payload.
--
-- StartExecution, startExecution_stateMachineArn - The
-- Amazon Resource Name (ARN) of the state machine to execute.
newStartExecution :: Text -> StartExecution
-- | The string that contains the JSON input data for the execution, for
-- example:
--
--
-- "input": "{\"first_name\" : \"test\"}"
--
--
-- If you don't include any JSON input data, you still must include the
-- two braces, for example: "input": "{}"
--
-- Length constraints apply to the payload size, and are expressed as
-- bytes in UTF-8 encoding.
startExecution_input :: Lens' StartExecution (Maybe Text)
-- | The name of the execution. This name must be unique for your Amazon
-- Web Services account, region, and state machine for 90 days. For more
-- information, see Limits Related to State Machine Executions in
-- the Step Functions Developer Guide.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
startExecution_name :: Lens' StartExecution (Maybe Text)
-- | Passes the X-Ray trace header. The trace header can also be passed in
-- the request payload.
startExecution_traceHeader :: Lens' StartExecution (Maybe Text)
-- | The Amazon Resource Name (ARN) of the state machine to execute.
startExecution_stateMachineArn :: Lens' StartExecution Text
-- | See: newStartExecutionResponse smart constructor.
data StartExecutionResponse
StartExecutionResponse' :: Int -> Text -> POSIX -> StartExecutionResponse
-- | The response's http status code.
[$sel:httpStatus:StartExecutionResponse'] :: StartExecutionResponse -> Int
-- | The Amazon Resource Name (ARN) that identifies the execution.
[$sel:executionArn:StartExecutionResponse'] :: StartExecutionResponse -> Text
-- | The date the execution is started.
[$sel:startDate:StartExecutionResponse'] :: StartExecutionResponse -> POSIX
-- | Create a value of StartExecutionResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:StartExecutionResponse',
-- startExecutionResponse_httpStatus - The response's http status
-- code.
--
-- StartExecutionResponse,
-- startExecutionResponse_executionArn - The Amazon Resource Name
-- (ARN) that identifies the execution.
--
-- StartExecutionResponse, startExecutionResponse_startDate
-- - The date the execution is started.
newStartExecutionResponse :: Int -> Text -> UTCTime -> StartExecutionResponse
-- | The response's http status code.
startExecutionResponse_httpStatus :: Lens' StartExecutionResponse Int
-- | The Amazon Resource Name (ARN) that identifies the execution.
startExecutionResponse_executionArn :: Lens' StartExecutionResponse Text
-- | The date the execution is started.
startExecutionResponse_startDate :: Lens' StartExecutionResponse UTCTime
instance GHC.Generics.Generic Amazonka.StepFunctions.StartExecution.StartExecution
instance GHC.Show.Show Amazonka.StepFunctions.StartExecution.StartExecution
instance GHC.Classes.Eq Amazonka.StepFunctions.StartExecution.StartExecution
instance GHC.Generics.Generic Amazonka.StepFunctions.StartExecution.StartExecutionResponse
instance GHC.Show.Show Amazonka.StepFunctions.StartExecution.StartExecutionResponse
instance GHC.Read.Read Amazonka.StepFunctions.StartExecution.StartExecutionResponse
instance GHC.Classes.Eq Amazonka.StepFunctions.StartExecution.StartExecutionResponse
instance Amazonka.Types.AWSRequest Amazonka.StepFunctions.StartExecution.StartExecution
instance Control.DeepSeq.NFData Amazonka.StepFunctions.StartExecution.StartExecutionResponse
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.StartExecution.StartExecution
instance Control.DeepSeq.NFData Amazonka.StepFunctions.StartExecution.StartExecution
instance Amazonka.Data.Headers.ToHeaders Amazonka.StepFunctions.StartExecution.StartExecution
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.StartExecution.StartExecution
instance Amazonka.Data.Path.ToPath Amazonka.StepFunctions.StartExecution.StartExecution
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.StartExecution.StartExecution
-- | Used by activity workers and task states using the callback
-- pattern to report that the task identified by the taskToken
-- completed successfully.
module Amazonka.StepFunctions.SendTaskSuccess
-- | See: newSendTaskSuccess smart constructor.
data SendTaskSuccess
SendTaskSuccess' :: Text -> Sensitive Text -> SendTaskSuccess
-- | The token that represents this task. Task tokens are generated by Step
-- Functions when tasks are assigned to a worker, or in the context
-- object when a workflow enters a task state. See
-- GetActivityTaskOutput$taskToken.
[$sel:taskToken:SendTaskSuccess'] :: SendTaskSuccess -> Text
-- | The JSON output of the task. Length constraints apply to the payload
-- size, and are expressed as bytes in UTF-8 encoding.
[$sel:output:SendTaskSuccess'] :: SendTaskSuccess -> Sensitive Text
-- | Create a value of SendTaskSuccess with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:taskToken:SendTaskSuccess',
-- sendTaskSuccess_taskToken - The token that represents this
-- task. Task tokens are generated by Step Functions when tasks are
-- assigned to a worker, or in the context object when a workflow
-- enters a task state. See GetActivityTaskOutput$taskToken.
--
-- SendTaskSuccess, sendTaskSuccess_output - The JSON
-- output of the task. Length constraints apply to the payload size, and
-- are expressed as bytes in UTF-8 encoding.
newSendTaskSuccess :: Text -> Text -> SendTaskSuccess
-- | The token that represents this task. Task tokens are generated by Step
-- Functions when tasks are assigned to a worker, or in the context
-- object when a workflow enters a task state. See
-- GetActivityTaskOutput$taskToken.
sendTaskSuccess_taskToken :: Lens' SendTaskSuccess Text
-- | The JSON output of the task. Length constraints apply to the payload
-- size, and are expressed as bytes in UTF-8 encoding.
sendTaskSuccess_output :: Lens' SendTaskSuccess Text
-- | See: newSendTaskSuccessResponse smart constructor.
data SendTaskSuccessResponse
SendTaskSuccessResponse' :: Int -> SendTaskSuccessResponse
-- | The response's http status code.
[$sel:httpStatus:SendTaskSuccessResponse'] :: SendTaskSuccessResponse -> Int
-- | Create a value of SendTaskSuccessResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:SendTaskSuccessResponse',
-- sendTaskSuccessResponse_httpStatus - The response's http status
-- code.
newSendTaskSuccessResponse :: Int -> SendTaskSuccessResponse
-- | The response's http status code.
sendTaskSuccessResponse_httpStatus :: Lens' SendTaskSuccessResponse Int
instance GHC.Generics.Generic Amazonka.StepFunctions.SendTaskSuccess.SendTaskSuccess
instance GHC.Show.Show Amazonka.StepFunctions.SendTaskSuccess.SendTaskSuccess
instance GHC.Classes.Eq Amazonka.StepFunctions.SendTaskSuccess.SendTaskSuccess
instance GHC.Generics.Generic Amazonka.StepFunctions.SendTaskSuccess.SendTaskSuccessResponse
instance GHC.Show.Show Amazonka.StepFunctions.SendTaskSuccess.SendTaskSuccessResponse
instance GHC.Read.Read Amazonka.StepFunctions.SendTaskSuccess.SendTaskSuccessResponse
instance GHC.Classes.Eq Amazonka.StepFunctions.SendTaskSuccess.SendTaskSuccessResponse
instance Amazonka.Types.AWSRequest Amazonka.StepFunctions.SendTaskSuccess.SendTaskSuccess
instance Control.DeepSeq.NFData Amazonka.StepFunctions.SendTaskSuccess.SendTaskSuccessResponse
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.SendTaskSuccess.SendTaskSuccess
instance Control.DeepSeq.NFData Amazonka.StepFunctions.SendTaskSuccess.SendTaskSuccess
instance Amazonka.Data.Headers.ToHeaders Amazonka.StepFunctions.SendTaskSuccess.SendTaskSuccess
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.SendTaskSuccess.SendTaskSuccess
instance Amazonka.Data.Path.ToPath Amazonka.StepFunctions.SendTaskSuccess.SendTaskSuccess
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.SendTaskSuccess.SendTaskSuccess
-- | Used by activity workers and task states using the callback
-- pattern to report to Step Functions that the task represented by the
-- specified taskToken is still making progress. This action
-- resets the Heartbeat clock. The Heartbeat threshold
-- is specified in the state machine's Amazon States Language definition
-- (HeartbeatSeconds). This action does not in itself create an
-- event in the execution history. However, if the task times out, the
-- execution history contains an ActivityTimedOut entry for
-- activities, or a TaskTimedOut entry for for tasks using the
-- job run or callback pattern.
--
-- The Timeout of a task, defined in the state machine's Amazon
-- States Language definition, is its maximum allowed duration,
-- regardless of the number of SendTaskHeartbeat requests received. Use
-- HeartbeatSeconds to configure the timeout interval for
-- heartbeats.
module Amazonka.StepFunctions.SendTaskHeartbeat
-- | See: newSendTaskHeartbeat smart constructor.
data SendTaskHeartbeat
SendTaskHeartbeat' :: Text -> SendTaskHeartbeat
-- | The token that represents this task. Task tokens are generated by Step
-- Functions when tasks are assigned to a worker, or in the context
-- object when a workflow enters a task state. See
-- GetActivityTaskOutput$taskToken.
[$sel:taskToken:SendTaskHeartbeat'] :: SendTaskHeartbeat -> Text
-- | Create a value of SendTaskHeartbeat with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:taskToken:SendTaskHeartbeat',
-- sendTaskHeartbeat_taskToken - The token that represents this
-- task. Task tokens are generated by Step Functions when tasks are
-- assigned to a worker, or in the context object when a workflow
-- enters a task state. See GetActivityTaskOutput$taskToken.
newSendTaskHeartbeat :: Text -> SendTaskHeartbeat
-- | The token that represents this task. Task tokens are generated by Step
-- Functions when tasks are assigned to a worker, or in the context
-- object when a workflow enters a task state. See
-- GetActivityTaskOutput$taskToken.
sendTaskHeartbeat_taskToken :: Lens' SendTaskHeartbeat Text
-- | See: newSendTaskHeartbeatResponse smart constructor.
data SendTaskHeartbeatResponse
SendTaskHeartbeatResponse' :: Int -> SendTaskHeartbeatResponse
-- | The response's http status code.
[$sel:httpStatus:SendTaskHeartbeatResponse'] :: SendTaskHeartbeatResponse -> Int
-- | Create a value of SendTaskHeartbeatResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:SendTaskHeartbeatResponse',
-- sendTaskHeartbeatResponse_httpStatus - The response's http
-- status code.
newSendTaskHeartbeatResponse :: Int -> SendTaskHeartbeatResponse
-- | The response's http status code.
sendTaskHeartbeatResponse_httpStatus :: Lens' SendTaskHeartbeatResponse Int
instance GHC.Generics.Generic Amazonka.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeat
instance GHC.Show.Show Amazonka.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeat
instance GHC.Read.Read Amazonka.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeat
instance GHC.Classes.Eq Amazonka.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeat
instance GHC.Generics.Generic Amazonka.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeatResponse
instance GHC.Show.Show Amazonka.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeatResponse
instance GHC.Read.Read Amazonka.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeatResponse
instance GHC.Classes.Eq Amazonka.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeatResponse
instance Amazonka.Types.AWSRequest Amazonka.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeat
instance Control.DeepSeq.NFData Amazonka.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeatResponse
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeat
instance Control.DeepSeq.NFData Amazonka.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeat
instance Amazonka.Data.Headers.ToHeaders Amazonka.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeat
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeat
instance Amazonka.Data.Path.ToPath Amazonka.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeat
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.SendTaskHeartbeat.SendTaskHeartbeat
-- | Used by activity workers and task states using the callback
-- pattern to report that the task identified by the taskToken
-- failed.
module Amazonka.StepFunctions.SendTaskFailure
-- | See: newSendTaskFailure smart constructor.
data SendTaskFailure
SendTaskFailure' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Text -> SendTaskFailure
-- | A more detailed explanation of the cause of the failure.
[$sel:cause:SendTaskFailure'] :: SendTaskFailure -> Maybe (Sensitive Text)
-- | The error code of the failure.
[$sel:error:SendTaskFailure'] :: SendTaskFailure -> Maybe (Sensitive Text)
-- | The token that represents this task. Task tokens are generated by Step
-- Functions when tasks are assigned to a worker, or in the context
-- object when a workflow enters a task state. See
-- GetActivityTaskOutput$taskToken.
[$sel:taskToken:SendTaskFailure'] :: SendTaskFailure -> Text
-- | Create a value of SendTaskFailure with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- SendTaskFailure, sendTaskFailure_cause - A more detailed
-- explanation of the cause of the failure.
--
-- SendTaskFailure, sendTaskFailure_error - The error code
-- of the failure.
--
-- $sel:taskToken:SendTaskFailure',
-- sendTaskFailure_taskToken - The token that represents this
-- task. Task tokens are generated by Step Functions when tasks are
-- assigned to a worker, or in the context object when a workflow
-- enters a task state. See GetActivityTaskOutput$taskToken.
newSendTaskFailure :: Text -> SendTaskFailure
-- | A more detailed explanation of the cause of the failure.
sendTaskFailure_cause :: Lens' SendTaskFailure (Maybe Text)
-- | The error code of the failure.
sendTaskFailure_error :: Lens' SendTaskFailure (Maybe Text)
-- | The token that represents this task. Task tokens are generated by Step
-- Functions when tasks are assigned to a worker, or in the context
-- object when a workflow enters a task state. See
-- GetActivityTaskOutput$taskToken.
sendTaskFailure_taskToken :: Lens' SendTaskFailure Text
-- | See: newSendTaskFailureResponse smart constructor.
data SendTaskFailureResponse
SendTaskFailureResponse' :: Int -> SendTaskFailureResponse
-- | The response's http status code.
[$sel:httpStatus:SendTaskFailureResponse'] :: SendTaskFailureResponse -> Int
-- | Create a value of SendTaskFailureResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:SendTaskFailureResponse',
-- sendTaskFailureResponse_httpStatus - The response's http status
-- code.
newSendTaskFailureResponse :: Int -> SendTaskFailureResponse
-- | The response's http status code.
sendTaskFailureResponse_httpStatus :: Lens' SendTaskFailureResponse Int
instance GHC.Generics.Generic Amazonka.StepFunctions.SendTaskFailure.SendTaskFailure
instance GHC.Show.Show Amazonka.StepFunctions.SendTaskFailure.SendTaskFailure
instance GHC.Classes.Eq Amazonka.StepFunctions.SendTaskFailure.SendTaskFailure
instance GHC.Generics.Generic Amazonka.StepFunctions.SendTaskFailure.SendTaskFailureResponse
instance GHC.Show.Show Amazonka.StepFunctions.SendTaskFailure.SendTaskFailureResponse
instance GHC.Read.Read Amazonka.StepFunctions.SendTaskFailure.SendTaskFailureResponse
instance GHC.Classes.Eq Amazonka.StepFunctions.SendTaskFailure.SendTaskFailureResponse
instance Amazonka.Types.AWSRequest Amazonka.StepFunctions.SendTaskFailure.SendTaskFailure
instance Control.DeepSeq.NFData Amazonka.StepFunctions.SendTaskFailure.SendTaskFailureResponse
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.SendTaskFailure.SendTaskFailure
instance Control.DeepSeq.NFData Amazonka.StepFunctions.SendTaskFailure.SendTaskFailure
instance Amazonka.Data.Headers.ToHeaders Amazonka.StepFunctions.SendTaskFailure.SendTaskFailure
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.SendTaskFailure.SendTaskFailure
instance Amazonka.Data.Path.ToPath Amazonka.StepFunctions.SendTaskFailure.SendTaskFailure
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.SendTaskFailure.SendTaskFailure
-- | List tags for a given resource.
--
-- Tags may only contain Unicode letters, digits, white space, or these
-- symbols: _ . : / = + - @.
module Amazonka.StepFunctions.ListTagsForResource
-- | See: newListTagsForResource smart constructor.
data ListTagsForResource
ListTagsForResource' :: Text -> ListTagsForResource
-- | The Amazon Resource Name (ARN) for the Step Functions state machine or
-- activity.
[$sel:resourceArn:ListTagsForResource'] :: ListTagsForResource -> Text
-- | Create a value of ListTagsForResource with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceArn:ListTagsForResource',
-- listTagsForResource_resourceArn - The Amazon Resource Name
-- (ARN) for the Step Functions state machine or activity.
newListTagsForResource :: Text -> ListTagsForResource
-- | The Amazon Resource Name (ARN) for the Step Functions state machine or
-- activity.
listTagsForResource_resourceArn :: Lens' ListTagsForResource Text
-- | See: newListTagsForResourceResponse smart constructor.
data ListTagsForResourceResponse
ListTagsForResourceResponse' :: Maybe [Tag] -> Int -> ListTagsForResourceResponse
-- | An array of tags associated with the resource.
[$sel:tags:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Maybe [Tag]
-- | The response's http status code.
[$sel:httpStatus:ListTagsForResourceResponse'] :: ListTagsForResourceResponse -> Int
-- | Create a value of ListTagsForResourceResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:tags:ListTagsForResourceResponse',
-- listTagsForResourceResponse_tags - An array of tags associated
-- with the resource.
--
-- $sel:httpStatus:ListTagsForResourceResponse',
-- listTagsForResourceResponse_httpStatus - The response's http
-- status code.
newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
-- | An array of tags associated with the resource.
listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag])
-- | The response's http status code.
listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
instance GHC.Generics.Generic Amazonka.StepFunctions.ListTagsForResource.ListTagsForResource
instance GHC.Show.Show Amazonka.StepFunctions.ListTagsForResource.ListTagsForResource
instance GHC.Read.Read Amazonka.StepFunctions.ListTagsForResource.ListTagsForResource
instance GHC.Classes.Eq Amazonka.StepFunctions.ListTagsForResource.ListTagsForResource
instance GHC.Generics.Generic Amazonka.StepFunctions.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Show.Show Amazonka.StepFunctions.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Read.Read Amazonka.StepFunctions.ListTagsForResource.ListTagsForResourceResponse
instance GHC.Classes.Eq Amazonka.StepFunctions.ListTagsForResource.ListTagsForResourceResponse
instance Amazonka.Types.AWSRequest Amazonka.StepFunctions.ListTagsForResource.ListTagsForResource
instance Control.DeepSeq.NFData Amazonka.StepFunctions.ListTagsForResource.ListTagsForResourceResponse
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.ListTagsForResource.ListTagsForResource
instance Control.DeepSeq.NFData Amazonka.StepFunctions.ListTagsForResource.ListTagsForResource
instance Amazonka.Data.Headers.ToHeaders Amazonka.StepFunctions.ListTagsForResource.ListTagsForResource
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.ListTagsForResource.ListTagsForResource
instance Amazonka.Data.Path.ToPath Amazonka.StepFunctions.ListTagsForResource.ListTagsForResource
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.ListTagsForResource.ListTagsForResource
-- | Lists the existing state machines.
--
-- If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
--
-- This operation is eventually consistent. The results are best effort
-- and may not reflect very recent updates and changes.
--
-- This operation returns paginated results.
module Amazonka.StepFunctions.ListStateMachines
-- | See: newListStateMachines smart constructor.
data ListStateMachines
ListStateMachines' :: Maybe Natural -> Maybe Text -> ListStateMachines
-- | The maximum number of results that are returned per call. You can use
-- nextToken to obtain further pages of results. The default is
-- 100 and the maximum allowed page size is 1000. A value of 0 uses the
-- default.
--
-- This is only an upper limit. The actual number of results returned per
-- call might be fewer than the specified maximum.
[$sel:maxResults:ListStateMachines'] :: ListStateMachines -> Maybe Natural
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
[$sel:nextToken:ListStateMachines'] :: ListStateMachines -> Maybe Text
-- | Create a value of ListStateMachines with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:ListStateMachines',
-- listStateMachines_maxResults - The maximum number of results
-- that are returned per call. You can use nextToken to obtain
-- further pages of results. The default is 100 and the maximum allowed
-- page size is 1000. A value of 0 uses the default.
--
-- This is only an upper limit. The actual number of results returned per
-- call might be fewer than the specified maximum.
--
-- ListStateMachines, listStateMachines_nextToken - If
-- nextToken is returned, there are more results available. The
-- value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
newListStateMachines :: ListStateMachines
-- | The maximum number of results that are returned per call. You can use
-- nextToken to obtain further pages of results. The default is
-- 100 and the maximum allowed page size is 1000. A value of 0 uses the
-- default.
--
-- This is only an upper limit. The actual number of results returned per
-- call might be fewer than the specified maximum.
listStateMachines_maxResults :: Lens' ListStateMachines (Maybe Natural)
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
listStateMachines_nextToken :: Lens' ListStateMachines (Maybe Text)
-- | See: newListStateMachinesResponse smart constructor.
data ListStateMachinesResponse
ListStateMachinesResponse' :: Maybe Text -> Int -> [StateMachineListItem] -> ListStateMachinesResponse
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
[$sel:nextToken:ListStateMachinesResponse'] :: ListStateMachinesResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListStateMachinesResponse'] :: ListStateMachinesResponse -> Int
[$sel:stateMachines:ListStateMachinesResponse'] :: ListStateMachinesResponse -> [StateMachineListItem]
-- | Create a value of ListStateMachinesResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListStateMachines, listStateMachinesResponse_nextToken -
-- If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
--
-- $sel:httpStatus:ListStateMachinesResponse',
-- listStateMachinesResponse_httpStatus - The response's http
-- status code.
--
-- $sel:stateMachines:ListStateMachinesResponse',
-- listStateMachinesResponse_stateMachines - Undocumented member.
newListStateMachinesResponse :: Int -> ListStateMachinesResponse
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
listStateMachinesResponse_nextToken :: Lens' ListStateMachinesResponse (Maybe Text)
-- | The response's http status code.
listStateMachinesResponse_httpStatus :: Lens' ListStateMachinesResponse Int
-- | Undocumented member.
listStateMachinesResponse_stateMachines :: Lens' ListStateMachinesResponse [StateMachineListItem]
instance GHC.Generics.Generic Amazonka.StepFunctions.ListStateMachines.ListStateMachines
instance GHC.Show.Show Amazonka.StepFunctions.ListStateMachines.ListStateMachines
instance GHC.Read.Read Amazonka.StepFunctions.ListStateMachines.ListStateMachines
instance GHC.Classes.Eq Amazonka.StepFunctions.ListStateMachines.ListStateMachines
instance GHC.Generics.Generic Amazonka.StepFunctions.ListStateMachines.ListStateMachinesResponse
instance GHC.Show.Show Amazonka.StepFunctions.ListStateMachines.ListStateMachinesResponse
instance GHC.Read.Read Amazonka.StepFunctions.ListStateMachines.ListStateMachinesResponse
instance GHC.Classes.Eq Amazonka.StepFunctions.ListStateMachines.ListStateMachinesResponse
instance Amazonka.Types.AWSRequest Amazonka.StepFunctions.ListStateMachines.ListStateMachines
instance Control.DeepSeq.NFData Amazonka.StepFunctions.ListStateMachines.ListStateMachinesResponse
instance Amazonka.Pager.AWSPager Amazonka.StepFunctions.ListStateMachines.ListStateMachines
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.ListStateMachines.ListStateMachines
instance Control.DeepSeq.NFData Amazonka.StepFunctions.ListStateMachines.ListStateMachines
instance Amazonka.Data.Headers.ToHeaders Amazonka.StepFunctions.ListStateMachines.ListStateMachines
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.ListStateMachines.ListStateMachines
instance Amazonka.Data.Path.ToPath Amazonka.StepFunctions.ListStateMachines.ListStateMachines
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.ListStateMachines.ListStateMachines
-- | Lists all Map Runs that were started by a given state machine
-- execution. Use this API action to obtain Map Run ARNs, and then call
-- DescribeMapRun to obtain more information, if needed.
--
-- This operation returns paginated results.
module Amazonka.StepFunctions.ListMapRuns
-- | See: newListMapRuns smart constructor.
data ListMapRuns
ListMapRuns' :: Maybe Natural -> Maybe Text -> Text -> ListMapRuns
-- | The maximum number of results that are returned per call. You can use
-- nextToken to obtain further pages of results. The default is
-- 100 and the maximum allowed page size is 1000. A value of 0 uses the
-- default.
--
-- This is only an upper limit. The actual number of results returned per
-- call might be fewer than the specified maximum.
[$sel:maxResults:ListMapRuns'] :: ListMapRuns -> Maybe Natural
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
[$sel:nextToken:ListMapRuns'] :: ListMapRuns -> Maybe Text
-- | The Amazon Resource Name (ARN) of the execution for which the Map Runs
-- must be listed.
[$sel:executionArn:ListMapRuns'] :: ListMapRuns -> Text
-- | Create a value of ListMapRuns with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:ListMapRuns', listMapRuns_maxResults -
-- The maximum number of results that are returned per call. You can use
-- nextToken to obtain further pages of results. The default is
-- 100 and the maximum allowed page size is 1000. A value of 0 uses the
-- default.
--
-- This is only an upper limit. The actual number of results returned per
-- call might be fewer than the specified maximum.
--
-- ListMapRuns, listMapRuns_nextToken - If
-- nextToken is returned, there are more results available. The
-- value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
--
-- ListMapRuns, listMapRuns_executionArn - The Amazon
-- Resource Name (ARN) of the execution for which the Map Runs must be
-- listed.
newListMapRuns :: Text -> ListMapRuns
-- | The maximum number of results that are returned per call. You can use
-- nextToken to obtain further pages of results. The default is
-- 100 and the maximum allowed page size is 1000. A value of 0 uses the
-- default.
--
-- This is only an upper limit. The actual number of results returned per
-- call might be fewer than the specified maximum.
listMapRuns_maxResults :: Lens' ListMapRuns (Maybe Natural)
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
listMapRuns_nextToken :: Lens' ListMapRuns (Maybe Text)
-- | The Amazon Resource Name (ARN) of the execution for which the Map Runs
-- must be listed.
listMapRuns_executionArn :: Lens' ListMapRuns Text
-- | See: newListMapRunsResponse smart constructor.
data ListMapRunsResponse
ListMapRunsResponse' :: Maybe Text -> Int -> [MapRunListItem] -> ListMapRunsResponse
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
[$sel:nextToken:ListMapRunsResponse'] :: ListMapRunsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListMapRunsResponse'] :: ListMapRunsResponse -> Int
-- | An array that lists information related to a Map Run, such as the
-- Amazon Resource Name (ARN) of the Map Run and the ARN of the state
-- machine that started the Map Run.
[$sel:mapRuns:ListMapRunsResponse'] :: ListMapRunsResponse -> [MapRunListItem]
-- | Create a value of ListMapRunsResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListMapRuns, listMapRunsResponse_nextToken - If
-- nextToken is returned, there are more results available. The
-- value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
--
-- $sel:httpStatus:ListMapRunsResponse',
-- listMapRunsResponse_httpStatus - The response's http status
-- code.
--
-- $sel:mapRuns:ListMapRunsResponse',
-- listMapRunsResponse_mapRuns - An array that lists information
-- related to a Map Run, such as the Amazon Resource Name (ARN) of the
-- Map Run and the ARN of the state machine that started the Map Run.
newListMapRunsResponse :: Int -> ListMapRunsResponse
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
listMapRunsResponse_nextToken :: Lens' ListMapRunsResponse (Maybe Text)
-- | The response's http status code.
listMapRunsResponse_httpStatus :: Lens' ListMapRunsResponse Int
-- | An array that lists information related to a Map Run, such as the
-- Amazon Resource Name (ARN) of the Map Run and the ARN of the state
-- machine that started the Map Run.
listMapRunsResponse_mapRuns :: Lens' ListMapRunsResponse [MapRunListItem]
instance GHC.Generics.Generic Amazonka.StepFunctions.ListMapRuns.ListMapRuns
instance GHC.Show.Show Amazonka.StepFunctions.ListMapRuns.ListMapRuns
instance GHC.Read.Read Amazonka.StepFunctions.ListMapRuns.ListMapRuns
instance GHC.Classes.Eq Amazonka.StepFunctions.ListMapRuns.ListMapRuns
instance GHC.Generics.Generic Amazonka.StepFunctions.ListMapRuns.ListMapRunsResponse
instance GHC.Show.Show Amazonka.StepFunctions.ListMapRuns.ListMapRunsResponse
instance GHC.Read.Read Amazonka.StepFunctions.ListMapRuns.ListMapRunsResponse
instance GHC.Classes.Eq Amazonka.StepFunctions.ListMapRuns.ListMapRunsResponse
instance Amazonka.Types.AWSRequest Amazonka.StepFunctions.ListMapRuns.ListMapRuns
instance Control.DeepSeq.NFData Amazonka.StepFunctions.ListMapRuns.ListMapRunsResponse
instance Amazonka.Pager.AWSPager Amazonka.StepFunctions.ListMapRuns.ListMapRuns
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.ListMapRuns.ListMapRuns
instance Control.DeepSeq.NFData Amazonka.StepFunctions.ListMapRuns.ListMapRuns
instance Amazonka.Data.Headers.ToHeaders Amazonka.StepFunctions.ListMapRuns.ListMapRuns
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.ListMapRuns.ListMapRuns
instance Amazonka.Data.Path.ToPath Amazonka.StepFunctions.ListMapRuns.ListMapRuns
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.ListMapRuns.ListMapRuns
-- | Lists all executions of a state machine or a Map Run. You can list all
-- executions related to a state machine by specifying a state machine
-- Amazon Resource Name (ARN), or those related to a Map Run by
-- specifying a Map Run ARN.
--
-- Results are sorted by time, with the most recent execution first.
--
-- If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
--
-- This operation is eventually consistent. The results are best effort
-- and may not reflect very recent updates and changes.
--
-- This API action is not supported by EXPRESS state machines.
--
-- This operation returns paginated results.
module Amazonka.StepFunctions.ListExecutions
-- | See: newListExecutions smart constructor.
data ListExecutions
ListExecutions' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe ExecutionStatus -> ListExecutions
-- | The Amazon Resource Name (ARN) of the Map Run that started the child
-- workflow executions. If the mapRunArn field is specified, a
-- list of all of the child workflow executions started by a Map Run is
-- returned. For more information, see Examining Map Run in the
-- Step Functions Developer Guide.
--
-- You can specify either a mapRunArn or a
-- stateMachineArn, but not both.
[$sel:mapRunArn:ListExecutions'] :: ListExecutions -> Maybe Text
-- | The maximum number of results that are returned per call. You can use
-- nextToken to obtain further pages of results. The default is
-- 100 and the maximum allowed page size is 1000. A value of 0 uses the
-- default.
--
-- This is only an upper limit. The actual number of results returned per
-- call might be fewer than the specified maximum.
[$sel:maxResults:ListExecutions'] :: ListExecutions -> Maybe Natural
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
[$sel:nextToken:ListExecutions'] :: ListExecutions -> Maybe Text
-- | The Amazon Resource Name (ARN) of the state machine whose executions
-- is listed.
--
-- You can specify either a mapRunArn or a
-- stateMachineArn, but not both.
[$sel:stateMachineArn:ListExecutions'] :: ListExecutions -> Maybe Text
-- | If specified, only list the executions whose current execution status
-- matches the given filter.
[$sel:statusFilter:ListExecutions'] :: ListExecutions -> Maybe ExecutionStatus
-- | Create a value of ListExecutions with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListExecutions, listExecutions_mapRunArn - The Amazon
-- Resource Name (ARN) of the Map Run that started the child workflow
-- executions. If the mapRunArn field is specified, a list of
-- all of the child workflow executions started by a Map Run is returned.
-- For more information, see Examining Map Run in the Step
-- Functions Developer Guide.
--
-- You can specify either a mapRunArn or a
-- stateMachineArn, but not both.
--
-- $sel:maxResults:ListExecutions',
-- listExecutions_maxResults - The maximum number of results that
-- are returned per call. You can use nextToken to obtain
-- further pages of results. The default is 100 and the maximum allowed
-- page size is 1000. A value of 0 uses the default.
--
-- This is only an upper limit. The actual number of results returned per
-- call might be fewer than the specified maximum.
--
-- ListExecutions, listExecutions_nextToken - If
-- nextToken is returned, there are more results available. The
-- value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
--
-- ListExecutions, listExecutions_stateMachineArn - The
-- Amazon Resource Name (ARN) of the state machine whose executions is
-- listed.
--
-- You can specify either a mapRunArn or a
-- stateMachineArn, but not both.
--
-- $sel:statusFilter:ListExecutions',
-- listExecutions_statusFilter - If specified, only list the
-- executions whose current execution status matches the given filter.
newListExecutions :: ListExecutions
-- | The Amazon Resource Name (ARN) of the Map Run that started the child
-- workflow executions. If the mapRunArn field is specified, a
-- list of all of the child workflow executions started by a Map Run is
-- returned. For more information, see Examining Map Run in the
-- Step Functions Developer Guide.
--
-- You can specify either a mapRunArn or a
-- stateMachineArn, but not both.
listExecutions_mapRunArn :: Lens' ListExecutions (Maybe Text)
-- | The maximum number of results that are returned per call. You can use
-- nextToken to obtain further pages of results. The default is
-- 100 and the maximum allowed page size is 1000. A value of 0 uses the
-- default.
--
-- This is only an upper limit. The actual number of results returned per
-- call might be fewer than the specified maximum.
listExecutions_maxResults :: Lens' ListExecutions (Maybe Natural)
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
listExecutions_nextToken :: Lens' ListExecutions (Maybe Text)
-- | The Amazon Resource Name (ARN) of the state machine whose executions
-- is listed.
--
-- You can specify either a mapRunArn or a
-- stateMachineArn, but not both.
listExecutions_stateMachineArn :: Lens' ListExecutions (Maybe Text)
-- | If specified, only list the executions whose current execution status
-- matches the given filter.
listExecutions_statusFilter :: Lens' ListExecutions (Maybe ExecutionStatus)
-- | See: newListExecutionsResponse smart constructor.
data ListExecutionsResponse
ListExecutionsResponse' :: Maybe Text -> Int -> [ExecutionListItem] -> ListExecutionsResponse
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
[$sel:nextToken:ListExecutionsResponse'] :: ListExecutionsResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListExecutionsResponse'] :: ListExecutionsResponse -> Int
-- | The list of matching executions.
[$sel:executions:ListExecutionsResponse'] :: ListExecutionsResponse -> [ExecutionListItem]
-- | Create a value of ListExecutionsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListExecutions, listExecutionsResponse_nextToken - If
-- nextToken is returned, there are more results available. The
-- value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
--
-- $sel:httpStatus:ListExecutionsResponse',
-- listExecutionsResponse_httpStatus - The response's http status
-- code.
--
-- $sel:executions:ListExecutionsResponse',
-- listExecutionsResponse_executions - The list of matching
-- executions.
newListExecutionsResponse :: Int -> ListExecutionsResponse
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
listExecutionsResponse_nextToken :: Lens' ListExecutionsResponse (Maybe Text)
-- | The response's http status code.
listExecutionsResponse_httpStatus :: Lens' ListExecutionsResponse Int
-- | The list of matching executions.
listExecutionsResponse_executions :: Lens' ListExecutionsResponse [ExecutionListItem]
instance GHC.Generics.Generic Amazonka.StepFunctions.ListExecutions.ListExecutions
instance GHC.Show.Show Amazonka.StepFunctions.ListExecutions.ListExecutions
instance GHC.Read.Read Amazonka.StepFunctions.ListExecutions.ListExecutions
instance GHC.Classes.Eq Amazonka.StepFunctions.ListExecutions.ListExecutions
instance GHC.Generics.Generic Amazonka.StepFunctions.ListExecutions.ListExecutionsResponse
instance GHC.Show.Show Amazonka.StepFunctions.ListExecutions.ListExecutionsResponse
instance GHC.Read.Read Amazonka.StepFunctions.ListExecutions.ListExecutionsResponse
instance GHC.Classes.Eq Amazonka.StepFunctions.ListExecutions.ListExecutionsResponse
instance Amazonka.Types.AWSRequest Amazonka.StepFunctions.ListExecutions.ListExecutions
instance Control.DeepSeq.NFData Amazonka.StepFunctions.ListExecutions.ListExecutionsResponse
instance Amazonka.Pager.AWSPager Amazonka.StepFunctions.ListExecutions.ListExecutions
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.ListExecutions.ListExecutions
instance Control.DeepSeq.NFData Amazonka.StepFunctions.ListExecutions.ListExecutions
instance Amazonka.Data.Headers.ToHeaders Amazonka.StepFunctions.ListExecutions.ListExecutions
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.ListExecutions.ListExecutions
instance Amazonka.Data.Path.ToPath Amazonka.StepFunctions.ListExecutions.ListExecutions
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.ListExecutions.ListExecutions
-- | Lists the existing activities.
--
-- If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
--
-- This operation is eventually consistent. The results are best effort
-- and may not reflect very recent updates and changes.
--
-- This operation returns paginated results.
module Amazonka.StepFunctions.ListActivities
-- | See: newListActivities smart constructor.
data ListActivities
ListActivities' :: Maybe Natural -> Maybe Text -> ListActivities
-- | The maximum number of results that are returned per call. You can use
-- nextToken to obtain further pages of results. The default is
-- 100 and the maximum allowed page size is 1000. A value of 0 uses the
-- default.
--
-- This is only an upper limit. The actual number of results returned per
-- call might be fewer than the specified maximum.
[$sel:maxResults:ListActivities'] :: ListActivities -> Maybe Natural
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
[$sel:nextToken:ListActivities'] :: ListActivities -> Maybe Text
-- | Create a value of ListActivities with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:ListActivities',
-- listActivities_maxResults - The maximum number of results that
-- are returned per call. You can use nextToken to obtain
-- further pages of results. The default is 100 and the maximum allowed
-- page size is 1000. A value of 0 uses the default.
--
-- This is only an upper limit. The actual number of results returned per
-- call might be fewer than the specified maximum.
--
-- ListActivities, listActivities_nextToken - If
-- nextToken is returned, there are more results available. The
-- value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
newListActivities :: ListActivities
-- | The maximum number of results that are returned per call. You can use
-- nextToken to obtain further pages of results. The default is
-- 100 and the maximum allowed page size is 1000. A value of 0 uses the
-- default.
--
-- This is only an upper limit. The actual number of results returned per
-- call might be fewer than the specified maximum.
listActivities_maxResults :: Lens' ListActivities (Maybe Natural)
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
listActivities_nextToken :: Lens' ListActivities (Maybe Text)
-- | See: newListActivitiesResponse smart constructor.
data ListActivitiesResponse
ListActivitiesResponse' :: Maybe Text -> Int -> [ActivityListItem] -> ListActivitiesResponse
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
[$sel:nextToken:ListActivitiesResponse'] :: ListActivitiesResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:ListActivitiesResponse'] :: ListActivitiesResponse -> Int
-- | The list of activities.
[$sel:activities:ListActivitiesResponse'] :: ListActivitiesResponse -> [ActivityListItem]
-- | Create a value of ListActivitiesResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListActivities, listActivitiesResponse_nextToken - If
-- nextToken is returned, there are more results available. The
-- value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
--
-- $sel:httpStatus:ListActivitiesResponse',
-- listActivitiesResponse_httpStatus - The response's http status
-- code.
--
-- $sel:activities:ListActivitiesResponse',
-- listActivitiesResponse_activities - The list of activities.
newListActivitiesResponse :: Int -> ListActivitiesResponse
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
listActivitiesResponse_nextToken :: Lens' ListActivitiesResponse (Maybe Text)
-- | The response's http status code.
listActivitiesResponse_httpStatus :: Lens' ListActivitiesResponse Int
-- | The list of activities.
listActivitiesResponse_activities :: Lens' ListActivitiesResponse [ActivityListItem]
instance GHC.Generics.Generic Amazonka.StepFunctions.ListActivities.ListActivities
instance GHC.Show.Show Amazonka.StepFunctions.ListActivities.ListActivities
instance GHC.Read.Read Amazonka.StepFunctions.ListActivities.ListActivities
instance GHC.Classes.Eq Amazonka.StepFunctions.ListActivities.ListActivities
instance GHC.Generics.Generic Amazonka.StepFunctions.ListActivities.ListActivitiesResponse
instance GHC.Show.Show Amazonka.StepFunctions.ListActivities.ListActivitiesResponse
instance GHC.Read.Read Amazonka.StepFunctions.ListActivities.ListActivitiesResponse
instance GHC.Classes.Eq Amazonka.StepFunctions.ListActivities.ListActivitiesResponse
instance Amazonka.Types.AWSRequest Amazonka.StepFunctions.ListActivities.ListActivities
instance Control.DeepSeq.NFData Amazonka.StepFunctions.ListActivities.ListActivitiesResponse
instance Amazonka.Pager.AWSPager Amazonka.StepFunctions.ListActivities.ListActivities
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.ListActivities.ListActivities
instance Control.DeepSeq.NFData Amazonka.StepFunctions.ListActivities.ListActivities
instance Amazonka.Data.Headers.ToHeaders Amazonka.StepFunctions.ListActivities.ListActivities
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.ListActivities.ListActivities
instance Amazonka.Data.Path.ToPath Amazonka.StepFunctions.ListActivities.ListActivities
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.ListActivities.ListActivities
-- | Returns the history of the specified execution as a list of events. By
-- default, the results are returned in ascending order of the
-- timeStamp of the events. Use the reverseOrder
-- parameter to get the latest events first.
--
-- If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
--
-- This API action is not supported by EXPRESS state machines.
--
-- This operation returns paginated results.
module Amazonka.StepFunctions.GetExecutionHistory
-- | See: newGetExecutionHistory smart constructor.
data GetExecutionHistory
GetExecutionHistory' :: Maybe Bool -> Maybe Natural -> Maybe Text -> Maybe Bool -> Text -> GetExecutionHistory
-- | You can select whether execution data (input or output of a history
-- event) is returned. The default is true.
[$sel:includeExecutionData:GetExecutionHistory'] :: GetExecutionHistory -> Maybe Bool
-- | The maximum number of results that are returned per call. You can use
-- nextToken to obtain further pages of results. The default is
-- 100 and the maximum allowed page size is 1000. A value of 0 uses the
-- default.
--
-- This is only an upper limit. The actual number of results returned per
-- call might be fewer than the specified maximum.
[$sel:maxResults:GetExecutionHistory'] :: GetExecutionHistory -> Maybe Natural
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
[$sel:nextToken:GetExecutionHistory'] :: GetExecutionHistory -> Maybe Text
-- | Lists events in descending order of their timeStamp.
[$sel:reverseOrder:GetExecutionHistory'] :: GetExecutionHistory -> Maybe Bool
-- | The Amazon Resource Name (ARN) of the execution.
[$sel:executionArn:GetExecutionHistory'] :: GetExecutionHistory -> Text
-- | Create a value of GetExecutionHistory with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetExecutionHistory,
-- getExecutionHistory_includeExecutionData - You can select
-- whether execution data (input or output of a history event) is
-- returned. The default is true.
--
-- $sel:maxResults:GetExecutionHistory',
-- getExecutionHistory_maxResults - The maximum number of results
-- that are returned per call. You can use nextToken to obtain
-- further pages of results. The default is 100 and the maximum allowed
-- page size is 1000. A value of 0 uses the default.
--
-- This is only an upper limit. The actual number of results returned per
-- call might be fewer than the specified maximum.
--
-- GetExecutionHistory, getExecutionHistory_nextToken - If
-- nextToken is returned, there are more results available. The
-- value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
--
-- $sel:reverseOrder:GetExecutionHistory',
-- getExecutionHistory_reverseOrder - Lists events in descending
-- order of their timeStamp.
--
-- GetExecutionHistory, getExecutionHistory_executionArn -
-- The Amazon Resource Name (ARN) of the execution.
newGetExecutionHistory :: Text -> GetExecutionHistory
-- | You can select whether execution data (input or output of a history
-- event) is returned. The default is true.
getExecutionHistory_includeExecutionData :: Lens' GetExecutionHistory (Maybe Bool)
-- | The maximum number of results that are returned per call. You can use
-- nextToken to obtain further pages of results. The default is
-- 100 and the maximum allowed page size is 1000. A value of 0 uses the
-- default.
--
-- This is only an upper limit. The actual number of results returned per
-- call might be fewer than the specified maximum.
getExecutionHistory_maxResults :: Lens' GetExecutionHistory (Maybe Natural)
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
getExecutionHistory_nextToken :: Lens' GetExecutionHistory (Maybe Text)
-- | Lists events in descending order of their timeStamp.
getExecutionHistory_reverseOrder :: Lens' GetExecutionHistory (Maybe Bool)
-- | The Amazon Resource Name (ARN) of the execution.
getExecutionHistory_executionArn :: Lens' GetExecutionHistory Text
-- | See: newGetExecutionHistoryResponse smart constructor.
data GetExecutionHistoryResponse
GetExecutionHistoryResponse' :: Maybe Text -> Int -> [HistoryEvent] -> GetExecutionHistoryResponse
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
[$sel:nextToken:GetExecutionHistoryResponse'] :: GetExecutionHistoryResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:GetExecutionHistoryResponse'] :: GetExecutionHistoryResponse -> Int
-- | The list of events that occurred in the execution.
[$sel:events:GetExecutionHistoryResponse'] :: GetExecutionHistoryResponse -> [HistoryEvent]
-- | Create a value of GetExecutionHistoryResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetExecutionHistory,
-- getExecutionHistoryResponse_nextToken - If nextToken
-- is returned, there are more results available. The value of
-- nextToken is a unique pagination token for each page. Make
-- the call again using the returned token to retrieve the next page.
-- Keep all other arguments unchanged. Each pagination token expires
-- after 24 hours. Using an expired pagination token will return an
-- HTTP 400 InvalidToken error.
--
-- $sel:httpStatus:GetExecutionHistoryResponse',
-- getExecutionHistoryResponse_httpStatus - The response's http
-- status code.
--
-- $sel:events:GetExecutionHistoryResponse',
-- getExecutionHistoryResponse_events - The list of events that
-- occurred in the execution.
newGetExecutionHistoryResponse :: Int -> GetExecutionHistoryResponse
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
getExecutionHistoryResponse_nextToken :: Lens' GetExecutionHistoryResponse (Maybe Text)
-- | The response's http status code.
getExecutionHistoryResponse_httpStatus :: Lens' GetExecutionHistoryResponse Int
-- | The list of events that occurred in the execution.
getExecutionHistoryResponse_events :: Lens' GetExecutionHistoryResponse [HistoryEvent]
instance GHC.Generics.Generic Amazonka.StepFunctions.GetExecutionHistory.GetExecutionHistory
instance GHC.Show.Show Amazonka.StepFunctions.GetExecutionHistory.GetExecutionHistory
instance GHC.Read.Read Amazonka.StepFunctions.GetExecutionHistory.GetExecutionHistory
instance GHC.Classes.Eq Amazonka.StepFunctions.GetExecutionHistory.GetExecutionHistory
instance GHC.Generics.Generic Amazonka.StepFunctions.GetExecutionHistory.GetExecutionHistoryResponse
instance GHC.Show.Show Amazonka.StepFunctions.GetExecutionHistory.GetExecutionHistoryResponse
instance GHC.Classes.Eq Amazonka.StepFunctions.GetExecutionHistory.GetExecutionHistoryResponse
instance Amazonka.Types.AWSRequest Amazonka.StepFunctions.GetExecutionHistory.GetExecutionHistory
instance Control.DeepSeq.NFData Amazonka.StepFunctions.GetExecutionHistory.GetExecutionHistoryResponse
instance Amazonka.Pager.AWSPager Amazonka.StepFunctions.GetExecutionHistory.GetExecutionHistory
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.GetExecutionHistory.GetExecutionHistory
instance Control.DeepSeq.NFData Amazonka.StepFunctions.GetExecutionHistory.GetExecutionHistory
instance Amazonka.Data.Headers.ToHeaders Amazonka.StepFunctions.GetExecutionHistory.GetExecutionHistory
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.GetExecutionHistory.GetExecutionHistory
instance Amazonka.Data.Path.ToPath Amazonka.StepFunctions.GetExecutionHistory.GetExecutionHistory
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.GetExecutionHistory.GetExecutionHistory
-- | Used by workers to retrieve a task (with the specified activity ARN)
-- which has been scheduled for execution by a running state machine.
-- This initiates a long poll, where the service holds the HTTP
-- connection open and responds as soon as a task becomes available (i.e.
-- an execution of a task of this type is needed.) The maximum time the
-- service holds on to the request before responding is 60 seconds. If no
-- task is available within 60 seconds, the poll returns a
-- taskToken with a null string.
--
-- This API action isn't logged in CloudTrail.
--
-- Workers should set their client side socket timeout to at least 65
-- seconds (5 seconds higher than the maximum time the service may hold
-- the poll request).
--
-- Polling with GetActivityTask can cause latency in some
-- implementations. See Avoid Latency When Polling for Activity
-- Tasks in the Step Functions Developer Guide.
module Amazonka.StepFunctions.GetActivityTask
-- | See: newGetActivityTask smart constructor.
data GetActivityTask
GetActivityTask' :: Maybe Text -> Text -> GetActivityTask
-- | You can provide an arbitrary name in order to identify the worker that
-- the task is assigned to. This name is used when it is logged in the
-- execution history.
[$sel:workerName:GetActivityTask'] :: GetActivityTask -> Maybe Text
-- | The Amazon Resource Name (ARN) of the activity to retrieve tasks from
-- (assigned when you create the task using CreateActivity.)
[$sel:activityArn:GetActivityTask'] :: GetActivityTask -> Text
-- | Create a value of GetActivityTask with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetActivityTask, getActivityTask_workerName - You can
-- provide an arbitrary name in order to identify the worker that the
-- task is assigned to. This name is used when it is logged in the
-- execution history.
--
-- GetActivityTask, getActivityTask_activityArn - The
-- Amazon Resource Name (ARN) of the activity to retrieve tasks from
-- (assigned when you create the task using CreateActivity.)
newGetActivityTask :: Text -> GetActivityTask
-- | You can provide an arbitrary name in order to identify the worker that
-- the task is assigned to. This name is used when it is logged in the
-- execution history.
getActivityTask_workerName :: Lens' GetActivityTask (Maybe Text)
-- | The Amazon Resource Name (ARN) of the activity to retrieve tasks from
-- (assigned when you create the task using CreateActivity.)
getActivityTask_activityArn :: Lens' GetActivityTask Text
-- | See: newGetActivityTaskResponse smart constructor.
data GetActivityTaskResponse
GetActivityTaskResponse' :: Maybe (Sensitive Text) -> Maybe Text -> Int -> GetActivityTaskResponse
-- | The string that contains the JSON input data for the task. Length
-- constraints apply to the payload size, and are expressed as bytes in
-- UTF-8 encoding.
[$sel:input:GetActivityTaskResponse'] :: GetActivityTaskResponse -> Maybe (Sensitive Text)
-- | A token that identifies the scheduled task. This token must be copied
-- and included in subsequent calls to SendTaskHeartbeat, SendTaskSuccess
-- or SendTaskFailure in order to report the progress or completion of
-- the task.
[$sel:taskToken:GetActivityTaskResponse'] :: GetActivityTaskResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:GetActivityTaskResponse'] :: GetActivityTaskResponse -> Int
-- | Create a value of GetActivityTaskResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetActivityTaskResponse, getActivityTaskResponse_input -
-- The string that contains the JSON input data for the task. Length
-- constraints apply to the payload size, and are expressed as bytes in
-- UTF-8 encoding.
--
-- $sel:taskToken:GetActivityTaskResponse',
-- getActivityTaskResponse_taskToken - A token that identifies the
-- scheduled task. This token must be copied and included in subsequent
-- calls to SendTaskHeartbeat, SendTaskSuccess or SendTaskFailure in
-- order to report the progress or completion of the task.
--
-- $sel:httpStatus:GetActivityTaskResponse',
-- getActivityTaskResponse_httpStatus - The response's http status
-- code.
newGetActivityTaskResponse :: Int -> GetActivityTaskResponse
-- | The string that contains the JSON input data for the task. Length
-- constraints apply to the payload size, and are expressed as bytes in
-- UTF-8 encoding.
getActivityTaskResponse_input :: Lens' GetActivityTaskResponse (Maybe Text)
-- | A token that identifies the scheduled task. This token must be copied
-- and included in subsequent calls to SendTaskHeartbeat, SendTaskSuccess
-- or SendTaskFailure in order to report the progress or completion of
-- the task.
getActivityTaskResponse_taskToken :: Lens' GetActivityTaskResponse (Maybe Text)
-- | The response's http status code.
getActivityTaskResponse_httpStatus :: Lens' GetActivityTaskResponse Int
instance GHC.Generics.Generic Amazonka.StepFunctions.GetActivityTask.GetActivityTask
instance GHC.Show.Show Amazonka.StepFunctions.GetActivityTask.GetActivityTask
instance GHC.Read.Read Amazonka.StepFunctions.GetActivityTask.GetActivityTask
instance GHC.Classes.Eq Amazonka.StepFunctions.GetActivityTask.GetActivityTask
instance GHC.Generics.Generic Amazonka.StepFunctions.GetActivityTask.GetActivityTaskResponse
instance GHC.Show.Show Amazonka.StepFunctions.GetActivityTask.GetActivityTaskResponse
instance GHC.Classes.Eq Amazonka.StepFunctions.GetActivityTask.GetActivityTaskResponse
instance Amazonka.Types.AWSRequest Amazonka.StepFunctions.GetActivityTask.GetActivityTask
instance Control.DeepSeq.NFData Amazonka.StepFunctions.GetActivityTask.GetActivityTaskResponse
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.GetActivityTask.GetActivityTask
instance Control.DeepSeq.NFData Amazonka.StepFunctions.GetActivityTask.GetActivityTask
instance Amazonka.Data.Headers.ToHeaders Amazonka.StepFunctions.GetActivityTask.GetActivityTask
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.GetActivityTask.GetActivityTask
instance Amazonka.Data.Path.ToPath Amazonka.StepFunctions.GetActivityTask.GetActivityTask
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.GetActivityTask.GetActivityTask
-- | Provides information about a state machine's definition, its execution
-- role ARN, and configuration. If an execution was dispatched by a Map
-- Run, the Map Run is returned in the response. Additionally, the state
-- machine returned will be the state machine associated with the Map
-- Run.
--
-- This operation is eventually consistent. The results are best effort
-- and may not reflect very recent updates and changes.
--
-- This API action is not supported by EXPRESS state machines.
module Amazonka.StepFunctions.DescribeStateMachineForExecution
-- | See: newDescribeStateMachineForExecution smart
-- constructor.
data DescribeStateMachineForExecution
DescribeStateMachineForExecution' :: Text -> DescribeStateMachineForExecution
-- | The Amazon Resource Name (ARN) of the execution you want state machine
-- information for.
[$sel:executionArn:DescribeStateMachineForExecution'] :: DescribeStateMachineForExecution -> Text
-- | Create a value of DescribeStateMachineForExecution with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeStateMachineForExecution,
-- describeStateMachineForExecution_executionArn - The Amazon
-- Resource Name (ARN) of the execution you want state machine
-- information for.
newDescribeStateMachineForExecution :: Text -> DescribeStateMachineForExecution
-- | The Amazon Resource Name (ARN) of the execution you want state machine
-- information for.
describeStateMachineForExecution_executionArn :: Lens' DescribeStateMachineForExecution Text
-- | See: newDescribeStateMachineForExecutionResponse smart
-- constructor.
data DescribeStateMachineForExecutionResponse
DescribeStateMachineForExecutionResponse' :: Maybe Text -> Maybe LoggingConfiguration -> Maybe Text -> Maybe TracingConfiguration -> Int -> Text -> Text -> Sensitive Text -> Text -> POSIX -> DescribeStateMachineForExecutionResponse
-- | A user-defined or an auto-generated string that identifies a
-- Map state. This field is returned only if the
-- executionArn is a child workflow execution that was started
-- by a Distributed Map state.
[$sel:label:DescribeStateMachineForExecutionResponse'] :: DescribeStateMachineForExecutionResponse -> Maybe Text
[$sel:loggingConfiguration:DescribeStateMachineForExecutionResponse'] :: DescribeStateMachineForExecutionResponse -> Maybe LoggingConfiguration
-- | The Amazon Resource Name (ARN) of the Map Run that started the child
-- workflow execution. This field is returned only if the
-- executionArn is a child workflow execution that was started
-- by a Distributed Map state.
[$sel:mapRunArn:DescribeStateMachineForExecutionResponse'] :: DescribeStateMachineForExecutionResponse -> Maybe Text
-- | Selects whether X-Ray tracing is enabled.
[$sel:tracingConfiguration:DescribeStateMachineForExecutionResponse'] :: DescribeStateMachineForExecutionResponse -> Maybe TracingConfiguration
-- | The response's http status code.
[$sel:httpStatus:DescribeStateMachineForExecutionResponse'] :: DescribeStateMachineForExecutionResponse -> Int
-- | The Amazon Resource Name (ARN) of the state machine associated with
-- the execution.
[$sel:stateMachineArn:DescribeStateMachineForExecutionResponse'] :: DescribeStateMachineForExecutionResponse -> Text
-- | The name of the state machine associated with the execution.
[$sel:name:DescribeStateMachineForExecutionResponse'] :: DescribeStateMachineForExecutionResponse -> Text
-- | The Amazon States Language definition of the state machine. See
-- Amazon States Language.
[$sel:definition:DescribeStateMachineForExecutionResponse'] :: DescribeStateMachineForExecutionResponse -> Sensitive Text
-- | The Amazon Resource Name (ARN) of the IAM role of the State Machine
-- for the execution.
[$sel:roleArn:DescribeStateMachineForExecutionResponse'] :: DescribeStateMachineForExecutionResponse -> Text
-- | The date and time the state machine associated with an execution was
-- updated. For a newly created state machine, this is the creation date.
[$sel:updateDate:DescribeStateMachineForExecutionResponse'] :: DescribeStateMachineForExecutionResponse -> POSIX
-- | Create a value of DescribeStateMachineForExecutionResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:label:DescribeStateMachineForExecutionResponse',
-- describeStateMachineForExecutionResponse_label - A user-defined
-- or an auto-generated string that identifies a Map state. This
-- field is returned only if the executionArn is a child workflow
-- execution that was started by a Distributed Map state.
--
--
-- $sel:loggingConfiguration:DescribeStateMachineForExecutionResponse',
-- describeStateMachineForExecutionResponse_loggingConfiguration -
-- Undocumented member.
--
-- DescribeStateMachineForExecutionResponse,
-- describeStateMachineForExecutionResponse_mapRunArn - The Amazon
-- Resource Name (ARN) of the Map Run that started the child workflow
-- execution. This field is returned only if the executionArn is
-- a child workflow execution that was started by a Distributed Map
-- state.
--
--
-- $sel:tracingConfiguration:DescribeStateMachineForExecutionResponse',
-- describeStateMachineForExecutionResponse_tracingConfiguration -
-- Selects whether X-Ray tracing is enabled.
--
-- $sel:httpStatus:DescribeStateMachineForExecutionResponse',
-- describeStateMachineForExecutionResponse_httpStatus - The
-- response's http status code.
--
-- DescribeStateMachineForExecutionResponse,
-- describeStateMachineForExecutionResponse_stateMachineArn - The
-- Amazon Resource Name (ARN) of the state machine associated with the
-- execution.
--
-- DescribeStateMachineForExecutionResponse,
-- describeStateMachineForExecutionResponse_name - The name of the
-- state machine associated with the execution.
--
-- $sel:definition:DescribeStateMachineForExecutionResponse',
-- describeStateMachineForExecutionResponse_definition - The
-- Amazon States Language definition of the state machine. See Amazon
-- States Language.
--
-- DescribeStateMachineForExecutionResponse,
-- describeStateMachineForExecutionResponse_roleArn - The Amazon
-- Resource Name (ARN) of the IAM role of the State Machine for the
-- execution.
--
-- $sel:updateDate:DescribeStateMachineForExecutionResponse',
-- describeStateMachineForExecutionResponse_updateDate - The date
-- and time the state machine associated with an execution was updated.
-- For a newly created state machine, this is the creation date.
newDescribeStateMachineForExecutionResponse :: Int -> Text -> Text -> Text -> Text -> UTCTime -> DescribeStateMachineForExecutionResponse
-- | A user-defined or an auto-generated string that identifies a
-- Map state. This field is returned only if the
-- executionArn is a child workflow execution that was started
-- by a Distributed Map state.
describeStateMachineForExecutionResponse_label :: Lens' DescribeStateMachineForExecutionResponse (Maybe Text)
-- | Undocumented member.
describeStateMachineForExecutionResponse_loggingConfiguration :: Lens' DescribeStateMachineForExecutionResponse (Maybe LoggingConfiguration)
-- | The Amazon Resource Name (ARN) of the Map Run that started the child
-- workflow execution. This field is returned only if the
-- executionArn is a child workflow execution that was started
-- by a Distributed Map state.
describeStateMachineForExecutionResponse_mapRunArn :: Lens' DescribeStateMachineForExecutionResponse (Maybe Text)
-- | Selects whether X-Ray tracing is enabled.
describeStateMachineForExecutionResponse_tracingConfiguration :: Lens' DescribeStateMachineForExecutionResponse (Maybe TracingConfiguration)
-- | The response's http status code.
describeStateMachineForExecutionResponse_httpStatus :: Lens' DescribeStateMachineForExecutionResponse Int
-- | The Amazon Resource Name (ARN) of the state machine associated with
-- the execution.
describeStateMachineForExecutionResponse_stateMachineArn :: Lens' DescribeStateMachineForExecutionResponse Text
-- | The name of the state machine associated with the execution.
describeStateMachineForExecutionResponse_name :: Lens' DescribeStateMachineForExecutionResponse Text
-- | The Amazon States Language definition of the state machine. See
-- Amazon States Language.
describeStateMachineForExecutionResponse_definition :: Lens' DescribeStateMachineForExecutionResponse Text
-- | The Amazon Resource Name (ARN) of the IAM role of the State Machine
-- for the execution.
describeStateMachineForExecutionResponse_roleArn :: Lens' DescribeStateMachineForExecutionResponse Text
-- | The date and time the state machine associated with an execution was
-- updated. For a newly created state machine, this is the creation date.
describeStateMachineForExecutionResponse_updateDate :: Lens' DescribeStateMachineForExecutionResponse UTCTime
instance GHC.Generics.Generic Amazonka.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecution
instance GHC.Show.Show Amazonka.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecution
instance GHC.Read.Read Amazonka.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecution
instance GHC.Classes.Eq Amazonka.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecution
instance GHC.Generics.Generic Amazonka.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecutionResponse
instance GHC.Show.Show Amazonka.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecutionResponse
instance GHC.Classes.Eq Amazonka.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecutionResponse
instance Amazonka.Types.AWSRequest Amazonka.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecution
instance Control.DeepSeq.NFData Amazonka.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecutionResponse
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecution
instance Control.DeepSeq.NFData Amazonka.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecution
instance Amazonka.Data.Headers.ToHeaders Amazonka.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecution
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecution
instance Amazonka.Data.Path.ToPath Amazonka.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecution
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.DescribeStateMachineForExecution.DescribeStateMachineForExecution
-- | Provides information about a state machine's definition, its IAM role
-- Amazon Resource Name (ARN), and configuration. If the state machine
-- ARN is a qualified state machine ARN, the response returned includes
-- the Map state's label.
--
-- A qualified state machine ARN refers to a Distributed Map state
-- defined within a state machine. For example, the qualified state
-- machine ARN
-- arn:partition:states:region:account-id:stateMachine:stateMachineName/mapStateLabel
-- refers to a Distributed Map state with a label
-- mapStateLabel in the state machine named
-- stateMachineName.
--
-- This operation is eventually consistent. The results are best effort
-- and may not reflect very recent updates and changes.
module Amazonka.StepFunctions.DescribeStateMachine
-- | See: newDescribeStateMachine smart constructor.
data DescribeStateMachine
DescribeStateMachine' :: Text -> DescribeStateMachine
-- | The Amazon Resource Name (ARN) of the state machine to describe.
[$sel:stateMachineArn:DescribeStateMachine'] :: DescribeStateMachine -> Text
-- | Create a value of DescribeStateMachine with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeStateMachine,
-- describeStateMachine_stateMachineArn - The Amazon Resource Name
-- (ARN) of the state machine to describe.
newDescribeStateMachine :: Text -> DescribeStateMachine
-- | The Amazon Resource Name (ARN) of the state machine to describe.
describeStateMachine_stateMachineArn :: Lens' DescribeStateMachine Text
-- | See: newDescribeStateMachineResponse smart constructor.
data DescribeStateMachineResponse
DescribeStateMachineResponse' :: Maybe Text -> Maybe LoggingConfiguration -> Maybe StateMachineStatus -> Maybe TracingConfiguration -> Int -> Text -> Text -> Sensitive Text -> Text -> StateMachineType -> POSIX -> DescribeStateMachineResponse
-- | A user-defined or an auto-generated string that identifies a
-- Map state. This parameter is present only if the
-- stateMachineArn specified in input is a qualified state
-- machine ARN.
[$sel:label:DescribeStateMachineResponse'] :: DescribeStateMachineResponse -> Maybe Text
[$sel:loggingConfiguration:DescribeStateMachineResponse'] :: DescribeStateMachineResponse -> Maybe LoggingConfiguration
-- | The current status of the state machine.
[$sel:status:DescribeStateMachineResponse'] :: DescribeStateMachineResponse -> Maybe StateMachineStatus
-- | Selects whether X-Ray tracing is enabled.
[$sel:tracingConfiguration:DescribeStateMachineResponse'] :: DescribeStateMachineResponse -> Maybe TracingConfiguration
-- | The response's http status code.
[$sel:httpStatus:DescribeStateMachineResponse'] :: DescribeStateMachineResponse -> Int
-- | The Amazon Resource Name (ARN) that identifies the state machine.
[$sel:stateMachineArn:DescribeStateMachineResponse'] :: DescribeStateMachineResponse -> Text
-- | The name of the state machine.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
[$sel:name:DescribeStateMachineResponse'] :: DescribeStateMachineResponse -> Text
-- | The Amazon States Language definition of the state machine. See
-- Amazon States Language.
[$sel:definition:DescribeStateMachineResponse'] :: DescribeStateMachineResponse -> Sensitive Text
-- | The Amazon Resource Name (ARN) of the IAM role used when creating this
-- state machine. (The IAM role maintains security by granting Step
-- Functions access to Amazon Web Services resources.)
[$sel:roleArn:DescribeStateMachineResponse'] :: DescribeStateMachineResponse -> Text
-- | The type of the state machine (STANDARD or
-- EXPRESS).
[$sel:type':DescribeStateMachineResponse'] :: DescribeStateMachineResponse -> StateMachineType
-- | The date the state machine is created.
[$sel:creationDate:DescribeStateMachineResponse'] :: DescribeStateMachineResponse -> POSIX
-- | Create a value of DescribeStateMachineResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:label:DescribeStateMachineResponse',
-- describeStateMachineResponse_label - A user-defined or an
-- auto-generated string that identifies a Map state. This
-- parameter is present only if the stateMachineArn specified in
-- input is a qualified state machine ARN.
--
-- $sel:loggingConfiguration:DescribeStateMachineResponse',
-- describeStateMachineResponse_loggingConfiguration -
-- Undocumented member.
--
-- DescribeStateMachineResponse,
-- describeStateMachineResponse_status - The current status of the
-- state machine.
--
-- $sel:tracingConfiguration:DescribeStateMachineResponse',
-- describeStateMachineResponse_tracingConfiguration - Selects
-- whether X-Ray tracing is enabled.
--
-- $sel:httpStatus:DescribeStateMachineResponse',
-- describeStateMachineResponse_httpStatus - The response's http
-- status code.
--
-- DescribeStateMachine,
-- describeStateMachineResponse_stateMachineArn - The Amazon
-- Resource Name (ARN) that identifies the state machine.
--
-- DescribeStateMachineResponse,
-- describeStateMachineResponse_name - The name of the state
-- machine.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
--
-- $sel:definition:DescribeStateMachineResponse',
-- describeStateMachineResponse_definition - The Amazon States
-- Language definition of the state machine. See Amazon States
-- Language.
--
-- DescribeStateMachineResponse,
-- describeStateMachineResponse_roleArn - The Amazon Resource Name
-- (ARN) of the IAM role used when creating this state machine. (The IAM
-- role maintains security by granting Step Functions access to Amazon
-- Web Services resources.)
--
-- DescribeStateMachineResponse,
-- describeStateMachineResponse_type - The type of the
-- state machine (STANDARD or EXPRESS).
--
-- DescribeStateMachineResponse,
-- describeStateMachineResponse_creationDate - The date the state
-- machine is created.
newDescribeStateMachineResponse :: Int -> Text -> Text -> Text -> Text -> StateMachineType -> UTCTime -> DescribeStateMachineResponse
-- | A user-defined or an auto-generated string that identifies a
-- Map state. This parameter is present only if the
-- stateMachineArn specified in input is a qualified state
-- machine ARN.
describeStateMachineResponse_label :: Lens' DescribeStateMachineResponse (Maybe Text)
-- | Undocumented member.
describeStateMachineResponse_loggingConfiguration :: Lens' DescribeStateMachineResponse (Maybe LoggingConfiguration)
-- | The current status of the state machine.
describeStateMachineResponse_status :: Lens' DescribeStateMachineResponse (Maybe StateMachineStatus)
-- | Selects whether X-Ray tracing is enabled.
describeStateMachineResponse_tracingConfiguration :: Lens' DescribeStateMachineResponse (Maybe TracingConfiguration)
-- | The response's http status code.
describeStateMachineResponse_httpStatus :: Lens' DescribeStateMachineResponse Int
-- | The Amazon Resource Name (ARN) that identifies the state machine.
describeStateMachineResponse_stateMachineArn :: Lens' DescribeStateMachineResponse Text
-- | The name of the state machine.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
describeStateMachineResponse_name :: Lens' DescribeStateMachineResponse Text
-- | The Amazon States Language definition of the state machine. See
-- Amazon States Language.
describeStateMachineResponse_definition :: Lens' DescribeStateMachineResponse Text
-- | The Amazon Resource Name (ARN) of the IAM role used when creating this
-- state machine. (The IAM role maintains security by granting Step
-- Functions access to Amazon Web Services resources.)
describeStateMachineResponse_roleArn :: Lens' DescribeStateMachineResponse Text
-- | The type of the state machine (STANDARD or
-- EXPRESS).
describeStateMachineResponse_type :: Lens' DescribeStateMachineResponse StateMachineType
-- | The date the state machine is created.
describeStateMachineResponse_creationDate :: Lens' DescribeStateMachineResponse UTCTime
instance GHC.Generics.Generic Amazonka.StepFunctions.DescribeStateMachine.DescribeStateMachine
instance GHC.Show.Show Amazonka.StepFunctions.DescribeStateMachine.DescribeStateMachine
instance GHC.Read.Read Amazonka.StepFunctions.DescribeStateMachine.DescribeStateMachine
instance GHC.Classes.Eq Amazonka.StepFunctions.DescribeStateMachine.DescribeStateMachine
instance GHC.Generics.Generic Amazonka.StepFunctions.DescribeStateMachine.DescribeStateMachineResponse
instance GHC.Show.Show Amazonka.StepFunctions.DescribeStateMachine.DescribeStateMachineResponse
instance GHC.Classes.Eq Amazonka.StepFunctions.DescribeStateMachine.DescribeStateMachineResponse
instance Amazonka.Types.AWSRequest Amazonka.StepFunctions.DescribeStateMachine.DescribeStateMachine
instance Control.DeepSeq.NFData Amazonka.StepFunctions.DescribeStateMachine.DescribeStateMachineResponse
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.DescribeStateMachine.DescribeStateMachine
instance Control.DeepSeq.NFData Amazonka.StepFunctions.DescribeStateMachine.DescribeStateMachine
instance Amazonka.Data.Headers.ToHeaders Amazonka.StepFunctions.DescribeStateMachine.DescribeStateMachine
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.DescribeStateMachine.DescribeStateMachine
instance Amazonka.Data.Path.ToPath Amazonka.StepFunctions.DescribeStateMachine.DescribeStateMachine
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.DescribeStateMachine.DescribeStateMachine
-- | Provides information about a Map Run's configuration, progress, and
-- results. For more information, see Examining Map Run in the
-- Step Functions Developer Guide.
module Amazonka.StepFunctions.DescribeMapRun
-- | See: newDescribeMapRun smart constructor.
data DescribeMapRun
DescribeMapRun' :: Text -> DescribeMapRun
-- | The Amazon Resource Name (ARN) that identifies a Map Run.
[$sel:mapRunArn:DescribeMapRun'] :: DescribeMapRun -> Text
-- | Create a value of DescribeMapRun with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeMapRun, describeMapRun_mapRunArn - The Amazon
-- Resource Name (ARN) that identifies a Map Run.
newDescribeMapRun :: Text -> DescribeMapRun
-- | The Amazon Resource Name (ARN) that identifies a Map Run.
describeMapRun_mapRunArn :: Lens' DescribeMapRun Text
-- | See: newDescribeMapRunResponse smart constructor.
data DescribeMapRunResponse
DescribeMapRunResponse' :: Maybe POSIX -> Int -> Text -> Text -> MapRunStatus -> POSIX -> Natural -> Double -> Natural -> MapRunItemCounts -> MapRunExecutionCounts -> DescribeMapRunResponse
-- | The date when the Map Run was stopped.
[$sel:stopDate:DescribeMapRunResponse'] :: DescribeMapRunResponse -> Maybe POSIX
-- | The response's http status code.
[$sel:httpStatus:DescribeMapRunResponse'] :: DescribeMapRunResponse -> Int
-- | The Amazon Resource Name (ARN) that identifies a Map Run.
[$sel:mapRunArn:DescribeMapRunResponse'] :: DescribeMapRunResponse -> Text
-- | The Amazon Resource Name (ARN) that identifies the execution in which
-- the Map Run was started.
[$sel:executionArn:DescribeMapRunResponse'] :: DescribeMapRunResponse -> Text
-- | The current status of the Map Run.
[$sel:status:DescribeMapRunResponse'] :: DescribeMapRunResponse -> MapRunStatus
-- | The date when the Map Run was started.
[$sel:startDate:DescribeMapRunResponse'] :: DescribeMapRunResponse -> POSIX
-- | The maximum number of child workflow executions configured to run in
-- parallel for the Map Run at the same time.
[$sel:maxConcurrency:DescribeMapRunResponse'] :: DescribeMapRunResponse -> Natural
-- | The maximum percentage of failed child workflow executions before the
-- Map Run fails.
[$sel:toleratedFailurePercentage:DescribeMapRunResponse'] :: DescribeMapRunResponse -> Double
-- | The maximum number of failed child workflow executions before the Map
-- Run fails.
[$sel:toleratedFailureCount:DescribeMapRunResponse'] :: DescribeMapRunResponse -> Natural
-- | A JSON object that contains information about the total number of
-- items, and the item count for each processing status, such as
-- pending and failed.
[$sel:itemCounts:DescribeMapRunResponse'] :: DescribeMapRunResponse -> MapRunItemCounts
-- | A JSON object that contains information about the total number of
-- child workflow executions for the Map Run, and the count of child
-- workflow executions for each status, such as failed and
-- succeeded.
[$sel:executionCounts:DescribeMapRunResponse'] :: DescribeMapRunResponse -> MapRunExecutionCounts
-- | Create a value of DescribeMapRunResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeMapRunResponse, describeMapRunResponse_stopDate
-- - The date when the Map Run was stopped.
--
-- $sel:httpStatus:DescribeMapRunResponse',
-- describeMapRunResponse_httpStatus - The response's http status
-- code.
--
-- DescribeMapRun, describeMapRunResponse_mapRunArn - The
-- Amazon Resource Name (ARN) that identifies a Map Run.
--
-- DescribeMapRunResponse,
-- describeMapRunResponse_executionArn - The Amazon Resource Name
-- (ARN) that identifies the execution in which the Map Run was started.
--
-- DescribeMapRunResponse, describeMapRunResponse_status -
-- The current status of the Map Run.
--
-- DescribeMapRunResponse, describeMapRunResponse_startDate
-- - The date when the Map Run was started.
--
-- $sel:maxConcurrency:DescribeMapRunResponse',
-- describeMapRunResponse_maxConcurrency - The maximum number of
-- child workflow executions configured to run in parallel for the Map
-- Run at the same time.
--
-- $sel:toleratedFailurePercentage:DescribeMapRunResponse',
-- describeMapRunResponse_toleratedFailurePercentage - The maximum
-- percentage of failed child workflow executions before the Map Run
-- fails.
--
-- $sel:toleratedFailureCount:DescribeMapRunResponse',
-- describeMapRunResponse_toleratedFailureCount - The maximum
-- number of failed child workflow executions before the Map Run fails.
--
-- $sel:itemCounts:DescribeMapRunResponse',
-- describeMapRunResponse_itemCounts - A JSON object that contains
-- information about the total number of items, and the item count for
-- each processing status, such as pending and failed.
--
-- $sel:executionCounts:DescribeMapRunResponse',
-- describeMapRunResponse_executionCounts - A JSON object that
-- contains information about the total number of child workflow
-- executions for the Map Run, and the count of child workflow executions
-- for each status, such as failed and succeeded.
newDescribeMapRunResponse :: Int -> Text -> Text -> MapRunStatus -> UTCTime -> Natural -> Double -> Natural -> MapRunItemCounts -> MapRunExecutionCounts -> DescribeMapRunResponse
-- | The date when the Map Run was stopped.
describeMapRunResponse_stopDate :: Lens' DescribeMapRunResponse (Maybe UTCTime)
-- | The response's http status code.
describeMapRunResponse_httpStatus :: Lens' DescribeMapRunResponse Int
-- | The Amazon Resource Name (ARN) that identifies a Map Run.
describeMapRunResponse_mapRunArn :: Lens' DescribeMapRunResponse Text
-- | The Amazon Resource Name (ARN) that identifies the execution in which
-- the Map Run was started.
describeMapRunResponse_executionArn :: Lens' DescribeMapRunResponse Text
-- | The current status of the Map Run.
describeMapRunResponse_status :: Lens' DescribeMapRunResponse MapRunStatus
-- | The date when the Map Run was started.
describeMapRunResponse_startDate :: Lens' DescribeMapRunResponse UTCTime
-- | The maximum number of child workflow executions configured to run in
-- parallel for the Map Run at the same time.
describeMapRunResponse_maxConcurrency :: Lens' DescribeMapRunResponse Natural
-- | The maximum percentage of failed child workflow executions before the
-- Map Run fails.
describeMapRunResponse_toleratedFailurePercentage :: Lens' DescribeMapRunResponse Double
-- | The maximum number of failed child workflow executions before the Map
-- Run fails.
describeMapRunResponse_toleratedFailureCount :: Lens' DescribeMapRunResponse Natural
-- | A JSON object that contains information about the total number of
-- items, and the item count for each processing status, such as
-- pending and failed.
describeMapRunResponse_itemCounts :: Lens' DescribeMapRunResponse MapRunItemCounts
-- | A JSON object that contains information about the total number of
-- child workflow executions for the Map Run, and the count of child
-- workflow executions for each status, such as failed and
-- succeeded.
describeMapRunResponse_executionCounts :: Lens' DescribeMapRunResponse MapRunExecutionCounts
instance GHC.Generics.Generic Amazonka.StepFunctions.DescribeMapRun.DescribeMapRun
instance GHC.Show.Show Amazonka.StepFunctions.DescribeMapRun.DescribeMapRun
instance GHC.Read.Read Amazonka.StepFunctions.DescribeMapRun.DescribeMapRun
instance GHC.Classes.Eq Amazonka.StepFunctions.DescribeMapRun.DescribeMapRun
instance GHC.Generics.Generic Amazonka.StepFunctions.DescribeMapRun.DescribeMapRunResponse
instance GHC.Show.Show Amazonka.StepFunctions.DescribeMapRun.DescribeMapRunResponse
instance GHC.Read.Read Amazonka.StepFunctions.DescribeMapRun.DescribeMapRunResponse
instance GHC.Classes.Eq Amazonka.StepFunctions.DescribeMapRun.DescribeMapRunResponse
instance Amazonka.Types.AWSRequest Amazonka.StepFunctions.DescribeMapRun.DescribeMapRun
instance Control.DeepSeq.NFData Amazonka.StepFunctions.DescribeMapRun.DescribeMapRunResponse
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.DescribeMapRun.DescribeMapRun
instance Control.DeepSeq.NFData Amazonka.StepFunctions.DescribeMapRun.DescribeMapRun
instance Amazonka.Data.Headers.ToHeaders Amazonka.StepFunctions.DescribeMapRun.DescribeMapRun
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.DescribeMapRun.DescribeMapRun
instance Amazonka.Data.Path.ToPath Amazonka.StepFunctions.DescribeMapRun.DescribeMapRun
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.DescribeMapRun.DescribeMapRun
-- | Provides all information about a state machine execution, such as the
-- state machine associated with the execution, the execution input and
-- output, and relevant execution metadata. Use this API action to return
-- the Map Run ARN if the execution was dispatched by a Map Run.
--
-- This operation is eventually consistent. The results are best effort
-- and may not reflect very recent updates and changes.
--
-- This API action is not supported by EXPRESS state machine
-- executions unless they were dispatched by a Map Run.
module Amazonka.StepFunctions.DescribeExecution
-- | See: newDescribeExecution smart constructor.
data DescribeExecution
DescribeExecution' :: Text -> DescribeExecution
-- | The Amazon Resource Name (ARN) of the execution to describe.
[$sel:executionArn:DescribeExecution'] :: DescribeExecution -> Text
-- | Create a value of DescribeExecution with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeExecution, describeExecution_executionArn - The
-- Amazon Resource Name (ARN) of the execution to describe.
newDescribeExecution :: Text -> DescribeExecution
-- | The Amazon Resource Name (ARN) of the execution to describe.
describeExecution_executionArn :: Lens' DescribeExecution Text
-- | See: newDescribeExecutionResponse smart constructor.
data DescribeExecutionResponse
DescribeExecutionResponse' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Maybe CloudWatchEventsExecutionDataDetails -> Maybe Text -> Maybe Text -> Maybe (Sensitive Text) -> Maybe CloudWatchEventsExecutionDataDetails -> Maybe POSIX -> Maybe Text -> Int -> Text -> Text -> ExecutionStatus -> POSIX -> DescribeExecutionResponse
-- | The cause string if the state machine execution failed.
[$sel:cause:DescribeExecutionResponse'] :: DescribeExecutionResponse -> Maybe (Sensitive Text)
-- | The error string if the state machine execution failed.
[$sel:error:DescribeExecutionResponse'] :: DescribeExecutionResponse -> Maybe (Sensitive Text)
-- | The string that contains the JSON input data of the execution. Length
-- constraints apply to the payload size, and are expressed as bytes in
-- UTF-8 encoding.
[$sel:input:DescribeExecutionResponse'] :: DescribeExecutionResponse -> Maybe (Sensitive Text)
[$sel:inputDetails:DescribeExecutionResponse'] :: DescribeExecutionResponse -> Maybe CloudWatchEventsExecutionDataDetails
-- | The Amazon Resource Name (ARN) that identifies a Map Run, which
-- dispatched this execution.
[$sel:mapRunArn:DescribeExecutionResponse'] :: DescribeExecutionResponse -> Maybe Text
-- | The name of the execution.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
[$sel:name:DescribeExecutionResponse'] :: DescribeExecutionResponse -> Maybe Text
-- | The JSON output data of the execution. Length constraints apply to the
-- payload size, and are expressed as bytes in UTF-8 encoding.
--
-- This field is set only if the execution succeeds. If the execution
-- fails, this field is null.
[$sel:output:DescribeExecutionResponse'] :: DescribeExecutionResponse -> Maybe (Sensitive Text)
[$sel:outputDetails:DescribeExecutionResponse'] :: DescribeExecutionResponse -> Maybe CloudWatchEventsExecutionDataDetails
-- | If the execution has already ended, the date the execution stopped.
[$sel:stopDate:DescribeExecutionResponse'] :: DescribeExecutionResponse -> Maybe POSIX
-- | The X-Ray trace header that was passed to the execution.
[$sel:traceHeader:DescribeExecutionResponse'] :: DescribeExecutionResponse -> Maybe Text
-- | The response's http status code.
[$sel:httpStatus:DescribeExecutionResponse'] :: DescribeExecutionResponse -> Int
-- | The Amazon Resource Name (ARN) that identifies the execution.
[$sel:executionArn:DescribeExecutionResponse'] :: DescribeExecutionResponse -> Text
-- | The Amazon Resource Name (ARN) of the executed stated machine.
[$sel:stateMachineArn:DescribeExecutionResponse'] :: DescribeExecutionResponse -> Text
-- | The current status of the execution.
[$sel:status:DescribeExecutionResponse'] :: DescribeExecutionResponse -> ExecutionStatus
-- | The date the execution is started.
[$sel:startDate:DescribeExecutionResponse'] :: DescribeExecutionResponse -> POSIX
-- | Create a value of DescribeExecutionResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeExecutionResponse,
-- describeExecutionResponse_cause - The cause string if the state
-- machine execution failed.
--
-- DescribeExecutionResponse,
-- describeExecutionResponse_error - The error string if the state
-- machine execution failed.
--
-- DescribeExecutionResponse,
-- describeExecutionResponse_input - The string that contains the
-- JSON input data of the execution. Length constraints apply to the
-- payload size, and are expressed as bytes in UTF-8 encoding.
--
-- DescribeExecutionResponse,
-- describeExecutionResponse_inputDetails - Undocumented member.
--
-- DescribeExecutionResponse,
-- describeExecutionResponse_mapRunArn - The Amazon Resource Name
-- (ARN) that identifies a Map Run, which dispatched this execution.
--
-- DescribeExecutionResponse,
-- describeExecutionResponse_name - The name of the execution.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
--
-- DescribeExecutionResponse,
-- describeExecutionResponse_output - The JSON output data of the
-- execution. Length constraints apply to the payload size, and are
-- expressed as bytes in UTF-8 encoding.
--
-- This field is set only if the execution succeeds. If the execution
-- fails, this field is null.
--
-- DescribeExecutionResponse,
-- describeExecutionResponse_outputDetails - Undocumented member.
--
-- DescribeExecutionResponse,
-- describeExecutionResponse_stopDate - If the execution has
-- already ended, the date the execution stopped.
--
-- $sel:traceHeader:DescribeExecutionResponse',
-- describeExecutionResponse_traceHeader - The X-Ray trace header
-- that was passed to the execution.
--
-- $sel:httpStatus:DescribeExecutionResponse',
-- describeExecutionResponse_httpStatus - The response's http
-- status code.
--
-- DescribeExecution,
-- describeExecutionResponse_executionArn - The Amazon Resource
-- Name (ARN) that identifies the execution.
--
-- DescribeExecutionResponse,
-- describeExecutionResponse_stateMachineArn - The Amazon Resource
-- Name (ARN) of the executed stated machine.
--
-- DescribeExecutionResponse,
-- describeExecutionResponse_status - The current status of the
-- execution.
--
-- DescribeExecutionResponse,
-- describeExecutionResponse_startDate - The date the execution is
-- started.
newDescribeExecutionResponse :: Int -> Text -> Text -> ExecutionStatus -> UTCTime -> DescribeExecutionResponse
-- | The cause string if the state machine execution failed.
describeExecutionResponse_cause :: Lens' DescribeExecutionResponse (Maybe Text)
-- | The error string if the state machine execution failed.
describeExecutionResponse_error :: Lens' DescribeExecutionResponse (Maybe Text)
-- | The string that contains the JSON input data of the execution. Length
-- constraints apply to the payload size, and are expressed as bytes in
-- UTF-8 encoding.
describeExecutionResponse_input :: Lens' DescribeExecutionResponse (Maybe Text)
-- | Undocumented member.
describeExecutionResponse_inputDetails :: Lens' DescribeExecutionResponse (Maybe CloudWatchEventsExecutionDataDetails)
-- | The Amazon Resource Name (ARN) that identifies a Map Run, which
-- dispatched this execution.
describeExecutionResponse_mapRunArn :: Lens' DescribeExecutionResponse (Maybe Text)
-- | The name of the execution.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
describeExecutionResponse_name :: Lens' DescribeExecutionResponse (Maybe Text)
-- | The JSON output data of the execution. Length constraints apply to the
-- payload size, and are expressed as bytes in UTF-8 encoding.
--
-- This field is set only if the execution succeeds. If the execution
-- fails, this field is null.
describeExecutionResponse_output :: Lens' DescribeExecutionResponse (Maybe Text)
-- | Undocumented member.
describeExecutionResponse_outputDetails :: Lens' DescribeExecutionResponse (Maybe CloudWatchEventsExecutionDataDetails)
-- | If the execution has already ended, the date the execution stopped.
describeExecutionResponse_stopDate :: Lens' DescribeExecutionResponse (Maybe UTCTime)
-- | The X-Ray trace header that was passed to the execution.
describeExecutionResponse_traceHeader :: Lens' DescribeExecutionResponse (Maybe Text)
-- | The response's http status code.
describeExecutionResponse_httpStatus :: Lens' DescribeExecutionResponse Int
-- | The Amazon Resource Name (ARN) that identifies the execution.
describeExecutionResponse_executionArn :: Lens' DescribeExecutionResponse Text
-- | The Amazon Resource Name (ARN) of the executed stated machine.
describeExecutionResponse_stateMachineArn :: Lens' DescribeExecutionResponse Text
-- | The current status of the execution.
describeExecutionResponse_status :: Lens' DescribeExecutionResponse ExecutionStatus
-- | The date the execution is started.
describeExecutionResponse_startDate :: Lens' DescribeExecutionResponse UTCTime
instance GHC.Generics.Generic Amazonka.StepFunctions.DescribeExecution.DescribeExecution
instance GHC.Show.Show Amazonka.StepFunctions.DescribeExecution.DescribeExecution
instance GHC.Read.Read Amazonka.StepFunctions.DescribeExecution.DescribeExecution
instance GHC.Classes.Eq Amazonka.StepFunctions.DescribeExecution.DescribeExecution
instance GHC.Generics.Generic Amazonka.StepFunctions.DescribeExecution.DescribeExecutionResponse
instance GHC.Show.Show Amazonka.StepFunctions.DescribeExecution.DescribeExecutionResponse
instance GHC.Classes.Eq Amazonka.StepFunctions.DescribeExecution.DescribeExecutionResponse
instance Amazonka.Types.AWSRequest Amazonka.StepFunctions.DescribeExecution.DescribeExecution
instance Control.DeepSeq.NFData Amazonka.StepFunctions.DescribeExecution.DescribeExecutionResponse
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.DescribeExecution.DescribeExecution
instance Control.DeepSeq.NFData Amazonka.StepFunctions.DescribeExecution.DescribeExecution
instance Amazonka.Data.Headers.ToHeaders Amazonka.StepFunctions.DescribeExecution.DescribeExecution
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.DescribeExecution.DescribeExecution
instance Amazonka.Data.Path.ToPath Amazonka.StepFunctions.DescribeExecution.DescribeExecution
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.DescribeExecution.DescribeExecution
-- | Describes an activity.
--
-- This operation is eventually consistent. The results are best effort
-- and may not reflect very recent updates and changes.
module Amazonka.StepFunctions.DescribeActivity
-- | See: newDescribeActivity smart constructor.
data DescribeActivity
DescribeActivity' :: Text -> DescribeActivity
-- | The Amazon Resource Name (ARN) of the activity to describe.
[$sel:activityArn:DescribeActivity'] :: DescribeActivity -> Text
-- | Create a value of DescribeActivity with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeActivity, describeActivity_activityArn - The
-- Amazon Resource Name (ARN) of the activity to describe.
newDescribeActivity :: Text -> DescribeActivity
-- | The Amazon Resource Name (ARN) of the activity to describe.
describeActivity_activityArn :: Lens' DescribeActivity Text
-- | See: newDescribeActivityResponse smart constructor.
data DescribeActivityResponse
DescribeActivityResponse' :: Int -> Text -> Text -> POSIX -> DescribeActivityResponse
-- | The response's http status code.
[$sel:httpStatus:DescribeActivityResponse'] :: DescribeActivityResponse -> Int
-- | The Amazon Resource Name (ARN) that identifies the activity.
[$sel:activityArn:DescribeActivityResponse'] :: DescribeActivityResponse -> Text
-- | The name of the activity.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
[$sel:name:DescribeActivityResponse'] :: DescribeActivityResponse -> Text
-- | The date the activity is created.
[$sel:creationDate:DescribeActivityResponse'] :: DescribeActivityResponse -> POSIX
-- | Create a value of DescribeActivityResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DescribeActivityResponse',
-- describeActivityResponse_httpStatus - The response's http
-- status code.
--
-- DescribeActivity, describeActivityResponse_activityArn -
-- The Amazon Resource Name (ARN) that identifies the activity.
--
-- DescribeActivityResponse, describeActivityResponse_name
-- - The name of the activity.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
--
-- DescribeActivityResponse,
-- describeActivityResponse_creationDate - The date the activity
-- is created.
newDescribeActivityResponse :: Int -> Text -> Text -> UTCTime -> DescribeActivityResponse
-- | The response's http status code.
describeActivityResponse_httpStatus :: Lens' DescribeActivityResponse Int
-- | The Amazon Resource Name (ARN) that identifies the activity.
describeActivityResponse_activityArn :: Lens' DescribeActivityResponse Text
-- | The name of the activity.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
describeActivityResponse_name :: Lens' DescribeActivityResponse Text
-- | The date the activity is created.
describeActivityResponse_creationDate :: Lens' DescribeActivityResponse UTCTime
instance GHC.Generics.Generic Amazonka.StepFunctions.DescribeActivity.DescribeActivity
instance GHC.Show.Show Amazonka.StepFunctions.DescribeActivity.DescribeActivity
instance GHC.Read.Read Amazonka.StepFunctions.DescribeActivity.DescribeActivity
instance GHC.Classes.Eq Amazonka.StepFunctions.DescribeActivity.DescribeActivity
instance GHC.Generics.Generic Amazonka.StepFunctions.DescribeActivity.DescribeActivityResponse
instance GHC.Show.Show Amazonka.StepFunctions.DescribeActivity.DescribeActivityResponse
instance GHC.Read.Read Amazonka.StepFunctions.DescribeActivity.DescribeActivityResponse
instance GHC.Classes.Eq Amazonka.StepFunctions.DescribeActivity.DescribeActivityResponse
instance Amazonka.Types.AWSRequest Amazonka.StepFunctions.DescribeActivity.DescribeActivity
instance Control.DeepSeq.NFData Amazonka.StepFunctions.DescribeActivity.DescribeActivityResponse
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.DescribeActivity.DescribeActivity
instance Control.DeepSeq.NFData Amazonka.StepFunctions.DescribeActivity.DescribeActivity
instance Amazonka.Data.Headers.ToHeaders Amazonka.StepFunctions.DescribeActivity.DescribeActivity
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.DescribeActivity.DescribeActivity
instance Amazonka.Data.Path.ToPath Amazonka.StepFunctions.DescribeActivity.DescribeActivity
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.DescribeActivity.DescribeActivity
-- | Deletes a state machine. This is an asynchronous operation: It sets
-- the state machine's status to DELETING and begins the
-- deletion process.
--
-- If the given state machine Amazon Resource Name (ARN) is a qualified
-- state machine ARN, it will fail with ValidationException.
--
-- A qualified state machine ARN refers to a Distributed Map state
-- defined within a state machine. For example, the qualified state
-- machine ARN
-- arn:partition:states:region:account-id:stateMachine:stateMachineName/mapStateLabel
-- refers to a Distributed Map state with a label
-- mapStateLabel in the state machine named
-- stateMachineName.
--
-- For EXPRESS state machines, the deletion will happen
-- eventually (usually less than a minute). Running executions may emit
-- logs after DeleteStateMachine API is called.
module Amazonka.StepFunctions.DeleteStateMachine
-- | See: newDeleteStateMachine smart constructor.
data DeleteStateMachine
DeleteStateMachine' :: Text -> DeleteStateMachine
-- | The Amazon Resource Name (ARN) of the state machine to delete.
[$sel:stateMachineArn:DeleteStateMachine'] :: DeleteStateMachine -> Text
-- | Create a value of DeleteStateMachine with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteStateMachine, deleteStateMachine_stateMachineArn -
-- The Amazon Resource Name (ARN) of the state machine to delete.
newDeleteStateMachine :: Text -> DeleteStateMachine
-- | The Amazon Resource Name (ARN) of the state machine to delete.
deleteStateMachine_stateMachineArn :: Lens' DeleteStateMachine Text
-- | See: newDeleteStateMachineResponse smart constructor.
data DeleteStateMachineResponse
DeleteStateMachineResponse' :: Int -> DeleteStateMachineResponse
-- | The response's http status code.
[$sel:httpStatus:DeleteStateMachineResponse'] :: DeleteStateMachineResponse -> Int
-- | Create a value of DeleteStateMachineResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DeleteStateMachineResponse',
-- deleteStateMachineResponse_httpStatus - The response's http
-- status code.
newDeleteStateMachineResponse :: Int -> DeleteStateMachineResponse
-- | The response's http status code.
deleteStateMachineResponse_httpStatus :: Lens' DeleteStateMachineResponse Int
instance GHC.Generics.Generic Amazonka.StepFunctions.DeleteStateMachine.DeleteStateMachine
instance GHC.Show.Show Amazonka.StepFunctions.DeleteStateMachine.DeleteStateMachine
instance GHC.Read.Read Amazonka.StepFunctions.DeleteStateMachine.DeleteStateMachine
instance GHC.Classes.Eq Amazonka.StepFunctions.DeleteStateMachine.DeleteStateMachine
instance GHC.Generics.Generic Amazonka.StepFunctions.DeleteStateMachine.DeleteStateMachineResponse
instance GHC.Show.Show Amazonka.StepFunctions.DeleteStateMachine.DeleteStateMachineResponse
instance GHC.Read.Read Amazonka.StepFunctions.DeleteStateMachine.DeleteStateMachineResponse
instance GHC.Classes.Eq Amazonka.StepFunctions.DeleteStateMachine.DeleteStateMachineResponse
instance Amazonka.Types.AWSRequest Amazonka.StepFunctions.DeleteStateMachine.DeleteStateMachine
instance Control.DeepSeq.NFData Amazonka.StepFunctions.DeleteStateMachine.DeleteStateMachineResponse
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.DeleteStateMachine.DeleteStateMachine
instance Control.DeepSeq.NFData Amazonka.StepFunctions.DeleteStateMachine.DeleteStateMachine
instance Amazonka.Data.Headers.ToHeaders Amazonka.StepFunctions.DeleteStateMachine.DeleteStateMachine
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.DeleteStateMachine.DeleteStateMachine
instance Amazonka.Data.Path.ToPath Amazonka.StepFunctions.DeleteStateMachine.DeleteStateMachine
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.DeleteStateMachine.DeleteStateMachine
-- | Deletes an activity.
module Amazonka.StepFunctions.DeleteActivity
-- | See: newDeleteActivity smart constructor.
data DeleteActivity
DeleteActivity' :: Text -> DeleteActivity
-- | The Amazon Resource Name (ARN) of the activity to delete.
[$sel:activityArn:DeleteActivity'] :: DeleteActivity -> Text
-- | Create a value of DeleteActivity with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteActivity, deleteActivity_activityArn - The Amazon
-- Resource Name (ARN) of the activity to delete.
newDeleteActivity :: Text -> DeleteActivity
-- | The Amazon Resource Name (ARN) of the activity to delete.
deleteActivity_activityArn :: Lens' DeleteActivity Text
-- | See: newDeleteActivityResponse smart constructor.
data DeleteActivityResponse
DeleteActivityResponse' :: Int -> DeleteActivityResponse
-- | The response's http status code.
[$sel:httpStatus:DeleteActivityResponse'] :: DeleteActivityResponse -> Int
-- | Create a value of DeleteActivityResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DeleteActivityResponse',
-- deleteActivityResponse_httpStatus - The response's http status
-- code.
newDeleteActivityResponse :: Int -> DeleteActivityResponse
-- | The response's http status code.
deleteActivityResponse_httpStatus :: Lens' DeleteActivityResponse Int
instance GHC.Generics.Generic Amazonka.StepFunctions.DeleteActivity.DeleteActivity
instance GHC.Show.Show Amazonka.StepFunctions.DeleteActivity.DeleteActivity
instance GHC.Read.Read Amazonka.StepFunctions.DeleteActivity.DeleteActivity
instance GHC.Classes.Eq Amazonka.StepFunctions.DeleteActivity.DeleteActivity
instance GHC.Generics.Generic Amazonka.StepFunctions.DeleteActivity.DeleteActivityResponse
instance GHC.Show.Show Amazonka.StepFunctions.DeleteActivity.DeleteActivityResponse
instance GHC.Read.Read Amazonka.StepFunctions.DeleteActivity.DeleteActivityResponse
instance GHC.Classes.Eq Amazonka.StepFunctions.DeleteActivity.DeleteActivityResponse
instance Amazonka.Types.AWSRequest Amazonka.StepFunctions.DeleteActivity.DeleteActivity
instance Control.DeepSeq.NFData Amazonka.StepFunctions.DeleteActivity.DeleteActivityResponse
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.DeleteActivity.DeleteActivity
instance Control.DeepSeq.NFData Amazonka.StepFunctions.DeleteActivity.DeleteActivity
instance Amazonka.Data.Headers.ToHeaders Amazonka.StepFunctions.DeleteActivity.DeleteActivity
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.DeleteActivity.DeleteActivity
instance Amazonka.Data.Path.ToPath Amazonka.StepFunctions.DeleteActivity.DeleteActivity
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.DeleteActivity.DeleteActivity
-- | Creates a state machine. A state machine consists of a collection of
-- states that can do work (Task states), determine to which
-- states to transition next (Choice states), stop an execution
-- with an error (Fail states), and so on. State machines are
-- specified using a JSON-based, structured language. For more
-- information, see Amazon States Language in the Step Functions
-- User Guide.
--
-- This operation is eventually consistent. The results are best effort
-- and may not reflect very recent updates and changes.
--
-- CreateStateMachine is an idempotent API. Subsequent requests
-- won’t create a duplicate resource if it was already created.
-- CreateStateMachine's idempotency check is based on the state
-- machine name, definition, type,
-- LoggingConfiguration and TracingConfiguration. If a
-- following request has a different roleArn or tags,
-- Step Functions will ignore these differences and treat it as an
-- idempotent request of the previous. In this case, roleArn and
-- tags will not be updated, even if they are different.
module Amazonka.StepFunctions.CreateStateMachine
-- | See: newCreateStateMachine smart constructor.
data CreateStateMachine
CreateStateMachine' :: Maybe LoggingConfiguration -> Maybe [Tag] -> Maybe TracingConfiguration -> Maybe StateMachineType -> Text -> Sensitive Text -> Text -> CreateStateMachine
-- | Defines what execution history events are logged and where they are
-- logged.
--
-- By default, the level is set to OFF. For more
-- information see Log Levels in the Step Functions User Guide.
[$sel:loggingConfiguration:CreateStateMachine'] :: CreateStateMachine -> Maybe LoggingConfiguration
-- | Tags to be added when creating a state machine.
--
-- An array of key-value pairs. For more information, see Using Cost
-- Allocation Tags in the Amazon Web Services Billing and Cost
-- Management User Guide, and Controlling Access Using IAM
-- Tags.
--
-- Tags may only contain Unicode letters, digits, white space, or these
-- symbols: _ . : / = + - @.
[$sel:tags:CreateStateMachine'] :: CreateStateMachine -> Maybe [Tag]
-- | Selects whether X-Ray tracing is enabled.
[$sel:tracingConfiguration:CreateStateMachine'] :: CreateStateMachine -> Maybe TracingConfiguration
-- | Determines whether a Standard or Express state machine is created. The
-- default is STANDARD. You cannot update the type of a
-- state machine once it has been created.
[$sel:type':CreateStateMachine'] :: CreateStateMachine -> Maybe StateMachineType
-- | The name of the state machine.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
[$sel:name:CreateStateMachine'] :: CreateStateMachine -> Text
-- | The Amazon States Language definition of the state machine. See
-- Amazon States Language.
[$sel:definition:CreateStateMachine'] :: CreateStateMachine -> Sensitive Text
-- | The Amazon Resource Name (ARN) of the IAM role to use for this state
-- machine.
[$sel:roleArn:CreateStateMachine'] :: CreateStateMachine -> Text
-- | Create a value of CreateStateMachine with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:loggingConfiguration:CreateStateMachine',
-- createStateMachine_loggingConfiguration - Defines what
-- execution history events are logged and where they are logged.
--
-- By default, the level is set to OFF. For more
-- information see Log Levels in the Step Functions User Guide.
--
-- $sel:tags:CreateStateMachine', createStateMachine_tags -
-- Tags to be added when creating a state machine.
--
-- An array of key-value pairs. For more information, see Using Cost
-- Allocation Tags in the Amazon Web Services Billing and Cost
-- Management User Guide, and Controlling Access Using IAM
-- Tags.
--
-- Tags may only contain Unicode letters, digits, white space, or these
-- symbols: _ . : / = + - @.
--
-- $sel:tracingConfiguration:CreateStateMachine',
-- createStateMachine_tracingConfiguration - Selects whether X-Ray
-- tracing is enabled.
--
-- CreateStateMachine, createStateMachine_type - Determines
-- whether a Standard or Express state machine is created. The default is
-- STANDARD. You cannot update the type of a state
-- machine once it has been created.
--
-- CreateStateMachine, createStateMachine_name - The name
-- of the state machine.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
--
-- $sel:definition:CreateStateMachine',
-- createStateMachine_definition - The Amazon States Language
-- definition of the state machine. See Amazon States Language.
--
-- CreateStateMachine, createStateMachine_roleArn - The
-- Amazon Resource Name (ARN) of the IAM role to use for this state
-- machine.
newCreateStateMachine :: Text -> Text -> Text -> CreateStateMachine
-- | Defines what execution history events are logged and where they are
-- logged.
--
-- By default, the level is set to OFF. For more
-- information see Log Levels in the Step Functions User Guide.
createStateMachine_loggingConfiguration :: Lens' CreateStateMachine (Maybe LoggingConfiguration)
-- | Tags to be added when creating a state machine.
--
-- An array of key-value pairs. For more information, see Using Cost
-- Allocation Tags in the Amazon Web Services Billing and Cost
-- Management User Guide, and Controlling Access Using IAM
-- Tags.
--
-- Tags may only contain Unicode letters, digits, white space, or these
-- symbols: _ . : / = + - @.
createStateMachine_tags :: Lens' CreateStateMachine (Maybe [Tag])
-- | Selects whether X-Ray tracing is enabled.
createStateMachine_tracingConfiguration :: Lens' CreateStateMachine (Maybe TracingConfiguration)
-- | Determines whether a Standard or Express state machine is created. The
-- default is STANDARD. You cannot update the type of a
-- state machine once it has been created.
createStateMachine_type :: Lens' CreateStateMachine (Maybe StateMachineType)
-- | The name of the state machine.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
createStateMachine_name :: Lens' CreateStateMachine Text
-- | The Amazon States Language definition of the state machine. See
-- Amazon States Language.
createStateMachine_definition :: Lens' CreateStateMachine Text
-- | The Amazon Resource Name (ARN) of the IAM role to use for this state
-- machine.
createStateMachine_roleArn :: Lens' CreateStateMachine Text
-- | See: newCreateStateMachineResponse smart constructor.
data CreateStateMachineResponse
CreateStateMachineResponse' :: Int -> Text -> POSIX -> CreateStateMachineResponse
-- | The response's http status code.
[$sel:httpStatus:CreateStateMachineResponse'] :: CreateStateMachineResponse -> Int
-- | The Amazon Resource Name (ARN) that identifies the created state
-- machine.
[$sel:stateMachineArn:CreateStateMachineResponse'] :: CreateStateMachineResponse -> Text
-- | The date the state machine is created.
[$sel:creationDate:CreateStateMachineResponse'] :: CreateStateMachineResponse -> POSIX
-- | Create a value of CreateStateMachineResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:CreateStateMachineResponse',
-- createStateMachineResponse_httpStatus - The response's http
-- status code.
--
-- CreateStateMachineResponse,
-- createStateMachineResponse_stateMachineArn - The Amazon
-- Resource Name (ARN) that identifies the created state machine.
--
-- CreateStateMachineResponse,
-- createStateMachineResponse_creationDate - The date the state
-- machine is created.
newCreateStateMachineResponse :: Int -> Text -> UTCTime -> CreateStateMachineResponse
-- | The response's http status code.
createStateMachineResponse_httpStatus :: Lens' CreateStateMachineResponse Int
-- | The Amazon Resource Name (ARN) that identifies the created state
-- machine.
createStateMachineResponse_stateMachineArn :: Lens' CreateStateMachineResponse Text
-- | The date the state machine is created.
createStateMachineResponse_creationDate :: Lens' CreateStateMachineResponse UTCTime
instance GHC.Generics.Generic Amazonka.StepFunctions.CreateStateMachine.CreateStateMachine
instance GHC.Show.Show Amazonka.StepFunctions.CreateStateMachine.CreateStateMachine
instance GHC.Classes.Eq Amazonka.StepFunctions.CreateStateMachine.CreateStateMachine
instance GHC.Generics.Generic Amazonka.StepFunctions.CreateStateMachine.CreateStateMachineResponse
instance GHC.Show.Show Amazonka.StepFunctions.CreateStateMachine.CreateStateMachineResponse
instance GHC.Read.Read Amazonka.StepFunctions.CreateStateMachine.CreateStateMachineResponse
instance GHC.Classes.Eq Amazonka.StepFunctions.CreateStateMachine.CreateStateMachineResponse
instance Amazonka.Types.AWSRequest Amazonka.StepFunctions.CreateStateMachine.CreateStateMachine
instance Control.DeepSeq.NFData Amazonka.StepFunctions.CreateStateMachine.CreateStateMachineResponse
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.CreateStateMachine.CreateStateMachine
instance Control.DeepSeq.NFData Amazonka.StepFunctions.CreateStateMachine.CreateStateMachine
instance Amazonka.Data.Headers.ToHeaders Amazonka.StepFunctions.CreateStateMachine.CreateStateMachine
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.CreateStateMachine.CreateStateMachine
instance Amazonka.Data.Path.ToPath Amazonka.StepFunctions.CreateStateMachine.CreateStateMachine
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.CreateStateMachine.CreateStateMachine
-- | Creates an activity. An activity is a task that you write in any
-- programming language and host on any machine that has access to Step
-- Functions. Activities must poll Step Functions using the
-- GetActivityTask API action and respond using
-- SendTask* API actions. This function lets Step Functions know
-- the existence of your activity and returns an identifier for use in a
-- state machine and when polling from the activity.
--
-- This operation is eventually consistent. The results are best effort
-- and may not reflect very recent updates and changes.
--
-- CreateActivity is an idempotent API. Subsequent requests
-- won’t create a duplicate resource if it was already created.
-- CreateActivity's idempotency check is based on the activity
-- name. If a following request has different tags
-- values, Step Functions will ignore these differences and treat it as
-- an idempotent request of the previous. In this case, tags
-- will not be updated, even if they are different.
module Amazonka.StepFunctions.CreateActivity
-- | See: newCreateActivity smart constructor.
data CreateActivity
CreateActivity' :: Maybe [Tag] -> Text -> CreateActivity
-- | The list of tags to add to a resource.
--
-- An array of key-value pairs. For more information, see Using Cost
-- Allocation Tags in the Amazon Web Services Billing and Cost
-- Management User Guide, and Controlling Access Using IAM
-- Tags.
--
-- Tags may only contain Unicode letters, digits, white space, or these
-- symbols: _ . : / = + - @.
[$sel:tags:CreateActivity'] :: CreateActivity -> Maybe [Tag]
-- | The name of the activity to create. This name must be unique for your
-- Amazon Web Services account and region for 90 days. For more
-- information, see Limits Related to State Machine Executions in
-- the Step Functions Developer Guide.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
[$sel:name:CreateActivity'] :: CreateActivity -> Text
-- | Create a value of CreateActivity with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:tags:CreateActivity', createActivity_tags - The
-- list of tags to add to a resource.
--
-- An array of key-value pairs. For more information, see Using Cost
-- Allocation Tags in the Amazon Web Services Billing and Cost
-- Management User Guide, and Controlling Access Using IAM
-- Tags.
--
-- Tags may only contain Unicode letters, digits, white space, or these
-- symbols: _ . : / = + - @.
--
-- CreateActivity, createActivity_name - The name of the
-- activity to create. This name must be unique for your Amazon Web
-- Services account and region for 90 days. For more information, see
-- Limits Related to State Machine Executions in the Step
-- Functions Developer Guide.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
newCreateActivity :: Text -> CreateActivity
-- | The list of tags to add to a resource.
--
-- An array of key-value pairs. For more information, see Using Cost
-- Allocation Tags in the Amazon Web Services Billing and Cost
-- Management User Guide, and Controlling Access Using IAM
-- Tags.
--
-- Tags may only contain Unicode letters, digits, white space, or these
-- symbols: _ . : / = + - @.
createActivity_tags :: Lens' CreateActivity (Maybe [Tag])
-- | The name of the activity to create. This name must be unique for your
-- Amazon Web Services account and region for 90 days. For more
-- information, see Limits Related to State Machine Executions in
-- the Step Functions Developer Guide.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
createActivity_name :: Lens' CreateActivity Text
-- | See: newCreateActivityResponse smart constructor.
data CreateActivityResponse
CreateActivityResponse' :: Int -> Text -> POSIX -> CreateActivityResponse
-- | The response's http status code.
[$sel:httpStatus:CreateActivityResponse'] :: CreateActivityResponse -> Int
-- | The Amazon Resource Name (ARN) that identifies the created activity.
[$sel:activityArn:CreateActivityResponse'] :: CreateActivityResponse -> Text
-- | The date the activity is created.
[$sel:creationDate:CreateActivityResponse'] :: CreateActivityResponse -> POSIX
-- | Create a value of CreateActivityResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:CreateActivityResponse',
-- createActivityResponse_httpStatus - The response's http status
-- code.
--
-- CreateActivityResponse,
-- createActivityResponse_activityArn - The Amazon Resource Name
-- (ARN) that identifies the created activity.
--
-- CreateActivityResponse,
-- createActivityResponse_creationDate - The date the activity is
-- created.
newCreateActivityResponse :: Int -> Text -> UTCTime -> CreateActivityResponse
-- | The response's http status code.
createActivityResponse_httpStatus :: Lens' CreateActivityResponse Int
-- | The Amazon Resource Name (ARN) that identifies the created activity.
createActivityResponse_activityArn :: Lens' CreateActivityResponse Text
-- | The date the activity is created.
createActivityResponse_creationDate :: Lens' CreateActivityResponse UTCTime
instance GHC.Generics.Generic Amazonka.StepFunctions.CreateActivity.CreateActivity
instance GHC.Show.Show Amazonka.StepFunctions.CreateActivity.CreateActivity
instance GHC.Read.Read Amazonka.StepFunctions.CreateActivity.CreateActivity
instance GHC.Classes.Eq Amazonka.StepFunctions.CreateActivity.CreateActivity
instance GHC.Generics.Generic Amazonka.StepFunctions.CreateActivity.CreateActivityResponse
instance GHC.Show.Show Amazonka.StepFunctions.CreateActivity.CreateActivityResponse
instance GHC.Read.Read Amazonka.StepFunctions.CreateActivity.CreateActivityResponse
instance GHC.Classes.Eq Amazonka.StepFunctions.CreateActivity.CreateActivityResponse
instance Amazonka.Types.AWSRequest Amazonka.StepFunctions.CreateActivity.CreateActivity
instance Control.DeepSeq.NFData Amazonka.StepFunctions.CreateActivity.CreateActivityResponse
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.CreateActivity.CreateActivity
instance Control.DeepSeq.NFData Amazonka.StepFunctions.CreateActivity.CreateActivity
instance Amazonka.Data.Headers.ToHeaders Amazonka.StepFunctions.CreateActivity.CreateActivity
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.CreateActivity.CreateActivity
instance Amazonka.Data.Path.ToPath Amazonka.StepFunctions.CreateActivity.CreateActivity
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.CreateActivity.CreateActivity
-- | Remove a tag from a Step Functions resource
module Amazonka.StepFunctions.UntagResource
-- | See: newUntagResource smart constructor.
data UntagResource
UntagResource' :: Text -> [Text] -> UntagResource
-- | The Amazon Resource Name (ARN) for the Step Functions state machine or
-- activity.
[$sel:resourceArn:UntagResource'] :: UntagResource -> Text
-- | The list of tags to remove from the resource.
[$sel:tagKeys:UntagResource'] :: UntagResource -> [Text]
-- | Create a value of UntagResource with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceArn:UntagResource',
-- untagResource_resourceArn - The Amazon Resource Name (ARN) for
-- the Step Functions state machine or activity.
--
-- $sel:tagKeys:UntagResource', untagResource_tagKeys - The
-- list of tags to remove from the resource.
newUntagResource :: Text -> UntagResource
-- | The Amazon Resource Name (ARN) for the Step Functions state machine or
-- activity.
untagResource_resourceArn :: Lens' UntagResource Text
-- | The list of tags to remove from the resource.
untagResource_tagKeys :: Lens' UntagResource [Text]
-- | See: newUntagResourceResponse smart constructor.
data UntagResourceResponse
UntagResourceResponse' :: Int -> UntagResourceResponse
-- | The response's http status code.
[$sel:httpStatus:UntagResourceResponse'] :: UntagResourceResponse -> Int
-- | Create a value of UntagResourceResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:UntagResourceResponse',
-- untagResourceResponse_httpStatus - The response's http status
-- code.
newUntagResourceResponse :: Int -> UntagResourceResponse
-- | The response's http status code.
untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
instance GHC.Generics.Generic Amazonka.StepFunctions.UntagResource.UntagResource
instance GHC.Show.Show Amazonka.StepFunctions.UntagResource.UntagResource
instance GHC.Read.Read Amazonka.StepFunctions.UntagResource.UntagResource
instance GHC.Classes.Eq Amazonka.StepFunctions.UntagResource.UntagResource
instance GHC.Generics.Generic Amazonka.StepFunctions.UntagResource.UntagResourceResponse
instance GHC.Show.Show Amazonka.StepFunctions.UntagResource.UntagResourceResponse
instance GHC.Read.Read Amazonka.StepFunctions.UntagResource.UntagResourceResponse
instance GHC.Classes.Eq Amazonka.StepFunctions.UntagResource.UntagResourceResponse
instance Amazonka.Types.AWSRequest Amazonka.StepFunctions.UntagResource.UntagResource
instance Control.DeepSeq.NFData Amazonka.StepFunctions.UntagResource.UntagResourceResponse
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.UntagResource.UntagResource
instance Control.DeepSeq.NFData Amazonka.StepFunctions.UntagResource.UntagResource
instance Amazonka.Data.Headers.ToHeaders Amazonka.StepFunctions.UntagResource.UntagResource
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.UntagResource.UntagResource
instance Amazonka.Data.Path.ToPath Amazonka.StepFunctions.UntagResource.UntagResource
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.UntagResource.UntagResource
-- | Updates an in-progress Map Run's configuration to include changes to
-- the settings that control maximum concurrency and Map Run failure.
module Amazonka.StepFunctions.UpdateMapRun
-- | See: newUpdateMapRun smart constructor.
data UpdateMapRun
UpdateMapRun' :: Maybe Natural -> Maybe Natural -> Maybe Double -> Text -> UpdateMapRun
-- | The maximum number of child workflow executions that can be specified
-- to run in parallel for the Map Run at the same time.
[$sel:maxConcurrency:UpdateMapRun'] :: UpdateMapRun -> Maybe Natural
-- | The maximum number of failed items before the Map Run fails.
[$sel:toleratedFailureCount:UpdateMapRun'] :: UpdateMapRun -> Maybe Natural
-- | The maximum percentage of failed items before the Map Run fails.
[$sel:toleratedFailurePercentage:UpdateMapRun'] :: UpdateMapRun -> Maybe Double
-- | The Amazon Resource Name (ARN) of a Map Run.
[$sel:mapRunArn:UpdateMapRun'] :: UpdateMapRun -> Text
-- | Create a value of UpdateMapRun with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxConcurrency:UpdateMapRun',
-- updateMapRun_maxConcurrency - The maximum number of child
-- workflow executions that can be specified to run in parallel for the
-- Map Run at the same time.
--
-- $sel:toleratedFailureCount:UpdateMapRun',
-- updateMapRun_toleratedFailureCount - The maximum number of
-- failed items before the Map Run fails.
--
-- $sel:toleratedFailurePercentage:UpdateMapRun',
-- updateMapRun_toleratedFailurePercentage - The maximum
-- percentage of failed items before the Map Run fails.
--
-- UpdateMapRun, updateMapRun_mapRunArn - The Amazon
-- Resource Name (ARN) of a Map Run.
newUpdateMapRun :: Text -> UpdateMapRun
-- | The maximum number of child workflow executions that can be specified
-- to run in parallel for the Map Run at the same time.
updateMapRun_maxConcurrency :: Lens' UpdateMapRun (Maybe Natural)
-- | The maximum number of failed items before the Map Run fails.
updateMapRun_toleratedFailureCount :: Lens' UpdateMapRun (Maybe Natural)
-- | The maximum percentage of failed items before the Map Run fails.
updateMapRun_toleratedFailurePercentage :: Lens' UpdateMapRun (Maybe Double)
-- | The Amazon Resource Name (ARN) of a Map Run.
updateMapRun_mapRunArn :: Lens' UpdateMapRun Text
-- | See: newUpdateMapRunResponse smart constructor.
data UpdateMapRunResponse
UpdateMapRunResponse' :: Int -> UpdateMapRunResponse
-- | The response's http status code.
[$sel:httpStatus:UpdateMapRunResponse'] :: UpdateMapRunResponse -> Int
-- | Create a value of UpdateMapRunResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:UpdateMapRunResponse',
-- updateMapRunResponse_httpStatus - The response's http status
-- code.
newUpdateMapRunResponse :: Int -> UpdateMapRunResponse
-- | The response's http status code.
updateMapRunResponse_httpStatus :: Lens' UpdateMapRunResponse Int
instance GHC.Generics.Generic Amazonka.StepFunctions.UpdateMapRun.UpdateMapRun
instance GHC.Show.Show Amazonka.StepFunctions.UpdateMapRun.UpdateMapRun
instance GHC.Read.Read Amazonka.StepFunctions.UpdateMapRun.UpdateMapRun
instance GHC.Classes.Eq Amazonka.StepFunctions.UpdateMapRun.UpdateMapRun
instance GHC.Generics.Generic Amazonka.StepFunctions.UpdateMapRun.UpdateMapRunResponse
instance GHC.Show.Show Amazonka.StepFunctions.UpdateMapRun.UpdateMapRunResponse
instance GHC.Read.Read Amazonka.StepFunctions.UpdateMapRun.UpdateMapRunResponse
instance GHC.Classes.Eq Amazonka.StepFunctions.UpdateMapRun.UpdateMapRunResponse
instance Amazonka.Types.AWSRequest Amazonka.StepFunctions.UpdateMapRun.UpdateMapRun
instance Control.DeepSeq.NFData Amazonka.StepFunctions.UpdateMapRun.UpdateMapRunResponse
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.UpdateMapRun.UpdateMapRun
instance Control.DeepSeq.NFData Amazonka.StepFunctions.UpdateMapRun.UpdateMapRun
instance Amazonka.Data.Headers.ToHeaders Amazonka.StepFunctions.UpdateMapRun.UpdateMapRun
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.UpdateMapRun.UpdateMapRun
instance Amazonka.Data.Path.ToPath Amazonka.StepFunctions.UpdateMapRun.UpdateMapRun
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.UpdateMapRun.UpdateMapRun
-- | Updates an existing state machine by modifying its
-- definition, roleArn, or
-- loggingConfiguration. Running executions will continue to use
-- the previous definition and roleArn. You must
-- include at least one of definition or roleArn or you
-- will receive a MissingRequiredParameter error.
--
-- If the given state machine Amazon Resource Name (ARN) is a qualified
-- state machine ARN, it will fail with ValidationException.
--
-- A qualified state machine ARN refers to a Distributed Map state
-- defined within a state machine. For example, the qualified state
-- machine ARN
-- arn:partition:states:region:account-id:stateMachine:stateMachineName/mapStateLabel
-- refers to a Distributed Map state with a label
-- mapStateLabel in the state machine named
-- stateMachineName.
--
-- All StartExecution calls within a few seconds will use the
-- updated definition and roleArn. Executions started
-- immediately after calling UpdateStateMachine may use the
-- previous state machine definition and roleArn.
module Amazonka.StepFunctions.UpdateStateMachine
-- | See: newUpdateStateMachine smart constructor.
data UpdateStateMachine
UpdateStateMachine' :: Maybe (Sensitive Text) -> Maybe LoggingConfiguration -> Maybe Text -> Maybe TracingConfiguration -> Text -> UpdateStateMachine
-- | The Amazon States Language definition of the state machine. See
-- Amazon States Language.
[$sel:definition:UpdateStateMachine'] :: UpdateStateMachine -> Maybe (Sensitive Text)
-- | The LoggingConfiguration data type is used to set CloudWatch
-- Logs options.
[$sel:loggingConfiguration:UpdateStateMachine'] :: UpdateStateMachine -> Maybe LoggingConfiguration
-- | The Amazon Resource Name (ARN) of the IAM role of the state machine.
[$sel:roleArn:UpdateStateMachine'] :: UpdateStateMachine -> Maybe Text
-- | Selects whether X-Ray tracing is enabled.
[$sel:tracingConfiguration:UpdateStateMachine'] :: UpdateStateMachine -> Maybe TracingConfiguration
-- | The Amazon Resource Name (ARN) of the state machine.
[$sel:stateMachineArn:UpdateStateMachine'] :: UpdateStateMachine -> Text
-- | Create a value of UpdateStateMachine with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:definition:UpdateStateMachine',
-- updateStateMachine_definition - The Amazon States Language
-- definition of the state machine. See Amazon States Language.
--
-- $sel:loggingConfiguration:UpdateStateMachine',
-- updateStateMachine_loggingConfiguration - The
-- LoggingConfiguration data type is used to set CloudWatch Logs
-- options.
--
-- UpdateStateMachine, updateStateMachine_roleArn - The
-- Amazon Resource Name (ARN) of the IAM role of the state machine.
--
-- $sel:tracingConfiguration:UpdateStateMachine',
-- updateStateMachine_tracingConfiguration - Selects whether X-Ray
-- tracing is enabled.
--
-- UpdateStateMachine, updateStateMachine_stateMachineArn -
-- The Amazon Resource Name (ARN) of the state machine.
newUpdateStateMachine :: Text -> UpdateStateMachine
-- | The Amazon States Language definition of the state machine. See
-- Amazon States Language.
updateStateMachine_definition :: Lens' UpdateStateMachine (Maybe Text)
-- | The LoggingConfiguration data type is used to set CloudWatch
-- Logs options.
updateStateMachine_loggingConfiguration :: Lens' UpdateStateMachine (Maybe LoggingConfiguration)
-- | The Amazon Resource Name (ARN) of the IAM role of the state machine.
updateStateMachine_roleArn :: Lens' UpdateStateMachine (Maybe Text)
-- | Selects whether X-Ray tracing is enabled.
updateStateMachine_tracingConfiguration :: Lens' UpdateStateMachine (Maybe TracingConfiguration)
-- | The Amazon Resource Name (ARN) of the state machine.
updateStateMachine_stateMachineArn :: Lens' UpdateStateMachine Text
-- | See: newUpdateStateMachineResponse smart constructor.
data UpdateStateMachineResponse
UpdateStateMachineResponse' :: Int -> POSIX -> UpdateStateMachineResponse
-- | The response's http status code.
[$sel:httpStatus:UpdateStateMachineResponse'] :: UpdateStateMachineResponse -> Int
-- | The date and time the state machine was updated.
[$sel:updateDate:UpdateStateMachineResponse'] :: UpdateStateMachineResponse -> POSIX
-- | Create a value of UpdateStateMachineResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:UpdateStateMachineResponse',
-- updateStateMachineResponse_httpStatus - The response's http
-- status code.
--
-- $sel:updateDate:UpdateStateMachineResponse',
-- updateStateMachineResponse_updateDate - The date and time the
-- state machine was updated.
newUpdateStateMachineResponse :: Int -> UTCTime -> UpdateStateMachineResponse
-- | The response's http status code.
updateStateMachineResponse_httpStatus :: Lens' UpdateStateMachineResponse Int
-- | The date and time the state machine was updated.
updateStateMachineResponse_updateDate :: Lens' UpdateStateMachineResponse UTCTime
instance GHC.Generics.Generic Amazonka.StepFunctions.UpdateStateMachine.UpdateStateMachine
instance GHC.Show.Show Amazonka.StepFunctions.UpdateStateMachine.UpdateStateMachine
instance GHC.Classes.Eq Amazonka.StepFunctions.UpdateStateMachine.UpdateStateMachine
instance GHC.Generics.Generic Amazonka.StepFunctions.UpdateStateMachine.UpdateStateMachineResponse
instance GHC.Show.Show Amazonka.StepFunctions.UpdateStateMachine.UpdateStateMachineResponse
instance GHC.Read.Read Amazonka.StepFunctions.UpdateStateMachine.UpdateStateMachineResponse
instance GHC.Classes.Eq Amazonka.StepFunctions.UpdateStateMachine.UpdateStateMachineResponse
instance Amazonka.Types.AWSRequest Amazonka.StepFunctions.UpdateStateMachine.UpdateStateMachine
instance Control.DeepSeq.NFData Amazonka.StepFunctions.UpdateStateMachine.UpdateStateMachineResponse
instance Data.Hashable.Class.Hashable Amazonka.StepFunctions.UpdateStateMachine.UpdateStateMachine
instance Control.DeepSeq.NFData Amazonka.StepFunctions.UpdateStateMachine.UpdateStateMachine
instance Amazonka.Data.Headers.ToHeaders Amazonka.StepFunctions.UpdateStateMachine.UpdateStateMachine
instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.StepFunctions.UpdateStateMachine.UpdateStateMachine
instance Amazonka.Data.Path.ToPath Amazonka.StepFunctions.UpdateStateMachine.UpdateStateMachine
instance Amazonka.Data.Query.ToQuery Amazonka.StepFunctions.UpdateStateMachine.UpdateStateMachine
module Amazonka.StepFunctions.Lens
-- | The list of tags to add to a resource.
--
-- An array of key-value pairs. For more information, see Using Cost
-- Allocation Tags in the Amazon Web Services Billing and Cost
-- Management User Guide, and Controlling Access Using IAM
-- Tags.
--
-- Tags may only contain Unicode letters, digits, white space, or these
-- symbols: _ . : / = + - @.
createActivity_tags :: Lens' CreateActivity (Maybe [Tag])
-- | The name of the activity to create. This name must be unique for your
-- Amazon Web Services account and region for 90 days. For more
-- information, see Limits Related to State Machine Executions in
-- the Step Functions Developer Guide.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
createActivity_name :: Lens' CreateActivity Text
-- | The response's http status code.
createActivityResponse_httpStatus :: Lens' CreateActivityResponse Int
-- | The Amazon Resource Name (ARN) that identifies the created activity.
createActivityResponse_activityArn :: Lens' CreateActivityResponse Text
-- | The date the activity is created.
createActivityResponse_creationDate :: Lens' CreateActivityResponse UTCTime
-- | Defines what execution history events are logged and where they are
-- logged.
--
-- By default, the level is set to OFF. For more
-- information see Log Levels in the Step Functions User Guide.
createStateMachine_loggingConfiguration :: Lens' CreateStateMachine (Maybe LoggingConfiguration)
-- | Tags to be added when creating a state machine.
--
-- An array of key-value pairs. For more information, see Using Cost
-- Allocation Tags in the Amazon Web Services Billing and Cost
-- Management User Guide, and Controlling Access Using IAM
-- Tags.
--
-- Tags may only contain Unicode letters, digits, white space, or these
-- symbols: _ . : / = + - @.
createStateMachine_tags :: Lens' CreateStateMachine (Maybe [Tag])
-- | Selects whether X-Ray tracing is enabled.
createStateMachine_tracingConfiguration :: Lens' CreateStateMachine (Maybe TracingConfiguration)
-- | Determines whether a Standard or Express state machine is created. The
-- default is STANDARD. You cannot update the type of a
-- state machine once it has been created.
createStateMachine_type :: Lens' CreateStateMachine (Maybe StateMachineType)
-- | The name of the state machine.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
createStateMachine_name :: Lens' CreateStateMachine Text
-- | The Amazon States Language definition of the state machine. See
-- Amazon States Language.
createStateMachine_definition :: Lens' CreateStateMachine Text
-- | The Amazon Resource Name (ARN) of the IAM role to use for this state
-- machine.
createStateMachine_roleArn :: Lens' CreateStateMachine Text
-- | The response's http status code.
createStateMachineResponse_httpStatus :: Lens' CreateStateMachineResponse Int
-- | The Amazon Resource Name (ARN) that identifies the created state
-- machine.
createStateMachineResponse_stateMachineArn :: Lens' CreateStateMachineResponse Text
-- | The date the state machine is created.
createStateMachineResponse_creationDate :: Lens' CreateStateMachineResponse UTCTime
-- | The Amazon Resource Name (ARN) of the activity to delete.
deleteActivity_activityArn :: Lens' DeleteActivity Text
-- | The response's http status code.
deleteActivityResponse_httpStatus :: Lens' DeleteActivityResponse Int
-- | The Amazon Resource Name (ARN) of the state machine to delete.
deleteStateMachine_stateMachineArn :: Lens' DeleteStateMachine Text
-- | The response's http status code.
deleteStateMachineResponse_httpStatus :: Lens' DeleteStateMachineResponse Int
-- | The Amazon Resource Name (ARN) of the activity to describe.
describeActivity_activityArn :: Lens' DescribeActivity Text
-- | The response's http status code.
describeActivityResponse_httpStatus :: Lens' DescribeActivityResponse Int
-- | The Amazon Resource Name (ARN) that identifies the activity.
describeActivityResponse_activityArn :: Lens' DescribeActivityResponse Text
-- | The name of the activity.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
describeActivityResponse_name :: Lens' DescribeActivityResponse Text
-- | The date the activity is created.
describeActivityResponse_creationDate :: Lens' DescribeActivityResponse UTCTime
-- | The Amazon Resource Name (ARN) of the execution to describe.
describeExecution_executionArn :: Lens' DescribeExecution Text
-- | The cause string if the state machine execution failed.
describeExecutionResponse_cause :: Lens' DescribeExecutionResponse (Maybe Text)
-- | The error string if the state machine execution failed.
describeExecutionResponse_error :: Lens' DescribeExecutionResponse (Maybe Text)
-- | The string that contains the JSON input data of the execution. Length
-- constraints apply to the payload size, and are expressed as bytes in
-- UTF-8 encoding.
describeExecutionResponse_input :: Lens' DescribeExecutionResponse (Maybe Text)
-- | Undocumented member.
describeExecutionResponse_inputDetails :: Lens' DescribeExecutionResponse (Maybe CloudWatchEventsExecutionDataDetails)
-- | The Amazon Resource Name (ARN) that identifies a Map Run, which
-- dispatched this execution.
describeExecutionResponse_mapRunArn :: Lens' DescribeExecutionResponse (Maybe Text)
-- | The name of the execution.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
describeExecutionResponse_name :: Lens' DescribeExecutionResponse (Maybe Text)
-- | The JSON output data of the execution. Length constraints apply to the
-- payload size, and are expressed as bytes in UTF-8 encoding.
--
-- This field is set only if the execution succeeds. If the execution
-- fails, this field is null.
describeExecutionResponse_output :: Lens' DescribeExecutionResponse (Maybe Text)
-- | Undocumented member.
describeExecutionResponse_outputDetails :: Lens' DescribeExecutionResponse (Maybe CloudWatchEventsExecutionDataDetails)
-- | If the execution has already ended, the date the execution stopped.
describeExecutionResponse_stopDate :: Lens' DescribeExecutionResponse (Maybe UTCTime)
-- | The X-Ray trace header that was passed to the execution.
describeExecutionResponse_traceHeader :: Lens' DescribeExecutionResponse (Maybe Text)
-- | The response's http status code.
describeExecutionResponse_httpStatus :: Lens' DescribeExecutionResponse Int
-- | The Amazon Resource Name (ARN) that identifies the execution.
describeExecutionResponse_executionArn :: Lens' DescribeExecutionResponse Text
-- | The Amazon Resource Name (ARN) of the executed stated machine.
describeExecutionResponse_stateMachineArn :: Lens' DescribeExecutionResponse Text
-- | The current status of the execution.
describeExecutionResponse_status :: Lens' DescribeExecutionResponse ExecutionStatus
-- | The date the execution is started.
describeExecutionResponse_startDate :: Lens' DescribeExecutionResponse UTCTime
-- | The Amazon Resource Name (ARN) that identifies a Map Run.
describeMapRun_mapRunArn :: Lens' DescribeMapRun Text
-- | The date when the Map Run was stopped.
describeMapRunResponse_stopDate :: Lens' DescribeMapRunResponse (Maybe UTCTime)
-- | The response's http status code.
describeMapRunResponse_httpStatus :: Lens' DescribeMapRunResponse Int
-- | The Amazon Resource Name (ARN) that identifies a Map Run.
describeMapRunResponse_mapRunArn :: Lens' DescribeMapRunResponse Text
-- | The Amazon Resource Name (ARN) that identifies the execution in which
-- the Map Run was started.
describeMapRunResponse_executionArn :: Lens' DescribeMapRunResponse Text
-- | The current status of the Map Run.
describeMapRunResponse_status :: Lens' DescribeMapRunResponse MapRunStatus
-- | The date when the Map Run was started.
describeMapRunResponse_startDate :: Lens' DescribeMapRunResponse UTCTime
-- | The maximum number of child workflow executions configured to run in
-- parallel for the Map Run at the same time.
describeMapRunResponse_maxConcurrency :: Lens' DescribeMapRunResponse Natural
-- | The maximum percentage of failed child workflow executions before the
-- Map Run fails.
describeMapRunResponse_toleratedFailurePercentage :: Lens' DescribeMapRunResponse Double
-- | The maximum number of failed child workflow executions before the Map
-- Run fails.
describeMapRunResponse_toleratedFailureCount :: Lens' DescribeMapRunResponse Natural
-- | A JSON object that contains information about the total number of
-- items, and the item count for each processing status, such as
-- pending and failed.
describeMapRunResponse_itemCounts :: Lens' DescribeMapRunResponse MapRunItemCounts
-- | A JSON object that contains information about the total number of
-- child workflow executions for the Map Run, and the count of child
-- workflow executions for each status, such as failed and
-- succeeded.
describeMapRunResponse_executionCounts :: Lens' DescribeMapRunResponse MapRunExecutionCounts
-- | The Amazon Resource Name (ARN) of the state machine to describe.
describeStateMachine_stateMachineArn :: Lens' DescribeStateMachine Text
-- | A user-defined or an auto-generated string that identifies a
-- Map state. This parameter is present only if the
-- stateMachineArn specified in input is a qualified state
-- machine ARN.
describeStateMachineResponse_label :: Lens' DescribeStateMachineResponse (Maybe Text)
-- | Undocumented member.
describeStateMachineResponse_loggingConfiguration :: Lens' DescribeStateMachineResponse (Maybe LoggingConfiguration)
-- | The current status of the state machine.
describeStateMachineResponse_status :: Lens' DescribeStateMachineResponse (Maybe StateMachineStatus)
-- | Selects whether X-Ray tracing is enabled.
describeStateMachineResponse_tracingConfiguration :: Lens' DescribeStateMachineResponse (Maybe TracingConfiguration)
-- | The response's http status code.
describeStateMachineResponse_httpStatus :: Lens' DescribeStateMachineResponse Int
-- | The Amazon Resource Name (ARN) that identifies the state machine.
describeStateMachineResponse_stateMachineArn :: Lens' DescribeStateMachineResponse Text
-- | The name of the state machine.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
describeStateMachineResponse_name :: Lens' DescribeStateMachineResponse Text
-- | The Amazon States Language definition of the state machine. See
-- Amazon States Language.
describeStateMachineResponse_definition :: Lens' DescribeStateMachineResponse Text
-- | The Amazon Resource Name (ARN) of the IAM role used when creating this
-- state machine. (The IAM role maintains security by granting Step
-- Functions access to Amazon Web Services resources.)
describeStateMachineResponse_roleArn :: Lens' DescribeStateMachineResponse Text
-- | The type of the state machine (STANDARD or
-- EXPRESS).
describeStateMachineResponse_type :: Lens' DescribeStateMachineResponse StateMachineType
-- | The date the state machine is created.
describeStateMachineResponse_creationDate :: Lens' DescribeStateMachineResponse UTCTime
-- | The Amazon Resource Name (ARN) of the execution you want state machine
-- information for.
describeStateMachineForExecution_executionArn :: Lens' DescribeStateMachineForExecution Text
-- | A user-defined or an auto-generated string that identifies a
-- Map state. This field is returned only if the
-- executionArn is a child workflow execution that was started
-- by a Distributed Map state.
describeStateMachineForExecutionResponse_label :: Lens' DescribeStateMachineForExecutionResponse (Maybe Text)
-- | Undocumented member.
describeStateMachineForExecutionResponse_loggingConfiguration :: Lens' DescribeStateMachineForExecutionResponse (Maybe LoggingConfiguration)
-- | The Amazon Resource Name (ARN) of the Map Run that started the child
-- workflow execution. This field is returned only if the
-- executionArn is a child workflow execution that was started
-- by a Distributed Map state.
describeStateMachineForExecutionResponse_mapRunArn :: Lens' DescribeStateMachineForExecutionResponse (Maybe Text)
-- | Selects whether X-Ray tracing is enabled.
describeStateMachineForExecutionResponse_tracingConfiguration :: Lens' DescribeStateMachineForExecutionResponse (Maybe TracingConfiguration)
-- | The response's http status code.
describeStateMachineForExecutionResponse_httpStatus :: Lens' DescribeStateMachineForExecutionResponse Int
-- | The Amazon Resource Name (ARN) of the state machine associated with
-- the execution.
describeStateMachineForExecutionResponse_stateMachineArn :: Lens' DescribeStateMachineForExecutionResponse Text
-- | The name of the state machine associated with the execution.
describeStateMachineForExecutionResponse_name :: Lens' DescribeStateMachineForExecutionResponse Text
-- | The Amazon States Language definition of the state machine. See
-- Amazon States Language.
describeStateMachineForExecutionResponse_definition :: Lens' DescribeStateMachineForExecutionResponse Text
-- | The Amazon Resource Name (ARN) of the IAM role of the State Machine
-- for the execution.
describeStateMachineForExecutionResponse_roleArn :: Lens' DescribeStateMachineForExecutionResponse Text
-- | The date and time the state machine associated with an execution was
-- updated. For a newly created state machine, this is the creation date.
describeStateMachineForExecutionResponse_updateDate :: Lens' DescribeStateMachineForExecutionResponse UTCTime
-- | You can provide an arbitrary name in order to identify the worker that
-- the task is assigned to. This name is used when it is logged in the
-- execution history.
getActivityTask_workerName :: Lens' GetActivityTask (Maybe Text)
-- | The Amazon Resource Name (ARN) of the activity to retrieve tasks from
-- (assigned when you create the task using CreateActivity.)
getActivityTask_activityArn :: Lens' GetActivityTask Text
-- | The string that contains the JSON input data for the task. Length
-- constraints apply to the payload size, and are expressed as bytes in
-- UTF-8 encoding.
getActivityTaskResponse_input :: Lens' GetActivityTaskResponse (Maybe Text)
-- | A token that identifies the scheduled task. This token must be copied
-- and included in subsequent calls to SendTaskHeartbeat, SendTaskSuccess
-- or SendTaskFailure in order to report the progress or completion of
-- the task.
getActivityTaskResponse_taskToken :: Lens' GetActivityTaskResponse (Maybe Text)
-- | The response's http status code.
getActivityTaskResponse_httpStatus :: Lens' GetActivityTaskResponse Int
-- | You can select whether execution data (input or output of a history
-- event) is returned. The default is true.
getExecutionHistory_includeExecutionData :: Lens' GetExecutionHistory (Maybe Bool)
-- | The maximum number of results that are returned per call. You can use
-- nextToken to obtain further pages of results. The default is
-- 100 and the maximum allowed page size is 1000. A value of 0 uses the
-- default.
--
-- This is only an upper limit. The actual number of results returned per
-- call might be fewer than the specified maximum.
getExecutionHistory_maxResults :: Lens' GetExecutionHistory (Maybe Natural)
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
getExecutionHistory_nextToken :: Lens' GetExecutionHistory (Maybe Text)
-- | Lists events in descending order of their timeStamp.
getExecutionHistory_reverseOrder :: Lens' GetExecutionHistory (Maybe Bool)
-- | The Amazon Resource Name (ARN) of the execution.
getExecutionHistory_executionArn :: Lens' GetExecutionHistory Text
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
getExecutionHistoryResponse_nextToken :: Lens' GetExecutionHistoryResponse (Maybe Text)
-- | The response's http status code.
getExecutionHistoryResponse_httpStatus :: Lens' GetExecutionHistoryResponse Int
-- | The list of events that occurred in the execution.
getExecutionHistoryResponse_events :: Lens' GetExecutionHistoryResponse [HistoryEvent]
-- | The maximum number of results that are returned per call. You can use
-- nextToken to obtain further pages of results. The default is
-- 100 and the maximum allowed page size is 1000. A value of 0 uses the
-- default.
--
-- This is only an upper limit. The actual number of results returned per
-- call might be fewer than the specified maximum.
listActivities_maxResults :: Lens' ListActivities (Maybe Natural)
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
listActivities_nextToken :: Lens' ListActivities (Maybe Text)
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
listActivitiesResponse_nextToken :: Lens' ListActivitiesResponse (Maybe Text)
-- | The response's http status code.
listActivitiesResponse_httpStatus :: Lens' ListActivitiesResponse Int
-- | The list of activities.
listActivitiesResponse_activities :: Lens' ListActivitiesResponse [ActivityListItem]
-- | The Amazon Resource Name (ARN) of the Map Run that started the child
-- workflow executions. If the mapRunArn field is specified, a
-- list of all of the child workflow executions started by a Map Run is
-- returned. For more information, see Examining Map Run in the
-- Step Functions Developer Guide.
--
-- You can specify either a mapRunArn or a
-- stateMachineArn, but not both.
listExecutions_mapRunArn :: Lens' ListExecutions (Maybe Text)
-- | The maximum number of results that are returned per call. You can use
-- nextToken to obtain further pages of results. The default is
-- 100 and the maximum allowed page size is 1000. A value of 0 uses the
-- default.
--
-- This is only an upper limit. The actual number of results returned per
-- call might be fewer than the specified maximum.
listExecutions_maxResults :: Lens' ListExecutions (Maybe Natural)
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
listExecutions_nextToken :: Lens' ListExecutions (Maybe Text)
-- | The Amazon Resource Name (ARN) of the state machine whose executions
-- is listed.
--
-- You can specify either a mapRunArn or a
-- stateMachineArn, but not both.
listExecutions_stateMachineArn :: Lens' ListExecutions (Maybe Text)
-- | If specified, only list the executions whose current execution status
-- matches the given filter.
listExecutions_statusFilter :: Lens' ListExecutions (Maybe ExecutionStatus)
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
listExecutionsResponse_nextToken :: Lens' ListExecutionsResponse (Maybe Text)
-- | The response's http status code.
listExecutionsResponse_httpStatus :: Lens' ListExecutionsResponse Int
-- | The list of matching executions.
listExecutionsResponse_executions :: Lens' ListExecutionsResponse [ExecutionListItem]
-- | The maximum number of results that are returned per call. You can use
-- nextToken to obtain further pages of results. The default is
-- 100 and the maximum allowed page size is 1000. A value of 0 uses the
-- default.
--
-- This is only an upper limit. The actual number of results returned per
-- call might be fewer than the specified maximum.
listMapRuns_maxResults :: Lens' ListMapRuns (Maybe Natural)
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
listMapRuns_nextToken :: Lens' ListMapRuns (Maybe Text)
-- | The Amazon Resource Name (ARN) of the execution for which the Map Runs
-- must be listed.
listMapRuns_executionArn :: Lens' ListMapRuns Text
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
listMapRunsResponse_nextToken :: Lens' ListMapRunsResponse (Maybe Text)
-- | The response's http status code.
listMapRunsResponse_httpStatus :: Lens' ListMapRunsResponse Int
-- | An array that lists information related to a Map Run, such as the
-- Amazon Resource Name (ARN) of the Map Run and the ARN of the state
-- machine that started the Map Run.
listMapRunsResponse_mapRuns :: Lens' ListMapRunsResponse [MapRunListItem]
-- | The maximum number of results that are returned per call. You can use
-- nextToken to obtain further pages of results. The default is
-- 100 and the maximum allowed page size is 1000. A value of 0 uses the
-- default.
--
-- This is only an upper limit. The actual number of results returned per
-- call might be fewer than the specified maximum.
listStateMachines_maxResults :: Lens' ListStateMachines (Maybe Natural)
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
listStateMachines_nextToken :: Lens' ListStateMachines (Maybe Text)
-- | If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
listStateMachinesResponse_nextToken :: Lens' ListStateMachinesResponse (Maybe Text)
-- | The response's http status code.
listStateMachinesResponse_httpStatus :: Lens' ListStateMachinesResponse Int
-- | Undocumented member.
listStateMachinesResponse_stateMachines :: Lens' ListStateMachinesResponse [StateMachineListItem]
-- | The Amazon Resource Name (ARN) for the Step Functions state machine or
-- activity.
listTagsForResource_resourceArn :: Lens' ListTagsForResource Text
-- | An array of tags associated with the resource.
listTagsForResourceResponse_tags :: Lens' ListTagsForResourceResponse (Maybe [Tag])
-- | The response's http status code.
listTagsForResourceResponse_httpStatus :: Lens' ListTagsForResourceResponse Int
-- | A more detailed explanation of the cause of the failure.
sendTaskFailure_cause :: Lens' SendTaskFailure (Maybe Text)
-- | The error code of the failure.
sendTaskFailure_error :: Lens' SendTaskFailure (Maybe Text)
-- | The token that represents this task. Task tokens are generated by Step
-- Functions when tasks are assigned to a worker, or in the context
-- object when a workflow enters a task state. See
-- GetActivityTaskOutput$taskToken.
sendTaskFailure_taskToken :: Lens' SendTaskFailure Text
-- | The response's http status code.
sendTaskFailureResponse_httpStatus :: Lens' SendTaskFailureResponse Int
-- | The token that represents this task. Task tokens are generated by Step
-- Functions when tasks are assigned to a worker, or in the context
-- object when a workflow enters a task state. See
-- GetActivityTaskOutput$taskToken.
sendTaskHeartbeat_taskToken :: Lens' SendTaskHeartbeat Text
-- | The response's http status code.
sendTaskHeartbeatResponse_httpStatus :: Lens' SendTaskHeartbeatResponse Int
-- | The token that represents this task. Task tokens are generated by Step
-- Functions when tasks are assigned to a worker, or in the context
-- object when a workflow enters a task state. See
-- GetActivityTaskOutput$taskToken.
sendTaskSuccess_taskToken :: Lens' SendTaskSuccess Text
-- | The JSON output of the task. Length constraints apply to the payload
-- size, and are expressed as bytes in UTF-8 encoding.
sendTaskSuccess_output :: Lens' SendTaskSuccess Text
-- | The response's http status code.
sendTaskSuccessResponse_httpStatus :: Lens' SendTaskSuccessResponse Int
-- | The string that contains the JSON input data for the execution, for
-- example:
--
--
-- "input": "{\"first_name\" : \"test\"}"
--
--
-- If you don't include any JSON input data, you still must include the
-- two braces, for example: "input": "{}"
--
-- Length constraints apply to the payload size, and are expressed as
-- bytes in UTF-8 encoding.
startExecution_input :: Lens' StartExecution (Maybe Text)
-- | The name of the execution. This name must be unique for your Amazon
-- Web Services account, region, and state machine for 90 days. For more
-- information, see Limits Related to State Machine Executions in
-- the Step Functions Developer Guide.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
startExecution_name :: Lens' StartExecution (Maybe Text)
-- | Passes the X-Ray trace header. The trace header can also be passed in
-- the request payload.
startExecution_traceHeader :: Lens' StartExecution (Maybe Text)
-- | The Amazon Resource Name (ARN) of the state machine to execute.
startExecution_stateMachineArn :: Lens' StartExecution Text
-- | The response's http status code.
startExecutionResponse_httpStatus :: Lens' StartExecutionResponse Int
-- | The Amazon Resource Name (ARN) that identifies the execution.
startExecutionResponse_executionArn :: Lens' StartExecutionResponse Text
-- | The date the execution is started.
startExecutionResponse_startDate :: Lens' StartExecutionResponse UTCTime
-- | The string that contains the JSON input data for the execution, for
-- example:
--
--
-- "input": "{\"first_name\" : \"test\"}"
--
--
-- If you don't include any JSON input data, you still must include the
-- two braces, for example: "input": "{}"
--
-- Length constraints apply to the payload size, and are expressed as
-- bytes in UTF-8 encoding.
startSyncExecution_input :: Lens' StartSyncExecution (Maybe Text)
-- | The name of the execution.
startSyncExecution_name :: Lens' StartSyncExecution (Maybe Text)
-- | Passes the X-Ray trace header. The trace header can also be passed in
-- the request payload.
startSyncExecution_traceHeader :: Lens' StartSyncExecution (Maybe Text)
-- | The Amazon Resource Name (ARN) of the state machine to execute.
startSyncExecution_stateMachineArn :: Lens' StartSyncExecution Text
-- | An object that describes workflow billing details, including billed
-- duration and memory use.
startSyncExecutionResponse_billingDetails :: Lens' StartSyncExecutionResponse (Maybe BillingDetails)
-- | A more detailed explanation of the cause of the failure.
startSyncExecutionResponse_cause :: Lens' StartSyncExecutionResponse (Maybe Text)
-- | The error code of the failure.
startSyncExecutionResponse_error :: Lens' StartSyncExecutionResponse (Maybe Text)
-- | The string that contains the JSON input data of the execution. Length
-- constraints apply to the payload size, and are expressed as bytes in
-- UTF-8 encoding.
startSyncExecutionResponse_input :: Lens' StartSyncExecutionResponse (Maybe Text)
-- | Undocumented member.
startSyncExecutionResponse_inputDetails :: Lens' StartSyncExecutionResponse (Maybe CloudWatchEventsExecutionDataDetails)
-- | The name of the execution.
startSyncExecutionResponse_name :: Lens' StartSyncExecutionResponse (Maybe Text)
-- | The JSON output data of the execution. Length constraints apply to the
-- payload size, and are expressed as bytes in UTF-8 encoding.
--
-- This field is set only if the execution succeeds. If the execution
-- fails, this field is null.
startSyncExecutionResponse_output :: Lens' StartSyncExecutionResponse (Maybe Text)
-- | Undocumented member.
startSyncExecutionResponse_outputDetails :: Lens' StartSyncExecutionResponse (Maybe CloudWatchEventsExecutionDataDetails)
-- | The Amazon Resource Name (ARN) that identifies the state machine.
startSyncExecutionResponse_stateMachineArn :: Lens' StartSyncExecutionResponse (Maybe Text)
-- | The X-Ray trace header that was passed to the execution.
startSyncExecutionResponse_traceHeader :: Lens' StartSyncExecutionResponse (Maybe Text)
-- | The response's http status code.
startSyncExecutionResponse_httpStatus :: Lens' StartSyncExecutionResponse Int
-- | The Amazon Resource Name (ARN) that identifies the execution.
startSyncExecutionResponse_executionArn :: Lens' StartSyncExecutionResponse Text
-- | The date the execution is started.
startSyncExecutionResponse_startDate :: Lens' StartSyncExecutionResponse UTCTime
-- | If the execution has already ended, the date the execution stopped.
startSyncExecutionResponse_stopDate :: Lens' StartSyncExecutionResponse UTCTime
-- | The current status of the execution.
startSyncExecutionResponse_status :: Lens' StartSyncExecutionResponse SyncExecutionStatus
-- | A more detailed explanation of the cause of the failure.
stopExecution_cause :: Lens' StopExecution (Maybe Text)
-- | The error code of the failure.
stopExecution_error :: Lens' StopExecution (Maybe Text)
-- | The Amazon Resource Name (ARN) of the execution to stop.
stopExecution_executionArn :: Lens' StopExecution Text
-- | The response's http status code.
stopExecutionResponse_httpStatus :: Lens' StopExecutionResponse Int
-- | The date the execution is stopped.
stopExecutionResponse_stopDate :: Lens' StopExecutionResponse UTCTime
-- | The Amazon Resource Name (ARN) for the Step Functions state machine or
-- activity.
tagResource_resourceArn :: Lens' TagResource Text
-- | The list of tags to add to a resource.
--
-- Tags may only contain Unicode letters, digits, white space, or these
-- symbols: _ . : / = + - @.
tagResource_tags :: Lens' TagResource [Tag]
-- | The response's http status code.
tagResourceResponse_httpStatus :: Lens' TagResourceResponse Int
-- | The Amazon Resource Name (ARN) for the Step Functions state machine or
-- activity.
untagResource_resourceArn :: Lens' UntagResource Text
-- | The list of tags to remove from the resource.
untagResource_tagKeys :: Lens' UntagResource [Text]
-- | The response's http status code.
untagResourceResponse_httpStatus :: Lens' UntagResourceResponse Int
-- | The maximum number of child workflow executions that can be specified
-- to run in parallel for the Map Run at the same time.
updateMapRun_maxConcurrency :: Lens' UpdateMapRun (Maybe Natural)
-- | The maximum number of failed items before the Map Run fails.
updateMapRun_toleratedFailureCount :: Lens' UpdateMapRun (Maybe Natural)
-- | The maximum percentage of failed items before the Map Run fails.
updateMapRun_toleratedFailurePercentage :: Lens' UpdateMapRun (Maybe Double)
-- | The Amazon Resource Name (ARN) of a Map Run.
updateMapRun_mapRunArn :: Lens' UpdateMapRun Text
-- | The response's http status code.
updateMapRunResponse_httpStatus :: Lens' UpdateMapRunResponse Int
-- | The Amazon States Language definition of the state machine. See
-- Amazon States Language.
updateStateMachine_definition :: Lens' UpdateStateMachine (Maybe Text)
-- | The LoggingConfiguration data type is used to set CloudWatch
-- Logs options.
updateStateMachine_loggingConfiguration :: Lens' UpdateStateMachine (Maybe LoggingConfiguration)
-- | The Amazon Resource Name (ARN) of the IAM role of the state machine.
updateStateMachine_roleArn :: Lens' UpdateStateMachine (Maybe Text)
-- | Selects whether X-Ray tracing is enabled.
updateStateMachine_tracingConfiguration :: Lens' UpdateStateMachine (Maybe TracingConfiguration)
-- | The Amazon Resource Name (ARN) of the state machine.
updateStateMachine_stateMachineArn :: Lens' UpdateStateMachine Text
-- | The response's http status code.
updateStateMachineResponse_httpStatus :: Lens' UpdateStateMachineResponse Int
-- | The date and time the state machine was updated.
updateStateMachineResponse_updateDate :: Lens' UpdateStateMachineResponse UTCTime
-- | A more detailed explanation of the cause of the failure.
activityFailedEventDetails_cause :: Lens' ActivityFailedEventDetails (Maybe Text)
-- | The error code of the failure.
activityFailedEventDetails_error :: Lens' ActivityFailedEventDetails (Maybe Text)
-- | The Amazon Resource Name (ARN) that identifies the activity.
activityListItem_activityArn :: Lens' ActivityListItem Text
-- | The name of the activity.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
activityListItem_name :: Lens' ActivityListItem Text
-- | The date the activity is created.
activityListItem_creationDate :: Lens' ActivityListItem UTCTime
-- | A more detailed explanation of the cause of the failure.
activityScheduleFailedEventDetails_cause :: Lens' ActivityScheduleFailedEventDetails (Maybe Text)
-- | The error code of the failure.
activityScheduleFailedEventDetails_error :: Lens' ActivityScheduleFailedEventDetails (Maybe Text)
-- | The maximum allowed duration between two heartbeats for the activity
-- task.
activityScheduledEventDetails_heartbeatInSeconds :: Lens' ActivityScheduledEventDetails (Maybe Integer)
-- | The JSON data input to the activity task. Length constraints apply to
-- the payload size, and are expressed as bytes in UTF-8 encoding.
activityScheduledEventDetails_input :: Lens' ActivityScheduledEventDetails (Maybe Text)
-- | Contains details about the input for an execution history event.
activityScheduledEventDetails_inputDetails :: Lens' ActivityScheduledEventDetails (Maybe HistoryEventExecutionDataDetails)
-- | The maximum allowed duration of the activity task.
activityScheduledEventDetails_timeoutInSeconds :: Lens' ActivityScheduledEventDetails (Maybe Integer)
-- | The Amazon Resource Name (ARN) of the scheduled activity.
activityScheduledEventDetails_resource :: Lens' ActivityScheduledEventDetails Text
-- | The name of the worker that the task is assigned to. These names are
-- provided by the workers when calling GetActivityTask.
activityStartedEventDetails_workerName :: Lens' ActivityStartedEventDetails (Maybe Text)
-- | The JSON data output by the activity task. Length constraints apply to
-- the payload size, and are expressed as bytes in UTF-8 encoding.
activitySucceededEventDetails_output :: Lens' ActivitySucceededEventDetails (Maybe Text)
-- | Contains details about the output of an execution history event.
activitySucceededEventDetails_outputDetails :: Lens' ActivitySucceededEventDetails (Maybe HistoryEventExecutionDataDetails)
-- | A more detailed explanation of the cause of the timeout.
activityTimedOutEventDetails_cause :: Lens' ActivityTimedOutEventDetails (Maybe Text)
-- | The error code of the failure.
activityTimedOutEventDetails_error :: Lens' ActivityTimedOutEventDetails (Maybe Text)
-- | Billed duration of your workflow, in milliseconds.
billingDetails_billedDurationInMilliseconds :: Lens' BillingDetails (Maybe Natural)
-- | Billed memory consumption of your workflow, in MB.
billingDetails_billedMemoryUsedInMB :: Lens' BillingDetails (Maybe Natural)
-- | Indicates whether input or output was included in the response. Always
-- true for API calls.
cloudWatchEventsExecutionDataDetails_included :: Lens' CloudWatchEventsExecutionDataDetails (Maybe Bool)
-- | The ARN of the the CloudWatch log group to which you want your logs
-- emitted to. The ARN must end with :*
cloudWatchLogsLogGroup_logGroupArn :: Lens' CloudWatchLogsLogGroup (Maybe Text)
-- | A more detailed explanation of the cause of the failure.
executionAbortedEventDetails_cause :: Lens' ExecutionAbortedEventDetails (Maybe Text)
-- | The error code of the failure.
executionAbortedEventDetails_error :: Lens' ExecutionAbortedEventDetails (Maybe Text)
-- | A more detailed explanation of the cause of the failure.
executionFailedEventDetails_cause :: Lens' ExecutionFailedEventDetails (Maybe Text)
-- | The error code of the failure.
executionFailedEventDetails_error :: Lens' ExecutionFailedEventDetails (Maybe Text)
-- | The total number of items processed in a child workflow execution.
-- This field is returned only if mapRunArn was specified in the
-- ListExecutions API action. If stateMachineArn was
-- specified in ListExecutions, the itemCount field
-- isn't returned.
executionListItem_itemCount :: Lens' ExecutionListItem (Maybe Natural)
-- | The Amazon Resource Name (ARN) of a Map Run. This field is returned
-- only if mapRunArn was specified in the
-- ListExecutions API action. If stateMachineArn was
-- specified in ListExecutions, the mapRunArn isn't
-- returned.
executionListItem_mapRunArn :: Lens' ExecutionListItem (Maybe Text)
-- | If the execution already ended, the date the execution stopped.
executionListItem_stopDate :: Lens' ExecutionListItem (Maybe UTCTime)
-- | The Amazon Resource Name (ARN) that identifies the execution.
executionListItem_executionArn :: Lens' ExecutionListItem Text
-- | The Amazon Resource Name (ARN) of the executed state machine.
executionListItem_stateMachineArn :: Lens' ExecutionListItem Text
-- | The name of the execution.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
executionListItem_name :: Lens' ExecutionListItem Text
-- | The current status of the execution.
executionListItem_status :: Lens' ExecutionListItem ExecutionStatus
-- | The date the execution started.
executionListItem_startDate :: Lens' ExecutionListItem UTCTime
-- | The JSON data input to the execution. Length constraints apply to the
-- payload size, and are expressed as bytes in UTF-8 encoding.
executionStartedEventDetails_input :: Lens' ExecutionStartedEventDetails (Maybe Text)
-- | Contains details about the input for an execution history event.
executionStartedEventDetails_inputDetails :: Lens' ExecutionStartedEventDetails (Maybe HistoryEventExecutionDataDetails)
-- | The Amazon Resource Name (ARN) of the IAM role used for executing
-- Lambda tasks.
executionStartedEventDetails_roleArn :: Lens' ExecutionStartedEventDetails (Maybe Text)
-- | The JSON data output by the execution. Length constraints apply to the
-- payload size, and are expressed as bytes in UTF-8 encoding.
executionSucceededEventDetails_output :: Lens' ExecutionSucceededEventDetails (Maybe Text)
-- | Contains details about the output of an execution history event.
executionSucceededEventDetails_outputDetails :: Lens' ExecutionSucceededEventDetails (Maybe HistoryEventExecutionDataDetails)
-- | A more detailed explanation of the cause of the timeout.
executionTimedOutEventDetails_cause :: Lens' ExecutionTimedOutEventDetails (Maybe Text)
-- | The error code of the failure.
executionTimedOutEventDetails_error :: Lens' ExecutionTimedOutEventDetails (Maybe Text)
-- | Undocumented member.
historyEvent_activityFailedEventDetails :: Lens' HistoryEvent (Maybe ActivityFailedEventDetails)
-- | Contains details about an activity schedule event that failed during
-- an execution.
historyEvent_activityScheduleFailedEventDetails :: Lens' HistoryEvent (Maybe ActivityScheduleFailedEventDetails)
-- | Undocumented member.
historyEvent_activityScheduledEventDetails :: Lens' HistoryEvent (Maybe ActivityScheduledEventDetails)
-- | Undocumented member.
historyEvent_activityStartedEventDetails :: Lens' HistoryEvent (Maybe ActivityStartedEventDetails)
-- | Undocumented member.
historyEvent_activitySucceededEventDetails :: Lens' HistoryEvent (Maybe ActivitySucceededEventDetails)
-- | Undocumented member.
historyEvent_activityTimedOutEventDetails :: Lens' HistoryEvent (Maybe ActivityTimedOutEventDetails)
-- | Undocumented member.
historyEvent_executionAbortedEventDetails :: Lens' HistoryEvent (Maybe ExecutionAbortedEventDetails)
-- | Undocumented member.
historyEvent_executionFailedEventDetails :: Lens' HistoryEvent (Maybe ExecutionFailedEventDetails)
-- | Undocumented member.
historyEvent_executionStartedEventDetails :: Lens' HistoryEvent (Maybe ExecutionStartedEventDetails)
-- | Undocumented member.
historyEvent_executionSucceededEventDetails :: Lens' HistoryEvent (Maybe ExecutionSucceededEventDetails)
-- | Undocumented member.
historyEvent_executionTimedOutEventDetails :: Lens' HistoryEvent (Maybe ExecutionTimedOutEventDetails)
-- | Undocumented member.
historyEvent_lambdaFunctionFailedEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionFailedEventDetails)
-- | Undocumented member.
historyEvent_lambdaFunctionScheduleFailedEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionScheduleFailedEventDetails)
-- | Undocumented member.
historyEvent_lambdaFunctionScheduledEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionScheduledEventDetails)
-- | Contains details about a lambda function that failed to start during
-- an execution.
historyEvent_lambdaFunctionStartFailedEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionStartFailedEventDetails)
-- | Contains details about a Lambda function that terminated successfully
-- during an execution.
historyEvent_lambdaFunctionSucceededEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionSucceededEventDetails)
-- | Undocumented member.
historyEvent_lambdaFunctionTimedOutEventDetails :: Lens' HistoryEvent (Maybe LambdaFunctionTimedOutEventDetails)
-- | Contains details about an iteration of a Map state that was aborted.
historyEvent_mapIterationAbortedEventDetails :: Lens' HistoryEvent (Maybe MapIterationEventDetails)
-- | Contains details about an iteration of a Map state that failed.
historyEvent_mapIterationFailedEventDetails :: Lens' HistoryEvent (Maybe MapIterationEventDetails)
-- | Contains details about an iteration of a Map state that was started.
historyEvent_mapIterationStartedEventDetails :: Lens' HistoryEvent (Maybe MapIterationEventDetails)
-- | Contains details about an iteration of a Map state that succeeded.
historyEvent_mapIterationSucceededEventDetails :: Lens' HistoryEvent (Maybe MapIterationEventDetails)
-- | Contains error and cause details about a Map Run that failed.
historyEvent_mapRunFailedEventDetails :: Lens' HistoryEvent (Maybe MapRunFailedEventDetails)
-- | Contains details, such as mapRunArn, and the start date and
-- time of a Map Run. mapRunArn is the Amazon Resource Name
-- (ARN) of the Map Run that was started.
historyEvent_mapRunStartedEventDetails :: Lens' HistoryEvent (Maybe MapRunStartedEventDetails)
-- | Contains details about Map state that was started.
historyEvent_mapStateStartedEventDetails :: Lens' HistoryEvent (Maybe MapStateStartedEventDetails)
-- | The id of the previous event.
historyEvent_previousEventId :: Lens' HistoryEvent (Maybe Integer)
-- | Undocumented member.
historyEvent_stateEnteredEventDetails :: Lens' HistoryEvent (Maybe StateEnteredEventDetails)
-- | Undocumented member.
historyEvent_stateExitedEventDetails :: Lens' HistoryEvent (Maybe StateExitedEventDetails)
-- | Contains details about the failure of a task.
historyEvent_taskFailedEventDetails :: Lens' HistoryEvent (Maybe TaskFailedEventDetails)
-- | Contains details about a task that was scheduled.
historyEvent_taskScheduledEventDetails :: Lens' HistoryEvent (Maybe TaskScheduledEventDetails)
-- | Contains details about a task that failed to start.
historyEvent_taskStartFailedEventDetails :: Lens' HistoryEvent (Maybe TaskStartFailedEventDetails)
-- | Contains details about a task that was started.
historyEvent_taskStartedEventDetails :: Lens' HistoryEvent (Maybe TaskStartedEventDetails)
-- | Contains details about a task that where the submit failed.
historyEvent_taskSubmitFailedEventDetails :: Lens' HistoryEvent (Maybe TaskSubmitFailedEventDetails)
-- | Contains details about a submitted task.
historyEvent_taskSubmittedEventDetails :: Lens' HistoryEvent (Maybe TaskSubmittedEventDetails)
-- | Contains details about a task that succeeded.
historyEvent_taskSucceededEventDetails :: Lens' HistoryEvent (Maybe TaskSucceededEventDetails)
-- | Contains details about a task that timed out.
historyEvent_taskTimedOutEventDetails :: Lens' HistoryEvent (Maybe TaskTimedOutEventDetails)
-- | The date and time the event occurred.
historyEvent_timestamp :: Lens' HistoryEvent UTCTime
-- | The type of the event.
historyEvent_type :: Lens' HistoryEvent HistoryEventType
-- | The id of the event. Events are numbered sequentially, starting at
-- one.
historyEvent_id :: Lens' HistoryEvent Integer
-- | Indicates whether input or output was truncated in the response.
-- Always false for API calls.
historyEventExecutionDataDetails_truncated :: Lens' HistoryEventExecutionDataDetails (Maybe Bool)
-- | A more detailed explanation of the cause of the failure.
lambdaFunctionFailedEventDetails_cause :: Lens' LambdaFunctionFailedEventDetails (Maybe Text)
-- | The error code of the failure.
lambdaFunctionFailedEventDetails_error :: Lens' LambdaFunctionFailedEventDetails (Maybe Text)
-- | A more detailed explanation of the cause of the failure.
lambdaFunctionScheduleFailedEventDetails_cause :: Lens' LambdaFunctionScheduleFailedEventDetails (Maybe Text)
-- | The error code of the failure.
lambdaFunctionScheduleFailedEventDetails_error :: Lens' LambdaFunctionScheduleFailedEventDetails (Maybe Text)
-- | The JSON data input to the Lambda function. Length constraints apply
-- to the payload size, and are expressed as bytes in UTF-8 encoding.
lambdaFunctionScheduledEventDetails_input :: Lens' LambdaFunctionScheduledEventDetails (Maybe Text)
-- | Contains details about input for an execution history event.
lambdaFunctionScheduledEventDetails_inputDetails :: Lens' LambdaFunctionScheduledEventDetails (Maybe HistoryEventExecutionDataDetails)
-- | The credentials that Step Functions uses for the task.
lambdaFunctionScheduledEventDetails_taskCredentials :: Lens' LambdaFunctionScheduledEventDetails (Maybe TaskCredentials)
-- | The maximum allowed duration of the Lambda function.
lambdaFunctionScheduledEventDetails_timeoutInSeconds :: Lens' LambdaFunctionScheduledEventDetails (Maybe Integer)
-- | The Amazon Resource Name (ARN) of the scheduled Lambda function.
lambdaFunctionScheduledEventDetails_resource :: Lens' LambdaFunctionScheduledEventDetails Text
-- | A more detailed explanation of the cause of the failure.
lambdaFunctionStartFailedEventDetails_cause :: Lens' LambdaFunctionStartFailedEventDetails (Maybe Text)
-- | The error code of the failure.
lambdaFunctionStartFailedEventDetails_error :: Lens' LambdaFunctionStartFailedEventDetails (Maybe Text)
-- | The JSON data output by the Lambda function. Length constraints apply
-- to the payload size, and are expressed as bytes in UTF-8 encoding.
lambdaFunctionSucceededEventDetails_output :: Lens' LambdaFunctionSucceededEventDetails (Maybe Text)
-- | Contains details about the output of an execution history event.
lambdaFunctionSucceededEventDetails_outputDetails :: Lens' LambdaFunctionSucceededEventDetails (Maybe HistoryEventExecutionDataDetails)
-- | A more detailed explanation of the cause of the timeout.
lambdaFunctionTimedOutEventDetails_cause :: Lens' LambdaFunctionTimedOutEventDetails (Maybe Text)
-- | The error code of the failure.
lambdaFunctionTimedOutEventDetails_error :: Lens' LambdaFunctionTimedOutEventDetails (Maybe Text)
-- | An object describing a CloudWatch log group. For more information, see
-- AWS::Logs::LogGroup in the CloudFormation User Guide.
logDestination_cloudWatchLogsLogGroup :: Lens' LogDestination (Maybe CloudWatchLogsLogGroup)
-- | An array of objects that describes where your execution history events
-- will be logged. Limited to size 1. Required, if your log level is not
-- set to OFF.
loggingConfiguration_destinations :: Lens' LoggingConfiguration (Maybe [LogDestination])
-- | Determines whether execution data is included in your log. When set to
-- false, data is excluded.
loggingConfiguration_includeExecutionData :: Lens' LoggingConfiguration (Maybe Bool)
-- | Defines which category of execution history events are logged.
loggingConfiguration_level :: Lens' LoggingConfiguration (Maybe LogLevel)
-- | The index of the array belonging to the Map state iteration.
mapIterationEventDetails_index :: Lens' MapIterationEventDetails (Maybe Natural)
-- | The name of the iteration’s parent Map state.
mapIterationEventDetails_name :: Lens' MapIterationEventDetails (Maybe Text)
-- | The total number of child workflow executions that were started by a
-- Map Run, but haven't started executing yet.
mapRunExecutionCounts_pending :: Lens' MapRunExecutionCounts Natural
-- | The total number of child workflow executions that were started by a
-- Map Run and are currently in-progress.
mapRunExecutionCounts_running :: Lens' MapRunExecutionCounts Natural
-- | The total number of child workflow executions that were started by a
-- Map Run and have completed successfully.
mapRunExecutionCounts_succeeded :: Lens' MapRunExecutionCounts Natural
-- | The total number of child workflow executions that were started by a
-- Map Run, but have failed.
mapRunExecutionCounts_failed :: Lens' MapRunExecutionCounts Natural
-- | The total number of child workflow executions that were started by a
-- Map Run and have timed out.
mapRunExecutionCounts_timedOut :: Lens' MapRunExecutionCounts Natural
-- | The total number of child workflow executions that were started by a
-- Map Run and were running, but were either stopped by the user or by
-- Step Functions because the Map Run failed.
mapRunExecutionCounts_aborted :: Lens' MapRunExecutionCounts Natural
-- | The total number of child workflow executions that were started by a
-- Map Run.
mapRunExecutionCounts_total :: Lens' MapRunExecutionCounts Natural
-- | Returns the count of child workflow executions whose results were
-- written by ResultWriter. For more information, see
-- ResultWriter in the Step Functions Developer Guide.
mapRunExecutionCounts_resultsWritten :: Lens' MapRunExecutionCounts Natural
-- | A more detailed explanation of the cause of the failure.
mapRunFailedEventDetails_cause :: Lens' MapRunFailedEventDetails (Maybe Text)
-- | The error code of the Map Run failure.
mapRunFailedEventDetails_error :: Lens' MapRunFailedEventDetails (Maybe Text)
-- | The total number of items to process in child workflow executions that
-- haven't started running yet.
mapRunItemCounts_pending :: Lens' MapRunItemCounts Natural
-- | The total number of items being processed in child workflow executions
-- that are currently in-progress.
mapRunItemCounts_running :: Lens' MapRunItemCounts Natural
-- | The total number of items processed in child workflow executions that
-- have completed successfully.
mapRunItemCounts_succeeded :: Lens' MapRunItemCounts Natural
-- | The total number of items processed in child workflow executions that
-- have failed.
mapRunItemCounts_failed :: Lens' MapRunItemCounts Natural
-- | The total number of items processed in child workflow executions that
-- have timed out.
mapRunItemCounts_timedOut :: Lens' MapRunItemCounts Natural
-- | The total number of items processed in child workflow executions that
-- were either stopped by the user or by Step Functions, because the Map
-- Run failed.
mapRunItemCounts_aborted :: Lens' MapRunItemCounts Natural
-- | The total number of items processed in all the child workflow
-- executions started by a Map Run.
mapRunItemCounts_total :: Lens' MapRunItemCounts Natural
-- | Returns the count of items whose results were written by
-- ResultWriter. For more information, see ResultWriter
-- in the Step Functions Developer Guide.
mapRunItemCounts_resultsWritten :: Lens' MapRunItemCounts Natural
-- | The date on which the Map Run stopped.
mapRunListItem_stopDate :: Lens' MapRunListItem (Maybe UTCTime)
-- | The executionArn of the execution from which the Map Run was
-- started.
mapRunListItem_executionArn :: Lens' MapRunListItem Text
-- | The Amazon Resource Name (ARN) of the Map Run.
mapRunListItem_mapRunArn :: Lens' MapRunListItem Text
-- | The Amazon Resource Name (ARN) of the executed state machine.
mapRunListItem_stateMachineArn :: Lens' MapRunListItem Text
-- | The date on which the Map Run started.
mapRunListItem_startDate :: Lens' MapRunListItem UTCTime
-- | The Amazon Resource Name (ARN) of a Map Run that was started.
mapRunStartedEventDetails_mapRunArn :: Lens' MapRunStartedEventDetails (Maybe Text)
-- | The size of the array for Map state iterations.
mapStateStartedEventDetails_length :: Lens' MapStateStartedEventDetails (Maybe Natural)
-- | The string that contains the JSON input data for the state. Length
-- constraints apply to the payload size, and are expressed as bytes in
-- UTF-8 encoding.
stateEnteredEventDetails_input :: Lens' StateEnteredEventDetails (Maybe Text)
-- | Contains details about the input for an execution history event.
stateEnteredEventDetails_inputDetails :: Lens' StateEnteredEventDetails (Maybe HistoryEventExecutionDataDetails)
-- | The name of the state.
stateEnteredEventDetails_name :: Lens' StateEnteredEventDetails Text
-- | The JSON output data of the state. Length constraints apply to the
-- payload size, and are expressed as bytes in UTF-8 encoding.
stateExitedEventDetails_output :: Lens' StateExitedEventDetails (Maybe Text)
-- | Contains details about the output of an execution history event.
stateExitedEventDetails_outputDetails :: Lens' StateExitedEventDetails (Maybe HistoryEventExecutionDataDetails)
-- | The name of the state.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
stateExitedEventDetails_name :: Lens' StateExitedEventDetails Text
-- | The Amazon Resource Name (ARN) that identifies the state machine.
stateMachineListItem_stateMachineArn :: Lens' StateMachineListItem Text
-- | The name of the state machine.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
stateMachineListItem_name :: Lens' StateMachineListItem Text
stateMachineListItem_type :: Lens' StateMachineListItem StateMachineType
-- | The date the state machine is created.
stateMachineListItem_creationDate :: Lens' StateMachineListItem UTCTime
-- | The key of a tag.
tag_key :: Lens' Tag (Maybe Text)
-- | The value of a tag.
tag_value :: Lens' Tag (Maybe Text)
-- | The ARN of an IAM role that Step Functions assumes for the task. The
-- role can allow cross-account access to resources.
taskCredentials_roleArn :: Lens' TaskCredentials (Maybe Text)
-- | A more detailed explanation of the cause of the failure.
taskFailedEventDetails_cause :: Lens' TaskFailedEventDetails (Maybe Text)
-- | The error code of the failure.
taskFailedEventDetails_error :: Lens' TaskFailedEventDetails (Maybe Text)
-- | The service name of the resource in a task state.
taskFailedEventDetails_resourceType :: Lens' TaskFailedEventDetails Text
-- | The action of the resource called by a task state.
taskFailedEventDetails_resource :: Lens' TaskFailedEventDetails Text
-- | The maximum allowed duration between two heartbeats for the task.
taskScheduledEventDetails_heartbeatInSeconds :: Lens' TaskScheduledEventDetails (Maybe Integer)
-- | The credentials that Step Functions uses for the task.
taskScheduledEventDetails_taskCredentials :: Lens' TaskScheduledEventDetails (Maybe TaskCredentials)
-- | The maximum allowed duration of the task.
taskScheduledEventDetails_timeoutInSeconds :: Lens' TaskScheduledEventDetails (Maybe Integer)
-- | The service name of the resource in a task state.
taskScheduledEventDetails_resourceType :: Lens' TaskScheduledEventDetails Text
-- | The action of the resource called by a task state.
taskScheduledEventDetails_resource :: Lens' TaskScheduledEventDetails Text
-- | The region of the scheduled task
taskScheduledEventDetails_region :: Lens' TaskScheduledEventDetails Text
-- | The JSON data passed to the resource referenced in a task state.
-- Length constraints apply to the payload size, and are expressed as
-- bytes in UTF-8 encoding.
taskScheduledEventDetails_parameters :: Lens' TaskScheduledEventDetails Text
-- | A more detailed explanation of the cause of the failure.
taskStartFailedEventDetails_cause :: Lens' TaskStartFailedEventDetails (Maybe Text)
-- | The error code of the failure.
taskStartFailedEventDetails_error :: Lens' TaskStartFailedEventDetails (Maybe Text)
-- | The service name of the resource in a task state.
taskStartFailedEventDetails_resourceType :: Lens' TaskStartFailedEventDetails Text
-- | The action of the resource called by a task state.
taskStartFailedEventDetails_resource :: Lens' TaskStartFailedEventDetails Text
-- | The service name of the resource in a task state.
taskStartedEventDetails_resourceType :: Lens' TaskStartedEventDetails Text
-- | The action of the resource called by a task state.
taskStartedEventDetails_resource :: Lens' TaskStartedEventDetails Text
-- | A more detailed explanation of the cause of the failure.
taskSubmitFailedEventDetails_cause :: Lens' TaskSubmitFailedEventDetails (Maybe Text)
-- | The error code of the failure.
taskSubmitFailedEventDetails_error :: Lens' TaskSubmitFailedEventDetails (Maybe Text)
-- | The service name of the resource in a task state.
taskSubmitFailedEventDetails_resourceType :: Lens' TaskSubmitFailedEventDetails Text
-- | The action of the resource called by a task state.
taskSubmitFailedEventDetails_resource :: Lens' TaskSubmitFailedEventDetails Text
-- | The response from a resource when a task has started. Length
-- constraints apply to the payload size, and are expressed as bytes in
-- UTF-8 encoding.
taskSubmittedEventDetails_output :: Lens' TaskSubmittedEventDetails (Maybe Text)
-- | Contains details about the output of an execution history event.
taskSubmittedEventDetails_outputDetails :: Lens' TaskSubmittedEventDetails (Maybe HistoryEventExecutionDataDetails)
-- | The service name of the resource in a task state.
taskSubmittedEventDetails_resourceType :: Lens' TaskSubmittedEventDetails Text
-- | The action of the resource called by a task state.
taskSubmittedEventDetails_resource :: Lens' TaskSubmittedEventDetails Text
-- | The full JSON response from a resource when a task has succeeded. This
-- response becomes the output of the related task. Length constraints
-- apply to the payload size, and are expressed as bytes in UTF-8
-- encoding.
taskSucceededEventDetails_output :: Lens' TaskSucceededEventDetails (Maybe Text)
-- | Contains details about the output of an execution history event.
taskSucceededEventDetails_outputDetails :: Lens' TaskSucceededEventDetails (Maybe HistoryEventExecutionDataDetails)
-- | The service name of the resource in a task state.
taskSucceededEventDetails_resourceType :: Lens' TaskSucceededEventDetails Text
-- | The action of the resource called by a task state.
taskSucceededEventDetails_resource :: Lens' TaskSucceededEventDetails Text
-- | A more detailed explanation of the cause of the failure.
taskTimedOutEventDetails_cause :: Lens' TaskTimedOutEventDetails (Maybe Text)
-- | The error code of the failure.
taskTimedOutEventDetails_error :: Lens' TaskTimedOutEventDetails (Maybe Text)
-- | The service name of the resource in a task state.
taskTimedOutEventDetails_resourceType :: Lens' TaskTimedOutEventDetails Text
-- | The action of the resource called by a task state.
taskTimedOutEventDetails_resource :: Lens' TaskTimedOutEventDetails Text
-- | When set to true, X-Ray tracing is enabled.
tracingConfiguration_enabled :: Lens' TracingConfiguration (Maybe Bool)
module Amazonka.StepFunctions.Waiters
-- | Derived from API version 2016-11-23 of the AWS service
-- descriptions, licensed under Apache 2.0.
--
-- Step Functions
--
-- Step Functions is a service that lets you coordinate the components of
-- distributed applications and microservices using visual workflows.
--
-- You can use Step Functions to build applications from individual
-- components, each of which performs a discrete function, or
-- task, allowing you to scale and change applications quickly.
-- Step Functions provides a console that helps visualize the components
-- of your application as a series of steps. Step Functions automatically
-- triggers and tracks each step, and retries steps when there are
-- errors, so your application executes predictably and in the right
-- order every time. Step Functions logs the state of each step, so you
-- can quickly diagnose and debug any issues.
--
-- Step Functions manages operations and underlying infrastructure to
-- ensure your application is available at any scale. You can run tasks
-- on Amazon Web Services, your own servers, or any system that has
-- access to Amazon Web Services. You can access and use Step Functions
-- using the console, the Amazon Web Services SDKs, or an HTTP API. For
-- more information about Step Functions, see the
-- <https:docs.aws.amazon.comstep-functionslatestdgwelcome.html
-- Step Functions Developer Guide> .
module Amazonka.StepFunctions
-- | API version 2016-11-23 of the Amazon Step Functions SDK
-- configuration.
defaultService :: Service
-- | The specified activity does not exist.
_ActivityDoesNotExist :: AsError a => Fold a ServiceError
-- | The maximum number of activities has been reached. Existing activities
-- must be deleted before a new activity can be created.
_ActivityLimitExceeded :: AsError a => Fold a ServiceError
-- | The maximum number of workers concurrently polling for activity tasks
-- has been reached.
_ActivityWorkerLimitExceeded :: AsError a => Fold a ServiceError
-- | The execution has the same name as another execution (but a
-- different input).
--
-- Executions with the same name and input are
-- considered idempotent.
_ExecutionAlreadyExists :: AsError a => Fold a ServiceError
-- | The specified execution does not exist.
_ExecutionDoesNotExist :: AsError a => Fold a ServiceError
-- | The maximum number of running executions has been reached. Running
-- executions must end or be stopped before a new execution can be
-- started.
_ExecutionLimitExceeded :: AsError a => Fold a ServiceError
-- | The provided Amazon Resource Name (ARN) is not valid.
_InvalidArn :: AsError a => Fold a ServiceError
-- | The provided Amazon States Language definition is not valid.
_InvalidDefinition :: AsError a => Fold a ServiceError
-- | The provided JSON input data is not valid.
_InvalidExecutionInput :: AsError a => Fold a ServiceError
_InvalidLoggingConfiguration :: AsError a => Fold a ServiceError
-- | The provided name is not valid.
_InvalidName :: AsError a => Fold a ServiceError
-- | The provided JSON output data is not valid.
_InvalidOutput :: AsError a => Fold a ServiceError
-- | The provided token is not valid.
_InvalidToken :: AsError a => Fold a ServiceError
-- | Your tracingConfiguration key does not match, or
-- enabled has not been set to true or false.
_InvalidTracingConfiguration :: AsError a => Fold a ServiceError
-- | Request is missing a required parameter. This error occurs if both
-- definition and roleArn are not specified.
_MissingRequiredParameter :: AsError a => Fold a ServiceError
-- | Could not find the referenced resource. Only state machine and
-- activity ARNs are supported.
_ResourceNotFound :: AsError a => Fold a ServiceError
-- | A state machine with the same name but a different definition or role
-- ARN already exists.
_StateMachineAlreadyExists :: AsError a => Fold a ServiceError
-- | The specified state machine is being deleted.
_StateMachineDeleting :: AsError a => Fold a ServiceError
-- | The specified state machine does not exist.
_StateMachineDoesNotExist :: AsError a => Fold a ServiceError
-- | The maximum number of state machines has been reached. Existing state
-- machines must be deleted before a new state machine can be created.
_StateMachineLimitExceeded :: AsError a => Fold a ServiceError
_StateMachineTypeNotSupported :: AsError a => Fold a ServiceError
-- | Prism for TaskDoesNotExist' errors.
_TaskDoesNotExist :: AsError a => Fold a ServiceError
-- | Prism for TaskTimedOut' errors.
_TaskTimedOut :: AsError a => Fold a ServiceError
-- | You've exceeded the number of tags allowed for a resource. See the
-- Limits Topic in the Step Functions Developer Guide.
_TooManyTags :: AsError a => Fold a ServiceError
-- | The input does not satisfy the constraints specified by an Amazon Web
-- Services service.
_ValidationException :: AsError a => Fold a ServiceError
-- | See: newCreateActivity smart constructor.
data CreateActivity
CreateActivity' :: Maybe [Tag] -> Text -> CreateActivity
-- | Create a value of CreateActivity with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:tags:CreateActivity', createActivity_tags - The
-- list of tags to add to a resource.
--
-- An array of key-value pairs. For more information, see Using Cost
-- Allocation Tags in the Amazon Web Services Billing and Cost
-- Management User Guide, and Controlling Access Using IAM
-- Tags.
--
-- Tags may only contain Unicode letters, digits, white space, or these
-- symbols: _ . : / = + - @.
--
-- CreateActivity, createActivity_name - The name of the
-- activity to create. This name must be unique for your Amazon Web
-- Services account and region for 90 days. For more information, see
-- Limits Related to State Machine Executions in the Step
-- Functions Developer Guide.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
newCreateActivity :: Text -> CreateActivity
-- | See: newCreateActivityResponse smart constructor.
data CreateActivityResponse
CreateActivityResponse' :: Int -> Text -> POSIX -> CreateActivityResponse
-- | Create a value of CreateActivityResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:CreateActivityResponse',
-- createActivityResponse_httpStatus - The response's http status
-- code.
--
-- CreateActivityResponse,
-- createActivityResponse_activityArn - The Amazon Resource Name
-- (ARN) that identifies the created activity.
--
-- CreateActivityResponse,
-- createActivityResponse_creationDate - The date the activity is
-- created.
newCreateActivityResponse :: Int -> Text -> UTCTime -> CreateActivityResponse
-- | See: newCreateStateMachine smart constructor.
data CreateStateMachine
CreateStateMachine' :: Maybe LoggingConfiguration -> Maybe [Tag] -> Maybe TracingConfiguration -> Maybe StateMachineType -> Text -> Sensitive Text -> Text -> CreateStateMachine
-- | Create a value of CreateStateMachine with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:loggingConfiguration:CreateStateMachine',
-- createStateMachine_loggingConfiguration - Defines what
-- execution history events are logged and where they are logged.
--
-- By default, the level is set to OFF. For more
-- information see Log Levels in the Step Functions User Guide.
--
-- $sel:tags:CreateStateMachine', createStateMachine_tags -
-- Tags to be added when creating a state machine.
--
-- An array of key-value pairs. For more information, see Using Cost
-- Allocation Tags in the Amazon Web Services Billing and Cost
-- Management User Guide, and Controlling Access Using IAM
-- Tags.
--
-- Tags may only contain Unicode letters, digits, white space, or these
-- symbols: _ . : / = + - @.
--
-- $sel:tracingConfiguration:CreateStateMachine',
-- createStateMachine_tracingConfiguration - Selects whether X-Ray
-- tracing is enabled.
--
-- CreateStateMachine, createStateMachine_type - Determines
-- whether a Standard or Express state machine is created. The default is
-- STANDARD. You cannot update the type of a state
-- machine once it has been created.
--
-- CreateStateMachine, createStateMachine_name - The name
-- of the state machine.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
--
-- $sel:definition:CreateStateMachine',
-- createStateMachine_definition - The Amazon States Language
-- definition of the state machine. See Amazon States Language.
--
-- CreateStateMachine, createStateMachine_roleArn - The
-- Amazon Resource Name (ARN) of the IAM role to use for this state
-- machine.
newCreateStateMachine :: Text -> Text -> Text -> CreateStateMachine
-- | See: newCreateStateMachineResponse smart constructor.
data CreateStateMachineResponse
CreateStateMachineResponse' :: Int -> Text -> POSIX -> CreateStateMachineResponse
-- | Create a value of CreateStateMachineResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:CreateStateMachineResponse',
-- createStateMachineResponse_httpStatus - The response's http
-- status code.
--
-- CreateStateMachineResponse,
-- createStateMachineResponse_stateMachineArn - The Amazon
-- Resource Name (ARN) that identifies the created state machine.
--
-- CreateStateMachineResponse,
-- createStateMachineResponse_creationDate - The date the state
-- machine is created.
newCreateStateMachineResponse :: Int -> Text -> UTCTime -> CreateStateMachineResponse
-- | See: newDeleteActivity smart constructor.
data DeleteActivity
DeleteActivity' :: Text -> DeleteActivity
-- | Create a value of DeleteActivity with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteActivity, deleteActivity_activityArn - The Amazon
-- Resource Name (ARN) of the activity to delete.
newDeleteActivity :: Text -> DeleteActivity
-- | See: newDeleteActivityResponse smart constructor.
data DeleteActivityResponse
DeleteActivityResponse' :: Int -> DeleteActivityResponse
-- | Create a value of DeleteActivityResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DeleteActivityResponse',
-- deleteActivityResponse_httpStatus - The response's http status
-- code.
newDeleteActivityResponse :: Int -> DeleteActivityResponse
-- | See: newDeleteStateMachine smart constructor.
data DeleteStateMachine
DeleteStateMachine' :: Text -> DeleteStateMachine
-- | Create a value of DeleteStateMachine with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DeleteStateMachine, deleteStateMachine_stateMachineArn -
-- The Amazon Resource Name (ARN) of the state machine to delete.
newDeleteStateMachine :: Text -> DeleteStateMachine
-- | See: newDeleteStateMachineResponse smart constructor.
data DeleteStateMachineResponse
DeleteStateMachineResponse' :: Int -> DeleteStateMachineResponse
-- | Create a value of DeleteStateMachineResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DeleteStateMachineResponse',
-- deleteStateMachineResponse_httpStatus - The response's http
-- status code.
newDeleteStateMachineResponse :: Int -> DeleteStateMachineResponse
-- | See: newDescribeActivity smart constructor.
data DescribeActivity
DescribeActivity' :: Text -> DescribeActivity
-- | Create a value of DescribeActivity with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeActivity, describeActivity_activityArn - The
-- Amazon Resource Name (ARN) of the activity to describe.
newDescribeActivity :: Text -> DescribeActivity
-- | See: newDescribeActivityResponse smart constructor.
data DescribeActivityResponse
DescribeActivityResponse' :: Int -> Text -> Text -> POSIX -> DescribeActivityResponse
-- | Create a value of DescribeActivityResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:DescribeActivityResponse',
-- describeActivityResponse_httpStatus - The response's http
-- status code.
--
-- DescribeActivity, describeActivityResponse_activityArn -
-- The Amazon Resource Name (ARN) that identifies the activity.
--
-- DescribeActivityResponse, describeActivityResponse_name
-- - The name of the activity.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
--
-- DescribeActivityResponse,
-- describeActivityResponse_creationDate - The date the activity
-- is created.
newDescribeActivityResponse :: Int -> Text -> Text -> UTCTime -> DescribeActivityResponse
-- | See: newDescribeExecution smart constructor.
data DescribeExecution
DescribeExecution' :: Text -> DescribeExecution
-- | Create a value of DescribeExecution with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeExecution, describeExecution_executionArn - The
-- Amazon Resource Name (ARN) of the execution to describe.
newDescribeExecution :: Text -> DescribeExecution
-- | See: newDescribeExecutionResponse smart constructor.
data DescribeExecutionResponse
DescribeExecutionResponse' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Maybe CloudWatchEventsExecutionDataDetails -> Maybe Text -> Maybe Text -> Maybe (Sensitive Text) -> Maybe CloudWatchEventsExecutionDataDetails -> Maybe POSIX -> Maybe Text -> Int -> Text -> Text -> ExecutionStatus -> POSIX -> DescribeExecutionResponse
-- | Create a value of DescribeExecutionResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeExecutionResponse,
-- describeExecutionResponse_cause - The cause string if the state
-- machine execution failed.
--
-- DescribeExecutionResponse,
-- describeExecutionResponse_error - The error string if the state
-- machine execution failed.
--
-- DescribeExecutionResponse,
-- describeExecutionResponse_input - The string that contains the
-- JSON input data of the execution. Length constraints apply to the
-- payload size, and are expressed as bytes in UTF-8 encoding.
--
-- DescribeExecutionResponse,
-- describeExecutionResponse_inputDetails - Undocumented member.
--
-- DescribeExecutionResponse,
-- describeExecutionResponse_mapRunArn - The Amazon Resource Name
-- (ARN) that identifies a Map Run, which dispatched this execution.
--
-- DescribeExecutionResponse,
-- describeExecutionResponse_name - The name of the execution.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
--
-- DescribeExecutionResponse,
-- describeExecutionResponse_output - The JSON output data of the
-- execution. Length constraints apply to the payload size, and are
-- expressed as bytes in UTF-8 encoding.
--
-- This field is set only if the execution succeeds. If the execution
-- fails, this field is null.
--
-- DescribeExecutionResponse,
-- describeExecutionResponse_outputDetails - Undocumented member.
--
-- DescribeExecutionResponse,
-- describeExecutionResponse_stopDate - If the execution has
-- already ended, the date the execution stopped.
--
-- $sel:traceHeader:DescribeExecutionResponse',
-- describeExecutionResponse_traceHeader - The X-Ray trace header
-- that was passed to the execution.
--
-- $sel:httpStatus:DescribeExecutionResponse',
-- describeExecutionResponse_httpStatus - The response's http
-- status code.
--
-- DescribeExecution,
-- describeExecutionResponse_executionArn - The Amazon Resource
-- Name (ARN) that identifies the execution.
--
-- DescribeExecutionResponse,
-- describeExecutionResponse_stateMachineArn - The Amazon Resource
-- Name (ARN) of the executed stated machine.
--
-- DescribeExecutionResponse,
-- describeExecutionResponse_status - The current status of the
-- execution.
--
-- DescribeExecutionResponse,
-- describeExecutionResponse_startDate - The date the execution is
-- started.
newDescribeExecutionResponse :: Int -> Text -> Text -> ExecutionStatus -> UTCTime -> DescribeExecutionResponse
-- | See: newDescribeMapRun smart constructor.
data DescribeMapRun
DescribeMapRun' :: Text -> DescribeMapRun
-- | Create a value of DescribeMapRun with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeMapRun, describeMapRun_mapRunArn - The Amazon
-- Resource Name (ARN) that identifies a Map Run.
newDescribeMapRun :: Text -> DescribeMapRun
-- | See: newDescribeMapRunResponse smart constructor.
data DescribeMapRunResponse
DescribeMapRunResponse' :: Maybe POSIX -> Int -> Text -> Text -> MapRunStatus -> POSIX -> Natural -> Double -> Natural -> MapRunItemCounts -> MapRunExecutionCounts -> DescribeMapRunResponse
-- | Create a value of DescribeMapRunResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeMapRunResponse, describeMapRunResponse_stopDate
-- - The date when the Map Run was stopped.
--
-- $sel:httpStatus:DescribeMapRunResponse',
-- describeMapRunResponse_httpStatus - The response's http status
-- code.
--
-- DescribeMapRun, describeMapRunResponse_mapRunArn - The
-- Amazon Resource Name (ARN) that identifies a Map Run.
--
-- DescribeMapRunResponse,
-- describeMapRunResponse_executionArn - The Amazon Resource Name
-- (ARN) that identifies the execution in which the Map Run was started.
--
-- DescribeMapRunResponse, describeMapRunResponse_status -
-- The current status of the Map Run.
--
-- DescribeMapRunResponse, describeMapRunResponse_startDate
-- - The date when the Map Run was started.
--
-- $sel:maxConcurrency:DescribeMapRunResponse',
-- describeMapRunResponse_maxConcurrency - The maximum number of
-- child workflow executions configured to run in parallel for the Map
-- Run at the same time.
--
-- $sel:toleratedFailurePercentage:DescribeMapRunResponse',
-- describeMapRunResponse_toleratedFailurePercentage - The maximum
-- percentage of failed child workflow executions before the Map Run
-- fails.
--
-- $sel:toleratedFailureCount:DescribeMapRunResponse',
-- describeMapRunResponse_toleratedFailureCount - The maximum
-- number of failed child workflow executions before the Map Run fails.
--
-- $sel:itemCounts:DescribeMapRunResponse',
-- describeMapRunResponse_itemCounts - A JSON object that contains
-- information about the total number of items, and the item count for
-- each processing status, such as pending and failed.
--
-- $sel:executionCounts:DescribeMapRunResponse',
-- describeMapRunResponse_executionCounts - A JSON object that
-- contains information about the total number of child workflow
-- executions for the Map Run, and the count of child workflow executions
-- for each status, such as failed and succeeded.
newDescribeMapRunResponse :: Int -> Text -> Text -> MapRunStatus -> UTCTime -> Natural -> Double -> Natural -> MapRunItemCounts -> MapRunExecutionCounts -> DescribeMapRunResponse
-- | See: newDescribeStateMachine smart constructor.
data DescribeStateMachine
DescribeStateMachine' :: Text -> DescribeStateMachine
-- | Create a value of DescribeStateMachine with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeStateMachine,
-- describeStateMachine_stateMachineArn - The Amazon Resource Name
-- (ARN) of the state machine to describe.
newDescribeStateMachine :: Text -> DescribeStateMachine
-- | See: newDescribeStateMachineResponse smart constructor.
data DescribeStateMachineResponse
DescribeStateMachineResponse' :: Maybe Text -> Maybe LoggingConfiguration -> Maybe StateMachineStatus -> Maybe TracingConfiguration -> Int -> Text -> Text -> Sensitive Text -> Text -> StateMachineType -> POSIX -> DescribeStateMachineResponse
-- | Create a value of DescribeStateMachineResponse with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:label:DescribeStateMachineResponse',
-- describeStateMachineResponse_label - A user-defined or an
-- auto-generated string that identifies a Map state. This
-- parameter is present only if the stateMachineArn specified in
-- input is a qualified state machine ARN.
--
-- $sel:loggingConfiguration:DescribeStateMachineResponse',
-- describeStateMachineResponse_loggingConfiguration -
-- Undocumented member.
--
-- DescribeStateMachineResponse,
-- describeStateMachineResponse_status - The current status of the
-- state machine.
--
-- $sel:tracingConfiguration:DescribeStateMachineResponse',
-- describeStateMachineResponse_tracingConfiguration - Selects
-- whether X-Ray tracing is enabled.
--
-- $sel:httpStatus:DescribeStateMachineResponse',
-- describeStateMachineResponse_httpStatus - The response's http
-- status code.
--
-- DescribeStateMachine,
-- describeStateMachineResponse_stateMachineArn - The Amazon
-- Resource Name (ARN) that identifies the state machine.
--
-- DescribeStateMachineResponse,
-- describeStateMachineResponse_name - The name of the state
-- machine.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
--
-- $sel:definition:DescribeStateMachineResponse',
-- describeStateMachineResponse_definition - The Amazon States
-- Language definition of the state machine. See Amazon States
-- Language.
--
-- DescribeStateMachineResponse,
-- describeStateMachineResponse_roleArn - The Amazon Resource Name
-- (ARN) of the IAM role used when creating this state machine. (The IAM
-- role maintains security by granting Step Functions access to Amazon
-- Web Services resources.)
--
-- DescribeStateMachineResponse,
-- describeStateMachineResponse_type - The type of the
-- state machine (STANDARD or EXPRESS).
--
-- DescribeStateMachineResponse,
-- describeStateMachineResponse_creationDate - The date the state
-- machine is created.
newDescribeStateMachineResponse :: Int -> Text -> Text -> Text -> Text -> StateMachineType -> UTCTime -> DescribeStateMachineResponse
-- | See: newDescribeStateMachineForExecution smart
-- constructor.
data DescribeStateMachineForExecution
DescribeStateMachineForExecution' :: Text -> DescribeStateMachineForExecution
-- | Create a value of DescribeStateMachineForExecution with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- DescribeStateMachineForExecution,
-- describeStateMachineForExecution_executionArn - The Amazon
-- Resource Name (ARN) of the execution you want state machine
-- information for.
newDescribeStateMachineForExecution :: Text -> DescribeStateMachineForExecution
-- | See: newDescribeStateMachineForExecutionResponse smart
-- constructor.
data DescribeStateMachineForExecutionResponse
DescribeStateMachineForExecutionResponse' :: Maybe Text -> Maybe LoggingConfiguration -> Maybe Text -> Maybe TracingConfiguration -> Int -> Text -> Text -> Sensitive Text -> Text -> POSIX -> DescribeStateMachineForExecutionResponse
-- | Create a value of DescribeStateMachineForExecutionResponse with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:label:DescribeStateMachineForExecutionResponse',
-- describeStateMachineForExecutionResponse_label - A user-defined
-- or an auto-generated string that identifies a Map state. This
-- field is returned only if the executionArn is a child workflow
-- execution that was started by a Distributed Map state.
--
--
-- $sel:loggingConfiguration:DescribeStateMachineForExecutionResponse',
-- describeStateMachineForExecutionResponse_loggingConfiguration -
-- Undocumented member.
--
-- DescribeStateMachineForExecutionResponse,
-- describeStateMachineForExecutionResponse_mapRunArn - The Amazon
-- Resource Name (ARN) of the Map Run that started the child workflow
-- execution. This field is returned only if the executionArn is
-- a child workflow execution that was started by a Distributed Map
-- state.
--
--
-- $sel:tracingConfiguration:DescribeStateMachineForExecutionResponse',
-- describeStateMachineForExecutionResponse_tracingConfiguration -
-- Selects whether X-Ray tracing is enabled.
--
-- $sel:httpStatus:DescribeStateMachineForExecutionResponse',
-- describeStateMachineForExecutionResponse_httpStatus - The
-- response's http status code.
--
-- DescribeStateMachineForExecutionResponse,
-- describeStateMachineForExecutionResponse_stateMachineArn - The
-- Amazon Resource Name (ARN) of the state machine associated with the
-- execution.
--
-- DescribeStateMachineForExecutionResponse,
-- describeStateMachineForExecutionResponse_name - The name of the
-- state machine associated with the execution.
--
-- $sel:definition:DescribeStateMachineForExecutionResponse',
-- describeStateMachineForExecutionResponse_definition - The
-- Amazon States Language definition of the state machine. See Amazon
-- States Language.
--
-- DescribeStateMachineForExecutionResponse,
-- describeStateMachineForExecutionResponse_roleArn - The Amazon
-- Resource Name (ARN) of the IAM role of the State Machine for the
-- execution.
--
-- $sel:updateDate:DescribeStateMachineForExecutionResponse',
-- describeStateMachineForExecutionResponse_updateDate - The date
-- and time the state machine associated with an execution was updated.
-- For a newly created state machine, this is the creation date.
newDescribeStateMachineForExecutionResponse :: Int -> Text -> Text -> Text -> Text -> UTCTime -> DescribeStateMachineForExecutionResponse
-- | See: newGetActivityTask smart constructor.
data GetActivityTask
GetActivityTask' :: Maybe Text -> Text -> GetActivityTask
-- | Create a value of GetActivityTask with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetActivityTask, getActivityTask_workerName - You can
-- provide an arbitrary name in order to identify the worker that the
-- task is assigned to. This name is used when it is logged in the
-- execution history.
--
-- GetActivityTask, getActivityTask_activityArn - The
-- Amazon Resource Name (ARN) of the activity to retrieve tasks from
-- (assigned when you create the task using CreateActivity.)
newGetActivityTask :: Text -> GetActivityTask
-- | See: newGetActivityTaskResponse smart constructor.
data GetActivityTaskResponse
GetActivityTaskResponse' :: Maybe (Sensitive Text) -> Maybe Text -> Int -> GetActivityTaskResponse
-- | Create a value of GetActivityTaskResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetActivityTaskResponse, getActivityTaskResponse_input -
-- The string that contains the JSON input data for the task. Length
-- constraints apply to the payload size, and are expressed as bytes in
-- UTF-8 encoding.
--
-- $sel:taskToken:GetActivityTaskResponse',
-- getActivityTaskResponse_taskToken - A token that identifies the
-- scheduled task. This token must be copied and included in subsequent
-- calls to SendTaskHeartbeat, SendTaskSuccess or SendTaskFailure in
-- order to report the progress or completion of the task.
--
-- $sel:httpStatus:GetActivityTaskResponse',
-- getActivityTaskResponse_httpStatus - The response's http status
-- code.
newGetActivityTaskResponse :: Int -> GetActivityTaskResponse
-- | See: newGetExecutionHistory smart constructor.
data GetExecutionHistory
GetExecutionHistory' :: Maybe Bool -> Maybe Natural -> Maybe Text -> Maybe Bool -> Text -> GetExecutionHistory
-- | Create a value of GetExecutionHistory with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetExecutionHistory,
-- getExecutionHistory_includeExecutionData - You can select
-- whether execution data (input or output of a history event) is
-- returned. The default is true.
--
-- $sel:maxResults:GetExecutionHistory',
-- getExecutionHistory_maxResults - The maximum number of results
-- that are returned per call. You can use nextToken to obtain
-- further pages of results. The default is 100 and the maximum allowed
-- page size is 1000. A value of 0 uses the default.
--
-- This is only an upper limit. The actual number of results returned per
-- call might be fewer than the specified maximum.
--
-- GetExecutionHistory, getExecutionHistory_nextToken - If
-- nextToken is returned, there are more results available. The
-- value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
--
-- $sel:reverseOrder:GetExecutionHistory',
-- getExecutionHistory_reverseOrder - Lists events in descending
-- order of their timeStamp.
--
-- GetExecutionHistory, getExecutionHistory_executionArn -
-- The Amazon Resource Name (ARN) of the execution.
newGetExecutionHistory :: Text -> GetExecutionHistory
-- | See: newGetExecutionHistoryResponse smart constructor.
data GetExecutionHistoryResponse
GetExecutionHistoryResponse' :: Maybe Text -> Int -> [HistoryEvent] -> GetExecutionHistoryResponse
-- | Create a value of GetExecutionHistoryResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- GetExecutionHistory,
-- getExecutionHistoryResponse_nextToken - If nextToken
-- is returned, there are more results available. The value of
-- nextToken is a unique pagination token for each page. Make
-- the call again using the returned token to retrieve the next page.
-- Keep all other arguments unchanged. Each pagination token expires
-- after 24 hours. Using an expired pagination token will return an
-- HTTP 400 InvalidToken error.
--
-- $sel:httpStatus:GetExecutionHistoryResponse',
-- getExecutionHistoryResponse_httpStatus - The response's http
-- status code.
--
-- $sel:events:GetExecutionHistoryResponse',
-- getExecutionHistoryResponse_events - The list of events that
-- occurred in the execution.
newGetExecutionHistoryResponse :: Int -> GetExecutionHistoryResponse
-- | See: newListActivities smart constructor.
data ListActivities
ListActivities' :: Maybe Natural -> Maybe Text -> ListActivities
-- | Create a value of ListActivities with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:ListActivities',
-- listActivities_maxResults - The maximum number of results that
-- are returned per call. You can use nextToken to obtain
-- further pages of results. The default is 100 and the maximum allowed
-- page size is 1000. A value of 0 uses the default.
--
-- This is only an upper limit. The actual number of results returned per
-- call might be fewer than the specified maximum.
--
-- ListActivities, listActivities_nextToken - If
-- nextToken is returned, there are more results available. The
-- value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
newListActivities :: ListActivities
-- | See: newListActivitiesResponse smart constructor.
data ListActivitiesResponse
ListActivitiesResponse' :: Maybe Text -> Int -> [ActivityListItem] -> ListActivitiesResponse
-- | Create a value of ListActivitiesResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListActivities, listActivitiesResponse_nextToken - If
-- nextToken is returned, there are more results available. The
-- value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
--
-- $sel:httpStatus:ListActivitiesResponse',
-- listActivitiesResponse_httpStatus - The response's http status
-- code.
--
-- $sel:activities:ListActivitiesResponse',
-- listActivitiesResponse_activities - The list of activities.
newListActivitiesResponse :: Int -> ListActivitiesResponse
-- | See: newListExecutions smart constructor.
data ListExecutions
ListExecutions' :: Maybe Text -> Maybe Natural -> Maybe Text -> Maybe Text -> Maybe ExecutionStatus -> ListExecutions
-- | Create a value of ListExecutions with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListExecutions, listExecutions_mapRunArn - The Amazon
-- Resource Name (ARN) of the Map Run that started the child workflow
-- executions. If the mapRunArn field is specified, a list of
-- all of the child workflow executions started by a Map Run is returned.
-- For more information, see Examining Map Run in the Step
-- Functions Developer Guide.
--
-- You can specify either a mapRunArn or a
-- stateMachineArn, but not both.
--
-- $sel:maxResults:ListExecutions',
-- listExecutions_maxResults - The maximum number of results that
-- are returned per call. You can use nextToken to obtain
-- further pages of results. The default is 100 and the maximum allowed
-- page size is 1000. A value of 0 uses the default.
--
-- This is only an upper limit. The actual number of results returned per
-- call might be fewer than the specified maximum.
--
-- ListExecutions, listExecutions_nextToken - If
-- nextToken is returned, there are more results available. The
-- value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
--
-- ListExecutions, listExecutions_stateMachineArn - The
-- Amazon Resource Name (ARN) of the state machine whose executions is
-- listed.
--
-- You can specify either a mapRunArn or a
-- stateMachineArn, but not both.
--
-- $sel:statusFilter:ListExecutions',
-- listExecutions_statusFilter - If specified, only list the
-- executions whose current execution status matches the given filter.
newListExecutions :: ListExecutions
-- | See: newListExecutionsResponse smart constructor.
data ListExecutionsResponse
ListExecutionsResponse' :: Maybe Text -> Int -> [ExecutionListItem] -> ListExecutionsResponse
-- | Create a value of ListExecutionsResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListExecutions, listExecutionsResponse_nextToken - If
-- nextToken is returned, there are more results available. The
-- value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
--
-- $sel:httpStatus:ListExecutionsResponse',
-- listExecutionsResponse_httpStatus - The response's http status
-- code.
--
-- $sel:executions:ListExecutionsResponse',
-- listExecutionsResponse_executions - The list of matching
-- executions.
newListExecutionsResponse :: Int -> ListExecutionsResponse
-- | See: newListMapRuns smart constructor.
data ListMapRuns
ListMapRuns' :: Maybe Natural -> Maybe Text -> Text -> ListMapRuns
-- | Create a value of ListMapRuns with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:ListMapRuns', listMapRuns_maxResults -
-- The maximum number of results that are returned per call. You can use
-- nextToken to obtain further pages of results. The default is
-- 100 and the maximum allowed page size is 1000. A value of 0 uses the
-- default.
--
-- This is only an upper limit. The actual number of results returned per
-- call might be fewer than the specified maximum.
--
-- ListMapRuns, listMapRuns_nextToken - If
-- nextToken is returned, there are more results available. The
-- value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
--
-- ListMapRuns, listMapRuns_executionArn - The Amazon
-- Resource Name (ARN) of the execution for which the Map Runs must be
-- listed.
newListMapRuns :: Text -> ListMapRuns
-- | See: newListMapRunsResponse smart constructor.
data ListMapRunsResponse
ListMapRunsResponse' :: Maybe Text -> Int -> [MapRunListItem] -> ListMapRunsResponse
-- | Create a value of ListMapRunsResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListMapRuns, listMapRunsResponse_nextToken - If
-- nextToken is returned, there are more results available. The
-- value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
--
-- $sel:httpStatus:ListMapRunsResponse',
-- listMapRunsResponse_httpStatus - The response's http status
-- code.
--
-- $sel:mapRuns:ListMapRunsResponse',
-- listMapRunsResponse_mapRuns - An array that lists information
-- related to a Map Run, such as the Amazon Resource Name (ARN) of the
-- Map Run and the ARN of the state machine that started the Map Run.
newListMapRunsResponse :: Int -> ListMapRunsResponse
-- | See: newListStateMachines smart constructor.
data ListStateMachines
ListStateMachines' :: Maybe Natural -> Maybe Text -> ListStateMachines
-- | Create a value of ListStateMachines with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxResults:ListStateMachines',
-- listStateMachines_maxResults - The maximum number of results
-- that are returned per call. You can use nextToken to obtain
-- further pages of results. The default is 100 and the maximum allowed
-- page size is 1000. A value of 0 uses the default.
--
-- This is only an upper limit. The actual number of results returned per
-- call might be fewer than the specified maximum.
--
-- ListStateMachines, listStateMachines_nextToken - If
-- nextToken is returned, there are more results available. The
-- value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
newListStateMachines :: ListStateMachines
-- | See: newListStateMachinesResponse smart constructor.
data ListStateMachinesResponse
ListStateMachinesResponse' :: Maybe Text -> Int -> [StateMachineListItem] -> ListStateMachinesResponse
-- | Create a value of ListStateMachinesResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- ListStateMachines, listStateMachinesResponse_nextToken -
-- If nextToken is returned, there are more results available.
-- The value of nextToken is a unique pagination token for each
-- page. Make the call again using the returned token to retrieve the
-- next page. Keep all other arguments unchanged. Each pagination token
-- expires after 24 hours. Using an expired pagination token will return
-- an HTTP 400 InvalidToken error.
--
-- $sel:httpStatus:ListStateMachinesResponse',
-- listStateMachinesResponse_httpStatus - The response's http
-- status code.
--
-- $sel:stateMachines:ListStateMachinesResponse',
-- listStateMachinesResponse_stateMachines - Undocumented member.
newListStateMachinesResponse :: Int -> ListStateMachinesResponse
-- | See: newListTagsForResource smart constructor.
data ListTagsForResource
ListTagsForResource' :: Text -> ListTagsForResource
-- | Create a value of ListTagsForResource with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceArn:ListTagsForResource',
-- listTagsForResource_resourceArn - The Amazon Resource Name
-- (ARN) for the Step Functions state machine or activity.
newListTagsForResource :: Text -> ListTagsForResource
-- | See: newListTagsForResourceResponse smart constructor.
data ListTagsForResourceResponse
ListTagsForResourceResponse' :: Maybe [Tag] -> Int -> ListTagsForResourceResponse
-- | Create a value of ListTagsForResourceResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:tags:ListTagsForResourceResponse',
-- listTagsForResourceResponse_tags - An array of tags associated
-- with the resource.
--
-- $sel:httpStatus:ListTagsForResourceResponse',
-- listTagsForResourceResponse_httpStatus - The response's http
-- status code.
newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
-- | See: newSendTaskFailure smart constructor.
data SendTaskFailure
SendTaskFailure' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Text -> SendTaskFailure
-- | Create a value of SendTaskFailure with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- SendTaskFailure, sendTaskFailure_cause - A more detailed
-- explanation of the cause of the failure.
--
-- SendTaskFailure, sendTaskFailure_error - The error code
-- of the failure.
--
-- $sel:taskToken:SendTaskFailure',
-- sendTaskFailure_taskToken - The token that represents this
-- task. Task tokens are generated by Step Functions when tasks are
-- assigned to a worker, or in the context object when a workflow
-- enters a task state. See GetActivityTaskOutput$taskToken.
newSendTaskFailure :: Text -> SendTaskFailure
-- | See: newSendTaskFailureResponse smart constructor.
data SendTaskFailureResponse
SendTaskFailureResponse' :: Int -> SendTaskFailureResponse
-- | Create a value of SendTaskFailureResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:SendTaskFailureResponse',
-- sendTaskFailureResponse_httpStatus - The response's http status
-- code.
newSendTaskFailureResponse :: Int -> SendTaskFailureResponse
-- | See: newSendTaskHeartbeat smart constructor.
data SendTaskHeartbeat
SendTaskHeartbeat' :: Text -> SendTaskHeartbeat
-- | Create a value of SendTaskHeartbeat with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:taskToken:SendTaskHeartbeat',
-- sendTaskHeartbeat_taskToken - The token that represents this
-- task. Task tokens are generated by Step Functions when tasks are
-- assigned to a worker, or in the context object when a workflow
-- enters a task state. See GetActivityTaskOutput$taskToken.
newSendTaskHeartbeat :: Text -> SendTaskHeartbeat
-- | See: newSendTaskHeartbeatResponse smart constructor.
data SendTaskHeartbeatResponse
SendTaskHeartbeatResponse' :: Int -> SendTaskHeartbeatResponse
-- | Create a value of SendTaskHeartbeatResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:SendTaskHeartbeatResponse',
-- sendTaskHeartbeatResponse_httpStatus - The response's http
-- status code.
newSendTaskHeartbeatResponse :: Int -> SendTaskHeartbeatResponse
-- | See: newSendTaskSuccess smart constructor.
data SendTaskSuccess
SendTaskSuccess' :: Text -> Sensitive Text -> SendTaskSuccess
-- | Create a value of SendTaskSuccess with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:taskToken:SendTaskSuccess',
-- sendTaskSuccess_taskToken - The token that represents this
-- task. Task tokens are generated by Step Functions when tasks are
-- assigned to a worker, or in the context object when a workflow
-- enters a task state. See GetActivityTaskOutput$taskToken.
--
-- SendTaskSuccess, sendTaskSuccess_output - The JSON
-- output of the task. Length constraints apply to the payload size, and
-- are expressed as bytes in UTF-8 encoding.
newSendTaskSuccess :: Text -> Text -> SendTaskSuccess
-- | See: newSendTaskSuccessResponse smart constructor.
data SendTaskSuccessResponse
SendTaskSuccessResponse' :: Int -> SendTaskSuccessResponse
-- | Create a value of SendTaskSuccessResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:SendTaskSuccessResponse',
-- sendTaskSuccessResponse_httpStatus - The response's http status
-- code.
newSendTaskSuccessResponse :: Int -> SendTaskSuccessResponse
-- | See: newStartExecution smart constructor.
data StartExecution
StartExecution' :: Maybe (Sensitive Text) -> Maybe Text -> Maybe Text -> Text -> StartExecution
-- | Create a value of StartExecution with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- StartExecution, startExecution_input - The string that
-- contains the JSON input data for the execution, for example:
--
--
-- "input": "{\"first_name\" : \"test\"}"
--
--
-- If you don't include any JSON input data, you still must include the
-- two braces, for example: "input": "{}"
--
-- Length constraints apply to the payload size, and are expressed as
-- bytes in UTF-8 encoding.
--
-- StartExecution, startExecution_name - The name of the
-- execution. This name must be unique for your Amazon Web Services
-- account, region, and state machine for 90 days. For more information,
-- see Limits Related to State Machine Executions in the Step
-- Functions Developer Guide.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
--
-- $sel:traceHeader:StartExecution',
-- startExecution_traceHeader - Passes the X-Ray trace header. The
-- trace header can also be passed in the request payload.
--
-- StartExecution, startExecution_stateMachineArn - The
-- Amazon Resource Name (ARN) of the state machine to execute.
newStartExecution :: Text -> StartExecution
-- | See: newStartExecutionResponse smart constructor.
data StartExecutionResponse
StartExecutionResponse' :: Int -> Text -> POSIX -> StartExecutionResponse
-- | Create a value of StartExecutionResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:StartExecutionResponse',
-- startExecutionResponse_httpStatus - The response's http status
-- code.
--
-- StartExecutionResponse,
-- startExecutionResponse_executionArn - The Amazon Resource Name
-- (ARN) that identifies the execution.
--
-- StartExecutionResponse, startExecutionResponse_startDate
-- - The date the execution is started.
newStartExecutionResponse :: Int -> Text -> UTCTime -> StartExecutionResponse
-- | See: newStartSyncExecution smart constructor.
data StartSyncExecution
StartSyncExecution' :: Maybe (Sensitive Text) -> Maybe Text -> Maybe Text -> Text -> StartSyncExecution
-- | Create a value of StartSyncExecution with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- StartSyncExecution, startSyncExecution_input - The
-- string that contains the JSON input data for the execution, for
-- example:
--
--
-- "input": "{\"first_name\" : \"test\"}"
--
--
-- If you don't include any JSON input data, you still must include the
-- two braces, for example: "input": "{}"
--
-- Length constraints apply to the payload size, and are expressed as
-- bytes in UTF-8 encoding.
--
-- StartSyncExecution, startSyncExecution_name - The name
-- of the execution.
--
-- StartSyncExecution, startSyncExecution_traceHeader -
-- Passes the X-Ray trace header. The trace header can also be passed in
-- the request payload.
--
-- StartSyncExecution, startSyncExecution_stateMachineArn -
-- The Amazon Resource Name (ARN) of the state machine to execute.
newStartSyncExecution :: Text -> StartSyncExecution
-- | See: newStartSyncExecutionResponse smart constructor.
data StartSyncExecutionResponse
StartSyncExecutionResponse' :: Maybe BillingDetails -> Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Maybe CloudWatchEventsExecutionDataDetails -> Maybe Text -> Maybe (Sensitive Text) -> Maybe CloudWatchEventsExecutionDataDetails -> Maybe Text -> Maybe Text -> Int -> Text -> POSIX -> POSIX -> SyncExecutionStatus -> StartSyncExecutionResponse
-- | Create a value of StartSyncExecutionResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:billingDetails:StartSyncExecutionResponse',
-- startSyncExecutionResponse_billingDetails - An object that
-- describes workflow billing details, including billed duration and
-- memory use.
--
-- StartSyncExecutionResponse,
-- startSyncExecutionResponse_cause - A more detailed explanation
-- of the cause of the failure.
--
-- StartSyncExecutionResponse,
-- startSyncExecutionResponse_error - The error code of the
-- failure.
--
-- StartSyncExecution, startSyncExecutionResponse_input -
-- The string that contains the JSON input data of the execution. Length
-- constraints apply to the payload size, and are expressed as bytes in
-- UTF-8 encoding.
--
-- StartSyncExecutionResponse,
-- startSyncExecutionResponse_inputDetails - Undocumented member.
--
-- StartSyncExecution, startSyncExecutionResponse_name -
-- The name of the execution.
--
-- StartSyncExecutionResponse,
-- startSyncExecutionResponse_output - The JSON output data of the
-- execution. Length constraints apply to the payload size, and are
-- expressed as bytes in UTF-8 encoding.
--
-- This field is set only if the execution succeeds. If the execution
-- fails, this field is null.
--
-- StartSyncExecutionResponse,
-- startSyncExecutionResponse_outputDetails - Undocumented member.
--
-- StartSyncExecution,
-- startSyncExecutionResponse_stateMachineArn - The Amazon
-- Resource Name (ARN) that identifies the state machine.
--
-- StartSyncExecution,
-- startSyncExecutionResponse_traceHeader - The X-Ray trace header
-- that was passed to the execution.
--
-- $sel:httpStatus:StartSyncExecutionResponse',
-- startSyncExecutionResponse_httpStatus - The response's http
-- status code.
--
-- StartSyncExecutionResponse,
-- startSyncExecutionResponse_executionArn - The Amazon Resource
-- Name (ARN) that identifies the execution.
--
-- StartSyncExecutionResponse,
-- startSyncExecutionResponse_startDate - The date the execution
-- is started.
--
-- StartSyncExecutionResponse,
-- startSyncExecutionResponse_stopDate - If the execution has
-- already ended, the date the execution stopped.
--
-- StartSyncExecutionResponse,
-- startSyncExecutionResponse_status - The current status of the
-- execution.
newStartSyncExecutionResponse :: Int -> Text -> UTCTime -> UTCTime -> SyncExecutionStatus -> StartSyncExecutionResponse
-- | See: newStopExecution smart constructor.
data StopExecution
StopExecution' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Text -> StopExecution
-- | Create a value of StopExecution with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- StopExecution, stopExecution_cause - A more detailed
-- explanation of the cause of the failure.
--
-- StopExecution, stopExecution_error - The error code of
-- the failure.
--
-- StopExecution, stopExecution_executionArn - The Amazon
-- Resource Name (ARN) of the execution to stop.
newStopExecution :: Text -> StopExecution
-- | See: newStopExecutionResponse smart constructor.
data StopExecutionResponse
StopExecutionResponse' :: Int -> POSIX -> StopExecutionResponse
-- | Create a value of StopExecutionResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:StopExecutionResponse',
-- stopExecutionResponse_httpStatus - The response's http status
-- code.
--
-- StopExecutionResponse, stopExecutionResponse_stopDate -
-- The date the execution is stopped.
newStopExecutionResponse :: Int -> UTCTime -> StopExecutionResponse
-- | See: newTagResource smart constructor.
data TagResource
TagResource' :: Text -> [Tag] -> TagResource
-- | Create a value of TagResource with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceArn:TagResource', tagResource_resourceArn -
-- The Amazon Resource Name (ARN) for the Step Functions state machine or
-- activity.
--
-- $sel:tags:TagResource', tagResource_tags - The list of
-- tags to add to a resource.
--
-- Tags may only contain Unicode letters, digits, white space, or these
-- symbols: _ . : / = + - @.
newTagResource :: Text -> TagResource
-- | See: newTagResourceResponse smart constructor.
data TagResourceResponse
TagResourceResponse' :: Int -> TagResourceResponse
-- | Create a value of TagResourceResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:TagResourceResponse',
-- tagResourceResponse_httpStatus - The response's http status
-- code.
newTagResourceResponse :: Int -> TagResourceResponse
-- | See: newUntagResource smart constructor.
data UntagResource
UntagResource' :: Text -> [Text] -> UntagResource
-- | Create a value of UntagResource with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceArn:UntagResource',
-- untagResource_resourceArn - The Amazon Resource Name (ARN) for
-- the Step Functions state machine or activity.
--
-- $sel:tagKeys:UntagResource', untagResource_tagKeys - The
-- list of tags to remove from the resource.
newUntagResource :: Text -> UntagResource
-- | See: newUntagResourceResponse smart constructor.
data UntagResourceResponse
UntagResourceResponse' :: Int -> UntagResourceResponse
-- | Create a value of UntagResourceResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:UntagResourceResponse',
-- untagResourceResponse_httpStatus - The response's http status
-- code.
newUntagResourceResponse :: Int -> UntagResourceResponse
-- | See: newUpdateMapRun smart constructor.
data UpdateMapRun
UpdateMapRun' :: Maybe Natural -> Maybe Natural -> Maybe Double -> Text -> UpdateMapRun
-- | Create a value of UpdateMapRun with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:maxConcurrency:UpdateMapRun',
-- updateMapRun_maxConcurrency - The maximum number of child
-- workflow executions that can be specified to run in parallel for the
-- Map Run at the same time.
--
-- $sel:toleratedFailureCount:UpdateMapRun',
-- updateMapRun_toleratedFailureCount - The maximum number of
-- failed items before the Map Run fails.
--
-- $sel:toleratedFailurePercentage:UpdateMapRun',
-- updateMapRun_toleratedFailurePercentage - The maximum
-- percentage of failed items before the Map Run fails.
--
-- UpdateMapRun, updateMapRun_mapRunArn - The Amazon
-- Resource Name (ARN) of a Map Run.
newUpdateMapRun :: Text -> UpdateMapRun
-- | See: newUpdateMapRunResponse smart constructor.
data UpdateMapRunResponse
UpdateMapRunResponse' :: Int -> UpdateMapRunResponse
-- | Create a value of UpdateMapRunResponse with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:UpdateMapRunResponse',
-- updateMapRunResponse_httpStatus - The response's http status
-- code.
newUpdateMapRunResponse :: Int -> UpdateMapRunResponse
-- | See: newUpdateStateMachine smart constructor.
data UpdateStateMachine
UpdateStateMachine' :: Maybe (Sensitive Text) -> Maybe LoggingConfiguration -> Maybe Text -> Maybe TracingConfiguration -> Text -> UpdateStateMachine
-- | Create a value of UpdateStateMachine with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:definition:UpdateStateMachine',
-- updateStateMachine_definition - The Amazon States Language
-- definition of the state machine. See Amazon States Language.
--
-- $sel:loggingConfiguration:UpdateStateMachine',
-- updateStateMachine_loggingConfiguration - The
-- LoggingConfiguration data type is used to set CloudWatch Logs
-- options.
--
-- UpdateStateMachine, updateStateMachine_roleArn - The
-- Amazon Resource Name (ARN) of the IAM role of the state machine.
--
-- $sel:tracingConfiguration:UpdateStateMachine',
-- updateStateMachine_tracingConfiguration - Selects whether X-Ray
-- tracing is enabled.
--
-- UpdateStateMachine, updateStateMachine_stateMachineArn -
-- The Amazon Resource Name (ARN) of the state machine.
newUpdateStateMachine :: Text -> UpdateStateMachine
-- | See: newUpdateStateMachineResponse smart constructor.
data UpdateStateMachineResponse
UpdateStateMachineResponse' :: Int -> POSIX -> UpdateStateMachineResponse
-- | Create a value of UpdateStateMachineResponse with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:httpStatus:UpdateStateMachineResponse',
-- updateStateMachineResponse_httpStatus - The response's http
-- status code.
--
-- $sel:updateDate:UpdateStateMachineResponse',
-- updateStateMachineResponse_updateDate - The date and time the
-- state machine was updated.
newUpdateStateMachineResponse :: Int -> UTCTime -> UpdateStateMachineResponse
newtype ExecutionStatus
ExecutionStatus' :: Text -> ExecutionStatus
[fromExecutionStatus] :: ExecutionStatus -> Text
pattern ExecutionStatus_ABORTED :: ExecutionStatus
pattern ExecutionStatus_FAILED :: ExecutionStatus
pattern ExecutionStatus_RUNNING :: ExecutionStatus
pattern ExecutionStatus_SUCCEEDED :: ExecutionStatus
pattern ExecutionStatus_TIMED_OUT :: ExecutionStatus
newtype HistoryEventType
HistoryEventType' :: Text -> HistoryEventType
[fromHistoryEventType] :: HistoryEventType -> Text
pattern HistoryEventType_ActivityFailed :: HistoryEventType
pattern HistoryEventType_ActivityScheduleFailed :: HistoryEventType
pattern HistoryEventType_ActivityScheduled :: HistoryEventType
pattern HistoryEventType_ActivityStarted :: HistoryEventType
pattern HistoryEventType_ActivitySucceeded :: HistoryEventType
pattern HistoryEventType_ActivityTimedOut :: HistoryEventType
pattern HistoryEventType_ChoiceStateEntered :: HistoryEventType
pattern HistoryEventType_ChoiceStateExited :: HistoryEventType
pattern HistoryEventType_ExecutionAborted :: HistoryEventType
pattern HistoryEventType_ExecutionFailed :: HistoryEventType
pattern HistoryEventType_ExecutionStarted :: HistoryEventType
pattern HistoryEventType_ExecutionSucceeded :: HistoryEventType
pattern HistoryEventType_ExecutionTimedOut :: HistoryEventType
pattern HistoryEventType_FailStateEntered :: HistoryEventType
pattern HistoryEventType_LambdaFunctionFailed :: HistoryEventType
pattern HistoryEventType_LambdaFunctionScheduleFailed :: HistoryEventType
pattern HistoryEventType_LambdaFunctionScheduled :: HistoryEventType
pattern HistoryEventType_LambdaFunctionStartFailed :: HistoryEventType
pattern HistoryEventType_LambdaFunctionStarted :: HistoryEventType
pattern HistoryEventType_LambdaFunctionSucceeded :: HistoryEventType
pattern HistoryEventType_LambdaFunctionTimedOut :: HistoryEventType
pattern HistoryEventType_MapIterationAborted :: HistoryEventType
pattern HistoryEventType_MapIterationFailed :: HistoryEventType
pattern HistoryEventType_MapIterationStarted :: HistoryEventType
pattern HistoryEventType_MapIterationSucceeded :: HistoryEventType
pattern HistoryEventType_MapRunAborted :: HistoryEventType
pattern HistoryEventType_MapRunFailed :: HistoryEventType
pattern HistoryEventType_MapRunStarted :: HistoryEventType
pattern HistoryEventType_MapRunSucceeded :: HistoryEventType
pattern HistoryEventType_MapStateAborted :: HistoryEventType
pattern HistoryEventType_MapStateEntered :: HistoryEventType
pattern HistoryEventType_MapStateExited :: HistoryEventType
pattern HistoryEventType_MapStateFailed :: HistoryEventType
pattern HistoryEventType_MapStateStarted :: HistoryEventType
pattern HistoryEventType_MapStateSucceeded :: HistoryEventType
pattern HistoryEventType_ParallelStateAborted :: HistoryEventType
pattern HistoryEventType_ParallelStateEntered :: HistoryEventType
pattern HistoryEventType_ParallelStateExited :: HistoryEventType
pattern HistoryEventType_ParallelStateFailed :: HistoryEventType
pattern HistoryEventType_ParallelStateStarted :: HistoryEventType
pattern HistoryEventType_ParallelStateSucceeded :: HistoryEventType
pattern HistoryEventType_PassStateEntered :: HistoryEventType
pattern HistoryEventType_PassStateExited :: HistoryEventType
pattern HistoryEventType_SucceedStateEntered :: HistoryEventType
pattern HistoryEventType_SucceedStateExited :: HistoryEventType
pattern HistoryEventType_TaskFailed :: HistoryEventType
pattern HistoryEventType_TaskScheduled :: HistoryEventType
pattern HistoryEventType_TaskStartFailed :: HistoryEventType
pattern HistoryEventType_TaskStarted :: HistoryEventType
pattern HistoryEventType_TaskStateAborted :: HistoryEventType
pattern HistoryEventType_TaskStateEntered :: HistoryEventType
pattern HistoryEventType_TaskStateExited :: HistoryEventType
pattern HistoryEventType_TaskSubmitFailed :: HistoryEventType
pattern HistoryEventType_TaskSubmitted :: HistoryEventType
pattern HistoryEventType_TaskSucceeded :: HistoryEventType
pattern HistoryEventType_TaskTimedOut :: HistoryEventType
pattern HistoryEventType_WaitStateAborted :: HistoryEventType
pattern HistoryEventType_WaitStateEntered :: HistoryEventType
pattern HistoryEventType_WaitStateExited :: HistoryEventType
newtype LogLevel
LogLevel' :: Text -> LogLevel
[fromLogLevel] :: LogLevel -> Text
pattern LogLevel_ALL :: LogLevel
pattern LogLevel_ERROR :: LogLevel
pattern LogLevel_FATAL :: LogLevel
pattern LogLevel_OFF :: LogLevel
newtype MapRunStatus
MapRunStatus' :: Text -> MapRunStatus
[fromMapRunStatus] :: MapRunStatus -> Text
pattern MapRunStatus_ABORTED :: MapRunStatus
pattern MapRunStatus_FAILED :: MapRunStatus
pattern MapRunStatus_RUNNING :: MapRunStatus
pattern MapRunStatus_SUCCEEDED :: MapRunStatus
newtype StateMachineStatus
StateMachineStatus' :: Text -> StateMachineStatus
[fromStateMachineStatus] :: StateMachineStatus -> Text
pattern StateMachineStatus_ACTIVE :: StateMachineStatus
pattern StateMachineStatus_DELETING :: StateMachineStatus
newtype StateMachineType
StateMachineType' :: Text -> StateMachineType
[fromStateMachineType] :: StateMachineType -> Text
pattern StateMachineType_EXPRESS :: StateMachineType
pattern StateMachineType_STANDARD :: StateMachineType
newtype SyncExecutionStatus
SyncExecutionStatus' :: Text -> SyncExecutionStatus
[fromSyncExecutionStatus] :: SyncExecutionStatus -> Text
pattern SyncExecutionStatus_FAILED :: SyncExecutionStatus
pattern SyncExecutionStatus_SUCCEEDED :: SyncExecutionStatus
pattern SyncExecutionStatus_TIMED_OUT :: SyncExecutionStatus
-- | Contains details about an activity that failed during an execution.
--
-- See: newActivityFailedEventDetails smart constructor.
data ActivityFailedEventDetails
ActivityFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> ActivityFailedEventDetails
-- | Create a value of ActivityFailedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:ActivityFailedEventDetails',
-- activityFailedEventDetails_cause - A more detailed explanation
-- of the cause of the failure.
--
-- $sel:error:ActivityFailedEventDetails',
-- activityFailedEventDetails_error - The error code of the
-- failure.
newActivityFailedEventDetails :: ActivityFailedEventDetails
-- | Contains details about an activity.
--
-- See: newActivityListItem smart constructor.
data ActivityListItem
ActivityListItem' :: Text -> Text -> POSIX -> ActivityListItem
-- | Create a value of ActivityListItem with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:activityArn:ActivityListItem',
-- activityListItem_activityArn - The Amazon Resource Name (ARN)
-- that identifies the activity.
--
-- $sel:name:ActivityListItem', activityListItem_name - The
-- name of the activity.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
--
-- $sel:creationDate:ActivityListItem',
-- activityListItem_creationDate - The date the activity is
-- created.
newActivityListItem :: Text -> Text -> UTCTime -> ActivityListItem
-- | Contains details about an activity schedule failure that occurred
-- during an execution.
--
-- See: newActivityScheduleFailedEventDetails smart
-- constructor.
data ActivityScheduleFailedEventDetails
ActivityScheduleFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> ActivityScheduleFailedEventDetails
-- | Create a value of ActivityScheduleFailedEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:ActivityScheduleFailedEventDetails',
-- activityScheduleFailedEventDetails_cause - A more detailed
-- explanation of the cause of the failure.
--
-- $sel:error:ActivityScheduleFailedEventDetails',
-- activityScheduleFailedEventDetails_error - The error code of
-- the failure.
newActivityScheduleFailedEventDetails :: ActivityScheduleFailedEventDetails
-- | Contains details about an activity scheduled during an execution.
--
-- See: newActivityScheduledEventDetails smart constructor.
data ActivityScheduledEventDetails
ActivityScheduledEventDetails' :: Maybe Integer -> Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> Maybe Integer -> Text -> ActivityScheduledEventDetails
-- | Create a value of ActivityScheduledEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:heartbeatInSeconds:ActivityScheduledEventDetails',
-- activityScheduledEventDetails_heartbeatInSeconds - The maximum
-- allowed duration between two heartbeats for the activity task.
--
-- $sel:input:ActivityScheduledEventDetails',
-- activityScheduledEventDetails_input - The JSON data input to
-- the activity task. Length constraints apply to the payload size, and
-- are expressed as bytes in UTF-8 encoding.
--
-- $sel:inputDetails:ActivityScheduledEventDetails',
-- activityScheduledEventDetails_inputDetails - Contains details
-- about the input for an execution history event.
--
-- $sel:timeoutInSeconds:ActivityScheduledEventDetails',
-- activityScheduledEventDetails_timeoutInSeconds - The maximum
-- allowed duration of the activity task.
--
-- $sel:resource:ActivityScheduledEventDetails',
-- activityScheduledEventDetails_resource - The Amazon Resource
-- Name (ARN) of the scheduled activity.
newActivityScheduledEventDetails :: Text -> ActivityScheduledEventDetails
-- | Contains details about the start of an activity during an execution.
--
-- See: newActivityStartedEventDetails smart constructor.
data ActivityStartedEventDetails
ActivityStartedEventDetails' :: Maybe Text -> ActivityStartedEventDetails
-- | Create a value of ActivityStartedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:workerName:ActivityStartedEventDetails',
-- activityStartedEventDetails_workerName - The name of the worker
-- that the task is assigned to. These names are provided by the workers
-- when calling GetActivityTask.
newActivityStartedEventDetails :: ActivityStartedEventDetails
-- | Contains details about an activity that successfully terminated during
-- an execution.
--
-- See: newActivitySucceededEventDetails smart constructor.
data ActivitySucceededEventDetails
ActivitySucceededEventDetails' :: Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> ActivitySucceededEventDetails
-- | Create a value of ActivitySucceededEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:output:ActivitySucceededEventDetails',
-- activitySucceededEventDetails_output - The JSON data output by
-- the activity task. Length constraints apply to the payload size, and
-- are expressed as bytes in UTF-8 encoding.
--
-- $sel:outputDetails:ActivitySucceededEventDetails',
-- activitySucceededEventDetails_outputDetails - Contains details
-- about the output of an execution history event.
newActivitySucceededEventDetails :: ActivitySucceededEventDetails
-- | Contains details about an activity timeout that occurred during an
-- execution.
--
-- See: newActivityTimedOutEventDetails smart constructor.
data ActivityTimedOutEventDetails
ActivityTimedOutEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> ActivityTimedOutEventDetails
-- | Create a value of ActivityTimedOutEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:ActivityTimedOutEventDetails',
-- activityTimedOutEventDetails_cause - A more detailed
-- explanation of the cause of the timeout.
--
-- $sel:error:ActivityTimedOutEventDetails',
-- activityTimedOutEventDetails_error - The error code of the
-- failure.
newActivityTimedOutEventDetails :: ActivityTimedOutEventDetails
-- | An object that describes workflow billing details.
--
-- See: newBillingDetails smart constructor.
data BillingDetails
BillingDetails' :: Maybe Natural -> Maybe Natural -> BillingDetails
-- | Create a value of BillingDetails with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:billedDurationInMilliseconds:BillingDetails',
-- billingDetails_billedDurationInMilliseconds - Billed duration
-- of your workflow, in milliseconds.
--
-- $sel:billedMemoryUsedInMB:BillingDetails',
-- billingDetails_billedMemoryUsedInMB - Billed memory consumption
-- of your workflow, in MB.
newBillingDetails :: BillingDetails
-- | Provides details about execution input or output.
--
-- See: newCloudWatchEventsExecutionDataDetails smart
-- constructor.
data CloudWatchEventsExecutionDataDetails
CloudWatchEventsExecutionDataDetails' :: Maybe Bool -> CloudWatchEventsExecutionDataDetails
-- | Create a value of CloudWatchEventsExecutionDataDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:included:CloudWatchEventsExecutionDataDetails',
-- cloudWatchEventsExecutionDataDetails_included - Indicates
-- whether input or output was included in the response. Always
-- true for API calls.
newCloudWatchEventsExecutionDataDetails :: CloudWatchEventsExecutionDataDetails
-- | See: newCloudWatchLogsLogGroup smart constructor.
data CloudWatchLogsLogGroup
CloudWatchLogsLogGroup' :: Maybe Text -> CloudWatchLogsLogGroup
-- | Create a value of CloudWatchLogsLogGroup with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:logGroupArn:CloudWatchLogsLogGroup',
-- cloudWatchLogsLogGroup_logGroupArn - The ARN of the the
-- CloudWatch log group to which you want your logs emitted to. The ARN
-- must end with :*
newCloudWatchLogsLogGroup :: CloudWatchLogsLogGroup
-- | Contains details about an abort of an execution.
--
-- See: newExecutionAbortedEventDetails smart constructor.
data ExecutionAbortedEventDetails
ExecutionAbortedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> ExecutionAbortedEventDetails
-- | Create a value of ExecutionAbortedEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:ExecutionAbortedEventDetails',
-- executionAbortedEventDetails_cause - A more detailed
-- explanation of the cause of the failure.
--
-- $sel:error:ExecutionAbortedEventDetails',
-- executionAbortedEventDetails_error - The error code of the
-- failure.
newExecutionAbortedEventDetails :: ExecutionAbortedEventDetails
-- | Contains details about an execution failure event.
--
-- See: newExecutionFailedEventDetails smart constructor.
data ExecutionFailedEventDetails
ExecutionFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> ExecutionFailedEventDetails
-- | Create a value of ExecutionFailedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:ExecutionFailedEventDetails',
-- executionFailedEventDetails_cause - A more detailed explanation
-- of the cause of the failure.
--
-- $sel:error:ExecutionFailedEventDetails',
-- executionFailedEventDetails_error - The error code of the
-- failure.
newExecutionFailedEventDetails :: ExecutionFailedEventDetails
-- | Contains details about an execution.
--
-- See: newExecutionListItem smart constructor.
data ExecutionListItem
ExecutionListItem' :: Maybe Natural -> Maybe Text -> Maybe POSIX -> Text -> Text -> Text -> ExecutionStatus -> POSIX -> ExecutionListItem
-- | Create a value of ExecutionListItem with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:itemCount:ExecutionListItem',
-- executionListItem_itemCount - The total number of items
-- processed in a child workflow execution. This field is returned only
-- if mapRunArn was specified in the ListExecutions API
-- action. If stateMachineArn was specified in
-- ListExecutions, the itemCount field isn't returned.
--
-- $sel:mapRunArn:ExecutionListItem',
-- executionListItem_mapRunArn - The Amazon Resource Name (ARN) of
-- a Map Run. This field is returned only if mapRunArn was
-- specified in the ListExecutions API action. If
-- stateMachineArn was specified in ListExecutions, the
-- mapRunArn isn't returned.
--
-- $sel:stopDate:ExecutionListItem',
-- executionListItem_stopDate - If the execution already ended,
-- the date the execution stopped.
--
-- $sel:executionArn:ExecutionListItem',
-- executionListItem_executionArn - The Amazon Resource Name (ARN)
-- that identifies the execution.
--
-- $sel:stateMachineArn:ExecutionListItem',
-- executionListItem_stateMachineArn - The Amazon Resource Name
-- (ARN) of the executed state machine.
--
-- $sel:name:ExecutionListItem', executionListItem_name -
-- The name of the execution.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
--
-- $sel:status:ExecutionListItem', executionListItem_status
-- - The current status of the execution.
--
-- $sel:startDate:ExecutionListItem',
-- executionListItem_startDate - The date the execution started.
newExecutionListItem :: Text -> Text -> Text -> ExecutionStatus -> UTCTime -> ExecutionListItem
-- | Contains details about the start of the execution.
--
-- See: newExecutionStartedEventDetails smart constructor.
data ExecutionStartedEventDetails
ExecutionStartedEventDetails' :: Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> Maybe Text -> ExecutionStartedEventDetails
-- | Create a value of ExecutionStartedEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:input:ExecutionStartedEventDetails',
-- executionStartedEventDetails_input - The JSON data input to the
-- execution. Length constraints apply to the payload size, and are
-- expressed as bytes in UTF-8 encoding.
--
-- $sel:inputDetails:ExecutionStartedEventDetails',
-- executionStartedEventDetails_inputDetails - Contains details
-- about the input for an execution history event.
--
-- $sel:roleArn:ExecutionStartedEventDetails',
-- executionStartedEventDetails_roleArn - The Amazon Resource Name
-- (ARN) of the IAM role used for executing Lambda tasks.
newExecutionStartedEventDetails :: ExecutionStartedEventDetails
-- | Contains details about the successful termination of the execution.
--
-- See: newExecutionSucceededEventDetails smart
-- constructor.
data ExecutionSucceededEventDetails
ExecutionSucceededEventDetails' :: Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> ExecutionSucceededEventDetails
-- | Create a value of ExecutionSucceededEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:output:ExecutionSucceededEventDetails',
-- executionSucceededEventDetails_output - The JSON data output by
-- the execution. Length constraints apply to the payload size, and are
-- expressed as bytes in UTF-8 encoding.
--
-- $sel:outputDetails:ExecutionSucceededEventDetails',
-- executionSucceededEventDetails_outputDetails - Contains details
-- about the output of an execution history event.
newExecutionSucceededEventDetails :: ExecutionSucceededEventDetails
-- | Contains details about the execution timeout that occurred during the
-- execution.
--
-- See: newExecutionTimedOutEventDetails smart constructor.
data ExecutionTimedOutEventDetails
ExecutionTimedOutEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> ExecutionTimedOutEventDetails
-- | Create a value of ExecutionTimedOutEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:ExecutionTimedOutEventDetails',
-- executionTimedOutEventDetails_cause - A more detailed
-- explanation of the cause of the timeout.
--
-- $sel:error:ExecutionTimedOutEventDetails',
-- executionTimedOutEventDetails_error - The error code of the
-- failure.
newExecutionTimedOutEventDetails :: ExecutionTimedOutEventDetails
-- | Contains details about the events of an execution.
--
-- See: newHistoryEvent smart constructor.
data HistoryEvent
HistoryEvent' :: Maybe ActivityFailedEventDetails -> Maybe ActivityScheduleFailedEventDetails -> Maybe ActivityScheduledEventDetails -> Maybe ActivityStartedEventDetails -> Maybe ActivitySucceededEventDetails -> Maybe ActivityTimedOutEventDetails -> Maybe ExecutionAbortedEventDetails -> Maybe ExecutionFailedEventDetails -> Maybe ExecutionStartedEventDetails -> Maybe ExecutionSucceededEventDetails -> Maybe ExecutionTimedOutEventDetails -> Maybe LambdaFunctionFailedEventDetails -> Maybe LambdaFunctionScheduleFailedEventDetails -> Maybe LambdaFunctionScheduledEventDetails -> Maybe LambdaFunctionStartFailedEventDetails -> Maybe LambdaFunctionSucceededEventDetails -> Maybe LambdaFunctionTimedOutEventDetails -> Maybe MapIterationEventDetails -> Maybe MapIterationEventDetails -> Maybe MapIterationEventDetails -> Maybe MapIterationEventDetails -> Maybe MapRunFailedEventDetails -> Maybe MapRunStartedEventDetails -> Maybe MapStateStartedEventDetails -> Maybe Integer -> Maybe StateEnteredEventDetails -> Maybe StateExitedEventDetails -> Maybe TaskFailedEventDetails -> Maybe TaskScheduledEventDetails -> Maybe TaskStartFailedEventDetails -> Maybe TaskStartedEventDetails -> Maybe TaskSubmitFailedEventDetails -> Maybe TaskSubmittedEventDetails -> Maybe TaskSucceededEventDetails -> Maybe TaskTimedOutEventDetails -> POSIX -> HistoryEventType -> Integer -> HistoryEvent
-- | Create a value of HistoryEvent with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:activityFailedEventDetails:HistoryEvent',
-- historyEvent_activityFailedEventDetails - Undocumented member.
--
-- $sel:activityScheduleFailedEventDetails:HistoryEvent',
-- historyEvent_activityScheduleFailedEventDetails - Contains
-- details about an activity schedule event that failed during an
-- execution.
--
-- $sel:activityScheduledEventDetails:HistoryEvent',
-- historyEvent_activityScheduledEventDetails - Undocumented
-- member.
--
-- $sel:activityStartedEventDetails:HistoryEvent',
-- historyEvent_activityStartedEventDetails - Undocumented member.
--
-- $sel:activitySucceededEventDetails:HistoryEvent',
-- historyEvent_activitySucceededEventDetails - Undocumented
-- member.
--
-- $sel:activityTimedOutEventDetails:HistoryEvent',
-- historyEvent_activityTimedOutEventDetails - Undocumented
-- member.
--
-- $sel:executionAbortedEventDetails:HistoryEvent',
-- historyEvent_executionAbortedEventDetails - Undocumented
-- member.
--
-- $sel:executionFailedEventDetails:HistoryEvent',
-- historyEvent_executionFailedEventDetails - Undocumented member.
--
-- $sel:executionStartedEventDetails:HistoryEvent',
-- historyEvent_executionStartedEventDetails - Undocumented
-- member.
--
-- $sel:executionSucceededEventDetails:HistoryEvent',
-- historyEvent_executionSucceededEventDetails - Undocumented
-- member.
--
-- $sel:executionTimedOutEventDetails:HistoryEvent',
-- historyEvent_executionTimedOutEventDetails - Undocumented
-- member.
--
-- $sel:lambdaFunctionFailedEventDetails:HistoryEvent',
-- historyEvent_lambdaFunctionFailedEventDetails - Undocumented
-- member.
--
-- $sel:lambdaFunctionScheduleFailedEventDetails:HistoryEvent',
-- historyEvent_lambdaFunctionScheduleFailedEventDetails -
-- Undocumented member.
--
-- $sel:lambdaFunctionScheduledEventDetails:HistoryEvent',
-- historyEvent_lambdaFunctionScheduledEventDetails - Undocumented
-- member.
--
-- $sel:lambdaFunctionStartFailedEventDetails:HistoryEvent',
-- historyEvent_lambdaFunctionStartFailedEventDetails - Contains
-- details about a lambda function that failed to start during an
-- execution.
--
-- $sel:lambdaFunctionSucceededEventDetails:HistoryEvent',
-- historyEvent_lambdaFunctionSucceededEventDetails - Contains
-- details about a Lambda function that terminated successfully during an
-- execution.
--
-- $sel:lambdaFunctionTimedOutEventDetails:HistoryEvent',
-- historyEvent_lambdaFunctionTimedOutEventDetails - Undocumented
-- member.
--
-- $sel:mapIterationAbortedEventDetails:HistoryEvent',
-- historyEvent_mapIterationAbortedEventDetails - Contains details
-- about an iteration of a Map state that was aborted.
--
-- $sel:mapIterationFailedEventDetails:HistoryEvent',
-- historyEvent_mapIterationFailedEventDetails - Contains details
-- about an iteration of a Map state that failed.
--
-- $sel:mapIterationStartedEventDetails:HistoryEvent',
-- historyEvent_mapIterationStartedEventDetails - Contains details
-- about an iteration of a Map state that was started.
--
-- $sel:mapIterationSucceededEventDetails:HistoryEvent',
-- historyEvent_mapIterationSucceededEventDetails - Contains
-- details about an iteration of a Map state that succeeded.
--
-- $sel:mapRunFailedEventDetails:HistoryEvent',
-- historyEvent_mapRunFailedEventDetails - Contains error and
-- cause details about a Map Run that failed.
--
-- $sel:mapRunStartedEventDetails:HistoryEvent',
-- historyEvent_mapRunStartedEventDetails - Contains details, such
-- as mapRunArn, and the start date and time of a Map Run.
-- mapRunArn is the Amazon Resource Name (ARN) of the Map Run
-- that was started.
--
-- $sel:mapStateStartedEventDetails:HistoryEvent',
-- historyEvent_mapStateStartedEventDetails - Contains details
-- about Map state that was started.
--
-- $sel:previousEventId:HistoryEvent',
-- historyEvent_previousEventId - The id of the previous event.
--
-- $sel:stateEnteredEventDetails:HistoryEvent',
-- historyEvent_stateEnteredEventDetails - Undocumented member.
--
-- $sel:stateExitedEventDetails:HistoryEvent',
-- historyEvent_stateExitedEventDetails - Undocumented member.
--
-- $sel:taskFailedEventDetails:HistoryEvent',
-- historyEvent_taskFailedEventDetails - Contains details about
-- the failure of a task.
--
-- $sel:taskScheduledEventDetails:HistoryEvent',
-- historyEvent_taskScheduledEventDetails - Contains details about
-- a task that was scheduled.
--
-- $sel:taskStartFailedEventDetails:HistoryEvent',
-- historyEvent_taskStartFailedEventDetails - Contains details
-- about a task that failed to start.
--
-- $sel:taskStartedEventDetails:HistoryEvent',
-- historyEvent_taskStartedEventDetails - Contains details about a
-- task that was started.
--
-- $sel:taskSubmitFailedEventDetails:HistoryEvent',
-- historyEvent_taskSubmitFailedEventDetails - Contains details
-- about a task that where the submit failed.
--
-- $sel:taskSubmittedEventDetails:HistoryEvent',
-- historyEvent_taskSubmittedEventDetails - Contains details about
-- a submitted task.
--
-- $sel:taskSucceededEventDetails:HistoryEvent',
-- historyEvent_taskSucceededEventDetails - Contains details about
-- a task that succeeded.
--
-- $sel:taskTimedOutEventDetails:HistoryEvent',
-- historyEvent_taskTimedOutEventDetails - Contains details about
-- a task that timed out.
--
-- $sel:timestamp:HistoryEvent', historyEvent_timestamp -
-- The date and time the event occurred.
--
-- $sel:type':HistoryEvent', historyEvent_type - The type
-- of the event.
--
-- $sel:id:HistoryEvent', historyEvent_id - The id of the
-- event. Events are numbered sequentially, starting at one.
newHistoryEvent :: UTCTime -> HistoryEventType -> Integer -> HistoryEvent
-- | Provides details about input or output in an execution history event.
--
-- See: newHistoryEventExecutionDataDetails smart
-- constructor.
data HistoryEventExecutionDataDetails
HistoryEventExecutionDataDetails' :: Maybe Bool -> HistoryEventExecutionDataDetails
-- | Create a value of HistoryEventExecutionDataDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:truncated:HistoryEventExecutionDataDetails',
-- historyEventExecutionDataDetails_truncated - Indicates whether
-- input or output was truncated in the response. Always false
-- for API calls.
newHistoryEventExecutionDataDetails :: HistoryEventExecutionDataDetails
-- | Contains details about a Lambda function that failed during an
-- execution.
--
-- See: newLambdaFunctionFailedEventDetails smart
-- constructor.
data LambdaFunctionFailedEventDetails
LambdaFunctionFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> LambdaFunctionFailedEventDetails
-- | Create a value of LambdaFunctionFailedEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:LambdaFunctionFailedEventDetails',
-- lambdaFunctionFailedEventDetails_cause - A more detailed
-- explanation of the cause of the failure.
--
-- $sel:error:LambdaFunctionFailedEventDetails',
-- lambdaFunctionFailedEventDetails_error - The error code of the
-- failure.
newLambdaFunctionFailedEventDetails :: LambdaFunctionFailedEventDetails
-- | Contains details about a failed Lambda function schedule event that
-- occurred during an execution.
--
-- See: newLambdaFunctionScheduleFailedEventDetails smart
-- constructor.
data LambdaFunctionScheduleFailedEventDetails
LambdaFunctionScheduleFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> LambdaFunctionScheduleFailedEventDetails
-- | Create a value of LambdaFunctionScheduleFailedEventDetails with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:LambdaFunctionScheduleFailedEventDetails',
-- lambdaFunctionScheduleFailedEventDetails_cause - A more
-- detailed explanation of the cause of the failure.
--
-- $sel:error:LambdaFunctionScheduleFailedEventDetails',
-- lambdaFunctionScheduleFailedEventDetails_error - The error code
-- of the failure.
newLambdaFunctionScheduleFailedEventDetails :: LambdaFunctionScheduleFailedEventDetails
-- | Contains details about a Lambda function scheduled during an
-- execution.
--
-- See: newLambdaFunctionScheduledEventDetails smart
-- constructor.
data LambdaFunctionScheduledEventDetails
LambdaFunctionScheduledEventDetails' :: Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> Maybe TaskCredentials -> Maybe Integer -> Text -> LambdaFunctionScheduledEventDetails
-- | Create a value of LambdaFunctionScheduledEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:input:LambdaFunctionScheduledEventDetails',
-- lambdaFunctionScheduledEventDetails_input - The JSON data input
-- to the Lambda function. Length constraints apply to the payload size,
-- and are expressed as bytes in UTF-8 encoding.
--
-- $sel:inputDetails:LambdaFunctionScheduledEventDetails',
-- lambdaFunctionScheduledEventDetails_inputDetails - Contains
-- details about input for an execution history event.
--
-- $sel:taskCredentials:LambdaFunctionScheduledEventDetails',
-- lambdaFunctionScheduledEventDetails_taskCredentials - The
-- credentials that Step Functions uses for the task.
--
-- $sel:timeoutInSeconds:LambdaFunctionScheduledEventDetails',
-- lambdaFunctionScheduledEventDetails_timeoutInSeconds - The
-- maximum allowed duration of the Lambda function.
--
-- $sel:resource:LambdaFunctionScheduledEventDetails',
-- lambdaFunctionScheduledEventDetails_resource - The Amazon
-- Resource Name (ARN) of the scheduled Lambda function.
newLambdaFunctionScheduledEventDetails :: Text -> LambdaFunctionScheduledEventDetails
-- | Contains details about a lambda function that failed to start during
-- an execution.
--
-- See: newLambdaFunctionStartFailedEventDetails smart
-- constructor.
data LambdaFunctionStartFailedEventDetails
LambdaFunctionStartFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> LambdaFunctionStartFailedEventDetails
-- | Create a value of LambdaFunctionStartFailedEventDetails with
-- all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:LambdaFunctionStartFailedEventDetails',
-- lambdaFunctionStartFailedEventDetails_cause - A more detailed
-- explanation of the cause of the failure.
--
-- $sel:error:LambdaFunctionStartFailedEventDetails',
-- lambdaFunctionStartFailedEventDetails_error - The error code of
-- the failure.
newLambdaFunctionStartFailedEventDetails :: LambdaFunctionStartFailedEventDetails
-- | Contains details about a Lambda function that successfully terminated
-- during an execution.
--
-- See: newLambdaFunctionSucceededEventDetails smart
-- constructor.
data LambdaFunctionSucceededEventDetails
LambdaFunctionSucceededEventDetails' :: Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> LambdaFunctionSucceededEventDetails
-- | Create a value of LambdaFunctionSucceededEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:output:LambdaFunctionSucceededEventDetails',
-- lambdaFunctionSucceededEventDetails_output - The JSON data
-- output by the Lambda function. Length constraints apply to the payload
-- size, and are expressed as bytes in UTF-8 encoding.
--
-- $sel:outputDetails:LambdaFunctionSucceededEventDetails',
-- lambdaFunctionSucceededEventDetails_outputDetails - Contains
-- details about the output of an execution history event.
newLambdaFunctionSucceededEventDetails :: LambdaFunctionSucceededEventDetails
-- | Contains details about a Lambda function timeout that occurred during
-- an execution.
--
-- See: newLambdaFunctionTimedOutEventDetails smart
-- constructor.
data LambdaFunctionTimedOutEventDetails
LambdaFunctionTimedOutEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> LambdaFunctionTimedOutEventDetails
-- | Create a value of LambdaFunctionTimedOutEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:LambdaFunctionTimedOutEventDetails',
-- lambdaFunctionTimedOutEventDetails_cause - A more detailed
-- explanation of the cause of the timeout.
--
-- $sel:error:LambdaFunctionTimedOutEventDetails',
-- lambdaFunctionTimedOutEventDetails_error - The error code of
-- the failure.
newLambdaFunctionTimedOutEventDetails :: LambdaFunctionTimedOutEventDetails
-- | See: newLogDestination smart constructor.
data LogDestination
LogDestination' :: Maybe CloudWatchLogsLogGroup -> LogDestination
-- | Create a value of LogDestination with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cloudWatchLogsLogGroup:LogDestination',
-- logDestination_cloudWatchLogsLogGroup - An object describing a
-- CloudWatch log group. For more information, see
-- AWS::Logs::LogGroup in the CloudFormation User Guide.
newLogDestination :: LogDestination
-- | The LoggingConfiguration data type is used to set CloudWatch
-- Logs options.
--
-- See: newLoggingConfiguration smart constructor.
data LoggingConfiguration
LoggingConfiguration' :: Maybe [LogDestination] -> Maybe Bool -> Maybe LogLevel -> LoggingConfiguration
-- | Create a value of LoggingConfiguration with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:destinations:LoggingConfiguration',
-- loggingConfiguration_destinations - An array of objects that
-- describes where your execution history events will be logged. Limited
-- to size 1. Required, if your log level is not set to OFF.
--
-- $sel:includeExecutionData:LoggingConfiguration',
-- loggingConfiguration_includeExecutionData - Determines whether
-- execution data is included in your log. When set to false,
-- data is excluded.
--
-- $sel:level:LoggingConfiguration',
-- loggingConfiguration_level - Defines which category of
-- execution history events are logged.
newLoggingConfiguration :: LoggingConfiguration
-- | Contains details about an iteration of a Map state.
--
-- See: newMapIterationEventDetails smart constructor.
data MapIterationEventDetails
MapIterationEventDetails' :: Maybe Natural -> Maybe Text -> MapIterationEventDetails
-- | Create a value of MapIterationEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:index:MapIterationEventDetails',
-- mapIterationEventDetails_index - The index of the array
-- belonging to the Map state iteration.
--
-- $sel:name:MapIterationEventDetails',
-- mapIterationEventDetails_name - The name of the iteration’s
-- parent Map state.
newMapIterationEventDetails :: MapIterationEventDetails
-- | Contains details about all of the child workflow executions started by
-- a Map Run.
--
-- See: newMapRunExecutionCounts smart constructor.
data MapRunExecutionCounts
MapRunExecutionCounts' :: Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> MapRunExecutionCounts
-- | Create a value of MapRunExecutionCounts with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:pending:MapRunExecutionCounts',
-- mapRunExecutionCounts_pending - The total number of child
-- workflow executions that were started by a Map Run, but haven't
-- started executing yet.
--
-- $sel:running:MapRunExecutionCounts',
-- mapRunExecutionCounts_running - The total number of child
-- workflow executions that were started by a Map Run and are currently
-- in-progress.
--
-- $sel:succeeded:MapRunExecutionCounts',
-- mapRunExecutionCounts_succeeded - The total number of child
-- workflow executions that were started by a Map Run and have completed
-- successfully.
--
-- $sel:failed:MapRunExecutionCounts',
-- mapRunExecutionCounts_failed - The total number of child
-- workflow executions that were started by a Map Run, but have failed.
--
-- $sel:timedOut:MapRunExecutionCounts',
-- mapRunExecutionCounts_timedOut - The total number of child
-- workflow executions that were started by a Map Run and have timed out.
--
-- $sel:aborted:MapRunExecutionCounts',
-- mapRunExecutionCounts_aborted - The total number of child
-- workflow executions that were started by a Map Run and were running,
-- but were either stopped by the user or by Step Functions because the
-- Map Run failed.
--
-- $sel:total:MapRunExecutionCounts',
-- mapRunExecutionCounts_total - The total number of child
-- workflow executions that were started by a Map Run.
--
-- $sel:resultsWritten:MapRunExecutionCounts',
-- mapRunExecutionCounts_resultsWritten - Returns the count of
-- child workflow executions whose results were written by
-- ResultWriter. For more information, see ResultWriter
-- in the Step Functions Developer Guide.
newMapRunExecutionCounts :: Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> MapRunExecutionCounts
-- | Contains details about a Map Run failure event that occurred during a
-- state machine execution.
--
-- See: newMapRunFailedEventDetails smart constructor.
data MapRunFailedEventDetails
MapRunFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> MapRunFailedEventDetails
-- | Create a value of MapRunFailedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:MapRunFailedEventDetails',
-- mapRunFailedEventDetails_cause - A more detailed explanation of
-- the cause of the failure.
--
-- $sel:error:MapRunFailedEventDetails',
-- mapRunFailedEventDetails_error - The error code of the Map Run
-- failure.
newMapRunFailedEventDetails :: MapRunFailedEventDetails
-- | Contains details about items that were processed in all of the child
-- workflow executions that were started by a Map Run.
--
-- See: newMapRunItemCounts smart constructor.
data MapRunItemCounts
MapRunItemCounts' :: Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> MapRunItemCounts
-- | Create a value of MapRunItemCounts with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:pending:MapRunItemCounts', mapRunItemCounts_pending
-- - The total number of items to process in child workflow executions
-- that haven't started running yet.
--
-- $sel:running:MapRunItemCounts', mapRunItemCounts_running
-- - The total number of items being processed in child workflow
-- executions that are currently in-progress.
--
-- $sel:succeeded:MapRunItemCounts',
-- mapRunItemCounts_succeeded - The total number of items
-- processed in child workflow executions that have completed
-- successfully.
--
-- $sel:failed:MapRunItemCounts', mapRunItemCounts_failed -
-- The total number of items processed in child workflow executions that
-- have failed.
--
-- $sel:timedOut:MapRunItemCounts',
-- mapRunItemCounts_timedOut - The total number of items processed
-- in child workflow executions that have timed out.
--
-- $sel:aborted:MapRunItemCounts', mapRunItemCounts_aborted
-- - The total number of items processed in child workflow executions
-- that were either stopped by the user or by Step Functions, because the
-- Map Run failed.
--
-- $sel:total:MapRunItemCounts', mapRunItemCounts_total -
-- The total number of items processed in all the child workflow
-- executions started by a Map Run.
--
-- $sel:resultsWritten:MapRunItemCounts',
-- mapRunItemCounts_resultsWritten - Returns the count of items
-- whose results were written by ResultWriter. For more
-- information, see ResultWriter in the Step Functions
-- Developer Guide.
newMapRunItemCounts :: Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> Natural -> MapRunItemCounts
-- | Contains details about a specific Map Run.
--
-- See: newMapRunListItem smart constructor.
data MapRunListItem
MapRunListItem' :: Maybe POSIX -> Text -> Text -> Text -> POSIX -> MapRunListItem
-- | Create a value of MapRunListItem with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:stopDate:MapRunListItem', mapRunListItem_stopDate -
-- The date on which the Map Run stopped.
--
-- $sel:executionArn:MapRunListItem',
-- mapRunListItem_executionArn - The executionArn of the
-- execution from which the Map Run was started.
--
-- $sel:mapRunArn:MapRunListItem', mapRunListItem_mapRunArn
-- - The Amazon Resource Name (ARN) of the Map Run.
--
-- $sel:stateMachineArn:MapRunListItem',
-- mapRunListItem_stateMachineArn - The Amazon Resource Name (ARN)
-- of the executed state machine.
--
-- $sel:startDate:MapRunListItem', mapRunListItem_startDate
-- - The date on which the Map Run started.
newMapRunListItem :: Text -> Text -> Text -> UTCTime -> MapRunListItem
-- | Contains details about a Map Run that was started during a state
-- machine execution.
--
-- See: newMapRunStartedEventDetails smart constructor.
data MapRunStartedEventDetails
MapRunStartedEventDetails' :: Maybe Text -> MapRunStartedEventDetails
-- | Create a value of MapRunStartedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:mapRunArn:MapRunStartedEventDetails',
-- mapRunStartedEventDetails_mapRunArn - The Amazon Resource Name
-- (ARN) of a Map Run that was started.
newMapRunStartedEventDetails :: MapRunStartedEventDetails
-- | Details about a Map state that was started.
--
-- See: newMapStateStartedEventDetails smart constructor.
data MapStateStartedEventDetails
MapStateStartedEventDetails' :: Maybe Natural -> MapStateStartedEventDetails
-- | Create a value of MapStateStartedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:length:MapStateStartedEventDetails',
-- mapStateStartedEventDetails_length - The size of the array for
-- Map state iterations.
newMapStateStartedEventDetails :: MapStateStartedEventDetails
-- | Contains details about a state entered during an execution.
--
-- See: newStateEnteredEventDetails smart constructor.
data StateEnteredEventDetails
StateEnteredEventDetails' :: Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> Text -> StateEnteredEventDetails
-- | Create a value of StateEnteredEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:input:StateEnteredEventDetails',
-- stateEnteredEventDetails_input - The string that contains the
-- JSON input data for the state. Length constraints apply to the payload
-- size, and are expressed as bytes in UTF-8 encoding.
--
-- $sel:inputDetails:StateEnteredEventDetails',
-- stateEnteredEventDetails_inputDetails - Contains details about
-- the input for an execution history event.
--
-- $sel:name:StateEnteredEventDetails',
-- stateEnteredEventDetails_name - The name of the state.
newStateEnteredEventDetails :: Text -> StateEnteredEventDetails
-- | Contains details about an exit from a state during an execution.
--
-- See: newStateExitedEventDetails smart constructor.
data StateExitedEventDetails
StateExitedEventDetails' :: Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> Text -> StateExitedEventDetails
-- | Create a value of StateExitedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:output:StateExitedEventDetails',
-- stateExitedEventDetails_output - The JSON output data of the
-- state. Length constraints apply to the payload size, and are expressed
-- as bytes in UTF-8 encoding.
--
-- $sel:outputDetails:StateExitedEventDetails',
-- stateExitedEventDetails_outputDetails - Contains details about
-- the output of an execution history event.
--
-- $sel:name:StateExitedEventDetails',
-- stateExitedEventDetails_name - The name of the state.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
newStateExitedEventDetails :: Text -> StateExitedEventDetails
-- | Contains details about the state machine.
--
-- See: newStateMachineListItem smart constructor.
data StateMachineListItem
StateMachineListItem' :: Text -> Text -> StateMachineType -> POSIX -> StateMachineListItem
-- | Create a value of StateMachineListItem with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:stateMachineArn:StateMachineListItem',
-- stateMachineListItem_stateMachineArn - The Amazon Resource Name
-- (ARN) that identifies the state machine.
--
-- $sel:name:StateMachineListItem',
-- stateMachineListItem_name - The name of the state machine.
--
-- A name must not contain:
--
--
-- - white space
-- - brackets < > { } [ ]
-- - wildcard characters ? *
-- - special characters " # % \ ^ | ~ ` $ & , ; : /
-- - control characters (U+0000-001F,
-- U+007F-009F)
--
--
-- To enable logging with CloudWatch Logs, the name should only contain
-- 0-9, A-Z, a-z, - and _.
--
-- $sel:type':StateMachineListItem',
-- stateMachineListItem_type -
--
-- $sel:creationDate:StateMachineListItem',
-- stateMachineListItem_creationDate - The date the state machine
-- is created.
newStateMachineListItem :: Text -> Text -> StateMachineType -> UTCTime -> StateMachineListItem
-- | Tags are key-value pairs that can be associated with Step Functions
-- state machines and activities.
--
-- An array of key-value pairs. For more information, see Using Cost
-- Allocation Tags in the Amazon Web Services Billing and Cost
-- Management User Guide, and Controlling Access Using IAM
-- Tags.
--
-- Tags may only contain Unicode letters, digits, white space, or these
-- symbols: _ . : / = + - @.
--
-- See: newTag smart constructor.
data Tag
Tag' :: Maybe Text -> Maybe Text -> Tag
-- | Create a value of Tag with all optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:key:Tag', tag_key - The key of a tag.
--
-- $sel:value:Tag', tag_value - The value of a tag.
newTag :: Tag
-- | Contains details about the credentials that Step Functions uses for a
-- task.
--
-- See: newTaskCredentials smart constructor.
data TaskCredentials
TaskCredentials' :: Maybe Text -> TaskCredentials
-- | Create a value of TaskCredentials with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:roleArn:TaskCredentials', taskCredentials_roleArn -
-- The ARN of an IAM role that Step Functions assumes for the task. The
-- role can allow cross-account access to resources.
newTaskCredentials :: TaskCredentials
-- | Contains details about a task failure event.
--
-- See: newTaskFailedEventDetails smart constructor.
data TaskFailedEventDetails
TaskFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Text -> Text -> TaskFailedEventDetails
-- | Create a value of TaskFailedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:TaskFailedEventDetails',
-- taskFailedEventDetails_cause - A more detailed explanation of
-- the cause of the failure.
--
-- $sel:error:TaskFailedEventDetails',
-- taskFailedEventDetails_error - The error code of the failure.
--
-- $sel:resourceType:TaskFailedEventDetails',
-- taskFailedEventDetails_resourceType - The service name of the
-- resource in a task state.
--
-- $sel:resource:TaskFailedEventDetails',
-- taskFailedEventDetails_resource - The action of the resource
-- called by a task state.
newTaskFailedEventDetails :: Text -> Text -> TaskFailedEventDetails
-- | Contains details about a task scheduled during an execution.
--
-- See: newTaskScheduledEventDetails smart constructor.
data TaskScheduledEventDetails
TaskScheduledEventDetails' :: Maybe Integer -> Maybe TaskCredentials -> Maybe Integer -> Text -> Text -> Text -> Sensitive Text -> TaskScheduledEventDetails
-- | Create a value of TaskScheduledEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:heartbeatInSeconds:TaskScheduledEventDetails',
-- taskScheduledEventDetails_heartbeatInSeconds - The maximum
-- allowed duration between two heartbeats for the task.
--
-- $sel:taskCredentials:TaskScheduledEventDetails',
-- taskScheduledEventDetails_taskCredentials - The credentials
-- that Step Functions uses for the task.
--
-- $sel:timeoutInSeconds:TaskScheduledEventDetails',
-- taskScheduledEventDetails_timeoutInSeconds - The maximum
-- allowed duration of the task.
--
-- $sel:resourceType:TaskScheduledEventDetails',
-- taskScheduledEventDetails_resourceType - The service name of
-- the resource in a task state.
--
-- $sel:resource:TaskScheduledEventDetails',
-- taskScheduledEventDetails_resource - The action of the resource
-- called by a task state.
--
-- $sel:region:TaskScheduledEventDetails',
-- taskScheduledEventDetails_region - The region of the scheduled
-- task
--
-- $sel:parameters:TaskScheduledEventDetails',
-- taskScheduledEventDetails_parameters - The JSON data passed to
-- the resource referenced in a task state. Length constraints apply to
-- the payload size, and are expressed as bytes in UTF-8 encoding.
newTaskScheduledEventDetails :: Text -> Text -> Text -> Text -> TaskScheduledEventDetails
-- | Contains details about a task that failed to start during an
-- execution.
--
-- See: newTaskStartFailedEventDetails smart constructor.
data TaskStartFailedEventDetails
TaskStartFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Text -> Text -> TaskStartFailedEventDetails
-- | Create a value of TaskStartFailedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:TaskStartFailedEventDetails',
-- taskStartFailedEventDetails_cause - A more detailed explanation
-- of the cause of the failure.
--
-- $sel:error:TaskStartFailedEventDetails',
-- taskStartFailedEventDetails_error - The error code of the
-- failure.
--
-- $sel:resourceType:TaskStartFailedEventDetails',
-- taskStartFailedEventDetails_resourceType - The service name of
-- the resource in a task state.
--
-- $sel:resource:TaskStartFailedEventDetails',
-- taskStartFailedEventDetails_resource - The action of the
-- resource called by a task state.
newTaskStartFailedEventDetails :: Text -> Text -> TaskStartFailedEventDetails
-- | Contains details about the start of a task during an execution.
--
-- See: newTaskStartedEventDetails smart constructor.
data TaskStartedEventDetails
TaskStartedEventDetails' :: Text -> Text -> TaskStartedEventDetails
-- | Create a value of TaskStartedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:resourceType:TaskStartedEventDetails',
-- taskStartedEventDetails_resourceType - The service name of the
-- resource in a task state.
--
-- $sel:resource:TaskStartedEventDetails',
-- taskStartedEventDetails_resource - The action of the resource
-- called by a task state.
newTaskStartedEventDetails :: Text -> Text -> TaskStartedEventDetails
-- | Contains details about a task that failed to submit during an
-- execution.
--
-- See: newTaskSubmitFailedEventDetails smart constructor.
data TaskSubmitFailedEventDetails
TaskSubmitFailedEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Text -> Text -> TaskSubmitFailedEventDetails
-- | Create a value of TaskSubmitFailedEventDetails with all
-- optional fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:TaskSubmitFailedEventDetails',
-- taskSubmitFailedEventDetails_cause - A more detailed
-- explanation of the cause of the failure.
--
-- $sel:error:TaskSubmitFailedEventDetails',
-- taskSubmitFailedEventDetails_error - The error code of the
-- failure.
--
-- $sel:resourceType:TaskSubmitFailedEventDetails',
-- taskSubmitFailedEventDetails_resourceType - The service name of
-- the resource in a task state.
--
-- $sel:resource:TaskSubmitFailedEventDetails',
-- taskSubmitFailedEventDetails_resource - The action of the
-- resource called by a task state.
newTaskSubmitFailedEventDetails :: Text -> Text -> TaskSubmitFailedEventDetails
-- | Contains details about a task submitted to a resource .
--
-- See: newTaskSubmittedEventDetails smart constructor.
data TaskSubmittedEventDetails
TaskSubmittedEventDetails' :: Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> Text -> Text -> TaskSubmittedEventDetails
-- | Create a value of TaskSubmittedEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:output:TaskSubmittedEventDetails',
-- taskSubmittedEventDetails_output - The response from a resource
-- when a task has started. Length constraints apply to the payload size,
-- and are expressed as bytes in UTF-8 encoding.
--
-- $sel:outputDetails:TaskSubmittedEventDetails',
-- taskSubmittedEventDetails_outputDetails - Contains details
-- about the output of an execution history event.
--
-- $sel:resourceType:TaskSubmittedEventDetails',
-- taskSubmittedEventDetails_resourceType - The service name of
-- the resource in a task state.
--
-- $sel:resource:TaskSubmittedEventDetails',
-- taskSubmittedEventDetails_resource - The action of the resource
-- called by a task state.
newTaskSubmittedEventDetails :: Text -> Text -> TaskSubmittedEventDetails
-- | Contains details about the successful completion of a task state.
--
-- See: newTaskSucceededEventDetails smart constructor.
data TaskSucceededEventDetails
TaskSucceededEventDetails' :: Maybe (Sensitive Text) -> Maybe HistoryEventExecutionDataDetails -> Text -> Text -> TaskSucceededEventDetails
-- | Create a value of TaskSucceededEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:output:TaskSucceededEventDetails',
-- taskSucceededEventDetails_output - The full JSON response from
-- a resource when a task has succeeded. This response becomes the output
-- of the related task. Length constraints apply to the payload size, and
-- are expressed as bytes in UTF-8 encoding.
--
-- $sel:outputDetails:TaskSucceededEventDetails',
-- taskSucceededEventDetails_outputDetails - Contains details
-- about the output of an execution history event.
--
-- $sel:resourceType:TaskSucceededEventDetails',
-- taskSucceededEventDetails_resourceType - The service name of
-- the resource in a task state.
--
-- $sel:resource:TaskSucceededEventDetails',
-- taskSucceededEventDetails_resource - The action of the resource
-- called by a task state.
newTaskSucceededEventDetails :: Text -> Text -> TaskSucceededEventDetails
-- | Contains details about a resource timeout that occurred during an
-- execution.
--
-- See: newTaskTimedOutEventDetails smart constructor.
data TaskTimedOutEventDetails
TaskTimedOutEventDetails' :: Maybe (Sensitive Text) -> Maybe (Sensitive Text) -> Text -> Text -> TaskTimedOutEventDetails
-- | Create a value of TaskTimedOutEventDetails with all optional
-- fields omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:cause:TaskTimedOutEventDetails',
-- taskTimedOutEventDetails_cause - A more detailed explanation of
-- the cause of the failure.
--
-- $sel:error:TaskTimedOutEventDetails',
-- taskTimedOutEventDetails_error - The error code of the failure.
--
-- $sel:resourceType:TaskTimedOutEventDetails',
-- taskTimedOutEventDetails_resourceType - The service name of the
-- resource in a task state.
--
-- $sel:resource:TaskTimedOutEventDetails',
-- taskTimedOutEventDetails_resource - The action of the resource
-- called by a task state.
newTaskTimedOutEventDetails :: Text -> Text -> TaskTimedOutEventDetails
-- | Selects whether or not the state machine's X-Ray tracing is enabled.
-- Default is false
--
-- See: newTracingConfiguration smart constructor.
data TracingConfiguration
TracingConfiguration' :: Maybe Bool -> TracingConfiguration
-- | Create a value of TracingConfiguration with all optional fields
-- omitted.
--
-- Use generic-lens or optics to modify other optional
-- fields.
--
-- The following record fields are available, with the corresponding
-- lenses provided for backwards compatibility:
--
-- $sel:enabled:TracingConfiguration',
-- tracingConfiguration_enabled - When set to true, X-Ray
-- tracing is enabled.
newTracingConfiguration :: TracingConfiguration